@nexub/react 1.0.0 → 1.1.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.
Files changed (199) hide show
  1. package/dist/chunk-24CZFBTG.js +83 -0
  2. package/dist/chunk-2MKB5FQI.js +122 -0
  3. package/dist/chunk-2RLSIOGB.js +173 -0
  4. package/dist/chunk-2VDP2ML4.js +105 -0
  5. package/dist/chunk-3CSKW56L.js +44 -0
  6. package/dist/chunk-3U54QLYB.js +87 -0
  7. package/dist/chunk-46CFSBEO.js +48 -0
  8. package/dist/chunk-4BTP4464.js +92 -0
  9. package/dist/chunk-4NGB7XIM.js +88 -0
  10. package/dist/chunk-4OCXGNP3.js +85 -0
  11. package/dist/chunk-52KTX5A7.js +119 -0
  12. package/dist/chunk-6AZP6VBM.js +62 -0
  13. package/dist/chunk-6Y734SXN.js +51 -0
  14. package/dist/chunk-7B4FS7VQ.js +150 -0
  15. package/dist/chunk-7W2YDJ5W.js +128 -0
  16. package/dist/chunk-A7L75YXY.js +61 -0
  17. package/dist/chunk-ADO2DB6Q.js +1 -0
  18. package/dist/chunk-AHZQQ7OT.js +83 -0
  19. package/dist/chunk-AT6RPKU3.js +12 -0
  20. package/dist/chunk-BBVOB4EC.js +36 -0
  21. package/dist/chunk-BGY23Y5O.js +104 -0
  22. package/dist/chunk-BJKW3G2L.js +99 -0
  23. package/dist/chunk-BMVAZIAJ.js +187 -0
  24. package/dist/chunk-BTZW34TX.js +76 -0
  25. package/dist/chunk-BUBYXAJK.js +20 -0
  26. package/dist/chunk-BV3U3ATL.js +1 -0
  27. package/dist/chunk-BYCTJHXY.js +75 -0
  28. package/dist/chunk-BYF223HT.js +92 -0
  29. package/dist/chunk-CPV367VS.js +106 -0
  30. package/dist/chunk-CVBAWKNG.js +124 -0
  31. package/dist/chunk-CZUNTABW.js +25 -0
  32. package/dist/chunk-DAXDAFNG.js +92 -0
  33. package/dist/chunk-DD6XCW6R.js +53 -0
  34. package/dist/chunk-DEH2Z27F.js +50 -0
  35. package/dist/chunk-DOHXBNOP.js +119 -0
  36. package/dist/chunk-DR2Y3PIT.js +91 -0
  37. package/dist/chunk-ELC2NBGH.js +89 -0
  38. package/dist/chunk-EV43I5J6.js +1 -0
  39. package/dist/chunk-FS4XKWFA.js +308 -0
  40. package/dist/chunk-FUJOSPNQ.js +38 -0
  41. package/dist/chunk-GTQIA62H.js +60 -0
  42. package/dist/chunk-H4MXRAXP.js +37 -0
  43. package/dist/chunk-HW3I7I3R.js +29 -0
  44. package/dist/chunk-HY3JWSG4.js +1 -0
  45. package/dist/chunk-I5Z3A7N3.js +40 -0
  46. package/dist/chunk-IBCYG6HR.js +55 -0
  47. package/dist/chunk-IHW2L532.js +175 -0
  48. package/dist/chunk-IU76LV3W.js +101 -0
  49. package/dist/chunk-IZ6ZPEZ2.js +1 -0
  50. package/dist/chunk-JCUVWDUC.js +57 -0
  51. package/dist/chunk-JKTZMWWC.js +63 -0
  52. package/dist/chunk-JQDLCN5D.js +66 -0
  53. package/dist/chunk-K7CUCLLI.js +43 -0
  54. package/dist/chunk-KBB7M6WO.js +65 -0
  55. package/dist/chunk-KLTQJZOX.js +1 -0
  56. package/dist/chunk-KWWV3CM3.js +62 -0
  57. package/dist/chunk-KZW37FQZ.js +40 -0
  58. package/dist/chunk-L6GBZ2HB.js +145 -0
  59. package/dist/chunk-LAWZQ6R6.js +76 -0
  60. package/dist/chunk-LOP63AVE.js +49 -0
  61. package/dist/chunk-MY6XUJ5P.js +216 -0
  62. package/dist/chunk-N2GIMMTF.js +98 -0
  63. package/dist/chunk-NAIZ7R2L.js +59 -0
  64. package/dist/chunk-NHUQLIHL.js +9 -0
  65. package/dist/chunk-NZ7UK3G6.js +1 -0
  66. package/dist/chunk-OUBBOOZE.js +34 -0
  67. package/dist/chunk-OZPPL76D.js +82 -0
  68. package/dist/chunk-P6BZNFVU.js +38 -0
  69. package/dist/chunk-PANDAMD2.js +54 -0
  70. package/dist/chunk-PBLEGOLM.js +71 -0
  71. package/dist/chunk-PER3O4FD.js +33 -0
  72. package/dist/chunk-PICMOOAZ.js +1 -0
  73. package/dist/chunk-POBSY7EZ.js +155 -0
  74. package/dist/chunk-POFKKYHY.js +37 -0
  75. package/dist/chunk-QF7GUDOE.js +67 -0
  76. package/dist/chunk-QHJ43Q2T.js +70 -0
  77. package/dist/chunk-QURKXXNS.js +46 -0
  78. package/dist/chunk-ROZVVWPV.js +8 -0
  79. package/dist/chunk-S344IRK4.js +63 -0
  80. package/dist/chunk-SZKUSLHI.js +176 -0
  81. package/dist/chunk-T4IVMVMQ.js +32 -0
  82. package/dist/chunk-TCTFQYLH.js +115 -0
  83. package/dist/chunk-U3AEA4BZ.js +56 -0
  84. package/dist/chunk-U3EGB3JL.js +43 -0
  85. package/dist/chunk-UALYS4XI.js +67 -0
  86. package/dist/chunk-UTBUIBEP.js +153 -0
  87. package/dist/chunk-UWWL5FPC.js +80 -0
  88. package/dist/chunk-V3FZHIEB.js +52 -0
  89. package/dist/chunk-V6GZZFTV.js +106 -0
  90. package/dist/chunk-VPZCQFVY.js +33 -0
  91. package/dist/chunk-VT7RKY46.js +49 -0
  92. package/dist/chunk-W4IEXUD4.js +127 -0
  93. package/dist/chunk-WPPNDU2E.js +36 -0
  94. package/dist/chunk-XNDCVVNE.js +45 -0
  95. package/dist/chunk-Y45JAJKW.js +44 -0
  96. package/dist/chunk-YAGVMERC.js +81 -0
  97. package/dist/chunk-YGOR3KT7.js +46 -0
  98. package/dist/chunk-YJD66LTV.js +54 -0
  99. package/dist/chunk-YJU4ZRQZ.js +1 -0
  100. package/dist/chunk-YUFCNHZF.js +27 -0
  101. package/dist/chunk-YUNWZAAD.js +57 -0
  102. package/dist/chunk-ZFVBFCYV.js +84 -0
  103. package/dist/chunk-ZXLACKEB.js +8 -0
  104. package/dist/components/Accordion/index.js +8 -0
  105. package/dist/components/Alert/index.js +10 -0
  106. package/dist/components/AlertDialog/index.js +8 -0
  107. package/dist/components/AppShell/index.js +8 -0
  108. package/dist/components/AspectRatio/index.js +8 -0
  109. package/dist/components/Autocomplete/index.js +9 -0
  110. package/dist/components/Avatar/index.js +11 -0
  111. package/dist/components/AvatarGroup/index.js +11 -0
  112. package/dist/components/Badge/index.js +10 -0
  113. package/dist/components/Banner/index.js +10 -0
  114. package/dist/components/Box/index.js +8 -0
  115. package/dist/components/Breadcrumb/index.js +8 -0
  116. package/dist/components/Button/index.js +10 -0
  117. package/dist/components/ButtonGroup/index.js +8 -0
  118. package/dist/components/Callout/index.js +10 -0
  119. package/dist/components/Card/index.js +11 -0
  120. package/dist/components/CheckList/index.js +10 -0
  121. package/dist/components/Checkbox/index.js +8 -0
  122. package/dist/components/Chip/index.js +10 -0
  123. package/dist/components/Code/index.js +8 -0
  124. package/dist/components/Collapsible/index.js +8 -0
  125. package/dist/components/Combobox/index.js +9 -0
  126. package/dist/components/CommandPalette/index.js +8 -0
  127. package/dist/components/Container/index.js +10 -0
  128. package/dist/components/ContextMenu/index.js +8 -0
  129. package/dist/components/CountryBadge/index.js +9 -0
  130. package/dist/components/DataTable/index.js +8 -0
  131. package/dist/components/DatePicker/index.js +8 -0
  132. package/dist/components/DateRangePicker/index.js +8 -0
  133. package/dist/components/Dialog/index.js +9 -0
  134. package/dist/components/Drawer/index.js +11 -0
  135. package/dist/components/DropdownMenu/index.js +8 -0
  136. package/dist/components/EmptyState/index.js +8 -0
  137. package/dist/components/ErrorState/index.js +8 -0
  138. package/dist/components/EyebrowChip/index.js +8 -0
  139. package/dist/components/FileUpload/index.js +8 -0
  140. package/dist/components/FilterChip/index.js +8 -0
  141. package/dist/components/Flag/index.js +9 -0
  142. package/dist/components/Flex/index.js +8 -0
  143. package/dist/components/FormError/index.js +9 -0
  144. package/dist/components/FormField/index.js +11 -0
  145. package/dist/components/GradientDivider/index.js +8 -0
  146. package/dist/components/Grid/index.js +8 -0
  147. package/dist/components/Heading/index.js +10 -0
  148. package/dist/components/HelperText/index.js +9 -0
  149. package/dist/components/HoverCard/index.js +8 -0
  150. package/dist/components/IconButton/index.js +10 -0
  151. package/dist/components/Input/index.js +15 -0
  152. package/dist/components/Kbd/index.js +9 -0
  153. package/dist/components/KeyboardShortcut/index.js +9 -0
  154. package/dist/components/Label/index.js +11 -0
  155. package/dist/components/Link/index.js +10 -0
  156. package/dist/components/Logo/index.js +10 -0
  157. package/dist/components/Menubar/index.js +8 -0
  158. package/dist/components/Motion/index.js +13 -0
  159. package/dist/components/NavigationMenu/index.js +8 -0
  160. package/dist/components/NumberInput/index.js +9 -0
  161. package/dist/components/PageHeader/index.js +8 -0
  162. package/dist/components/Pagination/index.js +8 -0
  163. package/dist/components/PasswordInput/index.js +9 -0
  164. package/dist/components/Popover/index.js +9 -0
  165. package/dist/components/Progress/index.js +12 -0
  166. package/dist/components/RadioGroup/index.js +8 -0
  167. package/dist/components/Rating/index.js +11 -0
  168. package/dist/components/ScrollArea/index.js +8 -0
  169. package/dist/components/SearchInput/index.js +9 -0
  170. package/dist/components/Section/index.js +10 -0
  171. package/dist/components/SegmentedControl/index.js +8 -0
  172. package/dist/components/Select/index.js +8 -0
  173. package/dist/components/Separator/index.js +10 -0
  174. package/dist/components/Sidebar/index.js +8 -0
  175. package/dist/components/Skeleton/index.js +10 -0
  176. package/dist/components/Slider/index.js +8 -0
  177. package/dist/components/Spinner/index.js +10 -0
  178. package/dist/components/Stack/index.js +8 -0
  179. package/dist/components/StatusPill/index.js +10 -0
  180. package/dist/components/Switch/index.js +8 -0
  181. package/dist/components/Table/index.js +8 -0
  182. package/dist/components/Tabs/index.js +8 -0
  183. package/dist/components/Tag/index.js +10 -0
  184. package/dist/components/Text/index.js +10 -0
  185. package/dist/components/TextGradient/index.js +8 -0
  186. package/dist/components/Textarea/index.js +10 -0
  187. package/dist/components/ThemeProvider/index.js +10 -0
  188. package/dist/components/Toast/index.js +14 -0
  189. package/dist/components/Toggle/index.js +11 -0
  190. package/dist/components/ToggleGroup/index.js +9 -0
  191. package/dist/components/Toolbar/index.js +8 -0
  192. package/dist/components/Tooltip/index.js +16 -0
  193. package/dist/components/TopNav/index.js +9 -0
  194. package/dist/components/VisuallyHidden/index.js +7 -0
  195. package/dist/index.d.ts +28 -11
  196. package/dist/index.js +479 -5896
  197. package/package.json +12 -12
  198. package/dist/index.cjs +0 -6112
  199. package/dist/index.d.cts +0 -1245
package/dist/index.d.cts DELETED
@@ -1,1245 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
- import * as React from 'react';
3
- import { useLayoutEffect, Ref } from 'react';
4
- import * as class_variance_authority_types from 'class-variance-authority/types';
5
- import { VariantProps } from 'class-variance-authority';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
- export { Root as VisuallyHidden, VisuallyHiddenProps } from '@radix-ui/react-visually-hidden';
8
- import * as RadixDialog from '@radix-ui/react-dialog';
9
- import * as RadixAlertDialog from '@radix-ui/react-alert-dialog';
10
- import * as RadixPopover from '@radix-ui/react-popover';
11
- import * as RadixTooltip from '@radix-ui/react-tooltip';
12
- import * as RadixHoverCard from '@radix-ui/react-hover-card';
13
- import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
14
- import * as RadixContextMenu from '@radix-ui/react-context-menu';
15
- import * as RadixNav from '@radix-ui/react-navigation-menu';
16
- import * as vaul from 'vaul';
17
- import * as RadixSelect from '@radix-ui/react-select';
18
- import * as RadixSwitch from '@radix-ui/react-switch';
19
- import * as RadixCheckbox from '@radix-ui/react-checkbox';
20
- import * as RadixRadioGroup from '@radix-ui/react-radio-group';
21
- import * as RadixSlider from '@radix-ui/react-slider';
22
- import * as RadixToggle from '@radix-ui/react-toggle';
23
- import * as RadixToggleGroup from '@radix-ui/react-toggle-group';
24
- import * as RadixTabs from '@radix-ui/react-tabs';
25
- import * as RadixAccordion from '@radix-ui/react-accordion';
26
- import * as RadixCollapsible from '@radix-ui/react-collapsible';
27
- import * as RadixScrollArea from '@radix-ui/react-scroll-area';
28
- import * as RadixToolbar from '@radix-ui/react-toolbar';
29
- import * as RadixToast from '@radix-ui/react-toast';
30
- import { ColumnDef } from '@tanstack/react-table';
31
- import { DateRange } from 'react-day-picker';
32
- export { DateRange } from 'react-day-picker';
33
-
34
- declare function cn(...inputs: ClassValue[]): string;
35
-
36
- interface UseControllableStateOptions<T> {
37
- value?: T;
38
- defaultValue?: T;
39
- onChange?: (value: T) => void;
40
- }
41
- declare function useControllableState<T>({ value: controlledValue, defaultValue, onChange, }: UseControllableStateOptions<T>): readonly [T | undefined, (next: T) => void];
42
-
43
- declare function useDisclosure(initialOpen?: boolean): {
44
- isOpen: boolean;
45
- open: () => void;
46
- close: () => void;
47
- toggle: () => void;
48
- };
49
-
50
- declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
51
-
52
- declare function useMediaQuery(query: string): boolean;
53
-
54
- declare function useMergedRefs<T>(...refs: Array<Ref<T> | undefined>): (node: T) => void;
55
-
56
- type ToneValue = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub';
57
- declare const buttonVariants: (props?: ({
58
- variant?: "primary" | "secondary" | "subtle" | "ghost" | "outline" | "destructive" | "accent" | "link" | null | undefined;
59
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
60
- fullWidth?: boolean | null | undefined;
61
- } & class_variance_authority_types.ClassProp) | undefined) => string;
62
- interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
63
- tone?: ToneValue;
64
- loading?: boolean;
65
- fullWidth?: boolean;
66
- leadingIcon?: React.ReactNode;
67
- trailingIcon?: React.ReactNode;
68
- asChild?: boolean;
69
- }
70
- declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
71
-
72
- interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
73
- orientation?: 'horizontal' | 'vertical';
74
- attached?: boolean;
75
- }
76
- declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
77
-
78
- declare const iconButtonVariants: (props?: ({
79
- variant?: "subtle" | "ghost" | "outline" | "solid" | null | undefined;
80
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
81
- } & class_variance_authority_types.ClassProp) | undefined) => string;
82
- interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
83
- label: string;
84
- asChild?: boolean;
85
- }
86
- declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
87
-
88
- declare const inputVariants: (props?: ({
89
- size?: "sm" | "md" | "lg" | null | undefined;
90
- } & class_variance_authority_types.ClassProp) | undefined) => string;
91
- declare const inputWrapperVariants: (props?: ({
92
- size?: "sm" | "md" | "lg" | null | undefined;
93
- invalid?: boolean | null | undefined;
94
- } & class_variance_authority_types.ClassProp) | undefined) => string;
95
- declare const addonVariants: (props?: ({
96
- side?: "leading" | "trailing" | null | undefined;
97
- } & class_variance_authority_types.ClassProp) | undefined) => string;
98
- interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
99
- invalid?: boolean;
100
- leadingAddon?: string;
101
- trailingAddon?: string;
102
- leadingIcon?: React.ReactNode;
103
- trailingIcon?: React.ReactNode;
104
- wrapperClassName?: string;
105
- }
106
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
107
-
108
- declare const textareaVariants: (props?: ({
109
- size?: "sm" | "md" | "lg" | null | undefined;
110
- invalid?: boolean | null | undefined;
111
- resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined;
112
- } & class_variance_authority_types.ClassProp) | undefined) => string;
113
- interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'size'>, VariantProps<typeof textareaVariants> {
114
- invalid?: boolean;
115
- resize?: 'none' | 'vertical' | 'horizontal' | 'both';
116
- autoGrow?: boolean;
117
- }
118
- declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
119
-
120
- interface NumberInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'value' | 'defaultValue' | 'onChange' | 'type' | 'size'> {
121
- size?: 'sm' | 'md' | 'lg';
122
- min?: number;
123
- max?: number;
124
- step?: number;
125
- precision?: number;
126
- showSteppers?: boolean;
127
- value?: number;
128
- defaultValue?: number;
129
- onChange?: (value: number) => void;
130
- invalid?: boolean;
131
- }
132
- declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
133
-
134
- interface SearchInputProps extends Omit<InputProps, 'leadingIcon' | 'trailingIcon'> {
135
- onClear?: () => void;
136
- }
137
- declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLInputElement>>;
138
-
139
- type PasswordInputProps = Omit<InputProps, 'type' | 'trailingIcon'>;
140
- declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<HTMLInputElement>>;
141
-
142
- declare const labelVariants: (props?: ({
143
- size?: "sm" | "md" | "lg" | null | undefined;
144
- disabled?: boolean | null | undefined;
145
- } & class_variance_authority_types.ClassProp) | undefined) => string;
146
- interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>, VariantProps<typeof labelVariants> {
147
- size?: 'sm' | 'md' | 'lg';
148
- required?: boolean;
149
- disabled?: boolean;
150
- tone?: ToneValue;
151
- }
152
- declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
153
-
154
- interface HelperTextProps extends React.HTMLAttributes<HTMLParagraphElement> {
155
- tone?: ToneValue;
156
- }
157
- declare const HelperText: React.ForwardRefExoticComponent<HelperTextProps & React.RefAttributes<HTMLParagraphElement>>;
158
-
159
- type FormErrorProps = React.HTMLAttributes<HTMLParagraphElement>;
160
- declare const FormError: React.ForwardRefExoticComponent<FormErrorProps & React.RefAttributes<HTMLParagraphElement>>;
161
-
162
- interface FormFieldContextValue {
163
- id: string;
164
- name?: string;
165
- invalid?: boolean;
166
- required?: boolean;
167
- disabled?: boolean;
168
- descriptionId: string;
169
- errorId: string;
170
- }
171
- interface FormFieldRootProps extends React.HTMLAttributes<HTMLDivElement> {
172
- id?: string;
173
- name?: string;
174
- invalid?: boolean;
175
- required?: boolean;
176
- disabled?: boolean;
177
- }
178
- declare function Root({ id: idProp, name, invalid, required, disabled, className, children, ...props }: FormFieldRootProps): react_jsx_runtime.JSX.Element;
179
- declare namespace Root {
180
- var displayName: string;
181
- }
182
- declare function FieldLabel({ className, children, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
183
- declare namespace FieldLabel {
184
- var displayName: string;
185
- }
186
- declare function Control({ children }: {
187
- children: React.ReactElement<Record<string, unknown>>;
188
- }): React.ReactElement<Record<string, unknown>, string | React.JSXElementConstructor<any>>;
189
- declare namespace Control {
190
- var displayName: string;
191
- }
192
- declare function Description({ className, children, ...props }: React.ComponentProps<typeof HelperText>): react_jsx_runtime.JSX.Element;
193
- declare namespace Description {
194
- var displayName: string;
195
- }
196
- declare function FieldError({ className, children, ...props }: React.ComponentProps<typeof FormError>): react_jsx_runtime.JSX.Element | null;
197
- declare namespace FieldError {
198
- var displayName: string;
199
- }
200
- declare const FormField: {
201
- Root: typeof Root;
202
- Label: typeof FieldLabel;
203
- Control: typeof Control;
204
- Description: typeof Description;
205
- Error: typeof FieldError;
206
- };
207
-
208
- declare const badgeVariants: (props?: ({
209
- size?: "sm" | "md" | "lg" | null | undefined;
210
- variant?: "outline" | "solid" | "soft" | null | undefined;
211
- } & class_variance_authority_types.ClassProp) | undefined) => string;
212
- interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
213
- tone?: ToneValue;
214
- leadingIcon?: React.ReactNode;
215
- }
216
- declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
217
-
218
- declare const statusPillVariants: (props?: ({
219
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
220
- } & class_variance_authority_types.ClassProp) | undefined) => string;
221
- interface StatusPillProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof statusPillVariants> {
222
- tone?: ToneValue;
223
- label: string;
224
- dot?: boolean;
225
- }
226
- declare const StatusPill: React.ForwardRefExoticComponent<StatusPillProps & React.RefAttributes<HTMLSpanElement>>;
227
-
228
- interface FilterChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
229
- selected?: boolean;
230
- count?: number;
231
- onRemove?: () => void;
232
- children: React.ReactNode;
233
- }
234
- declare const FilterChip: React.ForwardRefExoticComponent<FilterChipProps & React.RefAttributes<HTMLButtonElement>>;
235
-
236
- declare const chipVariants: (props?: ({
237
- size?: "sm" | "md" | null | undefined;
238
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
239
- } & class_variance_authority_types.ClassProp) | undefined) => string;
240
- interface ChipProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof chipVariants> {
241
- tone?: ToneValue;
242
- onRemove?: () => void;
243
- }
244
- declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLSpanElement>>;
245
-
246
- declare const tagVariants: (props?: ({
247
- size?: "sm" | "md" | "lg" | null | undefined;
248
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
249
- } & class_variance_authority_types.ClassProp) | undefined) => string;
250
- interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
251
- tone?: ToneValue;
252
- }
253
- declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
254
-
255
- interface EyebrowChipProps extends React.HTMLAttributes<HTMLSpanElement> {
256
- tone?: ToneValue;
257
- leadingIcon?: React.ReactNode;
258
- }
259
- declare const EyebrowChip: React.ForwardRefExoticComponent<EyebrowChipProps & React.RefAttributes<HTMLSpanElement>>;
260
-
261
- declare const avatarVariants: (props?: ({
262
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
263
- } & class_variance_authority_types.ClassProp) | undefined) => string;
264
- interface AvatarProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof avatarVariants> {
265
- src?: string;
266
- name?: string;
267
- fallback?: React.ReactNode;
268
- badge?: boolean;
269
- badgeColor?: string;
270
- }
271
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
272
-
273
- declare const avatarGroupVariants: (props?: ({
274
- spacing?: "sm" | "md" | "lg" | null | undefined;
275
- } & class_variance_authority_types.ClassProp) | undefined) => string;
276
- interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarGroupVariants> {
277
- max?: number;
278
- size?: AvatarProps['size'];
279
- children: React.ReactNode;
280
- }
281
- declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
282
-
283
- declare const cardVariants: (props?: ({
284
- variant?: "flat" | "surface" | "interactive" | null | undefined;
285
- surface?: "solid" | "glass" | null | undefined;
286
- } & class_variance_authority_types.ClassProp) | undefined) => string;
287
- interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
288
- tone?: ToneValue;
289
- surface?: 'solid' | 'glass';
290
- asChild?: boolean;
291
- }
292
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
293
-
294
- declare const alertVariants: (props?: ({
295
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
296
- } & class_variance_authority_types.ClassProp) | undefined) => string;
297
- interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
298
- tone?: ToneValue;
299
- title?: string;
300
- icon?: React.ReactNode;
301
- action?: React.ReactNode;
302
- onClose?: () => void;
303
- }
304
- declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
305
-
306
- declare const bannerVariants: (props?: ({
307
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
308
- } & class_variance_authority_types.ClassProp) | undefined) => string;
309
- interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bannerVariants> {
310
- tone?: ToneValue;
311
- title?: string;
312
- icon?: React.ReactNode;
313
- action?: React.ReactNode;
314
- onClose?: () => void;
315
- }
316
- declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
317
-
318
- declare const calloutVariants: (props?: ({
319
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
320
- } & class_variance_authority_types.ClassProp) | undefined) => string;
321
- interface CalloutProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof calloutVariants> {
322
- tone?: ToneValue;
323
- icon?: React.ReactNode;
324
- }
325
- declare const Callout: React.ForwardRefExoticComponent<CalloutProps & React.RefAttributes<HTMLDivElement>>;
326
-
327
- declare const skeletonVariants: (props?: ({
328
- shape?: "circle" | "line" | "rect" | null | undefined;
329
- animated?: boolean | null | undefined;
330
- } & class_variance_authority_types.ClassProp) | undefined) => string;
331
- interface SkeletonProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof skeletonVariants> {
332
- shape?: 'line' | 'rect' | 'circle';
333
- width?: string | number;
334
- height?: string | number;
335
- animated?: boolean;
336
- }
337
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLSpanElement>>;
338
-
339
- declare const spinnerVariants: (props?: ({
340
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
341
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
342
- } & class_variance_authority_types.ClassProp) | undefined) => string;
343
- interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof spinnerVariants> {
344
- tone?: ToneValue;
345
- label?: string;
346
- }
347
- declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
348
-
349
- declare const progressTrackVariants: (props?: ({
350
- size?: "sm" | "md" | "lg" | null | undefined;
351
- } & class_variance_authority_types.ClassProp) | undefined) => string;
352
- declare const progressFillVariants: (props?: ({
353
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
354
- animated?: boolean | null | undefined;
355
- } & class_variance_authority_types.ClassProp) | undefined) => string;
356
- interface ProgressProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressTrackVariants> {
357
- value?: number;
358
- max?: number;
359
- tone?: ToneValue;
360
- animated?: boolean;
361
- }
362
- declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
363
-
364
- declare const separatorVariants: (props?: ({
365
- orientation?: "horizontal" | "vertical" | null | undefined;
366
- tone?: "neutral" | "info" | "success" | "warning" | "danger" | "leap" | "bookub" | "payub" | "founderub" | null | undefined;
367
- } & class_variance_authority_types.ClassProp) | undefined) => string;
368
- interface SeparatorProps extends React.HTMLAttributes<HTMLHRElement | HTMLDivElement>, VariantProps<typeof separatorVariants> {
369
- orientation?: 'horizontal' | 'vertical';
370
- tone?: ToneValue;
371
- }
372
- declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement | HTMLHRElement>>;
373
-
374
- interface GradientDividerProps extends React.HTMLAttributes<HTMLDivElement> {
375
- height?: number;
376
- orientation?: 'horizontal' | 'vertical';
377
- }
378
- declare const GradientDivider: React.ForwardRefExoticComponent<GradientDividerProps & React.RefAttributes<HTMLDivElement>>;
379
-
380
- declare const ratingVariants: (props?: ({
381
- size?: "sm" | "md" | "lg" | null | undefined;
382
- } & class_variance_authority_types.ClassProp) | undefined) => string;
383
- interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof ratingVariants> {
384
- value?: number;
385
- max?: number;
386
- readOnly?: boolean;
387
- onValueChange?: (value: number) => void;
388
- }
389
- declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
390
-
391
- interface CheckListProps extends React.HTMLAttributes<HTMLUListElement> {
392
- items?: string[];
393
- children?: React.ReactNode;
394
- }
395
- declare const CheckList: React.ForwardRefExoticComponent<CheckListProps & React.RefAttributes<HTMLUListElement>>;
396
- interface CheckListItemProps extends React.HTMLAttributes<HTMLLIElement> {
397
- children: React.ReactNode;
398
- }
399
- declare const CheckListItem: React.ForwardRefExoticComponent<CheckListItemProps & React.RefAttributes<HTMLLIElement>>;
400
-
401
- interface CodeProps extends React.HTMLAttributes<HTMLElement> {
402
- inline?: boolean;
403
- language?: string;
404
- }
405
- declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
406
-
407
- interface KbdProps extends React.HTMLAttributes<HTMLElement> {
408
- }
409
- declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
410
-
411
- declare const linkVariants: (props?: ({
412
- variant?: "default" | "muted" | "underlined" | null | undefined;
413
- } & class_variance_authority_types.ClassProp) | undefined) => string;
414
- interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
415
- external?: boolean;
416
- }
417
- declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
418
-
419
- interface TextGradientProps extends React.HTMLAttributes<HTMLSpanElement> {
420
- }
421
- declare const TextGradient: React.ForwardRefExoticComponent<TextGradientProps & React.RefAttributes<HTMLSpanElement>>;
422
-
423
- declare const containerVariants: (props?: ({
424
- size?: "sm" | "md" | "lg" | "xl" | "2xl" | "nexub" | "prose" | null | undefined;
425
- paddingX?: boolean | null | undefined;
426
- } & class_variance_authority_types.ClassProp) | undefined) => string;
427
- interface ContainerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
428
- asChild?: boolean;
429
- }
430
- declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
431
-
432
- declare const sectionVariants: (props?: ({
433
- paddingY?: "sm" | "md" | "lg" | null | undefined;
434
- tone?: "subtle" | "default" | "muted" | "inverse" | null | undefined;
435
- } & class_variance_authority_types.ClassProp) | undefined) => string;
436
- interface SectionProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof sectionVariants> {
437
- asChild?: boolean;
438
- }
439
- declare const Section: React.ForwardRefExoticComponent<SectionProps & React.RefAttributes<HTMLElement>>;
440
-
441
- interface StackProps extends React.HTMLAttributes<HTMLDivElement> {
442
- direction?: 'row' | 'column';
443
- gap?: number | string;
444
- align?: string;
445
- justify?: string;
446
- wrap?: boolean;
447
- divider?: React.ReactNode;
448
- asChild?: boolean;
449
- }
450
- declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
451
-
452
- interface FlexProps extends React.HTMLAttributes<HTMLDivElement> {
453
- gap?: number | string;
454
- align?: string;
455
- justify?: string;
456
- wrap?: boolean;
457
- direction?: 'row' | 'column' | 'row-reverse' | 'column-reverse';
458
- asChild?: boolean;
459
- }
460
- declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
461
-
462
- interface GridProps extends React.HTMLAttributes<HTMLDivElement> {
463
- cols?: number | string;
464
- rows?: number | string;
465
- gap?: number | string;
466
- flow?: 'row' | 'column' | 'dense';
467
- asChild?: boolean;
468
- }
469
- declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
470
-
471
- interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
472
- asChild?: boolean;
473
- }
474
- declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
475
-
476
- interface AspectRatioProps extends React.HTMLAttributes<HTMLDivElement> {
477
- ratio?: number;
478
- }
479
- declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
480
-
481
- declare const headingVariants: (props?: ({
482
- size?: "display" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | null | undefined;
483
- weight?: "bold" | "medium" | "regular" | "semibold" | "extrabold" | null | undefined;
484
- } & class_variance_authority_types.ClassProp) | undefined) => string;
485
- type HeadingSize = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
486
- type HeadingWeight = 'regular' | 'medium' | 'semibold' | 'bold' | 'extrabold';
487
- interface HeadingProps extends React.HTMLAttributes<HTMLHeadingElement> {
488
- level?: 1 | 2 | 3 | 4 | 5 | 6;
489
- size?: HeadingSize;
490
- tone?: ToneValue | 'default';
491
- weight?: HeadingWeight;
492
- asChild?: boolean;
493
- }
494
- declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
495
-
496
- declare const textVariants: (props?: ({
497
- size?: "label" | "caption" | "body" | "body-lg" | "body-sm" | null | undefined;
498
- tone?: "secondary" | "subtle" | "default" | "muted" | "inverse" | null | undefined;
499
- weight?: "bold" | "medium" | "regular" | "semibold" | null | undefined;
500
- } & class_variance_authority_types.ClassProp) | undefined) => string;
501
- interface TextProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textVariants> {
502
- asChild?: boolean;
503
- truncate?: boolean;
504
- lineClamp?: number;
505
- }
506
- declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLParagraphElement>>;
507
-
508
- declare const logoVariants: (props?: ({
509
- size?: "sm" | "md" | "lg" | null | undefined;
510
- tone?: "default" | "inverse" | null | undefined;
511
- } & class_variance_authority_types.ClassProp) | undefined) => string;
512
- interface LogoProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof logoVariants> {
513
- variant?: 'full' | 'mark';
514
- }
515
- declare const Logo: React.ForwardRefExoticComponent<LogoProps & React.RefAttributes<HTMLSpanElement>>;
516
-
517
- interface FlagProps extends React.HTMLAttributes<HTMLSpanElement> {
518
- code: string;
519
- size?: 'sm' | 'md' | 'lg';
520
- }
521
- declare const Flag: React.ForwardRefExoticComponent<FlagProps & React.RefAttributes<HTMLSpanElement>>;
522
-
523
- interface CountryBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
524
- code: string;
525
- label?: string;
526
- size?: 'sm' | 'md' | 'lg';
527
- }
528
- declare const CountryBadge: React.ForwardRefExoticComponent<CountryBadgeProps & React.RefAttributes<HTMLSpanElement>>;
529
-
530
- interface KeyboardShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
531
- keys: string[];
532
- }
533
- declare const KeyboardShortcut: React.ForwardRefExoticComponent<KeyboardShortcutProps & React.RefAttributes<HTMLSpanElement>>;
534
-
535
- type SurfaceValue = 'solid' | 'glass';
536
-
537
- interface ContentProps extends RadixDialog.DialogContentProps {
538
- size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
539
- surface?: SurfaceValue;
540
- }
541
- declare const Dialog: {
542
- Root: React.FC<RadixDialog.DialogProps>;
543
- Trigger: React.ForwardRefExoticComponent<RadixDialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
544
- Portal: React.FC<RadixDialog.DialogPortalProps>;
545
- Overlay: React.ForwardRefExoticComponent<RadixDialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
546
- Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
547
- Close: React.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
548
- Title: React.ForwardRefExoticComponent<RadixDialog.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
549
- Description: React.ForwardRefExoticComponent<RadixDialog.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
550
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
551
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
552
- };
553
-
554
- declare const AlertDialog: {
555
- Root: React.FC<RadixAlertDialog.AlertDialogProps>;
556
- Trigger: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
557
- Portal: React.FC<RadixAlertDialog.AlertDialogPortalProps>;
558
- Overlay: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>>;
559
- Content: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
560
- Title: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
561
- Description: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
562
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
563
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
564
- Action: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>>;
565
- Cancel: React.ForwardRefExoticComponent<RadixAlertDialog.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>>;
566
- };
567
-
568
- declare const Popover: {
569
- Root: React.FC<RadixPopover.PopoverProps>;
570
- Trigger: React.ForwardRefExoticComponent<RadixPopover.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
571
- Portal: React.FC<RadixPopover.PopoverPortalProps>;
572
- Content: React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & {
573
- surface?: SurfaceValue;
574
- } & React.RefAttributes<HTMLDivElement>>;
575
- Arrow: React.ForwardRefExoticComponent<RadixPopover.PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
576
- Close: React.ForwardRefExoticComponent<RadixPopover.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
577
- };
578
-
579
- declare const Provider: React.FC<RadixTooltip.TooltipProviderProps>;
580
- interface TooltipProps {
581
- label: string;
582
- side?: 'top' | 'right' | 'bottom' | 'left';
583
- delayDuration?: number;
584
- children: React.ReactElement;
585
- }
586
- declare function Tooltip({ label, side, delayDuration, children }: TooltipProps): react_jsx_runtime.JSX.Element;
587
-
588
- declare const HoverCard: {
589
- Root: React.FC<RadixHoverCard.HoverCardProps>;
590
- Trigger: React.ForwardRefExoticComponent<RadixHoverCard.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>>;
591
- Content: React.ForwardRefExoticComponent<RadixHoverCard.HoverCardContentProps & React.RefAttributes<HTMLDivElement>>;
592
- Arrow: React.ForwardRefExoticComponent<RadixHoverCard.HoverCardArrowProps & React.RefAttributes<SVGSVGElement>>;
593
- };
594
-
595
- declare const DropdownMenu: {
596
- Root: React.FC<RadixDropdownMenu.DropdownMenuProps>;
597
- Trigger: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
598
- Portal: React.FC<RadixDropdownMenu.DropdownMenuPortalProps>;
599
- Content: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
600
- Item: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
601
- Group: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
602
- Label: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
603
- Separator: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
604
- CheckboxItem: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
605
- RadioGroup: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
606
- RadioItem: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
607
- Sub: React.FC<RadixDropdownMenu.DropdownMenuSubProps>;
608
- SubTrigger: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>>;
609
- SubContent: React.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
610
- };
611
-
612
- declare const ContextMenu: {
613
- Root: React.FC<RadixContextMenu.ContextMenuProps>;
614
- Trigger: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuTriggerProps & React.RefAttributes<HTMLSpanElement>>;
615
- Portal: React.FC<RadixContextMenu.ContextMenuPortalProps>;
616
- Content: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuContentProps & React.RefAttributes<HTMLDivElement>>;
617
- Item: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuItemProps & React.RefAttributes<HTMLDivElement>>;
618
- Group: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
619
- Label: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
620
- Separator: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuSeparatorProps & React.RefAttributes<HTMLDivElement>>;
621
- CheckboxItem: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>>;
622
- RadioGroup: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
623
- RadioItem: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuRadioItemProps & React.RefAttributes<HTMLDivElement>>;
624
- Sub: React.FC<RadixContextMenu.ContextMenuSubProps>;
625
- SubTrigger: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>>;
626
- SubContent: React.ForwardRefExoticComponent<RadixContextMenu.ContextMenuSubContentProps & React.RefAttributes<HTMLDivElement>>;
627
- };
628
-
629
- declare const Menubar: Record<string, any>;
630
-
631
- declare const NavigationMenu: {
632
- Root: React.ForwardRefExoticComponent<RadixNav.NavigationMenuProps & React.RefAttributes<HTMLElement>>;
633
- List: React.ForwardRefExoticComponent<RadixNav.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>>;
634
- Item: React.ForwardRefExoticComponent<RadixNav.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
635
- Trigger: React.ForwardRefExoticComponent<RadixNav.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
636
- Content: React.ForwardRefExoticComponent<RadixNav.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>>;
637
- Link: React.ForwardRefExoticComponent<RadixNav.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
638
- Viewport: React.ForwardRefExoticComponent<RadixNav.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>>;
639
- Indicator: React.ForwardRefExoticComponent<RadixNav.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>>;
640
- };
641
-
642
- declare const Drawer: {
643
- Root: typeof vaul.Root;
644
- Trigger: React.ForwardRefExoticComponent<RadixDialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
645
- Portal: typeof vaul.Portal;
646
- Overlay: React.ForwardRefExoticComponent<Omit<RadixDialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
647
- Content: React.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement> & {
648
- side?: "left" | "right" | "top" | "bottom";
649
- surface?: SurfaceValue;
650
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
651
- Close: React.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
652
- Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
653
- Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
654
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
655
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
656
- };
657
- declare const Sheet: {
658
- Root: typeof vaul.Root;
659
- Trigger: React.ForwardRefExoticComponent<RadixDialog.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
660
- Portal: typeof vaul.Portal;
661
- Overlay: React.ForwardRefExoticComponent<Omit<RadixDialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
662
- Content: React.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement> & {
663
- side?: "left" | "right" | "top" | "bottom";
664
- surface?: SurfaceValue;
665
- }, "ref"> & React.RefAttributes<HTMLDivElement>>;
666
- Close: React.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
667
- Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
668
- Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
669
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
670
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
671
- };
672
-
673
- declare const Select: {
674
- Root: React.FC<RadixSelect.SelectProps>;
675
- Group: React.ForwardRefExoticComponent<RadixSelect.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
676
- Value: React.ForwardRefExoticComponent<RadixSelect.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
677
- Trigger: React.ForwardRefExoticComponent<RadixSelect.SelectTriggerProps & {
678
- invalid?: boolean;
679
- } & React.RefAttributes<HTMLButtonElement>>;
680
- ScrollUpButton: React.ForwardRefExoticComponent<RadixSelect.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>>;
681
- ScrollDownButton: React.ForwardRefExoticComponent<RadixSelect.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>>;
682
- Content: React.ForwardRefExoticComponent<RadixSelect.SelectContentProps & React.RefAttributes<HTMLDivElement>>;
683
- Label: React.ForwardRefExoticComponent<RadixSelect.SelectLabelProps & React.RefAttributes<HTMLDivElement>>;
684
- Item: React.ForwardRefExoticComponent<RadixSelect.SelectItemProps & React.RefAttributes<HTMLDivElement>>;
685
- Separator: React.ForwardRefExoticComponent<RadixSelect.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>>;
686
- };
687
-
688
- declare const Combobox: {
689
- Root: React.ForwardRefExoticComponent<Omit<{
690
- children?: React.ReactNode;
691
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
692
- ref?: React.Ref<HTMLDivElement>;
693
- } & {
694
- asChild?: boolean;
695
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
696
- label?: string;
697
- shouldFilter?: boolean;
698
- filter?: (value: string, search: string, keywords?: string[]) => number;
699
- defaultValue?: string;
700
- value?: string;
701
- onValueChange?: (value: string) => void;
702
- loop?: boolean;
703
- disablePointerSelection?: boolean;
704
- vimBindings?: boolean;
705
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
706
- Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
707
- ref?: React.Ref<HTMLInputElement>;
708
- } & {
709
- asChild?: boolean;
710
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
711
- value?: string;
712
- onValueChange?: (search: string) => void;
713
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
714
- List: React.ForwardRefExoticComponent<Omit<{
715
- children?: React.ReactNode;
716
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
717
- ref?: React.Ref<HTMLDivElement>;
718
- } & {
719
- asChild?: boolean;
720
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
721
- label?: string;
722
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
723
- Empty: React.ForwardRefExoticComponent<Omit<{
724
- children?: React.ReactNode;
725
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
726
- ref?: React.Ref<HTMLDivElement>;
727
- } & {
728
- asChild?: boolean;
729
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
730
- Group: React.ForwardRefExoticComponent<Omit<{
731
- children?: React.ReactNode;
732
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
733
- ref?: React.Ref<HTMLDivElement>;
734
- } & {
735
- asChild?: boolean;
736
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
737
- heading?: React.ReactNode;
738
- value?: string;
739
- forceMount?: boolean;
740
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
741
- Item: React.ForwardRefExoticComponent<Omit<{
742
- children?: React.ReactNode;
743
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
744
- ref?: React.Ref<HTMLDivElement>;
745
- } & {
746
- asChild?: boolean;
747
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
748
- disabled?: boolean;
749
- onSelect?: (value: string) => void;
750
- value?: string;
751
- keywords?: string[];
752
- forceMount?: boolean;
753
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
754
- Separator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
755
- ref?: React.Ref<HTMLDivElement>;
756
- } & {
757
- asChild?: boolean;
758
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
759
- alwaysRender?: boolean;
760
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
761
- };
762
-
763
- interface AutocompleteOption {
764
- value: string;
765
- label: string;
766
- }
767
- interface AutocompleteProps {
768
- options: AutocompleteOption[];
769
- value?: string;
770
- onValueChange?: (value: string) => void;
771
- placeholder?: string;
772
- emptyText?: string;
773
- loading?: boolean;
774
- className?: string;
775
- }
776
- declare function Autocomplete({ options, value, onValueChange, placeholder, emptyText, loading, className, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
777
-
778
- declare const switchVariants: (props?: ({
779
- size?: "sm" | "md" | "lg" | null | undefined;
780
- } & class_variance_authority_types.ClassProp) | undefined) => string;
781
- interface SwitchProps extends RadixSwitch.SwitchProps, VariantProps<typeof switchVariants> {
782
- }
783
- declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
784
-
785
- interface CheckboxProps extends RadixCheckbox.CheckboxProps {
786
- }
787
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
788
-
789
- declare const RadioGroup: {
790
- Root: React.ForwardRefExoticComponent<RadixRadioGroup.RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
791
- Item: React.ForwardRefExoticComponent<RadixRadioGroup.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
792
- };
793
-
794
- interface SliderProps extends RadixSlider.SliderProps {
795
- }
796
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
797
-
798
- declare const toggleVariants: (props?: ({
799
- variant?: "outline" | "default" | null | undefined;
800
- size?: "sm" | "md" | "lg" | null | undefined;
801
- } & class_variance_authority_types.ClassProp) | undefined) => string;
802
- interface ToggleProps extends RadixToggle.ToggleProps, VariantProps<typeof toggleVariants> {
803
- }
804
- declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<HTMLButtonElement>>;
805
-
806
- type RootProps$1 = (RadixToggleGroup.ToggleGroupSingleProps | RadixToggleGroup.ToggleGroupMultipleProps) & {
807
- variant?: VariantProps<typeof toggleVariants>['variant'];
808
- size?: VariantProps<typeof toggleVariants>['size'];
809
- };
810
- declare const ToggleGroup: {
811
- Root: React.ForwardRefExoticComponent<RootProps$1 & React.RefAttributes<HTMLDivElement>>;
812
- Item: React.ForwardRefExoticComponent<RadixToggleGroup.ToggleGroupItemProps & VariantProps<(props?: ({
813
- variant?: "outline" | "default" | null | undefined;
814
- size?: "sm" | "md" | "lg" | null | undefined;
815
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLButtonElement>>;
816
- };
817
-
818
- interface SegmentedControlProps extends Omit<RadixToggleGroup.ToggleGroupSingleProps, 'type'> {
819
- size?: 'sm' | 'md' | 'lg';
820
- }
821
- interface SegmentedControlItemProps extends RadixToggleGroup.ToggleGroupItemProps {
822
- }
823
- declare const SegmentedControl: {
824
- Root: React.ForwardRefExoticComponent<SegmentedControlProps & React.RefAttributes<HTMLDivElement>>;
825
- Item: React.ForwardRefExoticComponent<SegmentedControlItemProps & React.RefAttributes<HTMLButtonElement>>;
826
- };
827
-
828
- declare const Tabs: {
829
- Root: React.ForwardRefExoticComponent<RadixTabs.TabsProps & React.RefAttributes<HTMLDivElement>>;
830
- List: React.ForwardRefExoticComponent<RadixTabs.TabsListProps & React.RefAttributes<HTMLDivElement>>;
831
- Trigger: React.ForwardRefExoticComponent<RadixTabs.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
832
- Content: React.ForwardRefExoticComponent<RadixTabs.TabsContentProps & React.RefAttributes<HTMLDivElement>>;
833
- };
834
-
835
- type RootProps = RadixAccordion.AccordionSingleProps | RadixAccordion.AccordionMultipleProps;
836
- declare const Accordion: {
837
- Root: React.ForwardRefExoticComponent<RootProps & React.RefAttributes<HTMLDivElement>>;
838
- Item: React.ForwardRefExoticComponent<RadixAccordion.AccordionItemProps & React.RefAttributes<HTMLDivElement>>;
839
- Trigger: React.ForwardRefExoticComponent<RadixAccordion.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>>;
840
- Content: React.ForwardRefExoticComponent<RadixAccordion.AccordionContentProps & React.RefAttributes<HTMLDivElement>>;
841
- };
842
-
843
- declare const Collapsible: {
844
- Root: React.ForwardRefExoticComponent<RadixCollapsible.CollapsibleProps & React.RefAttributes<HTMLDivElement>>;
845
- Trigger: React.ForwardRefExoticComponent<RadixCollapsible.CollapsibleTriggerProps & React.RefAttributes<HTMLButtonElement>>;
846
- Content: React.ForwardRefExoticComponent<RadixCollapsible.CollapsibleContentProps & React.RefAttributes<HTMLDivElement>>;
847
- };
848
-
849
- interface ScrollAreaProps extends RadixScrollArea.ScrollAreaProps {
850
- orientation?: 'vertical' | 'horizontal' | 'both';
851
- }
852
- declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
853
-
854
- declare const Toolbar: {
855
- Root: React.ForwardRefExoticComponent<RadixToolbar.ToolbarProps & React.RefAttributes<HTMLDivElement>>;
856
- Button: React.ForwardRefExoticComponent<RadixToolbar.ToolbarButtonProps & React.RefAttributes<HTMLButtonElement>>;
857
- Separator: React.ForwardRefExoticComponent<RadixToolbar.ToolbarSeparatorProps & React.RefAttributes<HTMLDivElement>>;
858
- ToggleGroup: React.ForwardRefExoticComponent<(RadixToolbar.ToolbarToggleGroupSingleProps | RadixToolbar.ToolbarToggleGroupMultipleProps) & React.RefAttributes<HTMLDivElement>>;
859
- ToggleItem: React.ForwardRefExoticComponent<RadixToolbar.ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>>;
860
- };
861
-
862
- declare const Toast: {
863
- Provider: React.FC<RadixToast.ToastProviderProps>;
864
- Viewport: React.ForwardRefExoticComponent<RadixToast.ToastViewportProps & React.RefAttributes<HTMLOListElement>>;
865
- Root: React.ForwardRefExoticComponent<RadixToast.ToastProps & React.RefAttributes<HTMLLIElement>>;
866
- Title: React.ForwardRefExoticComponent<RadixToast.ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
867
- Description: React.ForwardRefExoticComponent<RadixToast.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>>;
868
- Action: React.ForwardRefExoticComponent<RadixToast.ToastActionProps & React.RefAttributes<HTMLButtonElement>>;
869
- Close: React.ForwardRefExoticComponent<RadixToast.ToastCloseProps & React.RefAttributes<HTMLButtonElement>>;
870
- };
871
-
872
- declare function Toaster(): react_jsx_runtime.JSX.Element;
873
-
874
- type ToastTone = 'success' | 'error' | 'warning' | 'info' | 'neutral';
875
- interface ToastItem {
876
- id: string;
877
- title: string;
878
- description?: string;
879
- tone?: ToastTone;
880
- duration?: number;
881
- action?: {
882
- label: string;
883
- onClick: () => void;
884
- };
885
- }
886
- declare function useToastStore(): ToastItem[];
887
- declare function dismiss(id?: string): void;
888
- declare const toast: {
889
- success: (title: string, opts?: Partial<Omit<ToastItem, "id" | "title" | "tone">>) => string;
890
- error: (title: string, opts?: Partial<Omit<ToastItem, "id" | "title" | "tone">>) => string;
891
- info: (title: string, opts?: Partial<Omit<ToastItem, "id" | "title" | "tone">>) => string;
892
- warning: (title: string, opts?: Partial<Omit<ToastItem, "id" | "title" | "tone">>) => string;
893
- custom: (title: string, opts?: Partial<Omit<ToastItem, "id" | "title" | "tone">>) => string;
894
- dismiss: typeof dismiss;
895
- };
896
-
897
- interface TopNavItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
898
- active?: boolean;
899
- }
900
- declare const TopNav: {
901
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
902
- surface?: SurfaceValue;
903
- } & React.RefAttributes<HTMLElement>>;
904
- Logo: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
905
- Menu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
906
- Item: React.ForwardRefExoticComponent<TopNavItemProps & React.RefAttributes<HTMLAnchorElement>>;
907
- Actions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
908
- };
909
-
910
- interface SidebarRootProps extends React.HTMLAttributes<HTMLElement> {
911
- collapsed?: boolean;
912
- }
913
- interface SidebarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
914
- label?: string;
915
- }
916
- interface SidebarItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
917
- icon?: React.ReactNode;
918
- active?: boolean;
919
- }
920
- declare const Sidebar: {
921
- Root: React.ForwardRefExoticComponent<SidebarRootProps & React.RefAttributes<HTMLElement>>;
922
- Group: React.ForwardRefExoticComponent<SidebarGroupProps & React.RefAttributes<HTMLDivElement>>;
923
- Item: React.ForwardRefExoticComponent<SidebarItemProps & React.RefAttributes<HTMLAnchorElement>>;
924
- Separator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHRElement> & React.RefAttributes<HTMLHRElement>>;
925
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
926
- };
927
-
928
- declare const AppShell: {
929
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
930
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
931
- Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
932
- Sidebar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
933
- Main: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
934
- };
935
-
936
- interface PageHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
937
- title: React.ReactNode;
938
- description?: React.ReactNode;
939
- actions?: React.ReactNode;
940
- breadcrumb?: React.ReactNode;
941
- }
942
- declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
943
-
944
- declare const Breadcrumb: {
945
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
946
- List: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLOListElement> & React.RefAttributes<HTMLOListElement>>;
947
- Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
948
- Link: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & {
949
- asChild?: boolean;
950
- } & React.RefAttributes<HTMLAnchorElement>>;
951
- Page: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
952
- Separator: {
953
- ({ children, className, }: {
954
- children?: React.ReactNode;
955
- className?: string;
956
- }): react_jsx_runtime.JSX.Element;
957
- displayName: string;
958
- };
959
- Ellipsis: {
960
- ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
961
- displayName: string;
962
- };
963
- };
964
-
965
- interface PaginationProps extends React.HTMLAttributes<HTMLElement> {
966
- page: number;
967
- totalItems: number;
968
- pageSize?: number;
969
- siblingCount?: number;
970
- onPageChange: (page: number) => void;
971
- }
972
- declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
973
-
974
- declare const CommandPalette: {
975
- Root: React.ForwardRefExoticComponent<RadixDialog.DialogProps & {
976
- className?: string;
977
- } & React.RefAttributes<HTMLDivElement>>;
978
- Input: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & {
979
- ref?: React.Ref<HTMLInputElement>;
980
- } & {
981
- asChild?: boolean;
982
- }, "asChild" | "key" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "value" | "onChange" | "type"> & {
983
- value?: string;
984
- onValueChange?: (search: string) => void;
985
- } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
986
- List: React.ForwardRefExoticComponent<Omit<{
987
- children?: React.ReactNode;
988
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
989
- ref?: React.Ref<HTMLDivElement>;
990
- } & {
991
- asChild?: boolean;
992
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
993
- label?: string;
994
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
995
- Empty: React.ForwardRefExoticComponent<Omit<{
996
- children?: React.ReactNode;
997
- } & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
998
- ref?: React.Ref<HTMLDivElement>;
999
- } & {
1000
- asChild?: boolean;
1001
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1002
- Group: React.ForwardRefExoticComponent<Omit<{
1003
- children?: React.ReactNode;
1004
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1005
- ref?: React.Ref<HTMLDivElement>;
1006
- } & {
1007
- asChild?: boolean;
1008
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
1009
- heading?: React.ReactNode;
1010
- value?: string;
1011
- forceMount?: boolean;
1012
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1013
- Item: React.ForwardRefExoticComponent<Omit<{
1014
- children?: React.ReactNode;
1015
- } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1016
- ref?: React.Ref<HTMLDivElement>;
1017
- } & {
1018
- asChild?: boolean;
1019
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "disabled" | "onSelect"> & {
1020
- disabled?: boolean;
1021
- onSelect?: (value: string) => void;
1022
- value?: string;
1023
- keywords?: string[];
1024
- forceMount?: boolean;
1025
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1026
- Separator: React.ForwardRefExoticComponent<Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1027
- ref?: React.Ref<HTMLDivElement>;
1028
- } & {
1029
- asChild?: boolean;
1030
- }, "asChild" | "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
1031
- alwaysRender?: boolean;
1032
- } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1033
- };
1034
-
1035
- declare const Table: {
1036
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
1037
- Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1038
- Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1039
- Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
1040
- Row: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableRowElement> & React.RefAttributes<HTMLTableRowElement>>;
1041
- Head: React.ForwardRefExoticComponent<React.ThHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
1042
- Cell: React.ForwardRefExoticComponent<React.TdHTMLAttributes<HTMLTableCellElement> & React.RefAttributes<HTMLTableCellElement>>;
1043
- Caption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
1044
- };
1045
-
1046
- interface DataTableProps<TData> extends React.HTMLAttributes<HTMLDivElement> {
1047
- columns: ColumnDef<TData>[];
1048
- data: TData[];
1049
- enableSorting?: boolean;
1050
- enableRowSelection?: boolean;
1051
- pagination?: {
1052
- pageSize?: number;
1053
- };
1054
- }
1055
- declare function DataTable<TData>({ columns, data, enableSorting, enableRowSelection, pagination, className, ...props }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
1056
-
1057
- declare const EmptyState: {
1058
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
1059
- Illustration: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
1060
- Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
1061
- Description: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
1062
- Actions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
1063
- };
1064
-
1065
- type ErrorTone = 'error' | 'warning' | 'info';
1066
- interface ErrorStateProps extends React.HTMLAttributes<HTMLDivElement> {
1067
- title: string;
1068
- description?: string;
1069
- tone?: ErrorTone;
1070
- onRetry?: () => void;
1071
- }
1072
- declare const ErrorState: React.ForwardRefExoticComponent<ErrorStateProps & React.RefAttributes<HTMLDivElement>>;
1073
-
1074
- interface FileUploadRootProps extends React.HTMLAttributes<HTMLDivElement> {
1075
- accept?: string[];
1076
- maxFiles?: number;
1077
- onFilesChange?: (files: File[]) => void;
1078
- }
1079
- declare const FileUpload: {
1080
- Root: React.ForwardRefExoticComponent<FileUploadRootProps & React.RefAttributes<HTMLDivElement>>;
1081
- Dropzone: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
1082
- List: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
1083
- Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLIElement> & {
1084
- index: number;
1085
- } & React.RefAttributes<HTMLLIElement>>;
1086
- };
1087
-
1088
- interface DatePickerProps {
1089
- value?: Date;
1090
- onChange?: (date: Date | undefined) => void;
1091
- placeholder?: string;
1092
- disabled?: boolean;
1093
- minDate?: Date;
1094
- maxDate?: Date;
1095
- className?: string;
1096
- }
1097
- declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
1098
-
1099
- interface DateRangePickerProps {
1100
- value?: DateRange;
1101
- onChange?: (range: DateRange | undefined) => void;
1102
- placeholder?: string;
1103
- disabled?: boolean;
1104
- minDate?: Date;
1105
- maxDate?: Date;
1106
- className?: string;
1107
- }
1108
- declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
1109
-
1110
- type ThemeMode = 'light' | 'dark' | 'system';
1111
- interface ThemeContextValue {
1112
- /** The resolved theme actually applied (never 'system'). */
1113
- resolvedTheme: 'light' | 'dark';
1114
- /** The mode set by the consumer — may be 'system'. */
1115
- theme: ThemeMode;
1116
- /** Change the active theme. */
1117
- setTheme: (mode: ThemeMode) => void;
1118
- }
1119
- interface ThemeProviderProps {
1120
- children: React.ReactNode;
1121
- /**
1122
- * Initial theme. Defaults to 'system'.
1123
- */
1124
- defaultTheme?: ThemeMode;
1125
- /**
1126
- * localStorage key used to persist the user's choice.
1127
- * Defaults to 'nexub-theme'.
1128
- */
1129
- storageKey?: string;
1130
- /**
1131
- * Element to apply the `data-theme` attribute to.
1132
- * Defaults to `document.documentElement` (<html>).
1133
- */
1134
- attribute?: 'data-theme' | 'class';
1135
- }
1136
- declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1137
- declare function useTheme(): ThemeContextValue;
1138
-
1139
- type MotionDuration = 'instant' | 'fast' | 'normal' | 'slow' | 'slower';
1140
- type MotionEasing = 'linear' | 'in' | 'out' | 'in-out' | 'out-expo' | 'spring';
1141
- interface MotionBaseProps {
1142
- /** Whether the component is visible / mounted. */
1143
- in: boolean;
1144
- /**
1145
- * Token-based duration. Maps to `--duration-{value}`.
1146
- * @default 'normal'
1147
- */
1148
- duration?: MotionDuration;
1149
- /**
1150
- * Token-based easing. Maps to `--ease-{value}`.
1151
- * @default 'out'
1152
- */
1153
- easing?: MotionEasing;
1154
- /**
1155
- * Remove the element from the DOM when `in` becomes false
1156
- * (after the exit transition completes).
1157
- * @default false
1158
- */
1159
- unmountOnExit?: boolean;
1160
- children?: React.ReactNode;
1161
- }
1162
-
1163
- interface FadeProps extends MotionBaseProps, React.HTMLAttributes<HTMLDivElement> {
1164
- /** Wrapper element tag. @default 'div' */
1165
- as?: React.ElementType;
1166
- }
1167
- /**
1168
- * Fade — animates opacity between 0 and 1.
1169
- *
1170
- * ```tsx
1171
- * <Fade in={isOpen}>
1172
- * <p>Hello</p>
1173
- * </Fade>
1174
- * ```
1175
- */
1176
- declare const Fade: React.ForwardRefExoticComponent<FadeProps & React.RefAttributes<HTMLDivElement>>;
1177
-
1178
- type SlideDirection = 'up' | 'down' | 'left' | 'right';
1179
- interface SlideProps extends MotionBaseProps, React.HTMLAttributes<HTMLDivElement> {
1180
- /** Direction the element slides in from. @default 'up' */
1181
- direction?: SlideDirection;
1182
- /** Distance of the slide offset. @default '12px' */
1183
- distance?: string;
1184
- /** Wrapper element tag. @default 'div' */
1185
- as?: React.ElementType;
1186
- }
1187
- /**
1188
- * Slide — animates opacity + translate from a given direction.
1189
- *
1190
- * ```tsx
1191
- * <Slide in={isOpen} direction="up">
1192
- * <Card />
1193
- * </Slide>
1194
- * ```
1195
- */
1196
- declare const Slide: React.ForwardRefExoticComponent<SlideProps & React.RefAttributes<HTMLDivElement>>;
1197
-
1198
- interface ScaleProps extends MotionBaseProps, React.HTMLAttributes<HTMLDivElement> {
1199
- /**
1200
- * The scale value at the start/end of the animation (when `in={false}`).
1201
- * @default 0.95
1202
- */
1203
- initialScale?: number;
1204
- /** Wrapper element tag. @default 'div' */
1205
- as?: React.ElementType;
1206
- }
1207
- /**
1208
- * Scale — animates opacity + scale(x) from `initialScale` to 1.
1209
- *
1210
- * ```tsx
1211
- * <Scale in={isOpen} initialScale={0.9}>
1212
- * <Menu />
1213
- * </Scale>
1214
- * ```
1215
- */
1216
- declare const Scale: React.ForwardRefExoticComponent<ScaleProps & React.RefAttributes<HTMLDivElement>>;
1217
-
1218
- interface CollapseProps extends Omit<MotionBaseProps, 'easing'>, React.HTMLAttributes<HTMLDivElement> {
1219
- /**
1220
- * Easing for the height transition.
1221
- * @default 'out'
1222
- */
1223
- easing?: MotionBaseProps['easing'];
1224
- /**
1225
- * Starting height when collapsed. Useful for "peek" effects.
1226
- * @default 0
1227
- */
1228
- collapsedHeight?: number | string;
1229
- /** Wrapper element tag. @default 'div' */
1230
- as?: React.ElementType;
1231
- }
1232
- /**
1233
- * Collapse — animates `max-height` to reveal / hide content.
1234
- * Height is measured from the content ref so you don't need to
1235
- * provide an explicit height.
1236
- *
1237
- * ```tsx
1238
- * <Collapse in={isOpen}>
1239
- * <p>Hidden content</p>
1240
- * </Collapse>
1241
- * ```
1242
- */
1243
- declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
1244
-
1245
- export { Accordion, Alert, AlertDialog, type AlertProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Callout, type CalloutProps, Card, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, type CheckboxProps, Chip, type ChipProps, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, Menubar, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NumberInput, type NumberInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, Spinner, type SpinnerProps, Stack, type StackProps, StatusPill, type StatusPillProps, Switch, type SwitchProps, Table, Tabs, Tag, type TagProps, Text, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, Toast, type ToastItem, Toaster, Toggle, ToggleGroup, type ToggleProps, type ToneValue, Toolbar, Tooltip, Provider as TooltipProvider, TopNav, type TopNavItemProps, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useMediaQuery, useMergedRefs, useTheme, useToastStore };