@nexus-cross/design-system 1.0.6-beta.2 → 1.0.7

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 (403) hide show
  1. package/DESIGN.md +185 -0
  2. package/cursor-rules/nexus-ui-api.mdc +223 -7
  3. package/cursor-rules/nexus-ui-components.mdc +44 -17
  4. package/dist/alert.js +16 -0
  5. package/dist/alert.mjs +3 -0
  6. package/dist/badge.js +16 -0
  7. package/dist/badge.mjs +3 -0
  8. package/dist/breadcrumb.js +12 -0
  9. package/dist/breadcrumb.mjs +3 -0
  10. package/dist/chunks/chunk-22O6YUYH.mjs +5 -0
  11. package/dist/chunks/chunk-2N2EPBO4.js +120 -0
  12. package/dist/chunks/{chunk-AFSEYJZT.js → chunk-2T7RUYEK.js} +175 -50
  13. package/dist/chunks/chunk-2UPGFY6E.mjs +76 -0
  14. package/dist/chunks/{chunk-VGO4Z2WH.js → chunk-3RK3UT2O.js} +50 -12
  15. package/dist/chunks/chunk-3ZWN66YH.js +53 -0
  16. package/dist/chunks/chunk-5PQ3UCKF.js +99 -0
  17. package/dist/chunks/chunk-6BWOKTVQ.mjs +87 -0
  18. package/dist/chunks/chunk-6DBRL6NA.mjs +81 -0
  19. package/dist/chunks/{chunk-HNLI646G.mjs → chunk-AAITRHED.mjs} +51 -13
  20. package/dist/chunks/chunk-B5O6W3Z4.mjs +73 -0
  21. package/dist/chunks/chunk-BJM3NDT2.mjs +368 -0
  22. package/dist/chunks/chunk-C2DSAJTL.js +109 -0
  23. package/dist/chunks/chunk-CUTMLBC3.mjs +86 -0
  24. package/dist/chunks/chunk-CV4GMFWP.js +174 -0
  25. package/dist/chunks/chunk-DICN6GKE.js +99 -0
  26. package/dist/chunks/chunk-DYPPVXQF.js +143 -0
  27. package/dist/chunks/chunk-EJY7IVSK.mjs +31 -0
  28. package/dist/chunks/chunk-FUIBYZZ4.mjs +98 -0
  29. package/dist/chunks/chunk-H2G5FMRN.mjs +75 -0
  30. package/dist/chunks/chunk-H2V7RHYV.mjs +120 -0
  31. package/dist/chunks/chunk-MMCA33FW.mjs +85 -0
  32. package/dist/chunks/chunk-NZHK76R3.js +109 -0
  33. package/dist/chunks/chunk-OE5BAEBE.js +7 -0
  34. package/dist/chunks/chunk-P73MEU7N.mjs +150 -0
  35. package/dist/chunks/chunk-PDJTSQOC.js +59 -0
  36. package/dist/chunks/chunk-S2GMEC43.js +109 -0
  37. package/dist/chunks/chunk-X3CTJ7TD.js +108 -0
  38. package/dist/chunks/chunk-XGIJZ3NZ.js +160 -0
  39. package/dist/chunks/chunk-YO5MSDPX.mjs +36 -0
  40. package/dist/chunks/chunk-ZI4LN2B2.js +96 -0
  41. package/dist/chunks/chunk-ZU4AWAFT.mjs +137 -0
  42. package/dist/component-tokens/button.d.ts +3 -0
  43. package/dist/component-tokens/button.d.ts.map +1 -0
  44. package/dist/component-tokens/index.d.ts +3 -0
  45. package/dist/component-tokens/index.d.ts.map +1 -0
  46. package/dist/component-tokens/types.d.ts +19 -0
  47. package/dist/component-tokens/types.d.ts.map +1 -0
  48. package/dist/{accordion.d.mts → components/Accordion.d.ts} +2 -3
  49. package/dist/components/Accordion.d.ts.map +1 -0
  50. package/dist/components/Alert.d.ts +16 -0
  51. package/dist/components/Alert.d.ts.map +1 -0
  52. package/dist/{avatar.d.mts → components/Avatar.d.ts} +5 -6
  53. package/dist/components/Avatar.d.ts.map +1 -0
  54. package/dist/components/Badge.d.ts +17 -0
  55. package/dist/components/Badge.d.ts.map +1 -0
  56. package/dist/components/Breadcrumb.d.ts +15 -0
  57. package/dist/components/Breadcrumb.d.ts.map +1 -0
  58. package/dist/{button.d.mts → components/Button.d.ts} +5 -6
  59. package/dist/components/Button.d.ts.map +1 -0
  60. package/dist/{carousel.d.mts → components/Carousel.d.ts} +5 -6
  61. package/dist/components/Carousel.d.ts.map +1 -0
  62. package/dist/{checkbox.d.mts → components/CheckBox.d.ts} +6 -7
  63. package/dist/components/CheckBox.d.ts.map +1 -0
  64. package/dist/{chip.d.mts → components/Chip.d.ts} +6 -7
  65. package/dist/components/Chip.d.ts.map +1 -0
  66. package/dist/{client-only.d.mts → components/ClientOnly.d.ts} +4 -5
  67. package/dist/components/ClientOnly.d.ts.map +1 -0
  68. package/dist/{countdown.d.mts → components/Countdown.d.ts} +3 -3
  69. package/dist/components/Countdown.d.ts.map +1 -0
  70. package/dist/{counter.d.mts → components/Counter.d.ts} +3 -3
  71. package/dist/components/Counter.d.ts.map +1 -0
  72. package/dist/{data-list.d.mts → components/DataList.d.ts} +4 -5
  73. package/dist/components/DataList.d.ts.map +1 -0
  74. package/dist/components/DatePicker.d.ts +17 -0
  75. package/dist/components/DatePicker.d.ts.map +1 -0
  76. package/dist/{divider.d.mts → components/Divider.d.ts} +5 -6
  77. package/dist/components/Divider.d.ts.map +1 -0
  78. package/dist/{drawer.d.mts → components/Drawer.d.ts} +13 -15
  79. package/dist/components/Drawer.d.ts.map +1 -0
  80. package/dist/components/DropdownMenu.d.ts +30 -0
  81. package/dist/components/DropdownMenu.d.ts.map +1 -0
  82. package/dist/{ellipsis.d.mts → components/Ellipsis.d.ts} +4 -5
  83. package/dist/components/Ellipsis.d.ts.map +1 -0
  84. package/dist/components/EmptyState.d.ts +15 -0
  85. package/dist/components/EmptyState.d.ts.map +1 -0
  86. package/dist/{error-boundary.d.mts → components/ErrorBoundary.d.ts} +4 -5
  87. package/dist/components/ErrorBoundary.d.ts.map +1 -0
  88. package/dist/{infinite-scroll.d.mts → components/InfiniteScroll.d.ts} +5 -6
  89. package/dist/components/InfiniteScroll.d.ts.map +1 -0
  90. package/dist/{marquee.d.mts → components/Marquee.d.ts} +3 -3
  91. package/dist/components/Marquee.d.ts.map +1 -0
  92. package/dist/{number-input.d.mts → components/NumberInput.d.ts} +10 -12
  93. package/dist/components/NumberInput.d.ts.map +1 -0
  94. package/dist/components/NxImage.d.ts +13 -0
  95. package/dist/components/NxImage.d.ts.map +1 -0
  96. package/dist/{pagination.d.mts → components/Pagination.d.ts} +6 -7
  97. package/dist/components/Pagination.d.ts.map +1 -0
  98. package/dist/components/Popover.d.ts +23 -0
  99. package/dist/components/Popover.d.ts.map +1 -0
  100. package/dist/{price-input.d.mts → components/PriceInput.d.ts} +5 -6
  101. package/dist/components/PriceInput.d.ts.map +1 -0
  102. package/dist/components/Progress.d.ts +17 -0
  103. package/dist/components/Progress.d.ts.map +1 -0
  104. package/dist/{radio-group.d.mts → components/RadioGroup.d.ts} +6 -7
  105. package/dist/components/RadioGroup.d.ts.map +1 -0
  106. package/dist/{select.d.mts → components/Select.d.ts} +7 -10
  107. package/dist/components/Select.d.ts.map +1 -0
  108. package/dist/{skeleton.d.mts → components/Skeleton.d.ts} +3 -3
  109. package/dist/components/Skeleton.d.ts.map +1 -0
  110. package/dist/components/Slider.d.ts +19 -0
  111. package/dist/components/Slider.d.ts.map +1 -0
  112. package/dist/{spinner.d.mts → components/Spinner.d.ts} +3 -3
  113. package/dist/components/Spinner.d.ts.map +1 -0
  114. package/dist/components/Stepper.d.ts +19 -0
  115. package/dist/components/Stepper.d.ts.map +1 -0
  116. package/dist/{switch.d.mts → components/Switch.d.ts} +5 -6
  117. package/dist/components/Switch.d.ts.map +1 -0
  118. package/dist/{tab.d.mts → components/Tab.d.ts} +7 -9
  119. package/dist/components/Tab.d.ts.map +1 -0
  120. package/dist/components/TagInput.d.ts +20 -0
  121. package/dist/components/TagInput.d.ts.map +1 -0
  122. package/dist/components/TextArea.d.ts +18 -0
  123. package/dist/components/TextArea.d.ts.map +1 -0
  124. package/dist/{text-input.d.mts → components/TextInput.d.ts} +5 -6
  125. package/dist/components/TextInput.d.ts.map +1 -0
  126. package/dist/{theme-provider.d.mts → components/ThemeProvider.d.ts} +3 -3
  127. package/dist/components/ThemeProvider.d.ts.map +1 -0
  128. package/dist/components/ToggleGroup.d.ts +35 -0
  129. package/dist/components/ToggleGroup.d.ts.map +1 -0
  130. package/dist/{tooltip.d.mts → components/Tooltip.d.ts} +6 -10
  131. package/dist/components/Tooltip.d.ts.map +1 -0
  132. package/dist/{virtual-scroll.d.mts → components/VirtualScroll.d.ts} +4 -4
  133. package/dist/components/VirtualScroll.d.ts.map +1 -0
  134. package/dist/date-picker.js +12 -0
  135. package/dist/date-picker.mjs +3 -0
  136. package/dist/dropdown-menu.js +32 -0
  137. package/dist/dropdown-menu.mjs +3 -0
  138. package/dist/empty-state.js +16 -0
  139. package/dist/empty-state.mjs +3 -0
  140. package/dist/hooks/useCheckDevice.d.ts +4 -4
  141. package/dist/hooks/useCheckDevice.d.ts.map +1 -0
  142. package/dist/hooks/useClickOutside.d.ts +2 -2
  143. package/dist/hooks/useClickOutside.d.ts.map +1 -0
  144. package/dist/hooks/useDraggableBottomSheet.d.ts +3 -3
  145. package/dist/hooks/useDraggableBottomSheet.d.ts.map +1 -0
  146. package/dist/hooks/useDraggableWindow.d.ts +5 -7
  147. package/dist/hooks/useDraggableWindow.d.ts.map +1 -0
  148. package/dist/hooks/useInView.d.ts +3 -3
  149. package/dist/hooks/useInView.d.ts.map +1 -0
  150. package/dist/hooks/useModal.d.ts +48 -2
  151. package/dist/hooks/useModal.d.ts.map +1 -0
  152. package/dist/index.d.ts +100 -77
  153. package/dist/index.d.ts.map +1 -0
  154. package/dist/index.js +269 -157
  155. package/dist/index.mjs +30 -18
  156. package/dist/modal/Modal.d.ts +52 -0
  157. package/dist/modal/Modal.d.ts.map +1 -0
  158. package/dist/modal/components/ModalComponent.d.ts +22 -0
  159. package/dist/modal/components/ModalComponent.d.ts.map +1 -0
  160. package/dist/modal/components/ModalContainer.d.ts +9 -0
  161. package/dist/modal/components/ModalContainer.d.ts.map +1 -0
  162. package/dist/modal/components/ModalPortal.d.ts +8 -0
  163. package/dist/modal/components/ModalPortal.d.ts.map +1 -0
  164. package/dist/modal/components/ModalPortalTarget.d.ts +7 -0
  165. package/dist/modal/components/ModalPortalTarget.d.ts.map +1 -0
  166. package/dist/modal/components/ModalTemplate.d.ts +20 -0
  167. package/dist/modal/components/ModalTemplate.d.ts.map +1 -0
  168. package/dist/modal/components/ModalTemplate.variants.d.ts +29 -0
  169. package/dist/modal/components/ModalTemplate.variants.d.ts.map +1 -0
  170. package/dist/modal/constants.d.ts +3 -0
  171. package/dist/modal/constants.d.ts.map +1 -0
  172. package/dist/modal/index.d.ts +11 -82
  173. package/dist/modal/index.d.ts.map +1 -0
  174. package/dist/modal/index.js +12 -12
  175. package/dist/modal/index.mjs +3 -3
  176. package/dist/modal/types.d.ts +90 -0
  177. package/dist/modal/types.d.ts.map +1 -0
  178. package/dist/number-input.js +4 -4
  179. package/dist/number-input.mjs +1 -1
  180. package/dist/nx-image.js +12 -0
  181. package/dist/nx-image.mjs +3 -0
  182. package/dist/progress.js +16 -0
  183. package/dist/progress.mjs +3 -0
  184. package/dist/schemas/_all.json +840 -13
  185. package/dist/schemas/accordion.d.ts +67 -0
  186. package/dist/schemas/accordion.d.ts.map +1 -0
  187. package/dist/schemas/alert.d.ts +30 -0
  188. package/dist/schemas/alert.d.ts.map +1 -0
  189. package/dist/schemas/alert.json +49 -0
  190. package/dist/schemas/avatar.d.ts +30 -0
  191. package/dist/schemas/avatar.d.ts.map +1 -0
  192. package/dist/schemas/badge.d.ts +33 -0
  193. package/dist/schemas/badge.d.ts.map +1 -0
  194. package/dist/schemas/badge.json +76 -0
  195. package/dist/schemas/breadcrumb.d.ts +38 -0
  196. package/dist/schemas/breadcrumb.d.ts.map +1 -0
  197. package/dist/schemas/breadcrumb.json +47 -0
  198. package/dist/schemas/button.d.ts +42 -0
  199. package/dist/schemas/button.d.ts.map +1 -0
  200. package/dist/schemas/carousel.d.ts +48 -0
  201. package/dist/schemas/carousel.d.ts.map +1 -0
  202. package/dist/schemas/checkbox.d.ts +48 -0
  203. package/dist/schemas/checkbox.d.ts.map +1 -0
  204. package/dist/schemas/chip.d.ts +30 -0
  205. package/dist/schemas/chip.d.ts.map +1 -0
  206. package/dist/schemas/client-only.d.ts +12 -0
  207. package/dist/schemas/client-only.d.ts.map +1 -0
  208. package/dist/schemas/countdown.d.ts +52 -0
  209. package/dist/schemas/countdown.d.ts.map +1 -0
  210. package/dist/schemas/counter.d.ts +36 -0
  211. package/dist/schemas/counter.d.ts.map +1 -0
  212. package/dist/schemas/data-list.d.ts +33 -0
  213. package/dist/schemas/data-list.d.ts.map +1 -0
  214. package/dist/schemas/date-picker.d.ts +36 -0
  215. package/dist/schemas/date-picker.d.ts.map +1 -0
  216. package/dist/schemas/datePicker.json +56 -0
  217. package/dist/schemas/divider.d.ts +21 -0
  218. package/dist/schemas/divider.d.ts.map +1 -0
  219. package/dist/schemas/drawer.d.ts +95 -0
  220. package/dist/schemas/drawer.d.ts.map +1 -0
  221. package/dist/schemas/dropdown-menu.d.ts +64 -0
  222. package/dist/schemas/dropdown-menu.d.ts.map +1 -0
  223. package/dist/schemas/dropdownMenu.json +83 -0
  224. package/dist/schemas/ellipsis.d.ts +30 -0
  225. package/dist/schemas/ellipsis.d.ts.map +1 -0
  226. package/dist/schemas/empty-state.d.ts +27 -0
  227. package/dist/schemas/empty-state.d.ts.map +1 -0
  228. package/dist/schemas/emptyState.json +44 -0
  229. package/dist/schemas/error-boundary.d.ts +15 -0
  230. package/dist/schemas/error-boundary.d.ts.map +1 -0
  231. package/dist/schemas/index.d.ts +47 -0
  232. package/dist/schemas/index.d.ts.map +1 -0
  233. package/dist/schemas/infinite-scroll.d.ts +39 -0
  234. package/dist/schemas/infinite-scroll.d.ts.map +1 -0
  235. package/dist/schemas/marquee.d.ts +27 -0
  236. package/dist/schemas/marquee.d.ts.map +1 -0
  237. package/dist/schemas/modal.d.ts +176 -0
  238. package/dist/schemas/modal.d.ts.map +1 -0
  239. package/dist/schemas/number-input.d.ts +72 -0
  240. package/dist/schemas/number-input.d.ts.map +1 -0
  241. package/dist/schemas/numberInput.json +27 -8
  242. package/dist/schemas/nx-image.d.ts +33 -0
  243. package/dist/schemas/nx-image.d.ts.map +1 -0
  244. package/dist/schemas/nxImage.json +56 -0
  245. package/dist/schemas/pagination.d.ts +27 -0
  246. package/dist/schemas/pagination.d.ts.map +1 -0
  247. package/dist/schemas/popover.d.ts +39 -0
  248. package/dist/schemas/popover.d.ts.map +1 -0
  249. package/dist/schemas/price-input.d.ts +63 -0
  250. package/dist/schemas/price-input.d.ts.map +1 -0
  251. package/dist/schemas/progress.d.ts +30 -0
  252. package/dist/schemas/progress.d.ts.map +1 -0
  253. package/dist/schemas/progress.json +63 -0
  254. package/dist/schemas/radio-group.d.ts +61 -0
  255. package/dist/schemas/radio-group.d.ts.map +1 -0
  256. package/dist/schemas/select.d.ts +52 -0
  257. package/dist/schemas/select.d.ts.map +1 -0
  258. package/dist/schemas/skeleton.d.ts +27 -0
  259. package/dist/schemas/skeleton.d.ts.map +1 -0
  260. package/dist/schemas/slider.d.ts +45 -0
  261. package/dist/schemas/slider.d.ts.map +1 -0
  262. package/dist/schemas/slider.json +78 -0
  263. package/dist/schemas/spinner.d.ts +21 -0
  264. package/dist/schemas/spinner.d.ts.map +1 -0
  265. package/dist/schemas/stepper.d.ts +39 -0
  266. package/dist/schemas/stepper.d.ts.map +1 -0
  267. package/dist/schemas/stepper.json +73 -0
  268. package/dist/schemas/switch.d.ts +33 -0
  269. package/dist/schemas/switch.d.ts.map +1 -0
  270. package/dist/schemas/tab.d.ts +61 -0
  271. package/dist/schemas/tab.d.ts.map +1 -0
  272. package/dist/schemas/table.d.ts +113 -0
  273. package/dist/schemas/table.d.ts.map +1 -0
  274. package/dist/schemas/tag-input.d.ts +39 -0
  275. package/dist/schemas/tag-input.d.ts.map +1 -0
  276. package/dist/schemas/tagInput.json +70 -0
  277. package/dist/schemas/text-area.d.ts +69 -0
  278. package/dist/schemas/text-area.d.ts.map +1 -0
  279. package/dist/schemas/text-input.d.ts +78 -0
  280. package/dist/schemas/text-input.d.ts.map +1 -0
  281. package/dist/schemas/textArea.json +26 -1
  282. package/dist/schemas/theme-provider.d.ts +36 -0
  283. package/dist/schemas/theme-provider.d.ts.map +1 -0
  284. package/dist/schemas/toast.d.ts +91 -0
  285. package/dist/schemas/toast.d.ts.map +1 -0
  286. package/dist/schemas/toggle-group.d.ts +58 -0
  287. package/dist/schemas/toggle-group.d.ts.map +1 -0
  288. package/dist/schemas/toggleGroup.json +88 -0
  289. package/dist/schemas/tooltip.d.ts +33 -0
  290. package/dist/schemas/tooltip.d.ts.map +1 -0
  291. package/dist/schemas/virtual-scroll.d.ts +67 -0
  292. package/dist/schemas/virtual-scroll.d.ts.map +1 -0
  293. package/dist/schemas.js +177 -7
  294. package/dist/schemas.mjs +166 -8
  295. package/dist/slider.js +16 -0
  296. package/dist/slider.mjs +3 -0
  297. package/dist/stepper.js +16 -0
  298. package/dist/stepper.mjs +3 -0
  299. package/dist/styles/.generated/built.d.ts +3 -0
  300. package/dist/styles/.generated/built.d.ts.map +1 -0
  301. package/dist/styles/inject-layer.d.ts +2 -0
  302. package/dist/styles/inject-layer.d.ts.map +1 -0
  303. package/dist/styles/inject.d.ts +2 -0
  304. package/dist/styles/inject.d.ts.map +1 -0
  305. package/dist/styles/layer.js +2 -2
  306. package/dist/styles/layer.mjs +1 -1
  307. package/dist/styles.css +1655 -162
  308. package/dist/styles.js +2 -2
  309. package/dist/styles.layered.css +1655 -162
  310. package/dist/styles.mjs +1 -1
  311. package/dist/table/Table.d.ts +20 -0
  312. package/dist/table/Table.d.ts.map +1 -0
  313. package/dist/table/TableHighlightContext.d.ts +11 -0
  314. package/dist/table/TableHighlightContext.d.ts.map +1 -0
  315. package/dist/table/TableRow.d.ts +17 -0
  316. package/dist/table/TableRow.d.ts.map +1 -0
  317. package/dist/table/TdColumn.d.ts +14 -0
  318. package/dist/table/TdColumn.d.ts.map +1 -0
  319. package/dist/table/index.d.ts +23 -0
  320. package/dist/table/index.d.ts.map +1 -0
  321. package/dist/table/types.d.ts +27 -0
  322. package/dist/table/types.d.ts.map +1 -0
  323. package/dist/table.js +7 -7
  324. package/dist/table.mjs +1 -1
  325. package/dist/tag-input.js +16 -0
  326. package/dist/tag-input.mjs +3 -0
  327. package/dist/text-area.js +3 -3
  328. package/dist/text-area.mjs +1 -1
  329. package/dist/toast/Toast.d.ts +8 -0
  330. package/dist/toast/Toast.d.ts.map +1 -0
  331. package/dist/toast/index.d.ts +6 -0
  332. package/dist/toast/index.d.ts.map +1 -0
  333. package/dist/{toast.d.ts → toast/useToast.d.ts} +4 -14
  334. package/dist/toast/useToast.d.ts.map +1 -0
  335. package/dist/toggle-group.js +16 -0
  336. package/dist/toggle-group.mjs +3 -0
  337. package/dist/utils/cn.d.ts +3 -5
  338. package/dist/utils/cn.d.ts.map +1 -0
  339. package/dist/utils/scroll.d.ts +3 -4
  340. package/dist/utils/scroll.d.ts.map +1 -0
  341. package/package.json +104 -38
  342. package/scripts/setup-cursor-rules.cjs +15 -1
  343. package/dist/accordion.d.ts +0 -28
  344. package/dist/avatar.d.ts +0 -17
  345. package/dist/button.d.ts +0 -17
  346. package/dist/carousel.d.ts +0 -36
  347. package/dist/checkbox.d.ts +0 -21
  348. package/dist/chip.d.ts +0 -16
  349. package/dist/chunks/chunk-26BUGBOY.mjs +0 -57
  350. package/dist/chunks/chunk-CLGH2RTS.js +0 -7
  351. package/dist/chunks/chunk-ECVAVQUY.mjs +0 -243
  352. package/dist/chunks/chunk-UPCWJWXR.mjs +0 -5
  353. package/dist/chunks/chunk-WR55D4ZS.js +0 -80
  354. package/dist/client-only.d.ts +0 -13
  355. package/dist/countdown.d.ts +0 -27
  356. package/dist/counter.d.ts +0 -15
  357. package/dist/data-list.d.ts +0 -33
  358. package/dist/divider.d.ts +0 -14
  359. package/dist/drawer.d.ts +0 -42
  360. package/dist/ellipsis.d.ts +0 -16
  361. package/dist/error-boundary.d.ts +0 -20
  362. package/dist/hooks/useCheckDevice.d.mts +0 -47
  363. package/dist/hooks/useClickOutside.d.mts +0 -12
  364. package/dist/hooks/useDraggableBottomSheet.d.mts +0 -24
  365. package/dist/hooks/useDraggableWindow.d.mts +0 -21
  366. package/dist/hooks/useInView.d.mts +0 -14
  367. package/dist/hooks/useModal.d.mts +0 -2
  368. package/dist/index.d.mts +0 -77
  369. package/dist/infinite-scroll.d.ts +0 -26
  370. package/dist/marquee.d.ts +0 -12
  371. package/dist/modal/index.d.mts +0 -87
  372. package/dist/number-input.d.ts +0 -38
  373. package/dist/pagination.d.ts +0 -22
  374. package/dist/popover.d.mts +0 -25
  375. package/dist/popover.d.ts +0 -25
  376. package/dist/price-input.d.ts +0 -36
  377. package/dist/radio-group.d.ts +0 -29
  378. package/dist/schemas.d.mts +0 -1689
  379. package/dist/schemas.d.ts +0 -1689
  380. package/dist/select.d.ts +0 -31
  381. package/dist/skeleton.d.ts +0 -15
  382. package/dist/spinner.d.ts +0 -9
  383. package/dist/styles/layer.d.mts +0 -3
  384. package/dist/styles/layer.d.ts +0 -3
  385. package/dist/styles.d.mts +0 -3
  386. package/dist/styles.d.ts +0 -3
  387. package/dist/switch.d.ts +0 -15
  388. package/dist/tab.d.ts +0 -36
  389. package/dist/table.d.mts +0 -80
  390. package/dist/table.d.ts +0 -80
  391. package/dist/text-area.d.mts +0 -15
  392. package/dist/text-area.d.ts +0 -15
  393. package/dist/text-input.d.ts +0 -21
  394. package/dist/theme-provider.d.ts +0 -25
  395. package/dist/toast.d.mts +0 -42
  396. package/dist/tooltip.d.ts +0 -24
  397. package/dist/useModal-BsGIcP8t.d.mts +0 -128
  398. package/dist/useModal-BsGIcP8t.d.ts +0 -128
  399. package/dist/utils/cn.d.mts +0 -5
  400. package/dist/utils/scroll.d.mts +0 -4
  401. package/dist/virtual-scroll.d.ts +0 -34
  402. package/dist/chunks/{chunk-3VFBPFZF.mjs → chunk-CWMLTXOH.mjs} +2 -2
  403. package/dist/chunks/{chunk-U53UA76K.js → chunk-HFBTS42N.js} +2 -2
@@ -0,0 +1,368 @@
1
+ import { cn } from './chunk-MCKOWMLS.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsxs, jsx } from 'react/jsx-runtime';
5
+
6
+ var numberInputVariants = cva("nexus-number-input", {
7
+ variants: {
8
+ variant: {
9
+ basic: "nexus-number-input--basic",
10
+ bind: "nexus-number-input--bind"
11
+ },
12
+ size: {
13
+ lg: "nexus-number-input--lg",
14
+ xl: "nexus-number-input--xl"
15
+ }
16
+ },
17
+ defaultVariants: { variant: "basic", size: "lg" }
18
+ });
19
+ var CHEVRON_PATH = "M3.606.179C3.82-.06 4.18-.06 4.394.179L7.846 4.01C8.18 4.382 7.934 5 7.452 5H.548C.066 5-.18 4.382.154 4.01L3.606.179Z";
20
+ var ChevronUpIcon = () => /* @__PURE__ */ jsx(
21
+ "svg",
22
+ {
23
+ className: "nexus-number-input__chevron-icon",
24
+ viewBox: "0 0 8 5",
25
+ fill: "currentColor",
26
+ children: /* @__PURE__ */ jsx("path", { d: CHEVRON_PATH })
27
+ }
28
+ );
29
+ var ChevronDownIcon = () => /* @__PURE__ */ jsx(
30
+ "svg",
31
+ {
32
+ className: "nexus-number-input__chevron-icon nexus-number-input__chevron-icon--down",
33
+ viewBox: "0 0 8 5",
34
+ fill: "currentColor",
35
+ children: /* @__PURE__ */ jsx("path", { d: CHEVRON_PATH })
36
+ }
37
+ );
38
+ var MinusIcon = () => /* @__PURE__ */ jsx(
39
+ "svg",
40
+ {
41
+ className: "nexus-number-input__bind-icon",
42
+ viewBox: "0 0 16 16",
43
+ fill: "none",
44
+ stroke: "currentColor",
45
+ strokeWidth: "1.33",
46
+ strokeLinecap: "round",
47
+ strokeLinejoin: "round",
48
+ children: /* @__PURE__ */ jsx("path", { d: "M3.333 8h9.334" })
49
+ }
50
+ );
51
+ var PlusIcon = () => /* @__PURE__ */ jsx(
52
+ "svg",
53
+ {
54
+ className: "nexus-number-input__bind-icon",
55
+ viewBox: "0 0 16 16",
56
+ fill: "none",
57
+ stroke: "currentColor",
58
+ strokeWidth: "1.33",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ children: /* @__PURE__ */ jsx("path", { d: "M3.333 8h9.334M8 3.333v9.334" })
62
+ }
63
+ );
64
+ function clampValue(val, min, max) {
65
+ let result = val;
66
+ if (min !== void 0) result = Math.max(min, result);
67
+ if (max !== void 0) result = Math.min(max, result);
68
+ return result;
69
+ }
70
+ function roundToDigit(val, digit) {
71
+ const factor = Math.pow(10, digit);
72
+ return Math.round(val * factor) / factor;
73
+ }
74
+ function numberInputBind(ref, direction) {
75
+ return {
76
+ onPointerDown: (e) => {
77
+ if (direction === "increment") ref.current?.startIncrement(e);
78
+ else ref.current?.startDecrement(e);
79
+ },
80
+ onPointerUp: () => ref.current?.stop(),
81
+ onPointerLeave: () => ref.current?.stop()
82
+ };
83
+ }
84
+ var NumberInput = React.forwardRef(
85
+ ({
86
+ className,
87
+ variant = "basic",
88
+ size,
89
+ error,
90
+ value,
91
+ min,
92
+ max,
93
+ step = 1,
94
+ digit = 0,
95
+ label,
96
+ description,
97
+ showMax,
98
+ hideButtons = false,
99
+ disabled,
100
+ readOnly,
101
+ onValueChange,
102
+ placeholder,
103
+ ...props
104
+ }, ref) => {
105
+ const inputRef = React.useRef(null);
106
+ const [internalValue, setInternalValue] = React.useState(
107
+ value?.toString() ?? ""
108
+ );
109
+ const internalValueRef = React.useRef(internalValue);
110
+ const timeoutRef = React.useRef(null);
111
+ const pressCountRef = React.useRef(0);
112
+ React.useEffect(() => {
113
+ internalValueRef.current = internalValue;
114
+ }, [internalValue]);
115
+ React.useEffect(() => {
116
+ setInternalValue(value?.toString() ?? "");
117
+ }, [value]);
118
+ const commitValue = React.useCallback(
119
+ (raw) => {
120
+ if (raw === "" || raw === "-") {
121
+ setInternalValue(raw);
122
+ onValueChange?.(void 0);
123
+ return;
124
+ }
125
+ const parsed = parseFloat(raw);
126
+ if (isNaN(parsed)) return;
127
+ const clamped = clampValue(roundToDigit(parsed, digit), min, max);
128
+ setInternalValue(clamped.toString());
129
+ onValueChange?.(clamped);
130
+ },
131
+ [digit, min, max, onValueChange]
132
+ );
133
+ const handleInputChange = React.useCallback(
134
+ (e) => {
135
+ const raw = e.target.value;
136
+ const regex = digit > 0 ? /^-?\d*\.?\d*$/ : /^-?\d*$/;
137
+ if (!regex.test(raw)) return;
138
+ setInternalValue(raw);
139
+ },
140
+ [digit]
141
+ );
142
+ const handleBlur = React.useCallback(() => {
143
+ commitValue(internalValue);
144
+ }, [internalValue, commitValue]);
145
+ const adjust = React.useCallback(
146
+ (delta) => {
147
+ const current = parseFloat(internalValueRef.current) || 0;
148
+ const next = clampValue(roundToDigit(current + delta, digit), min, max);
149
+ const nextStr = next.toString();
150
+ internalValueRef.current = nextStr;
151
+ setInternalValue(nextStr);
152
+ onValueChange?.(next);
153
+ },
154
+ [digit, min, max, onValueChange]
155
+ );
156
+ const handleKeyDown = React.useCallback(
157
+ (e) => {
158
+ if (e.key === "Enter") commitValue(internalValue);
159
+ if (e.key === "ArrowUp") {
160
+ e.preventDefault();
161
+ adjust(step);
162
+ }
163
+ if (e.key === "ArrowDown") {
164
+ e.preventDefault();
165
+ adjust(-step);
166
+ }
167
+ },
168
+ [internalValue, commitValue, step, adjust]
169
+ );
170
+ const stopRepeat = React.useCallback(() => {
171
+ if (timeoutRef.current) clearTimeout(timeoutRef.current);
172
+ timeoutRef.current = null;
173
+ pressCountRef.current = 0;
174
+ }, []);
175
+ const startRepeat = React.useCallback(
176
+ (delta, e) => {
177
+ e.preventDefault();
178
+ adjust(delta);
179
+ pressCountRef.current = 0;
180
+ timeoutRef.current = setTimeout(() => {
181
+ const accelerate = () => {
182
+ adjust(delta);
183
+ pressCountRef.current += 1;
184
+ let delay = 100;
185
+ if (pressCountRef.current > 20) delay = 30;
186
+ else if (pressCountRef.current > 10) delay = 50;
187
+ else if (pressCountRef.current > 5) delay = 75;
188
+ timeoutRef.current = setTimeout(accelerate, delay);
189
+ };
190
+ accelerate();
191
+ }, 400);
192
+ },
193
+ [adjust]
194
+ );
195
+ React.useEffect(() => () => stopRepeat(), [stopRepeat]);
196
+ const startRepeatRef = React.useRef(startRepeat);
197
+ startRepeatRef.current = startRepeat;
198
+ const stopRepeatRef = React.useRef(stopRepeat);
199
+ stopRepeatRef.current = stopRepeat;
200
+ const adjustRef = React.useRef(adjust);
201
+ adjustRef.current = adjust;
202
+ React.useImperativeHandle(
203
+ ref,
204
+ () => ({
205
+ get input() {
206
+ return inputRef.current;
207
+ },
208
+ increment: () => adjustRef.current(step),
209
+ decrement: () => adjustRef.current(-step),
210
+ startIncrement: (e) => startRepeatRef.current(step, e),
211
+ startDecrement: (e) => startRepeatRef.current(-step, e),
212
+ stop: () => stopRepeatRef.current()
213
+ }),
214
+ [step]
215
+ );
216
+ const handleMaxClick = React.useCallback(() => {
217
+ if (disabled || readOnly || max === void 0) return;
218
+ const maxStr = max.toString();
219
+ internalValueRef.current = maxStr;
220
+ setInternalValue(maxStr);
221
+ onValueChange?.(max);
222
+ inputRef.current?.focus();
223
+ }, [disabled, readOnly, max, onValueChange]);
224
+ const numValue = parseFloat(internalValue) || 0;
225
+ const isMinDisabled = min !== void 0 && numValue <= min;
226
+ const isMaxDisabled = max !== void 0 && numValue >= max;
227
+ const isMaxExceeded = max !== void 0 && numValue > max;
228
+ const displayMax = showMax ?? max !== void 0;
229
+ const showHeader = !!label || displayMax;
230
+ const isError = error || isMaxExceeded;
231
+ const showBtns = !hideButtons && !readOnly;
232
+ const isBasic = variant !== "bind";
233
+ return /* @__PURE__ */ jsxs(
234
+ "div",
235
+ {
236
+ className: cn(
237
+ numberInputVariants({ variant, size }),
238
+ isError && "nexus-number-input--error",
239
+ disabled && "nexus-number-input--disabled",
240
+ className
241
+ ),
242
+ children: [
243
+ showHeader && /* @__PURE__ */ jsxs("div", { className: "nexus-number-input__header", children: [
244
+ label && /* @__PURE__ */ jsx("span", { className: "nexus-number-input__label", children: label }),
245
+ displayMax && max !== void 0 && /* @__PURE__ */ jsxs(
246
+ "button",
247
+ {
248
+ type: "button",
249
+ className: "nexus-number-input__max",
250
+ onClick: handleMaxClick,
251
+ disabled: disabled || readOnly,
252
+ tabIndex: -1,
253
+ children: [
254
+ /* @__PURE__ */ jsx("span", { className: "nexus-number-input__max-text", children: "Max" }),
255
+ /* @__PURE__ */ jsx(
256
+ "span",
257
+ {
258
+ className: cn(
259
+ "nexus-number-input__max-value",
260
+ isMaxExceeded && "nexus-number-input__max-value--exceeded"
261
+ ),
262
+ children: max
263
+ }
264
+ )
265
+ ]
266
+ }
267
+ )
268
+ ] }),
269
+ /* @__PURE__ */ jsxs("div", { className: "nexus-number-input__container", children: [
270
+ !isBasic && showBtns && /* @__PURE__ */ jsx(
271
+ "button",
272
+ {
273
+ type: "button",
274
+ tabIndex: -1,
275
+ disabled: disabled || isMinDisabled,
276
+ className: "nexus-number-input__bind-btn",
277
+ onPointerDown: (e) => startRepeat(-step, e),
278
+ onPointerUp: stopRepeat,
279
+ onPointerLeave: stopRepeat,
280
+ "aria-label": "Decrease",
281
+ children: /* @__PURE__ */ jsx(MinusIcon, {})
282
+ }
283
+ ),
284
+ /* @__PURE__ */ jsx(
285
+ "input",
286
+ {
287
+ ref: inputRef,
288
+ type: "text",
289
+ inputMode: "decimal",
290
+ role: "spinbutton",
291
+ className: "nexus-number-input__field",
292
+ value: internalValue,
293
+ disabled,
294
+ readOnly,
295
+ placeholder: placeholder ?? "0",
296
+ "aria-invalid": isError || void 0,
297
+ "aria-valuemin": min,
298
+ "aria-valuemax": max,
299
+ "aria-valuenow": internalValue ? parseFloat(internalValue) || void 0 : void 0,
300
+ onChange: handleInputChange,
301
+ onBlur: handleBlur,
302
+ onKeyDown: handleKeyDown,
303
+ ...props
304
+ }
305
+ ),
306
+ !isBasic && showBtns && /* @__PURE__ */ jsx(
307
+ "button",
308
+ {
309
+ type: "button",
310
+ tabIndex: -1,
311
+ disabled: disabled || isMaxDisabled,
312
+ className: "nexus-number-input__bind-btn",
313
+ onPointerDown: (e) => startRepeat(step, e),
314
+ onPointerUp: stopRepeat,
315
+ onPointerLeave: stopRepeat,
316
+ "aria-label": "Increase",
317
+ children: /* @__PURE__ */ jsx(PlusIcon, {})
318
+ }
319
+ ),
320
+ isBasic && showBtns && /* @__PURE__ */ jsxs("div", { className: "nexus-number-input__buttons", children: [
321
+ /* @__PURE__ */ jsx(
322
+ "button",
323
+ {
324
+ type: "button",
325
+ tabIndex: -1,
326
+ disabled: disabled || isMaxDisabled,
327
+ className: "nexus-number-input__step nexus-number-input__step--up",
328
+ onPointerDown: (e) => startRepeat(step, e),
329
+ onPointerUp: stopRepeat,
330
+ onPointerLeave: stopRepeat,
331
+ "aria-label": "Increase",
332
+ children: /* @__PURE__ */ jsx(ChevronUpIcon, {})
333
+ }
334
+ ),
335
+ /* @__PURE__ */ jsx(
336
+ "button",
337
+ {
338
+ type: "button",
339
+ tabIndex: -1,
340
+ disabled: disabled || isMinDisabled,
341
+ className: "nexus-number-input__step nexus-number-input__step--down",
342
+ onPointerDown: (e) => startRepeat(-step, e),
343
+ onPointerUp: stopRepeat,
344
+ onPointerLeave: stopRepeat,
345
+ "aria-label": "Decrease",
346
+ children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
347
+ }
348
+ )
349
+ ] })
350
+ ] }),
351
+ description && /* @__PURE__ */ jsx(
352
+ "p",
353
+ {
354
+ className: cn(
355
+ "nexus-number-input__description",
356
+ isError && "nexus-number-input__description--error"
357
+ ),
358
+ children: description
359
+ }
360
+ )
361
+ ]
362
+ }
363
+ );
364
+ }
365
+ );
366
+ NumberInput.displayName = "NumberInput";
367
+
368
+ export { NumberInput, numberInputBind, numberInputVariants };
@@ -0,0 +1,109 @@
1
+ 'use strict';
2
+
3
+ var chunkCZC76ZD5_js = require('./chunk-CZC76ZD5.js');
4
+ var React = require('react');
5
+ var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
6
+ var jsxRuntime = require('react/jsx-runtime');
7
+
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n.default = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
27
+ var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
28
+
29
+ var DropdownMenu = ({
30
+ children,
31
+ items,
32
+ align = "start",
33
+ side = "bottom",
34
+ className,
35
+ contentClassName
36
+ }) => /* @__PURE__ */ jsxRuntime.jsxs(DropdownMenuPrimitive__namespace.Root, { children: [
37
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Trigger, { asChild: true, className, children }),
38
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
39
+ DropdownMenuPrimitive__namespace.Content,
40
+ {
41
+ align,
42
+ side,
43
+ sideOffset: 4,
44
+ className: chunkCZC76ZD5_js.cn("nexus-dropdown-content", contentClassName),
45
+ children: items.map(
46
+ (item, i) => item.separator ? /* @__PURE__ */ jsxRuntime.jsx(
47
+ DropdownMenuPrimitive__namespace.Separator,
48
+ {
49
+ className: "nexus-dropdown-separator"
50
+ },
51
+ i
52
+ ) : /* @__PURE__ */ jsxRuntime.jsxs(
53
+ DropdownMenuPrimitive__namespace.Item,
54
+ {
55
+ className: chunkCZC76ZD5_js.cn(
56
+ "nexus-dropdown-item",
57
+ item.danger && "nexus-dropdown-item--danger"
58
+ ),
59
+ disabled: item.disabled,
60
+ onSelect: item.onClick,
61
+ children: [
62
+ item.icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "nexus-dropdown-item__icon", children: item.icon }),
63
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.label })
64
+ ]
65
+ },
66
+ item.value ?? i
67
+ )
68
+ )
69
+ }
70
+ ) })
71
+ ] });
72
+ DropdownMenu.displayName = "DropdownMenu";
73
+ var DropdownMenuRoot = DropdownMenuPrimitive__namespace.Root;
74
+ var DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
75
+ var DropdownMenuContent = React__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
76
+ DropdownMenuPrimitive__namespace.Content,
77
+ {
78
+ ref,
79
+ sideOffset,
80
+ className: chunkCZC76ZD5_js.cn("nexus-dropdown-content", className),
81
+ ...props
82
+ }
83
+ ) }));
84
+ DropdownMenuContent.displayName = "DropdownMenuContent";
85
+ var DropdownMenuItem = React__namespace.forwardRef(({ className, danger, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
86
+ DropdownMenuPrimitive__namespace.Item,
87
+ {
88
+ ref,
89
+ className: chunkCZC76ZD5_js.cn("nexus-dropdown-item", danger && "nexus-dropdown-item--danger", className),
90
+ ...props
91
+ }
92
+ ));
93
+ DropdownMenuItem.displayName = "DropdownMenuItem";
94
+ var DropdownMenuSeparator = React__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
95
+ DropdownMenuPrimitive__namespace.Separator,
96
+ {
97
+ ref,
98
+ className: chunkCZC76ZD5_js.cn("nexus-dropdown-separator", className),
99
+ ...props
100
+ }
101
+ ));
102
+ DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
103
+
104
+ exports.DropdownMenu = DropdownMenu;
105
+ exports.DropdownMenuContent = DropdownMenuContent;
106
+ exports.DropdownMenuItem = DropdownMenuItem;
107
+ exports.DropdownMenuRoot = DropdownMenuRoot;
108
+ exports.DropdownMenuSeparator = DropdownMenuSeparator;
109
+ exports.DropdownMenuTrigger = DropdownMenuTrigger;
@@ -0,0 +1,86 @@
1
+ import { cn } from './chunk-MCKOWMLS.mjs';
2
+ import * as React from 'react';
3
+ import { cva } from 'class-variance-authority';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+
6
+ var badgeVariants = cva("nexus-badge", {
7
+ variants: {
8
+ variant: {
9
+ danger: "nexus-badge--danger",
10
+ primary: "nexus-badge--primary",
11
+ secondary: "nexus-badge--secondary",
12
+ info: "nexus-badge--info",
13
+ success: "nexus-badge--success",
14
+ warning: "nexus-badge--warning"
15
+ },
16
+ size: {
17
+ sm: "nexus-badge--sm",
18
+ md: "nexus-badge--md",
19
+ lg: "nexus-badge--lg"
20
+ }
21
+ },
22
+ defaultVariants: {
23
+ variant: "danger",
24
+ size: "md"
25
+ }
26
+ });
27
+ var Badge = React.forwardRef(
28
+ ({
29
+ className,
30
+ children,
31
+ variant,
32
+ size,
33
+ count,
34
+ max = 99,
35
+ dot = false,
36
+ showZero = false,
37
+ offset,
38
+ style,
39
+ ...props
40
+ }, ref) => {
41
+ const displayCount = count !== void 0 && max !== void 0 && count > max ? `${max}+` : count;
42
+ const isHidden = !dot && (count === void 0 || count === 0 && !showZero);
43
+ const badgeStyle = {
44
+ ...style,
45
+ ...offset ? { "--nexus-badge-offset-x": `${offset[0]}px`, "--nexus-badge-offset-y": `${offset[1]}px` } : {}
46
+ };
47
+ if (!children) {
48
+ if (isHidden) return null;
49
+ return /* @__PURE__ */ jsx(
50
+ "span",
51
+ {
52
+ ref,
53
+ className: cn(
54
+ badgeVariants({ variant, size }),
55
+ dot && "nexus-badge--dot",
56
+ className
57
+ ),
58
+ style: badgeStyle,
59
+ ...props,
60
+ children: !dot && displayCount
61
+ }
62
+ );
63
+ }
64
+ return /* @__PURE__ */ jsxs("span", { className: "nexus-badge-wrapper", style: { position: "relative", display: "inline-flex" }, children: [
65
+ children,
66
+ !isHidden && /* @__PURE__ */ jsx(
67
+ "span",
68
+ {
69
+ ref,
70
+ className: cn(
71
+ badgeVariants({ variant, size }),
72
+ dot && "nexus-badge--dot",
73
+ "nexus-badge--positioned",
74
+ className
75
+ ),
76
+ style: badgeStyle,
77
+ ...props,
78
+ children: !dot && displayCount
79
+ }
80
+ )
81
+ ] });
82
+ }
83
+ );
84
+ Badge.displayName = "Badge";
85
+
86
+ export { Badge, badgeVariants };