@nexub/react 0.0.2 → 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 +41 -13
  196. package/dist/index.js +479 -5856
  197. package/package.json +24 -12
  198. package/dist/index.cjs +0 -6072
  199. package/dist/index.d.cts +0 -1234
@@ -0,0 +1,14 @@
1
+ 'use client';
2
+ import {
3
+ Toast,
4
+ Toaster,
5
+ toast,
6
+ useToastStore
7
+ } from "../../chunk-IHW2L532.js";
8
+ import "../../chunk-AT6RPKU3.js";
9
+ export {
10
+ Toast,
11
+ Toaster,
12
+ toast,
13
+ useToastStore
14
+ };
@@ -0,0 +1,11 @@
1
+ 'use client';
2
+ import "../../chunk-YJU4ZRQZ.js";
3
+ import {
4
+ Toggle,
5
+ toggleVariants
6
+ } from "../../chunk-U3EGB3JL.js";
7
+ import "../../chunk-AT6RPKU3.js";
8
+ export {
9
+ Toggle,
10
+ toggleVariants
11
+ };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ ToggleGroup
4
+ } from "../../chunk-K7CUCLLI.js";
5
+ import "../../chunk-U3EGB3JL.js";
6
+ import "../../chunk-AT6RPKU3.js";
7
+ export {
8
+ ToggleGroup
9
+ };
@@ -0,0 +1,8 @@
1
+ 'use client';
2
+ import {
3
+ Toolbar
4
+ } from "../../chunk-OZPPL76D.js";
5
+ import "../../chunk-AT6RPKU3.js";
6
+ export {
7
+ Toolbar
8
+ };
@@ -0,0 +1,16 @@
1
+ 'use client';
2
+ import {
3
+ Content,
4
+ Provider,
5
+ Root,
6
+ Tooltip,
7
+ Trigger
8
+ } from "../../chunk-46CFSBEO.js";
9
+ import "../../chunk-AT6RPKU3.js";
10
+ export {
11
+ Content,
12
+ Provider,
13
+ Root,
14
+ Tooltip,
15
+ Trigger
16
+ };
@@ -0,0 +1,9 @@
1
+ 'use client';
2
+ import {
3
+ TopNav
4
+ } from "../../chunk-BTZW34TX.js";
5
+ import "../../chunk-ROZVVWPV.js";
6
+ import "../../chunk-AT6RPKU3.js";
7
+ export {
8
+ TopNav
9
+ };
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import {
3
+ Root
4
+ } from "../../chunk-ZXLACKEB.js";
5
+ export {
6
+ Root as VisuallyHidden
7
+ };
package/dist/index.d.ts CHANGED
@@ -175,10 +175,6 @@ interface FormFieldRootProps extends React.HTMLAttributes<HTMLDivElement> {
175
175
  required?: boolean;
176
176
  disabled?: boolean;
177
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
178
  declare function FieldLabel({ className, children, ...props }: React.ComponentProps<typeof Label>): react_jsx_runtime.JSX.Element;
183
179
  declare namespace FieldLabel {
184
180
  var displayName: string;
@@ -198,7 +194,7 @@ declare namespace FieldError {
198
194
  var displayName: string;
199
195
  }
200
196
  declare const FormField: {
201
- Root: typeof Root;
197
+ Root: React.ForwardRefExoticComponent<FormFieldRootProps & React.RefAttributes<HTMLDivElement>>;
202
198
  Label: typeof FieldLabel;
203
199
  Control: typeof Control;
204
200
  Description: typeof Description;
@@ -223,6 +219,7 @@ interface StatusPillProps extends React.HTMLAttributes<HTMLSpanElement>, Variant
223
219
  label: string;
224
220
  dot?: boolean;
225
221
  }
222
+ /** @deprecated Use `Badge` instead: `<Badge variant="soft" leadingIcon={dot}>` covers it. Will be removed in 1.0. */
226
223
  declare const StatusPill: React.ForwardRefExoticComponent<StatusPillProps & React.RefAttributes<HTMLSpanElement>>;
227
224
 
228
225
  interface FilterChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
@@ -250,6 +247,7 @@ declare const tagVariants: (props?: ({
250
247
  interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
251
248
  tone?: ToneValue;
252
249
  }
250
+ /** @deprecated Use `Badge` instead: `<Badge size="sm">` covers it. Will be removed in 1.0. */
253
251
  declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
254
252
 
255
253
  interface EyebrowChipProps extends React.HTMLAttributes<HTMLSpanElement> {
@@ -282,9 +280,11 @@ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & Re
282
280
 
283
281
  declare const cardVariants: (props?: ({
284
282
  variant?: "flat" | "surface" | "interactive" | null | undefined;
283
+ surface?: "solid" | "glass" | null | undefined;
285
284
  } & class_variance_authority_types.ClassProp) | undefined) => string;
286
285
  interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
287
286
  tone?: ToneValue;
287
+ surface?: 'solid' | 'glass';
288
288
  asChild?: boolean;
289
289
  }
290
290
  declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
@@ -311,6 +311,7 @@ interface BannerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps
311
311
  action?: React.ReactNode;
312
312
  onClose?: () => void;
313
313
  }
314
+ /** @deprecated Use `Alert` instead: `<Alert>` has the same props (tone, title, icon, action, onClose). Will be removed in 1.0. */
314
315
  declare const Banner: React.ForwardRefExoticComponent<BannerProps & React.RefAttributes<HTMLDivElement>>;
315
316
 
316
317
  declare const calloutVariants: (props?: ({
@@ -320,6 +321,7 @@ interface CalloutProps extends React.HTMLAttributes<HTMLDivElement>, VariantProp
320
321
  tone?: ToneValue;
321
322
  icon?: React.ReactNode;
322
323
  }
324
+ /** @deprecated Use `Alert` instead: `<Alert>` covers tone + icon. Will be removed in 1.0. */
323
325
  declare const Callout: React.ForwardRefExoticComponent<CalloutProps & React.RefAttributes<HTMLDivElement>>;
324
326
 
325
327
  declare const skeletonVariants: (props?: ({
@@ -411,6 +413,8 @@ declare const linkVariants: (props?: ({
411
413
  } & class_variance_authority_types.ClassProp) | undefined) => string;
412
414
  interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
413
415
  external?: boolean;
416
+ /** Render the child element (e.g. a router `<Link>`) instead of an `<a>`. */
417
+ asChild?: boolean;
414
418
  }
415
419
  declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
416
420
 
@@ -530,8 +534,11 @@ interface KeyboardShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
530
534
  }
531
535
  declare const KeyboardShortcut: React.ForwardRefExoticComponent<KeyboardShortcutProps & React.RefAttributes<HTMLSpanElement>>;
532
536
 
537
+ type SurfaceValue = 'solid' | 'glass';
538
+
533
539
  interface ContentProps extends RadixDialog.DialogContentProps {
534
540
  size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
541
+ surface?: SurfaceValue;
535
542
  }
536
543
  declare const Dialog: {
537
544
  Root: React.FC<RadixDialog.DialogProps>;
@@ -564,7 +571,9 @@ declare const Popover: {
564
571
  Root: React.FC<RadixPopover.PopoverProps>;
565
572
  Trigger: React.ForwardRefExoticComponent<RadixPopover.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
566
573
  Portal: React.FC<RadixPopover.PopoverPortalProps>;
567
- Content: React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
574
+ Content: React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & {
575
+ surface?: SurfaceValue;
576
+ } & React.RefAttributes<HTMLDivElement>>;
568
577
  Arrow: React.ForwardRefExoticComponent<RadixPopover.PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
569
578
  Close: React.ForwardRefExoticComponent<RadixPopover.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
570
579
  };
@@ -639,6 +648,7 @@ declare const Drawer: {
639
648
  Overlay: React.ForwardRefExoticComponent<Omit<RadixDialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
640
649
  Content: React.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement> & {
641
650
  side?: "left" | "right" | "top" | "bottom";
651
+ surface?: SurfaceValue;
642
652
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
643
653
  Close: React.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
644
654
  Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
@@ -653,6 +663,7 @@ declare const Sheet: {
653
663
  Overlay: React.ForwardRefExoticComponent<Omit<RadixDialog.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
654
664
  Content: React.ForwardRefExoticComponent<Omit<Omit<RadixDialog.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement> & {
655
665
  side?: "left" | "right" | "top" | "bottom";
666
+ surface?: SurfaceValue;
656
667
  }, "ref"> & React.RefAttributes<HTMLDivElement>>;
657
668
  Close: React.ForwardRefExoticComponent<RadixDialog.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
658
669
  Title: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
@@ -765,6 +776,9 @@ interface AutocompleteProps {
765
776
  className?: string;
766
777
  }
767
778
  declare function Autocomplete({ options, value, onValueChange, placeholder, emptyText, loading, className, }: AutocompleteProps): react_jsx_runtime.JSX.Element;
779
+ declare namespace Autocomplete {
780
+ var displayName: string;
781
+ }
768
782
 
769
783
  declare const switchVariants: (props?: ({
770
784
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -783,6 +797,8 @@ declare const RadioGroup: {
783
797
  };
784
798
 
785
799
  interface SliderProps extends RadixSlider.SliderProps {
800
+ /** Accessible name per thumb (e.g. ['Minimum', 'Maximum']). Falls back to `aria-label`. */
801
+ thumbLabels?: string[];
786
802
  }
787
803
  declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
788
804
 
@@ -861,6 +877,9 @@ declare const Toast: {
861
877
  };
862
878
 
863
879
  declare function Toaster(): react_jsx_runtime.JSX.Element;
880
+ declare namespace Toaster {
881
+ var displayName: string;
882
+ }
864
883
 
865
884
  type ToastTone = 'success' | 'error' | 'warning' | 'info' | 'neutral';
866
885
  interface ToastItem {
@@ -887,9 +906,13 @@ declare const toast: {
887
906
 
888
907
  interface TopNavItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
889
908
  active?: boolean;
909
+ /** Render the child element (e.g. a router `<Link>`) instead of an `<a>`. */
910
+ asChild?: boolean;
890
911
  }
891
912
  declare const TopNav: {
892
- Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
913
+ Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
914
+ surface?: SurfaceValue;
915
+ } & React.RefAttributes<HTMLElement>>;
893
916
  Logo: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
894
917
  Menu: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
895
918
  Item: React.ForwardRefExoticComponent<TopNavItemProps & React.RefAttributes<HTMLAnchorElement>>;
@@ -905,6 +928,8 @@ interface SidebarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
905
928
  interface SidebarItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
906
929
  icon?: React.ReactNode;
907
930
  active?: boolean;
931
+ /** Render the child element (e.g. a router `<Link>`) instead of an `<a>`. */
932
+ asChild?: boolean;
908
933
  }
909
934
  declare const Sidebar: {
910
935
  Root: React.ForwardRefExoticComponent<SidebarRootProps & React.RefAttributes<HTMLElement>>;
@@ -1082,6 +1107,10 @@ interface DatePickerProps {
1082
1107
  minDate?: Date;
1083
1108
  maxDate?: Date;
1084
1109
  className?: string;
1110
+ /** Id for the trigger button, e.g. to pair with a `<label htmlFor>`. */
1111
+ id?: string;
1112
+ /** Field name for screen readers; the current value is appended. */
1113
+ 'aria-label'?: string;
1085
1114
  }
1086
1115
  declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
1087
1116
 
@@ -1093,6 +1122,10 @@ interface DateRangePickerProps {
1093
1122
  minDate?: Date;
1094
1123
  maxDate?: Date;
1095
1124
  className?: string;
1125
+ /** Id for the trigger button, e.g. to pair with a `<label htmlFor>`. */
1126
+ id?: string;
1127
+ /** Field name for screen readers; the current value is appended. */
1128
+ 'aria-label'?: string;
1096
1129
  }
1097
1130
  declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
1098
1131
 
@@ -1116,13 +1149,8 @@ interface ThemeProviderProps {
1116
1149
  * Defaults to 'nexub-theme'.
1117
1150
  */
1118
1151
  storageKey?: string;
1119
- /**
1120
- * Element to apply the `data-theme` attribute to.
1121
- * Defaults to `document.documentElement` (<html>).
1122
- */
1123
- attribute?: 'data-theme' | 'class';
1124
1152
  }
1125
- declare function ThemeProvider({ children, defaultTheme, storageKey, attribute, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1153
+ declare function ThemeProvider({ children, defaultTheme, storageKey, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
1126
1154
  declare function useTheme(): ThemeContextValue;
1127
1155
 
1128
1156
  type MotionDuration = 'instant' | 'fast' | 'normal' | 'slow' | 'slower';