UNPKG

@public-ui/components

Version:

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

23 lines (22 loc) 1.49 kB
import type { Generic } from 'adopted-style-sheets'; import type { MsgPropType, PropDisabled, PropHideLabel, PropHideMsg, PropHint, PropId, PropLabelWithExpertSlot, PropMsg, PropName, PropRadioOptions, PropRequired, PropSyncValueBySelector, PropTooltipAlign, PropTouched } from '../props'; import type { PropOrientation } from '../props/orientation'; import type { InputTypeOnDefault, RadioOption, StencilUnknown, Stringified } from '../types'; type RequiredProps = PropLabelWithExpertSlot; type OptionalProps = { msg: Stringified<MsgPropType>; on: InputTypeOnDefault; value: StencilUnknown; } & PropDisabled & PropHideLabel & PropHideMsg & PropHint & PropName & PropOrientation & PropRadioOptions & PropRequired & PropSyncValueBySelector & PropTouched & PropTooltipAlign; type RequiredStates = { options: RadioOption<StencilUnknown>[]; } & PropId & PropHideMsg & PropLabelWithExpertSlot & PropOrientation; type OptionalStates = { on: InputTypeOnDefault; value: StencilUnknown; } & PropDisabled & PropHideLabel & PropHint & PropMsg & PropName & PropRequired & PropTouched; export type InputRadioProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type InputRadioStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type InputRadioWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>; export type InputRadioAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};