UNPKG

@public-ui/components

Version:

Contains all web components that belong to KoliBri - The accessible HTML-Standard.

26 lines (25 loc) 1.76 kB
import type { Generic } from 'adopted-style-sheets'; import type { InputCheckboxIconsProp, InputCheckboxIconsState, InputCheckboxVariantPropType, MsgPropType, PropAccessKey, PropChecked, PropDisabled, PropHideLabel, PropHideMsg, PropHint, PropIndeterminate, PropLabelAlign, PropLabelWithExpertSlot, PropMsg, PropName, PropRequired, PropShortKey, PropSyncValueBySelector, PropTouched } from '../props'; import type { InputTypeOnDefault, StencilUnknown, Stringified } from '../types'; type RequiredProps = PropLabelWithExpertSlot; type OptionalProps = { icons: Stringified<InputCheckboxIconsProp>; msg: Stringified<MsgPropType>; on: InputTypeOnDefault; value: StencilUnknown; variant: InputCheckboxVariantPropType; } & PropAccessKey & PropChecked & PropDisabled & PropHideMsg & PropHideLabel & PropHint & PropIndeterminate & PropName & PropRequired & PropShortKey & PropSyncValueBySelector & PropTouched & PropLabelAlign; type RequiredStates = { icons: InputCheckboxIconsState; id: string; value: StencilUnknown; variant: InputCheckboxVariantPropType; } & PropChecked & PropHideMsg & PropIndeterminate & PropLabelWithExpertSlot; type OptionalStates = { on: InputTypeOnDefault; } & PropAccessKey & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropShortKey & PropTouched & PropLabelAlign; export type InputCheckboxProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type InputCheckboxStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type InputCheckboxWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>; export type InputCheckboxAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};