@geniusdynamics/ns8-ui-lib 1.0.3 → 1.0.5

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 (621) hide show
  1. package/README.md +8 -18
  2. package/dist/ns8-ui-lib.css +3 -1
  3. package/dist/ns8-ui-lib.es.js +36817 -19726
  4. package/dist/ns8-ui-lib.es.js.map +1 -1
  5. package/dist/ns8-ui-lib.umd.js +24 -11
  6. package/dist/ns8-ui-lib.umd.js.map +1 -1
  7. package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +2 -2
  8. package/dist/src/components/ui/accordion/Accordion.vue.d.ts +25 -0
  9. package/dist/src/components/ui/accordion/AccordionContent.vue.d.ts +22 -0
  10. package/dist/src/components/ui/accordion/AccordionItem.vue.d.ts +22 -0
  11. package/dist/src/components/ui/accordion/AccordionTrigger.vue.d.ts +23 -0
  12. package/dist/src/components/ui/accordion/index.d.ts +4 -0
  13. package/dist/src/components/ui/alert/Alert.vue.d.ts +23 -0
  14. package/dist/src/components/ui/alert/AlertDescription.vue.d.ts +21 -0
  15. package/dist/src/components/ui/alert/AlertTitle.vue.d.ts +21 -0
  16. package/dist/src/components/ui/alert/index.d.ts +8 -0
  17. package/dist/src/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
  18. package/dist/src/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
  19. package/dist/src/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
  20. package/dist/src/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
  21. package/dist/src/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
  22. package/dist/src/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
  23. package/dist/src/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
  24. package/dist/src/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
  25. package/dist/src/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
  26. package/dist/src/components/ui/alert-dialog/index.d.ts +9 -0
  27. package/dist/src/components/ui/aspect-ratio/AspectRatio.vue.d.ts +18 -0
  28. package/dist/src/components/ui/aspect-ratio/index.d.ts +1 -0
  29. package/dist/src/components/ui/avatar/Avatar.vue.d.ts +21 -0
  30. package/dist/src/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
  31. package/dist/src/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
  32. package/dist/src/components/ui/avatar/index.d.ts +3 -0
  33. package/dist/src/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
  34. package/dist/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
  35. package/dist/src/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
  36. package/dist/src/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
  37. package/dist/src/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
  38. package/dist/src/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
  39. package/dist/src/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
  40. package/dist/src/components/ui/breadcrumb/index.d.ts +7 -0
  41. package/dist/src/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
  42. package/dist/src/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
  43. package/dist/src/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
  44. package/dist/src/components/ui/button-group/index.d.ts +8 -0
  45. package/dist/src/components/ui/calendar/Calendar.vue.d.ts +27 -0
  46. package/dist/src/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
  47. package/dist/src/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
  48. package/dist/src/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
  49. package/dist/src/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
  50. package/dist/src/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
  51. package/dist/src/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
  52. package/dist/src/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
  53. package/dist/src/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
  54. package/dist/src/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
  55. package/dist/src/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
  56. package/dist/src/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
  57. package/dist/src/components/ui/calendar/index.d.ts +13 -0
  58. package/dist/src/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
  59. package/dist/src/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
  60. package/dist/src/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
  61. package/dist/src/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
  62. package/dist/src/components/ui/carousel/index.d.ts +7 -0
  63. package/dist/src/components/ui/carousel/interface.d.ts +19 -0
  64. package/dist/src/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
  65. package/dist/src/components/ui/checkbox/index.d.ts +1 -11
  66. package/dist/src/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
  67. package/dist/src/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
  68. package/dist/src/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
  69. package/dist/src/components/ui/collapsible/index.d.ts +3 -0
  70. package/dist/src/components/ui/combobox/Combobox.vue.d.ts +36 -0
  71. package/dist/src/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
  72. package/dist/src/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
  73. package/dist/src/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
  74. package/dist/src/components/ui/combobox/ComboboxInput.vue.d.ts +26 -0
  75. package/dist/src/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
  76. package/dist/src/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
  77. package/dist/src/components/ui/combobox/ComboboxList.vue.d.ts +36 -0
  78. package/dist/src/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
  79. package/dist/src/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
  80. package/dist/src/components/ui/combobox/index.d.ts +11 -0
  81. package/dist/src/components/ui/command/Command.vue.d.ts +40 -0
  82. package/dist/src/components/ui/command/CommandDialog.vue.d.ts +29 -0
  83. package/dist/src/components/ui/command/CommandEmpty.vue.d.ts +22 -0
  84. package/dist/src/components/ui/command/CommandGroup.vue.d.ts +23 -0
  85. package/dist/src/components/ui/command/CommandInput.vue.d.ts +7 -0
  86. package/dist/src/components/ui/command/CommandItem.vue.d.ts +30 -0
  87. package/dist/src/components/ui/command/CommandList.vue.d.ts +22 -0
  88. package/dist/src/components/ui/command/CommandSeparator.vue.d.ts +22 -0
  89. package/dist/src/components/ui/command/CommandShortcut.vue.d.ts +21 -0
  90. package/dist/src/components/ui/command/index.d.ts +90 -0
  91. package/dist/src/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
  92. package/dist/src/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
  93. package/dist/src/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
  94. package/dist/src/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
  95. package/dist/src/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
  96. package/dist/src/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
  97. package/dist/src/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
  98. package/dist/src/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +27 -0
  99. package/dist/src/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
  100. package/dist/src/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
  101. package/dist/src/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
  102. package/dist/src/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
  103. package/dist/src/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
  104. package/dist/src/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
  105. package/dist/src/components/ui/context-menu/index.d.ts +14 -0
  106. package/dist/src/components/ui/dialog/Dialog.vue.d.ts +10 -13
  107. package/dist/src/components/ui/dialog/DialogClose.vue.d.ts +18 -0
  108. package/dist/src/components/ui/dialog/DialogContent.vue.d.ts +39 -0
  109. package/dist/src/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
  110. package/dist/src/components/ui/dialog/DialogFooter.vue.d.ts +24 -0
  111. package/dist/src/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
  112. package/dist/src/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
  113. package/dist/src/components/ui/dialog/DialogScrollContent.vue.d.ts +29 -0
  114. package/dist/src/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
  115. package/dist/src/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
  116. package/dist/src/components/ui/dialog/index.d.ts +9 -0
  117. package/dist/src/components/ui/drawer/Drawer.vue.d.ts +36 -0
  118. package/dist/src/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
  119. package/dist/src/components/ui/drawer/DrawerContent.vue.d.ts +29 -0
  120. package/dist/src/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
  121. package/dist/src/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
  122. package/dist/src/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
  123. package/dist/src/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
  124. package/dist/src/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
  125. package/dist/src/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
  126. package/dist/src/components/ui/drawer/index.d.ts +9 -0
  127. package/dist/src/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
  128. package/dist/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
  129. package/dist/src/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
  130. package/dist/src/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
  131. package/dist/src/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
  132. package/dist/src/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
  133. package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
  134. package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
  135. package/dist/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
  136. package/dist/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
  137. package/dist/src/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
  138. package/dist/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
  139. package/dist/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
  140. package/dist/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
  141. package/dist/src/components/ui/dropdown-menu/index.d.ts +15 -0
  142. package/dist/src/components/ui/empty/Empty.vue.d.ts +21 -0
  143. package/dist/src/components/ui/empty/EmptyContent.vue.d.ts +21 -0
  144. package/dist/src/components/ui/empty/EmptyDescription.vue.d.ts +21 -0
  145. package/dist/src/components/ui/empty/EmptyHeader.vue.d.ts +21 -0
  146. package/dist/src/components/ui/empty/EmptyMedia.vue.d.ts +23 -0
  147. package/dist/src/components/ui/empty/EmptyTitle.vue.d.ts +21 -0
  148. package/dist/src/components/ui/empty/index.d.ts +11 -0
  149. package/dist/src/components/ui/field/Field.vue.d.ts +23 -0
  150. package/dist/src/components/ui/field/FieldContent.vue.d.ts +21 -0
  151. package/dist/src/components/ui/field/FieldDescription.vue.d.ts +21 -0
  152. package/dist/src/components/ui/field/FieldError.vue.d.ts +24 -0
  153. package/dist/src/components/ui/field/FieldGroup.vue.d.ts +21 -0
  154. package/dist/src/components/ui/field/FieldLabel.vue.d.ts +21 -0
  155. package/dist/src/components/ui/field/FieldLegend.vue.d.ts +22 -0
  156. package/dist/src/components/ui/field/FieldSeparator.vue.d.ts +21 -0
  157. package/dist/src/components/ui/field/FieldSet.vue.d.ts +21 -0
  158. package/dist/src/components/ui/field/FieldTitle.vue.d.ts +21 -0
  159. package/dist/src/components/ui/field/index.d.ts +15 -0
  160. package/dist/src/components/ui/form/FormControl.vue.d.ts +17 -0
  161. package/dist/src/components/ui/form/FormDescription.vue.d.ts +21 -0
  162. package/dist/src/components/ui/form/FormItem.vue.d.ts +21 -0
  163. package/dist/src/components/ui/form/FormLabel.vue.d.ts +22 -0
  164. package/dist/src/components/ui/form/FormMessage.vue.d.ts +6 -0
  165. package/dist/src/components/ui/form/index.d.ts +7 -0
  166. package/dist/src/components/ui/form/injectionKeys.d.ts +2 -0
  167. package/dist/src/components/ui/form/useFormField.d.ts +11 -0
  168. package/dist/src/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
  169. package/dist/src/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
  170. package/dist/src/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
  171. package/dist/src/components/ui/hover-card/index.d.ts +3 -0
  172. package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +9 -3
  173. package/dist/src/components/ui/input-group/index.d.ts +0 -7
  174. package/dist/src/components/ui/input-otp/InputOTP.vue.d.ts +46 -0
  175. package/dist/src/components/ui/input-otp/InputOTPGroup.vue.d.ts +21 -0
  176. package/dist/src/components/ui/input-otp/InputOTPSeparator.vue.d.ts +21 -0
  177. package/dist/src/components/ui/input-otp/InputOTPSlot.vue.d.ts +7 -0
  178. package/dist/src/components/ui/input-otp/index.d.ts +4 -0
  179. package/dist/src/components/ui/kbd/Kbd.vue.d.ts +21 -0
  180. package/dist/src/components/ui/kbd/KbdGroup.vue.d.ts +21 -0
  181. package/dist/src/components/ui/kbd/index.d.ts +2 -0
  182. package/dist/src/components/ui/menubar/Menubar.vue.d.ts +28 -0
  183. package/dist/src/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
  184. package/dist/src/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
  185. package/dist/src/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
  186. package/dist/src/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
  187. package/dist/src/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
  188. package/dist/src/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
  189. package/dist/src/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
  190. package/dist/src/components/ui/menubar/MenubarRadioItem.vue.d.ts +27 -0
  191. package/dist/src/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
  192. package/dist/src/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
  193. package/dist/src/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
  194. package/dist/src/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
  195. package/dist/src/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
  196. package/dist/src/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
  197. package/dist/src/components/ui/menubar/index.d.ts +15 -0
  198. package/dist/src/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
  199. package/dist/src/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +405 -0
  200. package/dist/src/components/ui/native-select/NativeSelectOption.vue.d.ts +409 -0
  201. package/dist/src/components/ui/native-select/index.d.ts +3 -0
  202. package/dist/src/components/ui/navigation-menu/NavigationMenu.vue.d.ts +31 -0
  203. package/dist/src/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +32 -0
  204. package/dist/src/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +7 -0
  205. package/dist/src/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +22 -0
  206. package/dist/src/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +30 -0
  207. package/dist/src/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +22 -0
  208. package/dist/src/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +15 -0
  209. package/dist/src/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +7 -0
  210. package/dist/src/components/ui/navigation-menu/index.d.ts +9 -0
  211. package/dist/src/components/ui/number-field/NumberField.vue.d.ts +30 -0
  212. package/dist/src/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
  213. package/dist/src/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
  214. package/dist/src/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
  215. package/dist/src/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
  216. package/dist/src/components/ui/number-field/index.d.ts +5 -0
  217. package/dist/src/components/ui/pagination/Pagination.vue.d.ts +29 -0
  218. package/dist/src/components/ui/pagination/PaginationContent.vue.d.ts +29 -0
  219. package/dist/src/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
  220. package/dist/src/components/ui/pagination/PaginationFirst.vue.d.ts +26 -0
  221. package/dist/src/components/ui/pagination/PaginationItem.vue.d.ts +27 -0
  222. package/dist/src/components/ui/pagination/PaginationLast.vue.d.ts +26 -0
  223. package/dist/src/components/ui/pagination/PaginationNext.vue.d.ts +26 -0
  224. package/dist/src/components/ui/pagination/PaginationPrevious.vue.d.ts +26 -0
  225. package/dist/src/components/ui/pagination/index.d.ts +8 -0
  226. package/dist/src/components/ui/pin-input/PinInput.vue.d.ts +22 -0
  227. package/dist/src/components/ui/pin-input/PinInputGroup.vue.d.ts +22 -0
  228. package/dist/src/components/ui/pin-input/PinInputSeparator.vue.d.ts +18 -0
  229. package/dist/src/components/ui/pin-input/PinInputSlot.vue.d.ts +7 -0
  230. package/dist/src/components/ui/pin-input/index.d.ts +4 -0
  231. package/dist/src/components/ui/popover/Popover.vue.d.ts +25 -0
  232. package/dist/src/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
  233. package/dist/src/components/ui/popover/PopoverContent.vue.d.ts +39 -0
  234. package/dist/src/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
  235. package/dist/src/components/ui/popover/index.d.ts +4 -0
  236. package/dist/src/components/ui/radio-group/RadioGroup.vue.d.ts +28 -0
  237. package/dist/src/components/ui/radio-group/RadioGroupItem.vue.d.ts +22 -0
  238. package/dist/src/components/ui/radio-group/index.d.ts +2 -0
  239. package/dist/src/components/ui/range-calendar/RangeCalendar.vue.d.ts +17 -0
  240. package/dist/src/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
  241. package/dist/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +24 -0
  242. package/dist/src/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
  243. package/dist/src/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
  244. package/dist/src/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
  245. package/dist/src/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
  246. package/dist/src/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
  247. package/dist/src/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
  248. package/dist/src/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
  249. package/dist/src/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
  250. package/dist/src/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
  251. package/dist/src/components/ui/range-calendar/index.d.ts +12 -0
  252. package/dist/src/components/ui/resizable/ResizableHandle.vue.d.ts +27 -0
  253. package/dist/src/components/ui/resizable/ResizablePanel.vue.d.ts +32 -0
  254. package/dist/src/components/ui/resizable/ResizablePanelGroup.vue.d.ts +28 -0
  255. package/dist/src/components/ui/resizable/index.d.ts +3 -0
  256. package/dist/src/components/ui/select/SelectContent.vue.d.ts +2 -2
  257. package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +2 -2
  258. package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +2 -11
  259. package/dist/src/components/ui/slider/Slider.vue.d.ts +13 -0
  260. package/dist/src/components/ui/slider/index.d.ts +1 -0
  261. package/dist/src/components/ui/spinner/Spinner.vue.d.ts +6 -0
  262. package/dist/src/components/ui/spinner/index.d.ts +1 -0
  263. package/dist/src/components/ui/stepper/Stepper.vue.d.ts +38 -0
  264. package/dist/src/components/ui/stepper/StepperDescription.vue.d.ts +22 -0
  265. package/dist/src/components/ui/stepper/StepperIndicator.vue.d.ts +22 -0
  266. package/dist/src/components/ui/stepper/StepperItem.vue.d.ts +22 -0
  267. package/dist/src/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
  268. package/dist/src/components/ui/stepper/StepperTitle.vue.d.ts +22 -0
  269. package/dist/src/components/ui/stepper/StepperTrigger.vue.d.ts +22 -0
  270. package/dist/src/components/ui/stepper/index.d.ts +7 -0
  271. package/dist/src/components/ui/switch/Switch.vue.d.ts +1 -0
  272. package/dist/src/components/ui/tags-input/TagsInput.vue.d.ts +34 -0
  273. package/dist/src/components/ui/tags-input/TagsInputInput.vue.d.ts +7 -0
  274. package/dist/src/components/ui/tags-input/TagsInputItem.vue.d.ts +22 -0
  275. package/dist/src/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
  276. package/dist/src/components/ui/tags-input/TagsInputItemText.vue.d.ts +22 -0
  277. package/dist/src/components/ui/tags-input/index.d.ts +5 -0
  278. package/dist/src/components/ui/toggle/Toggle.vue.d.ts +33 -0
  279. package/dist/src/components/ui/toggle/index.d.ts +2 -10
  280. package/dist/src/components/ui/toggle-group/ToggleGroup.vue.d.ts +36 -0
  281. package/dist/src/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +29 -0
  282. package/dist/src/components/ui/toggle-group/index.d.ts +2 -0
  283. package/package.json +25 -19
  284. package/src/App.vue +2 -2
  285. package/src/components/HelloWorld.vue +2 -2
  286. package/src/components/NS/CompleteDemo.vue +49 -49
  287. package/src/components/NS/Demo.vue +20 -20
  288. package/src/components/NS/cards/NSBackupCard.vue +59 -41
  289. package/src/components/NS/cards/NSSystemInfoCard.vue +167 -134
  290. package/src/components/NS/cards/NSSystemdServiceCard.vue +27 -27
  291. package/src/components/NS/checkbox/NSCheckbox.vue +6 -8
  292. package/src/components/NS/data-table/NSDataTable.vue +34 -40
  293. package/src/components/NS/empty-state/NSEmptyState.vue +3 -3
  294. package/src/components/NS/inline-notification/NSInlineNotification.vue +9 -9
  295. package/src/components/NS/lottie-animation/NSLottieAnimation.vue +140 -116
  296. package/src/components/NS/modal/NSModal.vue +12 -14
  297. package/src/components/NS/modal/NSModalTrigger.vue +1 -1
  298. package/src/components/NS/pagination/NSPagination.vue +10 -10
  299. package/src/components/NS/progress/NSProgress.vue +3 -3
  300. package/src/components/NS/progress/NSProgressBar.vue +4 -4
  301. package/src/components/NS/slider/NSByteSlider.vue +3 -3
  302. package/src/components/NS/slider/NSSlider.vue +2 -2
  303. package/src/components/NS/tag/NSTag.vue +6 -7
  304. package/src/components/NS/text-input/NSTextInput.vue +9 -13
  305. package/src/components/NS/toast-notification/NSToastNotification.vue +9 -11
  306. package/src/components/NS/toggle/NSToggle.vue +5 -8
  307. package/src/components/NS/wizard/NSWizard.vue +21 -21
  308. package/src/components/ui/accordion/Accordion.vue +18 -0
  309. package/src/components/ui/accordion/AccordionContent.vue +23 -0
  310. package/src/components/ui/accordion/AccordionItem.vue +24 -0
  311. package/src/components/ui/accordion/AccordionTrigger.vue +37 -0
  312. package/src/components/ui/alert/Alert.vue +21 -0
  313. package/src/components/ui/alert/AlertDescription.vue +17 -0
  314. package/src/components/ui/alert/AlertTitle.vue +17 -0
  315. package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
  316. package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
  317. package/src/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
  318. package/src/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
  319. package/src/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
  320. package/src/components/ui/alert-dialog/AlertDialogFooter.vue +22 -0
  321. package/src/components/ui/alert-dialog/AlertDialogHeader.vue +17 -0
  322. package/src/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
  323. package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
  324. package/src/components/ui/aspect-ratio/AspectRatio.vue +16 -0
  325. package/src/components/ui/avatar/Avatar.vue +18 -0
  326. package/src/components/ui/avatar/AvatarFallback.vue +21 -0
  327. package/src/components/ui/avatar/AvatarImage.vue +16 -0
  328. package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
  329. package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
  330. package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
  331. package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
  332. package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
  333. package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
  334. package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +22 -0
  335. package/src/components/ui/button/Button.vue +2 -0
  336. package/src/components/ui/button-group/ButtonGroup.vue +22 -0
  337. package/src/components/ui/button-group/ButtonGroupSeparator.vue +24 -0
  338. package/src/components/ui/button-group/ButtonGroupText.vue +29 -0
  339. package/src/components/ui/calendar/Calendar.vue +160 -0
  340. package/src/components/ui/calendar/CalendarCell.vue +23 -0
  341. package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
  342. package/src/components/ui/calendar/CalendarGrid.vue +23 -0
  343. package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
  344. package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
  345. package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
  346. package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
  347. package/src/components/ui/calendar/CalendarHeader.vue +23 -0
  348. package/src/components/ui/calendar/CalendarHeading.vue +30 -0
  349. package/src/components/ui/calendar/CalendarNextButton.vue +31 -0
  350. package/src/components/ui/calendar/CalendarPrevButton.vue +31 -0
  351. package/src/components/ui/card/Card.vue +1 -1
  352. package/src/components/ui/card/CardAction.vue +1 -1
  353. package/src/components/ui/card/CardContent.vue +1 -1
  354. package/src/components/ui/card/CardDescription.vue +1 -1
  355. package/src/components/ui/card/CardFooter.vue +1 -1
  356. package/src/components/ui/card/CardHeader.vue +1 -1
  357. package/src/components/ui/card/CardTitle.vue +1 -1
  358. package/src/components/ui/carousel/Carousel.vue +53 -0
  359. package/src/components/ui/carousel/CarouselContent.vue +33 -0
  360. package/src/components/ui/carousel/CarouselItem.vue +24 -0
  361. package/src/components/ui/carousel/CarouselNext.vue +41 -0
  362. package/src/components/ui/carousel/CarouselPrevious.vue +41 -0
  363. package/src/components/ui/checkbox/Checkbox.vue +35 -0
  364. package/src/components/ui/collapsible/Collapsible.vue +19 -0
  365. package/src/components/ui/collapsible/CollapsibleContent.vue +15 -0
  366. package/src/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
  367. package/src/components/ui/combobox/Combobox.vue +19 -0
  368. package/src/components/ui/combobox/ComboboxAnchor.vue +23 -0
  369. package/src/components/ui/combobox/ComboboxEmpty.vue +21 -0
  370. package/src/components/ui/combobox/ComboboxGroup.vue +27 -0
  371. package/src/components/ui/combobox/ComboboxInput.vue +42 -0
  372. package/src/components/ui/combobox/ComboboxItem.vue +24 -0
  373. package/src/components/ui/combobox/ComboboxItemIndicator.vue +23 -0
  374. package/src/components/ui/combobox/ComboboxList.vue +33 -0
  375. package/src/components/ui/combobox/ComboboxSeparator.vue +21 -0
  376. package/src/components/ui/combobox/ComboboxTrigger.vue +24 -0
  377. package/src/components/ui/combobox/ComboboxViewport.vue +23 -0
  378. package/src/components/ui/command/Command.vue +87 -0
  379. package/src/components/ui/command/CommandDialog.vue +31 -0
  380. package/src/components/ui/command/CommandEmpty.vue +27 -0
  381. package/src/components/ui/command/CommandGroup.vue +45 -0
  382. package/src/components/ui/command/CommandInput.vue +39 -0
  383. package/src/components/ui/command/CommandItem.vue +76 -0
  384. package/src/components/ui/command/CommandList.vue +25 -0
  385. package/src/components/ui/command/CommandSeparator.vue +21 -0
  386. package/src/components/ui/command/CommandShortcut.vue +17 -0
  387. package/src/components/ui/context-menu/ContextMenu.vue +18 -0
  388. package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +39 -0
  389. package/src/components/ui/context-menu/ContextMenuContent.vue +37 -0
  390. package/src/components/ui/context-menu/ContextMenuGroup.vue +15 -0
  391. package/src/components/ui/context-menu/ContextMenuItem.vue +38 -0
  392. package/src/components/ui/context-menu/ContextMenuLabel.vue +22 -0
  393. package/src/components/ui/context-menu/ContextMenuPortal.vue +15 -0
  394. package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +21 -0
  395. package/src/components/ui/context-menu/ContextMenuRadioItem.vue +39 -0
  396. package/src/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
  397. package/src/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
  398. package/src/components/ui/context-menu/ContextMenuSub.vue +21 -0
  399. package/src/components/ui/context-menu/ContextMenuSubContent.vue +32 -0
  400. package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +32 -0
  401. package/src/components/ui/context-menu/ContextMenuTrigger.vue +17 -0
  402. package/src/components/ui/dialog/Dialog.vue +15 -64
  403. package/src/components/ui/dialog/DialogClose.vue +15 -0
  404. package/src/components/ui/dialog/DialogContent.vue +62 -0
  405. package/src/components/ui/dialog/DialogDescription.vue +23 -0
  406. package/src/components/ui/dialog/DialogFooter.vue +27 -0
  407. package/src/components/ui/dialog/DialogHeader.vue +17 -0
  408. package/src/components/ui/dialog/DialogOverlay.vue +21 -0
  409. package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
  410. package/src/components/ui/dialog/DialogTitle.vue +23 -0
  411. package/src/components/ui/dialog/DialogTrigger.vue +15 -0
  412. package/src/components/ui/drawer/Drawer.vue +23 -0
  413. package/src/components/ui/drawer/DrawerClose.vue +15 -0
  414. package/src/components/ui/drawer/DrawerContent.vue +38 -0
  415. package/src/components/ui/drawer/DrawerDescription.vue +21 -0
  416. package/src/components/ui/drawer/DrawerFooter.vue +17 -0
  417. package/src/components/ui/drawer/DrawerHeader.vue +17 -0
  418. package/src/components/ui/drawer/DrawerOverlay.vue +19 -0
  419. package/src/components/ui/drawer/DrawerTitle.vue +21 -0
  420. package/src/components/ui/drawer/DrawerTrigger.vue +15 -0
  421. package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
  422. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
  423. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
  424. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
  425. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
  426. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
  427. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
  428. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
  429. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
  430. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
  431. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
  432. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
  433. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
  434. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
  435. package/src/components/ui/empty/Empty.vue +20 -0
  436. package/src/components/ui/empty/EmptyContent.vue +20 -0
  437. package/src/components/ui/empty/EmptyDescription.vue +20 -0
  438. package/src/components/ui/empty/EmptyHeader.vue +20 -0
  439. package/src/components/ui/empty/EmptyMedia.vue +21 -0
  440. package/src/components/ui/empty/EmptyTitle.vue +17 -0
  441. package/src/components/ui/field/Field.vue +25 -0
  442. package/src/components/ui/field/FieldContent.vue +20 -0
  443. package/src/components/ui/field/FieldDescription.vue +22 -0
  444. package/src/components/ui/field/FieldError.vue +53 -0
  445. package/src/components/ui/field/FieldGroup.vue +20 -0
  446. package/src/components/ui/field/FieldLabel.vue +23 -0
  447. package/src/components/ui/field/FieldLegend.vue +24 -0
  448. package/src/components/ui/field/FieldSeparator.vue +29 -0
  449. package/src/components/ui/field/FieldSet.vue +21 -0
  450. package/src/components/ui/field/FieldTitle.vue +20 -0
  451. package/src/components/ui/form/FormControl.vue +17 -0
  452. package/src/components/ui/form/FormDescription.vue +21 -0
  453. package/src/components/ui/form/FormItem.vue +23 -0
  454. package/src/components/ui/form/FormLabel.vue +25 -0
  455. package/src/components/ui/form/FormMessage.vue +23 -0
  456. package/src/components/ui/hover-card/HoverCard.vue +19 -0
  457. package/src/components/ui/hover-card/HoverCardContent.vue +43 -0
  458. package/src/components/ui/hover-card/HoverCardTrigger.vue +15 -0
  459. package/src/components/ui/input/Input.vue +3 -3
  460. package/src/components/ui/input-group/InputGroup.vue +8 -8
  461. package/src/components/ui/input-group/InputGroupButton.vue +9 -1
  462. package/src/components/ui/input-group/InputGroupInput.vue +1 -1
  463. package/src/components/ui/input-group/InputGroupText.vue +1 -1
  464. package/src/components/ui/input-group/InputGroupTextarea.vue +1 -1
  465. package/src/components/ui/input-otp/InputOTP.vue +28 -0
  466. package/src/components/ui/input-otp/InputOTPGroup.vue +22 -0
  467. package/src/components/ui/input-otp/InputOTPSeparator.vue +21 -0
  468. package/src/components/ui/input-otp/InputOTPSlot.vue +32 -0
  469. package/src/components/ui/item/Item.vue +2 -0
  470. package/src/components/ui/item/ItemActions.vue +1 -1
  471. package/src/components/ui/item/ItemContent.vue +1 -1
  472. package/src/components/ui/item/ItemDescription.vue +2 -2
  473. package/src/components/ui/item/ItemFooter.vue +1 -1
  474. package/src/components/ui/item/ItemGroup.vue +1 -1
  475. package/src/components/ui/item/ItemHeader.vue +1 -1
  476. package/src/components/ui/item/ItemSeparator.vue +1 -1
  477. package/src/components/ui/item/ItemTitle.vue +1 -1
  478. package/src/components/ui/kbd/Kbd.vue +21 -0
  479. package/src/components/ui/kbd/KbdGroup.vue +17 -0
  480. package/src/components/ui/label/Label.vue +1 -1
  481. package/src/components/ui/menubar/Menubar.vue +33 -0
  482. package/src/components/ui/menubar/MenubarCheckboxItem.vue +39 -0
  483. package/src/components/ui/menubar/MenubarContent.vue +45 -0
  484. package/src/components/ui/menubar/MenubarGroup.vue +15 -0
  485. package/src/components/ui/menubar/MenubarItem.vue +36 -0
  486. package/src/components/ui/menubar/MenubarLabel.vue +20 -0
  487. package/src/components/ui/menubar/MenubarMenu.vue +15 -0
  488. package/src/components/ui/menubar/MenubarRadioGroup.vue +21 -0
  489. package/src/components/ui/menubar/MenubarRadioItem.vue +39 -0
  490. package/src/components/ui/menubar/MenubarSeparator.vue +21 -0
  491. package/src/components/ui/menubar/MenubarShortcut.vue +17 -0
  492. package/src/components/ui/menubar/MenubarSub.vue +24 -0
  493. package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
  494. package/src/components/ui/menubar/MenubarSubTrigger.vue +28 -0
  495. package/src/components/ui/menubar/MenubarTrigger.vue +28 -0
  496. package/src/components/ui/native-select/NativeSelect.vue +50 -0
  497. package/src/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
  498. package/src/components/ui/native-select/NativeSelectOption.vue +15 -0
  499. package/src/components/ui/navigation-menu/NavigationMenu.vue +35 -0
  500. package/src/components/ui/navigation-menu/NavigationMenuContent.vue +31 -0
  501. package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
  502. package/src/components/ui/navigation-menu/NavigationMenuItem.vue +21 -0
  503. package/src/components/ui/navigation-menu/NavigationMenuLink.vue +26 -0
  504. package/src/components/ui/navigation-menu/NavigationMenuList.vue +28 -0
  505. package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
  506. package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +31 -0
  507. package/src/components/ui/number-field/NumberField.vue +20 -0
  508. package/src/components/ui/number-field/NumberFieldContent.vue +14 -0
  509. package/src/components/ui/number-field/NumberFieldDecrement.vue +22 -0
  510. package/src/components/ui/number-field/NumberFieldIncrement.vue +22 -0
  511. package/src/components/ui/number-field/NumberFieldInput.vue +16 -0
  512. package/src/components/ui/pagination/Pagination.vue +26 -0
  513. package/src/components/ui/pagination/PaginationContent.vue +22 -0
  514. package/src/components/ui/pagination/PaginationEllipsis.vue +25 -0
  515. package/src/components/ui/pagination/PaginationFirst.vue +33 -0
  516. package/src/components/ui/pagination/PaginationItem.vue +34 -0
  517. package/src/components/ui/pagination/PaginationLast.vue +33 -0
  518. package/src/components/ui/pagination/PaginationNext.vue +33 -0
  519. package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
  520. package/src/components/ui/pin-input/PinInput.vue +26 -0
  521. package/src/components/ui/pin-input/PinInputGroup.vue +21 -0
  522. package/src/components/ui/pin-input/PinInputSeparator.vue +19 -0
  523. package/src/components/ui/pin-input/PinInputSlot.vue +21 -0
  524. package/src/components/ui/popover/Popover.vue +19 -0
  525. package/src/components/ui/popover/PopoverAnchor.vue +15 -0
  526. package/src/components/ui/popover/PopoverContent.vue +45 -0
  527. package/src/components/ui/popover/PopoverTrigger.vue +15 -0
  528. package/src/components/ui/progress/Progress.vue +9 -12
  529. package/src/components/ui/radio-group/RadioGroup.vue +25 -0
  530. package/src/components/ui/radio-group/RadioGroupItem.vue +40 -0
  531. package/src/components/ui/range-calendar/RangeCalendar.vue +62 -0
  532. package/src/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
  533. package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +41 -0
  534. package/src/components/ui/range-calendar/RangeCalendarGrid.vue +23 -0
  535. package/src/components/ui/range-calendar/RangeCalendarGridBody.vue +15 -0
  536. package/src/components/ui/range-calendar/RangeCalendarGridHead.vue +15 -0
  537. package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
  538. package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +23 -0
  539. package/src/components/ui/range-calendar/RangeCalendarHeader.vue +23 -0
  540. package/src/components/ui/range-calendar/RangeCalendarHeading.vue +30 -0
  541. package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
  542. package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
  543. package/src/components/ui/resizable/ResizableHandle.vue +30 -0
  544. package/src/components/ui/resizable/ResizablePanel.vue +21 -0
  545. package/src/components/ui/resizable/ResizablePanelGroup.vue +25 -0
  546. package/src/components/ui/scroll-area/ScrollArea.vue +2 -2
  547. package/src/components/ui/scroll-area/ScrollBar.vue +22 -16
  548. package/src/components/ui/select/SelectContent.vue +27 -18
  549. package/src/components/ui/select/SelectItem.vue +3 -3
  550. package/src/components/ui/select/SelectLabel.vue +1 -1
  551. package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
  552. package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
  553. package/src/components/ui/select/SelectSeparator.vue +1 -1
  554. package/src/components/ui/select/SelectTrigger.vue +2 -2
  555. package/src/components/ui/separator/Separator.vue +1 -1
  556. package/src/components/ui/sheet/SheetContent.vue +31 -28
  557. package/src/components/ui/sheet/SheetDescription.vue +1 -1
  558. package/src/components/ui/sheet/SheetFooter.vue +1 -1
  559. package/src/components/ui/sheet/SheetHeader.vue +1 -1
  560. package/src/components/ui/sheet/SheetOverlay.vue +1 -1
  561. package/src/components/ui/sheet/SheetTitle.vue +1 -1
  562. package/src/components/ui/sidebar/Sidebar.vue +16 -16
  563. package/src/components/ui/sidebar/SidebarContent.vue +1 -1
  564. package/src/components/ui/sidebar/SidebarFooter.vue +1 -1
  565. package/src/components/ui/sidebar/SidebarGroup.vue +1 -1
  566. package/src/components/ui/sidebar/SidebarGroupAction.vue +3 -3
  567. package/src/components/ui/sidebar/SidebarGroupContent.vue +1 -1
  568. package/src/components/ui/sidebar/SidebarGroupLabel.vue +2 -2
  569. package/src/components/ui/sidebar/SidebarHeader.vue +1 -1
  570. package/src/components/ui/sidebar/SidebarInput.vue +1 -1
  571. package/src/components/ui/sidebar/SidebarInset.vue +2 -2
  572. package/src/components/ui/sidebar/SidebarMenu.vue +1 -1
  573. package/src/components/ui/sidebar/SidebarMenuAction.vue +7 -7
  574. package/src/components/ui/sidebar/SidebarMenuBadge.vue +6 -6
  575. package/src/components/ui/sidebar/SidebarMenuItem.vue +1 -1
  576. package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +3 -3
  577. package/src/components/ui/sidebar/SidebarMenuSub.vue +2 -2
  578. package/src/components/ui/sidebar/SidebarMenuSubButton.vue +5 -5
  579. package/src/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
  580. package/src/components/ui/sidebar/SidebarProvider.vue +1 -1
  581. package/src/components/ui/sidebar/SidebarRail.vue +6 -6
  582. package/src/components/ui/sidebar/SidebarSeparator.vue +1 -1
  583. package/src/components/ui/sidebar/SidebarTrigger.vue +2 -2
  584. package/src/components/ui/skeleton/Skeleton.vue +1 -1
  585. package/src/components/ui/slider/Slider.vue +43 -0
  586. package/src/components/ui/sonner/Sonner.vue +7 -7
  587. package/src/components/ui/spinner/Spinner.vue +17 -0
  588. package/src/components/ui/stepper/Stepper.vue +27 -0
  589. package/src/components/ui/stepper/StepperDescription.vue +19 -0
  590. package/src/components/ui/stepper/StepperIndicator.vue +32 -0
  591. package/src/components/ui/stepper/StepperItem.vue +23 -0
  592. package/src/components/ui/stepper/StepperSeparator.vue +27 -0
  593. package/src/components/ui/stepper/StepperTitle.vue +19 -0
  594. package/src/components/ui/stepper/StepperTrigger.vue +22 -0
  595. package/src/components/ui/switch/Switch.vue +2 -2
  596. package/src/components/ui/table/Table.vue +12 -6
  597. package/src/components/ui/table/TableBody.vue +1 -1
  598. package/src/components/ui/table/TableCaption.vue +1 -1
  599. package/src/components/ui/table/TableCell.vue +1 -1
  600. package/src/components/ui/table/TableEmpty.vue +17 -14
  601. package/src/components/ui/table/TableFooter.vue +1 -1
  602. package/src/components/ui/table/TableHead.vue +1 -1
  603. package/src/components/ui/table/TableHeader.vue +1 -1
  604. package/src/components/ui/table/TableRow.vue +1 -1
  605. package/src/components/ui/tabs/Tabs.vue +1 -1
  606. package/src/components/ui/tabs/TabsContent.vue +1 -1
  607. package/src/components/ui/tabs/TabsList.vue +1 -1
  608. package/src/components/ui/tabs/TabsTrigger.vue +1 -1
  609. package/src/components/ui/tags-input/TagsInput.vue +26 -0
  610. package/src/components/ui/tags-input/TagsInputInput.vue +17 -0
  611. package/src/components/ui/tags-input/TagsInputItem.vue +20 -0
  612. package/src/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
  613. package/src/components/ui/tags-input/TagsInputItemText.vue +19 -0
  614. package/src/components/ui/textarea/Textarea.vue +1 -1
  615. package/src/components/ui/toggle/Toggle.vue +35 -0
  616. package/src/components/ui/toggle-group/ToggleGroup.vue +49 -0
  617. package/src/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
  618. package/src/components/ui/tooltip/TooltipContent.vue +2 -2
  619. package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +0 -75
  620. package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +0 -49
  621. package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +0 -54
@@ -17,14 +17,14 @@ const props = withDefaults(defineProps<PrimitiveProps & {
17
17
  data-slot="sidebar-menu-action"
18
18
  data-sidebar="menu-action"
19
19
  :class="cn(
20
- 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
21
- 'after:absolute after:-inset-2 md:after:hidden',
22
- 'peer-data-[size=sm]/menu-button:top-1',
23
- 'peer-data-[size=default]/menu-button:top-1.5',
24
- 'peer-data-[size=lg]/menu-button:top-2.5',
25
- 'group-data-[collapsible=icon]:hidden',
20
+ 'tw:text-sidebar-foreground tw:ring-sidebar-ring tw:hover:bg-sidebar-accent tw:hover:text-sidebar-accent-foreground tw:peer-hover/menu-button:text-sidebar-accent-foreground tw:absolute tw:top-1.5 tw:right-1 tw:flex tw:aspect-square tw:w-5 tw:items-center tw:justify-center tw:rounded-md tw:p-0 tw:outline-hidden tw:transition-transform tw:focus-visible:ring-2 tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
21
+ 'tw:after:absolute tw:after:-inset-2 tw:md:after:hidden',
22
+ 'tw:peer-data-[size=sm]/menu-button:top-1',
23
+ 'tw:peer-data-[size=default]/menu-button:top-1.5',
24
+ 'tw:peer-data-[size=lg]/menu-button:top-2.5',
25
+ 'tw:group-data-[collapsible=icon]:hidden',
26
26
  showOnHover
27
- && 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0',
27
+ && 'tw:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground tw:group-focus-within/menu-item:opacity-100 tw:group-hover/menu-item:opacity-100 tw:data-[state=open]:opacity-100 tw:md:opacity-0',
28
28
  props.class,
29
29
  )"
30
30
  :as="as"
@@ -12,12 +12,12 @@ const props = defineProps<{
12
12
  data-slot="sidebar-menu-badge"
13
13
  data-sidebar="menu-badge"
14
14
  :class="cn(
15
- 'text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none',
16
- 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',
17
- 'peer-data-[size=sm]/menu-button:top-1',
18
- 'peer-data-[size=default]/menu-button:top-1.5',
19
- 'peer-data-[size=lg]/menu-button:top-2.5',
20
- 'group-data-[collapsible=icon]:hidden',
15
+ 'tw:text-sidebar-foreground tw:pointer-events-none tw:absolute tw:right-1 tw:flex tw:h-5 tw:min-w-5 tw:items-center tw:justify-center tw:rounded-md tw:px-1 tw:text-xs tw:font-medium tw:tabular-nums tw:select-none',
16
+ 'tw:peer-hover/menu-button:text-sidebar-accent-foreground tw:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',
17
+ 'tw:peer-data-[size=sm]/menu-button:top-1',
18
+ 'tw:peer-data-[size=default]/menu-button:top-1.5',
19
+ 'tw:peer-data-[size=lg]/menu-button:top-2.5',
20
+ 'tw:group-data-[collapsible=icon]:hidden',
21
21
  props.class,
22
22
  )"
23
23
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <li
12
12
  data-slot="sidebar-menu-item"
13
13
  data-sidebar="menu-item"
14
- :class="cn('group/menu-item relative', props.class)"
14
+ :class="cn('tw:group/menu-item tw:relative', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </li>
@@ -18,16 +18,16 @@ const width = computed(() => {
18
18
  <div
19
19
  data-slot="sidebar-menu-skeleton"
20
20
  data-sidebar="menu-skeleton"
21
- :class="cn('flex h-8 items-center gap-2 rounded-md px-2', props.class)"
21
+ :class="cn('tw:flex tw:h-8 tw:items-center tw:gap-2 tw:rounded-md tw:px-2', props.class)"
22
22
  >
23
23
  <Skeleton
24
24
  v-if="showIcon"
25
- class="size-4 rounded-md"
25
+ class=""tw:size-4 tw:rounded-md""
26
26
  data-sidebar="menu-skeleton-icon"
27
27
  />
28
28
 
29
29
  <Skeleton
30
- class="h-4 max-w-(--skeleton-width) flex-1"
30
+ class=""tw:h-4 tw:max-w-(--skeleton-width) tw:flex-1""
31
31
  data-sidebar="menu-skeleton-text"
32
32
  :style="{ '--skeleton-width': width }"
33
33
  />
@@ -12,8 +12,8 @@ const props = defineProps<{
12
12
  data-slot="sidebar-menu-sub"
13
13
  data-sidebar="menu-badge"
14
14
  :class="cn(
15
- 'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5',
16
- 'group-data-[collapsible=icon]:hidden',
15
+ 'tw:border-sidebar-border tw:mx-3.5 tw:flex tw:min-w-0 tw:translate-x-px tw:flex-col tw:gap-1 tw:border-l tw:px-2.5 tw:py-0.5',
16
+ 'tw:group-data-[collapsible=icon]:hidden',
17
17
  props.class,
18
18
  )"
19
19
  >
@@ -23,11 +23,11 @@ const props = withDefaults(defineProps<PrimitiveProps & {
23
23
  :data-size="size"
24
24
  :data-active="isActive"
25
25
  :class="cn(
26
- 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',
27
- 'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground',
28
- size === 'sm' && 'text-xs',
29
- size === 'md' && 'text-sm',
30
- 'group-data-[collapsible=icon]:hidden',
26
+ 'tw:text-sidebar-foreground tw:ring-sidebar-ring tw:hover:bg-sidebar-accent tw:hover:text-sidebar-accent-foreground tw:active:bg-sidebar-accent tw:active:text-sidebar-accent-foreground tw:[&>svg]:text-sidebar-accent-foreground tw:flex tw:h-7 tw:min-w-0 tw:-translate-x-px tw:items-center tw:gap-2 tw:overflow-hidden tw:rounded-md tw:px-2 tw:outline-hidden tw:focus-visible:ring-2 tw:disabled:pointer-events-none tw:disabled:opacity-50 tw:aria-disabled:pointer-events-none tw:aria-disabled:opacity-50 tw:[&>span:last-child]:truncate tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
27
+ 'tw:data-[active=true]:bg-sidebar-accent tw:data-[active=true]:text-sidebar-accent-foreground',
28
+ size === 'tw:sm' && 'tw:text-xs',
29
+ size === 'tw:md' && 'tw:text-sm',
30
+ 'tw:group-data-[collapsible=icon]:hidden',
31
31
  props.class,
32
32
  )"
33
33
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <li
12
12
  data-slot="sidebar-menu-sub-item"
13
13
  data-sidebar="menu-sub-item"
14
- :class="cn('group/menu-sub-item relative', props.class)"
14
+ :class="cn('tw:group/menu-sub-item tw:relative', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </li>
@@ -73,7 +73,7 @@ provideSidebarContext({
73
73
  '--sidebar-width': SIDEBAR_WIDTH,
74
74
  '--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
75
75
  }"
76
- :class="cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', props.class)"
76
+ :class="cn('tw:group/sidebar-wrapper tw:has-data-[variant=inset]:bg-sidebar tw:flex tw:min-h-svh tw:w-full', props.class)"
77
77
  v-bind="$attrs"
78
78
  >
79
79
  <slot />
@@ -18,12 +18,12 @@ const { toggleSidebar } = useSidebar()
18
18
  :tabindex="-1"
19
19
  title="Toggle Sidebar"
20
20
  :class="cn(
21
- 'hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex',
22
- 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',
23
- '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
24
- 'hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full',
25
- '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
26
- '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',
21
+ 'tw:hover:after:bg-sidebar-border tw:absolute tw:inset-y-0 tw:z-20 tw:hidden tw:w-4 tw:-translate-x-1/2 tw:transition-all tw:ease-linear tw:group-data-[side=left]:-right-4 tw:group-data-[side=right]:left-0 tw:after:absolute tw:after:inset-y-0 tw:after:left-1/2 tw:after:w-[2px] tw:sm:flex',
22
+ 'tw:in-data-[side=left]:cursor-w-resize tw:in-data-[side=right]:cursor-e-resize',
23
+ 'tw:[[data-side=left][data-state=collapsed]_&]:cursor-e-resize tw:[[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
24
+ 'tw:hover:group-data-[collapsible=offcanvas]:bg-sidebar tw:group-data-[collapsible=offcanvas]:translate-x-0 tw:group-data-[collapsible=offcanvas]:after:left-full',
25
+ 'tw:[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
26
+ 'tw:[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',
27
27
  props.class,
28
28
  )"
29
29
  @click="toggleSidebar"
@@ -12,7 +12,7 @@ const props = defineProps<{
12
12
  <Separator
13
13
  data-slot="sidebar-separator"
14
14
  data-sidebar="separator"
15
- :class="cn('bg-sidebar-border mx-2 w-auto', props.class)"
15
+ :class="cn('tw:bg-sidebar-border tw:mx-2 tw:w-auto', props.class)"
16
16
  >
17
17
  <slot />
18
18
  </Separator>
@@ -18,10 +18,10 @@ const { toggleSidebar } = useSidebar()
18
18
  data-slot="sidebar-trigger"
19
19
  variant="ghost"
20
20
  size="icon"
21
- :class="cn('h-7 w-7', props.class)"
21
+ :class="cn('tw:h-7 tw:w-7', props.class)"
22
22
  @click="toggleSidebar"
23
23
  >
24
24
  <PanelLeft />
25
- <span class="sr-only">Toggle Sidebar</span>
25
+ <span class=""tw:sr-only"">Toggle Sidebar</span>
26
26
  </Button>
27
27
  </template>
@@ -12,6 +12,6 @@ const props = defineProps<SkeletonProps>()
12
12
  <template>
13
13
  <div
14
14
  data-slot="skeleton"
15
- :class="cn('animate-pulse rounded-md bg-primary/10', props.class)"
15
+ :class="cn('tw:animate-pulse tw:rounded-md tw:bg-primary/10', props.class)"
16
16
  />
17
17
  </template>
@@ -0,0 +1,43 @@
1
+ <script setup lang="ts">
2
+ import type { SliderRootEmits, SliderRootProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { SliderRange, SliderRoot, SliderThumb, SliderTrack, useForwardPropsEmits } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<SliderRootProps & { class?: HTMLAttributes["class"] }>()
9
+ const emits = defineEmits<SliderRootEmits>()
10
+
11
+ const delegatedProps = reactiveOmit(props, "class")
12
+
13
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
14
+ </script>
15
+
16
+ <template>
17
+ <SliderRoot
18
+ v-slot="{ modelValue }"
19
+ data-slot="slider"
20
+ :class="cn(
21
+ 'tw:relative tw:flex tw:w-full tw:touch-none tw:items-center tw:select-none tw:data-[disabled]:opacity-50 tw:data-[orientation=vertical]:h-full tw:data-[orientation=vertical]:min-h-44 tw:data-[orientation=vertical]:w-auto tw:data-[orientation=vertical]:flex-col',
22
+ props.class,
23
+ )"
24
+ v-bind="forwarded"
25
+ >
26
+ <SliderTrack
27
+ data-slot="slider-track"
28
+ class=""tw:bg-muted tw:relative tw:grow tw:overflow-hidden tw:rounded-full tw:data-[orientation=horizontal]:h-1.5 tw:data-[orientation=horizontal]:w-full tw:data-[orientation=vertical]:h-full tw:data-[orientation=vertical]:w-1.5""
29
+ >
30
+ <SliderRange
31
+ data-slot="slider-range"
32
+ class=""tw:bg-primary tw:absolute tw:data-[orientation=horizontal]:h-full tw:data-[orientation=vertical]:w-full""
33
+ />
34
+ </SliderTrack>
35
+
36
+ <SliderThumb
37
+ v-for="(_, key) in modelValue"
38
+ :key="key"
39
+ data-slot="slider-thumb"
40
+ class=""tw:bg-white tw:border-primary tw:ring-ring/50 tw:block tw:size-4 tw:shrink-0 tw:rounded-full tw:border tw:shadow-sm tw:transition-[color,box-shadow] tw:hover:ring-4 tw:focus-visible:ring-4 tw:focus-visible:outline-hidden tw:disabled:pointer-events-none tw:disabled:opacity-50""
41
+ />
42
+ </SliderRoot>
43
+ </template>
@@ -9,7 +9,7 @@ const props = defineProps<ToasterProps>()
9
9
 
10
10
  <template>
11
11
  <Sonner
12
- :class="cn('toaster group', props.class)"
12
+ :class="cn('tw:toaster tw:group', props.class)"
13
13
  :style="{
14
14
  '--normal-bg': 'var(--popover)',
15
15
  '--normal-text': 'var(--popover-foreground)',
@@ -19,24 +19,24 @@ const props = defineProps<ToasterProps>()
19
19
  v-bind="props"
20
20
  >
21
21
  <template #success-icon>
22
- <CircleCheckIcon class="size-4" />
22
+ <CircleCheckIcon class=""tw:size-4"" />
23
23
  </template>
24
24
  <template #info-icon>
25
- <InfoIcon class="size-4" />
25
+ <InfoIcon class=""tw:size-4"" />
26
26
  </template>
27
27
  <template #warning-icon>
28
- <TriangleAlertIcon class="size-4" />
28
+ <TriangleAlertIcon class=""tw:size-4"" />
29
29
  </template>
30
30
  <template #error-icon>
31
- <OctagonXIcon class="size-4" />
31
+ <OctagonXIcon class=""tw:size-4"" />
32
32
  </template>
33
33
  <template #loading-icon>
34
34
  <div>
35
- <Loader2Icon class="size-4 animate-spin" />
35
+ <Loader2Icon class=""tw:size-4 tw:animate-spin"" />
36
36
  </div>
37
37
  </template>
38
38
  <template #close-icon>
39
- <XIcon class="size-4" />
39
+ <XIcon class=""tw:size-4"" />
40
40
  </template>
41
41
  </Sonner>
42
42
  </template>
@@ -0,0 +1,17 @@
1
+ <script setup lang="ts">
2
+ import type { HTMLAttributes } from "vue"
3
+ import { Loader2Icon } from "lucide-vue-next"
4
+ import { cn } from "@/lib/utils"
5
+
6
+ const props = defineProps<{
7
+ class?: HTMLAttributes["class"]
8
+ }>()
9
+ </script>
10
+
11
+ <template>
12
+ <Loader2Icon
13
+ role="status"
14
+ aria-label="Loading"
15
+ :class="cn('tw:size-4 tw:animate-spin', props.class)"
16
+ />
17
+ </template>
@@ -0,0 +1,27 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperRootEmits, StepperRootProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperRoot, useForwardPropsEmits } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperRootProps & { class?: HTMLAttributes["class"] }>()
9
+ const emits = defineEmits<StepperRootEmits>()
10
+
11
+ const delegatedProps = reactiveOmit(props, "class")
12
+
13
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
14
+ </script>
15
+
16
+ <template>
17
+ <StepperRoot
18
+ v-slot="slotProps"
19
+ :class="cn(
20
+ 'tw:flex tw:gap-2',
21
+ props.class,
22
+ )"
23
+ v-bind="forwarded"
24
+ >
25
+ <slot v-bind="slotProps" />
26
+ </StepperRoot>
27
+ </template>
@@ -0,0 +1,19 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperDescriptionProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperDescription, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperDescriptionProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperDescription v-slot="slotProps" v-bind="forwarded" :class="cn('tw:text-xs tw:text-muted-foreground', props.class)">
17
+ <slot v-bind="slotProps" />
18
+ </StepperDescription>
19
+ </template>
@@ -0,0 +1,32 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperIndicatorProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperIndicator, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperIndicatorProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperIndicator
17
+ v-slot="slotProps"
18
+ v-bind="forwarded"
19
+ :class="cn(
20
+ 'tw:inline-flex tw:items-center tw:justify-center tw:rounded-full tw:text-muted-foreground/50 tw:w-8 tw:h-8',
21
+ // Disabled
22
+ 'tw:group-data-[disabled]:text-muted-foreground tw:group-data-[disabled]:opacity-50',
23
+ // Active
24
+ 'tw:group-data-[state=active]:bg-primary tw:group-data-[state=active]:text-primary-foreground',
25
+ // Completed
26
+ 'tw:group-data-[state=completed]:bg-accent tw:group-data-[state=completed]:text-accent-foreground',
27
+ props.class,
28
+ )"
29
+ >
30
+ <slot v-bind="slotProps" />
31
+ </StepperIndicator>
32
+ </template>
@@ -0,0 +1,23 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperItemProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperItem, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperItemProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperItem
17
+ v-slot="slotProps"
18
+ v-bind="forwarded"
19
+ :class="cn('tw:flex tw:items-center tw:gap-2 tw:group tw:data-[disabled]:pointer-events-none', props.class)"
20
+ >
21
+ <slot v-bind="slotProps" />
22
+ </StepperItem>
23
+ </template>
@@ -0,0 +1,27 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperSeparatorProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperSeparator, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperSeparatorProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperSeparator
17
+ v-bind="forwarded"
18
+ :class="cn(
19
+ 'tw:bg-muted',
20
+ // Disabled
21
+ 'tw:group-data-[disabled]:bg-muted tw:group-data-[disabled]:opacity-50',
22
+ // Completed
23
+ 'tw:group-data-[state=completed]:bg-accent',
24
+ props.class,
25
+ )"
26
+ />
27
+ </template>
@@ -0,0 +1,19 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperTitleProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperTitle, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperTitleProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperTitle v-bind="forwarded" :class="cn('tw:text-md tw:font-semibold tw:whitespace-nowrap', props.class)">
17
+ <slot />
18
+ </StepperTitle>
19
+ </template>
@@ -0,0 +1,22 @@
1
+ <script lang="ts" setup>
2
+ import type { StepperTriggerProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import { reactiveOmit } from "@vueuse/core"
5
+ import { StepperTrigger, useForwardProps } from "reka-ui"
6
+ import { cn } from "@/lib/utils"
7
+
8
+ const props = defineProps<StepperTriggerProps & { class?: HTMLAttributes["class"] }>()
9
+
10
+ const delegatedProps = reactiveOmit(props, "class")
11
+
12
+ const forwarded = useForwardProps(delegatedProps)
13
+ </script>
14
+
15
+ <template>
16
+ <StepperTrigger
17
+ v-bind="forwarded"
18
+ :class="cn('tw:p-1 tw:flex tw:flex-col tw:items-center tw:text-center tw:gap-1 tw:rounded-md', props.class)"
19
+ >
20
+ <slot />
21
+ </StepperTrigger>
22
+ </template>
@@ -24,13 +24,13 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
24
24
  data-slot="switch"
25
25
  v-bind="forwarded"
26
26
  :class="cn(
27
- 'peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50',
27
+ 'tw:peer tw:data-[state=checked]:bg-primary tw:data-[state=unchecked]:bg-input tw:focus-visible:border-ring tw:focus-visible:ring-ring/50 tw:dark:data-[state=unchecked]:bg-input/80 tw:inline-flex tw:h-[1.15rem] tw:w-8 tw:shrink-0 tw:items-center tw:rounded-full tw:border tw:border-transparent tw:shadow-xs tw:transition-all tw:outline-none tw:focus-visible:ring-[3px] tw:disabled:cursor-not-allowed tw:disabled:opacity-50',
28
28
  props.class,
29
29
  )"
30
30
  >
31
31
  <SwitchThumb
32
32
  data-slot="switch-thumb"
33
- :class="cn('bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0')"
33
+ :class="cn('tw:bg-background tw:dark:data-[state=unchecked]:bg-foreground tw:dark:data-[state=checked]:bg-primary-foreground tw:pointer-events-none tw:block tw:size-4 tw:rounded-full tw:ring-0 tw:transition-transform tw:data-[state=checked]:translate-x-[calc(100%-2px)] tw:data-[state=unchecked]:translate-x-0')"
34
34
  >
35
35
  <slot name="thumb" v-bind="slotProps" />
36
36
  </SwitchThumb>
@@ -1,15 +1,21 @@
1
1
  <script setup lang="ts">
2
- import type { HTMLAttributes } from "vue"
3
- import { cn } from "@/lib/utils"
2
+ import type { HTMLAttributes } from "vue";
3
+ import { cn } from "@/lib/utils";
4
4
 
5
5
  const props = defineProps<{
6
- class?: HTMLAttributes["class"]
7
- }>()
6
+ class?: HTMLAttributes["class"];
7
+ }>();
8
8
  </script>
9
9
 
10
10
  <template>
11
- <div data-slot="table-container" class="relative w-full overflow-auto">
12
- <table data-slot="table" :class="cn('w-full caption-bottom text-sm', props.class)">
11
+ <div
12
+ data-slot="table-container"
13
+ class="tw:relative tw:w-full tw:overflow-auto"
14
+ >
15
+ <table
16
+ data-slot="table"
17
+ :class="cn('tw:w-full tw:caption-bottom tw:text-sm', props.class)"
18
+ >
13
19
  <slot />
14
20
  </table>
15
21
  </div>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <tbody
12
12
  data-slot="table-body"
13
- :class="cn('[&_tr:last-child]:border-0', props.class)"
13
+ :class="cn('tw:[&_tr:last-child]:border-0', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </tbody>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <caption
12
12
  data-slot="table-caption"
13
- :class="cn('text-muted-foreground mt-4 text-sm', props.class)"
13
+ :class="cn('tw:text-muted-foreground tw:mt-4 tw:text-sm', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </caption>
@@ -12,7 +12,7 @@ const props = defineProps<{
12
12
  data-slot="table-cell"
13
13
  :class="
14
14
  cn(
15
- 'p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',
15
+ 'tw:p-2 tw:align-middle tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pr-0 tw:[&>[role=checkbox]]:translate-y-[2px]',
16
16
  props.class,
17
17
  )
18
18
  "
@@ -1,18 +1,21 @@
1
1
  <script setup lang="ts">
2
- import type { HTMLAttributes } from "vue"
3
- import { reactiveOmit } from "@vueuse/core"
4
- import { cn } from "@/lib/utils"
5
- import TableCell from "./TableCell.vue"
6
- import TableRow from "./TableRow.vue"
2
+ import type { HTMLAttributes } from "vue";
3
+ import { reactiveOmit } from "@vueuse/core";
4
+ import { cn } from "@/lib/utils";
5
+ import TableCell from "./TableCell.vue";
6
+ import TableRow from "./TableRow.vue";
7
7
 
8
- const props = withDefaults(defineProps<{
9
- class?: HTMLAttributes["class"]
10
- colspan?: number
11
- }>(), {
12
- colspan: 1,
13
- })
8
+ const props = withDefaults(
9
+ defineProps<{
10
+ class?: HTMLAttributes["class"];
11
+ colspan?: number;
12
+ }>(),
13
+ {
14
+ colspan: 1,
15
+ },
16
+ );
14
17
 
15
- const delegatedProps = reactiveOmit(props, "class")
18
+ const delegatedProps = reactiveOmit(props, "class");
16
19
  </script>
17
20
 
18
21
  <template>
@@ -20,13 +23,13 @@ const delegatedProps = reactiveOmit(props, "class")
20
23
  <TableCell
21
24
  :class="
22
25
  cn(
23
- 'p-4 whitespace-nowrap align-middle text-sm text-foreground',
26
+ 'tw:p-4 tw:whitespace-nowrap tw:align-middle tw:text-sm tw:text-foreground',
24
27
  props.class,
25
28
  )
26
29
  "
27
30
  v-bind="delegatedProps"
28
31
  >
29
- <div class="flex items-center justify-center py-10">
32
+ <div class="tw:flex tw:items-center tw:justify-center tw:py-10">
30
33
  <slot />
31
34
  </div>
32
35
  </TableCell>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <tfoot
12
12
  data-slot="table-footer"
13
- :class="cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', props.class)"
13
+ :class="cn('tw:bg-muted/50 tw:border-t tw:font-medium tw:[&>tr]:last:border-b-0', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </tfoot>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <th
12
12
  data-slot="table-head"
13
- :class="cn('text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)"
13
+ :class="cn('tw:text-foreground tw:h-10 tw:px-2 tw:text-left tw:align-middle tw:font-medium tw:whitespace-nowrap tw:[&:has([role=checkbox])]:pr-0 tw:[&>[role=checkbox]]:translate-y-[2px]', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </th>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <thead
12
12
  data-slot="table-header"
13
- :class="cn('[&_tr]:border-b', props.class)"
13
+ :class="cn('tw:[&_tr]:border-b', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </thead>
@@ -10,7 +10,7 @@ const props = defineProps<{
10
10
  <template>
11
11
  <tr
12
12
  data-slot="table-row"
13
- :class="cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors', props.class)"
13
+ :class="cn('tw:hover:bg-muted/50 tw:data-[state=selected]:bg-muted tw:border-b tw:transition-colors', props.class)"
14
14
  >
15
15
  <slot />
16
16
  </tr>