import type { WebTokens } from '../tokens'; import type { AIConversationTheme } from './aiConverstion'; import type { AccordionTheme } from './accordion'; import type { AlertTheme } from './alert'; import type { AutoCompleteTheme } from './autocomplete'; import type { AvatarTheme } from './avatar'; import type { BadgeTheme } from './badge'; import type { BreadcrumbsTheme } from './breadcrumbs'; import type { ButtonTheme } from './button'; import type { ButtonGroupTheme } from './buttonGroup'; import type { CardTheme } from './card'; import type { CheckboxTheme } from './checkbox'; import type { CheckboxFieldTheme } from './checkboxField'; import type { CollectionTheme } from './collection'; import type { DividerTheme } from './divider'; import type { DropZoneTheme } from './dropZone'; import type { FieldTheme } from './field'; import type { FieldGroupTheme } from './fieldGroup'; import type { FieldsetTheme } from './fieldset'; import type { FileUploaderTheme } from './fileUploader'; import type { HeadingTheme } from './heading'; import type { HighlightMatchTheme } from './highlightMatch'; import type { InputTheme } from './input'; import type { LoaderTheme } from './loader'; import type { MenuTheme } from './menu'; import type { MessageTheme } from './message'; import type { ModalTheme } from './modal'; import type { PaginationTheme } from './pagination'; import type { PlaceholderTheme } from './placeholder'; import type { RadioTheme } from './radio'; import type { RatingTheme } from './rating'; import type { ScrollViewTheme } from './scrollview'; import type { SearchFieldTheme } from './searchField'; import type { SelectTheme } from './select'; import type { SelectFieldTheme } from './selectField'; import type { SliderFieldTheme } from './sliderField'; import type { StepperFieldTheme } from './stepperField'; import type { StorageBrowserTheme } from './storageBrowser'; import type { StorageManagerTheme } from './storageManager'; import type { SwitchFieldTheme, SwitchTheme } from './switchField'; import type { TableTheme } from './table'; import type { TabsTheme } from './tabs'; import type { TextTheme } from './text'; import type { TextFieldTheme } from './textField'; import type { TextareaTheme } from './textarea'; import type { TextareaFieldTheme } from './textareaField'; import type { ToggleButtonTheme, ToggleButtonGroupTheme } from './toggleButton'; import type { ComponentTheme, BaseComponentTheme, BaseTheme } from './utils'; export type { ClassNameFunction } from '../createTheme/createComponentClasses'; export type { ComponentTheme, BaseComponentTheme, BaseTheme }; export type ComponentsTheme = BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme | BaseComponentTheme; export type AllComponentThemes = { accordion: AccordionTheme; 'ai-conversation': AIConversationTheme; alert: AlertTheme; autocomplete: AutoCompleteTheme; avatar: AvatarTheme; badge: BadgeTheme; breadcrumbs: BreadcrumbsTheme; button: ButtonTheme; buttongroup: ButtonGroupTheme; card: CardTheme; checkbox: CheckboxTheme; checkboxfield: CheckboxFieldTheme; collection: CollectionTheme; divider: DividerTheme; dropZone: DropZoneTheme; field: FieldTheme; 'field-group': FieldGroupTheme; fieldset: FieldsetTheme; fileuploader: FileUploaderTheme; heading: HeadingTheme; highlightmatch: HighlightMatchTheme; input: InputTheme; loader: LoaderTheme; menu: MenuTheme; message: MessageTheme; modal: ModalTheme; pagination: PaginationTheme; placeholder: PlaceholderTheme; radio: RadioTheme; rating: RatingTheme; scrollview: ScrollViewTheme; searchfield: SearchFieldTheme; select: SelectTheme; selectfield: SelectFieldTheme; sliderfield: SliderFieldTheme; stepperfield: StepperFieldTheme; 'storage-browser': StorageBrowserTheme; storagemanager: StorageManagerTheme; switch: SwitchTheme; switchfield: SwitchFieldTheme; table: TableTheme; tabs: TabsTheme; text: TextTheme; textarea: TextareaTheme; textareaField: TextareaFieldTheme; textField: TextFieldTheme; toggleButton: ToggleButtonTheme; toggleButtonGroup: ToggleButtonGroupTheme; }; export type ComponentThemeFromName = T extends keyof AllComponentThemes ? AllComponentThemes[T] : Theme;