@cmdniels/uikit 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +149 -0
  3. package/out/cn.d.ts +2 -0
  4. package/out/cn.js +5 -0
  5. package/out/components/accordion/Accordion.d.ts +2 -0
  6. package/out/components/accordion/Accordion.js +19 -0
  7. package/out/components/accordion/AccordionContent.d.ts +2 -0
  8. package/out/components/accordion/AccordionContent.js +19 -0
  9. package/out/components/accordion/AccordionItem.d.ts +2 -0
  10. package/out/components/accordion/AccordionItem.js +19 -0
  11. package/out/components/accordion/AccordionTrigger.d.ts +2 -0
  12. package/out/components/accordion/AccordionTrigger.js +20 -0
  13. package/out/components/alert/Alert.d.ts +4 -0
  14. package/out/components/alert/Alert.js +18 -0
  15. package/out/components/alert/AlertAction.d.ts +2 -0
  16. package/out/components/alert/AlertAction.js +17 -0
  17. package/out/components/alert/AlertDescription.d.ts +2 -0
  18. package/out/components/alert/AlertDescription.js +17 -0
  19. package/out/components/alert/AlertTitle.d.ts +2 -0
  20. package/out/components/alert/AlertTitle.js +17 -0
  21. package/out/components/alert/alertVariants.d.ts +3 -0
  22. package/out/components/alert/alertVariants.js +12 -0
  23. package/out/components/alert-dialog/AlertDialog.d.ts +2 -0
  24. package/out/components/alert-dialog/AlertDialog.js +18 -0
  25. package/out/components/alert-dialog/AlertDialogAction.d.ts +3 -0
  26. package/out/components/alert-dialog/AlertDialogAction.js +18 -0
  27. package/out/components/alert-dialog/AlertDialogCancel.d.ts +4 -0
  28. package/out/components/alert-dialog/AlertDialogCancel.js +20 -0
  29. package/out/components/alert-dialog/AlertDialogContent.d.ts +4 -0
  30. package/out/components/alert-dialog/AlertDialogContent.js +21 -0
  31. package/out/components/alert-dialog/AlertDialogDescription.d.ts +3 -0
  32. package/out/components/alert-dialog/AlertDialogDescription.js +19 -0
  33. package/out/components/alert-dialog/AlertDialogFooter.d.ts +2 -0
  34. package/out/components/alert-dialog/AlertDialogFooter.js +17 -0
  35. package/out/components/alert-dialog/AlertDialogHeader.d.ts +2 -0
  36. package/out/components/alert-dialog/AlertDialogHeader.js +17 -0
  37. package/out/components/alert-dialog/AlertDialogMedia.d.ts +2 -0
  38. package/out/components/alert-dialog/AlertDialogMedia.js +17 -0
  39. package/out/components/alert-dialog/AlertDialogOverlay.d.ts +2 -0
  40. package/out/components/alert-dialog/AlertDialogOverlay.js +19 -0
  41. package/out/components/alert-dialog/AlertDialogPortal.d.ts +2 -0
  42. package/out/components/alert-dialog/AlertDialogPortal.js +18 -0
  43. package/out/components/alert-dialog/AlertDialogTitle.d.ts +3 -0
  44. package/out/components/alert-dialog/AlertDialogTitle.js +19 -0
  45. package/out/components/alert-dialog/AlertDialogTrigger.d.ts +2 -0
  46. package/out/components/alert-dialog/AlertDialogTrigger.js +18 -0
  47. package/out/components/aspect-ratio/AspectRatio.d.ts +4 -0
  48. package/out/components/aspect-ratio/AspectRatio.js +19 -0
  49. package/out/components/badge/Badge.d.ts +4 -0
  50. package/out/components/badge/Badge.js +29 -0
  51. package/out/components/badge/badgeVariants.d.ts +3 -0
  52. package/out/components/badge/badgeVariants.js +16 -0
  53. package/out/components/button/Button.d.ts +4 -0
  54. package/out/components/button/Button.js +19 -0
  55. package/out/components/button/buttonVariants.d.ts +4 -0
  56. package/out/components/button/buttonVariants.js +28 -0
  57. package/out/components/button-group/ButtonGroup.d.ts +4 -0
  58. package/out/components/button-group/ButtonGroup.js +18 -0
  59. package/out/components/button-group/ButtonGroupSeparator.d.ts +3 -0
  60. package/out/components/button-group/ButtonGroupSeparator.js +18 -0
  61. package/out/components/button-group/ButtonGroupText.d.ts +2 -0
  62. package/out/components/button-group/ButtonGroupText.js +27 -0
  63. package/out/components/button-group/buttonGroupVariants.d.ts +4 -0
  64. package/out/components/button-group/buttonGroupVariants.js +13 -0
  65. package/out/components/calendar/Calendar.d.ts +6 -0
  66. package/out/components/calendar/Calendar.js +43 -0
  67. package/out/components/calendar/CalendarDayButton.d.ts +3 -0
  68. package/out/components/calendar/CalendarDayButton.js +29 -0
  69. package/out/components/card/Card.d.ts +4 -0
  70. package/out/components/card/Card.js +17 -0
  71. package/out/components/card/CardAction.d.ts +2 -0
  72. package/out/components/card/CardAction.js +17 -0
  73. package/out/components/card/CardContent.d.ts +2 -0
  74. package/out/components/card/CardContent.js +17 -0
  75. package/out/components/card/CardDescription.d.ts +2 -0
  76. package/out/components/card/CardDescription.js +17 -0
  77. package/out/components/card/CardFooter.d.ts +2 -0
  78. package/out/components/card/CardFooter.js +17 -0
  79. package/out/components/card/CardHeader.d.ts +2 -0
  80. package/out/components/card/CardHeader.js +17 -0
  81. package/out/components/card/CardTitle.d.ts +2 -0
  82. package/out/components/card/CardTitle.js +17 -0
  83. package/out/components/checkbox/Checkbox.d.ts +2 -0
  84. package/out/components/checkbox/Checkbox.js +20 -0
  85. package/out/components/combobox/Combobox.d.ts +3 -0
  86. package/out/components/combobox/Combobox.js +4 -0
  87. package/out/components/combobox/ComboboxChip.d.ts +4 -0
  88. package/out/components/combobox/ComboboxChip.js +21 -0
  89. package/out/components/combobox/ComboboxChips.d.ts +3 -0
  90. package/out/components/combobox/ComboboxChips.js +19 -0
  91. package/out/components/combobox/ComboboxChipsInput.d.ts +2 -0
  92. package/out/components/combobox/ComboboxChipsInput.js +19 -0
  93. package/out/components/combobox/ComboboxClear.d.ts +2 -0
  94. package/out/components/combobox/ComboboxClear.js +21 -0
  95. package/out/components/combobox/ComboboxCollection.d.ts +2 -0
  96. package/out/components/combobox/ComboboxCollection.js +18 -0
  97. package/out/components/combobox/ComboboxContent.d.ts +2 -0
  98. package/out/components/combobox/ComboboxContent.js +19 -0
  99. package/out/components/combobox/ComboboxEmpty.d.ts +2 -0
  100. package/out/components/combobox/ComboboxEmpty.js +19 -0
  101. package/out/components/combobox/ComboboxGroup.d.ts +2 -0
  102. package/out/components/combobox/ComboboxGroup.js +19 -0
  103. package/out/components/combobox/ComboboxInput.d.ts +5 -0
  104. package/out/components/combobox/ComboboxInput.js +25 -0
  105. package/out/components/combobox/ComboboxItem.d.ts +2 -0
  106. package/out/components/combobox/ComboboxItem.js +20 -0
  107. package/out/components/combobox/ComboboxLabel.d.ts +2 -0
  108. package/out/components/combobox/ComboboxLabel.js +19 -0
  109. package/out/components/combobox/ComboboxList.d.ts +2 -0
  110. package/out/components/combobox/ComboboxList.js +19 -0
  111. package/out/components/combobox/ComboboxSeparator.d.ts +2 -0
  112. package/out/components/combobox/ComboboxSeparator.js +19 -0
  113. package/out/components/combobox/ComboboxTrigger.d.ts +2 -0
  114. package/out/components/combobox/ComboboxTrigger.js +20 -0
  115. package/out/components/combobox/ComboboxValue.d.ts +2 -0
  116. package/out/components/combobox/ComboboxValue.js +18 -0
  117. package/out/components/combobox/useComboboxAnchor.d.ts +1 -0
  118. package/out/components/combobox/useComboboxAnchor.js +4 -0
  119. package/out/components/context-menu/ContextMenu.d.ts +2 -0
  120. package/out/components/context-menu/ContextMenu.js +18 -0
  121. package/out/components/context-menu/ContextMenuCheckboxItem.d.ts +2 -0
  122. package/out/components/context-menu/ContextMenuCheckboxItem.js +20 -0
  123. package/out/components/context-menu/ContextMenuContent.d.ts +2 -0
  124. package/out/components/context-menu/ContextMenuContent.js +19 -0
  125. package/out/components/context-menu/ContextMenuGroup.d.ts +2 -0
  126. package/out/components/context-menu/ContextMenuGroup.js +18 -0
  127. package/out/components/context-menu/ContextMenuItem.d.ts +5 -0
  128. package/out/components/context-menu/ContextMenuItem.js +19 -0
  129. package/out/components/context-menu/ContextMenuLabel.d.ts +4 -0
  130. package/out/components/context-menu/ContextMenuLabel.js +19 -0
  131. package/out/components/context-menu/ContextMenuPortal.d.ts +2 -0
  132. package/out/components/context-menu/ContextMenuPortal.js +18 -0
  133. package/out/components/context-menu/ContextMenuRadioGroup.d.ts +2 -0
  134. package/out/components/context-menu/ContextMenuRadioGroup.js +18 -0
  135. package/out/components/context-menu/ContextMenuRadioItem.d.ts +2 -0
  136. package/out/components/context-menu/ContextMenuRadioItem.js +20 -0
  137. package/out/components/context-menu/ContextMenuSeparator.d.ts +2 -0
  138. package/out/components/context-menu/ContextMenuSeparator.js +19 -0
  139. package/out/components/context-menu/ContextMenuShortcut.d.ts +2 -0
  140. package/out/components/context-menu/ContextMenuShortcut.js +18 -0
  141. package/out/components/context-menu/ContextMenuSub.d.ts +2 -0
  142. package/out/components/context-menu/ContextMenuSub.js +18 -0
  143. package/out/components/context-menu/ContextMenuSubContent.d.ts +3 -0
  144. package/out/components/context-menu/ContextMenuSubContent.js +18 -0
  145. package/out/components/context-menu/ContextMenuSubTrigger.d.ts +4 -0
  146. package/out/components/context-menu/ContextMenuSubTrigger.js +20 -0
  147. package/out/components/context-menu/ContextMenuTrigger.d.ts +2 -0
  148. package/out/components/context-menu/ContextMenuTrigger.js +19 -0
  149. package/out/components/copy-input/CopyInput.d.ts +3 -0
  150. package/out/components/copy-input/CopyInput.js +32 -0
  151. package/out/components/date-picker/DatePicker.d.ts +5 -0
  152. package/out/components/date-picker/DatePicker.js +57 -0
  153. package/out/components/dropdown-menu/DropdownMenu.d.ts +2 -0
  154. package/out/components/dropdown-menu/DropdownMenu.js +18 -0
  155. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts +2 -0
  156. package/out/components/dropdown-menu/DropdownMenuCheckboxItem.js +20 -0
  157. package/out/components/dropdown-menu/DropdownMenuContent.d.ts +2 -0
  158. package/out/components/dropdown-menu/DropdownMenuContent.js +19 -0
  159. package/out/components/dropdown-menu/DropdownMenuGroup.d.ts +2 -0
  160. package/out/components/dropdown-menu/DropdownMenuGroup.js +18 -0
  161. package/out/components/dropdown-menu/DropdownMenuItem.d.ts +5 -0
  162. package/out/components/dropdown-menu/DropdownMenuItem.js +19 -0
  163. package/out/components/dropdown-menu/DropdownMenuLabel.d.ts +4 -0
  164. package/out/components/dropdown-menu/DropdownMenuLabel.js +19 -0
  165. package/out/components/dropdown-menu/DropdownMenuPortal.d.ts +2 -0
  166. package/out/components/dropdown-menu/DropdownMenuPortal.js +18 -0
  167. package/out/components/dropdown-menu/DropdownMenuRadioGroup.d.ts +2 -0
  168. package/out/components/dropdown-menu/DropdownMenuRadioGroup.js +18 -0
  169. package/out/components/dropdown-menu/DropdownMenuRadioItem.d.ts +2 -0
  170. package/out/components/dropdown-menu/DropdownMenuRadioItem.js +20 -0
  171. package/out/components/dropdown-menu/DropdownMenuSeparator.d.ts +2 -0
  172. package/out/components/dropdown-menu/DropdownMenuSeparator.js +19 -0
  173. package/out/components/dropdown-menu/DropdownMenuShortcut.d.ts +2 -0
  174. package/out/components/dropdown-menu/DropdownMenuShortcut.js +18 -0
  175. package/out/components/dropdown-menu/DropdownMenuSub.d.ts +2 -0
  176. package/out/components/dropdown-menu/DropdownMenuSub.js +18 -0
  177. package/out/components/dropdown-menu/DropdownMenuSubContent.d.ts +3 -0
  178. package/out/components/dropdown-menu/DropdownMenuSubContent.js +19 -0
  179. package/out/components/dropdown-menu/DropdownMenuSubTrigger.d.ts +4 -0
  180. package/out/components/dropdown-menu/DropdownMenuSubTrigger.js +20 -0
  181. package/out/components/dropdown-menu/DropdownMenuTrigger.d.ts +2 -0
  182. package/out/components/dropdown-menu/DropdownMenuTrigger.js +18 -0
  183. package/out/components/error/Error.d.ts +4 -0
  184. package/out/components/error/Error.js +15 -0
  185. package/out/components/field/Field.d.ts +4 -0
  186. package/out/components/field/Field.js +19 -0
  187. package/out/components/field/FieldContent.d.ts +2 -0
  188. package/out/components/field/FieldContent.js +18 -0
  189. package/out/components/field/FieldDescription.d.ts +2 -0
  190. package/out/components/field/FieldDescription.js +18 -0
  191. package/out/components/field/FieldError.d.ts +6 -0
  192. package/out/components/field/FieldError.js +36 -0
  193. package/out/components/field/FieldGroup.d.ts +2 -0
  194. package/out/components/field/FieldGroup.js +18 -0
  195. package/out/components/field/FieldLabel.d.ts +3 -0
  196. package/out/components/field/FieldLabel.js +19 -0
  197. package/out/components/field/FieldLegend.d.ts +4 -0
  198. package/out/components/field/FieldLegend.js +18 -0
  199. package/out/components/field/FieldSeparator.d.ts +4 -0
  200. package/out/components/field/FieldSeparator.js +19 -0
  201. package/out/components/field/FieldSet.d.ts +2 -0
  202. package/out/components/field/FieldSet.js +18 -0
  203. package/out/components/field/FieldTitle.d.ts +2 -0
  204. package/out/components/field/FieldTitle.js +18 -0
  205. package/out/components/field/fieldVariants.d.ts +4 -0
  206. package/out/components/field/fieldVariants.js +14 -0
  207. package/out/components/file-dropzone/FileDropzone.d.ts +7 -0
  208. package/out/components/file-dropzone/FileDropzone.js +40 -0
  209. package/out/components/input/Input.d.ts +2 -0
  210. package/out/components/input/Input.js +18 -0
  211. package/out/components/input-group/InputGroup.d.ts +2 -0
  212. package/out/components/input-group/InputGroup.js +18 -0
  213. package/out/components/input-group/InputGroupAddon.d.ts +4 -0
  214. package/out/components/input-group/InputGroupAddon.js +25 -0
  215. package/out/components/input-group/InputGroupButton.d.ts +7 -0
  216. package/out/components/input-group/InputGroupButton.js +20 -0
  217. package/out/components/input-group/InputGroupInput.d.ts +2 -0
  218. package/out/components/input-group/InputGroupInput.js +19 -0
  219. package/out/components/input-group/InputGroupText.d.ts +2 -0
  220. package/out/components/input-group/InputGroupText.js +18 -0
  221. package/out/components/input-group/InputGroupTextarea.d.ts +2 -0
  222. package/out/components/input-group/InputGroupTextarea.js +19 -0
  223. package/out/components/input-group/inputGroupAddonVariants.d.ts +4 -0
  224. package/out/components/input-group/inputGroupAddonVariants.js +15 -0
  225. package/out/components/input-group/inputGroupButtonVariants.d.ts +4 -0
  226. package/out/components/input-group/inputGroupButtonVariants.js +15 -0
  227. package/out/components/item/Item.d.ts +5 -0
  228. package/out/components/item/Item.js +31 -0
  229. package/out/components/item/ItemActions.d.ts +3 -0
  230. package/out/components/item/ItemActions.js +18 -0
  231. package/out/components/item/ItemContent.d.ts +3 -0
  232. package/out/components/item/ItemContent.js +18 -0
  233. package/out/components/item/ItemDescription.d.ts +3 -0
  234. package/out/components/item/ItemDescription.js +18 -0
  235. package/out/components/item/ItemFooter.d.ts +3 -0
  236. package/out/components/item/ItemFooter.js +18 -0
  237. package/out/components/item/ItemGroup.d.ts +3 -0
  238. package/out/components/item/ItemGroup.js +18 -0
  239. package/out/components/item/ItemHeader.d.ts +3 -0
  240. package/out/components/item/ItemHeader.js +18 -0
  241. package/out/components/item/ItemMedia.d.ts +5 -0
  242. package/out/components/item/ItemMedia.js +19 -0
  243. package/out/components/item/ItemSeparator.d.ts +4 -0
  244. package/out/components/item/ItemSeparator.js +19 -0
  245. package/out/components/item/ItemTitle.d.ts +3 -0
  246. package/out/components/item/ItemTitle.js +18 -0
  247. package/out/components/item/itemMediaVariants.d.ts +4 -0
  248. package/out/components/item/itemMediaVariants.js +14 -0
  249. package/out/components/item/itemVariants.d.ts +5 -0
  250. package/out/components/item/itemVariants.js +20 -0
  251. package/out/components/label/Label.d.ts +2 -0
  252. package/out/components/label/Label.js +18 -0
  253. package/out/components/link-input/LinkInput.d.ts +3 -0
  254. package/out/components/link-input/LinkInput.js +41 -0
  255. package/out/components/popover/Popover.d.ts +2 -0
  256. package/out/components/popover/Popover.js +18 -0
  257. package/out/components/popover/PopoverContent.d.ts +2 -0
  258. package/out/components/popover/PopoverContent.js +19 -0
  259. package/out/components/popover/PopoverDescription.d.ts +2 -0
  260. package/out/components/popover/PopoverDescription.js +19 -0
  261. package/out/components/popover/PopoverHeader.d.ts +2 -0
  262. package/out/components/popover/PopoverHeader.js +17 -0
  263. package/out/components/popover/PopoverTitle.d.ts +2 -0
  264. package/out/components/popover/PopoverTitle.js +19 -0
  265. package/out/components/popover/PopoverTrigger.d.ts +2 -0
  266. package/out/components/popover/PopoverTrigger.js +18 -0
  267. package/out/components/select/Select.d.ts +3 -0
  268. package/out/components/select/Select.js +4 -0
  269. package/out/components/select/SelectContent.d.ts +2 -0
  270. package/out/components/select/SelectContent.js +21 -0
  271. package/out/components/select/SelectGroup.d.ts +2 -0
  272. package/out/components/select/SelectGroup.js +19 -0
  273. package/out/components/select/SelectItem.d.ts +2 -0
  274. package/out/components/select/SelectItem.js +20 -0
  275. package/out/components/select/SelectLabel.d.ts +2 -0
  276. package/out/components/select/SelectLabel.js +19 -0
  277. package/out/components/select/SelectScrollDownButton.d.ts +3 -0
  278. package/out/components/select/SelectScrollDownButton.js +20 -0
  279. package/out/components/select/SelectScrollUpButton.d.ts +3 -0
  280. package/out/components/select/SelectScrollUpButton.js +20 -0
  281. package/out/components/select/SelectSeparator.d.ts +2 -0
  282. package/out/components/select/SelectSeparator.js +19 -0
  283. package/out/components/select/SelectTrigger.d.ts +4 -0
  284. package/out/components/select/SelectTrigger.js +20 -0
  285. package/out/components/select/SelectValue.d.ts +2 -0
  286. package/out/components/select/SelectValue.js +19 -0
  287. package/out/components/separator/Separator.d.ts +2 -0
  288. package/out/components/separator/Separator.js +19 -0
  289. package/out/components/skeleton/Skeleton.d.ts +2 -0
  290. package/out/components/skeleton/Skeleton.js +17 -0
  291. package/out/components/sonner/Toaster.d.ts +2 -0
  292. package/out/components/sonner/Toaster.js +37 -0
  293. package/out/components/sortable/Sortable.d.ts +48 -0
  294. package/out/components/sortable/Sortable.js +263 -0
  295. package/out/components/switch/Switch.d.ts +4 -0
  296. package/out/components/switch/Switch.js +19 -0
  297. package/out/components/table/Table.d.ts +2 -0
  298. package/out/components/table/Table.js +18 -0
  299. package/out/components/table/TableBody.d.ts +2 -0
  300. package/out/components/table/TableBody.js +18 -0
  301. package/out/components/table/TableCaption.d.ts +2 -0
  302. package/out/components/table/TableCaption.js +18 -0
  303. package/out/components/table/TableCell.d.ts +2 -0
  304. package/out/components/table/TableCell.js +18 -0
  305. package/out/components/table/TableFooter.d.ts +2 -0
  306. package/out/components/table/TableFooter.js +18 -0
  307. package/out/components/table/TableHead.d.ts +2 -0
  308. package/out/components/table/TableHead.js +18 -0
  309. package/out/components/table/TableHeader.d.ts +2 -0
  310. package/out/components/table/TableHeader.js +18 -0
  311. package/out/components/table/TableRow.d.ts +2 -0
  312. package/out/components/table/TableRow.js +18 -0
  313. package/out/components/textarea/Textarea.d.ts +2 -0
  314. package/out/components/textarea/Textarea.js +17 -0
  315. package/out/components/toggle/Toggle.d.ts +4 -0
  316. package/out/components/toggle/Toggle.js +20 -0
  317. package/out/components/toggle/toggleVariants.d.ts +4 -0
  318. package/out/components/toggle/toggleVariants.js +18 -0
  319. package/out/components/tooltip/Tooltip.d.ts +3 -0
  320. package/out/components/tooltip/Tooltip.js +20 -0
  321. package/out/components/tooltip/TooltipContent.d.ts +3 -0
  322. package/out/components/tooltip/TooltipContent.js +20 -0
  323. package/out/components/tooltip/TooltipProvider.d.ts +3 -0
  324. package/out/components/tooltip/TooltipProvider.js +19 -0
  325. package/out/components/tooltip/TooltipTrigger.d.ts +3 -0
  326. package/out/components/tooltip/TooltipTrigger.js +19 -0
  327. package/out/components/typography/TypographyA.d.ts +2 -0
  328. package/out/components/typography/TypographyA.js +20 -0
  329. package/out/components/typography/TypographyBlockquote.d.ts +2 -0
  330. package/out/components/typography/TypographyBlockquote.js +20 -0
  331. package/out/components/typography/TypographyFigure.d.ts +2 -0
  332. package/out/components/typography/TypographyFigure.js +20 -0
  333. package/out/components/typography/TypographyFigureCaption.d.ts +2 -0
  334. package/out/components/typography/TypographyFigureCaption.js +20 -0
  335. package/out/components/typography/TypographyH1.d.ts +2 -0
  336. package/out/components/typography/TypographyH1.js +20 -0
  337. package/out/components/typography/TypographyH2.d.ts +2 -0
  338. package/out/components/typography/TypographyH2.js +20 -0
  339. package/out/components/typography/TypographyH3.d.ts +2 -0
  340. package/out/components/typography/TypographyH3.js +20 -0
  341. package/out/components/typography/TypographyH4.d.ts +2 -0
  342. package/out/components/typography/TypographyH4.js +20 -0
  343. package/out/components/typography/TypographyH5.d.ts +2 -0
  344. package/out/components/typography/TypographyH5.js +20 -0
  345. package/out/components/typography/TypographyH6.d.ts +2 -0
  346. package/out/components/typography/TypographyH6.js +20 -0
  347. package/out/components/typography/TypographyHr.d.ts +2 -0
  348. package/out/components/typography/TypographyHr.js +19 -0
  349. package/out/components/typography/TypographyImage.d.ts +2 -0
  350. package/out/components/typography/TypographyImage.js +21 -0
  351. package/out/components/typography/TypographyImg.d.ts +23 -0
  352. package/out/components/typography/TypographyImg.js +21 -0
  353. package/out/components/typography/TypographyInlineCode.d.ts +2 -0
  354. package/out/components/typography/TypographyInlineCode.js +25 -0
  355. package/out/components/typography/TypographyLi.d.ts +2 -0
  356. package/out/components/typography/TypographyLi.js +20 -0
  357. package/out/components/typography/TypographyLink.d.ts +4 -0
  358. package/out/components/typography/TypographyLink.js +21 -0
  359. package/out/components/typography/TypographyList.d.ts +2 -0
  360. package/out/components/typography/TypographyList.js +20 -0
  361. package/out/components/typography/TypographyOl.d.ts +2 -0
  362. package/out/components/typography/TypographyOl.js +20 -0
  363. package/out/components/typography/TypographyP.d.ts +2 -0
  364. package/out/components/typography/TypographyP.js +20 -0
  365. package/out/components/typography/TypographyPre.d.ts +2 -0
  366. package/out/components/typography/TypographyPre.js +20 -0
  367. package/out/components/typography/TypographyStrong.d.ts +3 -0
  368. package/out/components/typography/TypographyStrong.js +20 -0
  369. package/out/components/typography/TypographyTable.d.ts +2 -0
  370. package/out/components/typography/TypographyTable.js +20 -0
  371. package/out/components/typography/TypographyTd.d.ts +2 -0
  372. package/out/components/typography/TypographyTd.js +20 -0
  373. package/out/components/typography/TypographyTh.d.ts +2 -0
  374. package/out/components/typography/TypographyTh.js +20 -0
  375. package/out/components/typography/TypographyTr.d.ts +2 -0
  376. package/out/components/typography/TypographyTr.js +20 -0
  377. package/out/index.d.ts +176 -0
  378. package/out/index.js +211 -0
  379. package/package.json +77 -0
  380. package/tailwind.css +144 -0
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ export default function ContextMenuRadioGroup(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(ContextMenuPrimitive.RadioGroup, Object.assign({ "data-slot": "context-menu-radio-group" }, props));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
2
+ export default function ContextMenuRadioItem({ className, children, ...props }: ContextMenuPrimitive.RadioItem.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ import { IconCheck } from "@tabler/icons-react";
16
+ import cn from "../../cn";
17
+ export default function ContextMenuRadioItem(_a) {
18
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
19
+ return (_jsxs(ContextMenuPrimitive.RadioItem, Object.assign({ "data-slot": "context-menu-radio-item", className: cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [_jsx("span", { className: "pointer-events-none absolute right-2", children: _jsx(ContextMenuPrimitive.RadioItemIndicator, { children: _jsx(IconCheck, {}) }) }), children] })));
20
+ }
@@ -0,0 +1,2 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
2
+ export default function ContextMenuSeparator({ className, ...props }: ContextMenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ import cn from "../../cn";
16
+ export default function ContextMenuSeparator(_a) {
17
+ var { className } = _a, props = __rest(_a, ["className"]);
18
+ return (_jsx(ContextMenuPrimitive.Separator, Object.assign({ "data-slot": "context-menu-separator", className: cn("-mx-1 my-1 h-px bg-border", className) }, props)));
19
+ }
@@ -0,0 +1,2 @@
1
+ import type { ComponentProps } from "react";
2
+ export default function ContextMenuShortcut({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import cn from "../../cn";
15
+ export default function ContextMenuShortcut(_a) {
16
+ var { className } = _a, props = __rest(_a, ["className"]);
17
+ return (_jsx("span", Object.assign({ "data-slot": "context-menu-shortcut", className: cn("ml-auto text-xs tracking-widest text-muted-foreground group-focus/context-menu-item:text-accent-foreground", className) }, props)));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
2
+ export default function ContextMenuSub({ ...props }: ContextMenuPrimitive.SubmenuRoot.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ export default function ContextMenuSub(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(ContextMenuPrimitive.SubmenuRoot, Object.assign({ "data-slot": "context-menu-sub" }, props));
18
+ }
@@ -0,0 +1,3 @@
1
+ import ContextMenuContent from "./ContextMenuContent";
2
+ import type { ComponentProps } from "react";
3
+ export default function ContextMenuSubContent({ ...props }: ComponentProps<typeof ContextMenuContent>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import ContextMenuContent from "./ContextMenuContent";
15
+ export default function ContextMenuSubContent(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(ContextMenuContent, Object.assign({ "data-slot": "context-menu-sub-content", className: "shadow-lg", side: "right" }, props));
18
+ }
@@ -0,0 +1,4 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
2
+ export default function ContextMenuSubTrigger({ className, inset, children, ...props }: ContextMenuPrimitive.SubmenuTrigger.Props & {
3
+ inset?: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ import { IconChevronRight } from "@tabler/icons-react";
16
+ import cn from "../../cn";
17
+ export default function ContextMenuSubTrigger(_a) {
18
+ var { className, inset, children } = _a, props = __rest(_a, ["className", "inset", "children"]);
19
+ return (_jsxs(ContextMenuPrimitive.SubmenuTrigger, Object.assign({ "data-slot": "context-menu-sub-trigger", "data-inset": inset, className: cn("flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [children, _jsx(IconChevronRight, { className: "ml-auto" })] })));
20
+ }
@@ -0,0 +1,2 @@
1
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
2
+ export default function ContextMenuTrigger({ className, ...props }: ContextMenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
15
+ import cn from "../../cn";
16
+ export default function ContextMenuTrigger(_a) {
17
+ var { className } = _a, props = __rest(_a, ["className"]);
18
+ return (_jsx(ContextMenuPrimitive.Trigger, Object.assign({ "data-slot": "context-menu-trigger", className: cn("select-none", className) }, props)));
19
+ }
@@ -0,0 +1,3 @@
1
+ import { type ComponentProps } from "react";
2
+ import InputGroupInput from "../../components/input-group/InputGroupInput";
3
+ export default function CopyInput({ disabled, defaultValue, value, onChange, ...props }: ComponentProps<typeof InputGroupInput>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,32 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { IconCopy } from "@tabler/icons-react";
15
+ import { useState, useRef } from "react";
16
+ import Button from "../../components/button/Button";
17
+ import InputGroup from "../../components/input-group/InputGroup";
18
+ import InputGroupAddon from "../../components/input-group/InputGroupAddon";
19
+ import InputGroupInput from "../../components/input-group/InputGroupInput";
20
+ export default function CopyInput(_a) {
21
+ var { disabled, defaultValue, value, onChange } = _a, props = __rest(_a, ["disabled", "defaultValue", "value", "onChange"]);
22
+ const inputRef = useRef(null);
23
+ const [hasValue, setHasValue] = useState(Boolean(value !== null && value !== void 0 ? value : defaultValue));
24
+ const handleChange = (e) => {
25
+ onChange === null || onChange === void 0 ? void 0 : onChange(e);
26
+ setHasValue(Boolean(e.target.value));
27
+ };
28
+ return (_jsxs(InputGroup, { children: [_jsx(InputGroupInput, Object.assign({ ref: inputRef, disabled: disabled, defaultValue: defaultValue, value: value, onChange: handleChange }, props)), _jsx(InputGroupAddon, { align: "inline-end", children: _jsx(Button, { variant: "link", className: "h-8 px-2", disabled: disabled !== null && disabled !== void 0 ? disabled : !hasValue, onClick: () => {
29
+ var _a, _b;
30
+ navigator.clipboard.writeText((_b = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : "");
31
+ }, children: _jsx(IconCopy, { className: "size-4" }) }) })] }));
32
+ }
@@ -0,0 +1,5 @@
1
+ declare const DatePicker: import("react").ForwardRefExoticComponent<{
2
+ value: Date | undefined;
3
+ onChange?(date: Date | undefined): void;
4
+ } & Omit<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement>, "ref">, "onChange"> & import("react").RefAttributes<HTMLDivElement>>;
5
+ export default DatePicker;
@@ -0,0 +1,57 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { IconChevronDown } from "@tabler/icons-react";
15
+ import { forwardRef, useState } from "react";
16
+ import cn from "../../cn";
17
+ import Calendar from "../../components/calendar/Calendar";
18
+ import InputGroup from "../../components/input-group/InputGroup";
19
+ import InputGroupButton from "../../components/input-group/InputGroupButton";
20
+ import InputGroupInput from "../../components/input-group/InputGroupInput";
21
+ import Popover from "../../components/popover/Popover";
22
+ import PopoverContent from "../../components/popover/PopoverContent";
23
+ import PopoverTrigger from "../../components/popover/PopoverTrigger";
24
+ const DatePicker = forwardRef((_a, ref) => {
25
+ var { value, onChange, className } = _a, props = __rest(_a, ["value", "onChange", "className"]);
26
+ const [open, setOpen] = useState(false);
27
+ const [time, setTime] = useState(() => {
28
+ if (!value) {
29
+ return "00:00:00";
30
+ }
31
+ const hours = String(value.getHours()).padStart(2, "0");
32
+ const minutes = String(value.getMinutes()).padStart(2, "0");
33
+ const seconds = String(value.getSeconds()).padStart(2, "0");
34
+ return `${hours}:${minutes}:${seconds}`;
35
+ });
36
+ const handleDateSelect = (selectedDate) => {
37
+ if (selectedDate) {
38
+ const [hours, minutes, seconds] = time.split(":").map(Number);
39
+ selectedDate.setHours(hours, minutes, seconds);
40
+ }
41
+ onChange === null || onChange === void 0 ? void 0 : onChange(selectedDate);
42
+ setOpen(false);
43
+ };
44
+ const handleTimeChange = (e) => {
45
+ const newTime = e.target.value;
46
+ setTime(newTime);
47
+ if (value) {
48
+ const [hours, minutes, seconds] = newTime.split(":").map(Number);
49
+ const newDate = new Date(value);
50
+ newDate.setHours(hours, minutes, seconds);
51
+ onChange === null || onChange === void 0 ? void 0 : onChange(newDate);
52
+ }
53
+ };
54
+ return (_jsxs(InputGroup, Object.assign({ ref: ref, className: cn("w-fit", className) }, props, { children: [_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsx(PopoverTrigger, { render: (triggerProps) => (_jsxs(InputGroupButton, Object.assign({}, triggerProps, { size: "sm", variant: "none", className: "font-normal", children: [value ? value.toLocaleDateString() : "Select date", _jsx(IconChevronDown, {})] }))) }), _jsx(PopoverContent, { className: "w-auto overflow-hidden p-0", align: "start", children: _jsx(Calendar, { mode: "single", selected: value, captionLayout: "dropdown", onSelect: handleDateSelect }) })] }), _jsx(InputGroupInput, { type: "time", id: "time-picker", step: "1", value: time, onChange: handleTimeChange, className: "appearance-none [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none" })] })));
55
+ });
56
+ DatePicker.displayName = "DatePicker";
57
+ export default DatePicker;
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ export default function DropdownMenu(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(MenuPrimitive.Root, Object.assign({ "data-slot": "dropdown-menu" }, props));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuCheckboxItem({ className, children, checked, ...props }: MenuPrimitive.CheckboxItem.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import { IconCheck } from "@tabler/icons-react";
16
+ import cn from "../../cn";
17
+ export default function DropdownMenuCheckboxItem(_a) {
18
+ var { className, children, checked } = _a, props = __rest(_a, ["className", "children", "checked"]);
19
+ return (_jsxs(MenuPrimitive.CheckboxItem, Object.assign({ "data-slot": "dropdown-menu-checkbox-item", className: cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), checked: checked }, props, { children: [_jsx("span", { className: "pointer-events-none absolute right-2 flex items-center justify-center", "data-slot": "dropdown-menu-checkbox-item-indicator", children: _jsx(MenuPrimitive.CheckboxItemIndicator, { children: _jsx(IconCheck, {}) }) }), children] })));
20
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import cn from "../../cn";
16
+ export default function DropdownMenuContent(_a) {
17
+ var { align = "start", alignOffset = 0, side = "bottom", sideOffset = 4, className } = _a, props = __rest(_a, ["align", "alignOffset", "side", "sideOffset", "className"]);
18
+ return (_jsx(MenuPrimitive.Portal, { children: _jsx(MenuPrimitive.Positioner, { className: "isolate z-50 outline-none", align: align, alignOffset: alignOffset, side: side, sideOffset: sideOffset, children: _jsx(MenuPrimitive.Popup, Object.assign({ "data-slot": "dropdown-menu-content", className: cn("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className) }, props)) }) }));
19
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ export default function DropdownMenuGroup(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(MenuPrimitive.Group, Object.assign({ "data-slot": "dropdown-menu-group" }, props));
18
+ }
@@ -0,0 +1,5 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuItem({ className, inset, variant, ...props }: MenuPrimitive.Item.Props & {
3
+ inset?: boolean;
4
+ variant?: "default" | "destructive";
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import cn from "../../cn";
16
+ export default function DropdownMenuItem(_a) {
17
+ var { className, inset, variant = "default" } = _a, props = __rest(_a, ["className", "inset", "variant"]);
18
+ return (_jsx(MenuPrimitive.Item, Object.assign({ "data-slot": "dropdown-menu-item", "data-inset": inset, "data-variant": variant, className: cn("group/dropdown-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive", className) }, props)));
19
+ }
@@ -0,0 +1,4 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
3
+ inset?: boolean;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import cn from "../../cn";
16
+ export default function DropdownMenuLabel(_a) {
17
+ var { className, inset } = _a, props = __rest(_a, ["className", "inset"]);
18
+ return (_jsx(MenuPrimitive.GroupLabel, Object.assign({ "data-slot": "dropdown-menu-label", "data-inset": inset, className: cn("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8", className) }, props)));
19
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ export default function DropdownMenuPortal(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(MenuPrimitive.Portal, Object.assign({ "data-slot": "dropdown-menu-portal" }, props));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ export default function DropdownMenuRadioGroup(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(MenuPrimitive.RadioGroup, Object.assign({ "data-slot": "dropdown-menu-radio-group" }, props));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuRadioItem({ className, children, ...props }: MenuPrimitive.RadioItem.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import { IconCheck } from "@tabler/icons-react";
16
+ import cn from "../../cn";
17
+ export default function DropdownMenuRadioItem(_a) {
18
+ var { className, children } = _a, props = __rest(_a, ["className", "children"]);
19
+ return (_jsxs(MenuPrimitive.RadioItem, Object.assign({ "data-slot": "dropdown-menu-radio-item", className: cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [_jsx("span", { className: "pointer-events-none absolute right-2 flex items-center justify-center", "data-slot": "dropdown-menu-radio-item-indicator", children: _jsx(MenuPrimitive.RadioItemIndicator, { children: _jsx(IconCheck, {}) }) }), children] })));
20
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ import cn from "../../cn";
16
+ export default function DropdownMenuSeparator(_a) {
17
+ var { className } = _a, props = __rest(_a, ["className"]);
18
+ return (_jsx(MenuPrimitive.Separator, Object.assign({ "data-slot": "dropdown-menu-separator", className: cn("-mx-1 my-1 h-px bg-border", className) }, props)));
19
+ }
@@ -0,0 +1,2 @@
1
+ import type { ComponentProps } from "react";
2
+ export default function DropdownMenuShortcut({ className, ...props }: ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import cn from "../../cn";
15
+ export default function DropdownMenuShortcut(_a) {
16
+ var { className } = _a, props = __rest(_a, ["className"]);
17
+ return (_jsx("span", Object.assign({ "data-slot": "dropdown-menu-shortcut", className: cn("ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground", className) }, props)));
18
+ }
@@ -0,0 +1,2 @@
1
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
2
+ export default function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ import { Menu as MenuPrimitive } from "@base-ui/react/menu";
15
+ export default function DropdownMenuSub(_a) {
16
+ var props = __rest(_a, []);
17
+ return _jsx(MenuPrimitive.SubmenuRoot, Object.assign({ "data-slot": "dropdown-menu-sub" }, props));
18
+ }
@@ -0,0 +1,3 @@
1
+ import DropdownMenuContent from "./DropdownMenuContent";
2
+ import type { ComponentProps } from "react";
3
+ export default function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: ComponentProps<typeof DropdownMenuContent>): import("react/jsx-runtime").JSX.Element;