Skip to content

Commit

Permalink
fix: issue with stencil and radio
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Dec 12, 2024
1 parent 1d6cec5 commit 58f2175
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import {
DBBadge,
DBCheckbox,
DBInfotext
} from '../../../../../../output/angular/src';
import { DBCheckbox, DBInfotext } from '../../../../../../output/angular/src';
import defaultComponentVariants from '../../../../../shared/checkbox.json';
import { DefaultComponent } from '../default.component';
import { environment } from '../../../environments/environment';
Expand All @@ -14,8 +10,7 @@ import { environment } from '../../../environments/environment';
imports: [
environment.webComponents
? [DefaultComponent]
: [DefaultComponent, DBCheckbox, DBInfotext],
DBBadge
: [DefaultComponent, DBCheckbox, DBInfotext]
],
standalone: true,
schemas: [CUSTOM_ELEMENTS_SCHEMA]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import defaultComponentVariants from '../../../../../shared/input.json';
import { DefaultComponent } from '../default.component';
import {
DBCheckbox,
DBInput,
LabelVariantType,
ValueLabelType
Expand All @@ -15,8 +14,7 @@ import { environment } from '../../../environments/environment';
imports: [
environment.webComponents
? [DefaultComponent]
: [DefaultComponent, DBInput],
DBCheckbox
: [DefaultComponent, DBInput]
],
standalone: true,
schemas: [CUSTOM_ELEMENTS_SCHEMA]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ import { environment } from '../../../environments/environment';
imports: [
environment.webComponents
? [DefaultComponent]
: [DefaultComponent, DBRadio],
DBCheckbox,
DBInfotext
: [DefaultComponent, DBRadio, DBInfotext]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
standalone: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import defaultComponentVariants from '../../../../../shared/select.json';
import { DefaultComponent } from '../default.component';
import {
DBCheckbox,
DBInput,
DBSelect
} from '../../../../../../output/angular/src';
import { DBSelect } from '../../../../../../output/angular/src';
import { environment } from '../../../environments/environment';

@Component({
Expand All @@ -14,9 +10,7 @@ import { environment } from '../../../environments/environment';
imports: [
environment.webComponents
? [DefaultComponent]
: [DefaultComponent, DBSelect],
DBCheckbox,
DBInput
: [DefaultComponent, DBSelect]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
standalone: true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import defaultComponentVariants from '../../../../../shared/textarea.json';
import { DefaultComponent } from '../default.component';
import {
DBCheckbox,
DBInput,
DBTextarea
} from '../../../../../../output/angular/src';
import { DBTextarea } from '../../../../../../output/angular/src';
import { environment } from '../../../environments/environment';

@Component({
Expand All @@ -14,9 +10,7 @@ import { environment } from '../../../environments/environment';
imports: [
environment.webComponents
? [DefaultComponent]
: [DefaultComponent, DBTextarea],
DBCheckbox,
DBInput
: [DefaultComponent, DBTextarea]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA],
standalone: true
Expand Down

0 comments on commit 58f2175

Please sign in to comment.