UNPKG

@public-ui/components

Version:

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

37 lines (36 loc) 1.74 kB
import type { Generic } from 'adopted-style-sheets'; import type { MsgPropType, PropAccessKey, PropDisabled, PropHideError, PropHideLabel, PropHorizontalIcons, PropId, PropLabelWithExpertSlot, PropMsg, PropName, PropShortKey, PropSuggestions, PropSyncValueBySelector, PropTouched } from '../props'; import type { InputTypeOnDefault, InputTypeOnOff, KoliBriHIcons, Stringified, W3CInputValue } from '../types'; type RequiredProps = PropLabelWithExpertSlot; type OptionalProps = { alert: boolean; autoComplete: InputTypeOnOff; error: string; hint: string; max: number; min: number; msg: Stringified<MsgPropType>; on: InputTypeOnDefault; step: number; tabIndex: number; value: number; } & PropAccessKey & PropDisabled & PropHideError & PropHideLabel & PropHorizontalIcons & PropName & PropSuggestions & PropSyncValueBySelector & PropShortKey & PropTouched; type RequiredStates = { autoComplete: InputTypeOnOff; suggestions: W3CInputValue[]; } & PropId & PropHideError & PropLabelWithExpertSlot; type OptionalStates = { alert: boolean; hint: string; max: number; min: number; on: InputTypeOnDefault; step: number; tabIndex: number; value: number; } & PropAccessKey & PropDisabled & PropHideLabel & KoliBriHIcons & PropMsg & PropName & PropShortKey & PropTouched; export type InputRangeProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type InputRangeStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type InputRangeWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>; export type InputRangeAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};