@nexub/react 3.0.0 → 3.2.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 (493) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +10 -0
  2. package/dist/{chunk-DOVZNUSH.js → components/Accordion/Accordion.js} +12 -17
  3. package/dist/components/Accordion/index.d.ts +1 -0
  4. package/dist/components/Accordion/index.js +1 -5
  5. package/dist/components/Alert/Alert.d.ts +14 -0
  6. package/dist/{chunk-U422B6UE.js → components/Alert/Alert.js} +8 -15
  7. package/dist/components/Alert/index.d.ts +2 -0
  8. package/dist/components/Alert/index.js +1 -7
  9. package/dist/components/AlertDialog/AlertDialog.d.ts +15 -0
  10. package/dist/{chunk-PDQTKE2C.js → components/AlertDialog/AlertDialog.js} +32 -42
  11. package/dist/components/AlertDialog/index.d.ts +1 -0
  12. package/dist/components/AlertDialog/index.js +1 -9
  13. package/dist/components/Amount/Amount.d.ts +22 -0
  14. package/dist/{chunk-IBBICKEZ.js → components/Amount/Amount.js} +10 -21
  15. package/dist/components/Amount/index.d.ts +2 -0
  16. package/dist/components/Amount/index.js +1 -8
  17. package/dist/components/AppShell/AppShell.d.ts +8 -0
  18. package/dist/{chunk-EPJ4CMZP.js → components/AppShell/AppShell.js} +8 -14
  19. package/dist/components/AppShell/index.d.ts +1 -0
  20. package/dist/components/AppShell/index.js +1 -5
  21. package/dist/components/AspectRatio/AspectRatio.d.ts +5 -0
  22. package/dist/{chunk-52CXVN3U.js → components/AspectRatio/AspectRatio.js} +4 -10
  23. package/dist/components/AspectRatio/index.d.ts +2 -0
  24. package/dist/components/AspectRatio/index.js +1 -5
  25. package/dist/components/Autocomplete/Autocomplete.d.ts +18 -0
  26. package/dist/{chunk-E7RLUHG3.js → components/Autocomplete/Autocomplete.js} +4 -11
  27. package/dist/components/Autocomplete/index.d.ts +2 -0
  28. package/dist/components/Autocomplete/index.js +1 -7
  29. package/dist/components/Avatar/Avatar.d.ts +13 -0
  30. package/dist/{chunk-AYG7HBDZ.js → components/Avatar/Avatar.js} +8 -13
  31. package/dist/components/Avatar/index.d.ts +2 -0
  32. package/dist/components/Avatar/index.js +1 -7
  33. package/dist/components/AvatarGroup/AvatarGroup.d.ts +12 -0
  34. package/dist/{chunk-BMUAR6H2.js → components/AvatarGroup/AvatarGroup.js} +9 -18
  35. package/dist/components/AvatarGroup/index.d.ts +2 -0
  36. package/dist/components/AvatarGroup/index.js +1 -8
  37. package/dist/components/Badge/Badge.d.ts +12 -0
  38. package/dist/{chunk-FBUKWIWR.js → components/Badge/Badge.js} +7 -13
  39. package/dist/components/Badge/index.d.ts +2 -0
  40. package/dist/components/Badge/index.js +1 -6
  41. package/dist/components/Box/Box.d.ts +5 -0
  42. package/dist/{chunk-ZCHZNGWU.js → components/Box/Box.js} +3 -9
  43. package/dist/components/Box/index.d.ts +2 -0
  44. package/dist/components/Box/index.js +1 -5
  45. package/dist/components/Breadcrumb/Breadcrumb.d.ts +21 -0
  46. package/dist/{chunk-SQGRT72E.js → components/Breadcrumb/Breadcrumb.js} +12 -19
  47. package/dist/components/Breadcrumb/index.d.ts +1 -0
  48. package/dist/components/Breadcrumb/index.js +1 -6
  49. package/dist/components/Button/Button.d.ts +30 -0
  50. package/dist/{chunk-GHLMHKMV.js → components/Button/Button.js} +19 -37
  51. package/dist/components/Button/index.d.ts +2 -0
  52. package/dist/components/Button/index.js +1 -9
  53. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -0
  54. package/dist/{chunk-7EQ2LIYD.js → components/ButtonGroup/ButtonGroup.js} +3 -9
  55. package/dist/components/ButtonGroup/index.d.ts +2 -0
  56. package/dist/components/ButtonGroup/index.js +1 -6
  57. package/dist/components/Card/Card.d.ts +27 -0
  58. package/dist/{chunk-T466ZB34.js → components/Card/Card.js} +18 -46
  59. package/dist/components/Card/index.d.ts +2 -0
  60. package/dist/components/Card/index.js +1 -8
  61. package/dist/components/Chart/Chart.d.ts +81 -0
  62. package/dist/components/Chart/Chart.js +174 -0
  63. package/dist/components/Chart/index.d.ts +2 -0
  64. package/dist/components/Chart/index.js +9 -0
  65. package/dist/components/CheckList/CheckList.d.ts +10 -0
  66. package/dist/{chunk-T3RBFJML.js → components/CheckList/CheckList.js} +4 -10
  67. package/dist/components/CheckList/index.d.ts +2 -0
  68. package/dist/components/CheckList/index.js +1 -6
  69. package/dist/components/Checkbox/Checkbox.d.ts +5 -0
  70. package/dist/{chunk-JOOKMCAF.js → components/Checkbox/Checkbox.js} +4 -9
  71. package/dist/components/Checkbox/index.d.ts +2 -0
  72. package/dist/components/Checkbox/index.js +1 -5
  73. package/dist/components/CheckboxCard/CheckboxCard.d.ts +9 -0
  74. package/dist/{chunk-EYGT5IX4.js → components/CheckboxCard/CheckboxCard.js} +7 -12
  75. package/dist/components/CheckboxCard/index.d.ts +2 -0
  76. package/dist/components/CheckboxCard/index.js +1 -6
  77. package/dist/components/Chip/Chip.d.ts +12 -0
  78. package/dist/{chunk-PFDUHXT5.js → components/Chip/Chip.js} +8 -15
  79. package/dist/components/Chip/index.d.ts +2 -0
  80. package/dist/components/Chip/index.js +1 -7
  81. package/dist/components/Citation/Citation.d.ts +44 -0
  82. package/dist/{chunk-IA2362SO.js → components/Citation/Citation.js} +12 -21
  83. package/dist/components/Citation/index.d.ts +2 -0
  84. package/dist/components/Citation/index.js +1 -11
  85. package/dist/components/Code/Code.d.ts +6 -0
  86. package/dist/{chunk-NX44VGON.js → components/Code/Code.js} +3 -9
  87. package/dist/components/Code/index.d.ts +2 -0
  88. package/dist/components/Code/index.js +1 -5
  89. package/dist/components/Collapsible/Collapsible.d.ts +7 -0
  90. package/dist/{chunk-4WIUGX5Z.js → components/Collapsible/Collapsible.js} +10 -15
  91. package/dist/components/Collapsible/index.d.ts +1 -0
  92. package/dist/components/Collapsible/index.js +1 -5
  93. package/dist/components/Combobox/Combobox.d.ts +75 -0
  94. package/dist/{chunk-XWELMPYD.js → components/Combobox/Combobox.js} +11 -16
  95. package/dist/components/Combobox/index.d.ts +1 -0
  96. package/dist/components/Combobox/index.js +1 -6
  97. package/dist/components/CommandPalette/CommandPalette.d.ts +73 -0
  98. package/dist/{chunk-LASPHHH6.js → components/CommandPalette/CommandPalette.js} +16 -28
  99. package/dist/components/CommandPalette/index.d.ts +2 -0
  100. package/dist/components/CommandPalette/index.js +1 -8
  101. package/dist/components/Container/Container.d.ts +10 -0
  102. package/dist/{chunk-EQ5ASTJM.js → components/Container/Container.js} +7 -12
  103. package/dist/components/Container/index.d.ts +2 -0
  104. package/dist/components/Container/index.js +1 -6
  105. package/dist/components/ContextMenu/ContextMenu.d.ts +18 -0
  106. package/dist/{chunk-CUCTSWR2.js → components/ContextMenu/ContextMenu.js} +42 -53
  107. package/dist/components/ContextMenu/index.d.ts +1 -0
  108. package/dist/components/ContextMenu/index.js +1 -6
  109. package/dist/components/CountryBadge/CountryBadge.d.ts +8 -0
  110. package/dist/{chunk-JZCZ2SDT.js → components/CountryBadge/CountryBadge.js} +5 -13
  111. package/dist/components/CountryBadge/index.d.ts +2 -0
  112. package/dist/components/CountryBadge/index.js +1 -6
  113. package/dist/components/DataTable/DataTable.d.ts +24 -0
  114. package/dist/{chunk-A7PS3EZO.js → components/DataTable/DataTable.js} +15 -27
  115. package/dist/components/DataTable/index.d.ts +2 -0
  116. package/dist/components/DataTable/index.js +1 -8
  117. package/dist/components/DatePicker/DatePicker.d.ts +39 -0
  118. package/dist/{chunk-OY5CWWIM.js → components/DatePicker/DatePicker.js} +11 -24
  119. package/dist/components/DatePicker/index.d.ts +2 -0
  120. package/dist/components/DatePicker/index.js +1 -9
  121. package/dist/components/DateRangePicker/DateRangePicker.d.ts +20 -0
  122. package/dist/{chunk-YYAXXJH3.js → components/DateRangePicker/DateRangePicker.js} +9 -23
  123. package/dist/components/DateRangePicker/index.d.ts +2 -0
  124. package/dist/components/DateRangePicker/index.js +1 -9
  125. package/dist/components/Dialog/Dialog.d.ts +21 -0
  126. package/dist/{chunk-CEFGILJY.js → components/Dialog/Dialog.js} +28 -38
  127. package/dist/components/Dialog/index.d.ts +1 -0
  128. package/dist/components/Dialog/index.js +1 -7
  129. package/dist/components/Drawer/Drawer.d.ts +94 -0
  130. package/dist/components/Drawer/Drawer.js +131 -0
  131. package/dist/components/Drawer/index.d.ts +2 -0
  132. package/dist/components/Drawer/index.js +1 -9
  133. package/dist/components/DropdownMenu/DropdownMenu.d.ts +18 -0
  134. package/dist/{chunk-GWFIMQBC.js → components/DropdownMenu/DropdownMenu.js} +42 -53
  135. package/dist/components/DropdownMenu/index.d.ts +1 -0
  136. package/dist/components/DropdownMenu/index.js +1 -7
  137. package/dist/components/EmptyState/EmptyState.d.ts +8 -0
  138. package/dist/{chunk-AWTSLASB.js → components/EmptyState/EmptyState.js} +8 -14
  139. package/dist/components/EmptyState/index.d.ts +1 -0
  140. package/dist/components/EmptyState/index.js +1 -5
  141. package/dist/components/ErrorState/ErrorState.d.ts +10 -0
  142. package/dist/{chunk-NX5ZJSRU.js → components/ErrorState/ErrorState.js} +6 -13
  143. package/dist/components/ErrorState/index.d.ts +2 -0
  144. package/dist/components/ErrorState/index.js +1 -6
  145. package/dist/components/EyebrowChip/EyebrowChip.d.ts +11 -0
  146. package/dist/{chunk-MXXJOAWQ.js → components/EyebrowChip/EyebrowChip.js} +7 -13
  147. package/dist/components/EyebrowChip/index.d.ts +2 -0
  148. package/dist/components/EyebrowChip/index.js +1 -8
  149. package/dist/components/FileUpload/FileUpload.d.ts +16 -0
  150. package/dist/{chunk-LR6KNEKL.js → components/FileUpload/FileUpload.js} +12 -19
  151. package/dist/components/FileUpload/index.d.ts +2 -0
  152. package/dist/components/FileUpload/index.js +1 -6
  153. package/dist/components/FilterChip/FilterChip.d.ts +8 -0
  154. package/dist/{chunk-36QSSD7I.js → components/FilterChip/FilterChip.js} +6 -15
  155. package/dist/components/FilterChip/index.d.ts +2 -0
  156. package/dist/components/FilterChip/index.js +1 -7
  157. package/dist/components/Flag/Flag.d.ts +7 -0
  158. package/dist/{chunk-HOQPHAGW.js → components/Flag/Flag.js} +4 -10
  159. package/dist/components/Flag/index.d.ts +2 -0
  160. package/dist/components/Flag/index.js +1 -6
  161. package/dist/components/Flex/Flex.d.ts +10 -0
  162. package/dist/{chunk-BOO4VH3M.js → components/Flex/Flex.js} +5 -13
  163. package/dist/components/Flex/index.d.ts +2 -0
  164. package/dist/components/Flex/index.js +1 -6
  165. package/dist/components/FormError/FormError.d.ts +3 -0
  166. package/dist/{chunk-H2X6MSNY.js → components/FormError/FormError.js} +3 -9
  167. package/dist/components/FormError/index.d.ts +2 -0
  168. package/dist/components/FormError/index.js +1 -6
  169. package/dist/components/FormField/FormField.d.ts +46 -0
  170. package/dist/{chunk-FT73REUG.js → components/FormField/FormField.js} +9 -20
  171. package/dist/components/FormField/index.d.ts +2 -0
  172. package/dist/components/FormField/index.js +1 -11
  173. package/dist/components/GradientDivider/GradientDivider.d.ts +6 -0
  174. package/dist/{chunk-FDRAGYDV.js → components/GradientDivider/GradientDivider.js} +7 -13
  175. package/dist/components/GradientDivider/index.d.ts +2 -0
  176. package/dist/components/GradientDivider/index.js +1 -5
  177. package/dist/components/Grid/Grid.d.ts +9 -0
  178. package/dist/{chunk-F5S2KP3Z.js → components/Grid/Grid.js} +5 -13
  179. package/dist/components/Grid/index.d.ts +2 -0
  180. package/dist/components/Grid/index.js +1 -6
  181. package/dist/components/Heading/Heading.d.ts +17 -0
  182. package/dist/{chunk-Z7OR2LYG.js → components/Heading/Heading.js} +8 -16
  183. package/dist/components/Heading/index.d.ts +2 -0
  184. package/dist/components/Heading/index.js +1 -9
  185. package/dist/components/HelperText/HelperText.d.ts +6 -0
  186. package/dist/{chunk-QKGQBJ4U.js → components/HelperText/HelperText.js} +4 -12
  187. package/dist/components/HelperText/index.d.ts +2 -0
  188. package/dist/components/HelperText/index.js +1 -9
  189. package/dist/components/HoverCard/HoverCard.d.ts +10 -0
  190. package/dist/{chunk-KL55E5PE.js → components/HoverCard/HoverCard.js} +15 -22
  191. package/dist/components/HoverCard/index.d.ts +1 -0
  192. package/dist/components/HoverCard/index.js +1 -7
  193. package/dist/components/IconButton/IconButton.d.ts +11 -0
  194. package/dist/{chunk-RH2HEPC7.js → components/IconButton/IconButton.js} +7 -17
  195. package/dist/components/IconButton/index.d.ts +2 -0
  196. package/dist/components/IconButton/index.js +1 -8
  197. package/dist/components/Input/Input.d.ts +21 -0
  198. package/dist/{chunk-G7VMAWAX.js → components/Input/Input.js} +10 -21
  199. package/dist/components/Input/index.d.ts +2 -0
  200. package/dist/components/Input/index.js +1 -10
  201. package/dist/components/Kbd/Kbd.d.ts +4 -0
  202. package/dist/{chunk-OM62PQSE.js → components/Kbd/Kbd.js} +3 -9
  203. package/dist/components/Kbd/index.d.ts +2 -0
  204. package/dist/components/Kbd/index.js +1 -6
  205. package/dist/components/KeyboardShortcut/KeyboardShortcut.d.ts +5 -0
  206. package/dist/{chunk-PR3CEPFG.js → components/KeyboardShortcut/KeyboardShortcut.js} +4 -12
  207. package/dist/components/KeyboardShortcut/index.d.ts +2 -0
  208. package/dist/components/KeyboardShortcut/index.js +1 -6
  209. package/dist/components/Label/Label.d.ts +15 -0
  210. package/dist/{chunk-BM5PGGK2.js → components/Label/Label.js} +7 -15
  211. package/dist/components/Label/index.d.ts +2 -0
  212. package/dist/components/Label/index.js +1 -10
  213. package/dist/components/Link/Link.d.ts +11 -0
  214. package/dist/{chunk-QCLE5VQW.js → components/Link/Link.js} +6 -12
  215. package/dist/components/Link/index.d.ts +2 -0
  216. package/dist/components/Link/index.js +1 -6
  217. package/dist/components/Logo/Logo.d.ts +15 -0
  218. package/dist/{chunk-ZGJF4HAT.js → components/Logo/Logo.js} +8 -14
  219. package/dist/components/Logo/index.d.ts +2 -0
  220. package/dist/components/Logo/index.js +1 -6
  221. package/dist/components/MediaCard/MediaCard.d.ts +24 -0
  222. package/dist/{chunk-5DHLFPC4.js → components/MediaCard/MediaCard.js} +5 -13
  223. package/dist/components/MediaCard/index.d.ts +2 -0
  224. package/dist/components/MediaCard/index.js +1 -6
  225. package/dist/components/Menubar/Menubar.d.ts +1 -0
  226. package/dist/{chunk-PPECMYKJ.js → components/Menubar/Menubar.js} +50 -61
  227. package/dist/components/Menubar/index.d.ts +1 -0
  228. package/dist/components/Menubar/index.js +1 -6
  229. package/dist/components/MessageBubble/MessageBubble.d.ts +43 -0
  230. package/dist/{chunk-RNS35DNZ.js → components/MessageBubble/MessageBubble.js} +13 -27
  231. package/dist/components/MessageBubble/index.d.ts +2 -0
  232. package/dist/components/MessageBubble/index.js +1 -13
  233. package/dist/components/MoneyInput/MoneyInput.d.ts +19 -0
  234. package/dist/{chunk-FOFNTKCK.js → components/MoneyInput/MoneyInput.js} +8 -24
  235. package/dist/components/MoneyInput/index.d.ts +2 -0
  236. package/dist/components/MoneyInput/index.js +1 -11
  237. package/dist/components/Motion/Collapse.d.ts +29 -0
  238. package/dist/components/Motion/Collapse.js +103 -0
  239. package/dist/components/Motion/Fade.d.ts +16 -0
  240. package/dist/components/Motion/Fade.js +42 -0
  241. package/dist/components/Motion/Float.d.ts +8 -0
  242. package/dist/components/Motion/Float.js +14 -0
  243. package/dist/components/Motion/ListTransition.d.ts +46 -0
  244. package/dist/components/Motion/ListTransition.js +110 -0
  245. package/dist/components/Motion/Marquee.d.ts +13 -0
  246. package/dist/components/Motion/Marquee.js +13 -0
  247. package/dist/components/Motion/Reveal.d.ts +12 -0
  248. package/dist/components/Motion/Reveal.js +32 -0
  249. package/dist/components/Motion/Scale.d.ts +22 -0
  250. package/dist/components/Motion/Scale.js +45 -0
  251. package/dist/components/Motion/Slide.d.ts +22 -0
  252. package/dist/components/Motion/Slide.js +59 -0
  253. package/dist/components/Motion/index.d.ts +18 -0
  254. package/dist/components/Motion/index.js +12 -10
  255. package/dist/components/Motion/motion.types.d.ts +25 -0
  256. package/dist/components/Motion/motion.types.js +1 -0
  257. package/dist/components/Motion/useMotion.d.ts +41 -0
  258. package/dist/components/Motion/useMotion.js +102 -0
  259. package/dist/components/NavigationMenu/NavigationMenu.d.ts +12 -0
  260. package/dist/{chunk-FXVI4RCJ.js → components/NavigationMenu/NavigationMenu.js} +21 -28
  261. package/dist/components/NavigationMenu/index.d.ts +1 -0
  262. package/dist/components/NavigationMenu/index.js +1 -6
  263. package/dist/components/NavigationRail/NavigationRail.d.ts +19 -0
  264. package/dist/{chunk-5MGCYR4G.js → components/NavigationRail/NavigationRail.js} +7 -14
  265. package/dist/components/NavigationRail/index.d.ts +2 -0
  266. package/dist/components/NavigationRail/index.js +1 -6
  267. package/dist/components/NexubProvider/NexubProvider.d.ts +34 -0
  268. package/dist/{chunk-VMSWIC3O.js → components/NexubProvider/NexubProvider.js} +7 -9
  269. package/dist/components/NexubProvider/index.d.ts +2 -0
  270. package/dist/components/NexubProvider/index.js +1 -8
  271. package/dist/components/NumberInput/NumberInput.d.ts +15 -0
  272. package/dist/{chunk-V3EWVSVI.js → components/NumberInput/NumberInput.js} +9 -20
  273. package/dist/components/NumberInput/index.d.ts +2 -0
  274. package/dist/components/NumberInput/index.js +1 -8
  275. package/dist/components/NumberTicker/NumberTicker.d.ts +25 -0
  276. package/dist/{chunk-2G3XUIQZ.js → components/NumberTicker/NumberTicker.js} +30 -19
  277. package/dist/components/NumberTicker/index.d.ts +2 -0
  278. package/dist/components/NumberTicker/index.js +1 -7
  279. package/dist/components/PageHeader/PageHeader.d.ts +10 -0
  280. package/dist/{chunk-SEW66BU7.js → components/PageHeader/PageHeader.js} +3 -9
  281. package/dist/components/PageHeader/index.d.ts +2 -0
  282. package/dist/components/PageHeader/index.js +1 -5
  283. package/dist/components/Pagination/Pagination.d.ts +9 -0
  284. package/dist/{chunk-NLVP74RX.js → components/Pagination/Pagination.js} +7 -17
  285. package/dist/components/Pagination/index.d.ts +2 -0
  286. package/dist/components/Pagination/index.js +1 -7
  287. package/dist/components/PasswordInput/PasswordInput.d.ts +9 -0
  288. package/dist/{chunk-OGHOT6XN.js → components/PasswordInput/PasswordInput.js} +7 -18
  289. package/dist/components/PasswordInput/index.d.ts +2 -0
  290. package/dist/components/PasswordInput/index.js +1 -10
  291. package/dist/components/Popover/Popover.d.ts +13 -0
  292. package/dist/{chunk-MPJG4WFP.js → components/Popover/Popover.js} +20 -29
  293. package/dist/components/Popover/index.d.ts +1 -0
  294. package/dist/components/Popover/index.js +1 -7
  295. package/dist/components/Progress/Progress.d.ts +17 -0
  296. package/dist/{chunk-HXNUIIXB.js → components/Progress/Progress.js} +9 -16
  297. package/dist/components/Progress/index.d.ts +2 -0
  298. package/dist/components/Progress/index.js +1 -8
  299. package/dist/components/PromptInput/PromptInput.d.ts +33 -0
  300. package/dist/{chunk-ZUMC7SX5.js → components/PromptInput/PromptInput.js} +12 -30
  301. package/dist/components/PromptInput/index.d.ts +2 -0
  302. package/dist/components/PromptInput/index.js +1 -12
  303. package/dist/components/RadioCard/RadioCard.d.ts +11 -0
  304. package/dist/{chunk-YNLXG574.js → components/RadioCard/RadioCard.js} +11 -16
  305. package/dist/components/RadioCard/index.d.ts +2 -0
  306. package/dist/components/RadioCard/index.js +1 -7
  307. package/dist/components/RadioCard/selectableCard.d.ts +29 -0
  308. package/dist/{chunk-6SPCGCDG.js → components/RadioCard/selectableCard.js} +6 -11
  309. package/dist/components/RadioGroup/RadioGroup.d.ts +6 -0
  310. package/dist/{chunk-QQR4PPF3.js → components/RadioGroup/RadioGroup.js} +8 -13
  311. package/dist/components/RadioGroup/index.d.ts +1 -0
  312. package/dist/components/RadioGroup/index.js +1 -5
  313. package/dist/components/Rating/Rating.d.ts +12 -0
  314. package/dist/{chunk-VCCQ64G7.js → components/Rating/Rating.js} +9 -18
  315. package/dist/components/Rating/index.d.ts +2 -0
  316. package/dist/components/Rating/index.js +1 -9
  317. package/dist/components/ScrollArea/ScrollArea.d.ts +6 -0
  318. package/dist/{chunk-2DZWTBDL.js → components/ScrollArea/ScrollArea.js} +4 -9
  319. package/dist/components/ScrollArea/index.d.ts +2 -0
  320. package/dist/components/ScrollArea/index.js +1 -5
  321. package/dist/components/SearchInput/SearchInput.d.ts +6 -0
  322. package/dist/{chunk-YVS6AVPD.js → components/SearchInput/SearchInput.js} +7 -18
  323. package/dist/components/SearchInput/index.d.ts +2 -0
  324. package/dist/components/SearchInput/index.js +1 -10
  325. package/dist/components/Section/Section.d.ts +10 -0
  326. package/dist/{chunk-EIV37DAQ.js → components/Section/Section.js} +6 -12
  327. package/dist/components/Section/index.d.ts +2 -0
  328. package/dist/components/Section/index.js +1 -6
  329. package/dist/components/SegmentedControl/SegmentedControl.d.ts +12 -0
  330. package/dist/{chunk-KRIRCSUB.js → components/SegmentedControl/SegmentedControl.js} +12 -21
  331. package/dist/components/SegmentedControl/index.d.ts +2 -0
  332. package/dist/components/SegmentedControl/index.js +1 -8
  333. package/dist/components/Select/Select.d.ts +16 -0
  334. package/dist/{chunk-M5PDVHFN.js → components/Select/Select.js} +35 -48
  335. package/dist/components/Select/index.d.ts +1 -0
  336. package/dist/components/Select/index.js +1 -7
  337. package/dist/components/Separator/Separator.d.ts +12 -0
  338. package/dist/{chunk-YVCUKIAC.js → components/Separator/Separator.js} +6 -12
  339. package/dist/components/Separator/index.d.ts +2 -0
  340. package/dist/components/Separator/index.js +1 -6
  341. package/dist/components/Sidebar/Sidebar.d.ts +25 -0
  342. package/dist/{chunk-NAESV7K3.js → components/Sidebar/Sidebar.js} +11 -18
  343. package/dist/components/Sidebar/index.d.ts +2 -0
  344. package/dist/components/Sidebar/index.js +1 -6
  345. package/dist/components/Skeleton/Skeleton.d.ts +14 -0
  346. package/dist/{chunk-3C4WVTAN.js → components/Skeleton/Skeleton.js} +7 -13
  347. package/dist/components/Skeleton/index.d.ts +2 -0
  348. package/dist/components/Skeleton/index.js +1 -6
  349. package/dist/components/Slider/Slider.d.ts +7 -0
  350. package/dist/{chunk-5QWRBJSZ.js → components/Slider/Slider.js} +4 -9
  351. package/dist/components/Slider/index.d.ts +2 -0
  352. package/dist/components/Slider/index.js +1 -5
  353. package/dist/components/Spinner/Spinner.d.ts +12 -0
  354. package/dist/{chunk-P3SAE4T2.js → components/Spinner/Spinner.js} +8 -15
  355. package/dist/components/Spinner/index.d.ts +2 -0
  356. package/dist/components/Spinner/index.js +1 -7
  357. package/dist/components/SplitButton/SplitButton.d.ts +15 -0
  358. package/dist/{chunk-ILIM4BLN.js → components/SplitButton/SplitButton.js} +7 -18
  359. package/dist/components/SplitButton/index.d.ts +2 -0
  360. package/dist/components/SplitButton/index.js +1 -11
  361. package/dist/components/Stack/Stack.d.ts +11 -0
  362. package/dist/{chunk-ST4O3EQ3.js → components/Stack/Stack.js} +4 -12
  363. package/dist/components/Stack/index.d.ts +2 -0
  364. package/dist/components/Stack/index.js +1 -6
  365. package/dist/components/StreamingText/StreamingText.d.ts +19 -0
  366. package/dist/{chunk-4ESZQDPB.js → components/StreamingText/StreamingText.js} +5 -10
  367. package/dist/components/StreamingText/index.d.ts +2 -0
  368. package/dist/components/StreamingText/index.js +1 -5
  369. package/dist/components/Switch/Switch.d.ts +12 -0
  370. package/dist/{chunk-EWW6PWTK.js → components/Switch/Switch.js} +9 -12
  371. package/dist/components/Switch/index.d.ts +2 -0
  372. package/dist/components/Switch/index.js +1 -5
  373. package/dist/components/Table/Table.d.ts +18 -0
  374. package/dist/{chunk-KA6RZ7VN.js → components/Table/Table.js} +13 -18
  375. package/dist/components/Table/index.d.ts +2 -0
  376. package/dist/components/Table/index.js +1 -6
  377. package/dist/components/Tabs/Tabs.d.ts +8 -0
  378. package/dist/{chunk-BIWSXGTZ.js → components/Tabs/Tabs.js} +14 -23
  379. package/dist/components/Tabs/index.d.ts +1 -0
  380. package/dist/components/Tabs/index.js +1 -8
  381. package/dist/components/Text/Text.d.ts +13 -0
  382. package/dist/{chunk-UYINKNCI.js → components/Text/Text.js} +7 -13
  383. package/dist/components/Text/index.d.ts +2 -0
  384. package/dist/components/Text/index.js +1 -6
  385. package/dist/components/TextGradient/TextGradient.d.ts +4 -0
  386. package/dist/{chunk-IDPRAXCG.js → components/TextGradient/TextGradient.js} +3 -9
  387. package/dist/components/TextGradient/index.d.ts +2 -0
  388. package/dist/components/TextGradient/index.js +1 -5
  389. package/dist/components/Textarea/Textarea.d.ts +13 -0
  390. package/dist/{chunk-HL64PWVQ.js → components/Textarea/Textarea.js} +8 -17
  391. package/dist/components/Textarea/index.d.ts +2 -0
  392. package/dist/components/Textarea/index.js +1 -7
  393. package/dist/components/ThemeProvider/ThemeProvider.d.ts +69 -0
  394. package/dist/{chunk-ZBRRQHZG.js → components/ThemeProvider/ThemeProvider.js} +11 -15
  395. package/dist/components/ThemeProvider/index.d.ts +2 -0
  396. package/dist/components/ThemeProvider/index.js +1 -7
  397. package/dist/components/ThinkingIndicator/ThinkingIndicator.d.ts +18 -0
  398. package/dist/{chunk-VX56VQMF.js → components/ThinkingIndicator/ThinkingIndicator.js} +6 -13
  399. package/dist/components/ThinkingIndicator/index.d.ts +2 -0
  400. package/dist/components/ThinkingIndicator/index.js +1 -6
  401. package/dist/components/Toast/Toast.d.ts +17 -0
  402. package/dist/components/Toast/Toast.js +82 -0
  403. package/dist/components/Toast/Toaster.d.ts +21 -0
  404. package/dist/{chunk-MQGBAWSJ.js → components/Toast/Toaster.js} +27 -189
  405. package/dist/components/Toast/index.d.ts +5 -0
  406. package/dist/components/Toast/index.js +3 -10
  407. package/dist/components/Toast/useToast.d.ts +45 -0
  408. package/dist/components/Toast/useToast.js +74 -0
  409. package/dist/components/Toggle/Toggle.d.ts +10 -0
  410. package/dist/{chunk-NMSQDI4A.js → components/Toggle/Toggle.js} +7 -12
  411. package/dist/components/Toggle/index.d.ts +2 -0
  412. package/dist/components/Toggle/index.js +1 -7
  413. package/dist/components/ToggleGroup/ToggleGroup.d.ts +16 -0
  414. package/dist/{chunk-UOBWHPXG.js → components/ToggleGroup/ToggleGroup.js} +10 -17
  415. package/dist/components/ToggleGroup/index.d.ts +1 -0
  416. package/dist/components/ToggleGroup/index.js +1 -6
  417. package/dist/components/Toolbar/Toolbar.d.ts +18 -0
  418. package/dist/{chunk-WGW7TZOV.js → components/Toolbar/Toolbar.js} +15 -22
  419. package/dist/components/Toolbar/index.d.ts +2 -0
  420. package/dist/components/Toolbar/index.js +1 -6
  421. package/dist/components/Tooltip/Tooltip.d.ts +14 -0
  422. package/dist/{chunk-6SWOLUMF.js → components/Tooltip/Tooltip.js} +16 -21
  423. package/dist/components/Tooltip/index.d.ts +1 -0
  424. package/dist/components/Tooltip/index.js +1 -10
  425. package/dist/components/TopNav/TopNav.d.ts +20 -0
  426. package/dist/{chunk-BNG3Y5I7.js → components/TopNav/TopNav.js} +11 -20
  427. package/dist/components/TopNav/index.d.ts +2 -0
  428. package/dist/components/TopNav/index.js +1 -7
  429. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +2 -0
  430. package/dist/components/VisuallyHidden/VisuallyHidden.js +5 -0
  431. package/dist/components/VisuallyHidden/index.d.ts +2 -0
  432. package/dist/components/VisuallyHidden/index.js +2 -5
  433. package/dist/hooks/useClassScrollLock.d.ts +6 -0
  434. package/dist/{chunk-47UGX37F.js → hooks/useClassScrollLock.js} +2 -5
  435. package/dist/hooks/useControllableState.d.ts +7 -0
  436. package/dist/{chunk-JLUCMNVS.js → hooks/useControllableState.js} +2 -7
  437. package/dist/hooks/useDisclosure.d.ts +6 -0
  438. package/dist/hooks/useDisclosure.js +12 -0
  439. package/dist/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
  440. package/dist/hooks/useIsomorphicLayoutEffect.js +5 -0
  441. package/dist/hooks/useMediaQuery.d.ts +1 -0
  442. package/dist/hooks/useMediaQuery.js +17 -0
  443. package/dist/hooks/useMergedRefs.d.ts +2 -0
  444. package/dist/{chunk-MNEXMMLM.js → hooks/useMergedRefs.js} +1 -4
  445. package/dist/hooks/usePointerSheen.d.ts +8 -0
  446. package/dist/hooks/usePointerSheen.js +25 -0
  447. package/dist/hooks/useSlidingIndicator.d.ts +8 -0
  448. package/dist/{chunk-6UKNUI46.js → hooks/useSlidingIndicator.js} +2 -7
  449. package/dist/index.d.ts +198 -1849
  450. package/dist/index.js +123 -413
  451. package/dist/styles.css +1 -1
  452. package/dist/utils/cn.d.ts +2 -0
  453. package/dist/{chunk-WRVFNYO3.js → utils/cn.js} +8 -11
  454. package/dist/utils/control.d.ts +20 -0
  455. package/dist/utils/control.js +41 -0
  456. package/dist/utils/deprecated.d.ts +6 -0
  457. package/dist/utils/deprecated.js +16 -0
  458. package/dist/utils/glass.d.ts +9 -0
  459. package/dist/utils/glass.js +4 -0
  460. package/dist/utils/layout.d.ts +14 -0
  461. package/dist/{chunk-VLQGQFW7.js → utils/layout.js} +5 -9
  462. package/dist/utils/money.d.ts +1 -0
  463. package/dist/{chunk-R3SUPKKI.js → utils/money.js} +3 -6
  464. package/dist/utils/surface.d.ts +11 -0
  465. package/dist/{chunk-5FWJXSXT.js → utils/surface.js} +9 -13
  466. package/dist/utils/viewTransition.d.ts +5 -0
  467. package/dist/utils/viewTransition.js +8 -0
  468. package/dist/{chunk-PZL6AJH5.js → vendor/vaul.js} +2 -140
  469. package/package.json +15 -7
  470. package/dist/chunk-4B4XWDAH.js +0 -1
  471. package/dist/chunk-4GVGS5N4.js +0 -468
  472. package/dist/chunk-52ZVJPF7.js +0 -1
  473. package/dist/chunk-A3O23F2B.js +0 -1
  474. package/dist/chunk-ADO2DB6Q.js +0 -1
  475. package/dist/chunk-BV3U3ATL.js +0 -1
  476. package/dist/chunk-CAOLGXA5.js +0 -1
  477. package/dist/chunk-DEIBF3P7.js +0 -8
  478. package/dist/chunk-EV43I5J6.js +0 -1
  479. package/dist/chunk-HI7GBSW2.js +0 -1
  480. package/dist/chunk-HY3JWSG4.js +0 -1
  481. package/dist/chunk-IZ6ZPEZ2.js +0 -1
  482. package/dist/chunk-KLTQJZOX.js +0 -1
  483. package/dist/chunk-LVPU7455.js +0 -1
  484. package/dist/chunk-NHUQLIHL.js +0 -9
  485. package/dist/chunk-NZ7UK3G6.js +0 -1
  486. package/dist/chunk-P26VJEIW.js +0 -1
  487. package/dist/chunk-PICMOOAZ.js +0 -1
  488. package/dist/chunk-VALIDQXU.js +0 -31
  489. package/dist/chunk-WLRRMT6W.js +0 -1
  490. package/dist/chunk-XYXMPHND.js +0 -1
  491. package/dist/chunk-YJU4ZRQZ.js +0 -1
  492. package/dist/chunk-ZT3NWE5U.js +0 -1
  493. package/dist/chunk-ZXLACKEB.js +0 -8
@@ -1,13 +1,9 @@
1
- 'use client';
2
- import {
3
- cn
4
- } from "./chunk-WRVFNYO3.js";
5
-
6
- // src/components/Avatar/Avatar.tsx
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
7
3
  import * as React from "react";
8
4
  import { cva } from "class-variance-authority";
9
- import { jsx, jsxs } from "react/jsx-runtime";
10
- var avatarVariants = cva(
5
+ import { cn } from "../../utils/cn.js";
6
+ const avatarVariants = cva(
11
7
  "relative inline-flex items-center justify-center shrink-0 rounded-full overflow-hidden bg-[var(--color-surface-container-high)] text-[var(--color-on-surface-muted)] font-medium select-none",
12
8
  {
13
9
  variants: {
@@ -24,7 +20,7 @@ var avatarVariants = cva(
24
20
  }
25
21
  }
26
22
  );
27
- var badgeSizeMap = {
23
+ const badgeSizeMap = {
28
24
  xs: "h-1.5 w-1.5",
29
25
  sm: "h-2 w-2",
30
26
  md: "h-2.5 w-2.5",
@@ -38,7 +34,7 @@ function getInitials(name) {
38
34
  const last = parts[parts.length - 1] ?? "";
39
35
  return (first.charAt(0) + last.charAt(0)).toUpperCase();
40
36
  }
41
- var Avatar = React.forwardRef(
37
+ const Avatar = React.forwardRef(
42
38
  ({
43
39
  className,
44
40
  size = "md",
@@ -101,8 +97,7 @@ var Avatar = React.forwardRef(
101
97
  }
102
98
  );
103
99
  Avatar.displayName = "Avatar";
104
-
105
100
  export {
106
- avatarVariants,
107
- Avatar
101
+ Avatar,
102
+ avatarVariants
108
103
  };
@@ -0,0 +1,2 @@
1
+ export { Avatar, avatarVariants } from './Avatar.js';
2
+ export type { AvatarProps } from './Avatar.js';
@@ -1,10 +1,4 @@
1
- 'use client';
2
- import "../../chunk-IZ6ZPEZ2.js";
3
- import {
4
- Avatar,
5
- avatarVariants
6
- } from "../../chunk-AYG7HBDZ.js";
7
- import "../../chunk-WRVFNYO3.js";
1
+ import { Avatar, avatarVariants } from "./Avatar.js";
8
2
  export {
9
3
  Avatar,
10
4
  avatarVariants
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import type { AvatarProps } from '../Avatar/Avatar.js';
4
+ export declare const avatarGroupVariants: (props?: ({
5
+ spacing?: "sm" | "md" | "lg" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof avatarGroupVariants> {
8
+ max?: number;
9
+ size?: AvatarProps['size'];
10
+ children: React.ReactNode;
11
+ }
12
+ export declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,19 +1,11 @@
1
- 'use client';
2
- import {
3
- avatarVariants
4
- } from "./chunk-AYG7HBDZ.js";
5
- import {
6
- useNexubMessages
7
- } from "./chunk-VMSWIC3O.js";
8
- import {
9
- cn
10
- } from "./chunk-WRVFNYO3.js";
11
-
12
- // src/components/AvatarGroup/AvatarGroup.tsx
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
13
3
  import * as React from "react";
14
4
  import { cva } from "class-variance-authority";
15
- import { jsx, jsxs } from "react/jsx-runtime";
16
- var avatarGroupVariants = cva("flex items-center", {
5
+ import { cn } from "../../utils/cn.js";
6
+ import { useNexubMessages } from "../NexubProvider/NexubProvider.js";
7
+ import { avatarVariants } from "../Avatar/Avatar.js";
8
+ const avatarGroupVariants = cva("flex items-center", {
17
9
  variants: {
18
10
  spacing: {
19
11
  sm: "[&>*:not(:first-child)]:-ms-3",
@@ -25,7 +17,7 @@ var avatarGroupVariants = cva("flex items-center", {
25
17
  spacing: "md"
26
18
  }
27
19
  });
28
- var AvatarGroup = React.forwardRef(
20
+ const AvatarGroup = React.forwardRef(
29
21
  ({ className, max, size = "md", spacing, children, ...props }, ref) => {
30
22
  const messages = useNexubMessages();
31
23
  const items = React.Children.toArray(children);
@@ -72,8 +64,7 @@ var AvatarGroup = React.forwardRef(
72
64
  }
73
65
  );
74
66
  AvatarGroup.displayName = "AvatarGroup";
75
-
76
67
  export {
77
- avatarGroupVariants,
78
- AvatarGroup
68
+ AvatarGroup,
69
+ avatarGroupVariants
79
70
  };
@@ -0,0 +1,2 @@
1
+ export { AvatarGroup, avatarGroupVariants } from './AvatarGroup.js';
2
+ export type { AvatarGroupProps } from './AvatarGroup.js';
@@ -1,11 +1,4 @@
1
- 'use client';
2
- import {
3
- AvatarGroup,
4
- avatarGroupVariants
5
- } from "../../chunk-BMUAR6H2.js";
6
- import "../../chunk-AYG7HBDZ.js";
7
- import "../../chunk-VMSWIC3O.js";
8
- import "../../chunk-WRVFNYO3.js";
1
+ import { AvatarGroup, avatarGroupVariants } from "./AvatarGroup.js";
9
2
  export {
10
3
  AvatarGroup,
11
4
  avatarGroupVariants
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import type { ToneValue } from '../Button/Button.js';
4
+ export declare const badgeVariants: (props?: ({
5
+ size?: "sm" | "md" | "lg" | null | undefined;
6
+ variant?: "outline" | "solid" | "soft" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
9
+ tone?: ToneValue;
10
+ leadingIcon?: React.ReactNode;
11
+ }
12
+ export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
@@ -1,13 +1,8 @@
1
- 'use client';
2
- import {
3
- cn
4
- } from "./chunk-WRVFNYO3.js";
5
-
6
- // src/components/Badge/Badge.tsx
1
+ import { jsx, jsxs } from "react/jsx-runtime";
7
2
  import * as React from "react";
8
3
  import { cva } from "class-variance-authority";
9
- import { jsx, jsxs } from "react/jsx-runtime";
10
- var badgeVariants = cva(
4
+ import { cn } from "../../utils/cn.js";
5
+ const badgeVariants = cva(
11
6
  [
12
7
  "inline-flex items-center gap-1 rounded-[var(--badge-radius,var(--shape-control))] whitespace-nowrap select-none"
13
8
  ],
@@ -30,7 +25,7 @@ var badgeVariants = cva(
30
25
  }
31
26
  }
32
27
  );
33
- var toneClasses = {
28
+ const toneClasses = {
34
29
  neutral: {
35
30
  solid: "bg-[var(--color-inverse-surface)] text-[var(--color-inverse-on-surface)]",
36
31
  soft: "bg-[var(--color-surface-container-high)] text-[var(--color-on-surface-variant)]",
@@ -77,7 +72,7 @@ var toneClasses = {
77
72
  outline: "border-[color:light-dark(var(--color-palette-founderub-80),var(--color-palette-founderub-40))] text-[var(--color-founderub)]"
78
73
  }
79
74
  };
80
- var Badge = React.forwardRef(
75
+ const Badge = React.forwardRef(
81
76
  ({ className, size, variant = "solid", tone = "neutral", leadingIcon, children, ...props }, ref) => {
82
77
  const resolvedVariant = variant ?? "solid";
83
78
  const toneStyle = toneClasses[tone][resolvedVariant];
@@ -96,8 +91,7 @@ var Badge = React.forwardRef(
96
91
  }
97
92
  );
98
93
  Badge.displayName = "Badge";
99
-
100
94
  export {
101
- badgeVariants,
102
- Badge
95
+ Badge,
96
+ badgeVariants
103
97
  };
@@ -0,0 +1,2 @@
1
+ export { Badge, badgeVariants } from './Badge.js';
2
+ export type { BadgeProps } from './Badge.js';
@@ -1,9 +1,4 @@
1
- 'use client';
2
- import {
3
- Badge,
4
- badgeVariants
5
- } from "../../chunk-FBUKWIWR.js";
6
- import "../../chunk-WRVFNYO3.js";
1
+ import { Badge, badgeVariants } from "./Badge.js";
7
2
  export {
8
3
  Badge,
9
4
  badgeVariants
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ asChild?: boolean;
4
+ }
5
+ export declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,20 +1,14 @@
1
- 'use client';
2
- import {
3
- cn
4
- } from "./chunk-WRVFNYO3.js";
5
-
6
- // src/components/Box/Box.tsx
1
+ import { jsx } from "react/jsx-runtime";
7
2
  import * as React from "react";
8
3
  import { Slot } from "@radix-ui/react-slot";
9
- import { jsx } from "react/jsx-runtime";
10
- var Box = React.forwardRef(
4
+ import { cn } from "../../utils/cn.js";
5
+ const Box = React.forwardRef(
11
6
  ({ asChild = false, className, children, ...rest }, ref) => {
12
7
  const Comp = asChild ? Slot : "div";
13
8
  return /* @__PURE__ */ jsx(Comp, { ref, className: cn(className), ...rest, children });
14
9
  }
15
10
  );
16
11
  Box.displayName = "Box";
17
-
18
12
  export {
19
13
  Box
20
14
  };
@@ -0,0 +1,2 @@
1
+ export { Box } from './Box.js';
2
+ export type { BoxProps } from './Box.js';
@@ -1,8 +1,4 @@
1
- 'use client';
2
- import {
3
- Box
4
- } from "../../chunk-ZCHZNGWU.js";
5
- import "../../chunk-WRVFNYO3.js";
1
+ import { Box } from "./Box.js";
6
2
  export {
7
3
  Box
8
4
  };
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ export declare const Breadcrumb: {
3
+ Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
4
+ List: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLOListElement> & React.RefAttributes<HTMLOListElement>>;
5
+ Item: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLIElement> & React.RefAttributes<HTMLLIElement>>;
6
+ Link: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & {
7
+ asChild?: boolean;
8
+ } & React.RefAttributes<HTMLAnchorElement>>;
9
+ Page: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
10
+ Separator: {
11
+ ({ children, className, }: {
12
+ children?: React.ReactNode;
13
+ className?: string;
14
+ }): React.JSX.Element;
15
+ displayName: string;
16
+ };
17
+ Ellipsis: {
18
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
19
+ displayName: string;
20
+ };
21
+ };
@@ -1,20 +1,14 @@
1
- 'use client';
2
- import {
3
- useNexubMessages
4
- } from "./chunk-VMSWIC3O.js";
5
- import {
6
- cn
7
- } from "./chunk-WRVFNYO3.js";
8
-
9
- // src/components/Breadcrumb/Breadcrumb.tsx
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
10
3
  import * as React from "react";
11
4
  import { ChevronRight, MoreHorizontal } from "@nexub/icons";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
- var Root = React.forwardRef(
5
+ import { cn } from "../../utils/cn.js";
6
+ import { useNexubMessages } from "../NexubProvider/NexubProvider.js";
7
+ const Root = React.forwardRef(
14
8
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("nav", { ref, "aria-label": useNexubMessages().breadcrumb, className: cn("", className), ...props })
15
9
  );
16
10
  Root.displayName = "Breadcrumb.Root";
17
- var List = React.forwardRef(
11
+ const List = React.forwardRef(
18
12
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
19
13
  "ol",
20
14
  {
@@ -28,11 +22,11 @@ var List = React.forwardRef(
28
22
  )
29
23
  );
30
24
  List.displayName = "Breadcrumb.List";
31
- var Item = React.forwardRef(
25
+ const Item = React.forwardRef(
32
26
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("inline-flex items-center gap-1.5", className), ...props })
33
27
  );
34
28
  Item.displayName = "Breadcrumb.Item";
35
- var Link = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
29
+ const Link = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
36
30
  "a",
37
31
  {
38
32
  ref,
@@ -42,7 +36,7 @@ var Link = React.forwardRef(({ className, children, ...props }, ref) => /* @__PU
42
36
  }
43
37
  ));
44
38
  Link.displayName = "Breadcrumb.Link";
45
- var Page = React.forwardRef(
39
+ const Page = React.forwardRef(
46
40
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
47
41
  "span",
48
42
  {
@@ -56,7 +50,7 @@ var Page = React.forwardRef(
56
50
  )
57
51
  );
58
52
  Page.displayName = "Breadcrumb.Page";
59
- var Separator = ({
53
+ const Separator = ({
60
54
  children,
61
55
  className
62
56
  }) => /* @__PURE__ */ jsx(
@@ -69,7 +63,7 @@ var Separator = ({
69
63
  }
70
64
  );
71
65
  Separator.displayName = "Breadcrumb.Separator";
72
- var Ellipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs(
66
+ const Ellipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs(
73
67
  "span",
74
68
  {
75
69
  role: "presentation",
@@ -83,8 +77,7 @@ var Ellipsis = ({ className, ...props }) => /* @__PURE__ */ jsxs(
83
77
  }
84
78
  );
85
79
  Ellipsis.displayName = "Breadcrumb.Ellipsis";
86
- var Breadcrumb = { Root, List, Item, Link, Page, Separator, Ellipsis };
87
-
80
+ const Breadcrumb = { Root, List, Item, Link, Page, Separator, Ellipsis };
88
81
  export {
89
82
  Breadcrumb
90
83
  };
@@ -0,0 +1 @@
1
+ export { Breadcrumb } from './Breadcrumb.js';
@@ -1,9 +1,4 @@
1
- 'use client';
2
- import {
3
- Breadcrumb
4
- } from "../../chunk-SQGRT72E.js";
5
- import "../../chunk-VMSWIC3O.js";
6
- import "../../chunk-WRVFNYO3.js";
1
+ import { Breadcrumb } from "./Breadcrumb.js";
7
2
  export {
8
3
  Breadcrumb
9
4
  };
@@ -0,0 +1,30 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import type { ToneValue } from '@nexub/core';
4
+ export type { ToneValue };
5
+ export { toneTextClasses } from '../../utils/control.js';
6
+ export declare const buttonVariants: (props?: ({
7
+ variant?: "accent" | "text" | "link" | "outline" | "glass" | "ghost" | "subtle" | "filled" | "tonal" | "outlined" | "hero" | "primary" | "secondary" | "destructive" | null | undefined;
8
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
9
+ fullWidth?: boolean | null | undefined;
10
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
11
+ export type ButtonStatus = 'idle' | 'loading' | 'success' | 'error';
12
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
13
+ tone?: ToneValue;
14
+ /** Async feedback. `loading` blocks clicks (aria-disabled, focus kept),
15
+ * `success` draws a check, `error` shakes once. Not applied with `asChild`. */
16
+ status?: ButtonStatus;
17
+ /** Alias for `status="loading"`. */
18
+ loading?: boolean;
19
+ /** Announced while loading. @default 'Loading' */
20
+ loadingLabel?: string;
21
+ /** Announced on success; when given it also replaces the visible label. @default 'Done' */
22
+ successLabel?: string;
23
+ /** Announced on error. @default 'Something went wrong' */
24
+ errorLabel?: string;
25
+ fullWidth?: boolean;
26
+ leadingIcon?: React.ReactNode;
27
+ trailingIcon?: React.ReactNode;
28
+ asChild?: boolean;
29
+ }
30
+ export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,34 +1,14 @@
1
- 'use client';
2
- import {
3
- disabledContainer,
4
- disabledText,
5
- pressable
6
- } from "./chunk-VALIDQXU.js";
7
- import {
8
- glassSurfaceClass
9
- } from "./chunk-DEIBF3P7.js";
10
- import {
11
- cn
12
- } from "./chunk-WRVFNYO3.js";
13
-
14
- // src/components/Button/Button.tsx
1
+ "use client";
2
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
3
  import * as React from "react";
16
4
  import { Slot } from "@radix-ui/react-slot";
17
5
  import { Loader2 } from "@nexub/icons";
18
6
  import { cva } from "class-variance-authority";
19
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
20
- var toneTextClasses = {
21
- neutral: "text-[var(--color-on-surface-variant)]",
22
- info: "text-[var(--color-info)]",
23
- success: "text-[var(--color-success)]",
24
- warning: "text-[var(--color-warning)]",
25
- danger: "text-[var(--color-error)]",
26
- leap: "text-[var(--color-leap)]",
27
- bookub: "text-[var(--color-bookub)]",
28
- payub: "text-[var(--color-payub)]",
29
- founderub: "text-[var(--color-founderub)]"
30
- };
31
- var toneClasses = {
7
+ import { cn } from "../../utils/cn.js";
8
+ import { disabledContainer, disabledText, pressable } from "../../utils/control.js";
9
+ import { glassSurfaceClass } from "../../utils/glass.js";
10
+ import { toneTextClasses } from "../../utils/control.js";
11
+ const toneClasses = {
32
12
  neutral: "bg-[var(--color-surface-container-high)] text-[var(--color-on-surface)]",
33
13
  info: "bg-[var(--color-info)] text-[var(--color-on-info)]",
34
14
  success: "bg-[var(--color-success)] text-[var(--color-on-success)]",
@@ -39,11 +19,11 @@ var toneClasses = {
39
19
  payub: "bg-[var(--color-payub)] text-[var(--color-on-payub)]",
40
20
  founderub: "bg-[var(--color-founderub)] text-[var(--color-on-founderub)]"
41
21
  };
42
- var filled = `bg-[var(--button-filled-bg,var(--color-primary))] text-[var(--button-filled-fg,var(--color-on-primary))] ${disabledContainer}`;
43
- var tonal = `bg-[var(--button-tonal-bg,var(--color-secondary-container))] text-[var(--button-tonal-fg,var(--color-on-secondary-container))] ${disabledContainer}`;
44
- var outlined = `bg-transparent border border-[var(--button-outlined-border,var(--color-outline-variant))] text-[var(--button-outlined-fg,var(--color-on-surface))] ${disabledContainer}`;
45
- var text = `bg-transparent text-[var(--button-text-fg,var(--color-on-surface))] ${disabledText}`;
46
- var buttonVariants = cva(
22
+ const filled = `bg-[var(--button-filled-bg,var(--color-primary))] text-[var(--button-filled-fg,var(--color-on-primary))] ${disabledContainer}`;
23
+ const tonal = `bg-[var(--button-tonal-bg,var(--color-secondary-container))] text-[var(--button-tonal-fg,var(--color-on-secondary-container))] ${disabledContainer}`;
24
+ const outlined = `bg-transparent border border-[var(--button-outlined-border,var(--color-outline-variant))] text-[var(--button-outlined-fg,var(--color-on-surface))] ${disabledContainer}`;
25
+ const text = `bg-transparent text-[var(--button-text-fg,var(--color-on-surface))] ${disabledText}`;
26
+ const buttonVariants = cva(
47
27
  [pressable, "nx-hit relative inline-flex items-center justify-center gap-2 whitespace-nowrap"],
48
28
  {
49
29
  variants: {
@@ -54,6 +34,9 @@ var buttonVariants = cva(
54
34
  text,
55
35
  // Thin glass: for buttons floating over content/media (toolbars, media controls).
56
36
  glass: `border ${glassSurfaceClass} text-[var(--color-on-surface)] ${disabledContainer}`,
37
+ // Marketing mode (@nexub/themes/marketing): gradient, glow and a spring
38
+ // lift. Without [data-mode="marketing"] it is a filled button.
39
+ hero: `${filled} nx-mkt-hero-button`,
57
40
  // Legacy names (kept as aliases).
58
41
  primary: filled,
59
42
  secondary: tonal,
@@ -82,8 +65,8 @@ var buttonVariants = cva(
82
65
  }
83
66
  }
84
67
  );
85
- var CheckIcon = () => /* @__PURE__ */ jsx("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { className: "nx-check-draw", pathLength: 1, d: "M20 6 9 17l-5-5" }) });
86
- var Button = React.forwardRef(
68
+ const CheckIcon = () => /* @__PURE__ */ jsx("svg", { className: "h-4 w-4", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ jsx("path", { className: "nx-check-draw", pathLength: 1, d: "M20 6 9 17l-5-5" }) });
69
+ const Button = React.forwardRef(
87
70
  ({
88
71
  className,
89
72
  variant,
@@ -159,9 +142,8 @@ var Button = React.forwardRef(
159
142
  }
160
143
  );
161
144
  Button.displayName = "Button";
162
-
163
145
  export {
164
- toneTextClasses,
146
+ Button,
165
147
  buttonVariants,
166
- Button
148
+ toneTextClasses
167
149
  };
@@ -0,0 +1,2 @@
1
+ export { Button, buttonVariants } from './Button.js';
2
+ export type { ButtonProps, ButtonStatus, ToneValue } from './Button.js';
@@ -1,12 +1,4 @@
1
- 'use client';
2
- import "../../chunk-P26VJEIW.js";
3
- import {
4
- Button,
5
- buttonVariants
6
- } from "../../chunk-GHLMHKMV.js";
7
- import "../../chunk-VALIDQXU.js";
8
- import "../../chunk-DEIBF3P7.js";
9
- import "../../chunk-WRVFNYO3.js";
1
+ import { Button, buttonVariants } from "./Button.js";
10
2
  export {
11
3
  Button,
12
4
  buttonVariants
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ export interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ orientation?: 'horizontal' | 'vertical';
4
+ attached?: boolean;
5
+ }
6
+ export declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,12 +1,7 @@
1
- 'use client';
2
- import {
3
- cn
4
- } from "./chunk-WRVFNYO3.js";
5
-
6
- // src/components/ButtonGroup/ButtonGroup.tsx
7
- import * as React from "react";
8
1
  import { jsx } from "react/jsx-runtime";
9
- var ButtonGroup = React.forwardRef(
2
+ import * as React from "react";
3
+ import { cn } from "../../utils/cn.js";
4
+ const ButtonGroup = React.forwardRef(
10
5
  ({ className, orientation = "horizontal", attached = false, children, ...props }, ref) => {
11
6
  return /* @__PURE__ */ jsx(
12
7
  "div",
@@ -34,7 +29,6 @@ var ButtonGroup = React.forwardRef(
34
29
  }
35
30
  );
36
31
  ButtonGroup.displayName = "ButtonGroup";
37
-
38
32
  export {
39
33
  ButtonGroup
40
34
  };
@@ -0,0 +1,2 @@
1
+ export { ButtonGroup } from './ButtonGroup.js';
2
+ export type { ButtonGroupProps } from './ButtonGroup.js';
@@ -1,9 +1,4 @@
1
- 'use client';
2
- import "../../chunk-LVPU7455.js";
3
- import {
4
- ButtonGroup
5
- } from "../../chunk-7EQ2LIYD.js";
6
- import "../../chunk-WRVFNYO3.js";
1
+ import { ButtonGroup } from "./ButtonGroup.js";
7
2
  export {
8
3
  ButtonGroup
9
4
  };
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import type { ToneValue } from '../Button/Button.js';
4
+ export declare const cardVariants: (props?: ({
5
+ variant?: "flat" | "surface" | "interactive" | "showcase" | null | undefined;
6
+ surface?: "solid" | "glass" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ export interface CardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
9
+ tone?: ToneValue;
10
+ surface?: 'solid' | 'glass';
11
+ /** `sheen`: a soft light follows the pointer (opt-in; off for touch and reduced motion). */
12
+ effect?: 'none' | 'sheen';
13
+ /** Product accent for `variant="showcase"`: a coloured top edge and tint in marketing mode. Sets `data-product`. */
14
+ accent?: 'leap' | 'bookub' | 'payub' | 'founderub';
15
+ asChild?: boolean;
16
+ }
17
+ export declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
18
+ export interface CardLinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
19
+ asChild?: boolean;
20
+ }
21
+ /**
22
+ * Makes the whole card one link (the "stretched link" pattern): put it around
23
+ * the card's title. Its ::after covers the card, so the link has one
24
+ * accessible name and the focus ring shows on the card. Give other
25
+ * interactive elements inside the card `relative z-[1]` to keep them clickable.
26
+ */
27
+ export declare const CardLink: React.ForwardRefExoticComponent<CardLinkProps & React.RefAttributes<HTMLAnchorElement>>;