diff --git a/packages/ui-library/src/components/actions/buttons/icon-button/index.stories.ts b/packages/ui-library/src/components/actions/buttons/icon-button/index.stories.ts index ab8372ee3..a5ef231c0 100644 --- a/packages/ui-library/src/components/actions/buttons/icon-button/index.stories.ts +++ b/packages/ui-library/src/components/actions/buttons/icon-button/index.stories.ts @@ -8,7 +8,7 @@ export default { title: 'Design System/Web Components/Actions/Buttons/IconButton', argTypes: { icon: { - options: [undefined, ...PureIconKeys], + options: [...PureIconKeys], control: { type: 'select' }, }, size: { diff --git a/packages/ui-library/src/components/actions/buttons/icon-button/index.ts b/packages/ui-library/src/components/actions/buttons/icon-button/index.ts index 3b4350f15..03620fcc1 100644 --- a/packages/ui-library/src/components/actions/buttons/icon-button/index.ts +++ b/packages/ui-library/src/components/actions/buttons/icon-button/index.ts @@ -21,7 +21,7 @@ export class BlrIconButton extends LitElement { static styles = [styleCustom]; @property() arialabel!: string; - @property() icon?: SizelessIconType; + @property() icon!: SizelessIconType; @property() onClick?: HTMLButtonElement['onclick']; @property() onBlur?: HTMLButtonElement['onblur']; @property() loading?: boolean; diff --git a/packages/ui-library/src/components/forms/select/index.ts b/packages/ui-library/src/components/forms/select/index.ts index d7cad57d9..2dbe02c3a 100644 --- a/packages/ui-library/src/components/forms/select/index.ts +++ b/packages/ui-library/src/components/forms/select/index.ts @@ -44,7 +44,7 @@ export class BlrSelect extends LitElement { @property() hasError?: boolean; @property() errorMessage?: string; @property() hintMessage?: string; - @property() hintIcon: SizelessIconType = 'blrInfo'; + @property() hintIcon?: SizelessIconType = 'blrInfo'; @property() errorIcon?: SizelessIconType = 'blr360'; @property() showHint?: boolean; @property() icon?: SizelessIconType = 'blrChevronDown'; diff --git a/packages/ui-library/src/components/ui/icon/icon-link/index.stories.ts b/packages/ui-library/src/components/ui/icon/icon-link/index.stories.ts index d7fa81ce5..b1ca12605 100644 --- a/packages/ui-library/src/components/ui/icon/icon-link/index.stories.ts +++ b/packages/ui-library/src/components/ui/icon/icon-link/index.stories.ts @@ -8,7 +8,7 @@ export default { title: 'Design System/Web Components/UI/Icon', argTypes: { icon: { - options: [undefined, ...PureIconKeys], + options: [...PureIconKeys], control: { type: 'select' }, }, size: { diff --git a/packages/ui-library/src/components/ui/icon/icon-link/index.ts b/packages/ui-library/src/components/ui/icon/icon-link/index.ts index 9958aa433..ad795a04b 100644 --- a/packages/ui-library/src/components/ui/icon/icon-link/index.ts +++ b/packages/ui-library/src/components/ui/icon/icon-link/index.ts @@ -21,7 +21,7 @@ export class BlrIconLink extends LitElement { static styles = [iconLinkStyleCustom, iconButtonStyleCustom]; @property() arialabel?: string; - @property() icon?: SizelessIconType; + @property() icon!: SizelessIconType; @property() href?: string; @property() target?: string; @property() onClick?: HTMLLinkElement['onclick'];