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