@umami/react-zen 0.233.0 → 0.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -7,6 +7,7 @@ import * as tailwind_variants from 'tailwind-variants';
7
7
  import { VariantProps } from 'tailwind-variants';
8
8
  import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
9
9
  import * as zustand from 'zustand';
10
+ import { ClassValue } from 'clsx';
10
11
 
11
12
  interface AccordionProps extends DisclosureGroupProps {
12
13
  type?: 'single' | 'multiple';
@@ -51,8 +52,8 @@ interface AlertDialogProps extends DialogProps {
51
52
  declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
52
53
 
53
54
  declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
54
- type Breakpoint = (typeof Breakpoints)[number];
55
- type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
55
+ type Breakpoint$1 = (typeof Breakpoints)[number];
56
+ type Responsive$1<T> = T | Partial<Record<Breakpoint$1, T>>;
56
57
  type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
57
58
  type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
58
59
  type TailwindColor = `${ColorName}-${ColorShade}`;
@@ -144,22 +145,22 @@ declare function resolveRender<P extends Record<string, unknown>>(render: Render
144
145
 
145
146
  interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
146
147
  color?: FontColor;
147
- size?: Responsive<FontSize>;
148
- weight?: Responsive<FontWeight>;
149
- align?: Responsive<TextAlign>;
150
- spacing?: Responsive<LetterSpacing>;
151
- lineHeight?: Responsive<LineHeight>;
152
- wrap?: Responsive<TextWrap>;
153
- whitespace?: Responsive<Whitespace>;
154
- wordBreak?: Responsive<WordBreak>;
155
- transform?: Responsive<TextTransform>;
156
- indent?: Responsive<TextIndent>;
157
- verticalAlign?: Responsive<VerticalAlign>;
158
- truncate?: Responsive<boolean>;
159
- italic?: Responsive<boolean>;
160
- underline?: Responsive<boolean>;
161
- strikethrough?: Responsive<boolean>;
162
- decorationStyle?: Responsive<TextDecorationStyle>;
148
+ size?: Responsive$1<FontSize>;
149
+ weight?: Responsive$1<FontWeight>;
150
+ align?: Responsive$1<TextAlign>;
151
+ spacing?: Responsive$1<LetterSpacing>;
152
+ lineHeight?: Responsive$1<LineHeight>;
153
+ wrap?: Responsive$1<TextWrap>;
154
+ whitespace?: Responsive$1<Whitespace>;
155
+ wordBreak?: Responsive$1<WordBreak>;
156
+ transform?: Responsive$1<TextTransform>;
157
+ indent?: Responsive$1<TextIndent>;
158
+ verticalAlign?: Responsive$1<VerticalAlign>;
159
+ truncate?: Responsive$1<boolean>;
160
+ italic?: Responsive$1<boolean>;
161
+ underline?: Responsive$1<boolean>;
162
+ strikethrough?: Responsive$1<boolean>;
163
+ decorationStyle?: Responsive$1<TextDecorationStyle>;
163
164
  decorationColor?: FontColor;
164
165
  as?: 'span' | 'div' | 'label' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'blockquote';
165
166
  render?: RenderProp<TextRenderProps>;
@@ -177,50 +178,50 @@ interface BlockquoteProps extends Omit<TextProps, 'as'> {
177
178
  declare function Blockquote({ className, children, ...props }: BlockquoteProps): react_jsx_runtime.JSX.Element;
178
179
 
179
180
  interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
180
- display?: Responsive<Display>;
181
+ display?: Responsive$1<Display>;
181
182
  color?: FontColor;
182
183
  backgroundColor?: BackgroundColor;
183
- fontSize?: Responsive<FontSize>;
184
- fontWeight?: Responsive<FontWeight>;
185
- border?: Responsive<Border>;
186
- borderWidth?: Responsive<BorderWidth>;
184
+ fontSize?: Responsive$1<FontSize>;
185
+ fontWeight?: Responsive$1<FontWeight>;
186
+ border?: Responsive$1<Border>;
187
+ borderWidth?: Responsive$1<BorderWidth>;
187
188
  borderColor?: BorderColor;
188
- borderRadius?: Responsive<BorderRadius>;
189
- shadow?: Responsive<BoxShadow>;
190
- padding?: Responsive<Padding>;
191
- paddingX?: Responsive<Padding>;
192
- paddingY?: Responsive<Padding>;
193
- paddingTop?: Responsive<Padding>;
194
- paddingRight?: Responsive<Padding>;
195
- paddingBottom?: Responsive<Padding>;
196
- paddingLeft?: Responsive<Padding>;
197
- margin?: Responsive<Spacing>;
198
- marginX?: Responsive<Spacing>;
199
- marginY?: Responsive<Spacing>;
200
- marginTop?: Responsive<Spacing>;
201
- marginRight?: Responsive<Spacing>;
202
- marginBottom?: Responsive<Spacing>;
203
- marginLeft?: Responsive<Spacing>;
204
- width?: Responsive<Width | string>;
205
- minWidth?: Responsive<MinWidth | string>;
206
- maxWidth?: Responsive<MaxWidth | string>;
207
- height?: Responsive<Height | string>;
208
- minHeight?: Responsive<MinHeight | string>;
209
- maxHeight?: Responsive<MaxHeight | string>;
210
- position?: Responsive<Position>;
211
- textAlign?: Responsive<TextAlign>;
189
+ borderRadius?: Responsive$1<BorderRadius>;
190
+ shadow?: Responsive$1<BoxShadow>;
191
+ padding?: Responsive$1<Padding>;
192
+ paddingX?: Responsive$1<Padding>;
193
+ paddingY?: Responsive$1<Padding>;
194
+ paddingTop?: Responsive$1<Padding>;
195
+ paddingRight?: Responsive$1<Padding>;
196
+ paddingBottom?: Responsive$1<Padding>;
197
+ paddingLeft?: Responsive$1<Padding>;
198
+ margin?: Responsive$1<Spacing>;
199
+ marginX?: Responsive$1<Spacing>;
200
+ marginY?: Responsive$1<Spacing>;
201
+ marginTop?: Responsive$1<Spacing>;
202
+ marginRight?: Responsive$1<Spacing>;
203
+ marginBottom?: Responsive$1<Spacing>;
204
+ marginLeft?: Responsive$1<Spacing>;
205
+ width?: Responsive$1<Width | string>;
206
+ minWidth?: Responsive$1<MinWidth | string>;
207
+ maxWidth?: Responsive$1<MaxWidth | string>;
208
+ height?: Responsive$1<Height | string>;
209
+ minHeight?: Responsive$1<MinHeight | string>;
210
+ maxHeight?: Responsive$1<MaxHeight | string>;
211
+ position?: Responsive$1<Position>;
212
+ textAlign?: Responsive$1<TextAlign>;
212
213
  top?: string;
213
214
  right?: string;
214
215
  bottom?: string;
215
216
  left?: string;
216
- overflow?: Responsive<Overflow>;
217
- overflowX?: Responsive<Overflow>;
218
- overflowY?: Responsive<Overflow>;
219
- cursor?: Responsive<Cursor>;
220
- opacity?: Responsive<Opacity>;
221
- pointerEvents?: Responsive<PointerEvents>;
222
- alignSelf?: Responsive<AlignSelf>;
223
- justifySelf?: Responsive<JustifySelf>;
217
+ overflow?: Responsive$1<Overflow>;
218
+ overflowX?: Responsive$1<Overflow>;
219
+ overflowY?: Responsive$1<Overflow>;
220
+ cursor?: Responsive$1<Cursor>;
221
+ opacity?: Responsive$1<Opacity>;
222
+ pointerEvents?: Responsive$1<PointerEvents>;
223
+ alignSelf?: Responsive$1<AlignSelf>;
224
+ justifySelf?: Responsive$1<JustifySelf>;
224
225
  flexBasis?: string;
225
226
  flexGrow?: FlexGrow;
226
227
  flexShrink?: FlexShrink;
@@ -331,16 +332,16 @@ interface CodeProps extends Omit<TextProps, 'as'> {
331
332
  declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
332
333
 
333
334
  interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
334
- display?: Responsive<FlexDisplay>;
335
- direction?: Responsive<FlexDirection>;
336
- wrap?: Responsive<FlexWrap>;
337
- justifyContent?: Responsive<JustifyContent>;
338
- justifyItems?: Responsive<JustifyItems>;
335
+ display?: Responsive$1<FlexDisplay>;
336
+ direction?: Responsive$1<FlexDirection>;
337
+ wrap?: Responsive$1<FlexWrap>;
338
+ justifyContent?: Responsive$1<JustifyContent>;
339
+ justifyItems?: Responsive$1<JustifyItems>;
339
340
  alignContent?: AlignContent;
340
341
  alignItems?: AlignItems;
341
- gap?: Responsive<Gap>;
342
- gapX?: Responsive<Gap>;
343
- gapY?: Responsive<Gap>;
342
+ gap?: Responsive$1<Gap>;
343
+ gapX?: Responsive$1<Gap>;
344
+ gapY?: Responsive$1<Gap>;
344
345
  }
345
346
  declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
346
347
 
@@ -408,17 +409,17 @@ interface CopyButtonProps {
408
409
  declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
409
410
 
410
411
  interface GridProps extends Omit<BoxProps, 'display'> {
411
- display?: Responsive<GridDisplay>;
412
- justifyContent?: Responsive<JustifyContent>;
413
- justifyItems?: Responsive<JustifyItems>;
412
+ display?: Responsive$1<GridDisplay>;
413
+ justifyContent?: Responsive$1<JustifyContent>;
414
+ justifyItems?: Responsive$1<JustifyItems>;
414
415
  alignContent?: AlignContent;
415
416
  alignItems?: AlignItems;
416
- gap?: Responsive<Gap>;
417
- gapX?: Responsive<Gap>;
418
- gapY?: Responsive<Gap>;
419
- autoFlow?: Responsive<GridAutoFlow>;
420
- rows?: Responsive<GridRows | string>;
421
- columns?: Responsive<GridColumns | string>;
417
+ gap?: Responsive$1<Gap>;
418
+ gapX?: Responsive$1<Gap>;
419
+ gapY?: Responsive$1<Gap>;
420
+ autoFlow?: Responsive$1<GridAutoFlow>;
421
+ rows?: Responsive$1<GridRows | string>;
422
+ columns?: Responsive$1<GridColumns | string>;
422
423
  areas?: GridTemplateAreas;
423
424
  }
424
425
  declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
@@ -537,7 +538,7 @@ declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ..
537
538
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
538
539
  interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
539
540
  children?: ReactNode;
540
- size?: Responsive<HeadingSize>;
541
+ size?: Responsive$1<HeadingSize>;
541
542
  as?: HeadingElement;
542
543
  }
543
544
  declare function Heading({ size, spacing, as, className, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
@@ -620,8 +621,8 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
620
621
  alt?: string;
621
622
  objectFit?: ObjectFit;
622
623
  isCentered?: boolean;
623
- borderRadius?: Responsive<BorderRadius>;
624
- shadow?: Responsive<BoxShadow>;
624
+ borderRadius?: Responsive$1<BorderRadius>;
625
+ shadow?: Responsive$1<BoxShadow>;
625
626
  }
626
627
  declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
627
628
 
@@ -638,6 +639,70 @@ interface LoadingProps extends BoxProps {
638
639
  }
639
640
  declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
640
641
 
642
+ declare function cn(...inputs: ClassValue[]): string;
643
+ type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
644
+ type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
645
+ declare function mapDisplay(value: Responsive<string> | undefined): string;
646
+ declare function mapPosition(value: Responsive<string> | undefined): string;
647
+ declare function mapOverflow(value: Responsive<string> | undefined, axis?: 'x' | 'y'): string;
648
+ declare function mapCursor(value: Responsive<string> | undefined): string;
649
+ declare function mapOpacity(value: Responsive<string> | undefined): string;
650
+ declare function mapPointerEvents(value: Responsive<string> | undefined): string;
651
+ declare function mapPadding(value: Responsive<string> | undefined, side?: string): string;
652
+ declare function mapMargin(value: Responsive<string> | undefined, side?: string): string;
653
+ declare function mapGap(value: Responsive<string> | undefined, axis?: 'x' | 'y'): string;
654
+ declare function mapFontSize(value: Responsive<string> | undefined): string;
655
+ declare function mapHeadingSize(value: Responsive<string> | undefined): string;
656
+ declare function mapFontWeight(value: Responsive<string> | undefined): string;
657
+ declare function mapTextColor(value: string | undefined): string;
658
+ declare function mapBackgroundColor(value: string | undefined): string;
659
+ declare function mapBorderRadius(value: Responsive<string> | undefined): string;
660
+ declare function mapBorderWidth(value: Responsive<string> | undefined): string;
661
+ declare function mapShadow(value: Responsive<string> | undefined): string;
662
+ declare function mapFlexDirection(value: Responsive<string> | undefined): string;
663
+ declare function mapFlexWrap(value: Responsive<string> | undefined): string;
664
+ declare function mapJustifyContent(value: Responsive<string> | undefined): string;
665
+ declare function mapJustifyItems(value: Responsive<string> | undefined): string;
666
+ declare function mapAlignContent(value: Responsive<string> | undefined): string;
667
+ declare function mapAlignItems(value: Responsive<string> | undefined): string;
668
+ declare function mapAlignSelf(value: Responsive<string> | undefined): string;
669
+ declare function mapTextAlign(value: Responsive<string> | undefined): string;
670
+ declare function mapTextWrap(value: Responsive<string> | undefined): string;
671
+ declare function mapTextTransform(value: Responsive<string> | undefined): string;
672
+ declare function mapLetterSpacing(value: Responsive<string> | undefined): string;
673
+ declare function mapLineHeight(value: Responsive<string> | undefined): string;
674
+ declare function mapWhitespace(value: Responsive<string> | undefined): string;
675
+ declare function mapWordBreak(value: Responsive<string> | undefined): string;
676
+ declare function mapVerticalAlign(value: Responsive<string> | undefined): string;
677
+ declare function mapTextDecorationStyle(value: Responsive<string> | undefined): string;
678
+ declare function mapTextIndent(value: Responsive<string> | undefined): string;
679
+ declare function mapGridAutoFlow(value: Responsive<string> | undefined): string;
680
+ declare function mapGridColumns(value: Responsive<string> | undefined): string;
681
+ declare function mapGridRows(value: Responsive<string> | undefined): string;
682
+ declare function mapBorder(value: Responsive<string | boolean> | undefined): string;
683
+ declare function mapBorderColor(value: string | undefined): string;
684
+ declare function getCssColorValue(value: string | undefined): string | undefined;
685
+ declare function mapWidth(value: Responsive<string> | undefined): string;
686
+ declare function mapHeight(value: Responsive<string> | undefined): string;
687
+ declare function mapMinWidth(value: Responsive<string> | undefined): string;
688
+ declare function mapMaxWidth(value: Responsive<string> | undefined): string;
689
+ declare function mapMinHeight(value: Responsive<string> | undefined): string;
690
+ declare function mapMaxHeight(value: Responsive<string> | undefined): string;
691
+ declare function isWidthPreset(value: string): boolean;
692
+ declare function isHeightPreset(value: string): boolean;
693
+ declare function isMinWidthPreset(value: string): boolean;
694
+ declare function isMaxWidthPreset(value: string): boolean;
695
+ declare function isMinHeightPreset(value: string): boolean;
696
+ declare function isMaxHeightPreset(value: string): boolean;
697
+ type StatePrefix = 'hover' | 'focus' | 'active';
698
+ interface StateStylesInput {
699
+ color?: string | boolean;
700
+ backgroundColor?: string | boolean;
701
+ borderColor?: string | boolean;
702
+ opacity?: string;
703
+ }
704
+ declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
705
+
641
706
  interface MenuProps extends MenuProps$1<any> {
642
707
  className?: string;
643
708
  children?: ReactNode;
@@ -912,4 +977,4 @@ interface ZenProviderProps {
912
977
  }
913
978
  declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
914
979
 
915
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, IconLabel, type IconLabelProps, type IconProps, Image, type ImageProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, removeToast, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
980
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, IconLabel, type IconLabelProps, type IconProps, Image, type ImageProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, cn, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import * as tailwind_variants from 'tailwind-variants';
7
7
  import { VariantProps } from 'tailwind-variants';
8
8
  import { UseFormProps, SubmitHandler, UseFormReturn, ControllerProps, ControllerRenderProps, FieldValues, ControllerFieldState, UseFormStateReturn, RegisterOptions } from 'react-hook-form';
9
9
  import * as zustand from 'zustand';
10
+ import { ClassValue } from 'clsx';
10
11
 
11
12
  interface AccordionProps extends DisclosureGroupProps {
12
13
  type?: 'single' | 'multiple';
@@ -51,8 +52,8 @@ interface AlertDialogProps extends DialogProps {
51
52
  declare function AlertDialog({ title, description, isDanger, isConfirmDisabled, confirmLabel, cancelLabel, onConfirm, onCancel, className, children, ...props }: AlertDialogProps): react_jsx_runtime.JSX.Element;
52
53
 
53
54
  declare const Breakpoints: readonly ["base", "sm", "md", "lg", "xl", "2xl"];
54
- type Breakpoint = (typeof Breakpoints)[number];
55
- type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
55
+ type Breakpoint$1 = (typeof Breakpoints)[number];
56
+ type Responsive$1<T> = T | Partial<Record<Breakpoint$1, T>>;
56
57
  type ColorName = 'gray' | 'slate' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
57
58
  type ColorShade = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
58
59
  type TailwindColor = `${ColorName}-${ColorShade}`;
@@ -144,22 +145,22 @@ declare function resolveRender<P extends Record<string, unknown>>(render: Render
144
145
 
145
146
  interface TextProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
146
147
  color?: FontColor;
147
- size?: Responsive<FontSize>;
148
- weight?: Responsive<FontWeight>;
149
- align?: Responsive<TextAlign>;
150
- spacing?: Responsive<LetterSpacing>;
151
- lineHeight?: Responsive<LineHeight>;
152
- wrap?: Responsive<TextWrap>;
153
- whitespace?: Responsive<Whitespace>;
154
- wordBreak?: Responsive<WordBreak>;
155
- transform?: Responsive<TextTransform>;
156
- indent?: Responsive<TextIndent>;
157
- verticalAlign?: Responsive<VerticalAlign>;
158
- truncate?: Responsive<boolean>;
159
- italic?: Responsive<boolean>;
160
- underline?: Responsive<boolean>;
161
- strikethrough?: Responsive<boolean>;
162
- decorationStyle?: Responsive<TextDecorationStyle>;
148
+ size?: Responsive$1<FontSize>;
149
+ weight?: Responsive$1<FontWeight>;
150
+ align?: Responsive$1<TextAlign>;
151
+ spacing?: Responsive$1<LetterSpacing>;
152
+ lineHeight?: Responsive$1<LineHeight>;
153
+ wrap?: Responsive$1<TextWrap>;
154
+ whitespace?: Responsive$1<Whitespace>;
155
+ wordBreak?: Responsive$1<WordBreak>;
156
+ transform?: Responsive$1<TextTransform>;
157
+ indent?: Responsive$1<TextIndent>;
158
+ verticalAlign?: Responsive$1<VerticalAlign>;
159
+ truncate?: Responsive$1<boolean>;
160
+ italic?: Responsive$1<boolean>;
161
+ underline?: Responsive$1<boolean>;
162
+ strikethrough?: Responsive$1<boolean>;
163
+ decorationStyle?: Responsive$1<TextDecorationStyle>;
163
164
  decorationColor?: FontColor;
164
165
  as?: 'span' | 'div' | 'label' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'code' | 'blockquote';
165
166
  render?: RenderProp<TextRenderProps>;
@@ -177,50 +178,50 @@ interface BlockquoteProps extends Omit<TextProps, 'as'> {
177
178
  declare function Blockquote({ className, children, ...props }: BlockquoteProps): react_jsx_runtime.JSX.Element;
178
179
 
179
180
  interface BoxProps extends Omit<HTMLAttributes<HTMLElement>, 'color'> {
180
- display?: Responsive<Display>;
181
+ display?: Responsive$1<Display>;
181
182
  color?: FontColor;
182
183
  backgroundColor?: BackgroundColor;
183
- fontSize?: Responsive<FontSize>;
184
- fontWeight?: Responsive<FontWeight>;
185
- border?: Responsive<Border>;
186
- borderWidth?: Responsive<BorderWidth>;
184
+ fontSize?: Responsive$1<FontSize>;
185
+ fontWeight?: Responsive$1<FontWeight>;
186
+ border?: Responsive$1<Border>;
187
+ borderWidth?: Responsive$1<BorderWidth>;
187
188
  borderColor?: BorderColor;
188
- borderRadius?: Responsive<BorderRadius>;
189
- shadow?: Responsive<BoxShadow>;
190
- padding?: Responsive<Padding>;
191
- paddingX?: Responsive<Padding>;
192
- paddingY?: Responsive<Padding>;
193
- paddingTop?: Responsive<Padding>;
194
- paddingRight?: Responsive<Padding>;
195
- paddingBottom?: Responsive<Padding>;
196
- paddingLeft?: Responsive<Padding>;
197
- margin?: Responsive<Spacing>;
198
- marginX?: Responsive<Spacing>;
199
- marginY?: Responsive<Spacing>;
200
- marginTop?: Responsive<Spacing>;
201
- marginRight?: Responsive<Spacing>;
202
- marginBottom?: Responsive<Spacing>;
203
- marginLeft?: Responsive<Spacing>;
204
- width?: Responsive<Width | string>;
205
- minWidth?: Responsive<MinWidth | string>;
206
- maxWidth?: Responsive<MaxWidth | string>;
207
- height?: Responsive<Height | string>;
208
- minHeight?: Responsive<MinHeight | string>;
209
- maxHeight?: Responsive<MaxHeight | string>;
210
- position?: Responsive<Position>;
211
- textAlign?: Responsive<TextAlign>;
189
+ borderRadius?: Responsive$1<BorderRadius>;
190
+ shadow?: Responsive$1<BoxShadow>;
191
+ padding?: Responsive$1<Padding>;
192
+ paddingX?: Responsive$1<Padding>;
193
+ paddingY?: Responsive$1<Padding>;
194
+ paddingTop?: Responsive$1<Padding>;
195
+ paddingRight?: Responsive$1<Padding>;
196
+ paddingBottom?: Responsive$1<Padding>;
197
+ paddingLeft?: Responsive$1<Padding>;
198
+ margin?: Responsive$1<Spacing>;
199
+ marginX?: Responsive$1<Spacing>;
200
+ marginY?: Responsive$1<Spacing>;
201
+ marginTop?: Responsive$1<Spacing>;
202
+ marginRight?: Responsive$1<Spacing>;
203
+ marginBottom?: Responsive$1<Spacing>;
204
+ marginLeft?: Responsive$1<Spacing>;
205
+ width?: Responsive$1<Width | string>;
206
+ minWidth?: Responsive$1<MinWidth | string>;
207
+ maxWidth?: Responsive$1<MaxWidth | string>;
208
+ height?: Responsive$1<Height | string>;
209
+ minHeight?: Responsive$1<MinHeight | string>;
210
+ maxHeight?: Responsive$1<MaxHeight | string>;
211
+ position?: Responsive$1<Position>;
212
+ textAlign?: Responsive$1<TextAlign>;
212
213
  top?: string;
213
214
  right?: string;
214
215
  bottom?: string;
215
216
  left?: string;
216
- overflow?: Responsive<Overflow>;
217
- overflowX?: Responsive<Overflow>;
218
- overflowY?: Responsive<Overflow>;
219
- cursor?: Responsive<Cursor>;
220
- opacity?: Responsive<Opacity>;
221
- pointerEvents?: Responsive<PointerEvents>;
222
- alignSelf?: Responsive<AlignSelf>;
223
- justifySelf?: Responsive<JustifySelf>;
217
+ overflow?: Responsive$1<Overflow>;
218
+ overflowX?: Responsive$1<Overflow>;
219
+ overflowY?: Responsive$1<Overflow>;
220
+ cursor?: Responsive$1<Cursor>;
221
+ opacity?: Responsive$1<Opacity>;
222
+ pointerEvents?: Responsive$1<PointerEvents>;
223
+ alignSelf?: Responsive$1<AlignSelf>;
224
+ justifySelf?: Responsive$1<JustifySelf>;
224
225
  flexBasis?: string;
225
226
  flexGrow?: FlexGrow;
226
227
  flexShrink?: FlexShrink;
@@ -331,16 +332,16 @@ interface CodeProps extends Omit<TextProps, 'as'> {
331
332
  declare function Code({ className, children, ...props }: CodeProps): react_jsx_runtime.JSX.Element;
332
333
 
333
334
  interface FlexboxProps extends Omit<BoxProps, 'display' | 'gap'> {
334
- display?: Responsive<FlexDisplay>;
335
- direction?: Responsive<FlexDirection>;
336
- wrap?: Responsive<FlexWrap>;
337
- justifyContent?: Responsive<JustifyContent>;
338
- justifyItems?: Responsive<JustifyItems>;
335
+ display?: Responsive$1<FlexDisplay>;
336
+ direction?: Responsive$1<FlexDirection>;
337
+ wrap?: Responsive$1<FlexWrap>;
338
+ justifyContent?: Responsive$1<JustifyContent>;
339
+ justifyItems?: Responsive$1<JustifyItems>;
339
340
  alignContent?: AlignContent;
340
341
  alignItems?: AlignItems;
341
- gap?: Responsive<Gap>;
342
- gapX?: Responsive<Gap>;
343
- gapY?: Responsive<Gap>;
342
+ gap?: Responsive$1<Gap>;
343
+ gapX?: Responsive$1<Gap>;
344
+ gapY?: Responsive$1<Gap>;
344
345
  }
345
346
  declare function Flexbox({ display, direction, wrap, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, className, children, ...props }: FlexboxProps): react_jsx_runtime.JSX.Element;
346
347
 
@@ -408,17 +409,17 @@ interface CopyButtonProps {
408
409
  declare function CopyButton({ value, timeout, className, children, ...props }: CopyButtonProps): react_jsx_runtime.JSX.Element;
409
410
 
410
411
  interface GridProps extends Omit<BoxProps, 'display'> {
411
- display?: Responsive<GridDisplay>;
412
- justifyContent?: Responsive<JustifyContent>;
413
- justifyItems?: Responsive<JustifyItems>;
412
+ display?: Responsive$1<GridDisplay>;
413
+ justifyContent?: Responsive$1<JustifyContent>;
414
+ justifyItems?: Responsive$1<JustifyItems>;
414
415
  alignContent?: AlignContent;
415
416
  alignItems?: AlignItems;
416
- gap?: Responsive<Gap>;
417
- gapX?: Responsive<Gap>;
418
- gapY?: Responsive<Gap>;
419
- autoFlow?: Responsive<GridAutoFlow>;
420
- rows?: Responsive<GridRows | string>;
421
- columns?: Responsive<GridColumns | string>;
417
+ gap?: Responsive$1<Gap>;
418
+ gapX?: Responsive$1<Gap>;
419
+ gapY?: Responsive$1<Gap>;
420
+ autoFlow?: Responsive$1<GridAutoFlow>;
421
+ rows?: Responsive$1<GridRows | string>;
422
+ columns?: Responsive$1<GridColumns | string>;
422
423
  areas?: GridTemplateAreas;
423
424
  }
424
425
  declare function Grid({ display, justifyContent, justifyItems, alignContent, alignItems, gap, gapX, gapY, autoFlow, rows, columns, areas, className, style, children, ...props }: GridProps): react_jsx_runtime.JSX.Element;
@@ -537,7 +538,7 @@ declare function FormSubmitButton({ variant, isDisabled, isLoading, children, ..
537
538
  type HeadingElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
538
539
  interface HeadingProps extends Omit<TextProps, 'as' | 'size'> {
539
540
  children?: ReactNode;
540
- size?: Responsive<HeadingSize>;
541
+ size?: Responsive$1<HeadingSize>;
541
542
  as?: HeadingElement;
542
543
  }
543
544
  declare function Heading({ size, spacing, as, className, children, ...props }: HeadingProps): react_jsx_runtime.JSX.Element;
@@ -620,8 +621,8 @@ interface ImageProps extends HTMLAttributes<HTMLImageElement> {
620
621
  alt?: string;
621
622
  objectFit?: ObjectFit;
622
623
  isCentered?: boolean;
623
- borderRadius?: Responsive<BorderRadius>;
624
- shadow?: Responsive<BoxShadow>;
624
+ borderRadius?: Responsive$1<BorderRadius>;
625
+ shadow?: Responsive$1<BoxShadow>;
625
626
  }
626
627
  declare function Image({ src, alt, objectFit, isCentered, borderRadius, shadow, className, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
627
628
 
@@ -638,6 +639,70 @@ interface LoadingProps extends BoxProps {
638
639
  }
639
640
  declare function Loading({ size, placement, icon, className, ...props }: LoadingProps): react_jsx_runtime.JSX.Element;
640
641
 
642
+ declare function cn(...inputs: ClassValue[]): string;
643
+ type Breakpoint = 'base' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
644
+ type Responsive<T> = T | Partial<Record<Breakpoint, T>>;
645
+ declare function mapDisplay(value: Responsive<string> | undefined): string;
646
+ declare function mapPosition(value: Responsive<string> | undefined): string;
647
+ declare function mapOverflow(value: Responsive<string> | undefined, axis?: 'x' | 'y'): string;
648
+ declare function mapCursor(value: Responsive<string> | undefined): string;
649
+ declare function mapOpacity(value: Responsive<string> | undefined): string;
650
+ declare function mapPointerEvents(value: Responsive<string> | undefined): string;
651
+ declare function mapPadding(value: Responsive<string> | undefined, side?: string): string;
652
+ declare function mapMargin(value: Responsive<string> | undefined, side?: string): string;
653
+ declare function mapGap(value: Responsive<string> | undefined, axis?: 'x' | 'y'): string;
654
+ declare function mapFontSize(value: Responsive<string> | undefined): string;
655
+ declare function mapHeadingSize(value: Responsive<string> | undefined): string;
656
+ declare function mapFontWeight(value: Responsive<string> | undefined): string;
657
+ declare function mapTextColor(value: string | undefined): string;
658
+ declare function mapBackgroundColor(value: string | undefined): string;
659
+ declare function mapBorderRadius(value: Responsive<string> | undefined): string;
660
+ declare function mapBorderWidth(value: Responsive<string> | undefined): string;
661
+ declare function mapShadow(value: Responsive<string> | undefined): string;
662
+ declare function mapFlexDirection(value: Responsive<string> | undefined): string;
663
+ declare function mapFlexWrap(value: Responsive<string> | undefined): string;
664
+ declare function mapJustifyContent(value: Responsive<string> | undefined): string;
665
+ declare function mapJustifyItems(value: Responsive<string> | undefined): string;
666
+ declare function mapAlignContent(value: Responsive<string> | undefined): string;
667
+ declare function mapAlignItems(value: Responsive<string> | undefined): string;
668
+ declare function mapAlignSelf(value: Responsive<string> | undefined): string;
669
+ declare function mapTextAlign(value: Responsive<string> | undefined): string;
670
+ declare function mapTextWrap(value: Responsive<string> | undefined): string;
671
+ declare function mapTextTransform(value: Responsive<string> | undefined): string;
672
+ declare function mapLetterSpacing(value: Responsive<string> | undefined): string;
673
+ declare function mapLineHeight(value: Responsive<string> | undefined): string;
674
+ declare function mapWhitespace(value: Responsive<string> | undefined): string;
675
+ declare function mapWordBreak(value: Responsive<string> | undefined): string;
676
+ declare function mapVerticalAlign(value: Responsive<string> | undefined): string;
677
+ declare function mapTextDecorationStyle(value: Responsive<string> | undefined): string;
678
+ declare function mapTextIndent(value: Responsive<string> | undefined): string;
679
+ declare function mapGridAutoFlow(value: Responsive<string> | undefined): string;
680
+ declare function mapGridColumns(value: Responsive<string> | undefined): string;
681
+ declare function mapGridRows(value: Responsive<string> | undefined): string;
682
+ declare function mapBorder(value: Responsive<string | boolean> | undefined): string;
683
+ declare function mapBorderColor(value: string | undefined): string;
684
+ declare function getCssColorValue(value: string | undefined): string | undefined;
685
+ declare function mapWidth(value: Responsive<string> | undefined): string;
686
+ declare function mapHeight(value: Responsive<string> | undefined): string;
687
+ declare function mapMinWidth(value: Responsive<string> | undefined): string;
688
+ declare function mapMaxWidth(value: Responsive<string> | undefined): string;
689
+ declare function mapMinHeight(value: Responsive<string> | undefined): string;
690
+ declare function mapMaxHeight(value: Responsive<string> | undefined): string;
691
+ declare function isWidthPreset(value: string): boolean;
692
+ declare function isHeightPreset(value: string): boolean;
693
+ declare function isMinWidthPreset(value: string): boolean;
694
+ declare function isMaxWidthPreset(value: string): boolean;
695
+ declare function isMinHeightPreset(value: string): boolean;
696
+ declare function isMaxHeightPreset(value: string): boolean;
697
+ type StatePrefix = 'hover' | 'focus' | 'active';
698
+ interface StateStylesInput {
699
+ color?: string | boolean;
700
+ backgroundColor?: string | boolean;
701
+ borderColor?: string | boolean;
702
+ opacity?: string;
703
+ }
704
+ declare function mapStateStyles(prefix: StatePrefix, styles: StateStylesInput | undefined): string;
705
+
641
706
  interface MenuProps extends MenuProps$1<any> {
642
707
  className?: string;
643
708
  children?: ReactNode;
@@ -912,4 +977,4 @@ interface ZenProviderProps {
912
977
  }
913
978
  declare function ZenProvider({ children, theme, colorScheme, toast, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
914
979
 
915
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, IconLabel, type IconLabelProps, type IconProps, Image, type ImageProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, removeToast, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };
980
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, AlertBanner, type AlertBannerProps, AlertDialog, type AlertDialogProps, Blockquote, type BlockquoteProps, Box, type BoxProps, type BoxRenderProps, Breadcrumb, Breadcrumbs, type BreakpointKey, Button, type ButtonProps, type ButtonRenderProps, Calendar, type CalendarProps, Checkbox, type CheckboxProps, Code, type CodeProps, Column, type ColumnProps, ComboBox, type ComboBoxProps, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, CopyButton, type CopyButtonProps, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, Dialog, type DialogProps, Dots, type DotsProps, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, Grid, type GridProps, Heading, type HeadingProps, type HoverButtonProps, HoverTrigger, Icon, IconLabel, type IconLabelProps, type IconProps, Image, type ImageProps, Label, type LabelProps, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, Menu, MenuItem, type MenuItemProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, Modal, type ModalProps, NavMenu, NavMenuGroup, type NavMenuGroupProps, NavMenuItem, type NavMenuItemProps, type NavMenuProps, Navbar, NavbarContext, NavbarItem, type NavbarItemProps, type NavbarProps, type NavigationContext, PasswordField, type PasswordFieldProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, ProgressCircle, type ProgressCircleProps, Radio, RadioGroup, type RadioGroupProps, type RenderProp, Row, type RowProps, SearchField, type SearchFieldProps, Select, type SelectProps, Sidebar, SidebarHeader, SidebarItem, type SidebarItemProps, type SidebarProps, SidebarSection, Slider, type SliderProps, Spinner, type SpinnerProps, StatusLight, type StatusLightProps, type StrokeWidth, SubMenuTrigger, type SubmenuTriggerProps, Switch, type SwitchProps, Tab, TabList, TabPanel, Table, TableBody, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableHeader, TableRow, Tabs, Text, TextField, type TextFieldProps, type TextProps, type TextRenderProps, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, Tooltip, TooltipBubble, type TooltipBubbleProps, type TooltipProps, ZenProvider, type ZenProviderProps, cn, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, useBreakpoint, useDebounce, useInitTheme, useNavigationContext, useTheme, useToast };