burne-ui 1.6.2 → 1.6.4

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.
Files changed (108) hide show
  1. package/dist/components/composite/AlertDialog/AlertDialog.d.ts +1 -1
  2. package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +1 -1
  3. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +2 -2
  4. package/dist/components/composite/AlertDialog/alertDialogStyles.d.ts +4 -1
  5. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +11 -1
  6. package/dist/components/composite/AlertDialog/useAlertDialogRootState.d.ts +1 -1
  7. package/dist/components/composite/Form/Form.d.ts +1 -0
  8. package/dist/components/composite/Form/formParts.d.ts +17 -30
  9. package/dist/components/composite/Form/formTypes.d.ts +13 -5
  10. package/dist/components/composite/Form/index.d.ts +18 -8
  11. package/dist/components/core/Button/Button.d.ts +4 -2
  12. package/dist/components/core/Button/buttonTypes.d.ts +1 -0
  13. package/dist/components/core/Button/index.d.ts +1 -0
  14. package/dist/components/core/Calendar/Calendar.d.ts +2 -3
  15. package/dist/components/core/Calendar/calendarParts.d.ts +13 -1
  16. package/dist/components/core/Calendar/calendarStyles.d.ts +1 -0
  17. package/dist/components/core/Calendar/calendarTypes.d.ts +41 -4
  18. package/dist/components/core/Calendar/index.d.ts +13 -1
  19. package/dist/components/core/ColorPicker/ColorPicker.d.ts +3 -3
  20. package/dist/components/core/ColorPicker/colorPickerParts.d.ts +11 -1
  21. package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +18 -16
  22. package/dist/components/core/ColorPicker/index.d.ts +11 -2
  23. package/dist/components/core/ComboBox/comboBoxParts.d.ts +8 -5
  24. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +16 -0
  25. package/dist/components/core/ComboBox/index.d.ts +8 -2
  26. package/dist/components/core/Dialog/Dialog.d.ts +1 -1
  27. package/dist/components/core/Dialog/dialogAnimations.d.ts +1 -1
  28. package/dist/components/core/Dialog/dialogParts.d.ts +13 -26
  29. package/dist/components/core/Dialog/dialogStyles.d.ts +4 -1
  30. package/dist/components/core/Dialog/dialogTypes.d.ts +15 -4
  31. package/dist/components/core/Dialog/index.d.ts +12 -7
  32. package/dist/components/core/Dialog/useDialogRootState.d.ts +1 -1
  33. package/dist/components/core/Drawer/Drawer.d.ts +1 -1
  34. package/dist/components/core/Drawer/drawerAnimations.d.ts +1 -1
  35. package/dist/components/core/Drawer/drawerParts.d.ts +12 -22
  36. package/dist/components/core/Drawer/drawerStyles.d.ts +4 -1
  37. package/dist/components/core/Drawer/drawerTypes.d.ts +15 -4
  38. package/dist/components/core/Drawer/index.d.ts +11 -6
  39. package/dist/components/core/Drawer/useDrawerRootState.d.ts +1 -1
  40. package/dist/components/core/Dropdown/Dropdown.d.ts +1 -1
  41. package/dist/components/core/Dropdown/dropdownAnimations.d.ts +2 -1
  42. package/dist/components/core/Dropdown/dropdownParts.d.ts +10 -12
  43. package/dist/components/core/Dropdown/dropdownSubParts.d.ts +6 -6
  44. package/dist/components/core/Dropdown/dropdownTypes.d.ts +19 -3
  45. package/dist/components/core/Dropdown/index.d.ts +13 -5
  46. package/dist/components/core/Dropdown/useDropdownRootState.d.ts +1 -1
  47. package/dist/components/core/Field/fieldParts.d.ts +7 -2
  48. package/dist/components/core/Field/index.d.ts +7 -2
  49. package/dist/components/core/Link/Link.d.ts +1 -11
  50. package/dist/components/core/Link/linkAnchorBodyPart.d.ts +2 -1
  51. package/dist/components/core/Link/linkParts.d.ts +1 -1
  52. package/dist/components/core/Link/linkTypes.d.ts +15 -5
  53. package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
  54. package/dist/components/core/ListBox/listBoxTypes.d.ts +4 -1
  55. package/dist/components/core/Pagination/index.d.ts +3 -3
  56. package/dist/components/core/Pagination/paginationParts.d.ts +14 -18
  57. package/dist/components/core/Pagination/paginationTypes.d.ts +2 -3
  58. package/dist/components/core/Popover/Popover.d.ts +1 -1
  59. package/dist/components/core/Popover/index.d.ts +6 -5
  60. package/dist/components/core/Popover/popoverAnimations.d.ts +1 -1
  61. package/dist/components/core/Popover/popoverParts.d.ts +5 -16
  62. package/dist/components/core/Popover/popoverTypes.d.ts +9 -0
  63. package/dist/components/core/Popover/usePopoverRootState.d.ts +1 -1
  64. package/dist/components/core/Select/index.d.ts +8 -2
  65. package/dist/components/core/Select/selectParts.d.ts +7 -5
  66. package/dist/components/core/Select/selectTypes.d.ts +16 -0
  67. package/dist/components/core/Slider/index.d.ts +8 -3
  68. package/dist/components/core/Slider/sliderThumbParts.d.ts +21 -2
  69. package/dist/components/core/Slider/sliderTrackParts.d.ts +8 -9
  70. package/dist/components/core/Slider/sliderTypes.d.ts +8 -5
  71. package/dist/components/core/Slider/useSliderTrackState.d.ts +1406 -1
  72. package/dist/components/core/Switch/useSwitchRootState.d.ts +3 -3
  73. package/dist/components/core/Table/Table.d.ts +3 -3
  74. package/dist/components/core/Table/index.d.ts +4 -1
  75. package/dist/components/core/Table/tableAPI.d.ts +3 -0
  76. package/dist/components/core/Table/tableAnimations.d.ts +3 -1
  77. package/dist/components/core/Table/tableParts.d.ts +4 -1
  78. package/dist/components/core/Table/tableStyles.d.ts +4 -0
  79. package/dist/components/core/Table/tableTypes.d.ts +10 -0
  80. package/dist/components/core/TimeField/TimeField.d.ts +1 -1
  81. package/dist/components/core/TimeField/index.d.ts +1 -0
  82. package/dist/components/core/TimeField/timeFieldParts.d.ts +1 -0
  83. package/dist/components/core/TimeField/timeFieldStyles.d.ts +5 -1
  84. package/dist/components/core/TimeField/timeFieldTypes.d.ts +6 -0
  85. package/dist/components/core/Toast/index.d.ts +7 -7
  86. package/dist/components/core/Toast/toastParts.d.ts +6 -24
  87. package/dist/components/core/Toast/toastProvider.d.ts +1 -1
  88. package/dist/components/core/Toast/toastTypes.d.ts +2 -0
  89. package/dist/components/core/ToggleButton/ToggleButton.d.ts +1 -1
  90. package/dist/components/core/ToggleButton/index.d.ts +1 -1
  91. package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
  92. package/dist/components/core/Tooltip/index.d.ts +1 -0
  93. package/dist/components/core/Tooltip/tooltipParts.d.ts +1 -0
  94. package/dist/components/core/Tooltip/tooltipTypes.d.ts +6 -0
  95. package/dist/components/core/Tooltip/useTooltipRootState.d.ts +1 -1
  96. package/dist/components/core/utils/mergeAsChildProps.d.ts +21 -0
  97. package/dist/components/core/utils/portalContainer.d.ts +27 -0
  98. package/dist/index.cjs +1 -1
  99. package/dist/index.d.ts +1 -1
  100. package/dist/index.js +12742 -11953
  101. package/dist/internal.cjs +1 -1
  102. package/dist/internal.js +1 -1
  103. package/dist/theme/themeConfig.d.ts +1 -0
  104. package/dist/themeRuntimeContext-Cn9YgR1F.cjs +50 -0
  105. package/dist/{themeRuntimeContext-DyytHHaS.js → themeRuntimeContext-rM9wHr74.js} +33 -23
  106. package/dist/ui.css +53 -0
  107. package/package.json +1 -1
  108. package/dist/themeRuntimeContext-DpKqCfd0.cjs +0 -50
@@ -1,7 +1,7 @@
1
1
  import { AlertDialogBody, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogHeadingBlock, AlertDialogIndicator, AlertDialogPanel, AlertDialogTitle, AlertDialogTrigger } from './alertDialogParts';
2
2
  import { AlertDialogProps } from './alertDialogTypes';
3
3
  export type { AlertDialogProps, AlertDialogPanelProps, AlertDialogTriggerProps, AlertDialogSize, AlertDialogBodyProps, AlertDialogCloseProps, AlertDialogDescriptionProps, AlertDialogFooterProps, AlertDialogHeaderProps, AlertDialogIndicatorProps, AlertDialogTitleProps, AlertDialogContentProps, AlertDialogHeadingBlockProps, AlertDialogClassNames, } from './alertDialogTypes';
4
- export declare function AlertDialogRoot({ open, defaultOpen, onOpenChange, children, status, variant, size, classNames, }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function AlertDialogRoot({ open, defaultOpen, onOpenChange, children, status, variant, size, classNames, portalContainer, }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
5
5
  export declare namespace AlertDialogRoot {
6
6
  var displayName: string;
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { UseAlertDialogModalMotionProps } from './alertDialogTypes';
2
- export declare function useAlertDialogModalMotion({ open, variant, }: UseAlertDialogModalMotionProps): {
2
+ export declare function useAlertDialogModalMotion({ open, variant, contained, }: UseAlertDialogModalMotionProps): {
3
3
  mounted: boolean;
4
4
  dialogRef: import('react').RefObject<HTMLDialogElement | null>;
5
5
  overlayRef: import('react').RefObject<HTMLDivElement | null>;
@@ -39,8 +39,8 @@ export declare const AlertDialogTrigger: import('react').ForwardRefExoticCompone
39
39
  asChild?: boolean;
40
40
  children?: import('react').ReactNode;
41
41
  } & import('react').RefAttributes<HTMLButtonElement>>;
42
- export declare function AlertDialogPanel({ className, themeAnchor, children }: AlertDialogPanelProps): import('react').ReactPortal | null;
42
+ export declare function AlertDialogPanel({ className, themeAnchor, portalContainer: portalContainerProp, children, }: AlertDialogPanelProps): import('react').ReactPortal | null;
43
43
  export declare namespace AlertDialogPanel {
44
44
  var displayName: string;
45
45
  }
46
- export declare function AlertDialogPortalShell({ children, className, variant, sizePreset, portalTheme, lightUi, titleId, descriptionId, hasDescription, dialogRef, overlayRef, panelRef, bindGlossPanelRef, }: AlertDialogPortalShellProps): import("react/jsx-runtime").JSX.Element;
46
+ export declare function AlertDialogPortalShell({ children, className, variant, sizePreset, portalTheme, lightUi, titleId, descriptionId, hasDescription, dialogRef, overlayRef, panelRef, bindGlossPanelRef, contained, }: AlertDialogPortalShellProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,10 @@ import { ButtonSize } from '../../core/Button/buttonTypes';
4
4
  export declare const ALERT_DIALOG_CONTENT_CLASS = "flex min-h-0 flex-1 flex-col gap-mid text-left";
5
5
  export declare const ALERT_DIALOG_SIZE: Record<AlertDialogSize, AlertDialogSizePreset>;
6
6
  export declare const FOOTER_BUTTON_SIZE: Record<AlertDialogSize, ButtonSize>;
7
- export declare const ALERT_DIALOG_NATIVE_CLASS = "fixed inset-0 z-[100] m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent";
7
+ export declare const ALERT_DIALOG_NATIVE_CLASS = "m-0 flex h-full w-full max-h-none max-w-none items-center justify-center border-0 bg-transparent p-mid open:flex [&::backdrop]:bg-transparent";
8
+ export declare const ALERT_DIALOG_NATIVE_POSITION_FIXED_CLASS = "fixed inset-0 z-[100]";
9
+ export declare const ALERT_DIALOG_NATIVE_POSITION_CONTAINED_CLASS = "absolute inset-0 z-[100]";
10
+ export declare function alertDialogNativeClass(contained: boolean): string;
8
11
  export declare const ALERT_DIALOG_PANEL_SHELL_CLASS = "relative z-10 w-full outline-none";
9
12
  export declare const ALERT_DIALOG_PANEL_SURFACE_CLASS = "flex min-h-0 flex-col overflow-hidden rounded-mid text-left";
10
13
  export declare const ALERT_DIALOG_GLOSS_PANEL_CLASS = "gloss-panel gloss-deep flex min-h-0 w-full flex-col rounded-mid text-left text-foreground";
@@ -44,6 +44,8 @@ export type AlertDialogProps = {
44
44
  status?: AlertStatus;
45
45
  variant?: AlertVariant;
46
46
  size?: AlertDialogSize;
47
+ /** DOM node for the portal. Default: `document.body`. */
48
+ portalContainer?: HTMLElement | null;
47
49
  classNames?: AlertDialogClassNames;
48
50
  };
49
51
  export type AlertDialogClassNamesProviderProps = {
@@ -57,6 +59,8 @@ export type AlertDialogPanelProps = {
57
59
  * By default — `document.activeElement` at the moment of opening.
58
60
  */
59
61
  themeAnchor?: HTMLElement | null;
62
+ /** Overrides Root `portalContainer`. Default: `document.body`. */
63
+ portalContainer?: HTMLElement | null;
60
64
  children?: ReactNode;
61
65
  };
62
66
  export type AlertDialogTriggerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
@@ -77,6 +81,8 @@ export type AlertDialogContextValue = {
77
81
  size: AlertDialogSize;
78
82
  sizePreset: AlertDialogSizePreset;
79
83
  footerButtonSize: ButtonSize;
84
+ /** Portal mount node from Root; Panel may override via its own prop. */
85
+ portalContainer?: HTMLElement | null;
80
86
  };
81
87
  export type AlertDialogHeaderContextValue = {
82
88
  variant: AlertVariant;
@@ -97,10 +103,12 @@ export type AlertDialogFooterProps = HTMLAttributes<HTMLDivElement>;
97
103
  export type AlertDialogCloseProps = CloseButtonProps;
98
104
  export type AlertDialogContentProps = HTMLAttributes<HTMLDivElement>;
99
105
  export type AlertDialogHeadingBlockProps = HTMLAttributes<HTMLDivElement>;
100
- export type UseAlertDialogRootStateProps = Pick<AlertDialogProps, "open" | "defaultOpen" | "onOpenChange" | "status" | "variant" | "size">;
106
+ export type UseAlertDialogRootStateProps = Pick<AlertDialogProps, "open" | "defaultOpen" | "onOpenChange" | "status" | "variant" | "size" | "portalContainer">;
101
107
  export type UseAlertDialogModalMotionProps = {
102
108
  open: boolean;
103
109
  variant: AlertVariant;
110
+ /** When true, open with `show()` + absolute positioning inside a custom portal host. */
111
+ contained?: boolean;
104
112
  };
105
113
  export type AlertDialogPortalShellProps = {
106
114
  children: ReactNode;
@@ -116,4 +124,6 @@ export type AlertDialogPortalShellProps = {
116
124
  overlayRef: React.RefObject<HTMLDivElement | null>;
117
125
  panelRef: React.RefObject<HTMLDivElement | null>;
118
126
  bindGlossPanelRef: (node: HTMLDivElement | null) => void;
127
+ /** Custom portal host — use absolute positioning instead of fixed/top-layer. */
128
+ contained?: boolean;
119
129
  };
@@ -1,4 +1,4 @@
1
1
  import { AlertDialogContextValue, UseAlertDialogRootStateProps } from './alertDialogTypes';
2
- export declare function useAlertDialogRootState({ open: openProp, defaultOpen, onOpenChange, status, variant, size, }: UseAlertDialogRootStateProps): {
2
+ export declare function useAlertDialogRootState({ open: openProp, defaultOpen, onOpenChange, status, variant, size, portalContainer, }: UseAlertDialogRootStateProps): {
3
3
  contextValue: AlertDialogContextValue;
4
4
  };
@@ -14,5 +14,6 @@ export declare const FormRoot: import('react').ForwardRefExoticComponent<Omit<im
14
14
  size?: import('../../..').ComponentSize;
15
15
  onSubmit?: (values: import('./formTypes').FormValues) => void | Promise<void>;
16
16
  onSubmitError?: (errors: Record<string, string>) => void;
17
+ errorSummary?: import('react').ReactNode | ((entries: Array<[string, string]>) => import('react').ReactNode);
17
18
  } & import('react').RefAttributes<HTMLFormElement>>;
18
19
  export { FormSection, FormTitle, FormDescription, FormActions, FormErrorSummary, FormAnnounce, FormField, };
@@ -1,31 +1,18 @@
1
- import { FormActionsProps, FormAnnounceProps, FormDescriptionProps, FormErrorSummaryProps, FormFieldProps, FormSectionProps, FormTitleProps } from './formTypes';
2
- export declare function FormSection({ className, classNames, ...rest }: FormSectionProps): import("react/jsx-runtime").JSX.Element;
3
- export declare namespace FormSection {
4
- var displayName: string;
5
- }
6
- export declare function FormTitle({ className, id, ...rest }: FormTitleProps): import("react/jsx-runtime").JSX.Element;
7
- export declare namespace FormTitle {
8
- var displayName: string;
9
- }
10
- export declare function FormDescription({ className, id, ...rest }: FormDescriptionProps): import("react/jsx-runtime").JSX.Element;
11
- export declare namespace FormDescription {
12
- var displayName: string;
13
- }
14
- export declare function FormActions({ className, ...rest }: FormActionsProps): import("react/jsx-runtime").JSX.Element;
15
- export declare namespace FormActions {
16
- var displayName: string;
17
- }
18
- export declare function FormErrorSummary({ className, id, ...rest }: FormErrorSummaryProps): import("react/jsx-runtime").JSX.Element | null;
19
- export declare namespace FormErrorSummary {
20
- var displayName: string;
21
- }
22
- export declare function FormAnnounce({ className, id, message }: FormAnnounceProps & {
1
+ import { FormActionsProps, FormDescriptionProps, FormTitleProps } from './formTypes';
2
+ export declare const FormSection: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
3
+ classNames?: Pick<import('./formTypes').FormClassNames, "section">;
4
+ } & import('react').RefAttributes<HTMLDivElement>>;
5
+ export declare const FormTitle: import('react').ForwardRefExoticComponent<FormTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
6
+ export declare const FormDescription: import('react').ForwardRefExoticComponent<FormDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>>;
7
+ export declare const FormActions: import('react').ForwardRefExoticComponent<FormActionsProps & import('react').RefAttributes<HTMLDivElement>>;
8
+ export declare const FormErrorSummary: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & {
9
+ children?: import('react').ReactNode | ((entries: Array<[string, string]>) => import('react').ReactNode);
10
+ } & import('react').RefAttributes<HTMLDivElement>>;
11
+ export declare const FormAnnounce: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
23
12
  message?: string | null;
24
- }): import("react/jsx-runtime").JSX.Element | null;
25
- export declare namespace FormAnnounce {
26
- var displayName: string;
27
- }
28
- export declare function FormField({ name, rules, className, classNames, children }: FormFieldProps): import("react/jsx-runtime").JSX.Element;
29
- export declare namespace FormField {
30
- var displayName: string;
31
- }
13
+ } & import('react').RefAttributes<HTMLDivElement>>;
14
+ export declare const FormField: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
15
+ name: string;
16
+ rules?: import('./formTypes').FormFieldRules;
17
+ classNames?: Pick<import('./formTypes').FormClassNames, "field">;
18
+ } & import('react').RefAttributes<HTMLDivElement>>;
@@ -91,6 +91,8 @@ export type FormProps = Omit<FormHTMLAttributes<HTMLFormElement>, "onSubmit"> &
91
91
  size?: ComponentSize;
92
92
  onSubmit?: (values: FormValues) => void | Promise<void>;
93
93
  onSubmitError?: (errors: Record<string, string>) => void;
94
+ /** Passed to the auto-rendered `Form.ErrorSummary` (`children` / render prop). */
95
+ errorSummary?: ReactNode | ((entries: Array<[string, string]>) => ReactNode);
94
96
  };
95
97
  export type FormSectionProps = HTMLAttributes<HTMLDivElement> & {
96
98
  classNames?: Pick<FormClassNames, "section">;
@@ -98,14 +100,20 @@ export type FormSectionProps = HTMLAttributes<HTMLDivElement> & {
98
100
  export type FormTitleProps = HTMLAttributes<HTMLHeadingElement>;
99
101
  export type FormDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
100
102
  export type FormActionsProps = HTMLAttributes<HTMLDivElement>;
101
- export type FormErrorSummaryProps = HTMLAttributes<HTMLDivElement>;
102
- export type FormAnnounceProps = HTMLAttributes<HTMLDivElement>;
103
- export type FormFieldProps = {
103
+ export type FormErrorSummaryProps = Omit<HTMLAttributes<HTMLDivElement>, "children"> & {
104
+ /**
105
+ * Custom summary body. Function receives `[fieldName, message][]` from form context
106
+ * (e.g. list with links to fields). Default: messages joined with `". "`.
107
+ */
108
+ children?: ReactNode | ((entries: Array<[string, string]>) => ReactNode);
109
+ };
110
+ export type FormAnnounceProps = HTMLAttributes<HTMLDivElement> & {
111
+ message?: string | null;
112
+ };
113
+ export type FormFieldProps = HTMLAttributes<HTMLDivElement> & {
104
114
  name: string;
105
115
  rules?: FormFieldRules;
106
- className?: string;
107
116
  classNames?: Pick<FormClassNames, "field">;
108
- children?: ReactNode;
109
117
  };
110
118
  export type UseFormRootStateProps = FormProps;
111
119
  export type FormShellIds = {
@@ -1,4 +1,3 @@
1
- import { FormActions, FormAnnounce, FormDescription, FormErrorSummary, FormField, FormSection, FormTitle } from './Form';
2
1
  export declare const Form: import('react').ForwardRefExoticComponent<Omit<import('react').FormHTMLAttributes<HTMLFormElement>, "onSubmit"> & {
3
2
  children?: import('react').ReactNode;
4
3
  classNames?: import('./formTypes').FormClassNames;
@@ -13,14 +12,25 @@ export declare const Form: import('react').ForwardRefExoticComponent<Omit<import
13
12
  size?: import('../../..').ComponentSize;
14
13
  onSubmit?: (values: import('./formTypes').FormValues) => void | Promise<void>;
15
14
  onSubmitError?: (errors: Record<string, string>) => void;
15
+ errorSummary?: import('react').ReactNode | ((entries: Array<[string, string]>) => import('react').ReactNode);
16
16
  } & import('react').RefAttributes<HTMLFormElement>> & {
17
- Section: typeof FormSection;
18
- Title: typeof FormTitle;
19
- Description: typeof FormDescription;
20
- Actions: typeof FormActions;
21
- ErrorSummary: typeof FormErrorSummary;
22
- Announce: typeof FormAnnounce;
23
- Field: typeof FormField;
17
+ Section: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
18
+ classNames?: Pick<import('./formTypes').FormClassNames, "section">;
19
+ } & import('react').RefAttributes<HTMLDivElement>>;
20
+ Title: import('react').ForwardRefExoticComponent<import('./formTypes').FormTitleProps & import('react').RefAttributes<HTMLHeadingElement>>;
21
+ Description: import('react').ForwardRefExoticComponent<import('./formTypes').FormDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>>;
22
+ Actions: import('react').ForwardRefExoticComponent<import('./formTypes').FormActionsProps & import('react').RefAttributes<HTMLDivElement>>;
23
+ ErrorSummary: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "children"> & {
24
+ children?: import('react').ReactNode | ((entries: Array<[string, string]>) => import('react').ReactNode);
25
+ } & import('react').RefAttributes<HTMLDivElement>>;
26
+ Announce: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
27
+ message?: string | null;
28
+ } & import('react').RefAttributes<HTMLDivElement>>;
29
+ Field: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
30
+ name: string;
31
+ rules?: import('./formTypes').FormFieldRules;
32
+ classNames?: Pick<import('./formTypes').FormClassNames, "field">;
33
+ } & import('react').RefAttributes<HTMLDivElement>>;
24
34
  };
25
35
  export type { FormProps, FormSectionProps, FormTitleProps, FormDescriptionProps, FormActionsProps, FormErrorSummaryProps, FormAnnounceProps, FormFieldProps, FormClassNames, } from './Form';
26
36
  export { useFormField, useFormControlProps, } from './useFormControlProps';
@@ -1,6 +1,8 @@
1
+ import { MouseEvent, ReactNode } from 'react';
1
2
  export type { ButtonProps, ButtonAsyncState, ButtonSize, ButtonVariant, ButtonStatus, ButtonClassNames, ButtonContentProps, ButtonLabelProps, ButtonIconProps, ButtonTextProps, ButtonLoaderProps, ButtonSuccessProps, ButtonErrorProps, } from './buttonTypes';
2
3
  export { ButtonContent, ButtonLabel, ButtonIcon, ButtonText, ButtonLoader, ButtonSuccess, ButtonError, } from './buttonParts';
3
4
  export declare const ButtonRoot: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
5
+ asChild?: boolean;
4
6
  groupSegment?: import('./buttonContext').ButtonGroupSegment;
5
7
  variant?: import('./buttonTypes').ButtonVariant;
6
8
  status?: import('./buttonTypes').ButtonStatus;
@@ -9,9 +11,9 @@ export declare const ButtonRoot: import('react').ForwardRefExoticComponent<impor
9
11
  animated?: boolean;
10
12
  asyncState?: import('./buttonTypes').ButtonAsyncState;
11
13
  onAsyncStateChange?: (state: import('./buttonTypes').ButtonAsyncState) => void;
12
- onAsyncClick?: (event: import('react').MouseEvent<HTMLButtonElement>) => Promise<boolean>;
14
+ onAsyncClick?: (event: MouseEvent<HTMLButtonElement>) => Promise<boolean>;
13
15
  asyncFeedbackMs?: number;
14
- icon?: import('react').ReactNode;
16
+ icon?: ReactNode;
15
17
  iconPosition?: import('../utils/iconPosition').IconPosition;
16
18
  classNames?: import('./buttonTypes').ButtonClassNames;
17
19
  ripple?: boolean;
@@ -36,6 +36,7 @@ export type ButtonContextValue = {
36
36
  contentMotionRef: RefObject<HTMLSpanElement | null>;
37
37
  };
38
38
  export type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
39
+ asChild?: boolean;
39
40
  groupSegment?: ButtonGroupSegment;
40
41
  variant?: ButtonVariant;
41
42
  status?: ButtonStatus;
@@ -1,5 +1,6 @@
1
1
  import { ButtonIcon, ButtonText } from './Button';
2
2
  export declare const Button: import('react').ForwardRefExoticComponent<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
3
+ asChild?: boolean;
3
4
  groupSegment?: import('./buttonContext').ButtonGroupSegment;
4
5
  variant?: import('./buttonTypes').ButtonVariant;
5
6
  status?: import('./buttonTypes').ButtonStatus;
@@ -1,6 +1,5 @@
1
- import { CalendarFooter, CalendarGrid, CalendarHeader } from './calendarParts';
2
1
  import { CalendarProps } from './calendarTypes';
3
- export type { CalendarProps, CalendarHeaderProps, CalendarGridProps, CalendarFooterProps, CalendarMode, CalendarView, CalendarVariant, CalendarSize, CalendarRangeValue, CalendarLocale, CalendarClassNames, } from './calendarTypes';
2
+ export type { CalendarProps, CalendarHeaderProps, CalendarGridProps, CalendarFooterProps, CalendarNavPrevProps, CalendarNavNextProps, CalendarTitleProps, CalendarDayProps, CalendarDayRenderState, CalendarRenderDay, CalendarMode, CalendarView, CalendarVariant, CalendarSize, CalendarRangeValue, CalendarLocale, CalendarClassNames, } from './calendarTypes';
4
3
  export { useCalendar } from './calendarContext';
5
4
  export declare const CalendarRoot: import('react').ForwardRefExoticComponent<CalendarProps & import('react').RefAttributes<HTMLDivElement>>;
6
- export { CalendarHeader, CalendarGrid, CalendarFooter };
5
+ export { CalendarHeader, CalendarGrid, CalendarFooter, CalendarNavPrev, CalendarNavNext, CalendarTitle, CalendarDay, } from './calendarParts';
@@ -1,4 +1,16 @@
1
- import { CalendarFooterProps, CalendarGridProps, CalendarHeaderProps } from './calendarTypes';
1
+ import { CalendarFooterProps, CalendarGridProps, CalendarHeaderProps, CalendarInteractiveCellProps, CalendarNavButtonProps, CalendarTitleProps } from './calendarTypes';
2
+ export declare const CalendarNavPrev: import('react').ForwardRefExoticComponent<Omit<CalendarNavButtonProps, "size" | "direction" | "onClick"> & {
3
+ size?: import('./calendarTypes').CalendarSize;
4
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
5
+ } & import('react').RefAttributes<HTMLButtonElement>>;
6
+ export declare const CalendarNavNext: import('react').ForwardRefExoticComponent<Omit<CalendarNavButtonProps, "size" | "direction" | "onClick"> & {
7
+ size?: import('./calendarTypes').CalendarSize;
8
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
9
+ } & import('react').RefAttributes<HTMLButtonElement>>;
10
+ export declare const CalendarDay: import('react').ForwardRefExoticComponent<Omit<CalendarInteractiveCellProps, "size"> & {
11
+ size?: import('./calendarTypes').CalendarSize;
12
+ } & import('react').RefAttributes<HTMLButtonElement>>;
13
+ export declare const CalendarTitle: import('react').ForwardRefExoticComponent<CalendarTitleProps & import('react').RefAttributes<HTMLButtonElement>>;
2
14
  export declare const CalendarHeader: import('react').ForwardRefExoticComponent<CalendarHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
3
15
  export declare const CalendarGrid: import('react').ForwardRefExoticComponent<CalendarGridProps & import('react').RefAttributes<HTMLDivElement>>;
4
16
  export declare const CalendarFooter: import('react').ForwardRefExoticComponent<CalendarFooterProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -46,6 +46,7 @@ export declare const CALENDAR_RANGE_HALF_FILL_INITIAL_STYLE: {
46
46
  readonly opacity: 0;
47
47
  };
48
48
  export declare function calendarNavButtonClass(size: CalendarSize): string;
49
+ export declare function calendarDayEmptyClass(size: CalendarSize, slotClass?: string, className?: string): string;
49
50
  export declare function calendarRootClass(variant: CalendarVariant, size: CalendarSize, isGloss: boolean, className?: string): string;
50
51
  export declare function calendarRangeHalfFillSideClass(side: "left" | "right"): string;
51
52
  export declare function calendarInteractiveCellSizeClass(size: CalendarSize, rounded: "day" | "picker"): string;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from 'react';
1
+ import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
2
  export type CalendarLocale = {
3
3
  /** 7 items: Mon → Sun */
4
4
  weekDays: string[];
@@ -17,18 +17,33 @@ export type CalendarRangeValue = {
17
17
  start: Date | null;
18
18
  end: Date | null;
19
19
  };
20
+ export type CalendarDayRenderState = {
21
+ day: number;
22
+ selected: boolean;
23
+ disabled: boolean;
24
+ isToday: boolean;
25
+ isRangeStart: boolean;
26
+ isRangeEnd: boolean;
27
+ /** Day circle/fill is active (selected day or range endpoint). */
28
+ circleActive: boolean;
29
+ };
30
+ export type CalendarRenderDay = (date: Date, state: CalendarDayRenderState) => ReactNode;
20
31
  export type CalendarClassNames = {
21
32
  root?: string;
22
33
  glossContent?: string;
23
34
  header?: string;
24
35
  navPrev?: string;
25
36
  navNext?: string;
37
+ /** Default nav chevron icon (`IoChevronBack` / `IoChevronForward`). */
38
+ navIcon?: string;
26
39
  headerTitle?: string;
27
40
  grid?: string;
28
41
  weekdayGrid?: string;
29
42
  weekdayCell?: string;
30
43
  daysGrid?: string;
31
44
  dayCellWrapper?: string;
45
+ /** Empty padding cell outside the current month. */
46
+ dayEmpty?: string;
32
47
  rangeHalfFill?: string;
33
48
  dayCell?: string;
34
49
  monthsGrid?: string;
@@ -51,6 +66,15 @@ type CalendarCommonProps = HTMLAttributes<HTMLDivElement> & {
51
66
  locale?: CalendarLocale;
52
67
  minDate?: Date;
53
68
  maxDate?: Date;
69
+ /** Replaces the default previous-month chevron. Pass `null` to hide. */
70
+ navPrevIcon?: ReactNode;
71
+ /** Replaces the default next-month chevron. Pass `null` to hide. */
72
+ navNextIcon?: ReactNode;
73
+ /**
74
+ * Custom day cell content. Receives the cell date and selection state.
75
+ * Default content is the day-of-month number.
76
+ */
77
+ renderDay?: CalendarRenderDay;
54
78
  classNames?: CalendarClassNames;
55
79
  };
56
80
  export type CalendarProps = (CalendarCommonProps & {
@@ -72,6 +96,8 @@ export type CalendarProps = (CalendarCommonProps & {
72
96
  export type CalendarHeaderProps = HTMLAttributes<HTMLDivElement>;
73
97
  export type CalendarGridProps = HTMLAttributes<HTMLDivElement>;
74
98
  export type CalendarFooterProps = HTMLAttributes<HTMLDivElement>;
99
+ /** Header month/year drill-up control. `children` replace the default formatted title. */
100
+ export type CalendarTitleProps = ButtonHTMLAttributes<HTMLButtonElement>;
75
101
  export type CalendarContextValue = {
76
102
  mode: CalendarMode;
77
103
  view: CalendarView;
@@ -94,6 +120,9 @@ export type CalendarContextValue = {
94
120
  minDate?: Date;
95
121
  maxDate?: Date;
96
122
  today: Date;
123
+ navPrevIcon?: ReactNode;
124
+ navNextIcon?: ReactNode;
125
+ renderDay?: CalendarRenderDay;
97
126
  };
98
127
  export type CalendarProviderProps = {
99
128
  value: CalendarContextValue;
@@ -109,12 +138,16 @@ export type UseCalendarRootStateProps = CalendarCommonProps & {
109
138
  defaultValue?: unknown;
110
139
  onValueChange?: (v: unknown) => void;
111
140
  };
112
- export type CalendarNavButtonProps = {
141
+ export type CalendarNavButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> & {
113
142
  direction: "prev" | "next";
114
143
  size: CalendarSize;
115
- onClick: () => void;
116
- disabled?: boolean;
144
+ children?: ReactNode;
117
145
  };
146
+ export type CalendarNavPrevProps = Omit<CalendarNavButtonProps, "direction" | "size" | "onClick"> & {
147
+ size?: CalendarSize;
148
+ onClick?: ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
149
+ };
150
+ export type CalendarNavNextProps = CalendarNavPrevProps;
118
151
  export type CalendarInteractiveCellProps = {
119
152
  selected: boolean;
120
153
  disabled?: boolean;
@@ -131,6 +164,10 @@ export type CalendarInteractiveCellProps = {
131
164
  onMouseLeave?: () => void;
132
165
  children: ReactNode;
133
166
  };
167
+ /** Public `Calendar.Day` — size defaults from Calendar context. */
168
+ export type CalendarDayProps = Omit<CalendarInteractiveCellProps, "size"> & {
169
+ size?: CalendarSize;
170
+ };
134
171
  export type CalendarRangeHalfFillProps = {
135
172
  visible: boolean;
136
173
  side: "left" | "right";
@@ -2,7 +2,19 @@ export declare const Calendar: import('react').ForwardRefExoticComponent<import(
2
2
  Header: import('react').ForwardRefExoticComponent<import('./calendarTypes').CalendarHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
3
3
  Grid: import('react').ForwardRefExoticComponent<import('./calendarTypes').CalendarGridProps & import('react').RefAttributes<HTMLDivElement>>;
4
4
  Footer: import('react').ForwardRefExoticComponent<import('./calendarTypes').CalendarFooterProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ NavPrev: import('react').ForwardRefExoticComponent<Omit<import('./calendarTypes').CalendarNavButtonProps, "size" | "direction" | "onClick"> & {
6
+ size?: import('./calendarTypes').CalendarSize;
7
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
8
+ } & import('react').RefAttributes<HTMLButtonElement>>;
9
+ NavNext: import('react').ForwardRefExoticComponent<Omit<import('./calendarTypes').CalendarNavButtonProps, "size" | "direction" | "onClick"> & {
10
+ size?: import('./calendarTypes').CalendarSize;
11
+ onClick?: import('react').ButtonHTMLAttributes<HTMLButtonElement>["onClick"];
12
+ } & import('react').RefAttributes<HTMLButtonElement>>;
13
+ Title: import('react').ForwardRefExoticComponent<import('./calendarTypes').CalendarTitleProps & import('react').RefAttributes<HTMLButtonElement>>;
14
+ Day: import('react').ForwardRefExoticComponent<Omit<import('./calendarTypes').CalendarInteractiveCellProps, "size"> & {
15
+ size?: import('./calendarTypes').CalendarSize;
16
+ } & import('react').RefAttributes<HTMLButtonElement>>;
5
17
  };
6
18
  export { EN_LOCALE } from './calendarLocale';
7
19
  export { useCalendar } from './calendarContext';
8
- export type { CalendarProps, CalendarHeaderProps, CalendarGridProps, CalendarFooterProps, CalendarMode, CalendarView, CalendarVariant, CalendarSize, CalendarRangeValue, CalendarLocale, CalendarClassNames, } from './calendarTypes';
20
+ export type { CalendarProps, CalendarHeaderProps, CalendarGridProps, CalendarFooterProps, CalendarNavPrevProps, CalendarNavNextProps, CalendarTitleProps, CalendarDayProps, CalendarDayRenderState, CalendarRenderDay, CalendarMode, CalendarView, CalendarVariant, CalendarSize, CalendarRangeValue, CalendarLocale, CalendarClassNames, } from './calendarTypes';
@@ -1,9 +1,9 @@
1
- import { ColorPickerContent, ColorPickerTrigger } from './colorPickerParts';
1
+ import { ColorPickerAlphaInput, ColorPickerArea, ColorPickerContent, ColorPickerHexInput, ColorPickerPresets, ColorPickerTrigger } from './colorPickerParts';
2
2
  import { ColorPickerProps } from './colorPickerTypes';
3
- export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, } from './colorPickerTypes';
3
+ export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerAreaProps, ColorPickerHexInputProps, ColorPickerAlphaInputProps, ColorPickerPresetsProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, } from './colorPickerTypes';
4
4
  export { useColorPicker } from './colorPickerContext';
5
5
  export declare function ColorPickerRoot({ children, value, defaultValue, onValueChange, open: openProp, defaultOpen, onOpenChange, size, variant, side, disabled, classNames, }: ColorPickerProps): import("react/jsx-runtime").JSX.Element;
6
6
  export declare namespace ColorPickerRoot {
7
7
  var displayName: string;
8
8
  }
9
- export { ColorPickerTrigger, ColorPickerContent };
9
+ export { ColorPickerTrigger, ColorPickerContent, ColorPickerArea, ColorPickerHexInput, ColorPickerAlphaInput, ColorPickerPresets, };
@@ -1,7 +1,17 @@
1
- export declare const ColorPickerTrigger: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLButtonElement>, "children"> & {
1
+ import { ColorPickerAlphaInputProps, ColorPickerAreaProps, ColorPickerHexInputProps } from './colorPickerTypes';
2
+ export declare const ColorPickerArea: import('react').ForwardRefExoticComponent<ColorPickerAreaProps & import('react').RefAttributes<HTMLDivElement>>;
3
+ export declare const ColorPickerHexInput: import('react').ForwardRefExoticComponent<ColorPickerHexInputProps & import('react').RefAttributes<HTMLDivElement>>;
4
+ export declare const ColorPickerAlphaInput: import('react').ForwardRefExoticComponent<ColorPickerAlphaInputProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ export declare const ColorPickerPresets: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
6
+ presets: string[];
7
+ } & import('react').RefAttributes<HTMLDivElement>>;
8
+ export declare const ColorPickerTrigger: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
2
9
  swatchSize?: import('./ColorSwatch').ColorSwatchSize;
10
+ asChild?: boolean;
11
+ children?: import('react').ReactNode;
3
12
  } & import('react').RefAttributes<HTMLButtonElement>>;
4
13
  export declare const ColorPickerContent: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "color"> & {
5
14
  showAlpha?: boolean;
6
15
  presets?: string[];
16
+ children?: import('react').ReactNode;
7
17
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from 'react';
1
+ import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
2
2
  import { ColorSwatchSize } from './ColorSwatch';
3
3
  import { HSVA } from './colorUtils';
4
4
  export type ColorPickerSize = "small" | "base" | "mid" | "large";
@@ -10,6 +10,8 @@ export type ColorPickerClassNames = {
10
10
  area?: string;
11
11
  areaThumb?: string;
12
12
  slidersRow?: string;
13
+ /** Hue / alpha slider column wrapper. */
14
+ slidersStack?: string;
13
15
  previewSwatch?: string;
14
16
  hueSlider?: string;
15
17
  alphaSlider?: string;
@@ -37,12 +39,26 @@ export type ColorPickerProps = {
37
39
  disabled?: boolean;
38
40
  classNames?: ColorPickerClassNames;
39
41
  };
40
- export type ColorPickerTriggerProps = Omit<HTMLAttributes<HTMLButtonElement>, "children"> & {
42
+ export type ColorPickerTriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
41
43
  swatchSize?: ColorSwatchSize;
44
+ /** Pass-through to `Popover.Trigger` (default `true` there). */
45
+ asChild?: boolean;
46
+ children?: ReactNode;
42
47
  };
43
48
  export type ColorPickerContentProps = Omit<HTMLAttributes<HTMLDivElement>, "color"> & {
44
49
  showAlpha?: boolean;
45
50
  presets?: string[];
51
+ /**
52
+ * Custom panel body. Default layout: Area, sliders, hex/alpha inputs, presets.
53
+ * Compose with `ColorPicker.Area` / `HexInput` / `AlphaInput` / `Presets`.
54
+ */
55
+ children?: ReactNode;
56
+ };
57
+ export type ColorPickerAreaProps = HTMLAttributes<HTMLDivElement>;
58
+ export type ColorPickerHexInputProps = HTMLAttributes<HTMLDivElement>;
59
+ export type ColorPickerAlphaInputProps = HTMLAttributes<HTMLDivElement>;
60
+ export type ColorPickerPresetsProps = HTMLAttributes<HTMLDivElement> & {
61
+ presets: string[];
46
62
  };
47
63
  export type ColorPickerContextValue = {
48
64
  hsva: HSVA;
@@ -60,17 +76,3 @@ export type UseColorPickerAreaDragProps = {
60
76
  hsva: HSVA;
61
77
  setHsva: (next: HSVA) => void;
62
78
  };
63
- export type ColorPickerHexInputProps = {
64
- hex: string;
65
- setHsva: (next: HSVA) => void;
66
- };
67
- export type ColorPickerAlphaInputProps = {
68
- hsva: HSVA;
69
- setHsva: (next: HSVA) => void;
70
- };
71
- export type ColorPickerPresetsProps = {
72
- presets: string[];
73
- hex: string;
74
- setHsva: (next: HSVA) => void;
75
- size: ColorPickerSize;
76
- };
@@ -1,11 +1,20 @@
1
1
  import { ColorPickerRoot } from './ColorPicker';
2
2
  export declare const ColorPicker: typeof ColorPickerRoot & {
3
- Trigger: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLButtonElement>, "children"> & {
3
+ Trigger: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement>, "color"> & {
4
4
  swatchSize?: import('./ColorSwatch').ColorSwatchSize;
5
+ asChild?: boolean;
6
+ children?: import('react').ReactNode;
5
7
  } & import('react').RefAttributes<HTMLButtonElement>>;
6
8
  Content: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "color"> & {
7
9
  showAlpha?: boolean;
8
10
  presets?: string[];
11
+ children?: import('react').ReactNode;
12
+ } & import('react').RefAttributes<HTMLDivElement>>;
13
+ Area: import('react').ForwardRefExoticComponent<import('./colorPickerTypes').ColorPickerAreaProps & import('react').RefAttributes<HTMLDivElement>>;
14
+ HexInput: import('react').ForwardRefExoticComponent<import('./colorPickerTypes').ColorPickerHexInputProps & import('react').RefAttributes<HTMLDivElement>>;
15
+ AlphaInput: import('react').ForwardRefExoticComponent<import('./colorPickerTypes').ColorPickerAlphaInputProps & import('react').RefAttributes<HTMLDivElement>>;
16
+ Presets: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
17
+ presets: string[];
9
18
  } & import('react').RefAttributes<HTMLDivElement>>;
10
19
  };
11
20
  export declare const ColorSlider: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, "color"> & {
@@ -31,7 +40,7 @@ export declare const ColorSlider: import('react').ForwardRefExoticComponent<Omit
31
40
  } & import('react').RefAttributes<HTMLDivElement>>;
32
41
  };
33
42
  export { useColorPicker } from './colorPickerContext';
34
- export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, } from './colorPickerTypes';
43
+ export type { ColorPickerProps, ColorPickerTriggerProps, ColorPickerContentProps, ColorPickerAreaProps, ColorPickerHexInputProps, ColorPickerAlphaInputProps, ColorPickerPresetsProps, ColorPickerSize, ColorPickerVariant, ColorPickerClassNames, } from './colorPickerTypes';
35
44
  export type { ColorSliderTrackProps, ColorSliderProps, ColorChannel, ColorSliderSize, ColorSliderOrientation, } from './ColorSlider';
36
45
  export { ColorSwatch, type ColorSwatchProps, type ColorSwatchSize, type ColorSwatchShape, } from './ColorSwatch';
37
46
  export { hsvaToHex, hexToHsva, hsvaToRgba, rgbaToHsva, rgbaToHex, hexToRgba, hsvaToColorString, hueToRgbString, type HSVA, type RGBA, } from './colorUtils';
@@ -1,13 +1,16 @@
1
- import { ComboBoxInputProps, ComboBoxPopoverProps, ComboBoxTriggerProps } from './comboBoxTypes';
1
+ import { ComboBoxInputProps, ComboBoxTriggerProps } from './comboBoxTypes';
2
2
  export declare const ComboBoxInputGroup: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
3
3
  groupSegment?: import('../Button/buttonContext').ButtonGroupSegment;
4
4
  } & import('react').RefAttributes<HTMLDivElement>>;
5
5
  export declare const ComboBoxInput: import('react').ForwardRefExoticComponent<ComboBoxInputProps & import('react').RefAttributes<HTMLInputElement>>;
6
6
  export declare const ComboBoxTrigger: import('react').ForwardRefExoticComponent<ComboBoxTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
7
- export declare function ComboBoxPopover({ children, className, offset, ...rest }: ComboBoxPopoverProps): import("react/jsx-runtime").JSX.Element;
8
- export declare namespace ComboBoxPopover {
9
- var displayName: string;
10
- }
7
+ export declare const ComboBoxPopover: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & {
8
+ children?: import('react').ReactNode;
9
+ side?: import('../Popover').PopoverSide;
10
+ align?: import('../Popover').FloatingAlign;
11
+ offset?: number;
12
+ listBoxProps?: Omit<import('../ListBox').ListBoxProps, "children" | "value" | "defaultValue" | "onValueChange" | "activeValue" | "onActiveValueChange" | "listId">;
13
+ } & import('react').RefAttributes<HTMLDivElement>>;
11
14
  export declare function ComboBoxSimpleBody({ label, hint, error, labelId, }: {
12
15
  label: React.ReactNode;
13
16
  hint: React.ReactNode;