@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
16 lines (15 loc) • 968 B
TypeScript
import type { Generic } from 'adopted-style-sheets';
import type { PropAccessKey, PropAlert, PropDisabled, PropHasCounter, PropHideError, PropHideLabel, PropId, PropLabelWithExpertSlot, PropMsg, PropReadOnly, PropRequired, PropSuggestions, PropSyncValueBySelector, PropTooltipAlign, PropTouched } from '../props';
import type { KoliBriHIcons, Stringified } from '../types';
import type { ButtonProps } from './button';
type RequiredProps = PropId & PropLabelWithExpertSlot;
type OptionalProps = {
currentLength: number;
error: string;
hint: string;
maxLength: number;
slotName: string;
smartButton: Stringified<ButtonProps>;
} & PropAccessKey & PropAlert & PropDisabled & PropHasCounter & PropHideError & PropHideLabel & KoliBriHIcons & PropMsg & PropReadOnly & PropRequired & PropSuggestions & PropSyncValueBySelector & PropTooltipAlign & PropTouched;
export type InputProps = Generic.Element.Members<RequiredProps, OptionalProps>;
export {};