@nsaa/core 0.1.0-alpha.1 → 0.1.0-alpha.2

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 (236) hide show
  1. package/dist/accordion/accordion.d.ts +7 -0
  2. package/dist/accordion/accordion.js +54 -0
  3. package/dist/accordion/index.d.ts +3 -0
  4. package/dist/alert/alert.d.ts +18 -0
  5. package/dist/alert/alert.js +53 -0
  6. package/dist/alert/index.d.ts +3 -0
  7. package/dist/alert-dialog/alert-dialog.d.ts +19 -0
  8. package/dist/alert-dialog/alert-dialog.js +100 -0
  9. package/dist/alert-dialog/index.d.ts +3 -0
  10. package/dist/avatar/avatar.d.ts +12 -0
  11. package/dist/avatar/avatar.js +50 -0
  12. package/dist/avatar/index.d.ts +3 -0
  13. package/dist/badge/badge.d.ts +8 -0
  14. package/dist/badge/badge.js +29 -0
  15. package/dist/badge/index.d.ts +3 -0
  16. package/dist/button/button.d.ts +25 -0
  17. package/dist/button/button.js +136 -0
  18. package/dist/button/index.d.ts +3 -0
  19. package/dist/calendar/calendar.d.ts +11 -0
  20. package/dist/calendar/calendar.js +131 -0
  21. package/dist/calendar/index.d.ts +3 -0
  22. package/dist/card/card.d.ts +12 -0
  23. package/dist/card/card.js +55 -0
  24. package/dist/card/index.d.ts +3 -0
  25. package/dist/checkbox/checkbox.d.ts +4 -0
  26. package/dist/checkbox/checkbox.js +35 -0
  27. package/dist/checkbox/index.d.ts +3 -0
  28. package/dist/collapsible/collapsible.d.ts +6 -0
  29. package/dist/collapsible/collapsible.js +24 -0
  30. package/dist/collapsible/index.d.ts +3 -0
  31. package/dist/combobox/combobox.d.ts +27 -0
  32. package/dist/combobox/combobox.js +226 -0
  33. package/dist/combobox/index.d.ts +3 -0
  34. package/dist/command/command.d.ts +20 -0
  35. package/dist/command/command.js +116 -0
  36. package/dist/command/index.d.ts +3 -0
  37. package/dist/context-menu/context-menu.d.ts +30 -0
  38. package/dist/context-menu/context-menu.js +173 -0
  39. package/dist/context-menu/index.d.ts +3 -0
  40. package/dist/dialog/dialog.d.ts +18 -0
  41. package/dist/dialog/dialog.js +106 -0
  42. package/dist/dialog/index.d.ts +3 -0
  43. package/dist/direction.d.ts +3 -0
  44. package/dist/direction.js +2 -0
  45. package/dist/drawer/drawer.d.ts +17 -0
  46. package/dist/drawer/drawer.js +136 -0
  47. package/dist/drawer/index.d.ts +3 -0
  48. package/dist/dropdown-menu/dropdown-menu.d.ts +30 -0
  49. package/dist/dropdown-menu/dropdown-menu.js +177 -0
  50. package/dist/dropdown-menu/index.d.ts +3 -0
  51. package/dist/empty/empty.d.ts +35 -0
  52. package/dist/empty/empty.js +93 -0
  53. package/dist/empty/index.d.ts +3 -0
  54. package/dist/field/field.d.ts +26 -0
  55. package/dist/field/field.js +109 -0
  56. package/dist/field/index.d.ts +3 -0
  57. package/dist/index.d.ts +89 -674
  58. package/dist/index.js +48 -3876
  59. package/dist/input/index.d.ts +3 -0
  60. package/dist/input/input.d.ts +4 -0
  61. package/dist/input/input.js +14 -0
  62. package/dist/input-group/index.d.ts +3 -0
  63. package/dist/input-group/input-group.d.ts +19 -0
  64. package/dist/input-group/input-group.js +78 -0
  65. package/dist/input-otp/index.d.ts +3 -0
  66. package/dist/input-otp/input-otp.d.ts +12 -0
  67. package/dist/input-otp/input-otp.js +73 -0
  68. package/dist/kbd/index.d.ts +3 -0
  69. package/dist/kbd/kbd.d.ts +5 -0
  70. package/dist/kbd/kbd.js +19 -0
  71. package/dist/label/index.d.ts +3 -0
  72. package/dist/label/label.d.ts +4 -0
  73. package/dist/label/label.js +13 -0
  74. package/dist/legacy/icon-button/icon-swap.js +58 -0
  75. package/dist/lib/cn.d.ts +3 -0
  76. package/dist/{cn-DxFBFdwT.js → lib/cn.js} +1 -1
  77. package/dist/lib/control-defaults.js +8 -0
  78. package/dist/lib/icon-swap.d.ts +15 -0
  79. package/dist/lib/icon-swap.js +26 -0
  80. package/dist/lib/input-modality.js +39 -0
  81. package/dist/lib/merge-refs.js +21 -0
  82. package/dist/lib/shortcut.js +50 -0
  83. package/dist/lib/track-input-modality.d.ts +2 -0
  84. package/dist/lib/track-input-modality.js +4 -0
  85. package/dist/lib/tv.js +7 -0
  86. package/dist/lib/use-press.js +48 -0
  87. package/dist/lib/user-action.js +13 -0
  88. package/dist/loaders/arc.d.ts +6 -0
  89. package/dist/loaders/arc.js +31 -0
  90. package/dist/loaders/atom.d.ts +5 -0
  91. package/dist/loaders/atom.js +70 -0
  92. package/dist/loaders/blocks.d.ts +8 -0
  93. package/dist/loaders/blocks.js +74 -0
  94. package/dist/loaders/bouncing-dots.d.ts +3 -0
  95. package/dist/loaders/bouncing-dots.js +45 -0
  96. package/dist/loaders/cap.d.ts +6 -0
  97. package/dist/loaders/cap.js +7 -0
  98. package/dist/loaders/cascade.d.ts +5 -0
  99. package/dist/loaders/cascade.js +50 -0
  100. package/dist/loaders/circular-dots.d.ts +3 -0
  101. package/dist/loaders/circular-dots.js +40 -0
  102. package/dist/loaders/classic-v2.d.ts +3 -0
  103. package/dist/loaders/classic-v2.js +41 -0
  104. package/dist/loaders/classic.d.ts +3 -0
  105. package/dist/loaders/classic.js +48 -0
  106. package/dist/loaders/clock.d.ts +5 -0
  107. package/dist/loaders/clock.js +31 -0
  108. package/dist/loaders/comet.d.ts +5 -0
  109. package/dist/loaders/comet.js +52 -0
  110. package/dist/loaders/compass.d.ts +3 -0
  111. package/dist/loaders/compass.js +39 -0
  112. package/dist/loaders/dual.d.ts +6 -0
  113. package/dist/loaders/dual.js +47 -0
  114. package/dist/loaders/easing.d.ts +6 -0
  115. package/dist/loaders/easing.js +34 -0
  116. package/dist/loaders/eclipse.d.ts +3 -0
  117. package/dist/loaders/eclipse.js +69 -0
  118. package/dist/loaders/fade.js +28 -0
  119. package/dist/loaders/flip.d.ts +3 -0
  120. package/dist/loaders/flip.js +41 -0
  121. package/dist/{frame-CK9IBOZB.js → loaders/frame.js} +2 -50
  122. package/dist/loaders/gather.d.ts +3 -0
  123. package/dist/loaders/gather.js +85 -0
  124. package/dist/loaders/leap.d.ts +3 -0
  125. package/dist/loaders/leap.js +67 -0
  126. package/dist/loaders/linear-dots.d.ts +3 -0
  127. package/dist/loaders/linear-dots.js +54 -0
  128. package/dist/loaders/loading.d.ts +3 -0
  129. package/dist/loaders/loading.js +64 -0
  130. package/dist/loaders/morph.d.ts +3 -0
  131. package/dist/loaders/morph.js +40 -0
  132. package/dist/loaders/motion.d.ts +35 -0
  133. package/dist/loaders/motion.js +51 -0
  134. package/dist/loaders/orbit.d.ts +5 -0
  135. package/dist/loaders/orbit.js +44 -0
  136. package/dist/loaders/pulse.d.ts +3 -0
  137. package/dist/loaders/pulse.js +52 -0
  138. package/dist/loaders/radar.d.ts +5 -0
  139. package/dist/loaders/radar.js +64 -0
  140. package/dist/loaders/ring.d.ts +6 -0
  141. package/dist/loaders/ring.js +38 -0
  142. package/dist/loaders/ripple.d.ts +8 -0
  143. package/dist/loaders/ripple.js +57 -0
  144. package/dist/loaders/slide.d.ts +3 -0
  145. package/dist/loaders/slide.js +74 -0
  146. package/dist/loaders/snake.d.ts +6 -0
  147. package/dist/loaders/snake.js +59 -0
  148. package/dist/loaders/spinners.d.ts +61 -0
  149. package/dist/loaders/spinners.js +63 -0
  150. package/dist/loaders/swirl.d.ts +3 -0
  151. package/dist/loaders/swirl.js +50 -0
  152. package/dist/loaders/text/shared.js +25 -0
  153. package/dist/loaders/text/text-loaders.d.ts +48 -0
  154. package/dist/loaders/text/text-loaders.js +723 -0
  155. package/dist/loaders/trace.d.ts +6 -0
  156. package/dist/loaders/trace.js +46 -0
  157. package/dist/loaders/types.d.ts +10 -0
  158. package/dist/loaders/wave.d.ts +8 -0
  159. package/dist/loaders/wave.js +59 -0
  160. package/dist/loaders-text.d.ts +2 -47
  161. package/dist/loaders-text.js +1 -743
  162. package/dist/loaders.d.ts +36 -132
  163. package/dist/loaders.js +35 -1096
  164. package/dist/native-select/index.d.ts +3 -0
  165. package/dist/native-select/native-select.d.ts +9 -0
  166. package/dist/native-select/native-select.js +44 -0
  167. package/dist/pagination/index.d.ts +3 -0
  168. package/dist/pagination/pagination.d.ts +18 -0
  169. package/dist/pagination/pagination.js +134 -0
  170. package/dist/popover/index.d.ts +3 -0
  171. package/dist/popover/popover.d.ts +10 -0
  172. package/dist/popover/popover.js +54 -0
  173. package/dist/radio-group/index.d.ts +3 -0
  174. package/dist/radio-group/radio-group.d.ts +6 -0
  175. package/dist/radio-group/radio-group.js +33 -0
  176. package/dist/select/index.d.ts +3 -0
  177. package/dist/select/select.d.ts +16 -0
  178. package/dist/select/select.js +148 -0
  179. package/dist/separator/index.d.ts +3 -0
  180. package/dist/separator/separator.d.ts +4 -0
  181. package/dist/separator/separator.js +15 -0
  182. package/dist/skeleton/index.d.ts +3 -0
  183. package/dist/skeleton/skeleton.d.ts +10 -0
  184. package/dist/skeleton/skeleton.js +24 -0
  185. package/dist/slider/index.d.ts +3 -0
  186. package/dist/slider/slider.d.ts +4 -0
  187. package/dist/slider/slider.js +39 -0
  188. package/dist/sound/sound-map.d.ts +70 -0
  189. package/dist/sound/sound-map.js +72 -0
  190. package/dist/sound/sound.d.ts +38 -0
  191. package/dist/sound/sound.js +136 -0
  192. package/dist/sound/uisfx.d.ts +37 -0
  193. package/dist/sound/uisfx.js +59 -0
  194. package/dist/sound-uisfx.d.ts +2 -37
  195. package/dist/sound-uisfx.js +1 -58
  196. package/dist/spinner/index.d.ts +5 -0
  197. package/dist/spinner/loader-provider.d.ts +16 -0
  198. package/dist/spinner/loader-provider.js +28 -0
  199. package/dist/spinner/registry.d.ts +9 -0
  200. package/dist/spinner/registry.js +15 -0
  201. package/dist/spinner/spinner.d.ts +26 -0
  202. package/dist/spinner/spinner.js +143 -0
  203. package/dist/switch/index.d.ts +3 -0
  204. package/dist/switch/switch.d.ts +6 -0
  205. package/dist/switch/switch.js +25 -0
  206. package/dist/table/index.d.ts +3 -0
  207. package/dist/table/table.d.ts +17 -0
  208. package/dist/table/table.js +66 -0
  209. package/dist/tabs/index.d.ts +3 -0
  210. package/dist/tabs/tabs.d.ts +11 -0
  211. package/dist/tabs/tabs.js +46 -0
  212. package/dist/textarea/index.d.ts +3 -0
  213. package/dist/textarea/textarea.d.ts +4 -0
  214. package/dist/textarea/textarea.js +12 -0
  215. package/dist/toast/index.d.ts +3 -0
  216. package/dist/toast/toast.d.ts +17 -0
  217. package/dist/toast/toast.js +211 -0
  218. package/dist/toggle-group/index.d.ts +3 -0
  219. package/dist/toggle-group/toggle-group.d.ts +64 -0
  220. package/dist/toggle-group/toggle-group.js +95 -0
  221. package/dist/tokens/dist/motion.d.ts +24 -0
  222. package/dist/{motion-NQq2BA78.js → tokens/dist/motion.js} +1 -1
  223. package/dist/toolbar/index.d.ts +3 -0
  224. package/dist/toolbar/overflow.d.ts +4 -0
  225. package/dist/toolbar/overflow.js +242 -0
  226. package/dist/toolbar/toolbar-item.d.ts +29 -0
  227. package/dist/toolbar/toolbar-item.js +71 -0
  228. package/dist/toolbar/toolbar.d.ts +73 -0
  229. package/dist/toolbar/toolbar.js +250 -0
  230. package/dist/tooltip/index.d.ts +3 -0
  231. package/dist/tooltip/tooltip.d.ts +7 -0
  232. package/dist/tooltip/tooltip.js +41 -0
  233. package/package.json +4 -3
  234. package/dist/registry-2PyPW9Xw.js +0 -390
  235. package/dist/registry-DjfWNw3R.d.ts +0 -18
  236. package/dist/sound-DiYNAnR_.d.ts +0 -61
package/dist/index.d.ts CHANGED
@@ -1,675 +1,90 @@
1
1
 
2
- import { a as useSound, i as SoundProviderProps, n as SoundPlayer, r as SoundProvider, t as SoundCue } from "./sound-DiYNAnR_.js";
3
- import { i as LoaderSize, n as registerLoader, r as registerLoaders, t as LoaderComponent } from "./registry-DjfWNw3R.js";
4
- import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
5
- import { ClassValue } from "clsx";
6
- import { VariantProps } from "class-variance-authority";
7
- import * as React from "react";
8
- import { ComponentProps, ComponentPropsWithRef, ReactNode } from "react";
9
- import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
10
- import { Button as Button$1 } from "@base-ui/react/button";
11
- import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
12
- import { useRender } from "@base-ui/react/use-render";
13
- import { DayButton, DayPicker, Locale } from "react-day-picker";
14
- import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
15
- import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
16
- import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
17
- import { Command as Command$1 } from "cmdk";
18
- import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
19
- import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
20
- import { DirectionProvider } from "@base-ui/react/direction-provider";
21
- import { Drawer as Drawer$1 } from "@base-ui/react/drawer";
22
- import { Menu } from "@base-ui/react/menu";
23
- import { Separator as Separator$1 } from "@base-ui/react/separator";
24
- import { OTPInput } from "input-otp";
25
- import { Popover as Popover$1 } from "@base-ui/react/popover";
26
- import { Radio } from "@base-ui/react/radio";
27
- import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
28
- import { Select as Select$1 } from "@base-ui/react/select";
29
- import { Slider as Slider$1 } from "@base-ui/react/slider";
30
- import { Switch as Switch$1 } from "@base-ui/react/switch";
31
- import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
32
- import { Toast as Toast$1 } from "@base-ui/react/toast";
33
- import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
34
- import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
35
- import { Toggle } from "@base-ui/react/toggle";
36
- import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
37
- declare function Accordion({ className, ...props }: Accordion$1.Root.Props): import("react").JSX.Element;
38
- declare function AccordionItem({ className, ...props }: Accordion$1.Item.Props): import("react").JSX.Element;
39
- declare function AccordionTrigger({ className, children, ...props }: Accordion$1.Trigger.Props): import("react").JSX.Element;
40
- declare function AccordionContent({ className, children, ...props }: Accordion$1.Panel.Props): import("react").JSX.Element;
41
- declare const alertVariants: (props?: ({
42
- variant?: "default" | "destructive" | null | undefined;
43
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
44
- declare function Alert({ className, variant, announce, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants> & {
45
- /**
46
- * The error sound (feedback.error) when the Alert appears (#114). Left unset it's automatic: a
47
- * destructive Alert plays it when a person's action caused it (within the browser's transient
48
- * activation window), never on load. `true` always plays it, `false` never does.
49
- */
50
- announce?: boolean;
51
- }): React.JSX.Element;
52
- declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
53
- declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
54
- declare function AlertAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
55
- declare const buttonVariants: (props?: ({
56
- variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
57
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
58
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
59
- type LoadingPlacement = "auto" | "start" | "center";
60
- declare function Button({ className, variant, size, loading, loadingLabel, loadingPlacement, children, onClick, onPointerDown, onPointerUp, onPointerLeave, onPointerCancel, ...props }: Button$1.Props & VariantProps<typeof buttonVariants> & {
61
- /**
62
- * Shows the Arc spinner in place of the start icon and ignores presses, keeping focus and the
63
- * accessible name (`aria-busy`, `data-loading`; not `disabled`).
64
- */
65
- loading?: boolean | undefined;
66
- /** Announced through the spinner while loading. Default "Loading". */
67
- loadingLabel?: string | undefined;
68
- /**
69
- * Where the spinner goes while loading (#130). `start` takes the start icon's place, or sits
70
- * before the label and the button grows; `center` overlays it and keeps the content's space, so
71
- * the width never changes. `auto` (default): `start` with a start icon or on an icon size, else
72
- * `center`. The resolved value is set as `data-loading-placement`.
73
- */
74
- loadingPlacement?: LoadingPlacement | undefined;
75
- }): import("react").JSX.Element;
76
- declare function AlertDialog({ onOpenChange, ...props }: AlertDialog$1.Root.Props): React.JSX.Element;
77
- declare function AlertDialogTrigger({ ...props }: AlertDialog$1.Trigger.Props): React.JSX.Element;
78
- declare function AlertDialogPortal({ ...props }: AlertDialog$1.Portal.Props): React.JSX.Element;
79
- declare function AlertDialogOverlay({ className, ...props }: AlertDialog$1.Backdrop.Props): React.JSX.Element;
80
- declare function AlertDialogContent({ className, size, ...props }: AlertDialog$1.Popup.Props & {
81
- size?: "default" | "sm";
82
- }): React.JSX.Element;
83
- declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
84
- declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
85
- declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
86
- declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Title>): React.JSX.Element;
87
- declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialog$1.Description>): React.JSX.Element;
88
- declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof Button>): React.JSX.Element;
89
- declare function AlertDialogCancel({ className, variant, size, ...props }: AlertDialog$1.Close.Props & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): React.JSX.Element;
90
- declare function Avatar({ className, size, ...props }: Avatar$1.Root.Props & {
91
- size?: "default" | "sm" | "lg";
92
- }): React.JSX.Element;
93
- declare function AvatarImage({ className, ...props }: Avatar$1.Image.Props): React.JSX.Element;
94
- declare function AvatarFallback({ className, ...props }: Avatar$1.Fallback.Props): React.JSX.Element;
95
- declare function AvatarBadge({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
96
- declare function AvatarGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
97
- declare function AvatarGroupCount({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
98
- declare const badgeVariants: (props?: ({
99
- variant?: "default" | "destructive" | "link" | "secondary" | "outline" | "ghost" | null | undefined;
100
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
101
- declare function Badge({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof badgeVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
102
- declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
103
- buttonVariant?: React.ComponentProps<typeof Button>["variant"];
104
- }): React.JSX.Element;
105
- declare function CalendarDayButton({ className, day, modifiers, locale, onClick, "aria-label": label, ...props }: React.ComponentProps<typeof DayButton> & {
106
- locale?: Partial<Locale>;
107
- }): React.JSX.Element;
108
- declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
109
- size?: "default" | "sm";
110
- }): React.JSX.Element;
111
- declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
112
- declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
113
- declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
114
- declare function CardAction({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
115
- declare function CardContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
116
- declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
117
- declare function Checkbox({ className, onCheckedChange, ...props }: Checkbox$1.Root.Props): import("react").JSX.Element;
118
- declare function Collapsible({ ...props }: Collapsible$1.Root.Props): import("react").JSX.Element;
119
- declare function CollapsibleTrigger({ ...props }: Collapsible$1.Trigger.Props): import("react").JSX.Element;
120
- declare function CollapsibleContent({ ...props }: Collapsible$1.Panel.Props): import("react").JSX.Element;
121
- declare function Combobox<Value, Multiple extends boolean | undefined = false, Item = Value>({ onValueChange, ...props }: Combobox$1.Root.Props<Value, Multiple, Item>): React.JSX.Element;
122
- declare function ComboboxValue({ ...props }: Combobox$1.Value.Props): React.JSX.Element;
123
- declare function ComboboxTrigger({ className, children, ...props }: Combobox$1.Trigger.Props): React.JSX.Element;
124
- declare function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: Combobox$1.Input.Props & {
125
- showTrigger?: boolean;
126
- showClear?: boolean;
127
- }): React.JSX.Element;
128
- declare function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): React.JSX.Element;
129
- declare function ComboboxList({ className, ...props }: Combobox$1.List.Props): React.JSX.Element;
130
- declare function ComboboxItem({ className, children, ...props }: Combobox$1.Item.Props): React.JSX.Element;
131
- declare function ComboboxGroup({ className, ...props }: Combobox$1.Group.Props): React.JSX.Element;
132
- declare function ComboboxLabel({ className, ...props }: Combobox$1.GroupLabel.Props): React.JSX.Element;
133
- declare function ComboboxCollection({ ...props }: Combobox$1.Collection.Props): React.JSX.Element;
134
- declare function ComboboxEmpty({ className, ...props }: Combobox$1.Empty.Props): React.JSX.Element;
135
- declare function ComboboxSeparator({ className, ...props }: Combobox$1.Separator.Props): React.JSX.Element;
136
- declare function ComboboxChips({ className, ...props }: React.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props): React.JSX.Element;
137
- declare function ComboboxChip({ className, children, showRemove, removeLabel, ...props }: Combobox$1.Chip.Props & {
138
- showRemove?: boolean;
139
- /** Nsaa (#92, Proposed): the remove button's accessible name. */
140
- removeLabel?: string;
141
- }): React.JSX.Element;
142
- declare function ComboboxChipsInput({ className, ...props }: Combobox$1.Input.Props): React.JSX.Element;
143
- declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
144
- declare function Dialog({ onOpenChange, ...props }: Dialog$1.Root.Props): React.JSX.Element;
145
- declare function DialogTrigger({ ...props }: Dialog$1.Trigger.Props): React.JSX.Element;
146
- declare function DialogPortal({ ...props }: Dialog$1.Portal.Props): React.JSX.Element;
147
- declare function DialogClose({ ...props }: Dialog$1.Close.Props): React.JSX.Element;
148
- declare function DialogOverlay({ className, ...props }: Dialog$1.Backdrop.Props): React.JSX.Element;
149
- declare function DialogContent({ className, children, showCloseButton, ...props }: Dialog$1.Popup.Props & {
150
- showCloseButton?: boolean;
151
- }): React.JSX.Element;
152
- declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
153
- declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
154
- showCloseButton?: boolean;
155
- }): React.JSX.Element;
156
- declare function DialogTitle({ className, ...props }: Dialog$1.Title.Props): React.JSX.Element;
157
- declare function DialogDescription({ className, ...props }: Dialog$1.Description.Props): React.JSX.Element;
158
- declare function Command({ className, ...props }: React.ComponentProps<typeof Command$1>): React.JSX.Element;
159
- declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React.ComponentProps<typeof Dialog>, "children"> & {
160
- title?: string;
161
- description?: string;
162
- className?: string;
163
- showCloseButton?: boolean;
164
- children: React.ReactNode;
165
- }): React.JSX.Element;
166
- declare function CommandInput({ className, ...props }: React.ComponentProps<typeof Command$1.Input>): React.JSX.Element;
167
- declare function CommandList({ className, ...props }: React.ComponentProps<typeof Command$1.List>): React.JSX.Element;
168
- declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof Command$1.Empty>): React.JSX.Element;
169
- declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof Command$1.Group>): React.JSX.Element;
170
- declare function CommandSeparator({ className, alwaysRender, ...props }: React.ComponentProps<typeof Command$1.Separator>): React.JSX.Element | null;
171
- declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof Command$1.Item>): React.JSX.Element;
172
- declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
173
- declare function ContextMenu({ ...props }: ContextMenu$1.Root.Props): React.JSX.Element;
174
- declare function ContextMenuPortal({ ...props }: ContextMenu$1.Portal.Props): React.JSX.Element;
175
- declare function ContextMenuTrigger({ className, ...props }: ContextMenu$1.Trigger.Props): React.JSX.Element;
176
- declare function ContextMenuContent({ className, align, alignOffset, side, sideOffset, ...props }: ContextMenu$1.Popup.Props & Pick<ContextMenu$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React.JSX.Element;
177
- declare function ContextMenuGroup({ ...props }: ContextMenu$1.Group.Props): React.JSX.Element;
178
- declare function ContextMenuLabel({ className, inset, ...props }: ContextMenu$1.GroupLabel.Props & {
179
- inset?: boolean;
180
- }): React.JSX.Element;
181
- declare function ContextMenuItem({ className, inset, variant, ...props }: ContextMenu$1.Item.Props & {
182
- inset?: boolean;
183
- variant?: "default" | "destructive";
184
- }): React.JSX.Element;
185
- declare function ContextMenuSub({ ...props }: ContextMenu$1.SubmenuRoot.Props): React.JSX.Element;
186
- declare function ContextMenuSubTrigger({ className, inset, children, ...props }: ContextMenu$1.SubmenuTrigger.Props & {
187
- inset?: boolean;
188
- }): React.JSX.Element;
189
- declare function ContextMenuSubContent({ ...props }: React.ComponentProps<typeof ContextMenuContent>): React.JSX.Element;
190
- declare function ContextMenuCheckboxItem({ className, children, checked, inset, onCheckedChange, ...props }: ContextMenu$1.CheckboxItem.Props & {
191
- inset?: boolean;
192
- }): React.JSX.Element;
193
- declare function ContextMenuRadioGroup({ onValueChange, ...props }: ContextMenu$1.RadioGroup.Props): React.JSX.Element;
194
- declare function ContextMenuRadioItem({ className, children, inset, ...props }: ContextMenu$1.RadioItem.Props & {
195
- inset?: boolean;
196
- }): React.JSX.Element;
197
- declare function ContextMenuSeparator({ className, ...props }: ContextMenu$1.Separator.Props): React.JSX.Element;
198
- declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
199
- declare function Drawer({ modal, showSwipeHandle, snapPoints, swipeDirection, onOpenChange, onSnapPointChange, ...props }: Drawer$1.Root.Props & {
200
- showSwipeHandle?: boolean;
201
- }): React.JSX.Element;
202
- declare function DrawerTrigger({ ...props }: Drawer$1.Trigger.Props): React.JSX.Element;
203
- declare function DrawerPortal({ ...props }: Drawer$1.Portal.Props): React.JSX.Element;
204
- declare function DrawerClose({ ...props }: Drawer$1.Close.Props): React.JSX.Element;
205
- declare function DrawerOverlay({ className, ...props }: Drawer$1.Backdrop.Props): React.JSX.Element;
206
- declare function DrawerSwipeHandle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
207
- declare function DrawerContent({ className, children, ...props }: Drawer$1.Popup.Props): React.JSX.Element;
208
- declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
209
- declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
210
- declare function DrawerTitle({ className, ...props }: Drawer$1.Title.Props): React.JSX.Element;
211
- declare function DrawerDescription({ className, ...props }: Drawer$1.Description.Props): React.JSX.Element;
212
- declare function DropdownMenu({ ...props }: Menu.Root.Props): React.JSX.Element;
213
- declare function DropdownMenuPortal({ ...props }: Menu.Portal.Props): React.JSX.Element;
214
- declare function DropdownMenuTrigger({ ...props }: Menu.Trigger.Props): React.JSX.Element;
215
- declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: Menu.Popup.Props & Pick<Menu.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React.JSX.Element;
216
- declare function DropdownMenuGroup({ ...props }: Menu.Group.Props): React.JSX.Element;
217
- declare function DropdownMenuLabel({ className, inset, ...props }: Menu.GroupLabel.Props & {
218
- inset?: boolean;
219
- }): React.JSX.Element;
220
- declare function DropdownMenuItem({ className, inset, variant, ...props }: Menu.Item.Props & {
221
- inset?: boolean;
222
- variant?: "default" | "destructive";
223
- }): React.JSX.Element;
224
- declare function DropdownMenuSub({ ...props }: Menu.SubmenuRoot.Props): React.JSX.Element;
225
- declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: Menu.SubmenuTrigger.Props & {
226
- inset?: boolean;
227
- }): React.JSX.Element;
228
- declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): React.JSX.Element;
229
- declare function DropdownMenuCheckboxItem({ className, children, checked, inset, onCheckedChange, ...props }: Menu.CheckboxItem.Props & {
230
- inset?: boolean;
231
- }): React.JSX.Element;
232
- declare function DropdownMenuRadioGroup({ onValueChange, ...props }: Menu.RadioGroup.Props): React.JSX.Element;
233
- declare function DropdownMenuRadioItem({ className, children, inset, ...props }: Menu.RadioItem.Props & {
234
- inset?: boolean;
235
- }): React.JSX.Element;
236
- declare function DropdownMenuSeparator({ className, ...props }: Menu.Separator.Props): React.JSX.Element;
237
- declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
238
- declare function Empty({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
239
- declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
240
- declare const emptyMediaVariants: (props?: ({
241
- variant?: "default" | "icon" | "illustration" | null | undefined;
242
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
243
- interface EmptyIllustrationOptions {
244
- /** Outlined lines, or light tints on the faces (`il--filled`). */
245
- appearance: "outlined" | "filled";
246
- /** The line ramp from the ink, or from the brand (`il--brand`). The active object is always brand. */
247
- lines: "ink" | "brand";
248
- /** Soft tiles behind the piece: isometric (`il--floor`) or square (`il--grid`). */
249
- backdrop: "none" | "floor" | "grid";
250
- /** Which drawing of the piece to show (#118). */
251
- projection: "isometric" | "flat";
252
- }
253
- /**
254
- * The options of the `EmptyMedia variant="illustration"` around an illustration, or null outside
255
- * one. Illustration components (`@nsaa/illustrations`) read it to pick their projection; the
256
- * variant classes sit on the media itself (#125).
257
- */
258
- declare function useEmptyIllustration(): EmptyIllustrationOptions | null;
259
- type EmptyMediaProps = React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants> & {
260
- /** illustration only: 120 / 168 / 240 px. */
261
- size?: "sm" | "md" | "lg";
262
- } & Partial<EmptyIllustrationOptions>;
263
- declare function EmptyMedia({ className, variant, size, appearance, lines, backdrop, projection, children, ...props }: EmptyMediaProps): React.JSX.Element;
264
- /** A div by default (base-nova); `render={<h2 />}` when the title heads a region. */
265
- declare function EmptyTitle({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
266
- declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
267
- declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
268
- declare function Label({ className, ...props }: React.ComponentProps<"label">): React.JSX.Element;
269
- declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): React.JSX.Element;
270
- declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
271
- variant?: "legend" | "label";
272
- }): React.JSX.Element;
273
- declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
274
- declare const fieldVariants: (props?: ({
275
- orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
276
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
277
- declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): React.JSX.Element;
278
- declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
279
- declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): React.JSX.Element;
280
- declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
281
- declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
282
- declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
283
- children?: React.ReactNode;
284
- }): React.JSX.Element;
285
- declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
286
- errors?: Array<{
287
- message?: string;
288
- } | undefined>;
289
- }): React.JSX.Element | null;
290
- declare function Input({ className, type, ...props }: React.ComponentProps<"input">): React.JSX.Element;
291
- declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
292
- declare const inputGroupAddonVariants: (props?: ({
293
- align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
294
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
295
- declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): React.JSX.Element;
296
- declare const inputGroupButtonVariants: (props?: ({
297
- size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
298
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
299
- declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size" | "type"> & VariantProps<typeof inputGroupButtonVariants> & {
300
- type?: "button" | "submit" | "reset";
301
- }): React.JSX.Element;
302
- declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
303
- declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): React.JSX.Element;
304
- declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): React.JSX.Element;
305
- declare function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & {
306
- containerClassName?: string;
307
- }): React.JSX.Element;
308
- declare function InputOTPGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
309
- declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<"div"> & {
310
- index: number;
311
- }): React.JSX.Element;
312
- declare function InputOTPSeparator({ ...props }: React.ComponentProps<"div">): React.JSX.Element;
313
- declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): React.JSX.Element;
314
- declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
315
- export declare function cn(...inputs: ClassValue[]): string;
316
- interface IconSwapProps {
317
- /** Changes when the shown icon changes; the old one cross-fades out on `spring.icon`. */
318
- contentKey: string;
319
- /** Classes for the stack, which sets the size (e.g. `size-4`). */
320
- className?: string | undefined;
321
- children: ReactNode;
322
- }
323
- /**
324
- * Cross-fades icons in one cell: scale 0.25 → 1, opacity, blur 4 → 0 on `spring.icon`. Instant
325
- * after a key press (input modality, #71 (3)); an opacity fade only under reduced motion (the OS,
326
- * a MotionConfig or `<html data-motion>`). Nothing animates on mount.
327
- */
328
- export declare function IconSwap({ contentKey, className, children }: IconSwapProps): import("react").JSX.Element;
329
- type NativeSelectProps = Omit<React.ComponentProps<"select">, "size"> & {
330
- size?: "sm" | "default";
331
- };
332
- declare function NativeSelect({ className, size, ...props }: NativeSelectProps): React.JSX.Element;
333
- declare function NativeSelectOption({ className, ...props }: React.ComponentProps<"option">): React.JSX.Element;
334
- declare function NativeSelectOptGroup({ className, ...props }: React.ComponentProps<"optgroup">): React.JSX.Element;
335
- declare function Pagination({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
336
- declare function PaginationContent({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
337
- declare function PaginationItem({ ...props }: React.ComponentProps<"li">): React.JSX.Element;
338
- type PaginationLinkProps = {
339
- isActive?: boolean;
340
- } & Pick<React.ComponentProps<typeof Button>, "size"> & React.ComponentProps<"a">;
341
- declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): React.JSX.Element;
342
- declare function PaginationPrevious({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
343
- text?: string;
344
- }): React.JSX.Element;
345
- declare function PaginationNext({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
346
- text?: string;
347
- }): React.JSX.Element;
348
- declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
349
- declare function Popover({ ...props }: Popover$1.Root.Props): React.JSX.Element;
350
- declare function PopoverTrigger({ ...props }: Popover$1.Trigger.Props): React.JSX.Element;
351
- declare function PopoverContent({ className, align, alignOffset, side, sideOffset, ...props }: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): React.JSX.Element;
352
- declare function PopoverHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
353
- declare function PopoverTitle({ className, ...props }: Popover$1.Title.Props): React.JSX.Element;
354
- declare function PopoverDescription({ className, ...props }: Popover$1.Description.Props): React.JSX.Element;
355
- declare function RadioGroup({ className, onValueChange, ...props }: RadioGroup$1.Props): import("react").JSX.Element;
356
- declare function RadioGroupItem({ className, ...props }: Radio.Root.Props): import("react").JSX.Element;
357
- declare function Select<Value, Multiple extends boolean | undefined = false>({ onValueChange, ...props }: Select$1.Root.Props<Value, Multiple>): React.JSX.Element;
358
- declare function SelectGroup({ className, ...props }: Select$1.Group.Props): React.JSX.Element;
359
- declare function SelectValue({ className, ...props }: Select$1.Value.Props): React.JSX.Element;
360
- declare function SelectTrigger({ className, size, children, ...props }: Select$1.Trigger.Props & {
361
- size?: "sm" | "default";
362
- }): React.JSX.Element;
363
- declare function SelectContent({ className, children, side, sideOffset, align, alignOffset, alignItemWithTrigger, ...props }: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): React.JSX.Element;
364
- declare function SelectLabel({ className, ...props }: Select$1.GroupLabel.Props): React.JSX.Element;
365
- declare function SelectItem({ className, children, ...props }: Select$1.Item.Props): React.JSX.Element;
366
- declare function SelectSeparator({ className, ...props }: Select$1.Separator.Props): React.JSX.Element;
367
- declare function SelectScrollUpButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollUpArrow>): React.JSX.Element;
368
- declare function SelectScrollDownButton({ className, ...props }: React.ComponentProps<typeof Select$1.ScrollDownArrow>): React.JSX.Element;
369
- declare function Separator({ className, orientation, ...props }: Separator$1.Props): import("react").JSX.Element;
370
- declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
371
- /**
372
- * What replaces a Skeleton once it loads (#128): it fades in over duration.fast (opacity only;
373
- * feel.css), instantly under reduced motion or after keyboard input. Render it in the Skeleton's
374
- * place: `{loading ? <Skeleton className="h-4 w-40" /> : <SkeletonContent>…</SkeletonContent>}`.
375
- */
376
- declare function SkeletonContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
377
- declare function Slider({ className, defaultValue, value, min, max, onValueCommitted, ...props }: Slider$1.Root.Props): import("react").JSX.Element;
378
- /**
379
- * The one table of interface sounds: component × event → cue (feel layer, §4). Components play
380
- * from here, so the map is reviewable in one place. Surfaces that aren't listed (Popover, Tooltip,
381
- * Command, menu open and close, Select open, Tabs, Accordion, Collapsible, inputs) are silent: opening a light surface isn't a commit,
382
- * and the palette is a 100+/day tool. Nothing plays on hover, load or typing.
383
- */
384
- export declare const SOUND_MAP: {
385
- readonly button: {
386
- readonly press: "input.press";
387
- };
388
- readonly checkbox: {
389
- readonly on: "input.toggle-on";
390
- readonly off: "input.toggle-off";
391
- };
392
- readonly "radio-group": {
393
- readonly change: "selection.select";
394
- };
395
- readonly switch: {
396
- readonly on: "input.toggle-on";
397
- readonly off: "input.toggle-off";
398
- };
399
- readonly slider: {
400
- readonly commit: "movement.snap";
401
- };
402
- readonly "input-otp": {
403
- readonly invalid: "feedback.error";
404
- };
405
- readonly alert: {
406
- readonly destructive: "feedback.error";
407
- };
408
- readonly dialog: {
409
- readonly open: "navigation.open";
410
- readonly close: "navigation.close";
411
- };
412
- readonly "alert-dialog": {
413
- readonly open: "navigation.open";
414
- readonly close: "navigation.close";
415
- };
416
- readonly drawer: {
417
- readonly open: "navigation.open";
418
- readonly close: "navigation.close";
419
- readonly snap: "movement.snap";
420
- };
421
- readonly select: {
422
- readonly choose: "selection.select";
423
- };
424
- readonly calendar: {
425
- readonly select: "selection.select";
426
- };
427
- readonly combobox: {
428
- readonly choose: "selection.select";
429
- readonly clear: "input.press";
430
- readonly "chip-remove": "input.press";
431
- };
432
- readonly "dropdown-menu": {
433
- readonly check: "selection.select";
434
- };
435
- readonly "context-menu": {
436
- readonly check: "selection.select";
437
- };
438
- readonly toast: {
439
- readonly success: "feedback.success";
440
- readonly warning: "feedback.warning";
441
- readonly error: "feedback.error";
442
- };
443
- };
444
- type SoundComponent = keyof typeof SOUND_MAP;
445
- interface LoaderProviderProps {
446
- children: ReactNode;
447
- /** Pauses every loader inside (sets `data-loader-paused`, which the play state follows). */
448
- paused?: boolean | undefined;
449
- /** One speed for every loader inside, in ms. */
450
- duration?: number | undefined;
451
- /** Default Spinner label (e.g. a translation of "Loading"). */
452
- label?: string | undefined;
453
- }
454
- /**
455
- * Cascades the loader play state and speed to a region (`display: contents`, so it adds no box) and
456
- * gives its Spinners a default label.
457
- */
458
- export declare function LoaderProvider({ children, paused, duration, label }: LoaderProviderProps): import("react").JSX.Element;
459
- type SpinnerVariant = "arc" | "ring" | "classic" | "circular-dots" | "bouncing-dots" | "pulse" | "orbit" | "wave" | "lucide" | (string & {});
460
- interface SpinnerProps extends Omit<React.ComponentProps<"span">, "children"> {
461
- /** A registered loader name (the featured 8 built in, more via registerLoader) or "lucide". */
462
- variant?: SpinnerVariant | undefined;
463
- /** A token size (xs 12, sm 14, md 16, lg 20, xl 24) or pixels. */
464
- size?: LoaderSize | number | undefined;
465
- /** Announced, and shown as text under reduced motion. Default: the LoaderProvider's, else "Loading". */
466
- label?: string | undefined;
467
- /** Wait before showing, ms (loader.delay, 150; 0 inside a control). */
468
- delay?: number | undefined;
469
- /** Once shown, stay at least this long after `loading` turns false, ms (loader.min-display, 500). */
470
- minDisplay?: number | undefined;
471
- /** Turn false to hide it, honouring `minDisplay` (unmounting it hides it at once). Default true. */
472
- loading?: boolean | undefined;
473
- /** One turn, ms. Default: the loader's token. */
474
- duration?: number | undefined;
475
- /** Hold the animation. Offscreen and hidden-tab spinners pause on their own. */
476
- paused?: boolean | undefined;
477
- /** Play `progress.loop` while shown; it stops when the Spinner hides or unmounts. Default false. */
478
- sound?: boolean | undefined;
479
- }
480
- declare function Spinner({ variant, size, label, delay: delayProp, minDisplay, loading, duration, paused, sound, className, style, ...props }: SpinnerProps): React.JSX.Element | null;
481
- declare function Switch({ className, size, onCheckedChange, ...props }: Switch$1.Root.Props & {
482
- size?: "sm" | "default";
483
- }): import("react").JSX.Element;
484
- declare function Table({ className, containerProps, ...props }: React.ComponentProps<"table"> & {
485
- /**
486
- * Props for the scrolling container (Nsaa, #123). A table wider than its box scrolls inside it,
487
- * so give it `tabIndex={0}`, `role="region"` and an `aria-label` to make it reachable by keyboard.
488
- */
489
- containerProps?: React.ComponentProps<"div">;
490
- }): React.JSX.Element;
491
- declare function TableHeader({ className, ...props }: React.ComponentProps<"thead">): React.JSX.Element;
492
- declare function TableBody({ className, ...props }: React.ComponentProps<"tbody">): React.JSX.Element;
493
- declare function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">): React.JSX.Element;
494
- declare function TableRow({ className, ...props }: React.ComponentProps<"tr">): React.JSX.Element;
495
- declare function TableHead({ className, ...props }: React.ComponentProps<"th">): React.JSX.Element;
496
- declare function TableCell({ className, ...props }: React.ComponentProps<"td">): React.JSX.Element;
497
- declare function TableCaption({ className, ...props }: React.ComponentProps<"caption">): React.JSX.Element;
498
- declare function Tabs({ className, orientation, ...props }: Tabs$1.Root.Props): import("react").JSX.Element;
499
- declare const tabsListVariants: (props?: ({
500
- variant?: "default" | "line" | null | undefined;
501
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
502
- declare function TabsList({ className, variant, ...props }: Tabs$1.List.Props & VariantProps<typeof tabsListVariants>): import("react").JSX.Element;
503
- declare function TabsTrigger({ className, ...props }: Tabs$1.Tab.Props): import("react").JSX.Element;
504
- declare function TabsContent({ className, ...props }: Tabs$1.Panel.Props): import("react").JSX.Element;
505
- declare function Textarea({ className, ...props }: React.ComponentProps<"textarea">): React.JSX.Element;
506
- declare const toast: import("@base-ui/react").ToastManager<any>;
507
- declare function ToastProvider({ ...props }: Toast$1.Provider.Props): React.JSX.Element;
508
- declare function ToastPortal({ ...props }: Toast$1.Portal.Props): React.JSX.Element;
509
- declare function ToastViewport({ className, ...props }: Toast$1.Viewport.Props): React.JSX.Element;
510
- declare function Toast({ className, ...props }: Toast$1.Root.Props): React.JSX.Element;
511
- declare function ToastContent({ className, ...props }: Toast$1.Content.Props): React.JSX.Element;
512
- declare function ToastTitle({ className, ...props }: Toast$1.Title.Props): React.JSX.Element;
513
- declare function ToastDescription({ className, ...props }: Toast$1.Description.Props): React.JSX.Element;
514
- declare function ToastAction({ className, render, ...props }: Toast$1.Action.Props): React.JSX.Element;
515
- declare function ToastClose({ className, children, render, ...props }: Toast$1.Close.Props): React.JSX.Element;
516
- declare function Toaster({ children, toastManager, ...props }: Toast$1.Provider.Props): React.JSX.Element;
517
- declare const createToastManager: typeof Toast$1.createToastManager;
518
- declare const useToastManager: typeof Toast$1.useToastManager;
519
- /** `"never"` keeps an item visible; higher numbers collapse into the More menu first. */
520
- type OverflowPriority = number | "never";
521
- type ToolbarItemSize = "xs" | "sm" | "md" | "lg";
522
- /** `left` / `right` are logical: they follow the reading direction, so they mirror in RTL. */
523
- type ToolbarTooltipSide = "top" | "bottom" | "left" | "right";
524
- interface ToolbarItemTooltip {
525
- /** Defaults to the `aria-label`. */
526
- content?: ReactNode;
527
- /** Display-only shortcut, e.g. `"mod+B"`. */
528
- shortcut?: string | undefined;
529
- side?: ToolbarTooltipSide | undefined;
530
- }
531
- type PressedChangeDetails = Parameters<NonNullable<ComponentPropsWithRef<typeof Toggle>["onPressedChange"]>>[1];
532
- interface ToolbarItemProps extends Omit<ComponentPropsWithRef<"button">, "children" | "value" | "color"> {
533
- /** Icon-only when there are no children; then `aria-label` is required. */
534
- icon?: ReactNode;
535
- children?: ReactNode;
536
- /** Controlled toggle state (`aria-pressed`). */
537
- pressed?: boolean | undefined;
538
- /** Called when the toggle is pressed or released; makes the item a toggle. */
539
- onPressedChange?: ((pressed: boolean, details: PressedChangeDetails) => void) | undefined;
540
- /** Makes it a ToggleGroup item (Base UI `Toggle` reads the group's state). */
541
- value?: string | undefined;
542
- /** On by default for icon-only items (shows the `aria-label`); off for text items. */
543
- tooltip?: boolean | ToolbarItemTooltip | undefined;
544
- /** Defaults to the Toolbar's or ToggleGroup's size. */
545
- size?: ToolbarItemSize | undefined;
546
- }
547
- type ToggleGroupSize = "xs" | "sm" | "md" | "lg";
548
- type ToggleGroupVariant = "ghost" | "outline";
549
- interface BaseProps extends Omit<ComponentProps<typeof ToggleGroup$1>, "value" | "defaultValue" | "onValueChange" | "multiple"> {
550
- /** Names the group for screen readers. */
551
- "aria-label": string;
552
- /** `outline`: items joined in one bordered track. */
553
- variant?: ToggleGroupVariant | undefined;
554
- /** Inherits the Toolbar's size inside one; `md` otherwise. */
555
- size?: ToggleGroupSize | undefined;
556
- /**
557
- * Inside an `overflow="menu"` Toolbar the group moves into the More menu as one unit: radio
558
- * items (single) or checkbox items (multiple), so its state survives. `"never"` keeps it.
559
- */
560
- overflowPriority?: OverflowPriority | undefined;
561
- }
562
- interface ToggleGroupSingleProps extends BaseProps {
563
- /** `"single"` (default): one item on at a time; `"multiple"`: any number. */
564
- type?: "single" | undefined;
565
- /** Single: the pressed item's value, or `null` for none. Controlled. */
566
- value?: string | null | undefined;
567
- /** Single: the item pressed at first (uncontrolled). */
568
- defaultValue?: string | null | undefined;
569
- /** Single: called with the new value, `null` when the last item is switched off. */
570
- onValueChange?: ((value: string | null) => void) | undefined;
571
- /** The pressed item can't be switched off (alignment, view switchers). */
572
- required?: boolean | undefined;
573
- }
574
- interface ToggleGroupMultipleProps extends BaseProps {
575
- /** `"single"` (default): one item on at a time; `"multiple"`: any number. */
576
- type: "multiple";
577
- /** Multiple: the pressed items' values. Controlled. */
578
- value?: string[] | undefined;
579
- /** Multiple: the items pressed at first (uncontrolled). */
580
- defaultValue?: string[] | undefined;
581
- /** Multiple: called with the new array of pressed values. */
582
- onValueChange?: ((value: string[]) => void) | undefined;
583
- required?: never;
584
- }
585
- type ToggleGroupProps = ToggleGroupSingleProps | ToggleGroupMultipleProps;
586
- /**
587
- * A set of toggles where one (`type="single"`) or several (`"multiple"`) can be on, on Base UI
588
- * `ToggleGroup`. Inside a `Toolbar` its items join the toolbar's arrow-key navigation.
589
- */
590
- export declare function ToggleGroup(props: ToggleGroupProps): import("react").JSX.Element | null;
591
- export declare namespace ToggleGroup {
592
- var Item: typeof ToggleGroupItem;
593
- }
594
- interface ToggleGroupItemProps extends Omit<ToolbarItemProps, "value" | "pressed" | "onPressedChange"> {
595
- /** Identifies the item in the group's value. Required. */
596
- value: string;
597
- /** Display-only shortcut, shown in the tooltip. */
598
- shortcut?: string | undefined;
599
- }
600
- /**
601
- * One toggle in a `ToggleGroup`: a ghost Button (#84), icon-only (with a tooltip) when it has
602
- * only an `icon`, a text toggle otherwise. A shortcut shows in the tooltip for both.
603
- */
604
- declare function ToggleGroupItem({ shortcut, tooltip, ...rest }: ToggleGroupItemProps): import("react").JSX.Element;
605
- type ToolbarSize = "xs" | "sm" | "md" | "lg";
606
- interface ToolbarProps extends Omit<ComponentProps<typeof Toolbar$1.Root>, "className"> {
607
- /** Names the toolbar for screen readers. */
608
- "aria-label": string;
609
- /** Passed to every item. Default `sm`. */
610
- size?: ToolbarSize | undefined;
611
- /** `floating`: a raised surface for selection and bubble toolbars. */
612
- surface?: "none" | "floating" | undefined;
613
- /**
614
- * What happens when items don't fit. `menu` (default): items move, highest `overflowPriority`
615
- * first, into a trailing More menu (horizontal toolbars). `scroll`: one row that scrolls
616
- * sideways with edge fades. `none`: items wrap.
617
- */
618
- overflow?: "menu" | "scroll" | "none" | undefined;
619
- /** Accessible name of the More button. Default "More". */
620
- overflowLabel?: string | undefined;
621
- /** Play sounds for the items (toolbars are silent by default). */
622
- sound?: boolean | undefined;
623
- /** Classes for the toolbar root. */
624
- className?: string | undefined;
625
- children?: ReactNode;
626
- }
627
- /**
628
- * Groups related controls behind one Tab stop, with arrow keys, Home and End moving between items
629
- * (Base UI `Toolbar`). Items get the toolbar's size, swap icons instantly, change colour without
630
- * transitions and stay silent unless `sound` is set: a toolbar is high-frequency.
631
- */
632
- declare function ToolbarRoot({ size, surface, overflow, overflowLabel, sound, orientation, className, children, onKeyDown, ref, ...props }: ToolbarProps): import("react").JSX.Element;
633
- interface OverflowProps {
634
- /** `"never"` keeps the item visible; higher numbers move into the More menu first. Default 0. */
635
- overflowPriority?: OverflowPriority | undefined;
636
- }
637
- type ToolbarButtonProps = OverflowProps & ToolbarItemProps;
638
- /**
639
- * A ghost Button (#84): icon-only (with a tooltip) when it has only an `icon`, labelled otherwise;
640
- * a toggle with `pressed`. Disabled items stay focusable so people can discover them.
641
- */
642
- declare function ToolbarButton({ disabled, overflowPriority, ...props }: ToolbarButtonProps): import("react").JSX.Element | null;
643
- interface ToolbarLinkProps extends ComponentProps<typeof Toolbar$1.Link>, OverflowProps {
644
- className?: string | undefined;
645
- }
646
- /** A link styled like a ghost toolbar item. */
647
- declare function ToolbarLink({ className, overflowPriority, ...props }: ToolbarLinkProps): import("react").JSX.Element | null;
648
- interface ToolbarGroupProps extends ComponentProps<typeof Toolbar$1.Group> {
649
- /** Names the cluster (`role="group"`). */
650
- "aria-label"?: string | undefined;
651
- className?: string | undefined;
652
- }
653
- /** A labelled cluster of items. */
654
- declare function ToolbarGroup({ className, ...props }: ToolbarGroupProps): import("react").JSX.Element;
655
- /** 1 px `border-default`, 60% of the item height, perpendicular to the toolbar. */
656
- declare function ToolbarSeparator({ className, ...props }: ComponentProps<typeof Toolbar$1.Separator>): import("react").JSX.Element | null;
657
- type ToolbarInputProps = ComponentProps<typeof Input>;
658
- /**
659
- * A text input in the toolbar (search, find, a URL). At most one, placed last: arrow keys move
660
- * the caret inside it (Base UI). The base-nova Input (#84) without its resting border; never
661
- * collapses.
662
- */
663
- declare function ToolbarInput({ className, ...props }: ToolbarInputProps): import("react").JSX.Element;
664
- export declare const Toolbar: typeof ToolbarRoot & {
665
- Button: typeof ToolbarButton;
666
- Input: typeof ToolbarInput;
667
- Link: typeof ToolbarLink;
668
- Group: typeof ToolbarGroup;
669
- Separator: typeof ToolbarSeparator;
670
- };
671
- declare function TooltipProvider({ delay, ...props }: Tooltip$1.Provider.Props): import("react").JSX.Element;
672
- declare function Tooltip({ ...props }: Tooltip$1.Root.Props): import("react").JSX.Element;
673
- declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): import("react").JSX.Element;
674
- declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react").JSX.Element;
675
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, type EmptyIllustrationOptions, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type IconSwapProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, type LoaderComponent, type LoaderProviderProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonContent, Slider, type SoundComponent, type SoundCue, type SoundPlayer, SoundProvider, type SoundProviderProps, Spinner, type SpinnerProps, type SpinnerVariant, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleGroupSize, type ToggleGroupVariant, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarInputProps, type ToolbarLinkProps, type ToolbarProps, type ToolbarSize, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, createToastManager, registerLoader, registerLoaders, tabsListVariants, toast, useComboboxAnchor, useEmptyIllustration, useSound, useToastManager };
2
+ import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./accordion/accordion.js";
3
+ import "./accordion/index.js";
4
+ import { Alert, AlertAction, AlertDescription, AlertTitle } from "./alert/alert.js";
5
+ import "./alert/index.js";
6
+ import { Button, buttonVariants } from "./button/button.js";
7
+ import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger } from "./alert-dialog/alert-dialog.js";
8
+ import "./alert-dialog/index.js";
9
+ import { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from "./avatar/avatar.js";
10
+ import "./avatar/index.js";
11
+ import { Badge, badgeVariants } from "./badge/badge.js";
12
+ import "./badge/index.js";
13
+ import "./button/index.js";
14
+ import { Calendar, CalendarDayButton } from "./calendar/calendar.js";
15
+ import "./calendar/index.js";
16
+ import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./card/card.js";
17
+ import "./card/index.js";
18
+ import { Checkbox } from "./checkbox/checkbox.js";
19
+ import "./checkbox/index.js";
20
+ import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./collapsible/collapsible.js";
21
+ import "./collapsible/index.js";
22
+ import { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor } from "./combobox/combobox.js";
23
+ import "./combobox/index.js";
24
+ import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./dialog/dialog.js";
25
+ import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./command/command.js";
26
+ import "./command/index.js";
27
+ import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./context-menu/context-menu.js";
28
+ import "./context-menu/index.js";
29
+ import "./dialog/index.js";
30
+ import { DirectionProvider } from "./direction.js";
31
+ import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger } from "./drawer/drawer.js";
32
+ import "./drawer/index.js";
33
+ import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./dropdown-menu/dropdown-menu.js";
34
+ import "./dropdown-menu/index.js";
35
+ import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyIllustrationOptions, EmptyMedia, EmptyTitle, useEmptyIllustration } from "./empty/empty.js";
36
+ import "./empty/index.js";
37
+ import { Label } from "./label/label.js";
38
+ import { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle } from "./field/field.js";
39
+ import "./field/index.js";
40
+ import { Input } from "./input/input.js";
41
+ import "./input/index.js";
42
+ import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea } from "./input-group/input-group.js";
43
+ import "./input-group/index.js";
44
+ import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot } from "./input-otp/input-otp.js";
45
+ import "./input-otp/index.js";
46
+ import { Kbd, KbdGroup } from "./kbd/kbd.js";
47
+ import "./kbd/index.js";
48
+ import "./label/index.js";
49
+ import { cn } from "./lib/cn.js";
50
+ import { IconSwap, IconSwapProps } from "./lib/icon-swap.js";
51
+ import { NativeSelect, NativeSelectOptGroup, NativeSelectOption } from "./native-select/native-select.js";
52
+ import "./native-select/index.js";
53
+ import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./pagination/pagination.js";
54
+ import "./pagination/index.js";
55
+ import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from "./popover/popover.js";
56
+ import "./popover/index.js";
57
+ import { RadioGroup, RadioGroupItem } from "./radio-group/radio-group.js";
58
+ import "./radio-group/index.js";
59
+ import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./select/select.js";
60
+ import "./select/index.js";
61
+ import { Separator } from "./separator/separator.js";
62
+ import "./separator/index.js";
63
+ import { Skeleton, SkeletonContent } from "./skeleton/skeleton.js";
64
+ import "./skeleton/index.js";
65
+ import { Slider } from "./slider/slider.js";
66
+ import "./slider/index.js";
67
+ import { SoundCue, SoundPlayer, SoundProvider, SoundProviderProps, useSound } from "./sound/sound.js";
68
+ import { SOUND_MAP, SoundComponent } from "./sound/sound-map.js";
69
+ import { LoaderProvider, LoaderProviderProps } from "./spinner/loader-provider.js";
70
+ import { LoaderComponent, registerLoader, registerLoaders } from "./spinner/registry.js";
71
+ import { Spinner, SpinnerProps, SpinnerVariant } from "./spinner/spinner.js";
72
+ import "./spinner/index.js";
73
+ import { Switch } from "./switch/switch.js";
74
+ import "./switch/index.js";
75
+ import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./table/table.js";
76
+ import "./table/index.js";
77
+ import { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants } from "./tabs/tabs.js";
78
+ import "./tabs/index.js";
79
+ import { Textarea } from "./textarea/textarea.js";
80
+ import "./textarea/index.js";
81
+ import { Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, createToastManager, toast, useToastManager } from "./toast/toast.js";
82
+ import "./toast/index.js";
83
+ import { ToggleGroup, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupProps, ToggleGroupSingleProps, ToggleGroupSize, ToggleGroupVariant } from "./toggle-group/toggle-group.js";
84
+ import "./toggle-group/index.js";
85
+ import { Toolbar, ToolbarButtonProps, ToolbarGroupProps, ToolbarInputProps, ToolbarLinkProps, ToolbarProps, ToolbarSize } from "./toolbar/toolbar.js";
86
+ import "./toolbar/index.js";
87
+ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip/tooltip.js";
88
+ import "./tooltip/index.js";
89
+ import "./lib/track-input-modality.js";
90
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, type EmptyIllustrationOptions, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, IconSwap, type IconSwapProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, KbdGroup, Label, type LoaderComponent, LoaderProvider, type LoaderProviderProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, RadioGroup, RadioGroupItem, SOUND_MAP, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonContent, Slider, type SoundComponent, type SoundCue, type SoundPlayer, SoundProvider, type SoundProviderProps, Spinner, type SpinnerProps, type SpinnerVariant, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, ToggleGroup, type ToggleGroupItemProps, type ToggleGroupMultipleProps, type ToggleGroupProps, type ToggleGroupSingleProps, type ToggleGroupSize, type ToggleGroupVariant, Toolbar, type ToolbarButtonProps, type ToolbarGroupProps, type ToolbarInputProps, type ToolbarLinkProps, type ToolbarProps, type ToolbarSize, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, createToastManager, registerLoader, registerLoaders, tabsListVariants, toast, useComboboxAnchor, useEmptyIllustration, useSound, useToastManager };