UNPKG

@public-ui/components

Version:

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

14 lines (13 loc) 913 B
import type { Generic } from 'adopted-style-sheets'; import type { ButtonCallbacksPropType, PropAlternativeButtonLinkRole, PropButtonVariant, PropDisabled, PropHideLabel, PropIcons, PropLabel, PropName, PropShow, PropTooltipAlign } from '../props'; import type { StencilUnknown } from '../types'; type RequiredProps = PropLabel; type OptionalProps = { on?: ButtonCallbacksPropType<StencilUnknown>; } & PropDisabled & PropHideLabel & PropAlternativeButtonLinkRole & PropIcons & PropTooltipAlign & PropButtonVariant & PropName; type RequiredStates = PropShow; type OptionalStates = NonNullable<unknown>; export type SplitButtonProps = Generic.Element.Members<RequiredProps, OptionalProps>; export type SplitButtonStates = Generic.Element.Members<RequiredStates, OptionalStates>; export type SplitButtonAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>; export {};