@cmdniels/uikit 1.5.10 → 2.0.1

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 (1195) hide show
  1. package/README.md +1 -1
  2. package/out/cn.d.ts +1 -0
  3. package/out/cn.d.ts.map +1 -0
  4. package/out/cn.js +1 -0
  5. package/out/cn.js.map +1 -0
  6. package/out/components/accordion/Accordion.d.ts +1 -0
  7. package/out/components/accordion/Accordion.d.ts.map +1 -0
  8. package/out/components/accordion/Accordion.js +3 -15
  9. package/out/components/accordion/Accordion.js.map +1 -0
  10. package/out/components/accordion/AccordionContent.d.ts +1 -0
  11. package/out/components/accordion/AccordionContent.d.ts.map +1 -0
  12. package/out/components/accordion/AccordionContent.js +3 -15
  13. package/out/components/accordion/AccordionContent.js.map +1 -0
  14. package/out/components/accordion/AccordionItem.d.ts +1 -0
  15. package/out/components/accordion/AccordionItem.d.ts.map +1 -0
  16. package/out/components/accordion/AccordionItem.js +3 -15
  17. package/out/components/accordion/AccordionItem.js.map +1 -0
  18. package/out/components/accordion/AccordionTrigger.d.ts +1 -0
  19. package/out/components/accordion/AccordionTrigger.d.ts.map +1 -0
  20. package/out/components/accordion/AccordionTrigger.js +3 -15
  21. package/out/components/accordion/AccordionTrigger.js.map +1 -0
  22. package/out/components/alert/Alert.d.ts +2 -1
  23. package/out/components/alert/Alert.d.ts.map +1 -0
  24. package/out/components/alert/Alert.js +4 -15
  25. package/out/components/alert/Alert.js.map +1 -0
  26. package/out/components/alert/AlertAction.d.ts +1 -0
  27. package/out/components/alert/AlertAction.d.ts.map +1 -0
  28. package/out/components/alert/AlertAction.js +3 -14
  29. package/out/components/alert/AlertAction.js.map +1 -0
  30. package/out/components/alert/AlertDescription.d.ts +1 -0
  31. package/out/components/alert/AlertDescription.d.ts.map +1 -0
  32. package/out/components/alert/AlertDescription.js +3 -14
  33. package/out/components/alert/AlertDescription.js.map +1 -0
  34. package/out/components/alert/AlertTitle.d.ts +1 -0
  35. package/out/components/alert/AlertTitle.d.ts.map +1 -0
  36. package/out/components/alert/AlertTitle.js +3 -14
  37. package/out/components/alert/AlertTitle.js.map +1 -0
  38. package/out/components/alert/alertVariants.d.ts +3 -1
  39. package/out/components/alert/alertVariants.d.ts.map +1 -0
  40. package/out/components/alert/alertVariants.js +3 -1
  41. package/out/components/alert/alertVariants.js.map +1 -0
  42. package/out/components/alert-dialog/AlertDialog.d.ts +1 -0
  43. package/out/components/alert-dialog/AlertDialog.d.ts.map +1 -0
  44. package/out/components/alert-dialog/AlertDialog.js +3 -15
  45. package/out/components/alert-dialog/AlertDialog.js.map +1 -0
  46. package/out/components/alert-dialog/AlertDialogAction.d.ts +1 -0
  47. package/out/components/alert-dialog/AlertDialogAction.d.ts.map +1 -0
  48. package/out/components/alert-dialog/AlertDialogAction.js +3 -14
  49. package/out/components/alert-dialog/AlertDialogAction.js.map +1 -0
  50. package/out/components/alert-dialog/AlertDialogCancel.d.ts +1 -0
  51. package/out/components/alert-dialog/AlertDialogCancel.d.ts.map +1 -0
  52. package/out/components/alert-dialog/AlertDialogCancel.js +3 -15
  53. package/out/components/alert-dialog/AlertDialogCancel.js.map +1 -0
  54. package/out/components/alert-dialog/AlertDialogContent.d.ts +1 -0
  55. package/out/components/alert-dialog/AlertDialogContent.d.ts.map +1 -0
  56. package/out/components/alert-dialog/AlertDialogContent.js +3 -15
  57. package/out/components/alert-dialog/AlertDialogContent.js.map +1 -0
  58. package/out/components/alert-dialog/AlertDialogDescription.d.ts +1 -0
  59. package/out/components/alert-dialog/AlertDialogDescription.d.ts.map +1 -0
  60. package/out/components/alert-dialog/AlertDialogDescription.js +3 -15
  61. package/out/components/alert-dialog/AlertDialogDescription.js.map +1 -0
  62. package/out/components/alert-dialog/AlertDialogFooter.d.ts +1 -0
  63. package/out/components/alert-dialog/AlertDialogFooter.d.ts.map +1 -0
  64. package/out/components/alert-dialog/AlertDialogFooter.js +3 -14
  65. package/out/components/alert-dialog/AlertDialogFooter.js.map +1 -0
  66. package/out/components/alert-dialog/AlertDialogHeader.d.ts +1 -0
  67. package/out/components/alert-dialog/AlertDialogHeader.d.ts.map +1 -0
  68. package/out/components/alert-dialog/AlertDialogHeader.js +3 -14
  69. package/out/components/alert-dialog/AlertDialogHeader.js.map +1 -0
  70. package/out/components/alert-dialog/AlertDialogMedia.d.ts +1 -0
  71. package/out/components/alert-dialog/AlertDialogMedia.d.ts.map +1 -0
  72. package/out/components/alert-dialog/AlertDialogMedia.js +3 -14
  73. package/out/components/alert-dialog/AlertDialogMedia.js.map +1 -0
  74. package/out/components/alert-dialog/AlertDialogOverlay.d.ts +1 -0
  75. package/out/components/alert-dialog/AlertDialogOverlay.d.ts.map +1 -0
  76. package/out/components/alert-dialog/AlertDialogOverlay.js +3 -15
  77. package/out/components/alert-dialog/AlertDialogOverlay.js.map +1 -0
  78. package/out/components/alert-dialog/AlertDialogPortal.d.ts +1 -0
  79. package/out/components/alert-dialog/AlertDialogPortal.d.ts.map +1 -0
  80. package/out/components/alert-dialog/AlertDialogPortal.js +3 -15
  81. package/out/components/alert-dialog/AlertDialogPortal.js.map +1 -0
  82. package/out/components/alert-dialog/AlertDialogTitle.d.ts +1 -0
  83. package/out/components/alert-dialog/AlertDialogTitle.d.ts.map +1 -0
  84. package/out/components/alert-dialog/AlertDialogTitle.js +3 -15
  85. package/out/components/alert-dialog/AlertDialogTitle.js.map +1 -0
  86. package/out/components/alert-dialog/AlertDialogTrigger.d.ts +1 -0
  87. package/out/components/alert-dialog/AlertDialogTrigger.d.ts.map +1 -0
  88. package/out/components/alert-dialog/AlertDialogTrigger.js +3 -15
  89. package/out/components/alert-dialog/AlertDialogTrigger.js.map +1 -0
  90. package/out/components/aspect-ratio/AspectRatio.d.ts +1 -0
  91. package/out/components/aspect-ratio/AspectRatio.d.ts.map +1 -0
  92. package/out/components/aspect-ratio/AspectRatio.js +4 -15
  93. package/out/components/aspect-ratio/AspectRatio.js.map +1 -0
  94. package/out/components/badge/Badge.d.ts +2 -1
  95. package/out/components/badge/Badge.d.ts.map +1 -0
  96. package/out/components/badge/Badge.js +3 -14
  97. package/out/components/badge/Badge.js.map +1 -0
  98. package/out/components/badge/badgeVariants.d.ts +3 -1
  99. package/out/components/badge/badgeVariants.d.ts.map +1 -0
  100. package/out/components/badge/badgeVariants.js +3 -1
  101. package/out/components/badge/badgeVariants.js.map +1 -0
  102. package/out/components/bubble/Bubble.d.ts +7 -0
  103. package/out/components/bubble/Bubble.d.ts.map +1 -0
  104. package/out/components/bubble/Bubble.js +7 -0
  105. package/out/components/bubble/Bubble.js.map +1 -0
  106. package/out/components/bubble/BubbleContent.d.ts +3 -0
  107. package/out/components/bubble/BubbleContent.d.ts.map +1 -0
  108. package/out/components/bubble/BubbleContent.js +16 -0
  109. package/out/components/bubble/BubbleContent.js.map +1 -0
  110. package/out/components/bubble/BubbleGroup.d.ts +3 -0
  111. package/out/components/bubble/BubbleGroup.d.ts.map +1 -0
  112. package/out/components/bubble/BubbleGroup.js +6 -0
  113. package/out/components/bubble/BubbleGroup.js.map +1 -0
  114. package/out/components/bubble/BubbleReactions.d.ts +6 -0
  115. package/out/components/bubble/BubbleReactions.d.ts.map +1 -0
  116. package/out/components/bubble/BubbleReactions.js +7 -0
  117. package/out/components/bubble/BubbleReactions.js.map +1 -0
  118. package/out/components/bubble/bubbleReactionsVariants.d.ts +6 -0
  119. package/out/components/bubble/bubbleReactionsVariants.d.ts.map +1 -0
  120. package/out/components/bubble/bubbleReactionsVariants.js +19 -0
  121. package/out/components/bubble/bubbleReactionsVariants.js.map +1 -0
  122. package/out/components/bubble/bubbleVariants.d.ts +5 -0
  123. package/out/components/bubble/bubbleVariants.d.ts.map +1 -0
  124. package/out/components/bubble/bubbleVariants.js +19 -0
  125. package/out/components/bubble/bubbleVariants.js.map +1 -0
  126. package/out/components/button/Button.d.ts +2 -1
  127. package/out/components/button/Button.d.ts.map +1 -0
  128. package/out/components/button/Button.js +4 -15
  129. package/out/components/button/Button.js.map +1 -0
  130. package/out/components/button/buttonVariants.d.ts +3 -1
  131. package/out/components/button/buttonVariants.d.ts.map +1 -0
  132. package/out/components/button/buttonVariants.js +4 -2
  133. package/out/components/button/buttonVariants.js.map +1 -0
  134. package/out/components/button-group/ButtonGroup.d.ts +1 -0
  135. package/out/components/button-group/ButtonGroup.d.ts.map +1 -0
  136. package/out/components/button-group/ButtonGroup.js +3 -14
  137. package/out/components/button-group/ButtonGroup.js.map +1 -0
  138. package/out/components/button-group/ButtonGroupSeparator.d.ts +1 -0
  139. package/out/components/button-group/ButtonGroupSeparator.d.ts.map +1 -0
  140. package/out/components/button-group/ButtonGroupSeparator.js +3 -14
  141. package/out/components/button-group/ButtonGroupSeparator.js.map +1 -0
  142. package/out/components/button-group/ButtonGroupText.d.ts +1 -0
  143. package/out/components/button-group/ButtonGroupText.d.ts.map +1 -0
  144. package/out/components/button-group/ButtonGroupText.js +2 -13
  145. package/out/components/button-group/ButtonGroupText.js.map +1 -0
  146. package/out/components/button-group/buttonGroupVariants.d.ts +1 -0
  147. package/out/components/button-group/buttonGroupVariants.d.ts.map +1 -0
  148. package/out/components/button-group/buttonGroupVariants.js +1 -0
  149. package/out/components/button-group/buttonGroupVariants.js.map +1 -0
  150. package/out/components/calendar/Calendar.d.ts +1 -0
  151. package/out/components/calendar/Calendar.d.ts.map +1 -0
  152. package/out/components/calendar/Calendar.js +47 -30
  153. package/out/components/calendar/Calendar.js.map +1 -0
  154. package/out/components/calendar/CalendarDayButton.d.ts +1 -0
  155. package/out/components/calendar/CalendarDayButton.d.ts.map +1 -0
  156. package/out/components/calendar/CalendarDayButton.js +4 -17
  157. package/out/components/calendar/CalendarDayButton.js.map +1 -0
  158. package/out/components/card/Card.d.ts +1 -0
  159. package/out/components/card/Card.d.ts.map +1 -0
  160. package/out/components/card/Card.js +3 -14
  161. package/out/components/card/Card.js.map +1 -0
  162. package/out/components/card/CardAction.d.ts +1 -0
  163. package/out/components/card/CardAction.d.ts.map +1 -0
  164. package/out/components/card/CardAction.js +3 -14
  165. package/out/components/card/CardAction.js.map +1 -0
  166. package/out/components/card/CardContent.d.ts +1 -0
  167. package/out/components/card/CardContent.d.ts.map +1 -0
  168. package/out/components/card/CardContent.js +3 -14
  169. package/out/components/card/CardContent.js.map +1 -0
  170. package/out/components/card/CardDescription.d.ts +1 -0
  171. package/out/components/card/CardDescription.d.ts.map +1 -0
  172. package/out/components/card/CardDescription.js +3 -14
  173. package/out/components/card/CardDescription.js.map +1 -0
  174. package/out/components/card/CardFooter.d.ts +1 -0
  175. package/out/components/card/CardFooter.d.ts.map +1 -0
  176. package/out/components/card/CardFooter.js +3 -14
  177. package/out/components/card/CardFooter.js.map +1 -0
  178. package/out/components/card/CardHeader.d.ts +1 -0
  179. package/out/components/card/CardHeader.d.ts.map +1 -0
  180. package/out/components/card/CardHeader.js +3 -14
  181. package/out/components/card/CardHeader.js.map +1 -0
  182. package/out/components/card/CardTitle.d.ts +1 -0
  183. package/out/components/card/CardTitle.d.ts.map +1 -0
  184. package/out/components/card/CardTitle.js +3 -14
  185. package/out/components/card/CardTitle.js.map +1 -0
  186. package/out/components/checkbox/Checkbox.d.ts +1 -0
  187. package/out/components/checkbox/Checkbox.d.ts.map +1 -0
  188. package/out/components/checkbox/Checkbox.js +3 -15
  189. package/out/components/checkbox/Checkbox.js.map +1 -0
  190. package/out/components/combobox/Combobox.d.ts +3 -1
  191. package/out/components/combobox/Combobox.d.ts.map +1 -0
  192. package/out/components/combobox/Combobox.js +3 -46
  193. package/out/components/combobox/Combobox.js.map +1 -0
  194. package/out/components/combobox/ComboboxChip.d.ts +1 -0
  195. package/out/components/combobox/ComboboxChip.d.ts.map +1 -0
  196. package/out/components/combobox/ComboboxChip.js +3 -15
  197. package/out/components/combobox/ComboboxChip.js.map +1 -0
  198. package/out/components/combobox/ComboboxChips.d.ts +1 -0
  199. package/out/components/combobox/ComboboxChips.d.ts.map +1 -0
  200. package/out/components/combobox/ComboboxChips.js +3 -15
  201. package/out/components/combobox/ComboboxChips.js.map +1 -0
  202. package/out/components/combobox/ComboboxChipsInput.d.ts +1 -0
  203. package/out/components/combobox/ComboboxChipsInput.d.ts.map +1 -0
  204. package/out/components/combobox/ComboboxChipsInput.js +3 -15
  205. package/out/components/combobox/ComboboxChipsInput.js.map +1 -0
  206. package/out/components/combobox/ComboboxClear.d.ts +1 -0
  207. package/out/components/combobox/ComboboxClear.d.ts.map +1 -0
  208. package/out/components/combobox/ComboboxClear.js +3 -15
  209. package/out/components/combobox/ComboboxClear.js.map +1 -0
  210. package/out/components/combobox/ComboboxCollection.d.ts +1 -0
  211. package/out/components/combobox/ComboboxCollection.d.ts.map +1 -0
  212. package/out/components/combobox/ComboboxCollection.js +3 -15
  213. package/out/components/combobox/ComboboxCollection.js.map +1 -0
  214. package/out/components/combobox/ComboboxContent.d.ts +1 -0
  215. package/out/components/combobox/ComboboxContent.d.ts.map +1 -0
  216. package/out/components/combobox/ComboboxContent.js +3 -15
  217. package/out/components/combobox/ComboboxContent.js.map +1 -0
  218. package/out/components/combobox/ComboboxEmpty.d.ts +1 -0
  219. package/out/components/combobox/ComboboxEmpty.d.ts.map +1 -0
  220. package/out/components/combobox/ComboboxEmpty.js +3 -15
  221. package/out/components/combobox/ComboboxEmpty.js.map +1 -0
  222. package/out/components/combobox/ComboboxGroup.d.ts +1 -0
  223. package/out/components/combobox/ComboboxGroup.d.ts.map +1 -0
  224. package/out/components/combobox/ComboboxGroup.js +3 -15
  225. package/out/components/combobox/ComboboxGroup.js.map +1 -0
  226. package/out/components/combobox/ComboboxInput.d.ts +1 -0
  227. package/out/components/combobox/ComboboxInput.d.ts.map +1 -0
  228. package/out/components/combobox/ComboboxInput.js +3 -15
  229. package/out/components/combobox/ComboboxInput.js.map +1 -0
  230. package/out/components/combobox/ComboboxItem.d.ts +1 -0
  231. package/out/components/combobox/ComboboxItem.d.ts.map +1 -0
  232. package/out/components/combobox/ComboboxItem.js +3 -15
  233. package/out/components/combobox/ComboboxItem.js.map +1 -0
  234. package/out/components/combobox/ComboboxLabel.d.ts +1 -0
  235. package/out/components/combobox/ComboboxLabel.d.ts.map +1 -0
  236. package/out/components/combobox/ComboboxLabel.js +3 -15
  237. package/out/components/combobox/ComboboxLabel.js.map +1 -0
  238. package/out/components/combobox/ComboboxList.d.ts +1 -0
  239. package/out/components/combobox/ComboboxList.d.ts.map +1 -0
  240. package/out/components/combobox/ComboboxList.js +3 -15
  241. package/out/components/combobox/ComboboxList.js.map +1 -0
  242. package/out/components/combobox/ComboboxSeparator.d.ts +1 -0
  243. package/out/components/combobox/ComboboxSeparator.d.ts.map +1 -0
  244. package/out/components/combobox/ComboboxSeparator.js +3 -15
  245. package/out/components/combobox/ComboboxSeparator.js.map +1 -0
  246. package/out/components/combobox/ComboboxTrigger.d.ts +1 -0
  247. package/out/components/combobox/ComboboxTrigger.d.ts.map +1 -0
  248. package/out/components/combobox/ComboboxTrigger.js +3 -15
  249. package/out/components/combobox/ComboboxTrigger.js.map +1 -0
  250. package/out/components/combobox/ComboboxValue.d.ts +1 -0
  251. package/out/components/combobox/ComboboxValue.d.ts.map +1 -0
  252. package/out/components/combobox/ComboboxValue.js +3 -15
  253. package/out/components/combobox/ComboboxValue.js.map +1 -0
  254. package/out/components/combobox/useComboboxAnchor.d.ts +1 -0
  255. package/out/components/combobox/useComboboxAnchor.d.ts.map +1 -0
  256. package/out/components/combobox/useComboboxAnchor.js +1 -0
  257. package/out/components/combobox/useComboboxAnchor.js.map +1 -0
  258. package/out/components/command/Command.d.ts +3 -3
  259. package/out/components/command/Command.d.ts.map +1 -0
  260. package/out/components/command/Command.js +3 -16
  261. package/out/components/command/Command.js.map +1 -0
  262. package/out/components/command/CommandDialog.d.ts +4 -4
  263. package/out/components/command/CommandDialog.d.ts.map +1 -0
  264. package/out/components/command/CommandDialog.js +3 -15
  265. package/out/components/command/CommandDialog.js.map +1 -0
  266. package/out/components/command/CommandEmpty.d.ts +3 -3
  267. package/out/components/command/CommandEmpty.d.ts.map +1 -0
  268. package/out/components/command/CommandEmpty.js +3 -16
  269. package/out/components/command/CommandEmpty.js.map +1 -0
  270. package/out/components/command/CommandInput.d.ts +4 -3
  271. package/out/components/command/CommandInput.d.ts.map +1 -0
  272. package/out/components/command/CommandInput.js +4 -16
  273. package/out/components/command/CommandInput.js.map +1 -0
  274. package/out/components/command/CommandItem.d.ts +4 -3
  275. package/out/components/command/CommandItem.d.ts.map +1 -0
  276. package/out/components/command/CommandItem.js +5 -18
  277. package/out/components/command/CommandItem.js.map +1 -0
  278. package/out/components/command/CommandList.d.ts +4 -3
  279. package/out/components/command/CommandList.d.ts.map +1 -0
  280. package/out/components/command/CommandList.js +4 -16
  281. package/out/components/command/CommandList.js.map +1 -0
  282. package/out/components/context-menu/ContextMenu.d.ts +1 -0
  283. package/out/components/context-menu/ContextMenu.d.ts.map +1 -0
  284. package/out/components/context-menu/ContextMenu.js +3 -15
  285. package/out/components/context-menu/ContextMenu.js.map +1 -0
  286. package/out/components/context-menu/ContextMenuCheckboxItem.d.ts +1 -0
  287. package/out/components/context-menu/ContextMenuCheckboxItem.d.ts.map +1 -0
  288. package/out/components/context-menu/ContextMenuCheckboxItem.js +3 -15
  289. package/out/components/context-menu/ContextMenuCheckboxItem.js.map +1 -0
  290. package/out/components/context-menu/ContextMenuContent.d.ts +1 -0
  291. package/out/components/context-menu/ContextMenuContent.d.ts.map +1 -0
  292. package/out/components/context-menu/ContextMenuContent.js +3 -15
  293. package/out/components/context-menu/ContextMenuContent.js.map +1 -0
  294. package/out/components/context-menu/ContextMenuGroup.d.ts +1 -0
  295. package/out/components/context-menu/ContextMenuGroup.d.ts.map +1 -0
  296. package/out/components/context-menu/ContextMenuGroup.js +3 -15
  297. package/out/components/context-menu/ContextMenuGroup.js.map +1 -0
  298. package/out/components/context-menu/ContextMenuItem.d.ts +2 -1
  299. package/out/components/context-menu/ContextMenuItem.d.ts.map +1 -0
  300. package/out/components/context-menu/ContextMenuItem.js +3 -15
  301. package/out/components/context-menu/ContextMenuItem.js.map +1 -0
  302. package/out/components/context-menu/ContextMenuLabel.d.ts +1 -0
  303. package/out/components/context-menu/ContextMenuLabel.d.ts.map +1 -0
  304. package/out/components/context-menu/ContextMenuLabel.js +3 -15
  305. package/out/components/context-menu/ContextMenuLabel.js.map +1 -0
  306. package/out/components/context-menu/ContextMenuPortal.d.ts +1 -0
  307. package/out/components/context-menu/ContextMenuPortal.d.ts.map +1 -0
  308. package/out/components/context-menu/ContextMenuPortal.js +3 -15
  309. package/out/components/context-menu/ContextMenuPortal.js.map +1 -0
  310. package/out/components/context-menu/ContextMenuRadioGroup.d.ts +1 -0
  311. package/out/components/context-menu/ContextMenuRadioGroup.d.ts.map +1 -0
  312. package/out/components/context-menu/ContextMenuRadioGroup.js +3 -15
  313. package/out/components/context-menu/ContextMenuRadioGroup.js.map +1 -0
  314. package/out/components/context-menu/ContextMenuRadioItem.d.ts +1 -0
  315. package/out/components/context-menu/ContextMenuRadioItem.d.ts.map +1 -0
  316. package/out/components/context-menu/ContextMenuRadioItem.js +3 -15
  317. package/out/components/context-menu/ContextMenuRadioItem.js.map +1 -0
  318. package/out/components/context-menu/ContextMenuSeparator.d.ts +1 -0
  319. package/out/components/context-menu/ContextMenuSeparator.d.ts.map +1 -0
  320. package/out/components/context-menu/ContextMenuSeparator.js +3 -15
  321. package/out/components/context-menu/ContextMenuSeparator.js.map +1 -0
  322. package/out/components/context-menu/ContextMenuShortcut.d.ts +1 -0
  323. package/out/components/context-menu/ContextMenuShortcut.d.ts.map +1 -0
  324. package/out/components/context-menu/ContextMenuShortcut.js +3 -15
  325. package/out/components/context-menu/ContextMenuShortcut.js.map +1 -0
  326. package/out/components/context-menu/ContextMenuSub.d.ts +1 -0
  327. package/out/components/context-menu/ContextMenuSub.d.ts.map +1 -0
  328. package/out/components/context-menu/ContextMenuSub.js +3 -15
  329. package/out/components/context-menu/ContextMenuSub.js.map +1 -0
  330. package/out/components/context-menu/ContextMenuSubContent.d.ts +1 -0
  331. package/out/components/context-menu/ContextMenuSubContent.d.ts.map +1 -0
  332. package/out/components/context-menu/ContextMenuSubContent.js +3 -15
  333. package/out/components/context-menu/ContextMenuSubContent.js.map +1 -0
  334. package/out/components/context-menu/ContextMenuSubTrigger.d.ts +1 -0
  335. package/out/components/context-menu/ContextMenuSubTrigger.d.ts.map +1 -0
  336. package/out/components/context-menu/ContextMenuSubTrigger.js +3 -15
  337. package/out/components/context-menu/ContextMenuSubTrigger.js.map +1 -0
  338. package/out/components/context-menu/ContextMenuTrigger.d.ts +1 -0
  339. package/out/components/context-menu/ContextMenuTrigger.d.ts.map +1 -0
  340. package/out/components/context-menu/ContextMenuTrigger.js +3 -15
  341. package/out/components/context-menu/ContextMenuTrigger.js.map +1 -0
  342. package/out/components/copy-input/CopyInput.d.ts +1 -0
  343. package/out/components/copy-input/CopyInput.d.ts.map +1 -0
  344. package/out/components/copy-input/CopyInput.js +8 -21
  345. package/out/components/copy-input/CopyInput.js.map +1 -0
  346. package/out/components/date-picker/DatePicker.d.ts +1 -0
  347. package/out/components/date-picker/DatePicker.d.ts.map +1 -0
  348. package/out/components/date-picker/DatePicker.js +5 -17
  349. package/out/components/date-picker/DatePicker.js.map +1 -0
  350. package/out/components/dialog/Dialog.d.ts +1 -0
  351. package/out/components/dialog/Dialog.d.ts.map +1 -0
  352. package/out/components/dialog/Dialog.js +3 -15
  353. package/out/components/dialog/Dialog.js.map +1 -0
  354. package/out/components/dialog/DialogClose.d.ts +1 -0
  355. package/out/components/dialog/DialogClose.d.ts.map +1 -0
  356. package/out/components/dialog/DialogClose.js +3 -15
  357. package/out/components/dialog/DialogClose.js.map +1 -0
  358. package/out/components/dialog/DialogContent.d.ts +1 -0
  359. package/out/components/dialog/DialogContent.d.ts.map +1 -0
  360. package/out/components/dialog/DialogContent.js +3 -15
  361. package/out/components/dialog/DialogContent.js.map +1 -0
  362. package/out/components/dialog/DialogDescription.d.ts +1 -0
  363. package/out/components/dialog/DialogDescription.d.ts.map +1 -0
  364. package/out/components/dialog/DialogDescription.js +3 -15
  365. package/out/components/dialog/DialogDescription.js.map +1 -0
  366. package/out/components/dialog/DialogFooter.d.ts +3 -2
  367. package/out/components/dialog/DialogFooter.d.ts.map +1 -0
  368. package/out/components/dialog/DialogFooter.js +3 -15
  369. package/out/components/dialog/DialogFooter.js.map +1 -0
  370. package/out/components/dialog/DialogHeader.d.ts +3 -2
  371. package/out/components/dialog/DialogHeader.d.ts.map +1 -0
  372. package/out/components/dialog/DialogHeader.js +3 -15
  373. package/out/components/dialog/DialogHeader.js.map +1 -0
  374. package/out/components/dialog/DialogOverlay.d.ts +1 -0
  375. package/out/components/dialog/DialogOverlay.d.ts.map +1 -0
  376. package/out/components/dialog/DialogOverlay.js +3 -15
  377. package/out/components/dialog/DialogOverlay.js.map +1 -0
  378. package/out/components/dialog/DialogPortal.d.ts +1 -0
  379. package/out/components/dialog/DialogPortal.d.ts.map +1 -0
  380. package/out/components/dialog/DialogPortal.js +3 -15
  381. package/out/components/dialog/DialogPortal.js.map +1 -0
  382. package/out/components/dialog/DialogTitle.d.ts +1 -0
  383. package/out/components/dialog/DialogTitle.d.ts.map +1 -0
  384. package/out/components/dialog/DialogTitle.js +3 -15
  385. package/out/components/dialog/DialogTitle.js.map +1 -0
  386. package/out/components/dialog/DialogTrigger.d.ts +1 -0
  387. package/out/components/dialog/DialogTrigger.d.ts.map +1 -0
  388. package/out/components/dialog/DialogTrigger.js +3 -15
  389. package/out/components/dialog/DialogTrigger.js.map +1 -0
  390. package/out/components/dropdown-menu/DropdownMenu.d.ts +1 -0
  391. package/out/components/dropdown-menu/DropdownMenu.d.ts.map +1 -0
  392. package/out/components/dropdown-menu/DropdownMenu.js +3 -15
  393. package/out/components/dropdown-menu/DropdownMenu.js.map +1 -0
  394. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts +1 -0
  395. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts.map +1 -0
  396. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.js +3 -15
  397. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.js.map +1 -0
  398. package/out/components/dropdown-menu/DropdownMenuContent.d.ts +1 -0
  399. package/out/components/dropdown-menu/DropdownMenuContent.d.ts.map +1 -0
  400. package/out/components/dropdown-menu/DropdownMenuContent.js +3 -15
  401. package/out/components/dropdown-menu/DropdownMenuContent.js.map +1 -0
  402. package/out/components/dropdown-menu/DropdownMenuGroup.d.ts +1 -0
  403. package/out/components/dropdown-menu/DropdownMenuGroup.d.ts.map +1 -0
  404. package/out/components/dropdown-menu/DropdownMenuGroup.js +3 -15
  405. package/out/components/dropdown-menu/DropdownMenuGroup.js.map +1 -0
  406. package/out/components/dropdown-menu/DropdownMenuItem.d.ts +1 -0
  407. package/out/components/dropdown-menu/DropdownMenuItem.d.ts.map +1 -0
  408. package/out/components/dropdown-menu/DropdownMenuItem.js +3 -15
  409. package/out/components/dropdown-menu/DropdownMenuItem.js.map +1 -0
  410. package/out/components/dropdown-menu/DropdownMenuLabel.d.ts +1 -0
  411. package/out/components/dropdown-menu/DropdownMenuLabel.d.ts.map +1 -0
  412. package/out/components/dropdown-menu/DropdownMenuLabel.js +3 -15
  413. package/out/components/dropdown-menu/DropdownMenuLabel.js.map +1 -0
  414. package/out/components/dropdown-menu/DropdownMenuPortal.d.ts +1 -0
  415. package/out/components/dropdown-menu/DropdownMenuPortal.d.ts.map +1 -0
  416. package/out/components/dropdown-menu/DropdownMenuPortal.js +3 -15
  417. package/out/components/dropdown-menu/DropdownMenuPortal.js.map +1 -0
  418. package/out/components/dropdown-menu/DropdownMenuRadioGroup.d.ts +1 -0
  419. package/out/components/dropdown-menu/DropdownMenuRadioGroup.d.ts.map +1 -0
  420. package/out/components/dropdown-menu/DropdownMenuRadioGroup.js +3 -15
  421. package/out/components/dropdown-menu/DropdownMenuRadioGroup.js.map +1 -0
  422. package/out/components/dropdown-menu/DropdownMenuRadioItem.d.ts +1 -0
  423. package/out/components/dropdown-menu/DropdownMenuRadioItem.d.ts.map +1 -0
  424. package/out/components/dropdown-menu/DropdownMenuRadioItem.js +3 -15
  425. package/out/components/dropdown-menu/DropdownMenuRadioItem.js.map +1 -0
  426. package/out/components/dropdown-menu/DropdownMenuSeparator.d.ts +1 -0
  427. package/out/components/dropdown-menu/DropdownMenuSeparator.d.ts.map +1 -0
  428. package/out/components/dropdown-menu/DropdownMenuSeparator.js +3 -15
  429. package/out/components/dropdown-menu/DropdownMenuSeparator.js.map +1 -0
  430. package/out/components/dropdown-menu/DropdownMenuShortcut.d.ts +1 -0
  431. package/out/components/dropdown-menu/DropdownMenuShortcut.d.ts.map +1 -0
  432. package/out/components/dropdown-menu/DropdownMenuShortcut.js +3 -15
  433. package/out/components/dropdown-menu/DropdownMenuShortcut.js.map +1 -0
  434. package/out/components/dropdown-menu/DropdownMenuSub.d.ts +1 -0
  435. package/out/components/dropdown-menu/DropdownMenuSub.d.ts.map +1 -0
  436. package/out/components/dropdown-menu/DropdownMenuSub.js +3 -15
  437. package/out/components/dropdown-menu/DropdownMenuSub.js.map +1 -0
  438. package/out/components/dropdown-menu/DropdownMenuSubContent.d.ts +1 -0
  439. package/out/components/dropdown-menu/DropdownMenuSubContent.d.ts.map +1 -0
  440. package/out/components/dropdown-menu/DropdownMenuSubContent.js +3 -15
  441. package/out/components/dropdown-menu/DropdownMenuSubContent.js.map +1 -0
  442. package/out/components/dropdown-menu/DropdownMenuSubTrigger.d.ts +1 -0
  443. package/out/components/dropdown-menu/DropdownMenuSubTrigger.d.ts.map +1 -0
  444. package/out/components/dropdown-menu/DropdownMenuSubTrigger.js +3 -15
  445. package/out/components/dropdown-menu/DropdownMenuSubTrigger.js.map +1 -0
  446. package/out/components/dropdown-menu/DropdownMenuTrigger.d.ts +1 -0
  447. package/out/components/dropdown-menu/DropdownMenuTrigger.d.ts.map +1 -0
  448. package/out/components/dropdown-menu/DropdownMenuTrigger.js +3 -15
  449. package/out/components/dropdown-menu/DropdownMenuTrigger.js.map +1 -0
  450. package/out/components/empty/Empty.d.ts +1 -0
  451. package/out/components/empty/Empty.d.ts.map +1 -0
  452. package/out/components/empty/Empty.js +3 -14
  453. package/out/components/empty/Empty.js.map +1 -0
  454. package/out/components/empty/EmptyContent.d.ts +1 -0
  455. package/out/components/empty/EmptyContent.d.ts.map +1 -0
  456. package/out/components/empty/EmptyContent.js +3 -14
  457. package/out/components/empty/EmptyContent.js.map +1 -0
  458. package/out/components/empty/EmptyDescription.d.ts +1 -0
  459. package/out/components/empty/EmptyDescription.d.ts.map +1 -0
  460. package/out/components/empty/EmptyDescription.js +3 -14
  461. package/out/components/empty/EmptyDescription.js.map +1 -0
  462. package/out/components/empty/EmptyHeader.d.ts +1 -0
  463. package/out/components/empty/EmptyHeader.d.ts.map +1 -0
  464. package/out/components/empty/EmptyHeader.js +3 -14
  465. package/out/components/empty/EmptyHeader.js.map +1 -0
  466. package/out/components/empty/EmptyMedia.d.ts +2 -1
  467. package/out/components/empty/EmptyMedia.d.ts.map +1 -0
  468. package/out/components/empty/EmptyMedia.js +4 -15
  469. package/out/components/empty/EmptyMedia.js.map +1 -0
  470. package/out/components/empty/EmptyTitle.d.ts +1 -0
  471. package/out/components/empty/EmptyTitle.d.ts.map +1 -0
  472. package/out/components/empty/EmptyTitle.js +3 -14
  473. package/out/components/empty/EmptyTitle.js.map +1 -0
  474. package/out/components/empty/emptyMediaVariants.d.ts +3 -1
  475. package/out/components/empty/emptyMediaVariants.d.ts.map +1 -0
  476. package/out/components/empty/emptyMediaVariants.js +3 -1
  477. package/out/components/empty/emptyMediaVariants.js.map +1 -0
  478. package/out/components/error/Error.d.ts +2 -1
  479. package/out/components/error/Error.d.ts.map +1 -0
  480. package/out/components/error/Error.js +3 -21
  481. package/out/components/error/Error.js.map +1 -0
  482. package/out/components/field/Field.d.ts +1 -0
  483. package/out/components/field/Field.d.ts.map +1 -0
  484. package/out/components/field/Field.js +3 -15
  485. package/out/components/field/Field.js.map +1 -0
  486. package/out/components/field/FieldContent.d.ts +1 -0
  487. package/out/components/field/FieldContent.d.ts.map +1 -0
  488. package/out/components/field/FieldContent.js +3 -15
  489. package/out/components/field/FieldContent.js.map +1 -0
  490. package/out/components/field/FieldDescription.d.ts +1 -0
  491. package/out/components/field/FieldDescription.d.ts.map +1 -0
  492. package/out/components/field/FieldDescription.js +3 -15
  493. package/out/components/field/FieldDescription.js.map +1 -0
  494. package/out/components/field/FieldError.d.ts +1 -0
  495. package/out/components/field/FieldError.d.ts.map +1 -0
  496. package/out/components/field/FieldError.js +8 -21
  497. package/out/components/field/FieldError.js.map +1 -0
  498. package/out/components/field/FieldGroup.d.ts +1 -0
  499. package/out/components/field/FieldGroup.d.ts.map +1 -0
  500. package/out/components/field/FieldGroup.js +3 -15
  501. package/out/components/field/FieldGroup.js.map +1 -0
  502. package/out/components/field/FieldLabel.d.ts +1 -0
  503. package/out/components/field/FieldLabel.d.ts.map +1 -0
  504. package/out/components/field/FieldLabel.js +3 -15
  505. package/out/components/field/FieldLabel.js.map +1 -0
  506. package/out/components/field/FieldLegend.d.ts +1 -0
  507. package/out/components/field/FieldLegend.d.ts.map +1 -0
  508. package/out/components/field/FieldLegend.js +3 -15
  509. package/out/components/field/FieldLegend.js.map +1 -0
  510. package/out/components/field/FieldSeparator.d.ts +1 -0
  511. package/out/components/field/FieldSeparator.d.ts.map +1 -0
  512. package/out/components/field/FieldSeparator.js +3 -15
  513. package/out/components/field/FieldSeparator.js.map +1 -0
  514. package/out/components/field/FieldSet.d.ts +1 -0
  515. package/out/components/field/FieldSet.d.ts.map +1 -0
  516. package/out/components/field/FieldSet.js +3 -15
  517. package/out/components/field/FieldSet.js.map +1 -0
  518. package/out/components/field/FieldTitle.d.ts +1 -0
  519. package/out/components/field/FieldTitle.d.ts.map +1 -0
  520. package/out/components/field/FieldTitle.js +3 -15
  521. package/out/components/field/FieldTitle.js.map +1 -0
  522. package/out/components/field/fieldVariants.d.ts +1 -0
  523. package/out/components/field/fieldVariants.d.ts.map +1 -0
  524. package/out/components/field/fieldVariants.js +1 -0
  525. package/out/components/field/fieldVariants.js.map +1 -0
  526. package/out/components/file-dropzone/FileDropzone.d.ts +3 -1
  527. package/out/components/file-dropzone/FileDropzone.d.ts.map +1 -0
  528. package/out/components/file-dropzone/FileDropzone.js +5 -5
  529. package/out/components/file-dropzone/FileDropzone.js.map +1 -0
  530. package/out/components/input/Input.d.ts +2 -1
  531. package/out/components/input/Input.d.ts.map +1 -0
  532. package/out/components/input/Input.js +3 -14
  533. package/out/components/input/Input.js.map +1 -0
  534. package/out/components/input-group/InputGroup.d.ts +1 -0
  535. package/out/components/input-group/InputGroup.d.ts.map +1 -0
  536. package/out/components/input-group/InputGroup.js +3 -15
  537. package/out/components/input-group/InputGroup.js.map +1 -0
  538. package/out/components/input-group/InputGroupAddon.d.ts +1 -0
  539. package/out/components/input-group/InputGroupAddon.d.ts.map +1 -0
  540. package/out/components/input-group/InputGroupAddon.js +5 -18
  541. package/out/components/input-group/InputGroupAddon.js.map +1 -0
  542. package/out/components/input-group/InputGroupButton.d.ts +1 -0
  543. package/out/components/input-group/InputGroupButton.d.ts.map +1 -0
  544. package/out/components/input-group/InputGroupButton.js +3 -15
  545. package/out/components/input-group/InputGroupButton.js.map +1 -0
  546. package/out/components/input-group/InputGroupInput.d.ts +1 -0
  547. package/out/components/input-group/InputGroupInput.d.ts.map +1 -0
  548. package/out/components/input-group/InputGroupInput.js +3 -15
  549. package/out/components/input-group/InputGroupInput.js.map +1 -0
  550. package/out/components/input-group/InputGroupText.d.ts +1 -0
  551. package/out/components/input-group/InputGroupText.d.ts.map +1 -0
  552. package/out/components/input-group/InputGroupText.js +3 -15
  553. package/out/components/input-group/InputGroupText.js.map +1 -0
  554. package/out/components/input-group/InputGroupTextArea.d.ts +1 -0
  555. package/out/components/input-group/InputGroupTextArea.d.ts.map +1 -0
  556. package/out/components/input-group/InputGroupTextArea.js +3 -15
  557. package/out/components/input-group/InputGroupTextArea.js.map +1 -0
  558. package/out/components/input-group/inputGroupAddonVariants.d.ts +1 -0
  559. package/out/components/input-group/inputGroupAddonVariants.d.ts.map +1 -0
  560. package/out/components/input-group/inputGroupAddonVariants.js +1 -0
  561. package/out/components/input-group/inputGroupAddonVariants.js.map +1 -0
  562. package/out/components/input-group/inputGroupButtonVariants.d.ts +1 -0
  563. package/out/components/input-group/inputGroupButtonVariants.d.ts.map +1 -0
  564. package/out/components/input-group/inputGroupButtonVariants.js +1 -0
  565. package/out/components/input-group/inputGroupButtonVariants.js.map +1 -0
  566. package/out/components/item/Item.d.ts +1 -0
  567. package/out/components/item/Item.d.ts.map +1 -0
  568. package/out/components/item/Item.js +2 -13
  569. package/out/components/item/Item.js.map +1 -0
  570. package/out/components/item/ItemActions.d.ts +1 -0
  571. package/out/components/item/ItemActions.d.ts.map +1 -0
  572. package/out/components/item/ItemActions.js +3 -14
  573. package/out/components/item/ItemActions.js.map +1 -0
  574. package/out/components/item/ItemContent.d.ts +1 -0
  575. package/out/components/item/ItemContent.d.ts.map +1 -0
  576. package/out/components/item/ItemContent.js +3 -14
  577. package/out/components/item/ItemContent.js.map +1 -0
  578. package/out/components/item/ItemDescription.d.ts +1 -0
  579. package/out/components/item/ItemDescription.d.ts.map +1 -0
  580. package/out/components/item/ItemDescription.js +3 -14
  581. package/out/components/item/ItemDescription.js.map +1 -0
  582. package/out/components/item/ItemFooter.d.ts +1 -0
  583. package/out/components/item/ItemFooter.d.ts.map +1 -0
  584. package/out/components/item/ItemFooter.js +3 -14
  585. package/out/components/item/ItemFooter.js.map +1 -0
  586. package/out/components/item/ItemGroup.d.ts +1 -0
  587. package/out/components/item/ItemGroup.d.ts.map +1 -0
  588. package/out/components/item/ItemGroup.js +3 -14
  589. package/out/components/item/ItemGroup.js.map +1 -0
  590. package/out/components/item/ItemHeader.d.ts +1 -0
  591. package/out/components/item/ItemHeader.d.ts.map +1 -0
  592. package/out/components/item/ItemHeader.js +3 -14
  593. package/out/components/item/ItemHeader.js.map +1 -0
  594. package/out/components/item/ItemMedia.d.ts +1 -0
  595. package/out/components/item/ItemMedia.d.ts.map +1 -0
  596. package/out/components/item/ItemMedia.js +3 -14
  597. package/out/components/item/ItemMedia.js.map +1 -0
  598. package/out/components/item/ItemSeparator.d.ts +1 -0
  599. package/out/components/item/ItemSeparator.d.ts.map +1 -0
  600. package/out/components/item/ItemSeparator.js +3 -14
  601. package/out/components/item/ItemSeparator.js.map +1 -0
  602. package/out/components/item/ItemTitle.d.ts +1 -0
  603. package/out/components/item/ItemTitle.d.ts.map +1 -0
  604. package/out/components/item/ItemTitle.js +3 -14
  605. package/out/components/item/ItemTitle.js.map +1 -0
  606. package/out/components/item/itemMediaVariants.d.ts +1 -0
  607. package/out/components/item/itemMediaVariants.d.ts.map +1 -0
  608. package/out/components/item/itemMediaVariants.js +1 -0
  609. package/out/components/item/itemMediaVariants.js.map +1 -0
  610. package/out/components/item/itemVariants.d.ts +1 -0
  611. package/out/components/item/itemVariants.d.ts.map +1 -0
  612. package/out/components/item/itemVariants.js +1 -0
  613. package/out/components/item/itemVariants.js.map +1 -0
  614. package/out/components/kbd/Kbd.d.ts +3 -0
  615. package/out/components/kbd/Kbd.d.ts.map +1 -0
  616. package/out/components/kbd/Kbd.js +6 -0
  617. package/out/components/kbd/Kbd.js.map +1 -0
  618. package/out/components/kbd/KbdGroup.d.ts +3 -0
  619. package/out/components/kbd/KbdGroup.d.ts.map +1 -0
  620. package/out/components/kbd/KbdGroup.js +6 -0
  621. package/out/components/kbd/KbdGroup.js.map +1 -0
  622. package/out/components/label/Label.d.ts +1 -0
  623. package/out/components/label/Label.d.ts.map +1 -0
  624. package/out/components/label/Label.js +3 -15
  625. package/out/components/label/Label.js.map +1 -0
  626. package/out/components/link-input/LinkInput.d.ts +1 -0
  627. package/out/components/link-input/LinkInput.d.ts.map +1 -0
  628. package/out/components/link-input/LinkInput.js +8 -22
  629. package/out/components/link-input/LinkInput.js.map +1 -0
  630. package/out/components/message/Message.d.ts +5 -0
  631. package/out/components/message/Message.d.ts.map +1 -0
  632. package/out/components/message/Message.js +6 -0
  633. package/out/components/message/Message.js.map +1 -0
  634. package/out/components/message/MessageAvatar.d.ts +3 -0
  635. package/out/components/message/MessageAvatar.d.ts.map +1 -0
  636. package/out/components/message/MessageAvatar.js +6 -0
  637. package/out/components/message/MessageAvatar.js.map +1 -0
  638. package/out/components/message/MessageContent.d.ts +3 -0
  639. package/out/components/message/MessageContent.d.ts.map +1 -0
  640. package/out/components/message/MessageContent.js +6 -0
  641. package/out/components/message/MessageContent.js.map +1 -0
  642. package/out/components/message/MessageFooter.d.ts +3 -0
  643. package/out/components/message/MessageFooter.d.ts.map +1 -0
  644. package/out/components/message/MessageFooter.js +6 -0
  645. package/out/components/message/MessageFooter.js.map +1 -0
  646. package/out/components/message/MessageGroup.d.ts +3 -0
  647. package/out/components/message/MessageGroup.d.ts.map +1 -0
  648. package/out/components/message/MessageGroup.js +6 -0
  649. package/out/components/message/MessageGroup.js.map +1 -0
  650. package/out/components/message/MessageHeader.d.ts +3 -0
  651. package/out/components/message/MessageHeader.d.ts.map +1 -0
  652. package/out/components/message/MessageHeader.js +6 -0
  653. package/out/components/message/MessageHeader.js.map +1 -0
  654. package/out/components/pagination/Pagination.d.ts +3 -0
  655. package/out/components/pagination/Pagination.d.ts.map +1 -0
  656. package/out/components/pagination/Pagination.js +6 -0
  657. package/out/components/pagination/Pagination.js.map +1 -0
  658. package/out/components/pagination/PaginationContent.d.ts +3 -0
  659. package/out/components/pagination/PaginationContent.d.ts.map +1 -0
  660. package/out/components/pagination/PaginationContent.js +6 -0
  661. package/out/components/pagination/PaginationContent.js.map +1 -0
  662. package/out/components/pagination/PaginationEllipsis.d.ts +3 -0
  663. package/out/components/pagination/PaginationEllipsis.d.ts.map +1 -0
  664. package/out/components/pagination/PaginationEllipsis.js +7 -0
  665. package/out/components/pagination/PaginationEllipsis.js.map +1 -0
  666. package/out/components/pagination/PaginationItem.d.ts +3 -0
  667. package/out/components/pagination/PaginationItem.d.ts.map +1 -0
  668. package/out/components/pagination/PaginationItem.js +5 -0
  669. package/out/components/pagination/PaginationItem.js.map +1 -0
  670. package/out/components/pagination/PaginationLink.d.ts +8 -0
  671. package/out/components/pagination/PaginationLink.d.ts.map +1 -0
  672. package/out/components/pagination/PaginationLink.js +7 -0
  673. package/out/components/pagination/PaginationLink.js.map +1 -0
  674. package/out/components/pagination/PaginationNext.d.ts +6 -0
  675. package/out/components/pagination/PaginationNext.d.ts.map +1 -0
  676. package/out/components/pagination/PaginationNext.js +8 -0
  677. package/out/components/pagination/PaginationNext.js.map +1 -0
  678. package/out/components/pagination/PaginationPrevious.d.ts +6 -0
  679. package/out/components/pagination/PaginationPrevious.d.ts.map +1 -0
  680. package/out/components/pagination/PaginationPrevious.js +8 -0
  681. package/out/components/pagination/PaginationPrevious.js.map +1 -0
  682. package/out/components/popover/Popover.d.ts +1 -0
  683. package/out/components/popover/Popover.d.ts.map +1 -0
  684. package/out/components/popover/Popover.js +3 -15
  685. package/out/components/popover/Popover.js.map +1 -0
  686. package/out/components/popover/PopoverContent.d.ts +1 -0
  687. package/out/components/popover/PopoverContent.d.ts.map +1 -0
  688. package/out/components/popover/PopoverContent.js +3 -15
  689. package/out/components/popover/PopoverContent.js.map +1 -0
  690. package/out/components/popover/PopoverDescription.d.ts +1 -0
  691. package/out/components/popover/PopoverDescription.d.ts.map +1 -0
  692. package/out/components/popover/PopoverDescription.js +3 -15
  693. package/out/components/popover/PopoverDescription.js.map +1 -0
  694. package/out/components/popover/PopoverHeader.d.ts +1 -0
  695. package/out/components/popover/PopoverHeader.d.ts.map +1 -0
  696. package/out/components/popover/PopoverHeader.js +3 -14
  697. package/out/components/popover/PopoverHeader.js.map +1 -0
  698. package/out/components/popover/PopoverTitle.d.ts +1 -0
  699. package/out/components/popover/PopoverTitle.d.ts.map +1 -0
  700. package/out/components/popover/PopoverTitle.js +3 -15
  701. package/out/components/popover/PopoverTitle.js.map +1 -0
  702. package/out/components/popover/PopoverTrigger.d.ts +1 -0
  703. package/out/components/popover/PopoverTrigger.d.ts.map +1 -0
  704. package/out/components/popover/PopoverTrigger.js +3 -15
  705. package/out/components/popover/PopoverTrigger.js.map +1 -0
  706. package/out/components/radio-group/RadioGroup.d.ts +1 -0
  707. package/out/components/radio-group/RadioGroup.d.ts.map +1 -0
  708. package/out/components/radio-group/RadioGroup.js +3 -15
  709. package/out/components/radio-group/RadioGroup.js.map +1 -0
  710. package/out/components/radio-group/RadioGroupItem.d.ts +1 -0
  711. package/out/components/radio-group/RadioGroupItem.d.ts.map +1 -0
  712. package/out/components/radio-group/RadioGroupItem.js +3 -15
  713. package/out/components/radio-group/RadioGroupItem.js.map +1 -0
  714. package/out/components/scroll-area/ScrollArea.d.ts +1 -0
  715. package/out/components/scroll-area/ScrollArea.d.ts.map +1 -0
  716. package/out/components/scroll-area/ScrollArea.js +3 -15
  717. package/out/components/scroll-area/ScrollArea.js.map +1 -0
  718. package/out/components/scroll-area/ScrollBar.d.ts +1 -0
  719. package/out/components/scroll-area/ScrollBar.d.ts.map +1 -0
  720. package/out/components/scroll-area/ScrollBar.js +3 -15
  721. package/out/components/scroll-area/ScrollBar.js.map +1 -0
  722. package/out/components/select/Select.d.ts +1 -0
  723. package/out/components/select/Select.d.ts.map +1 -0
  724. package/out/components/select/Select.js +3 -15
  725. package/out/components/select/Select.js.map +1 -0
  726. package/out/components/select/SelectContent.d.ts +1 -0
  727. package/out/components/select/SelectContent.d.ts.map +1 -0
  728. package/out/components/select/SelectContent.js +3 -15
  729. package/out/components/select/SelectContent.js.map +1 -0
  730. package/out/components/select/SelectGroup.d.ts +1 -0
  731. package/out/components/select/SelectGroup.d.ts.map +1 -0
  732. package/out/components/select/SelectGroup.js +3 -15
  733. package/out/components/select/SelectGroup.js.map +1 -0
  734. package/out/components/select/SelectItem.d.ts +1 -0
  735. package/out/components/select/SelectItem.d.ts.map +1 -0
  736. package/out/components/select/SelectItem.js +3 -15
  737. package/out/components/select/SelectItem.js.map +1 -0
  738. package/out/components/select/SelectLabel.d.ts +1 -0
  739. package/out/components/select/SelectLabel.d.ts.map +1 -0
  740. package/out/components/select/SelectLabel.js +3 -15
  741. package/out/components/select/SelectLabel.js.map +1 -0
  742. package/out/components/select/SelectScrollDownButton.d.ts +1 -0
  743. package/out/components/select/SelectScrollDownButton.d.ts.map +1 -0
  744. package/out/components/select/SelectScrollDownButton.js +3 -15
  745. package/out/components/select/SelectScrollDownButton.js.map +1 -0
  746. package/out/components/select/SelectScrollUpButton.d.ts +1 -0
  747. package/out/components/select/SelectScrollUpButton.d.ts.map +1 -0
  748. package/out/components/select/SelectScrollUpButton.js +3 -15
  749. package/out/components/select/SelectScrollUpButton.js.map +1 -0
  750. package/out/components/select/SelectSeparator.d.ts +1 -0
  751. package/out/components/select/SelectSeparator.d.ts.map +1 -0
  752. package/out/components/select/SelectSeparator.js +3 -15
  753. package/out/components/select/SelectSeparator.js.map +1 -0
  754. package/out/components/select/SelectTrigger.d.ts +1 -0
  755. package/out/components/select/SelectTrigger.d.ts.map +1 -0
  756. package/out/components/select/SelectTrigger.js +3 -15
  757. package/out/components/select/SelectTrigger.js.map +1 -0
  758. package/out/components/select/SelectValue.d.ts +1 -0
  759. package/out/components/select/SelectValue.d.ts.map +1 -0
  760. package/out/components/select/SelectValue.js +3 -15
  761. package/out/components/select/SelectValue.js.map +1 -0
  762. package/out/components/separator/Separator.d.ts +1 -0
  763. package/out/components/separator/Separator.d.ts.map +1 -0
  764. package/out/components/separator/Separator.js +3 -15
  765. package/out/components/separator/Separator.js.map +1 -0
  766. package/out/components/sheet/Sheet.d.ts +1 -0
  767. package/out/components/sheet/Sheet.d.ts.map +1 -0
  768. package/out/components/sheet/Sheet.js +3 -15
  769. package/out/components/sheet/Sheet.js.map +1 -0
  770. package/out/components/sheet/SheetClose.d.ts +1 -0
  771. package/out/components/sheet/SheetClose.d.ts.map +1 -0
  772. package/out/components/sheet/SheetClose.js +3 -15
  773. package/out/components/sheet/SheetClose.js.map +1 -0
  774. package/out/components/sheet/SheetContent.d.ts +1 -0
  775. package/out/components/sheet/SheetContent.d.ts.map +1 -0
  776. package/out/components/sheet/SheetContent.js +3 -15
  777. package/out/components/sheet/SheetContent.js.map +1 -0
  778. package/out/components/sheet/SheetDescription.d.ts +1 -0
  779. package/out/components/sheet/SheetDescription.d.ts.map +1 -0
  780. package/out/components/sheet/SheetDescription.js +3 -15
  781. package/out/components/sheet/SheetDescription.js.map +1 -0
  782. package/out/components/sheet/SheetFooter.d.ts +1 -0
  783. package/out/components/sheet/SheetFooter.d.ts.map +1 -0
  784. package/out/components/sheet/SheetFooter.js +3 -15
  785. package/out/components/sheet/SheetFooter.js.map +1 -0
  786. package/out/components/sheet/SheetHeader.d.ts +1 -0
  787. package/out/components/sheet/SheetHeader.d.ts.map +1 -0
  788. package/out/components/sheet/SheetHeader.js +3 -15
  789. package/out/components/sheet/SheetHeader.js.map +1 -0
  790. package/out/components/sheet/SheetOverlay.d.ts +1 -0
  791. package/out/components/sheet/SheetOverlay.d.ts.map +1 -0
  792. package/out/components/sheet/SheetOverlay.js +3 -15
  793. package/out/components/sheet/SheetOverlay.js.map +1 -0
  794. package/out/components/sheet/SheetPortal.d.ts +1 -0
  795. package/out/components/sheet/SheetPortal.d.ts.map +1 -0
  796. package/out/components/sheet/SheetPortal.js +3 -15
  797. package/out/components/sheet/SheetPortal.js.map +1 -0
  798. package/out/components/sheet/SheetTitle.d.ts +1 -0
  799. package/out/components/sheet/SheetTitle.d.ts.map +1 -0
  800. package/out/components/sheet/SheetTitle.js +3 -15
  801. package/out/components/sheet/SheetTitle.js.map +1 -0
  802. package/out/components/sheet/SheetTrigger.d.ts +1 -0
  803. package/out/components/sheet/SheetTrigger.d.ts.map +1 -0
  804. package/out/components/sheet/SheetTrigger.js +3 -15
  805. package/out/components/sheet/SheetTrigger.js.map +1 -0
  806. package/out/components/sidebar/Sidebar.d.ts +1 -0
  807. package/out/components/sidebar/Sidebar.d.ts.map +1 -0
  808. package/out/components/sidebar/Sidebar.js +7 -19
  809. package/out/components/sidebar/Sidebar.js.map +1 -0
  810. package/out/components/sidebar/SidebarContent.d.ts +1 -0
  811. package/out/components/sidebar/SidebarContent.d.ts.map +1 -0
  812. package/out/components/sidebar/SidebarContent.js +3 -14
  813. package/out/components/sidebar/SidebarContent.js.map +1 -0
  814. package/out/components/sidebar/SidebarFooter.d.ts +1 -0
  815. package/out/components/sidebar/SidebarFooter.d.ts.map +1 -0
  816. package/out/components/sidebar/SidebarFooter.js +3 -14
  817. package/out/components/sidebar/SidebarFooter.js.map +1 -0
  818. package/out/components/sidebar/SidebarGroup.d.ts +1 -0
  819. package/out/components/sidebar/SidebarGroup.d.ts.map +1 -0
  820. package/out/components/sidebar/SidebarGroup.js +3 -14
  821. package/out/components/sidebar/SidebarGroup.js.map +1 -0
  822. package/out/components/sidebar/SidebarGroupAction.d.ts +1 -0
  823. package/out/components/sidebar/SidebarGroupAction.d.ts.map +1 -0
  824. package/out/components/sidebar/SidebarGroupAction.js +2 -13
  825. package/out/components/sidebar/SidebarGroupAction.js.map +1 -0
  826. package/out/components/sidebar/SidebarGroupContent.d.ts +1 -0
  827. package/out/components/sidebar/SidebarGroupContent.d.ts.map +1 -0
  828. package/out/components/sidebar/SidebarGroupContent.js +3 -14
  829. package/out/components/sidebar/SidebarGroupContent.js.map +1 -0
  830. package/out/components/sidebar/SidebarGroupLabel.d.ts +1 -0
  831. package/out/components/sidebar/SidebarGroupLabel.d.ts.map +1 -0
  832. package/out/components/sidebar/SidebarGroupLabel.js +2 -13
  833. package/out/components/sidebar/SidebarGroupLabel.js.map +1 -0
  834. package/out/components/sidebar/SidebarHeader.d.ts +1 -0
  835. package/out/components/sidebar/SidebarHeader.d.ts.map +1 -0
  836. package/out/components/sidebar/SidebarHeader.js +3 -14
  837. package/out/components/sidebar/SidebarHeader.js.map +1 -0
  838. package/out/components/sidebar/SidebarInput.d.ts +1 -0
  839. package/out/components/sidebar/SidebarInput.d.ts.map +1 -0
  840. package/out/components/sidebar/SidebarInput.js +3 -14
  841. package/out/components/sidebar/SidebarInput.js.map +1 -0
  842. package/out/components/sidebar/SidebarInset.d.ts +1 -0
  843. package/out/components/sidebar/SidebarInset.d.ts.map +1 -0
  844. package/out/components/sidebar/SidebarInset.js +3 -14
  845. package/out/components/sidebar/SidebarInset.js.map +1 -0
  846. package/out/components/sidebar/SidebarMenu.d.ts +1 -0
  847. package/out/components/sidebar/SidebarMenu.d.ts.map +1 -0
  848. package/out/components/sidebar/SidebarMenu.js +3 -14
  849. package/out/components/sidebar/SidebarMenu.js.map +1 -0
  850. package/out/components/sidebar/SidebarMenuAction.d.ts +1 -0
  851. package/out/components/sidebar/SidebarMenuAction.d.ts.map +1 -0
  852. package/out/components/sidebar/SidebarMenuAction.js +2 -13
  853. package/out/components/sidebar/SidebarMenuAction.js.map +1 -0
  854. package/out/components/sidebar/SidebarMenuBadge.d.ts +1 -0
  855. package/out/components/sidebar/SidebarMenuBadge.d.ts.map +1 -0
  856. package/out/components/sidebar/SidebarMenuBadge.js +3 -14
  857. package/out/components/sidebar/SidebarMenuBadge.js.map +1 -0
  858. package/out/components/sidebar/SidebarMenuButton.d.ts +1 -0
  859. package/out/components/sidebar/SidebarMenuButton.d.ts.map +1 -0
  860. package/out/components/sidebar/SidebarMenuButton.js +3 -14
  861. package/out/components/sidebar/SidebarMenuButton.js.map +1 -0
  862. package/out/components/sidebar/SidebarMenuItem.d.ts +1 -0
  863. package/out/components/sidebar/SidebarMenuItem.d.ts.map +1 -0
  864. package/out/components/sidebar/SidebarMenuItem.js +3 -14
  865. package/out/components/sidebar/SidebarMenuItem.js.map +1 -0
  866. package/out/components/sidebar/SidebarMenuSkeleton.d.ts +1 -0
  867. package/out/components/sidebar/SidebarMenuSkeleton.d.ts.map +1 -0
  868. package/out/components/sidebar/SidebarMenuSkeleton.js +4 -15
  869. package/out/components/sidebar/SidebarMenuSkeleton.js.map +1 -0
  870. package/out/components/sidebar/SidebarMenuSub.d.ts +1 -0
  871. package/out/components/sidebar/SidebarMenuSub.d.ts.map +1 -0
  872. package/out/components/sidebar/SidebarMenuSub.js +3 -14
  873. package/out/components/sidebar/SidebarMenuSub.js.map +1 -0
  874. package/out/components/sidebar/SidebarMenuSubButton.d.ts +1 -0
  875. package/out/components/sidebar/SidebarMenuSubButton.d.ts.map +1 -0
  876. package/out/components/sidebar/SidebarMenuSubButton.js +2 -13
  877. package/out/components/sidebar/SidebarMenuSubButton.js.map +1 -0
  878. package/out/components/sidebar/SidebarMenuSubItem.d.ts +1 -0
  879. package/out/components/sidebar/SidebarMenuSubItem.d.ts.map +1 -0
  880. package/out/components/sidebar/SidebarMenuSubItem.js +3 -14
  881. package/out/components/sidebar/SidebarMenuSubItem.js.map +1 -0
  882. package/out/components/sidebar/SidebarProvider.d.ts +1 -0
  883. package/out/components/sidebar/SidebarProvider.d.ts.map +1 -0
  884. package/out/components/sidebar/SidebarProvider.js +8 -16
  885. package/out/components/sidebar/SidebarProvider.js.map +1 -0
  886. package/out/components/sidebar/SidebarRail.d.ts +1 -0
  887. package/out/components/sidebar/SidebarRail.d.ts.map +1 -0
  888. package/out/components/sidebar/SidebarRail.js +3 -15
  889. package/out/components/sidebar/SidebarRail.js.map +1 -0
  890. package/out/components/sidebar/SidebarSeparator.d.ts +1 -0
  891. package/out/components/sidebar/SidebarSeparator.d.ts.map +1 -0
  892. package/out/components/sidebar/SidebarSeparator.js +3 -14
  893. package/out/components/sidebar/SidebarSeparator.js.map +1 -0
  894. package/out/components/sidebar/SidebarTrigger.d.ts +1 -0
  895. package/out/components/sidebar/SidebarTrigger.d.ts.map +1 -0
  896. package/out/components/sidebar/SidebarTrigger.js +5 -17
  897. package/out/components/sidebar/SidebarTrigger.js.map +1 -0
  898. package/out/components/sidebar/sidebarMenuButtonVariants.d.ts +1 -0
  899. package/out/components/sidebar/sidebarMenuButtonVariants.d.ts.map +1 -0
  900. package/out/components/sidebar/sidebarMenuButtonVariants.js +1 -0
  901. package/out/components/sidebar/sidebarMenuButtonVariants.js.map +1 -0
  902. package/out/components/sidebar/useIsMobile.d.ts +1 -0
  903. package/out/components/sidebar/useIsMobile.d.ts.map +1 -0
  904. package/out/components/sidebar/useIsMobile.js +1 -0
  905. package/out/components/sidebar/useIsMobile.js.map +1 -0
  906. package/out/components/sidebar/useSidebar.d.ts +1 -0
  907. package/out/components/sidebar/useSidebar.d.ts.map +1 -0
  908. package/out/components/sidebar/useSidebar.js +1 -0
  909. package/out/components/sidebar/useSidebar.js.map +1 -0
  910. package/out/components/skeleton/Skeleton.d.ts +1 -0
  911. package/out/components/skeleton/Skeleton.d.ts.map +1 -0
  912. package/out/components/skeleton/Skeleton.js +3 -14
  913. package/out/components/skeleton/Skeleton.js.map +1 -0
  914. package/out/components/slider/Slider.d.ts +1 -0
  915. package/out/components/slider/Slider.d.ts.map +1 -0
  916. package/out/components/slider/Slider.js +3 -15
  917. package/out/components/slider/Slider.js.map +1 -0
  918. package/out/components/sonner/Toaster.d.ts +1 -0
  919. package/out/components/sonner/Toaster.d.ts.map +1 -0
  920. package/out/components/sonner/Toaster.js +13 -18
  921. package/out/components/sonner/Toaster.js.map +1 -0
  922. package/out/components/sortable/Sortable.d.ts +1 -0
  923. package/out/components/sortable/Sortable.d.ts.map +1 -0
  924. package/out/components/sortable/Sortable.js +22 -35
  925. package/out/components/sortable/Sortable.js.map +1 -0
  926. package/out/components/sortable/SortableContent.d.ts +1 -0
  927. package/out/components/sortable/SortableContent.d.ts.map +1 -0
  928. package/out/components/sortable/SortableContent.js +9 -15
  929. package/out/components/sortable/SortableContent.js.map +1 -0
  930. package/out/components/sortable/SortableContentContext.d.ts +1 -0
  931. package/out/components/sortable/SortableContentContext.d.ts.map +1 -0
  932. package/out/components/sortable/SortableContentContext.js +1 -0
  933. package/out/components/sortable/SortableContentContext.js.map +1 -0
  934. package/out/components/sortable/SortableItem.d.ts +1 -0
  935. package/out/components/sortable/SortableItem.d.ts.map +1 -0
  936. package/out/components/sortable/SortableItem.js +22 -18
  937. package/out/components/sortable/SortableItem.js.map +1 -0
  938. package/out/components/sortable/SortableItemHandle.d.ts +1 -0
  939. package/out/components/sortable/SortableItemHandle.d.ts.map +1 -0
  940. package/out/components/sortable/SortableItemHandle.js +17 -16
  941. package/out/components/sortable/SortableItemHandle.js.map +1 -0
  942. package/out/components/sortable/SortableOverlay.d.ts +1 -0
  943. package/out/components/sortable/SortableOverlay.d.ts.map +1 -0
  944. package/out/components/sortable/SortableOverlay.js +5 -17
  945. package/out/components/sortable/SortableOverlay.js.map +1 -0
  946. package/out/components/sortable/SortableOverlayContext.d.ts +1 -0
  947. package/out/components/sortable/SortableOverlayContext.d.ts.map +1 -0
  948. package/out/components/sortable/SortableOverlayContext.js +1 -1
  949. package/out/components/sortable/SortableOverlayContext.js.map +1 -0
  950. package/out/components/sortable/SortableRootContext.d.ts +1 -0
  951. package/out/components/sortable/SortableRootContext.d.ts.map +1 -0
  952. package/out/components/sortable/SortableRootContext.js +1 -0
  953. package/out/components/sortable/SortableRootContext.js.map +1 -0
  954. package/out/components/sortable/useSortableContext.d.ts +1 -0
  955. package/out/components/sortable/useSortableContext.d.ts.map +1 -0
  956. package/out/components/sortable/useSortableContext.js +1 -0
  957. package/out/components/sortable/useSortableContext.js.map +1 -0
  958. package/out/components/sortable/useSortableItemContext.d.ts +1 -0
  959. package/out/components/sortable/useSortableItemContext.d.ts.map +1 -0
  960. package/out/components/sortable/useSortableItemContext.js +1 -0
  961. package/out/components/sortable/useSortableItemContext.js.map +1 -0
  962. package/out/components/spinner/Spinner.d.ts +1 -0
  963. package/out/components/spinner/Spinner.d.ts.map +1 -0
  964. package/out/components/spinner/Spinner.js +3 -14
  965. package/out/components/spinner/Spinner.js.map +1 -0
  966. package/out/components/status-indicator/StatusIndicator.d.ts +5 -0
  967. package/out/components/status-indicator/StatusIndicator.d.ts.map +1 -0
  968. package/out/components/status-indicator/StatusIndicator.js +20 -0
  969. package/out/components/status-indicator/StatusIndicator.js.map +1 -0
  970. package/out/components/status-indicator/statusIndicatorVariants.d.ts +5 -0
  971. package/out/components/status-indicator/statusIndicatorVariants.d.ts.map +1 -0
  972. package/out/components/status-indicator/statusIndicatorVariants.js +15 -0
  973. package/out/components/status-indicator/statusIndicatorVariants.js.map +1 -0
  974. package/out/components/switch/Switch.d.ts +1 -0
  975. package/out/components/switch/Switch.d.ts.map +1 -0
  976. package/out/components/switch/Switch.js +3 -15
  977. package/out/components/switch/Switch.js.map +1 -0
  978. package/out/components/table/Table.d.ts +1 -0
  979. package/out/components/table/Table.d.ts.map +1 -0
  980. package/out/components/table/Table.js +3 -15
  981. package/out/components/table/Table.js.map +1 -0
  982. package/out/components/table/TableBody.d.ts +1 -0
  983. package/out/components/table/TableBody.d.ts.map +1 -0
  984. package/out/components/table/TableBody.js +3 -15
  985. package/out/components/table/TableBody.js.map +1 -0
  986. package/out/components/table/TableCaption.d.ts +1 -0
  987. package/out/components/table/TableCaption.d.ts.map +1 -0
  988. package/out/components/table/TableCaption.js +3 -15
  989. package/out/components/table/TableCaption.js.map +1 -0
  990. package/out/components/table/TableCell.d.ts +1 -0
  991. package/out/components/table/TableCell.d.ts.map +1 -0
  992. package/out/components/table/TableCell.js +3 -15
  993. package/out/components/table/TableCell.js.map +1 -0
  994. package/out/components/table/TableFooter.d.ts +1 -0
  995. package/out/components/table/TableFooter.d.ts.map +1 -0
  996. package/out/components/table/TableFooter.js +3 -15
  997. package/out/components/table/TableFooter.js.map +1 -0
  998. package/out/components/table/TableHead.d.ts +1 -0
  999. package/out/components/table/TableHead.d.ts.map +1 -0
  1000. package/out/components/table/TableHead.js +3 -15
  1001. package/out/components/table/TableHead.js.map +1 -0
  1002. package/out/components/table/TableHeader.d.ts +1 -0
  1003. package/out/components/table/TableHeader.d.ts.map +1 -0
  1004. package/out/components/table/TableHeader.js +3 -15
  1005. package/out/components/table/TableHeader.js.map +1 -0
  1006. package/out/components/table/TableRow.d.ts +1 -0
  1007. package/out/components/table/TableRow.d.ts.map +1 -0
  1008. package/out/components/table/TableRow.js +3 -15
  1009. package/out/components/table/TableRow.js.map +1 -0
  1010. package/out/components/tabs/Tabs.d.ts +1 -0
  1011. package/out/components/tabs/Tabs.d.ts.map +1 -0
  1012. package/out/components/tabs/Tabs.js +3 -15
  1013. package/out/components/tabs/Tabs.js.map +1 -0
  1014. package/out/components/tabs/TabsContent.d.ts +1 -0
  1015. package/out/components/tabs/TabsContent.d.ts.map +1 -0
  1016. package/out/components/tabs/TabsContent.js +3 -15
  1017. package/out/components/tabs/TabsContent.js.map +1 -0
  1018. package/out/components/tabs/TabsList.d.ts +1 -0
  1019. package/out/components/tabs/TabsList.d.ts.map +1 -0
  1020. package/out/components/tabs/TabsList.js +3 -15
  1021. package/out/components/tabs/TabsList.js.map +1 -0
  1022. package/out/components/tabs/TabsTrigger.d.ts +1 -0
  1023. package/out/components/tabs/TabsTrigger.d.ts.map +1 -0
  1024. package/out/components/tabs/TabsTrigger.js +3 -15
  1025. package/out/components/tabs/TabsTrigger.js.map +1 -0
  1026. package/out/components/tabs/tabsListVariants.d.ts +1 -0
  1027. package/out/components/tabs/tabsListVariants.d.ts.map +1 -0
  1028. package/out/components/tabs/tabsListVariants.js +2 -1
  1029. package/out/components/tabs/tabsListVariants.js.map +1 -0
  1030. package/out/components/textarea/TextArea.d.ts +1 -0
  1031. package/out/components/textarea/TextArea.d.ts.map +1 -0
  1032. package/out/components/textarea/TextArea.js +3 -14
  1033. package/out/components/textarea/TextArea.js.map +1 -0
  1034. package/out/components/toggle/Toggle.d.ts +2 -1
  1035. package/out/components/toggle/Toggle.d.ts.map +1 -0
  1036. package/out/components/toggle/Toggle.js +4 -16
  1037. package/out/components/toggle/Toggle.js.map +1 -0
  1038. package/out/components/toggle/toggleVariants.d.ts +3 -1
  1039. package/out/components/toggle/toggleVariants.d.ts.map +1 -0
  1040. package/out/components/toggle/toggleVariants.js +3 -1
  1041. package/out/components/toggle/toggleVariants.js.map +1 -0
  1042. package/out/components/tooltip/Tooltip.d.ts +1 -0
  1043. package/out/components/tooltip/Tooltip.d.ts.map +1 -0
  1044. package/out/components/tooltip/Tooltip.js +3 -15
  1045. package/out/components/tooltip/Tooltip.js.map +1 -0
  1046. package/out/components/tooltip/TooltipContent.d.ts +1 -0
  1047. package/out/components/tooltip/TooltipContent.d.ts.map +1 -0
  1048. package/out/components/tooltip/TooltipContent.js +3 -15
  1049. package/out/components/tooltip/TooltipContent.js.map +1 -0
  1050. package/out/components/tooltip/TooltipProvider.d.ts +1 -0
  1051. package/out/components/tooltip/TooltipProvider.d.ts.map +1 -0
  1052. package/out/components/tooltip/TooltipProvider.js +3 -15
  1053. package/out/components/tooltip/TooltipProvider.js.map +1 -0
  1054. package/out/components/tooltip/TooltipTrigger.d.ts +1 -0
  1055. package/out/components/tooltip/TooltipTrigger.d.ts.map +1 -0
  1056. package/out/components/tooltip/TooltipTrigger.js +3 -15
  1057. package/out/components/tooltip/TooltipTrigger.js.map +1 -0
  1058. package/out/components/typography/TypographyA.d.ts +1 -0
  1059. package/out/components/typography/TypographyA.d.ts.map +1 -0
  1060. package/out/components/typography/TypographyA.js +8 -14
  1061. package/out/components/typography/TypographyA.js.map +1 -0
  1062. package/out/components/typography/TypographyBlockquote.d.ts +1 -0
  1063. package/out/components/typography/TypographyBlockquote.d.ts.map +1 -0
  1064. package/out/components/typography/TypographyBlockquote.js +2 -15
  1065. package/out/components/typography/TypographyBlockquote.js.map +1 -0
  1066. package/out/components/typography/TypographyFigure.d.ts +1 -0
  1067. package/out/components/typography/TypographyFigure.d.ts.map +1 -0
  1068. package/out/components/typography/TypographyFigure.js +2 -15
  1069. package/out/components/typography/TypographyFigure.js.map +1 -0
  1070. package/out/components/typography/TypographyFigureCaption.d.ts +1 -0
  1071. package/out/components/typography/TypographyFigureCaption.d.ts.map +1 -0
  1072. package/out/components/typography/TypographyFigureCaption.js +2 -15
  1073. package/out/components/typography/TypographyFigureCaption.js.map +1 -0
  1074. package/out/components/typography/TypographyH1.d.ts +1 -0
  1075. package/out/components/typography/TypographyH1.d.ts.map +1 -0
  1076. package/out/components/typography/TypographyH1.js +2 -15
  1077. package/out/components/typography/TypographyH1.js.map +1 -0
  1078. package/out/components/typography/TypographyH2.d.ts +1 -0
  1079. package/out/components/typography/TypographyH2.d.ts.map +1 -0
  1080. package/out/components/typography/TypographyH2.js +2 -15
  1081. package/out/components/typography/TypographyH2.js.map +1 -0
  1082. package/out/components/typography/TypographyH3.d.ts +1 -0
  1083. package/out/components/typography/TypographyH3.d.ts.map +1 -0
  1084. package/out/components/typography/TypographyH3.js +2 -15
  1085. package/out/components/typography/TypographyH3.js.map +1 -0
  1086. package/out/components/typography/TypographyH4.d.ts +1 -0
  1087. package/out/components/typography/TypographyH4.d.ts.map +1 -0
  1088. package/out/components/typography/TypographyH4.js +2 -15
  1089. package/out/components/typography/TypographyH4.js.map +1 -0
  1090. package/out/components/typography/TypographyH5.d.ts +1 -0
  1091. package/out/components/typography/TypographyH5.d.ts.map +1 -0
  1092. package/out/components/typography/TypographyH5.js +2 -15
  1093. package/out/components/typography/TypographyH5.js.map +1 -0
  1094. package/out/components/typography/TypographyH6.d.ts +1 -0
  1095. package/out/components/typography/TypographyH6.d.ts.map +1 -0
  1096. package/out/components/typography/TypographyH6.js +2 -15
  1097. package/out/components/typography/TypographyH6.js.map +1 -0
  1098. package/out/components/typography/TypographyHr.d.ts +1 -0
  1099. package/out/components/typography/TypographyHr.d.ts.map +1 -0
  1100. package/out/components/typography/TypographyHr.js +2 -15
  1101. package/out/components/typography/TypographyHr.js.map +1 -0
  1102. package/out/components/typography/TypographyImage.d.ts +1 -0
  1103. package/out/components/typography/TypographyImage.d.ts.map +1 -0
  1104. package/out/components/typography/TypographyImage.js +2 -16
  1105. package/out/components/typography/TypographyImage.js.map +1 -0
  1106. package/out/components/typography/TypographyImg.d.ts +2 -22
  1107. package/out/components/typography/TypographyImg.d.ts.map +1 -0
  1108. package/out/components/typography/TypographyImg.js +2 -16
  1109. package/out/components/typography/TypographyImg.js.map +1 -0
  1110. package/out/components/typography/TypographyInlineCode.d.ts +1 -0
  1111. package/out/components/typography/TypographyInlineCode.d.ts.map +1 -0
  1112. package/out/components/typography/TypographyInlineCode.js +4 -15
  1113. package/out/components/typography/TypographyInlineCode.js.map +1 -0
  1114. package/out/components/typography/TypographyLi.d.ts +1 -0
  1115. package/out/components/typography/TypographyLi.d.ts.map +1 -0
  1116. package/out/components/typography/TypographyLi.js +2 -15
  1117. package/out/components/typography/TypographyLi.js.map +1 -0
  1118. package/out/components/typography/TypographyLink.d.ts +2 -3
  1119. package/out/components/typography/TypographyLink.d.ts.map +1 -0
  1120. package/out/components/typography/TypographyLink.js +2 -16
  1121. package/out/components/typography/TypographyLink.js.map +1 -0
  1122. package/out/components/typography/TypographyList.d.ts +1 -0
  1123. package/out/components/typography/TypographyList.d.ts.map +1 -0
  1124. package/out/components/typography/TypographyList.js +2 -15
  1125. package/out/components/typography/TypographyList.js.map +1 -0
  1126. package/out/components/typography/TypographyOl.d.ts +1 -0
  1127. package/out/components/typography/TypographyOl.d.ts.map +1 -0
  1128. package/out/components/typography/TypographyOl.js +2 -15
  1129. package/out/components/typography/TypographyOl.js.map +1 -0
  1130. package/out/components/typography/TypographyP.d.ts +1 -0
  1131. package/out/components/typography/TypographyP.d.ts.map +1 -0
  1132. package/out/components/typography/TypographyP.js +2 -15
  1133. package/out/components/typography/TypographyP.js.map +1 -0
  1134. package/out/components/typography/TypographyPre.d.ts +1 -0
  1135. package/out/components/typography/TypographyPre.d.ts.map +1 -0
  1136. package/out/components/typography/TypographyPre.js +2 -15
  1137. package/out/components/typography/TypographyPre.js.map +1 -0
  1138. package/out/components/typography/TypographyStrong.d.ts +1 -0
  1139. package/out/components/typography/TypographyStrong.d.ts.map +1 -0
  1140. package/out/components/typography/TypographyStrong.js +2 -15
  1141. package/out/components/typography/TypographyStrong.js.map +1 -0
  1142. package/out/components/typography/TypographyTable.d.ts +1 -0
  1143. package/out/components/typography/TypographyTable.d.ts.map +1 -0
  1144. package/out/components/typography/TypographyTable.js +2 -15
  1145. package/out/components/typography/TypographyTable.js.map +1 -0
  1146. package/out/components/typography/TypographyTd.d.ts +1 -0
  1147. package/out/components/typography/TypographyTd.d.ts.map +1 -0
  1148. package/out/components/typography/TypographyTd.js +2 -15
  1149. package/out/components/typography/TypographyTd.js.map +1 -0
  1150. package/out/components/typography/TypographyTh.d.ts +1 -0
  1151. package/out/components/typography/TypographyTh.d.ts.map +1 -0
  1152. package/out/components/typography/TypographyTh.js +2 -15
  1153. package/out/components/typography/TypographyTh.js.map +1 -0
  1154. package/out/components/typography/TypographyTr.d.ts +1 -0
  1155. package/out/components/typography/TypographyTr.d.ts.map +1 -0
  1156. package/out/components/typography/TypographyTr.js +2 -15
  1157. package/out/components/typography/TypographyTr.js.map +1 -0
  1158. package/out/index.d.ts +24 -11
  1159. package/out/index.d.ts.map +1 -0
  1160. package/out/index.js +30 -10
  1161. package/out/index.js.map +1 -0
  1162. package/package.json +28 -41
  1163. package/tailwind.css +27 -7
  1164. package/out/clerk.d.ts +0 -3
  1165. package/out/clerk.js +0 -64
  1166. package/out/components/chart/ChartContainer.d.ts +0 -7
  1167. package/out/components/chart/ChartContainer.js +0 -24
  1168. package/out/components/chart/ChartContext.d.ts +0 -16
  1169. package/out/components/chart/ChartContext.js +0 -2
  1170. package/out/components/chart/ChartLegend.d.ts +0 -3
  1171. package/out/components/chart/ChartLegend.js +0 -5
  1172. package/out/components/chart/ChartLegendContent.d.ts +0 -9
  1173. package/out/components/chart/ChartLegendContent.js +0 -19
  1174. package/out/components/chart/ChartStyle.d.ts +0 -5
  1175. package/out/components/chart/ChartStyle.js +0 -23
  1176. package/out/components/chart/ChartTooltip.d.ts +0 -3
  1177. package/out/components/chart/ChartTooltip.js +0 -17
  1178. package/out/components/chart/ChartTooltipContent.d.ts +0 -15
  1179. package/out/components/chart/ChartTooltipContent.js +0 -49
  1180. package/out/components/chart/getPayloadConfigFromPayload.d.ts +0 -11
  1181. package/out/components/chart/getPayloadConfigFromPayload.js +0 -18
  1182. package/out/components/chart/useChart.d.ts +0 -3
  1183. package/out/components/chart/useChart.js +0 -9
  1184. package/out/components/command/CommandGroup.d.ts +0 -3
  1185. package/out/components/command/CommandGroup.js +0 -19
  1186. package/out/components/command/CommandSeparator.d.ts +0 -3
  1187. package/out/components/command/CommandSeparator.js +0 -19
  1188. package/out/components/command/CommandShortcut.d.ts +0 -2
  1189. package/out/components/command/CommandShortcut.js +0 -18
  1190. package/out/components/glass/Glass.d.ts +0 -6
  1191. package/out/components/glass/Glass.js +0 -89
  1192. package/out/components/glass/GlassDisplacementMap.d.ts +0 -16
  1193. package/out/components/glass/GlassDisplacementMap.js +0 -39
  1194. package/out/components/glass/GlassFilter.d.ts +0 -15
  1195. package/out/components/glass/GlassFilter.js +0 -11
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sortable.js","sourceRoot":"","sources":["../../../components/sortable/Sortable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEN,aAAa,EACb,cAAc,EACd,UAAU,EAIV,cAAc,EACd,WAAW,EAEX,WAAW,EAEX,SAAS,EACT,UAAU,GACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACN,SAAS,EACT,6BAA6B,EAE7B,2BAA2B,EAC3B,2BAA2B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE9D,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAChC,QAAQ,EAAE;QACT,SAAS,EAAE,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;QAC5D,QAAQ,EAAE,2BAA2B;QACrC,kBAAkB,EAAE,aAAa;KACjC;IACD,UAAU,EAAE;QACX,SAAS,EAAE,CAAC,wBAAwB,EAAE,uBAAuB,CAAC;QAC9D,QAAQ,EAAE,6BAA6B;QACvC,kBAAkB,EAAE,aAAa;KACjC;IACD,KAAK,EAAE;QACN,SAAS,EAAE,CAAC,uBAAuB,CAAC;QACpC,Q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AE,YAAiD,YACrF,KAAC,UAAU,IACV,kBAAkB,EAAE,kBAAkB,IAAI,MAAM,CAAC,kBAAkB,EACnE,SAAS,EAAE,SAAS,IAAI,MAAM,CAAC,SAAS,EACxC,OAAO,EAAE,OAAO,KACZ,aAAa,EACjB,EAAE,EAAE,EAAE,EACN,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE;gBACd,aAAa;gBACb,wBAAwB;gBACxB,GAAG,aAAa;aAChB,GACA,GAC4B,CAC/B,CAAC;AACH,CAAC","sourcesContent":["import {\n\ttype Announcements,\n\tclosestCenter,\n\tclosestCorners,\n\tDndContext,\n\ttype DndContextProps,\n\ttype DragEndEvent,\n\ttype DragStartEvent,\n\tKeyboardSensor,\n\tMouseSensor,\n\ttype ScreenReaderInstructions,\n\tTouchSensor,\n\ttype UniqueIdentifier,\n\tuseSensor,\n\tuseSensors,\n} from \"@dnd-kit/core\";\nimport { restrictToHorizontalAxis, restrictToParentElement, restrictToVerticalAxis } from \"@dnd-kit/modifiers\";\nimport {\n\tarrayMove,\n\thorizontalListSortingStrategy,\n\ttype SortableContextProps,\n\tsortableKeyboardCoordinates,\n\tverticalListSortingStrategy,\n} from \"@dnd-kit/sortable\";\nimport { useCallback, useId, useMemo, useState } from \"react\";\n\nimport SortableRootContext from \"./SortableRootContext\";\n\nexport const orientationConfig = {\n\tvertical: {\n\t\tmodifiers: [restrictToVerticalAxis, restrictToParentElement],\n\t\tstrategy: verticalListSortingStrategy,\n\t\tcollisionDetection: closestCenter,\n\t},\n\thorizontal: {\n\t\tmodifiers: [restrictToHorizontalAxis, restrictToParentElement],\n\t\tstrategy: horizontalListSortingStrategy,\n\t\tcollisionDetection: closestCenter,\n\t},\n\tmixed: {\n\t\tmodifiers: [restrictToParentElement],\n\t\tstrategy: undefined,\n\t\tcollisionDetection: closestCorners,\n\t},\n};\n\nexport interface SortableRootContextValue<T> {\n\tid: string;\n\titems: UniqueIdentifier[];\n\tmodifiers: DndContextProps[\"modifiers\"];\n\tstrategy: SortableContextProps[\"strategy\"];\n\tactiveId: UniqueIdentifier | null;\n\tsetActiveId: (id: UniqueIdentifier | null) => void;\n\tgetItemValue: (item: T) => UniqueIdentifier;\n\tflatCursor: boolean;\n\tdisabled: boolean;\n}\n\nexport default function Sortable<T>(\n\tprops: DndContextProps &\n\t\t(T extends object\n\t\t\t? {\n\t\t\t\t\t/**\n\t\t\t\t\t * Callback that returns a unique identifier for each sortable item. Required for array of objects.\n\t\t\t\t\t * @example getItemValue={(item) => item.id}\n\t\t\t\t\t */\n\t\t\t\t\tgetItemValue: (item: T) => UniqueIdentifier;\n\t\t\t\t}\n\t\t\t: {\n\t\t\t\t\t/**\n\t\t\t\t\t * Callback that returns a unique identifier for each sortable item. Required for array of objects.\n\t\t\t\t\t * @example getItemValue={(item) => item.id}\n\t\t\t\t\t */\n\t\t\t\t\tgetItemValue?: (item: T) => UniqueIdentifier;\n\t\t\t\t}) & {\n\t\t\tvalue: T[];\n\t\t\tonValueChange?: (items: T[]) => void;\n\t\t\tonMove?: (event: DragEndEvent & { activeIndex: number; overIndex: number }) => void;\n\t\t\tstrategy?: SortableContextProps[\"strategy\"];\n\t\t\torientation?: \"vertical\" | \"horizontal\" | \"mixed\";\n\t\t\tflatCursor?: boolean;\n\t\t\tdisabled?: boolean;\n\t\t}\n) {\n\tconst {\n\t\tvalue,\n\t\tonValueChange,\n\t\tcollisionDetection,\n\t\tmodifiers,\n\t\tstrategy,\n\t\tonMove,\n\t\torientation = \"vertical\",\n\t\tflatCursor = false,\n\t\tdisabled = false,\n\t\tgetItemValue: getItemValueProp,\n\t\taccessibility,\n\t\tonDragStart: onDragStartProp,\n\t\tonDragEnd: onDragEndProp,\n\t\tonDragCancel: onDragCancelProp,\n\t\t...sortableProps\n\t} = props;\n\n\tconst id = useId();\n\tconst [activeId, setActiveId] = useState<UniqueIdentifier | null>(null);\n\n\tconst sensors = useSensors(\n\t\tuseSensor(MouseSensor, {\n\t\t\tactivationConstraint: disabled ? { distance: Number.MAX_SAFE_INTEGER } : undefined,\n\t\t}),\n\t\tuseSensor(TouchSensor, {\n\t\t\tactivationConstraint: disabled ? { distance: Number.MAX_SAFE_INTEGER } : undefined,\n\t\t}),\n\t\tuseSensor(KeyboardSensor, {\n\t\t\tcoordinateGetter: sortableKeyboardCoordinates,\n\t\t})\n\t);\n\tconst config = useMemo(() => orientationConfig[orientation], [orientation]);\n\n\tconst getItemValue = useCallback(\n\t\t(item: T): UniqueIdentifier => {\n\t\t\tif (typeof item === \"object\" && !getItemValueProp) {\n\t\t\t\tthrow new Error(\"`getItemValue` is required when using array of objects\");\n\t\t\t}\n\t\t\treturn getItemValueProp ? getItemValueProp(item) : (item as UniqueIdentifier);\n\t\t},\n\t\t[getItemValueProp]\n\t);\n\n\tconst items = useMemo(() => value.map((item) => getItemValue(item)), [value, getItemValue]);\n\n\tconst onDragStart = useCallback(\n\t\t(event: DragStartEvent) => {\n\t\t\tonDragStartProp?.(event);\n\n\t\t\tif (event.activatorEvent.defaultPrevented) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetActiveId(event.active.id);\n\t\t},\n\t\t[onDragStartProp]\n\t);\n\n\tconst onDragEnd = useCallback(\n\t\t(event: DragEndEvent) => {\n\t\t\tonDragEndProp?.(event);\n\n\t\t\tif (event.activatorEvent.defaultPrevented) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst { active, over } = event;\n\t\t\tif (over && active.id !== over?.id) {\n\t\t\t\tconst activeIndex = value.findIndex((item) => getItemValue(item) === active.id);\n\t\t\t\tconst overIndex = value.findIndex((item) => getItemValue(item) === over.id);\n\n\t\t\t\tif (onMove) {\n\t\t\t\t\tonMove({ ...event, activeIndex, overIndex });\n\t\t\t\t} else {\n\t\t\t\t\tonValueChange?.(arrayMove(value, activeIndex, overIndex));\n\t\t\t\t}\n\t\t\t}\n\t\t\tsetActiveId(null);\n\t\t},\n\t\t[value, onValueChange, onMove, getItemValue, onDragEndProp]\n\t);\n\n\tconst onDragCancel = useCallback(\n\t\t(event: DragEndEvent) => {\n\t\t\tonDragCancelProp?.(event);\n\n\t\t\tif (event.activatorEvent.defaultPrevented) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tsetActiveId(null);\n\t\t},\n\t\t[onDragCancelProp]\n\t);\n\n\tconst announcements: Announcements = useMemo(\n\t\t() => ({\n\t\t\tonDragStart({ active }) {\n\t\t\t\tconst activeValue = active.id.toString();\n\t\t\t\treturn `Grabbed sortable item \"${activeValue}\". Current position is ${active.data.current?.sortable.index + 1} of ${value.length}. Use arrow keys to move, space to drop.`;\n\t\t\t},\n\t\t\tonDragOver({ active, over }) {\n\t\t\t\tif (over) {\n\t\t\t\t\tconst overIndex = over.data.current?.sortable.index ?? 0;\n\t\t\t\t\tconst activeIndex = active.data.current?.sortable.index ?? 0;\n\t\t\t\t\tconst moveDirection = overIndex > activeIndex ? \"down\" : \"up\";\n\t\t\t\t\tconst activeValue = active.id.toString();\n\t\t\t\t\treturn `Sortable item \"${activeValue}\" moved ${moveDirection} to position ${overIndex + 1} of ${value.length}.`;\n\t\t\t\t}\n\t\t\t\treturn \"Sortable item is no longer over a droppable area. Press escape to cancel.\";\n\t\t\t},\n\t\t\tonDragEnd({ active, over }) {\n\t\t\t\tconst activeValue = active.id.toString();\n\t\t\t\tif (over) {\n\t\t\t\t\tconst overIndex = over.data.current?.sortable.index ?? 0;\n\t\t\t\t\treturn `Sortable item \"${activeValue}\" dropped at position ${overIndex + 1} of ${value.length}.`;\n\t\t\t\t}\n\t\t\t\treturn `Sortable item \"${activeValue}\" dropped. No changes were made.`;\n\t\t\t},\n\t\t\tonDragCancel({ active }) {\n\t\t\t\tconst activeIndex = active.data.current?.sortable.index ?? 0;\n\t\t\t\tconst activeValue = active.id.toString();\n\t\t\t\treturn `Sorting cancelled. Sortable item \"${activeValue}\" returned to position ${activeIndex + 1} of ${value.length}.`;\n\t\t\t},\n\t\t\tonDragMove({ active, over }) {\n\t\t\t\tif (over) {\n\t\t\t\t\tconst overIndex = over.data.current?.sortable.index ?? 0;\n\t\t\t\t\tconst activeIndex = active.data.current?.sortable.index ?? 0;\n\t\t\t\t\tconst moveDirection = overIndex > activeIndex ? \"down\" : \"up\";\n\t\t\t\t\tconst activeValue = active.id.toString();\n\t\t\t\t\treturn `Sortable item \"${activeValue}\" is moving ${moveDirection} to position ${overIndex + 1} of ${value.length}.`;\n\t\t\t\t}\n\t\t\t\treturn \"Sortable item is no longer over a droppable area. Press escape to cancel.\";\n\t\t\t},\n\t\t}),\n\t\t[value]\n\t);\n\n\tconst screenReaderInstructions: ScreenReaderInstructions = useMemo(\n\t\t() => ({\n\t\t\tdraggable: `\n To pick up a sortable item, press space or enter.\n While dragging, use the ${orientation === \"vertical\" ? \"up and down\" : orientation === \"horizontal\" ? \"left and right\" : \"arrow\"} keys to move the item.\n Press space or enter again to drop the item in its new position, or press escape to cancel.\n `,\n\t\t}),\n\t\t[orientation]\n\t);\n\n\tconst contextValue = useMemo(\n\t\t() => ({\n\t\t\tid,\n\t\t\titems,\n\t\t\tmodifiers: modifiers ?? config.modifiers,\n\t\t\tstrategy: strategy ?? config.strategy,\n\t\t\tactiveId,\n\t\t\tsetActiveId,\n\t\t\tgetItemValue,\n\t\t\tflatCursor,\n\t\t\tdisabled,\n\t\t}),\n\t\t[\n\t\t\tid,\n\t\t\titems,\n\t\t\tmodifiers,\n\t\t\tstrategy,\n\t\t\tconfig.modifiers,\n\t\t\tconfig.strategy,\n\t\t\tactiveId,\n\t\t\tgetItemValue,\n\t\t\tflatCursor,\n\t\t\tdisabled,\n\t\t]\n\t);\n\n\treturn (\n\t\t<SortableRootContext.Provider value={contextValue as SortableRootContextValue<unknown>}>\n\t\t\t<DndContext\n\t\t\t\tcollisionDetection={collisionDetection ?? config.collisionDetection}\n\t\t\t\tmodifiers={modifiers ?? config.modifiers}\n\t\t\t\tsensors={sensors}\n\t\t\t\t{...sortableProps}\n\t\t\t\tid={id}\n\t\t\t\tonDragStart={onDragStart}\n\t\t\t\tonDragEnd={onDragEnd}\n\t\t\t\tonDragCancel={onDragCancel}\n\t\t\t\taccessibility={{\n\t\t\t\t\tannouncements,\n\t\t\t\t\tscreenReaderInstructions,\n\t\t\t\t\t...accessibility,\n\t\t\t\t}}\n\t\t\t/>\n\t\t</SortableRootContext.Provider>\n\t);\n}\n"]}
@@ -6,3 +6,4 @@ export default function SortableContent<T extends ElementType = "div">(props: {
6
6
  render?: ReactElement<T>;
7
7
  withoutSlot?: boolean;
8
8
  } & ComponentPropsWithRef<T>): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=SortableContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableContent.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAgB,MAAM,OAAO,CAAC;AAKtH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EACpE,KAAK,EAAE;IACN,QAAQ,CAAC,EAAE,oBAAoB,CAAC,UAAU,CAAC,CAAC;IAC5C,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,qBAAqB,CAAC,CAAC,CAAC,2CA0B5B"}
@@ -1,23 +1,17 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
1
  import { jsx as _jsx } from "react/jsx-runtime";
14
2
  import { SortableContext } from "@dnd-kit/sortable";
15
3
  import { cloneElement } from "react";
16
4
  import SortableContentContext from "./SortableContentContext";
17
5
  import useSortableContext from "./useSortableContext";
18
6
  export default function SortableContent(props) {
19
- const { strategy: strategyProp, render, withoutSlot, children } = props, contentProps = __rest(props, ["strategy", "render", "withoutSlot", "children"]);
7
+ const { strategy: strategyProp, render, withoutSlot, children, ...contentProps } = props;
20
8
  const context = useSortableContext();
21
- const element = render ? (cloneElement(render, Object.assign(Object.assign(Object.assign({}, contentProps), render.props), { children, "data-slot": "sortable-content" }))) : (_jsx("div", Object.assign({ "data-slot": "sortable-content" }, contentProps, { children: children })));
22
- return (_jsx(SortableContentContext.Provider, { value: true, children: _jsx(SortableContext, { items: context.items, strategy: strategyProp !== null && strategyProp !== void 0 ? strategyProp : context.strategy, children: withoutSlot ? children : element }) }));
9
+ const element = render ? (cloneElement(render, {
10
+ ...contentProps,
11
+ ...render.props,
12
+ children,
13
+ "data-slot": "sortable-content",
14
+ })) : (_jsx("div", { "data-slot": "sortable-content", ...contentProps, children: children }));
15
+ return (_jsx(SortableContentContext.Provider, { value: true, children: _jsx(SortableContext, { items: context.items, strategy: strategyProp ?? context.strategy, children: withoutSlot ? children : element }) }));
23
16
  }
17
+ //# sourceMappingURL=SortableContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableContent.js","sourceRoot":"","sources":["../../../components/sortable/SortableContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAA6B,MAAM,mBAAmB,CAAC;AAC/E,OAAO,EAAmF,YAAY,EAAE,MAAM,OAAO,CAAC;AAEtH,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAC9D,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAC,OAAO,UAAU,eAAe,CACtC,KAK4B;IAE5B,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,YAAY,EAAE,GAAG,KAAK,CAAC;IAEzF,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;IAErC,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,CACxB,YAAY,CAAC,MAAM,EAAE;QACpB,GAAG,YAAY;QACf,GAAG,MAAM,CAAC,KAAK;QACf,QAAQ;QACR,WAAW,EAAE,kBAAkB;KAC/B,CAAC,CACF,CAAC,CAAC,CAAC,CACH,2BAAe,kBAAkB,KAAK,YAAY,YAChD,QAAQ,GACJ,CACN,CAAC;IAEF,OAAO,CACN,KAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,IAAI,YAC3C,KAAC,eAAe,IAAC,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,QAAQ,EAAE,YAAY,IAAI,OAAO,CAAC,QAAQ,YAC/E,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAChB,GACe,CAClC,CAAC;AACH,CAAC","sourcesContent":["import { SortableContext, type SortableContextProps } from \"@dnd-kit/sortable\";\nimport { type ComponentPropsWithRef, type ElementType, type ReactElement, type ReactNode, cloneElement } from \"react\";\n\nimport SortableContentContext from \"./SortableContentContext\";\nimport useSortableContext from \"./useSortableContext\";\n\nexport default function SortableContent<T extends ElementType = \"div\">(\n\tprops: {\n\t\tstrategy?: SortableContextProps[\"strategy\"];\n\t\tchildren: ReactNode;\n\t\trender?: ReactElement<T>;\n\t\twithoutSlot?: boolean;\n\t} & ComponentPropsWithRef<T>\n) {\n\tconst { strategy: strategyProp, render, withoutSlot, children, ...contentProps } = props;\n\n\tconst context = useSortableContext();\n\n\tconst element = render ? (\n\t\tcloneElement(render, {\n\t\t\t...contentProps,\n\t\t\t...render.props,\n\t\t\tchildren,\n\t\t\t\"data-slot\": \"sortable-content\",\n\t\t})\n\t) : (\n\t\t<div data-slot=\"sortable-content\" {...contentProps}>\n\t\t\t{children}\n\t\t</div>\n\t);\n\n\treturn (\n\t\t<SortableContentContext.Provider value={true}>\n\t\t\t<SortableContext items={context.items} strategy={strategyProp ?? context.strategy}>\n\t\t\t\t{withoutSlot ? children : element}\n\t\t\t</SortableContext>\n\t\t</SortableContentContext.Provider>\n\t);\n}\n"]}
@@ -1,2 +1,3 @@
1
1
  declare const SortableContentContext: import("react").Context<boolean>;
2
2
  export default SortableContentContext;
3
+ //# sourceMappingURL=SortableContentContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableContentContext.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableContentContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB,kCAAgC,CAAC;AAE7D,eAAe,sBAAsB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { createContext } from "react";
2
2
  const SortableContentContext = createContext(false);
3
3
  export default SortableContentContext;
4
+ //# sourceMappingURL=SortableContentContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableContentContext.js","sourceRoot":"","sources":["../../../components/sortable/SortableContentContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,sBAAsB,GAAG,aAAa,CAAU,KAAK,CAAC,CAAC;AAE7D,eAAe,sBAAsB,CAAC","sourcesContent":["import { createContext } from \"react\";\n\nconst SortableContentContext = createContext<boolean>(false);\n\nexport default SortableContentContext;\n"]}
@@ -15,3 +15,4 @@ export default function SortableItem<T extends ElementType = "div">(props: {
15
15
  render?: ReactElement<T>;
16
16
  disabled?: boolean;
17
17
  } & ComponentPropsWithRef<T>): import("react/jsx-runtime").JSX.Element;
18
+ //# sourceMappingURL=SortableItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableItem.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,KAAK,2BAA2B,EAAE,MAAM,eAAe,CAAC;AAIlH,OAAO,EACN,KAAK,qBAAqB,EAE1B,KAAK,WAAW,EAChB,KAAK,YAAY,EAMjB,MAAM,OAAO,CAAC;AAQf,MAAM,WAAW,wBAAwB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,mBAAmB,CAAC;IAChC,SAAS,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACnD,mBAAmB,EAAE,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,mBAAmB,0DAAuD,CAAC;AAExF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,CAAC,SAAS,WAAW,GAAG,KAAK,EACjE,KAAK,EAAE;IACN,KAAK,EAAE,gBAAgB,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,qBAAqB,CAAC,CAAC,CAAC,2CAgF5B"}
@@ -1,15 +1,3 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
1
  import { jsx as _jsx } from "react/jsx-runtime";
14
2
  import { useSortable } from "@dnd-kit/sortable";
15
3
  import { CSS } from "@dnd-kit/utilities";
@@ -21,7 +9,7 @@ import SortableOverlayContext from "./SortableOverlayContext";
21
9
  import useSortableContext from "./useSortableContext";
22
10
  export const SortableItemContext = createContext(null);
23
11
  export default function SortableItem(props) {
24
- const { value, style, asHandle, render, disabled, className, ref } = props, itemProps = __rest(props, ["value", "style", "asHandle", "render", "disabled", "className", "ref"]);
12
+ const { value, style, asHandle, render, disabled, className, ref, ...itemProps } = props;
25
13
  const inSortableContent = useContext(SortableContentContext);
26
14
  const inSortableOverlay = useContext(SortableOverlayContext);
27
15
  if (!inSortableContent && !inSortableOverlay) {
@@ -32,7 +20,7 @@ export default function SortableItem(props) {
32
20
  }
33
21
  const context = useSortableContext();
34
22
  const id = useId();
35
- const isDisabled = disabled !== null && disabled !== void 0 ? disabled : context.disabled;
23
+ const isDisabled = disabled ?? context.disabled;
36
24
  const { attributes, listeners, setNodeRef, setActivatorNodeRef, transform, transition, isDragging } = useSortable({
37
25
  id: value,
38
26
  disabled: isDisabled,
@@ -46,7 +34,11 @@ export default function SortableItem(props) {
46
34
  setActivatorNodeRef(node);
47
35
  }
48
36
  });
49
- const composedStyle = useMemo(() => (Object.assign({ transform: CSS.Translate.toString(transform), transition }, style)), [transform, transition, style]);
37
+ const composedStyle = useMemo(() => ({
38
+ transform: CSS.Translate.toString(transform),
39
+ transition,
40
+ ...style,
41
+ }), [transform, transition, style]);
50
42
  const itemContext = useMemo(() => ({
51
43
  id,
52
44
  attributes,
@@ -55,13 +47,25 @@ export default function SortableItem(props) {
55
47
  isDragging,
56
48
  disabled: isDisabled,
57
49
  }), [id, attributes, listeners, setActivatorNodeRef, isDragging, isDisabled]);
58
- const mergedProps = Object.assign(Object.assign(Object.assign(Object.assign({ id, "data-disabled": isDisabled, "data-dragging": isDragging ? "" : undefined, "data-slot": "sortable-item" }, itemProps), (asHandle && !isDisabled ? attributes : {})), (asHandle && !isDisabled ? listeners : {})), { ref: composedRef, style: composedStyle, className: cn("focus-visible:ring-1 focus-visible:ring-neutral-950 focus-visible:ring-offset-1 focus-visible:outline-hidden dark:focus-visible:ring-neutral-300", {
50
+ const mergedProps = {
51
+ id,
52
+ "data-disabled": isDisabled,
53
+ "data-dragging": isDragging ? "" : undefined,
54
+ "data-slot": "sortable-item",
55
+ ...itemProps,
56
+ ...(asHandle && !isDisabled ? attributes : {}),
57
+ ...(asHandle && !isDisabled ? listeners : {}),
58
+ ref: composedRef,
59
+ style: composedStyle,
60
+ className: cn("focus-visible:ring-1 focus-visible:ring-neutral-950 focus-visible:ring-offset-1 focus-visible:outline-hidden dark:focus-visible:ring-neutral-300", {
59
61
  "touch-none select-none": asHandle && !isDisabled,
60
62
  "cursor-default": context.flatCursor || isDisabled,
61
63
  "data-dragging:cursor-grabbing": !context.flatCursor && !isDisabled,
62
64
  "cursor-grab": !isDragging && asHandle && !context.flatCursor && !isDisabled,
63
65
  "opacity-50": isDragging,
64
- }, className) });
65
- const element = render ? cloneElement(render, mergedProps) : _jsx("div", Object.assign({}, mergedProps));
66
+ }, className),
67
+ };
68
+ const element = render ? cloneElement(render, mergedProps) : _jsx("div", { ...mergedProps });
66
69
  return _jsx(SortableItemContext.Provider, { value: itemContext, children: element });
67
70
  }
71
+ //# sourceMappingURL=SortableItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableItem.js","sourceRoot":"","sources":["../../../components/sortable/SortableItem.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAKN,YAAY,EACZ,aAAa,EACb,UAAU,EACV,KAAK,EACL,OAAO,GACP,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,OAAO,sBAAsB,MAAM,0BAA0B,CAA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OAAO,CAAC,UAAU,IAAI,CAAC,UAAU;YAC5E,YAAY,EAAE,UAAU;SACxB,EACD,SAAS,CACT;KACD,CAAC;IAEF,MAAM,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,iBAAS,WAAW,GAAI,CAAC;IAEtF,OAAO,KAAC,mBAAmB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW,YAAG,OAAO,GAAgC,CAAC;AACnG,CAAC","sourcesContent":["import { type UniqueIdentifier, type DraggableAttributes, type DraggableSyntheticListeners } from \"@dnd-kit/core\";\nimport { useSortable } from \"@dnd-kit/sortable\";\nimport { CSS } from \"@dnd-kit/utilities\";\nimport { useComposedRefs } from \"motion/react\";\nimport {\n\ttype ComponentPropsWithRef,\n\ttype CSSProperties,\n\ttype ElementType,\n\ttype ReactElement,\n\tcloneElement,\n\tcreateContext,\n\tuseContext,\n\tuseId,\n\tuseMemo,\n} from \"react\";\n\nimport cn from \"@/cn\";\n\nimport SortableContentContext from \"./SortableContentContext\";\nimport SortableOverlayContext from \"./SortableOverlayContext\";\nimport useSortableContext from \"./useSortableContext\";\n\nexport interface SortableItemContextValue {\n\tid: string;\n\tattributes: DraggableAttributes;\n\tlisteners: DraggableSyntheticListeners | undefined;\n\tsetActivatorNodeRef: (node: HTMLElement | null) => void;\n\tisDragging?: boolean;\n\tdisabled?: boolean;\n}\n\nexport const SortableItemContext = createContext<SortableItemContextValue | null>(null);\n\nexport default function SortableItem<T extends ElementType = \"div\">(\n\tprops: {\n\t\tvalue: UniqueIdentifier;\n\t\tasHandle?: boolean;\n\t\trender?: ReactElement<T>;\n\t\tdisabled?: boolean;\n\t} & ComponentPropsWithRef<T>\n) {\n\tconst { value, style, asHandle, render, disabled, className, ref, ...itemProps } = props;\n\n\tconst inSortableContent = useContext(SortableContentContext);\n\tconst inSortableOverlay = useContext(SortableOverlayContext);\n\n\tif (!inSortableContent && !inSortableOverlay) {\n\t\tthrow new Error(\"`SortableItem` must be used within `SortableContent` or `SortableOverlay`\");\n\t}\n\n\tif (value === \"\") {\n\t\tthrow new Error(\"`SortableItem` value cannot be an empty string\");\n\t}\n\n\tconst context = useSortableContext();\n\tconst id = useId();\n\tconst isDisabled = disabled ?? context.disabled;\n\tconst { attributes, listeners, setNodeRef, setActivatorNodeRef, transform, transition, isDragging } = useSortable({\n\t\tid: value,\n\t\tdisabled: isDisabled,\n\t});\n\n\tconst composedRef = useComposedRefs(ref, (node: HTMLElement | null) => {\n\t\tif (isDisabled) {\n\t\t\treturn;\n\t\t}\n\t\tsetNodeRef(node);\n\t\tif (asHandle) {\n\t\t\tsetActivatorNodeRef(node);\n\t\t}\n\t});\n\n\tconst composedStyle = useMemo<CSSProperties>(\n\t\t() => ({\n\t\t\ttransform: CSS.Translate.toString(transform),\n\t\t\ttransition,\n\t\t\t...style,\n\t\t}),\n\t\t[transform, transition, style]\n\t);\n\n\tconst itemContext = useMemo<SortableItemContextValue>(\n\t\t() => ({\n\t\t\tid,\n\t\t\tattributes,\n\t\t\tlisteners,\n\t\t\tsetActivatorNodeRef,\n\t\t\tisDragging,\n\t\t\tdisabled: isDisabled,\n\t\t}),\n\t\t[id, attributes, listeners, setActivatorNodeRef, isDragging, isDisabled]\n\t);\n\n\tconst mergedProps = {\n\t\tid,\n\t\t\"data-disabled\": isDisabled,\n\t\t\"data-dragging\": isDragging ? \"\" : undefined,\n\t\t\"data-slot\": \"sortable-item\",\n\t\t...itemProps,\n\t\t...(asHandle && !isDisabled ? attributes : {}),\n\t\t...(asHandle && !isDisabled ? listeners : {}),\n\t\tref: composedRef,\n\t\tstyle: composedStyle,\n\t\tclassName: cn(\n\t\t\t\"focus-visible:ring-1 focus-visible:ring-neutral-950 focus-visible:ring-offset-1 focus-visible:outline-hidden dark:focus-visible:ring-neutral-300\",\n\t\t\t{\n\t\t\t\t\"touch-none select-none\": asHandle && !isDisabled,\n\t\t\t\t\"cursor-default\": context.flatCursor || isDisabled,\n\t\t\t\t\"data-dragging:cursor-grabbing\": !context.flatCursor && !isDisabled,\n\t\t\t\t\"cursor-grab\": !isDragging && asHandle && !context.flatCursor && !isDisabled,\n\t\t\t\t\"opacity-50\": isDragging,\n\t\t\t},\n\t\t\tclassName\n\t\t),\n\t};\n\n\tconst element = render ? cloneElement(render, mergedProps) : <div {...mergedProps} />;\n\n\treturn <SortableItemContext.Provider value={itemContext}>{element}</SortableItemContext.Provider>;\n}\n"]}
@@ -2,3 +2,4 @@ import { type ComponentPropsWithRef, type ElementType, type ReactElement } from
2
2
  export default function SortableItemHandle<T extends ElementType = "button">(props: {
3
3
  render?: ReactElement<T>;
4
4
  } & ComponentPropsWithRef<T>): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=SortableItemHandle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableItemHandle.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableItemHandle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAgB,MAAM,OAAO,CAAC;AAOtG,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,CAAC,SAAS,WAAW,GAAG,QAAQ,EAC1E,KAAK,EAAE;IACN,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CACzB,GAAG,qBAAqB,CAAC,CAAC,CAAC,2CAmC5B"}
@@ -1,15 +1,3 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
1
  import { jsx as _jsx } from "react/jsx-runtime";
14
2
  import { useComposedRefs } from "motion/react";
15
3
  import { cloneElement } from "react";
@@ -17,16 +5,29 @@ import cn from "../../cn";
17
5
  import useSortableContext from "./useSortableContext";
18
6
  import useSortableItemContext from "./useSortableItemContext";
19
7
  export default function SortableItemHandle(props) {
20
- const { render, disabled, className } = props, itemHandleProps = __rest(props, ["render", "disabled", "className"]);
8
+ const { render, disabled, className, ...itemHandleProps } = props;
21
9
  const context = useSortableContext();
22
10
  const itemContext = useSortableItemContext();
23
- const isDisabled = disabled !== null && disabled !== void 0 ? disabled : itemContext.disabled;
11
+ const isDisabled = disabled ?? itemContext.disabled;
24
12
  const composedRef = useComposedRefs(itemHandleProps.ref, (node) => {
25
13
  if (isDisabled) {
26
14
  return;
27
15
  }
28
16
  itemContext.setActivatorNodeRef(node);
29
17
  });
30
- const mergedProps = Object.assign(Object.assign(Object.assign(Object.assign({ type: "button", "aria-controls": itemContext.id, "data-disabled": isDisabled, "data-dragging": itemContext.isDragging ? "" : undefined, "data-slot": "sortable-item-handle" }, itemHandleProps), (isDisabled ? {} : itemContext.attributes)), (isDisabled ? {} : itemContext.listeners)), { ref: composedRef, className: cn("select-none disabled:pointer-events-none", context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing", className), disabled: isDisabled });
31
- return render ? cloneElement(render, mergedProps) : _jsx("button", Object.assign({}, mergedProps));
18
+ const mergedProps = {
19
+ type: "button",
20
+ "aria-controls": itemContext.id,
21
+ "data-disabled": isDisabled,
22
+ "data-dragging": itemContext.isDragging ? "" : undefined,
23
+ "data-slot": "sortable-item-handle",
24
+ ...itemHandleProps,
25
+ ...(isDisabled ? {} : itemContext.attributes),
26
+ ...(isDisabled ? {} : itemContext.listeners),
27
+ ref: composedRef,
28
+ className: cn("select-none disabled:pointer-events-none", context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing", className),
29
+ disabled: isDisabled,
30
+ };
31
+ return render ? cloneElement(render, mergedProps) : _jsx("button", { ...mergedProps });
32
32
  }
33
+ //# sourceMappingURL=SortableItemHandle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableItemHandle.js","sourceRoot":"","sources":["../../../components/sortable/SortableItemHandle.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAmE,YAAY,EAAE,MAAM,OAAO,CAAC;AAEtG,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AACtD,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACzC,KAE4B;IAE5B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,eAAe,EAAE,GAAG,KAAK,CAAC;IAElE,MAAM,OAAO,GAAG,kBAAkB,EAAE,CAAC;IACrC,MAAM,WAAW,GAAG,sBAAsB,EAAE,CAAC;IAE7C,MAAM,UAAU,GAAG,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC;IAEpD,MAAM,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,IAAwB,EAAE,EAAE;QACrF,IAAI,UAAU,EAAE,CAAC;YAChB,OAAO;QACR,CAAC;QACD,WAAW,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC,CAAC,CAAC;IAEH,MAAM,WAAW,GAAG;QACnB,IAAI,EAAE,QAAiB;QACvB,eAAe,EAAE,WAAW,CAAC,EAAE;QAC/B,eAAe,EAAE,UAAU;QAC3B,eAAe,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;QACxD,WAAW,EAAE,sBAAsB;QACnC,GAAG,eAAe;QAClB,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC;QAC7C,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC;QAC5C,GAAG,EAAE,WAAW;QAChB,SAAS,EAAE,EAAE,CACZ,0CAA0C,EAC1C,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,2CAA2C,EACnF,SAAS,CACT;QACD,QAAQ,EAAE,UAAU;KACpB,CAAC;IAEF,OAAO,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,oBAAY,WAAW,GAAI,CAAC;AACjF,CAAC","sourcesContent":["import { useComposedRefs } from \"motion/react\";\nimport { type ComponentPropsWithRef, type ElementType, type ReactElement, cloneElement } from \"react\";\n\nimport cn from \"@/cn\";\n\nimport useSortableContext from \"./useSortableContext\";\nimport useSortableItemContext from \"./useSortableItemContext\";\n\nexport default function SortableItemHandle<T extends ElementType = \"button\">(\n\tprops: {\n\t\trender?: ReactElement<T>;\n\t} & ComponentPropsWithRef<T>\n) {\n\tconst { render, disabled, className, ...itemHandleProps } = props;\n\n\tconst context = useSortableContext();\n\tconst itemContext = useSortableItemContext();\n\n\tconst isDisabled = disabled ?? itemContext.disabled;\n\n\tconst composedRef = useComposedRefs(itemHandleProps.ref, (node: HTMLElement | null) => {\n\t\tif (isDisabled) {\n\t\t\treturn;\n\t\t}\n\t\titemContext.setActivatorNodeRef(node);\n\t});\n\n\tconst mergedProps = {\n\t\ttype: \"button\" as const,\n\t\t\"aria-controls\": itemContext.id,\n\t\t\"data-disabled\": isDisabled,\n\t\t\"data-dragging\": itemContext.isDragging ? \"\" : undefined,\n\t\t\"data-slot\": \"sortable-item-handle\",\n\t\t...itemHandleProps,\n\t\t...(isDisabled ? {} : itemContext.attributes),\n\t\t...(isDisabled ? {} : itemContext.listeners),\n\t\tref: composedRef,\n\t\tclassName: cn(\n\t\t\t\"select-none disabled:pointer-events-none\",\n\t\t\tcontext.flatCursor ? \"cursor-default\" : \"cursor-grab data-dragging:cursor-grabbing\",\n\t\t\tclassName\n\t\t),\n\t\tdisabled: isDisabled,\n\t};\n\n\treturn render ? cloneElement(render, mergedProps) : <button {...mergedProps} />;\n}\n"]}
@@ -6,3 +6,4 @@ export default function SortableOverlay(props: {
6
6
  value: UniqueIdentifier;
7
7
  }) => ReactNode) | ReactNode;
8
8
  } & Omit<ComponentProps<typeof DragOverlay>, "children">): import("react").ReactPortal | null;
9
+ //# sourceMappingURL=SortableOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableOverlay.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,WAAW,EAAuD,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAC;AAkBvF,MAAM,CAAC,OAAO,UAAU,eAAe,CACtC,KAAK,EAAE;IACN,SAAS,CAAC,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;QAAE,KAAK,EAAE,gBAAgB,CAAA;KAAE,KAAK,SAAS,CAAC,GAAG,SAAS,CAAC;CAC5E,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,WAAW,CAAC,EAAE,UAAU,CAAC,sCAiCxD"}
@@ -1,15 +1,3 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
1
  import { jsx as _jsx } from "react/jsx-runtime";
14
2
  import { DragOverlay, defaultDropAnimationSideEffects } from "@dnd-kit/core";
15
3
  import { useLayoutEffect, useState } from "react";
@@ -27,18 +15,18 @@ const dropAnimation = {
27
15
  }),
28
16
  };
29
17
  export default function SortableOverlay(props) {
30
- var _a;
31
- const { container: containerProp, children } = props, overlayProps = __rest(props, ["container", "children"]);
18
+ const { container: containerProp, children, ...overlayProps } = props;
32
19
  const context = useSortableContext();
33
20
  const [mounted, setMounted] = useState(false);
34
21
  useLayoutEffect(() => setMounted(true), []);
35
- const container = containerProp !== null && containerProp !== void 0 ? containerProp : (mounted ? (_a = globalThis.document) === null || _a === void 0 ? void 0 : _a.body : null);
22
+ const container = containerProp ?? (mounted ? globalThis.document?.body : null);
36
23
  if (!container) {
37
24
  return null;
38
25
  }
39
- return ReactDOM.createPortal(_jsx(DragOverlay, Object.assign({ dropAnimation: dropAnimation, modifiers: context.modifiers, className: cn(!context.flatCursor && "cursor-grabbing") }, overlayProps, { children: _jsx(SortableOverlayContext.Provider, { value: true, children: context.activeId
26
+ return ReactDOM.createPortal(_jsx(DragOverlay, { dropAnimation: dropAnimation, modifiers: context.modifiers, className: cn(!context.flatCursor && "cursor-grabbing"), ...overlayProps, children: _jsx(SortableOverlayContext.Provider, { value: true, children: context.activeId
40
27
  ? typeof children === "function"
41
28
  ? children({ value: context.activeId })
42
29
  : children
43
- : null }) })), container);
30
+ : null }) }), container);
44
31
  }
32
+ //# sourceMappingURL=SortableOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableOverlay.js","sourceRoot":"","sources":["../../../components/sortable/SortableOverlay.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAyB,WAAW,EAAE,+BAA+B,EAAsB,MAAM,eAAe,CAAC;AACxH,OAAO,EAAuC,eAAe,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvF,OAAO,KAAK,QAAQ,MAAM,WAA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AQ,EAAE,CAAC;oBACvC,CAAC,CAAC,QAAQ;gBACX,CAAC,CAAC,IAAI,GAC0B,GACrB,EACd,SAAS,CACT,CAAC;AACH,CAAC","sourcesContent":["import { type UniqueIdentifier, DragOverlay, defaultDropAnimationSideEffects, type DropAnimation } from \"@dnd-kit/core\";\nimport { type ComponentProps, type ReactNode, useLayoutEffect, useState } from \"react\";\nimport * as ReactDOM from \"react-dom\";\n\nimport cn from \"@/cn\";\n\nimport SortableOverlayContext from \"./SortableOverlayContext\";\nimport useSortableContext from \"./useSortableContext\";\n\nconst dropAnimation: DropAnimation = {\n\tsideEffects: defaultDropAnimationSideEffects({\n\t\tstyles: {\n\t\t\tactive: {\n\t\t\t\topacity: \"0.4\",\n\t\t\t},\n\t\t},\n\t}),\n};\n\nexport default function SortableOverlay(\n\tprops: {\n\t\tcontainer?: Element | DocumentFragment | null;\n\t\tchildren?: ((params: { value: UniqueIdentifier }) => ReactNode) | ReactNode;\n\t} & Omit<ComponentProps<typeof DragOverlay>, \"children\">\n) {\n\tconst { container: containerProp, children, ...overlayProps } = props;\n\n\tconst context = useSortableContext();\n\n\tconst [mounted, setMounted] = useState(false);\n\n\tuseLayoutEffect(() => setMounted(true), []);\n\n\tconst container = containerProp ?? (mounted ? globalThis.document?.body : null);\n\n\tif (!container) {\n\t\treturn null;\n\t}\n\n\treturn ReactDOM.createPortal(\n\t\t<DragOverlay\n\t\t\tdropAnimation={dropAnimation}\n\t\t\tmodifiers={context.modifiers}\n\t\t\tclassName={cn(!context.flatCursor && \"cursor-grabbing\")}\n\t\t\t{...overlayProps}\n\t\t>\n\t\t\t<SortableOverlayContext.Provider value={true}>\n\t\t\t\t{context.activeId\n\t\t\t\t\t? typeof children === \"function\"\n\t\t\t\t\t\t? children({ value: context.activeId })\n\t\t\t\t\t\t: children\n\t\t\t\t\t: null}\n\t\t\t</SortableOverlayContext.Provider>\n\t\t</DragOverlay>,\n\t\tcontainer\n\t);\n}\n"]}
@@ -1,2 +1,3 @@
1
1
  declare const SortableOverlayContext: import("react").Context<boolean>;
2
2
  export default SortableOverlayContext;
3
+ //# sourceMappingURL=SortableOverlayContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableOverlayContext.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableOverlayContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB,kCAAuB,CAAC;AAEpD,eAAe,sBAAsB,CAAC"}
@@ -1,4 +1,4 @@
1
- "use client";
2
1
  import { createContext } from "react";
3
2
  const SortableOverlayContext = createContext(false);
4
3
  export default SortableOverlayContext;
4
+ //# sourceMappingURL=SortableOverlayContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableOverlayContext.js","sourceRoot":"","sources":["../../../components/sortable/SortableOverlayContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,MAAM,sBAAsB,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;AAEpD,eAAe,sBAAsB,CAAC","sourcesContent":["import { createContext } from \"react\";\n\nconst SortableOverlayContext = createContext(false);\n\nexport default SortableOverlayContext;\n"]}
@@ -1,3 +1,4 @@
1
1
  import { type SortableRootContextValue } from "./Sortable";
2
2
  declare const SortableRootContext: import("react").Context<SortableRootContextValue<unknown> | null>;
3
3
  export default SortableRootContext;
4
+ //# sourceMappingURL=SortableRootContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableRootContext.d.ts","sourceRoot":"","sources":["../../../components/sortable/SortableRootContext.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAE3D,QAAA,MAAM,mBAAmB,mEAAgE,CAAC;AAE1F,eAAe,mBAAmB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { createContext } from "react";
2
2
  const SortableRootContext = createContext(null);
3
3
  export default SortableRootContext;
4
+ //# sourceMappingURL=SortableRootContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SortableRootContext.js","sourceRoot":"","sources":["../../../components/sortable/SortableRootContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAItC,MAAM,mBAAmB,GAAG,aAAa,CAA2C,IAAI,CAAC,CAAC;AAE1F,eAAe,mBAAmB,CAAC","sourcesContent":["import { createContext } from \"react\";\n\nimport { type SortableRootContextValue } from \"./Sortable\";\n\nconst SortableRootContext = createContext<SortableRootContextValue<unknown> | null>(null);\n\nexport default SortableRootContext;\n"]}
@@ -1 +1,2 @@
1
1
  export default function useSortableContext(): import("./Sortable").SortableRootContextValue<unknown>;
2
+ //# sourceMappingURL=useSortableContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortableContext.d.ts","sourceRoot":"","sources":["../../../components/sortable/useSortableContext.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,kBAAkB,2DAMzC"}
@@ -7,3 +7,4 @@ export default function useSortableContext() {
7
7
  }
8
8
  return context;
9
9
  }
10
+ //# sourceMappingURL=useSortableContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortableContext.js","sourceRoot":"","sources":["../../../components/sortable/useSortableContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACzC,MAAM,OAAO,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAChD,IAAI,CAAC,OAAO,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;IACxE,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC","sourcesContent":["import { useContext } from \"react\";\n\nimport SortableRootContext from \"./SortableRootContext\";\n\nexport default function useSortableContext() {\n\tconst context = useContext(SortableRootContext);\n\tif (!context) {\n\t\tthrow new Error(\"`useSortableContext` must be used within `Sortable`\");\n\t}\n\treturn context;\n}\n"]}
@@ -1 +1,2 @@
1
1
  export default function useSortableItemContext(): import("./SortableItem").SortableItemContextValue;
2
+ //# sourceMappingURL=useSortableItemContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortableItemContext.d.ts","sourceRoot":"","sources":["../../../components/sortable/useSortableItemContext.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,sBAAsB,sDAM7C"}
@@ -7,3 +7,4 @@ export default function useSortableItemContext() {
7
7
  }
8
8
  return context;
9
9
  }
10
+ //# sourceMappingURL=useSortableItemContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortableItemContext.js","sourceRoot":"","sources":["../../../components/sortable/useSortableItemContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAErD,MAAM,CAAC,OAAO,UAAU,sBAAsB;IAC7C,MAAM,OAAO,GAAG,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAChD,IAAI,CAAC,OAAO,EAAE,CAAC;QACd,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC,CAAC;IAChF,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC","sourcesContent":["import { useContext } from \"react\";\n\nimport { SortableItemContext } from \"./SortableItem\";\n\nexport default function useSortableItemContext() {\n\tconst context = useContext(SortableItemContext);\n\tif (!context) {\n\t\tthrow new Error(\"`useSortableItemContext` must be used within `SortableItem`\");\n\t}\n\treturn context;\n}\n"]}
@@ -1,3 +1,4 @@
1
1
  import { IconLoader } from "@tabler/icons-react";
2
2
  import { type ComponentProps } from "react";
3
3
  export default function Spinner({ className, ...props }: ComponentProps<typeof IconLoader>): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../components/spinner/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,2CAIzF"}
@@ -1,18 +1,7 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
1
  import { jsx as _jsx } from "react/jsx-runtime";
13
2
  import { IconLoader } from "@tabler/icons-react";
14
3
  import cn from "../../cn";
15
- export default function Spinner(_a) {
16
- var { className } = _a, props = __rest(_a, ["className"]);
17
- return (_jsx(IconLoader, Object.assign({ role: "status", "aria-label": "Loading", className: cn("size-4 animate-spin", className) }, props)));
4
+ export default function Spinner({ className, ...props }) {
5
+ return (_jsx(IconLoader, { role: "status", "aria-label": "Loading", className: cn("size-4 animate-spin", className), ...props }));
18
6
  }
7
+ //# sourceMappingURL=Spinner.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../components/spinner/Spinner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAqC;IACzF,OAAO,CACN,KAAC,UAAU,IAAC,IAAI,EAAC,QAAQ,gBAAY,SAAS,EAAC,SAAS,EAAE,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,KAAM,KAAK,GAAI,CAC7G,CAAC;AACH,CAAC","sourcesContent":["import { IconLoader } from \"@tabler/icons-react\";\nimport { type ComponentProps } from \"react\";\n\nimport cn from \"@/cn\";\n\nexport default function Spinner({ className, ...props }: ComponentProps<typeof IconLoader>) {\n\treturn (\n\t\t<IconLoader role=\"status\" aria-label=\"Loading\" className={cn(\"size-4 animate-spin\", className)} {...props} />\n\t);\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { useRender } from "@base-ui/react/use-render";
2
+ import statusIndicatorVariants from "./statusIndicatorVariants";
3
+ import type { VariantProps } from "class-variance-authority";
4
+ export default function StatusIndicator({ className, variant, render, ...props }: useRender.ComponentProps<"span"> & VariantProps<typeof statusIndicatorVariants>): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
5
+ //# sourceMappingURL=StatusIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIndicator.d.ts","sourceRoot":"","sources":["../../../components/status-indicator/StatusIndicator.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAItD,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,SAAS,EACT,OAAmB,EACnB,MAAM,EACN,GAAG,KAAK,EACR,EAAE,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,8FAqBjF"}
@@ -0,0 +1,20 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { mergeProps } from "@base-ui/react/merge-props";
3
+ import { useRender } from "@base-ui/react/use-render";
4
+ import cn from "../../cn";
5
+ import statusIndicatorVariants from "./statusIndicatorVariants";
6
+ export default function StatusIndicator({ className, variant = "default", render, ...props }) {
7
+ return useRender({
8
+ defaultTagName: "span",
9
+ props: mergeProps({
10
+ className: cn(statusIndicatorVariants({ className, variant })),
11
+ children: (_jsxs(_Fragment, { children: [_jsx("span", { className: "absolute inline-flex size-full animate-ping rounded-full bg-current opacity-75" }), _jsx("span", { className: "relative inline-flex size-full rounded-full bg-current" })] })),
12
+ }, props),
13
+ render,
14
+ state: {
15
+ slot: "status-indicator",
16
+ variant,
17
+ },
18
+ });
19
+ }
20
+ //# sourceMappingURL=StatusIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusIndicator.js","sourceRoot":"","sources":["../../../components/status-indicator/StatusIndicator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,OAAO,uBAAuB,MAAM,2BAA2B,CAAC;AAIhE,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACvC,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,MAAM,EACN,GAAG,KAAK,EACyE;IACjF,OAAO,SAAS,CAAC;QAChB,cAAc,EAAE,MAAM;QACtB,KAAK,EAAE,UAAU,CAChB;YACC,SAAS,EAAE,EAAE,CAAC,uBAAuB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC;YAC9D,QAAQ,EAAE,CACT,8BACC,eAAM,SAAS,EAAC,gFAAgF,GAAG,EACnG,eAAM,SAAS,EAAC,wDAAwD,GAAG,IACzE,CACH;SACD,EACD,KAAK,CACL;QACD,MAAM;QACN,KAAK,EAAE;YACN,IAAI,EAAE,kBAAkB;YACxB,OAAO;SACP;KACD,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import { mergeProps } from \"@base-ui/react/merge-props\";\nimport { useRender } from \"@base-ui/react/use-render\";\n\nimport cn from \"@/cn\";\n\nimport statusIndicatorVariants from \"./statusIndicatorVariants\";\n\nimport type { VariantProps } from \"class-variance-authority\";\n\nexport default function StatusIndicator({\n\tclassName,\n\tvariant = \"default\",\n\trender,\n\t...props\n}: useRender.ComponentProps<\"span\"> & VariantProps<typeof statusIndicatorVariants>) {\n\treturn useRender({\n\t\tdefaultTagName: \"span\",\n\t\tprops: mergeProps<\"span\">(\n\t\t\t{\n\t\t\t\tclassName: cn(statusIndicatorVariants({ className, variant })),\n\t\t\t\tchildren: (\n\t\t\t\t\t<>\n\t\t\t\t\t\t<span className=\"absolute inline-flex size-full animate-ping rounded-full bg-current opacity-75\" />\n\t\t\t\t\t\t<span className=\"relative inline-flex size-full rounded-full bg-current\" />\n\t\t\t\t\t</>\n\t\t\t\t),\n\t\t\t},\n\t\t\tprops\n\t\t),\n\t\trender,\n\t\tstate: {\n\t\t\tslot: \"status-indicator\",\n\t\t\tvariant,\n\t\t},\n\t});\n}\n"]}
@@ -0,0 +1,5 @@
1
+ declare const statusIndicatorVariants: (props?: ({
2
+ variant?: "default" | "destructive" | "warning" | null | undefined;
3
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
4
+ export default statusIndicatorVariants;
5
+ //# sourceMappingURL=statusIndicatorVariants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statusIndicatorVariants.d.ts","sourceRoot":"","sources":["../../../components/status-indicator/statusIndicatorVariants.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,uBAAuB;;8EAc5B,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { cva } from "class-variance-authority";
2
+ const statusIndicatorVariants = cva("relative inline-flex size-2 shrink-0 transition-colors duration-1000 ease-in-out", {
3
+ variants: {
4
+ variant: {
5
+ default: "text-green-500",
6
+ warning: "text-orange-500",
7
+ destructive: "text-red-500",
8
+ },
9
+ },
10
+ defaultVariants: {
11
+ variant: "default",
12
+ },
13
+ });
14
+ export default statusIndicatorVariants;
15
+ //# sourceMappingURL=statusIndicatorVariants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statusIndicatorVariants.js","sourceRoot":"","sources":["../../../components/status-indicator/statusIndicatorVariants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,uBAAuB,GAAG,GAAG,CAClC,kFAAkF,EAClF;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,OAAO,EAAE,gBAAgB;YACzB,OAAO,EAAE,iBAAiB;YAC1B,WAAW,EAAE,cAAc;SAC3B;KACD;IACD,eAAe,EAAE;QAChB,OAAO,EAAE,SAAS;KAClB;CACD,CACD,CAAC;AAEF,eAAe,uBAAuB,CAAC","sourcesContent":["import { cva } from \"class-variance-authority\";\n\nconst statusIndicatorVariants = cva(\n\t\"relative inline-flex size-2 shrink-0 transition-colors duration-1000 ease-in-out\",\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: \"text-green-500\",\n\t\t\t\twarning: \"text-orange-500\",\n\t\t\t\tdestructive: \"text-red-500\",\n\t\t\t},\n\t\t},\n\t\tdefaultVariants: {\n\t\t\tvariant: \"default\",\n\t\t},\n\t}\n);\n\nexport default statusIndicatorVariants;\n"]}
@@ -2,3 +2,4 @@ import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
2
2
  export default function Switch({ className, size, ...props }: SwitchPrimitive.Root.Props & {
3
3
  size?: "sm" | "default";
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=Switch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../components/switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAIlE,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC9B,SAAS,EACT,IAAgB,EAChB,GAAG,KAAK,EACR,EAAE,eAAe,CAAC,IAAI,CAAC,KAAK,GAAG;IAC/B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACxB,2CAiBA"}
@@ -1,19 +1,7 @@
1
- "use client";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
1
  import { jsx as _jsx } from "react/jsx-runtime";
14
2
  import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
15
3
  import cn from "../../cn";
16
- export default function Switch(_a) {
17
- var { className, size = "default" } = _a, props = __rest(_a, ["className", "size"]);
18
- return (_jsx(SwitchPrimitive.Root, Object.assign({ "data-slot": "switch", "data-size": size, className: cn("peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-checked:bg-primary data-unchecked:bg-border data-disabled:cursor-not-allowed data-disabled:opacity-50", className) }, props, { children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: "pointer-events-none block rounded-full bg-card ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0" }) })));
4
+ export default function Switch({ className, size = "default", ...props }) {
5
+ return (_jsx(SwitchPrimitive.Root, { "data-slot": "switch", "data-size": size, className: cn("peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-checked:bg-primary data-unchecked:bg-border data-disabled:cursor-not-allowed data-disabled:opacity-50", className), ...props, children: _jsx(SwitchPrimitive.Thumb, { "data-slot": "switch-thumb", className: "pointer-events-none block rounded-full bg-card ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0" }) }));
19
6
  }
7
+ //# sourceMappingURL=Switch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../../components/switch/Switch.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEtB,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC9B,SAAS,EACT,IAAI,GAAG,SAAS,EAChB,GAAG,KAAK,EAGR;IACA,OAAO,CACN,KAAC,eAAe,CAAC,IAAI,iBACV,QAAQ,eACP,IAAI,EACf,SAAS,EAAE,EAAE,CACZ,6iBAA6iB,EAC7iB,SAAS,CACT,KACG,KAAK,YAET,KAAC,eAAe,CAAC,KAAK,iBACX,cAAc,EACxB,SAAS,EAAC,+ZAA+Z,GACxa,GACoB,CACvB,CAAC;AACH,CAAC","sourcesContent":["import { Switch as SwitchPrimitive } from \"@base-ui/react/switch\";\n\nimport cn from \"@/cn\";\n\nexport default function Switch({\n\tclassName,\n\tsize = \"default\",\n\t...props\n}: SwitchPrimitive.Root.Props & {\n\tsize?: \"sm\" | \"default\";\n}) {\n\treturn (\n\t\t<SwitchPrimitive.Root\n\t\t\tdata-slot=\"switch\"\n\t\t\tdata-size={size}\n\t\t\tclassName={cn(\n\t\t\t\t\"peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 data-checked:bg-primary data-unchecked:bg-border data-disabled:cursor-not-allowed data-disabled:opacity-50\",\n\t\t\t\tclassName\n\t\t\t)}\n\t\t\t{...props}\n\t\t>\n\t\t\t<SwitchPrimitive.Thumb\n\t\t\t\tdata-slot=\"switch-thumb\"\n\t\t\t\tclassName=\"pointer-events-none block rounded-full bg-card ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0\"\n\t\t\t/>\n\t\t</SwitchPrimitive.Root>\n\t);\n}\n"]}
@@ -1,2 +1,3 @@
1
1
  import type { ComponentProps } from "react";
2
2
  export default function Table({ className, ...props }: ComponentProps<"table">): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Table.d.ts.map