@geniusdynamics/ns8-ui-lib 1.0.4 → 1.0.6

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 (523) hide show
  1. package/dist/ns8-ui-lib.css +3 -1
  2. package/dist/ns8-ui-lib.es.js +36815 -19727
  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/package.json +25 -19
  7. package/src/App.vue +7 -3
  8. package/src/components/HelloWorld.vue +2 -2
  9. package/src/components/NS/CompleteDemo.vue +49 -49
  10. package/src/components/NS/Demo.vue +20 -20
  11. package/src/components/NS/cards/NSBackupCard.vue +59 -41
  12. package/src/components/NS/cards/NSSystemInfoCard.vue +164 -136
  13. package/src/components/NS/cards/NSSystemdServiceCard.vue +27 -27
  14. package/src/components/NS/checkbox/NSCheckbox.vue +6 -8
  15. package/src/components/NS/data-table/NSDataTable.vue +34 -40
  16. package/src/components/NS/empty-state/NSEmptyState.vue +3 -3
  17. package/src/components/NS/inline-notification/NSInlineNotification.vue +9 -9
  18. package/src/components/NS/lottie-animation/NSLottieAnimation.vue +140 -116
  19. package/src/components/NS/modal/NSModal.vue +12 -14
  20. package/src/components/NS/modal/NSModalTrigger.vue +1 -1
  21. package/src/components/NS/pagination/NSPagination.vue +10 -10
  22. package/src/components/NS/progress/NSProgress.vue +3 -3
  23. package/src/components/NS/progress/NSProgressBar.vue +4 -4
  24. package/src/components/NS/slider/NSByteSlider.vue +3 -3
  25. package/src/components/NS/slider/NSSlider.vue +2 -2
  26. package/src/components/NS/tag/NSTag.vue +6 -7
  27. package/src/components/NS/text-input/NSTextInput.vue +9 -13
  28. package/src/components/NS/toast-notification/NSToastNotification.vue +9 -11
  29. package/src/components/NS/toggle/NSToggle.vue +5 -8
  30. package/src/components/NS/wizard/NSWizard.vue +21 -21
  31. package/src/components/ui/accordion/Accordion.vue +18 -0
  32. package/src/components/ui/accordion/AccordionContent.vue +23 -0
  33. package/src/components/ui/accordion/AccordionItem.vue +24 -0
  34. package/src/components/ui/accordion/AccordionTrigger.vue +37 -0
  35. package/src/components/ui/alert/Alert.vue +21 -0
  36. package/src/components/ui/alert/AlertDescription.vue +17 -0
  37. package/src/components/ui/alert/AlertTitle.vue +17 -0
  38. package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
  39. package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
  40. package/src/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
  41. package/src/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
  42. package/src/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
  43. package/src/components/ui/alert-dialog/AlertDialogFooter.vue +22 -0
  44. package/src/components/ui/alert-dialog/AlertDialogHeader.vue +17 -0
  45. package/src/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
  46. package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
  47. package/src/components/ui/aspect-ratio/AspectRatio.vue +16 -0
  48. package/src/components/ui/avatar/Avatar.vue +18 -0
  49. package/src/components/ui/avatar/AvatarFallback.vue +21 -0
  50. package/src/components/ui/avatar/AvatarImage.vue +16 -0
  51. package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
  52. package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
  53. package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
  54. package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
  55. package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
  56. package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
  57. package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +22 -0
  58. package/src/components/ui/button/Button.vue +2 -0
  59. package/src/components/ui/button-group/ButtonGroup.vue +22 -0
  60. package/src/components/ui/button-group/ButtonGroupSeparator.vue +24 -0
  61. package/src/components/ui/button-group/ButtonGroupText.vue +29 -0
  62. package/src/components/ui/calendar/Calendar.vue +160 -0
  63. package/src/components/ui/calendar/CalendarCell.vue +23 -0
  64. package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
  65. package/src/components/ui/calendar/CalendarGrid.vue +23 -0
  66. package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
  67. package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
  68. package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
  69. package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
  70. package/src/components/ui/calendar/CalendarHeader.vue +23 -0
  71. package/src/components/ui/calendar/CalendarHeading.vue +30 -0
  72. package/src/components/ui/calendar/CalendarNextButton.vue +31 -0
  73. package/src/components/ui/calendar/CalendarPrevButton.vue +31 -0
  74. package/src/components/ui/card/Card.vue +1 -1
  75. package/src/components/ui/card/CardAction.vue +1 -1
  76. package/src/components/ui/card/CardContent.vue +1 -1
  77. package/src/components/ui/card/CardDescription.vue +1 -1
  78. package/src/components/ui/card/CardFooter.vue +1 -1
  79. package/src/components/ui/card/CardHeader.vue +1 -1
  80. package/src/components/ui/card/CardTitle.vue +1 -1
  81. package/src/components/ui/carousel/Carousel.vue +53 -0
  82. package/src/components/ui/carousel/CarouselContent.vue +33 -0
  83. package/src/components/ui/carousel/CarouselItem.vue +24 -0
  84. package/src/components/ui/carousel/CarouselNext.vue +41 -0
  85. package/src/components/ui/carousel/CarouselPrevious.vue +41 -0
  86. package/src/components/ui/checkbox/Checkbox.vue +35 -0
  87. package/src/components/ui/collapsible/Collapsible.vue +19 -0
  88. package/src/components/ui/collapsible/CollapsibleContent.vue +15 -0
  89. package/src/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
  90. package/src/components/ui/combobox/Combobox.vue +19 -0
  91. package/src/components/ui/combobox/ComboboxAnchor.vue +23 -0
  92. package/src/components/ui/combobox/ComboboxEmpty.vue +21 -0
  93. package/src/components/ui/combobox/ComboboxGroup.vue +27 -0
  94. package/src/components/ui/combobox/ComboboxInput.vue +42 -0
  95. package/src/components/ui/combobox/ComboboxItem.vue +24 -0
  96. package/src/components/ui/combobox/ComboboxItemIndicator.vue +23 -0
  97. package/src/components/ui/combobox/ComboboxList.vue +33 -0
  98. package/src/components/ui/combobox/ComboboxSeparator.vue +21 -0
  99. package/src/components/ui/combobox/ComboboxTrigger.vue +24 -0
  100. package/src/components/ui/combobox/ComboboxViewport.vue +23 -0
  101. package/src/components/ui/command/Command.vue +87 -0
  102. package/src/components/ui/command/CommandDialog.vue +31 -0
  103. package/src/components/ui/command/CommandEmpty.vue +27 -0
  104. package/src/components/ui/command/CommandGroup.vue +45 -0
  105. package/src/components/ui/command/CommandInput.vue +39 -0
  106. package/src/components/ui/command/CommandItem.vue +76 -0
  107. package/src/components/ui/command/CommandList.vue +25 -0
  108. package/src/components/ui/command/CommandSeparator.vue +21 -0
  109. package/src/components/ui/command/CommandShortcut.vue +17 -0
  110. package/src/components/ui/context-menu/ContextMenu.vue +18 -0
  111. package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +39 -0
  112. package/src/components/ui/context-menu/ContextMenuContent.vue +37 -0
  113. package/src/components/ui/context-menu/ContextMenuGroup.vue +15 -0
  114. package/src/components/ui/context-menu/ContextMenuItem.vue +38 -0
  115. package/src/components/ui/context-menu/ContextMenuLabel.vue +22 -0
  116. package/src/components/ui/context-menu/ContextMenuPortal.vue +15 -0
  117. package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +21 -0
  118. package/src/components/ui/context-menu/ContextMenuRadioItem.vue +39 -0
  119. package/src/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
  120. package/src/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
  121. package/src/components/ui/context-menu/ContextMenuSub.vue +21 -0
  122. package/src/components/ui/context-menu/ContextMenuSubContent.vue +32 -0
  123. package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +32 -0
  124. package/src/components/ui/context-menu/ContextMenuTrigger.vue +17 -0
  125. package/src/components/ui/dialog/Dialog.vue +15 -64
  126. package/src/components/ui/dialog/DialogClose.vue +15 -0
  127. package/src/components/ui/dialog/DialogContent.vue +62 -0
  128. package/src/components/ui/dialog/DialogDescription.vue +23 -0
  129. package/src/components/ui/dialog/DialogFooter.vue +27 -0
  130. package/src/components/ui/dialog/DialogHeader.vue +17 -0
  131. package/src/components/ui/dialog/DialogOverlay.vue +21 -0
  132. package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
  133. package/src/components/ui/dialog/DialogTitle.vue +23 -0
  134. package/src/components/ui/dialog/DialogTrigger.vue +15 -0
  135. package/src/components/ui/drawer/Drawer.vue +23 -0
  136. package/src/components/ui/drawer/DrawerClose.vue +15 -0
  137. package/src/components/ui/drawer/DrawerContent.vue +38 -0
  138. package/src/components/ui/drawer/DrawerDescription.vue +21 -0
  139. package/src/components/ui/drawer/DrawerFooter.vue +17 -0
  140. package/src/components/ui/drawer/DrawerHeader.vue +17 -0
  141. package/src/components/ui/drawer/DrawerOverlay.vue +19 -0
  142. package/src/components/ui/drawer/DrawerTitle.vue +21 -0
  143. package/src/components/ui/drawer/DrawerTrigger.vue +15 -0
  144. package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
  145. package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
  146. package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
  147. package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
  148. package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
  149. package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
  150. package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
  151. package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
  152. package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
  153. package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
  154. package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
  155. package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
  156. package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
  157. package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
  158. package/src/components/ui/empty/Empty.vue +20 -0
  159. package/src/components/ui/empty/EmptyContent.vue +20 -0
  160. package/src/components/ui/empty/EmptyDescription.vue +20 -0
  161. package/src/components/ui/empty/EmptyHeader.vue +20 -0
  162. package/src/components/ui/empty/EmptyMedia.vue +21 -0
  163. package/src/components/ui/empty/EmptyTitle.vue +17 -0
  164. package/src/components/ui/field/Field.vue +25 -0
  165. package/src/components/ui/field/FieldContent.vue +20 -0
  166. package/src/components/ui/field/FieldDescription.vue +22 -0
  167. package/src/components/ui/field/FieldError.vue +53 -0
  168. package/src/components/ui/field/FieldGroup.vue +20 -0
  169. package/src/components/ui/field/FieldLabel.vue +23 -0
  170. package/src/components/ui/field/FieldLegend.vue +24 -0
  171. package/src/components/ui/field/FieldSeparator.vue +29 -0
  172. package/src/components/ui/field/FieldSet.vue +21 -0
  173. package/src/components/ui/field/FieldTitle.vue +20 -0
  174. package/src/components/ui/form/FormControl.vue +17 -0
  175. package/src/components/ui/form/FormDescription.vue +21 -0
  176. package/src/components/ui/form/FormItem.vue +23 -0
  177. package/src/components/ui/form/FormLabel.vue +25 -0
  178. package/src/components/ui/form/FormMessage.vue +23 -0
  179. package/src/components/ui/hover-card/HoverCard.vue +19 -0
  180. package/src/components/ui/hover-card/HoverCardContent.vue +43 -0
  181. package/src/components/ui/hover-card/HoverCardTrigger.vue +15 -0
  182. package/src/components/ui/input/Input.vue +3 -3
  183. package/src/components/ui/input-group/InputGroup.vue +8 -8
  184. package/src/components/ui/input-group/InputGroupButton.vue +9 -1
  185. package/src/components/ui/input-group/InputGroupInput.vue +1 -1
  186. package/src/components/ui/input-group/InputGroupText.vue +1 -1
  187. package/src/components/ui/input-group/InputGroupTextarea.vue +1 -1
  188. package/src/components/ui/input-otp/InputOTP.vue +28 -0
  189. package/src/components/ui/input-otp/InputOTPGroup.vue +22 -0
  190. package/src/components/ui/input-otp/InputOTPSeparator.vue +21 -0
  191. package/src/components/ui/input-otp/InputOTPSlot.vue +32 -0
  192. package/src/components/ui/item/Item.vue +2 -0
  193. package/src/components/ui/item/ItemActions.vue +1 -1
  194. package/src/components/ui/item/ItemContent.vue +1 -1
  195. package/src/components/ui/item/ItemDescription.vue +2 -2
  196. package/src/components/ui/item/ItemFooter.vue +1 -1
  197. package/src/components/ui/item/ItemGroup.vue +1 -1
  198. package/src/components/ui/item/ItemHeader.vue +1 -1
  199. package/src/components/ui/item/ItemSeparator.vue +1 -1
  200. package/src/components/ui/item/ItemTitle.vue +1 -1
  201. package/src/components/ui/kbd/Kbd.vue +21 -0
  202. package/src/components/ui/kbd/KbdGroup.vue +17 -0
  203. package/src/components/ui/label/Label.vue +1 -1
  204. package/src/components/ui/menubar/Menubar.vue +33 -0
  205. package/src/components/ui/menubar/MenubarCheckboxItem.vue +39 -0
  206. package/src/components/ui/menubar/MenubarContent.vue +45 -0
  207. package/src/components/ui/menubar/MenubarGroup.vue +15 -0
  208. package/src/components/ui/menubar/MenubarItem.vue +36 -0
  209. package/src/components/ui/menubar/MenubarLabel.vue +20 -0
  210. package/src/components/ui/menubar/MenubarMenu.vue +15 -0
  211. package/src/components/ui/menubar/MenubarRadioGroup.vue +21 -0
  212. package/src/components/ui/menubar/MenubarRadioItem.vue +39 -0
  213. package/src/components/ui/menubar/MenubarSeparator.vue +21 -0
  214. package/src/components/ui/menubar/MenubarShortcut.vue +17 -0
  215. package/src/components/ui/menubar/MenubarSub.vue +24 -0
  216. package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
  217. package/src/components/ui/menubar/MenubarSubTrigger.vue +28 -0
  218. package/src/components/ui/menubar/MenubarTrigger.vue +28 -0
  219. package/src/components/ui/native-select/NativeSelect.vue +50 -0
  220. package/src/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
  221. package/src/components/ui/native-select/NativeSelectOption.vue +15 -0
  222. package/src/components/ui/navigation-menu/NavigationMenu.vue +35 -0
  223. package/src/components/ui/navigation-menu/NavigationMenuContent.vue +31 -0
  224. package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
  225. package/src/components/ui/navigation-menu/NavigationMenuItem.vue +21 -0
  226. package/src/components/ui/navigation-menu/NavigationMenuLink.vue +26 -0
  227. package/src/components/ui/navigation-menu/NavigationMenuList.vue +28 -0
  228. package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
  229. package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +31 -0
  230. package/src/components/ui/number-field/NumberField.vue +20 -0
  231. package/src/components/ui/number-field/NumberFieldContent.vue +14 -0
  232. package/src/components/ui/number-field/NumberFieldDecrement.vue +22 -0
  233. package/src/components/ui/number-field/NumberFieldIncrement.vue +22 -0
  234. package/src/components/ui/number-field/NumberFieldInput.vue +16 -0
  235. package/src/components/ui/pagination/Pagination.vue +26 -0
  236. package/src/components/ui/pagination/PaginationContent.vue +22 -0
  237. package/src/components/ui/pagination/PaginationEllipsis.vue +25 -0
  238. package/src/components/ui/pagination/PaginationFirst.vue +33 -0
  239. package/src/components/ui/pagination/PaginationItem.vue +34 -0
  240. package/src/components/ui/pagination/PaginationLast.vue +33 -0
  241. package/src/components/ui/pagination/PaginationNext.vue +33 -0
  242. package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
  243. package/src/components/ui/pin-input/PinInput.vue +26 -0
  244. package/src/components/ui/pin-input/PinInputGroup.vue +21 -0
  245. package/src/components/ui/pin-input/PinInputSeparator.vue +19 -0
  246. package/src/components/ui/pin-input/PinInputSlot.vue +21 -0
  247. package/src/components/ui/popover/Popover.vue +19 -0
  248. package/src/components/ui/popover/PopoverAnchor.vue +15 -0
  249. package/src/components/ui/popover/PopoverContent.vue +45 -0
  250. package/src/components/ui/popover/PopoverTrigger.vue +15 -0
  251. package/src/components/ui/progress/Progress.vue +9 -12
  252. package/src/components/ui/radio-group/RadioGroup.vue +25 -0
  253. package/src/components/ui/radio-group/RadioGroupItem.vue +40 -0
  254. package/src/components/ui/range-calendar/RangeCalendar.vue +62 -0
  255. package/src/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
  256. package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +41 -0
  257. package/src/components/ui/range-calendar/RangeCalendarGrid.vue +23 -0
  258. package/src/components/ui/range-calendar/RangeCalendarGridBody.vue +15 -0
  259. package/src/components/ui/range-calendar/RangeCalendarGridHead.vue +15 -0
  260. package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
  261. package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +23 -0
  262. package/src/components/ui/range-calendar/RangeCalendarHeader.vue +23 -0
  263. package/src/components/ui/range-calendar/RangeCalendarHeading.vue +30 -0
  264. package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
  265. package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
  266. package/src/components/ui/resizable/ResizableHandle.vue +30 -0
  267. package/src/components/ui/resizable/ResizablePanel.vue +21 -0
  268. package/src/components/ui/resizable/ResizablePanelGroup.vue +25 -0
  269. package/src/components/ui/scroll-area/ScrollArea.vue +2 -2
  270. package/src/components/ui/scroll-area/ScrollBar.vue +22 -16
  271. package/src/components/ui/select/SelectContent.vue +27 -18
  272. package/src/components/ui/select/SelectItem.vue +3 -3
  273. package/src/components/ui/select/SelectLabel.vue +1 -1
  274. package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
  275. package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
  276. package/src/components/ui/select/SelectSeparator.vue +1 -1
  277. package/src/components/ui/select/SelectTrigger.vue +2 -2
  278. package/src/components/ui/separator/Separator.vue +1 -1
  279. package/src/components/ui/sheet/SheetContent.vue +31 -28
  280. package/src/components/ui/sheet/SheetDescription.vue +1 -1
  281. package/src/components/ui/sheet/SheetFooter.vue +1 -1
  282. package/src/components/ui/sheet/SheetHeader.vue +1 -1
  283. package/src/components/ui/sheet/SheetOverlay.vue +1 -1
  284. package/src/components/ui/sheet/SheetTitle.vue +1 -1
  285. package/src/components/ui/sidebar/Sidebar.vue +16 -16
  286. package/src/components/ui/sidebar/SidebarContent.vue +1 -1
  287. package/src/components/ui/sidebar/SidebarFooter.vue +1 -1
  288. package/src/components/ui/sidebar/SidebarGroup.vue +1 -1
  289. package/src/components/ui/sidebar/SidebarGroupAction.vue +3 -3
  290. package/src/components/ui/sidebar/SidebarGroupContent.vue +1 -1
  291. package/src/components/ui/sidebar/SidebarGroupLabel.vue +2 -2
  292. package/src/components/ui/sidebar/SidebarHeader.vue +1 -1
  293. package/src/components/ui/sidebar/SidebarInput.vue +1 -1
  294. package/src/components/ui/sidebar/SidebarInset.vue +2 -2
  295. package/src/components/ui/sidebar/SidebarMenu.vue +1 -1
  296. package/src/components/ui/sidebar/SidebarMenuAction.vue +7 -7
  297. package/src/components/ui/sidebar/SidebarMenuBadge.vue +6 -6
  298. package/src/components/ui/sidebar/SidebarMenuItem.vue +1 -1
  299. package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +3 -3
  300. package/src/components/ui/sidebar/SidebarMenuSub.vue +2 -2
  301. package/src/components/ui/sidebar/SidebarMenuSubButton.vue +5 -5
  302. package/src/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
  303. package/src/components/ui/sidebar/SidebarProvider.vue +1 -1
  304. package/src/components/ui/sidebar/SidebarRail.vue +6 -6
  305. package/src/components/ui/sidebar/SidebarSeparator.vue +1 -1
  306. package/src/components/ui/sidebar/SidebarTrigger.vue +2 -2
  307. package/src/components/ui/skeleton/Skeleton.vue +1 -1
  308. package/src/components/ui/slider/Slider.vue +43 -0
  309. package/src/components/ui/sonner/Sonner.vue +7 -7
  310. package/src/components/ui/spinner/Spinner.vue +17 -0
  311. package/src/components/ui/stepper/Stepper.vue +27 -0
  312. package/src/components/ui/stepper/StepperDescription.vue +19 -0
  313. package/src/components/ui/stepper/StepperIndicator.vue +32 -0
  314. package/src/components/ui/stepper/StepperItem.vue +23 -0
  315. package/src/components/ui/stepper/StepperSeparator.vue +27 -0
  316. package/src/components/ui/stepper/StepperTitle.vue +19 -0
  317. package/src/components/ui/stepper/StepperTrigger.vue +22 -0
  318. package/src/components/ui/switch/Switch.vue +2 -2
  319. package/src/components/ui/table/Table.vue +12 -6
  320. package/src/components/ui/table/TableBody.vue +1 -1
  321. package/src/components/ui/table/TableCaption.vue +1 -1
  322. package/src/components/ui/table/TableCell.vue +1 -1
  323. package/src/components/ui/table/TableEmpty.vue +17 -14
  324. package/src/components/ui/table/TableFooter.vue +1 -1
  325. package/src/components/ui/table/TableHead.vue +1 -1
  326. package/src/components/ui/table/TableHeader.vue +1 -1
  327. package/src/components/ui/table/TableRow.vue +1 -1
  328. package/src/components/ui/tabs/Tabs.vue +1 -1
  329. package/src/components/ui/tabs/TabsContent.vue +1 -1
  330. package/src/components/ui/tabs/TabsList.vue +1 -1
  331. package/src/components/ui/tabs/TabsTrigger.vue +1 -1
  332. package/src/components/ui/tags-input/TagsInput.vue +26 -0
  333. package/src/components/ui/tags-input/TagsInputInput.vue +17 -0
  334. package/src/components/ui/tags-input/TagsInputItem.vue +20 -0
  335. package/src/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
  336. package/src/components/ui/tags-input/TagsInputItemText.vue +19 -0
  337. package/src/components/ui/textarea/Textarea.vue +1 -1
  338. package/src/components/ui/toggle/Toggle.vue +35 -0
  339. package/src/components/ui/toggle-group/ToggleGroup.vue +49 -0
  340. package/src/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
  341. package/src/components/ui/tooltip/TooltipContent.vue +2 -2
  342. package/dist/index.d.ts +0 -23
  343. package/dist/src/App.vue.d.ts +0 -2
  344. package/dist/src/components/HelloWorld.vue.d.ts +0 -5
  345. package/dist/src/components/NS/cards/NSBackupCard.vue.d.ts +0 -51
  346. package/dist/src/components/NS/cards/NSSystemInfoCard.vue.d.ts +0 -58
  347. package/dist/src/components/NS/cards/NSSystemdServiceCard.vue.d.ts +0 -47
  348. package/dist/src/components/NS/cards/index.d.ts +0 -3
  349. package/dist/src/components/NS/checkbox/NSCheckbox.vue.d.ts +0 -37
  350. package/dist/src/components/NS/checkbox/index.d.ts +0 -1
  351. package/dist/src/components/NS/data-table/NSDataTable.vue.d.ts +0 -98
  352. package/dist/src/components/NS/data-table/index.d.ts +0 -1
  353. package/dist/src/components/NS/empty-state/NSEmptyState.vue.d.ts +0 -45
  354. package/dist/src/components/NS/empty-state/index.d.ts +0 -1
  355. package/dist/src/components/NS/index.d.ts +0 -35
  356. package/dist/src/components/NS/inline-notification/NSInlineNotification.vue.d.ts +0 -44
  357. package/dist/src/components/NS/inline-notification/index.d.ts +0 -1
  358. package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +0 -75
  359. package/dist/src/components/NS/lottie-animation/index.d.ts +0 -1
  360. package/dist/src/components/NS/modal/NSModal.vue.d.ts +0 -56
  361. package/dist/src/components/NS/modal/NSModalTrigger.vue.d.ts +0 -64
  362. package/dist/src/components/NS/modal/index.d.ts +0 -2
  363. package/dist/src/components/NS/pagination/NSPagination.vue.d.ts +0 -36
  364. package/dist/src/components/NS/pagination/index.d.ts +0 -1
  365. package/dist/src/components/NS/progress/NSProgress.vue.d.ts +0 -37
  366. package/dist/src/components/NS/progress/NSProgressBar.vue.d.ts +0 -39
  367. package/dist/src/components/NS/progress/index.d.ts +0 -2
  368. package/dist/src/components/NS/slider/NSByteSlider.vue.d.ts +0 -50
  369. package/dist/src/components/NS/slider/NSSlider.vue.d.ts +0 -49
  370. package/dist/src/components/NS/slider/index.d.ts +0 -2
  371. package/dist/src/components/NS/tag/NSTag.vue.d.ts +0 -41
  372. package/dist/src/components/NS/tag/index.d.ts +0 -1
  373. package/dist/src/components/NS/text-input/NSTextInput.vue.d.ts +0 -67
  374. package/dist/src/components/NS/text-input/index.d.ts +0 -1
  375. package/dist/src/components/NS/toast-notification/NSToastNotification.vue.d.ts +0 -44
  376. package/dist/src/components/NS/toast-notification/index.d.ts +0 -1
  377. package/dist/src/components/NS/toggle/NSToggle.vue.d.ts +0 -51
  378. package/dist/src/components/NS/toggle/index.d.ts +0 -1
  379. package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +0 -86
  380. package/dist/src/components/NS/wizard/index.d.ts +0 -1
  381. package/dist/src/components/ui/badge/Badge.vue.d.ts +0 -24
  382. package/dist/src/components/ui/badge/index.d.ts +0 -6
  383. package/dist/src/components/ui/button/Button.vue.d.ts +0 -27
  384. package/dist/src/components/ui/button/index.d.ts +0 -7
  385. package/dist/src/components/ui/card/Card.vue.d.ts +0 -21
  386. package/dist/src/components/ui/card/CardAction.vue.d.ts +0 -21
  387. package/dist/src/components/ui/card/CardContent.vue.d.ts +0 -21
  388. package/dist/src/components/ui/card/CardDescription.vue.d.ts +0 -21
  389. package/dist/src/components/ui/card/CardFooter.vue.d.ts +0 -21
  390. package/dist/src/components/ui/card/CardHeader.vue.d.ts +0 -21
  391. package/dist/src/components/ui/card/CardTitle.vue.d.ts +0 -21
  392. package/dist/src/components/ui/card/index.d.ts +0 -7
  393. package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +0 -49
  394. package/dist/src/components/ui/checkbox/index.d.ts +0 -11
  395. package/dist/src/components/ui/dialog/Dialog.vue.d.ts +0 -28
  396. package/dist/src/components/ui/dialog/index.d.ts +0 -1
  397. package/dist/src/components/ui/empty-state/NsEmptyState.vue.d.ts +0 -45
  398. package/dist/src/components/ui/empty-state/index.d.ts +0 -11
  399. package/dist/src/components/ui/inline-notification/NsInlineNotification.vue.d.ts +0 -45
  400. package/dist/src/components/ui/inline-notification/index.d.ts +0 -6
  401. package/dist/src/components/ui/input/Input.vue.d.ts +0 -12
  402. package/dist/src/components/ui/input/index.d.ts +0 -1
  403. package/dist/src/components/ui/input-group/InputGroup.vue.d.ts +0 -21
  404. package/dist/src/components/ui/input-group/InputGroupAddon.vue.d.ts +0 -25
  405. package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +0 -22
  406. package/dist/src/components/ui/input-group/InputGroupInput.vue.d.ts +0 -6
  407. package/dist/src/components/ui/input-group/InputGroupText.vue.d.ts +0 -21
  408. package/dist/src/components/ui/input-group/InputGroupTextarea.vue.d.ts +0 -6
  409. package/dist/src/components/ui/input-group/index.d.ts +0 -22
  410. package/dist/src/components/ui/item/Item.vue.d.ts +0 -27
  411. package/dist/src/components/ui/item/ItemActions.vue.d.ts +0 -21
  412. package/dist/src/components/ui/item/ItemContent.vue.d.ts +0 -21
  413. package/dist/src/components/ui/item/ItemDescription.vue.d.ts +0 -21
  414. package/dist/src/components/ui/item/ItemFooter.vue.d.ts +0 -21
  415. package/dist/src/components/ui/item/ItemGroup.vue.d.ts +0 -21
  416. package/dist/src/components/ui/item/ItemHeader.vue.d.ts +0 -21
  417. package/dist/src/components/ui/item/ItemMedia.vue.d.ts +0 -23
  418. package/dist/src/components/ui/item/ItemSeparator.vue.d.ts +0 -7
  419. package/dist/src/components/ui/item/ItemTitle.vue.d.ts +0 -21
  420. package/dist/src/components/ui/item/index.d.ts +0 -20
  421. package/dist/src/components/ui/label/Label.vue.d.ts +0 -22
  422. package/dist/src/components/ui/label/index.d.ts +0 -1
  423. package/dist/src/components/ui/progress/Progress.vue.d.ts +0 -9
  424. package/dist/src/components/ui/progress/index.d.ts +0 -1
  425. package/dist/src/components/ui/scroll-area/ScrollArea.vue.d.ts +0 -22
  426. package/dist/src/components/ui/scroll-area/ScrollBar.vue.d.ts +0 -9
  427. package/dist/src/components/ui/scroll-area/index.d.ts +0 -2
  428. package/dist/src/components/ui/select/Select.vue.d.ts +0 -28
  429. package/dist/src/components/ui/select/SelectContent.vue.d.ts +0 -32
  430. package/dist/src/components/ui/select/SelectGroup.vue.d.ts +0 -18
  431. package/dist/src/components/ui/select/SelectItem.vue.d.ts +0 -23
  432. package/dist/src/components/ui/select/SelectItemText.vue.d.ts +0 -18
  433. package/dist/src/components/ui/select/SelectLabel.vue.d.ts +0 -22
  434. package/dist/src/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -22
  435. package/dist/src/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -22
  436. package/dist/src/components/ui/select/SelectSeparator.vue.d.ts +0 -7
  437. package/dist/src/components/ui/select/SelectTrigger.vue.d.ts +0 -25
  438. package/dist/src/components/ui/select/SelectValue.vue.d.ts +0 -18
  439. package/dist/src/components/ui/select/index.d.ts +0 -11
  440. package/dist/src/components/ui/separator/Separator.vue.d.ts +0 -10
  441. package/dist/src/components/ui/separator/index.d.ts +0 -1
  442. package/dist/src/components/ui/sheet/Sheet.vue.d.ts +0 -25
  443. package/dist/src/components/ui/sheet/SheetClose.vue.d.ts +0 -18
  444. package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +0 -39
  445. package/dist/src/components/ui/sheet/SheetDescription.vue.d.ts +0 -22
  446. package/dist/src/components/ui/sheet/SheetFooter.vue.d.ts +0 -21
  447. package/dist/src/components/ui/sheet/SheetHeader.vue.d.ts +0 -21
  448. package/dist/src/components/ui/sheet/SheetOverlay.vue.d.ts +0 -22
  449. package/dist/src/components/ui/sheet/SheetTitle.vue.d.ts +0 -22
  450. package/dist/src/components/ui/sheet/SheetTrigger.vue.d.ts +0 -18
  451. package/dist/src/components/ui/sheet/index.d.ts +0 -8
  452. package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +0 -24
  453. package/dist/src/components/ui/sidebar/SidebarContent.vue.d.ts +0 -21
  454. package/dist/src/components/ui/sidebar/SidebarFooter.vue.d.ts +0 -21
  455. package/dist/src/components/ui/sidebar/SidebarGroup.vue.d.ts +0 -21
  456. package/dist/src/components/ui/sidebar/SidebarGroupAction.vue.d.ts +0 -22
  457. package/dist/src/components/ui/sidebar/SidebarGroupContent.vue.d.ts +0 -21
  458. package/dist/src/components/ui/sidebar/SidebarGroupLabel.vue.d.ts +0 -22
  459. package/dist/src/components/ui/sidebar/SidebarHeader.vue.d.ts +0 -21
  460. package/dist/src/components/ui/sidebar/SidebarInput.vue.d.ts +0 -21
  461. package/dist/src/components/ui/sidebar/SidebarInset.vue.d.ts +0 -21
  462. package/dist/src/components/ui/sidebar/SidebarMenu.vue.d.ts +0 -21
  463. package/dist/src/components/ui/sidebar/SidebarMenuAction.vue.d.ts +0 -25
  464. package/dist/src/components/ui/sidebar/SidebarMenuBadge.vue.d.ts +0 -21
  465. package/dist/src/components/ui/sidebar/SidebarMenuButton.vue.d.ts +0 -27
  466. package/dist/src/components/ui/sidebar/SidebarMenuButtonChild.vue.d.ts +0 -30
  467. package/dist/src/components/ui/sidebar/SidebarMenuItem.vue.d.ts +0 -21
  468. package/dist/src/components/ui/sidebar/SidebarMenuSkeleton.vue.d.ts +0 -7
  469. package/dist/src/components/ui/sidebar/SidebarMenuSub.vue.d.ts +0 -21
  470. package/dist/src/components/ui/sidebar/SidebarMenuSubButton.vue.d.ts +0 -27
  471. package/dist/src/components/ui/sidebar/SidebarMenuSubItem.vue.d.ts +0 -21
  472. package/dist/src/components/ui/sidebar/SidebarProvider.vue.d.ts +0 -30
  473. package/dist/src/components/ui/sidebar/SidebarRail.vue.d.ts +0 -21
  474. package/dist/src/components/ui/sidebar/SidebarSeparator.vue.d.ts +0 -21
  475. package/dist/src/components/ui/sidebar/SidebarTrigger.vue.d.ts +0 -6
  476. package/dist/src/components/ui/sidebar/index.d.ts +0 -37
  477. package/dist/src/components/ui/sidebar/utils.d.ts +0 -56
  478. package/dist/src/components/ui/skeleton/Skeleton.vue.d.ts +0 -6
  479. package/dist/src/components/ui/skeleton/index.d.ts +0 -1
  480. package/dist/src/components/ui/sonner/Sonner.vue.d.ts +0 -3
  481. package/dist/src/components/ui/sonner/index.d.ts +0 -1
  482. package/dist/src/components/ui/switch/Switch.vue.d.ts +0 -28
  483. package/dist/src/components/ui/switch/index.d.ts +0 -1
  484. package/dist/src/components/ui/table/Table.vue.d.ts +0 -21
  485. package/dist/src/components/ui/table/TableBody.vue.d.ts +0 -21
  486. package/dist/src/components/ui/table/TableCaption.vue.d.ts +0 -21
  487. package/dist/src/components/ui/table/TableCell.vue.d.ts +0 -21
  488. package/dist/src/components/ui/table/TableEmpty.vue.d.ts +0 -24
  489. package/dist/src/components/ui/table/TableFooter.vue.d.ts +0 -21
  490. package/dist/src/components/ui/table/TableHead.vue.d.ts +0 -21
  491. package/dist/src/components/ui/table/TableHeader.vue.d.ts +0 -21
  492. package/dist/src/components/ui/table/TableRow.vue.d.ts +0 -21
  493. package/dist/src/components/ui/table/index.d.ts +0 -9
  494. package/dist/src/components/ui/table/utils.d.ts +0 -3
  495. package/dist/src/components/ui/tabs/Tabs.vue.d.ts +0 -28
  496. package/dist/src/components/ui/tabs/TabsContent.vue.d.ts +0 -22
  497. package/dist/src/components/ui/tabs/TabsList.vue.d.ts +0 -22
  498. package/dist/src/components/ui/tabs/TabsTrigger.vue.d.ts +0 -22
  499. package/dist/src/components/ui/tabs/index.d.ts +0 -4
  500. package/dist/src/components/ui/tag/NsTag.vue.d.ts +0 -42
  501. package/dist/src/components/ui/tag/index.d.ts +0 -8
  502. package/dist/src/components/ui/text-input/NsTextInput.vue.d.ts +0 -79
  503. package/dist/src/components/ui/text-input/index.d.ts +0 -15
  504. package/dist/src/components/ui/textarea/Textarea.vue.d.ts +0 -12
  505. package/dist/src/components/ui/textarea/index.d.ts +0 -1
  506. package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +0 -54
  507. package/dist/src/components/ui/toggle/index.d.ts +0 -15
  508. package/dist/src/components/ui/tooltip/Tooltip.vue.d.ts +0 -24
  509. package/dist/src/components/ui/tooltip/TooltipContent.vue.d.ts +0 -30
  510. package/dist/src/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -20
  511. package/dist/src/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -18
  512. package/dist/src/components/ui/tooltip/index.d.ts +0 -4
  513. package/dist/src/composables/index.d.ts +0 -8
  514. package/dist/src/composables/useDateTimeService.d.ts +0 -10
  515. package/dist/src/composables/useFilterService.d.ts +0 -8
  516. package/dist/src/composables/useIconService.d.ts +0 -153
  517. package/dist/src/composables/usePageTitleService.d.ts +0 -3
  518. package/dist/src/composables/useQueryParamService.d.ts +0 -13
  519. package/dist/src/composables/useStorageService.d.ts +0 -5
  520. package/dist/src/composables/useTaskService.d.ts +0 -18
  521. package/dist/src/composables/useUtilService.d.ts +0 -27
  522. package/dist/src/lib/utils.d.ts +0 -2
  523. package/dist/src/main.d.ts +0 -0
@@ -0,0 +1,35 @@
1
+ <script setup lang="ts">
2
+ import type { ToggleEmits, ToggleProps } from "reka-ui"
3
+ import type { HTMLAttributes } from "vue"
4
+ import type { ToggleVariants } from "."
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import { Toggle, useForwardPropsEmits } from "reka-ui"
7
+ import { cn } from "@/lib/utils"
8
+ import { toggleVariants } from "."
9
+
10
+ const props = withDefaults(defineProps<ToggleProps & {
11
+ class?: HTMLAttributes["class"]
12
+ variant?: ToggleVariants["variant"]
13
+ size?: ToggleVariants["size"]
14
+ }>(), {
15
+ variant: "default",
16
+ size: "default",
17
+ disabled: false,
18
+ })
19
+
20
+ const emits = defineEmits<ToggleEmits>()
21
+
22
+ const delegatedProps = reactiveOmit(props, "class", "size", "variant")
23
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
24
+ </script>
25
+
26
+ <template>
27
+ <Toggle
28
+ v-slot="slotProps"
29
+ data-slot="toggle"
30
+ v-bind="forwarded"
31
+ :class="cn(toggleVariants({ variant, size }), props.class)"
32
+ >
33
+ <slot v-bind="slotProps" />
34
+ </Toggle>
35
+ </template>
@@ -0,0 +1,49 @@
1
+ <script setup lang="ts">
2
+ import type { VariantProps } from "class-variance-authority"
3
+ import type { ToggleGroupRootEmits, ToggleGroupRootProps } from "reka-ui"
4
+ import type { HTMLAttributes } from "vue"
5
+ import type { toggleVariants } from '@/components/ui/toggle'
6
+ import { reactiveOmit } from "@vueuse/core"
7
+ import { ToggleGroupRoot, useForwardPropsEmits } from "reka-ui"
8
+ import { provide } from "vue"
9
+ import { cn } from "@/lib/utils"
10
+
11
+ type ToggleGroupVariants = VariantProps<typeof toggleVariants>
12
+
13
+ const props = withDefaults(defineProps<ToggleGroupRootProps & {
14
+ class?: HTMLAttributes["class"]
15
+ variant?: ToggleGroupVariants["variant"]
16
+ size?: ToggleGroupVariants["size"]
17
+ spacing?: number
18
+ }>(), {
19
+ spacing: 0,
20
+ })
21
+
22
+ const emits = defineEmits<ToggleGroupRootEmits>()
23
+
24
+ provide("toggleGroup", {
25
+ variant: props.variant,
26
+ size: props.size,
27
+ spacing: props.spacing,
28
+ })
29
+
30
+ const delegatedProps = reactiveOmit(props, "class", "size", "variant")
31
+ const forwarded = useForwardPropsEmits(delegatedProps, emits)
32
+ </script>
33
+
34
+ <template>
35
+ <ToggleGroupRoot
36
+ v-slot="slotProps"
37
+ data-slot="toggle-group"
38
+ :data-size="size"
39
+ :data-variant="variant"
40
+ :data-spacing="spacing"
41
+ :style="{
42
+ '--gap': spacing,
43
+ }"
44
+ v-bind="forwarded"
45
+ :class="cn('tw:group/toggle-group tw:flex tw:w-fit tw:items-center tw:gap-[--spacing(var(--gap))] tw:rounded-md tw:data-[spacing=default]:data-[variant=outline]:shadow-xs', props.class)"
46
+ >
47
+ <slot v-bind="slotProps" />
48
+ </ToggleGroupRoot>
49
+ </template>
@@ -0,0 +1,46 @@
1
+ <script setup lang="ts">
2
+ import type { VariantProps } from "class-variance-authority"
3
+ import type { ToggleGroupItemProps } from "reka-ui"
4
+ import type { HTMLAttributes } from "vue"
5
+ import { reactiveOmit } from "@vueuse/core"
6
+ import { ToggleGroupItem, useForwardProps } from "reka-ui"
7
+ import { inject } from "vue"
8
+ import { cn } from "@/lib/utils"
9
+ import { toggleVariants } from '@/components/ui/toggle'
10
+
11
+ type ToggleGroupVariants = VariantProps<typeof toggleVariants> & {
12
+ spacing?: number
13
+ }
14
+
15
+ const props = defineProps<ToggleGroupItemProps & {
16
+ class?: HTMLAttributes["class"]
17
+ variant?: ToggleGroupVariants["variant"]
18
+ size?: ToggleGroupVariants["size"]
19
+ }>()
20
+
21
+ const context = inject<ToggleGroupVariants>("toggleGroup")
22
+
23
+ const delegatedProps = reactiveOmit(props, "class", "size", "variant")
24
+ const forwardedProps = useForwardProps(delegatedProps)
25
+ </script>
26
+
27
+ <template>
28
+ <ToggleGroupItem
29
+ v-slot="slotProps"
30
+ data-slot="toggle-group-item"
31
+ :data-variant="context?.variant || variant"
32
+ :data-size="context?.size || size"
33
+ :data-spacing="context?.spacing"
34
+ v-bind="forwardedProps"
35
+ :class="cn(
36
+ toggleVariants({
37
+ variant: context?.variant || variant,
38
+ size: context?.size || size,
39
+ }),
40
+ 'tw:w-auto tw:min-w-0 tw:shrink-0 tw:px-3 tw:focus:z-10 tw:focus-visible:z-10',
41
+ 'tw:data-[spacing=0]:rounded-none tw:data-[spacing=0]:shadow-none tw:data-[spacing=0]:first:rounded-l-md tw:data-[spacing=0]:last:rounded-r-md tw:data-[spacing=0]:data-[variant=outline]:border-l-0 tw:data-[spacing=0]:data-[variant=outline]:first:border-l',
42
+ props.class)"
43
+ >
44
+ <slot v-bind="slotProps" />
45
+ </ToggleGroupItem>
46
+ </template>
@@ -24,11 +24,11 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
24
24
  <TooltipContent
25
25
  data-slot="tooltip-content"
26
26
  v-bind="{ ...forwarded, ...$attrs }"
27
- :class="cn('bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit rounded-md px-3 py-1.5 text-xs text-balance', props.class)"
27
+ :class="cn('tw:bg-foreground tw:text-background tw:animate-in tw:fade-in-0 tw:zoom-in-95 tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=closed]:zoom-out-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-fit tw:rounded-md tw:px-3 tw:py-1.5 tw:text-xs tw:text-balance', props.class)"
28
28
  >
29
29
  <slot />
30
30
 
31
- <TooltipArrow class="bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" />
31
+ <TooltipArrow class=""tw:bg-foreground tw:fill-foreground tw:z-50 tw:size-2.5 tw:translate-y-[calc(-50%_-_2px)] tw:rotate-45 tw:rounded-[2px]"" />
32
32
  </TooltipContent>
33
33
  </TooltipPortal>
34
34
  </template>
package/dist/index.d.ts DELETED
@@ -1,23 +0,0 @@
1
- import { App } from 'vue';
2
- export { NSBackupCard, NSSystemdServiceCard, NSSystemInfoCard, NSByteSlider, NSCheckbox, NSDataTable, NSEmptyState, NSInlineNotification, NSLottieAnimation, NSModal, NSModalTrigger, NSPagination, NSProgress, NSProgressBar, NSSlider, NSTag, NSTextInput, NSToastNotification, NSToggle, NSWizard, } from './src/components/NS';
3
- export { useUtilService as UtilService } from './src/composables/useUtilService';
4
- export { useDateTimeService as DateTimeService } from './src/composables/useDateTimeService';
5
- export { useIconService as IconService } from './src/composables/useIconService';
6
- export { usePageTitleService as PageTitleService } from './src/composables/usePageTitleService';
7
- export { useQueryParamService as QueryParamService } from './src/composables/useQueryParamService';
8
- export { useStorageService as StorageService } from './src/composables/useStorageService';
9
- export { useTaskService as TaskService } from './src/composables/useTaskService';
10
- export { useFilterService as FilterService } from './src/composables/useFilterService';
11
- export { useUtilService } from './src/composables/useUtilService';
12
- export { useDateTimeService } from './src/composables/useDateTimeService';
13
- export { useIconService } from './src/composables/useIconService';
14
- export { usePageTitleService } from './src/composables/usePageTitleService';
15
- export { useQueryParamService } from './src/composables/useQueryParamService';
16
- export { useStorageService } from './src/composables/useStorageService';
17
- export { useTaskService } from './src/composables/useTaskService';
18
- export { useFilterService } from './src/composables/useFilterService';
19
- declare const Ns8UiLibNew: {
20
- install(app: App): void;
21
- };
22
- export default Ns8UiLibNew;
23
- export declare const version = "1.0.0";
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- type __VLS_Props = {
2
- msg: string;
3
- };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
5
- export default _default;
@@ -1,51 +0,0 @@
1
- interface Backup {
2
- id: string;
3
- name: string;
4
- date: string;
5
- size: string;
6
- enabled: boolean;
7
- status?: "success" | "error" | "running" | "pending";
8
- }
9
- interface Status {
10
- [key: string]: {
11
- success?: boolean;
12
- message?: string;
13
- };
14
- }
15
- interface Props {
16
- title?: string;
17
- loading?: boolean;
18
- backups?: Backup[];
19
- status?: Status;
20
- noBackupMessage?: string;
21
- statusLabel?: string;
22
- statusSuccessLabel?: string;
23
- backupDisabledLabel?: string;
24
- light?: boolean;
25
- maxHeight?: string;
26
- class?: string;
27
- }
28
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
- delete: (backupId: string) => any;
30
- backup: (backupId: string) => any;
31
- restore: (backupId: string) => any;
32
- enable: (backupId: string) => any;
33
- disable: (backupId: string) => any;
34
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
35
- onDelete?: ((backupId: string) => any) | undefined;
36
- onBackup?: ((backupId: string) => any) | undefined;
37
- onRestore?: ((backupId: string) => any) | undefined;
38
- onEnable?: ((backupId: string) => any) | undefined;
39
- onDisable?: ((backupId: string) => any) | undefined;
40
- }>, {
41
- title: string;
42
- loading: boolean;
43
- status: Status;
44
- backups: Backup[];
45
- noBackupMessage: string;
46
- statusLabel: string;
47
- statusSuccessLabel: string;
48
- backupDisabledLabel: string;
49
- light: boolean;
50
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
51
- export default _default;
@@ -1,58 +0,0 @@
1
- interface SystemMetrics {
2
- totalSpace: string;
3
- usedSpace: string;
4
- freeSpace: string;
5
- usagePercentage: number;
6
- temperature?: string;
7
- loadAverage?: string[];
8
- uptime?: string;
9
- processes?: number;
10
- memory?: {
11
- total: string;
12
- used: string;
13
- free: string;
14
- percentage: number;
15
- };
16
- cpu?: {
17
- cores: number;
18
- usage: number;
19
- frequency: string;
20
- };
21
- }
22
- interface Props {
23
- title?: string;
24
- description?: string;
25
- metrics?: SystemMetrics;
26
- loading?: boolean;
27
- refreshInterval?: number;
28
- showTemperature?: boolean;
29
- showLoadAverage?: boolean;
30
- showUptime?: boolean;
31
- showProcesses?: boolean;
32
- showMemory?: boolean;
33
- showCpu?: boolean;
34
- showStorage?: boolean;
35
- refreshable?: boolean;
36
- light?: boolean;
37
- maxHeight?: string;
38
- class?: string;
39
- }
40
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
41
- refresh: () => any;
42
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
43
- onRefresh?: (() => any) | undefined;
44
- }>, {
45
- description: string;
46
- title: string;
47
- loading: boolean;
48
- light: boolean;
49
- showUptime: boolean;
50
- showTemperature: boolean;
51
- showLoadAverage: boolean;
52
- showProcesses: boolean;
53
- showMemory: boolean;
54
- showCpu: boolean;
55
- showStorage: boolean;
56
- refreshable: boolean;
57
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
58
- export default _default;
@@ -1,47 +0,0 @@
1
- interface ServiceStatus {
2
- running: boolean;
3
- enabled: boolean;
4
- status?: string;
5
- uptime?: string;
6
- lastRestart?: string;
7
- memory?: string;
8
- cpu?: string;
9
- }
10
- interface Props {
11
- title?: string;
12
- description?: string;
13
- icon?: any;
14
- loading?: boolean;
15
- status?: ServiceStatus;
16
- serviceName?: string;
17
- light?: boolean;
18
- showUptime?: boolean;
19
- showMetrics?: boolean;
20
- maxHeight?: string;
21
- class?: string;
22
- }
23
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
- stop: (serviceName: string) => any;
25
- view: (serviceName: string) => any;
26
- restart: (serviceName: string) => any;
27
- start: (serviceName: string) => any;
28
- enable: (serviceName: string) => any;
29
- disable: (serviceName: string) => any;
30
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
31
- onStop?: ((serviceName: string) => any) | undefined;
32
- onView?: ((serviceName: string) => any) | undefined;
33
- onRestart?: ((serviceName: string) => any) | undefined;
34
- onStart?: ((serviceName: string) => any) | undefined;
35
- onEnable?: ((serviceName: string) => any) | undefined;
36
- onDisable?: ((serviceName: string) => any) | undefined;
37
- }>, {
38
- description: string;
39
- title: string;
40
- loading: boolean;
41
- status: ServiceStatus;
42
- light: boolean;
43
- serviceName: string;
44
- showUptime: boolean;
45
- showMetrics: boolean;
46
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
- export default _default;
@@ -1,3 +0,0 @@
1
- export { default as NSBackupCard } from './NSBackupCard.vue';
2
- export { default as NSSystemdServiceCard } from './NSSystemdServiceCard.vue';
3
- export { default as NSSystemInfoCard } from './NSSystemInfoCard.vue';
@@ -1,37 +0,0 @@
1
- interface Props {
2
- id?: string;
3
- checked?: boolean;
4
- defaultChecked?: boolean;
5
- disabled?: boolean;
6
- required?: boolean;
7
- name?: string;
8
- value?: string;
9
- label?: string;
10
- hideLabel?: boolean;
11
- description?: string;
12
- errorMessage?: string;
13
- indeterminate?: boolean;
14
- class?: string;
15
- }
16
- declare function __VLS_template(): {
17
- attrs: Partial<{}>;
18
- slots: {
19
- label?(_: {}): any;
20
- extra?(_: {}): any;
21
- };
22
- refs: {};
23
- rootEl: HTMLDivElement;
24
- };
25
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- "update:checked": (value: boolean) => any;
28
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
- "onUpdate:checked"?: ((value: boolean) => any) | undefined;
30
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
- export default _default;
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };
@@ -1 +0,0 @@
1
- export { default as NSCheckbox } from './NSCheckbox.vue';
@@ -1,98 +0,0 @@
1
- interface Column {
2
- key: string;
3
- label: string;
4
- sortable?: boolean;
5
- width?: string;
6
- align?: 'left' | 'center' | 'right';
7
- filterable?: boolean;
8
- render?: (value: any, row: any, index: number) => any;
9
- }
10
- interface Action {
11
- key: string;
12
- label: string;
13
- icon?: any;
14
- onClick: (row: any, index: number) => void;
15
- disabled?: (row: any) => boolean;
16
- variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
17
- }
18
- interface Props {
19
- data?: any[];
20
- columns?: Column[];
21
- actions?: Action[];
22
- loading?: boolean;
23
- selectable?: boolean;
24
- searchable?: boolean;
25
- filterable?: boolean;
26
- pagination?: boolean;
27
- currentPage?: number;
28
- itemsPerPage?: number;
29
- totalItems?: number;
30
- showTotal?: boolean;
31
- emptyMessage?: string;
32
- loadingMessage?: string;
33
- maxHeight?: string;
34
- striped?: boolean;
35
- hover?: boolean;
36
- class?: string;
37
- tableClass?: string;
38
- headerClass?: string;
39
- bodyClass?: string;
40
- }
41
- declare function __VLS_template(): {
42
- attrs: Partial<{}>;
43
- slots: Partial<Record<`cell-${string}`, (_: {
44
- row: any;
45
- value: any;
46
- column: Column;
47
- index: number;
48
- }) => any>> & {
49
- pagination?(_: {
50
- currentPage: number;
51
- totalItems: number;
52
- }): any;
53
- };
54
- refs: {};
55
- rootEl: HTMLDivElement;
56
- };
57
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
58
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
- search: (query: string) => any;
60
- "update:currentPage": (page: number) => any;
61
- "update:itemsPerPage": (size: number) => any;
62
- "selection-change": (selectedRows: any[]) => any;
63
- "row-click": (row: any, index: number) => any;
64
- "sort-change": (column: string, direction: "desc" | "asc" | null) => any;
65
- "filter-change": (filters: Record<string, any>) => any;
66
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
67
- onSearch?: ((query: string) => any) | undefined;
68
- "onUpdate:currentPage"?: ((page: number) => any) | undefined;
69
- "onUpdate:itemsPerPage"?: ((size: number) => any) | undefined;
70
- "onSelection-change"?: ((selectedRows: any[]) => any) | undefined;
71
- "onRow-click"?: ((row: any, index: number) => any) | undefined;
72
- "onSort-change"?: ((column: string, direction: "desc" | "asc" | null) => any) | undefined;
73
- "onFilter-change"?: ((filters: Record<string, any>) => any) | undefined;
74
- }>, {
75
- data: any[];
76
- loading: boolean;
77
- actions: Action[];
78
- currentPage: number;
79
- totalItems: number;
80
- itemsPerPage: number;
81
- showTotal: boolean;
82
- columns: Column[];
83
- selectable: boolean;
84
- searchable: boolean;
85
- filterable: boolean;
86
- pagination: boolean;
87
- emptyMessage: string;
88
- loadingMessage: string;
89
- striped: boolean;
90
- hover: boolean;
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
92
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
93
- export default _default;
94
- type __VLS_WithTemplateSlots<T, S> = T & {
95
- new (): {
96
- $slots: S;
97
- };
98
- };
@@ -1 +0,0 @@
1
- export { default as NSDataTable } from './NSDataTable.vue';
@@ -1,45 +0,0 @@
1
- interface Props {
2
- title?: string;
3
- description?: string;
4
- icon?: string | object;
5
- lottiePath?: string;
6
- lottieData?: any;
7
- animationTitle?: string;
8
- size?: "default" | "sm" | "lg";
9
- variant?: "default" | "muted";
10
- loop?: boolean | number;
11
- animateOnHover?: boolean;
12
- autoPlay?: boolean;
13
- class?: string;
14
- iconClass?: string;
15
- titleClass?: string;
16
- descriptionClass?: string;
17
- }
18
- declare function __VLS_template(): {
19
- attrs: Partial<{}>;
20
- slots: {
21
- icon?(_: {}): any;
22
- title?(_: {}): any;
23
- description?(_: {}): any;
24
- actions?(_: {}): any;
25
- extra?(_: {}): any;
26
- };
27
- refs: {};
28
- rootEl: HTMLDivElement;
29
- };
30
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
32
- title: string;
33
- variant: "default" | "muted";
34
- size: "default" | "sm" | "lg";
35
- loop: boolean | number;
36
- animateOnHover: boolean;
37
- autoPlay: boolean;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
- export default _default;
41
- type __VLS_WithTemplateSlots<T, S> = T & {
42
- new (): {
43
- $slots: S;
44
- };
45
- };
@@ -1 +0,0 @@
1
- export { default as NSEmptyState } from './NSEmptyState.vue';
@@ -1,35 +0,0 @@
1
- export { NSCheckbox } from './checkbox';
2
- export { NSTextInput } from './text-input';
3
- export { NSToggle } from './toggle';
4
- export { NSTag } from './tag';
5
- export { NSEmptyState } from './empty-state';
6
- export { NSInlineNotification } from './inline-notification';
7
- export { NSToastNotification } from './toast-notification';
8
- export { NSProgress, NSProgressBar } from './progress';
9
- export { NSModal, NSModalTrigger } from './modal';
10
- export { NSSlider, NSByteSlider } from './slider';
11
- export { NSPagination } from './pagination';
12
- export { NSDataTable } from './data-table';
13
- export { NSWizard } from './wizard';
14
- export { NSBackupCard, NSSystemdServiceCard, NSSystemInfoCard } from './cards';
15
- export { NSLottieAnimation } from './lottie-animation';
16
- export type { default as NSCheckboxType } from './checkbox/NSCheckbox.vue';
17
- export type { default as NSTextInputType } from './text-input/NSTextInput.vue';
18
- export type { default as NSToggleType } from './toggle/NSToggle.vue';
19
- export type { default as NSTagType } from './tag/NSTag.vue';
20
- export type { default as NSEmptyStateType } from './empty-state/NSEmptyState.vue';
21
- export type { default as NSInlineNotificationType } from './inline-notification/NSInlineNotification.vue';
22
- export type { default as NSToastNotificationType } from './toast-notification/NSToastNotification.vue';
23
- export type { default as NSProgressType } from './progress/NSProgress.vue';
24
- export type { default as NSProgressBarType } from './progress/NSProgressBar.vue';
25
- export type { default as NSModalType } from './modal/NSModal.vue';
26
- export type { default as NSModalTriggerType } from './modal/NSModalTrigger.vue';
27
- export type { default as NSSliderType } from './slider/NSSlider.vue';
28
- export type { default as NSByteSliderType } from './slider/NSByteSlider.vue';
29
- export type { default as NSPaginationType } from './pagination/NSPagination.vue';
30
- export type { default as NSDataTableType } from './data-table/NSDataTable.vue';
31
- export type { default as NSWizardType } from './wizard/NSWizard.vue';
32
- export type { default as NSBackupCardType } from './cards/NSBackupCard.vue';
33
- export type { default as NSSystemdServiceCardType } from './cards/NSSystemdServiceCard.vue';
34
- export type { default as NSSystemInfoCardType } from './cards/NSSystemInfoCard.vue';
35
- export type { default as NSLottieAnimationType } from './lottie-animation/NSLottieAnimation.vue';
@@ -1,44 +0,0 @@
1
- interface Props {
2
- title?: string;
3
- description?: string;
4
- variant?: 'default' | 'destructive' | 'warning' | 'success' | 'info';
5
- showCloseButton?: boolean;
6
- actionLabel?: string;
7
- closeAriaLabel?: string;
8
- loading?: boolean;
9
- timer?: number;
10
- lowContrast?: boolean;
11
- class?: string;
12
- icon?: object;
13
- }
14
- declare function __VLS_template(): {
15
- attrs: Partial<{}>;
16
- slots: {
17
- title?(_: {}): any;
18
- description?(_: {}): any;
19
- extra?(_: {}): any;
20
- };
21
- refs: {};
22
- rootEl: HTMLDivElement;
23
- };
24
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
- close: () => any;
27
- action: () => any;
28
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
29
- onClose?: (() => any) | undefined;
30
- onAction?: (() => any) | undefined;
31
- }>, {
32
- variant: "default" | "destructive" | "warning" | "success" | "info";
33
- showCloseButton: boolean;
34
- closeAriaLabel: string;
35
- loading: boolean;
36
- lowContrast: boolean;
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
- export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
41
- new (): {
42
- $slots: S;
43
- };
44
- };
@@ -1 +0,0 @@
1
- export { default as NSInlineNotification } from './NSInlineNotification.vue';