@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
@@ -17,10 +17,10 @@ const forwardedProps = useForwardProps(delegatedProps)
17
17
  <SelectScrollDownButton
18
18
  data-slot="select-scroll-down-button"
19
19
  v-bind="forwardedProps"
20
- :class="cn('flex cursor-default items-center justify-center py-1', props.class)"
20
+ :class="cn('tw:flex tw:cursor-default tw:items-center tw:justify-center tw:py-1', props.class)"
21
21
  >
22
22
  <slot>
23
- <ChevronDown class="size-4" />
23
+ <ChevronDown class=""tw:size-4"" />
24
24
  </slot>
25
25
  </SelectScrollDownButton>
26
26
  </template>
@@ -17,10 +17,10 @@ const forwardedProps = useForwardProps(delegatedProps)
17
17
  <SelectScrollUpButton
18
18
  data-slot="select-scroll-up-button"
19
19
  v-bind="forwardedProps"
20
- :class="cn('flex cursor-default items-center justify-center py-1', props.class)"
20
+ :class="cn('tw:flex tw:cursor-default tw:items-center tw:justify-center tw:py-1', props.class)"
21
21
  >
22
22
  <slot>
23
- <ChevronUp class="size-4" />
23
+ <ChevronUp class=""tw:size-4"" />
24
24
  </slot>
25
25
  </SelectScrollUpButton>
26
26
  </template>
@@ -14,6 +14,6 @@ const delegatedProps = reactiveOmit(props, "class")
14
14
  <SelectSeparator
15
15
  data-slot="select-separator"
16
16
  v-bind="delegatedProps"
17
- :class="cn('bg-border pointer-events-none -mx-1 my-1 h-px', props.class)"
17
+ :class="cn('tw:bg-border tw:pointer-events-none tw:-mx-1 tw:my-1 tw:h-px', props.class)"
18
18
  />
19
19
  </template>
@@ -21,13 +21,13 @@ const forwardedProps = useForwardProps(delegatedProps)
21
21
  :data-size="size"
22
22
  v-bind="forwardedProps"
23
23
  :class="cn(
24
- 'border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4',
24
+ 'tw:border-input tw:data-[placeholder]:text-muted-foreground tw:[&_svg:not([class*=\'text-\'])]:text-muted-foreground tw:focus-visible:border-ring tw:focus-visible:ring-ring/50 tw:aria-invalid:ring-destructive/20 tw:dark:aria-invalid:ring-destructive/40 tw:aria-invalid:border-destructive tw:dark:bg-input/30 tw:dark:hover:bg-input/50 tw:flex tw:w-fit tw:items-center tw:justify-between tw:gap-2 tw:rounded-md tw:border tw:bg-transparent tw:px-3 tw:py-2 tw:text-sm tw:whitespace-nowrap tw:shadow-xs tw:transition-[color,box-shadow] tw:outline-none tw:focus-visible:ring-[3px] tw:disabled:cursor-not-allowed tw:disabled:opacity-50 tw:data-[size=default]:h-9 tw:data-[size=sm]:h-8 tw:*:data-[slot=select-value]:line-clamp-1 tw:*:data-[slot=select-value]:flex tw:*:data-[slot=select-value]:items-center tw:*:data-[slot=select-value]:gap-2 tw:[&_svg]:pointer-events-none tw:[&_svg]:shrink-0 tw:[&_svg:not([class*=\'size-\'])]:size-4',
25
25
  props.class,
26
26
  )"
27
27
  >
28
28
  <slot />
29
29
  <SelectIcon as-child>
30
- <ChevronDown class="size-4 opacity-50" />
30
+ <ChevronDown class=""tw:size-4 tw:opacity-50"" />
31
31
  </SelectIcon>
32
32
  </SelectTrigger>
33
33
  </template>
@@ -21,7 +21,7 @@ const delegatedProps = reactiveOmit(props, "class")
21
21
  v-bind="delegatedProps"
22
22
  :class="
23
23
  cn(
24
- 'bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px',
24
+ 'tw:bg-border tw:shrink-0 tw:data-[orientation=horizontal]:h-px tw:data-[orientation=horizontal]:w-full tw:data-[orientation=vertical]:h-full tw:data-[orientation=vertical]:w-px',
25
25
  props.class,
26
26
  )
27
27
  "
@@ -1,34 +1,34 @@
1
1
  <script setup lang="ts">
2
- import type { DialogContentEmits, DialogContentProps } from "reka-ui"
3
- import type { HTMLAttributes } from "vue"
4
- import { reactiveOmit } from "@vueuse/core"
5
- import { X } from "lucide-vue-next"
2
+ import type { DialogContentEmits, DialogContentProps } from "reka-ui";
3
+ import type { HTMLAttributes } from "vue";
4
+ import { reactiveOmit } from "@vueuse/core";
5
+ import { X } from "lucide-vue-next";
6
6
  import {
7
7
  DialogClose,
8
8
  DialogContent,
9
9
  DialogPortal,
10
10
  useForwardPropsEmits,
11
- } from "reka-ui"
12
- import { cn } from "@/lib/utils"
13
- import SheetOverlay from "./SheetOverlay.vue"
11
+ } from "reka-ui";
12
+ import { cn } from "@/lib/utils";
13
+ import SheetOverlay from "./SheetOverlay.vue";
14
14
 
15
15
  interface SheetContentProps extends DialogContentProps {
16
- class?: HTMLAttributes["class"]
17
- side?: "top" | "right" | "bottom" | "left"
16
+ class?: HTMLAttributes["class"];
17
+ side?: "top" | "right" | "bottom" | "left";
18
18
  }
19
19
 
20
20
  defineOptions({
21
21
  inheritAttrs: false,
22
- })
22
+ });
23
23
 
24
24
  const props = withDefaults(defineProps<SheetContentProps>(), {
25
25
  side: "right",
26
- })
27
- const emits = defineEmits<DialogContentEmits>()
26
+ });
27
+ const emits = defineEmits<DialogContentEmits>();
28
28
 
29
- const delegatedProps = reactiveOmit(props, "class", "side")
29
+ const delegatedProps = reactiveOmit(props, "class", "side");
30
30
 
31
- const forwarded = useForwardPropsEmits(delegatedProps, emits)
31
+ const forwarded = useForwardPropsEmits(delegatedProps, emits);
32
32
  </script>
33
33
 
34
34
  <template>
@@ -36,26 +36,29 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
36
36
  <SheetOverlay />
37
37
  <DialogContent
38
38
  data-slot="sheet-content"
39
- :class="cn(
40
- 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
41
- side === 'right'
42
- && 'data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',
43
- side === 'left'
44
- && 'data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',
45
- side === 'top'
46
- && 'data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b',
47
- side === 'bottom'
48
- && 'data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t',
49
- props.class)"
39
+ :class="
40
+ cn(
41
+ 'tw:bg-background tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:fixed tw:z-50 tw:flex tw:flex-col tw:gap-4 tw:shadow-lg tw:transition tw:ease-in-out tw:data-[state=closed]:duration-300 tw:data-[state=open]:duration-500',
42
+ side === 'right' &&
43
+ 'tw:data-[state=closed]:slide-out-to-right tw:data-[state=open]:slide-in-from-right tw:inset-y-0 tw:right-0 tw:h-full tw:w-3/4 tw:border-l tw:sm:max-w-sm',
44
+ side === 'left' &&
45
+ 'tw:data-[state=closed]:slide-out-to-left tw:data-[state=open]:slide-in-from-left tw:inset-y-0 tw:left-0 tw:h-full tw:w-3/4 tw:border-r tw:sm:max-w-sm',
46
+ side === 'top' &&
47
+ 'tw:data-[state=closed]:slide-out-to-top tw:data-[state=open]:slide-in-from-top tw:inset-x-0 tw:top-0 tw:h-auto tw:border-b',
48
+ side === 'bottom' &&
49
+ 'tw:data-[state=closed]:slide-out-to-bottom tw:data-[state=open]:slide-in-from-bottom tw:inset-x-0 tw:bottom-0 tw:h-auto tw:border-t',
50
+ props.class,
51
+ )
52
+ "
50
53
  v-bind="{ ...$attrs, ...forwarded }"
51
54
  >
52
55
  <slot />
53
56
 
54
57
  <DialogClose
55
- class="ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none"
58
+ class="tw:ring-offset-background tw:focus:ring-ring tw:data-[state=open]:bg-secondary tw:absolute tw:top-4 tw:right-4 tw:rounded-xs tw:opacity-70 tw:transition-opacity tw:hover:opacity-100 tw:focus:ring-2 tw:focus:ring-offset-2 tw:focus:outline-hidden tw:disabled:pointer-events-none"
56
59
  >
57
- <X class="size-4" />
58
- <span class="sr-only">Close</span>
60
+ <X class="tw:size-4" />
61
+ <span class="tw:sr-only">Close</span>
59
62
  </DialogClose>
60
63
  </DialogContent>
61
64
  </DialogPortal>
@@ -13,7 +13,7 @@ const delegatedProps = reactiveOmit(props, "class")
13
13
  <template>
14
14
  <DialogDescription
15
15
  data-slot="sheet-description"
16
- :class="cn('text-muted-foreground text-sm', props.class)"
16
+ :class="cn('tw:text-muted-foreground tw:text-sm', props.class)"
17
17
  v-bind="delegatedProps"
18
18
  >
19
19
  <slot />
@@ -8,7 +8,7 @@ const props = defineProps<{ class?: HTMLAttributes["class"] }>()
8
8
  <template>
9
9
  <div
10
10
  data-slot="sheet-footer"
11
- :class="cn('mt-auto flex flex-col gap-2 p-4', props.class)
11
+ :class="cn('tw:mt-auto tw:flex tw:flex-col tw:gap-2 tw:p-4', props.class)
12
12
  "
13
13
  >
14
14
  <slot />
@@ -8,7 +8,7 @@ const props = defineProps<{ class?: HTMLAttributes["class"] }>()
8
8
  <template>
9
9
  <div
10
10
  data-slot="sheet-header"
11
- :class="cn('flex flex-col gap-1.5 p-4', props.class)"
11
+ :class="cn('tw:flex tw:flex-col tw:gap-1.5 tw:p-4', props.class)"
12
12
  >
13
13
  <slot />
14
14
  </div>
@@ -13,7 +13,7 @@ const delegatedProps = reactiveOmit(props, "class")
13
13
  <template>
14
14
  <DialogOverlay
15
15
  data-slot="sheet-overlay"
16
- :class="cn('data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80', props.class)"
16
+ :class="cn('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:fixed tw:inset-0 tw:z-50 tw:bg-black/80', props.class)"
17
17
  v-bind="delegatedProps"
18
18
  >
19
19
  <slot />
@@ -13,7 +13,7 @@ const delegatedProps = reactiveOmit(props, "class")
13
13
  <template>
14
14
  <DialogTitle
15
15
  data-slot="sheet-title"
16
- :class="cn('text-foreground font-semibold', props.class)"
16
+ :class="cn('tw:text-foreground tw:font-semibold', props.class)"
17
17
  v-bind="delegatedProps"
18
18
  >
19
19
  <slot />
@@ -24,7 +24,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
24
24
  <div
25
25
  v-if="collapsible === 'none'"
26
26
  data-slot="sidebar"
27
- :class="cn('bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col', props.class)"
27
+ :class="cn('tw:bg-sidebar tw:text-sidebar-foreground tw:flex tw:h-full tw:w-(--sidebar-width) tw:flex-col', props.class)"
28
28
  v-bind="$attrs"
29
29
  >
30
30
  <slot />
@@ -36,16 +36,16 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
36
36
  data-slot="sidebar"
37
37
  data-mobile="true"
38
38
  :side="side"
39
- class="bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden"
39
+ class=""tw:bg-sidebar tw:text-sidebar-foreground tw:w-(--sidebar-width) tw:p-0 tw:[&>button]:hidden""
40
40
  :style="{
41
41
  '--sidebar-width': SIDEBAR_WIDTH_MOBILE,
42
42
  }"
43
43
  >
44
- <SheetHeader class="sr-only">
44
+ <SheetHeader class=""tw:sr-only"">
45
45
  <SheetTitle>Sidebar</SheetTitle>
46
46
  <SheetDescription>Displays the mobile sidebar.</SheetDescription>
47
47
  </SheetHeader>
48
- <div class="flex h-full w-full flex-col">
48
+ <div class=""tw:flex tw:h-full tw:w-full tw:flex-col"">
49
49
  <slot />
50
50
  </div>
51
51
  </SheetContent>
@@ -53,7 +53,7 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
53
53
 
54
54
  <div
55
55
  v-else
56
- class="group peer text-sidebar-foreground hidden md:block"
56
+ class=""tw:group tw:peer tw:text-sidebar-foreground tw:hidden tw:md:block""
57
57
  data-slot="sidebar"
58
58
  :data-state="state"
59
59
  :data-collapsible="state === 'collapsed' ? collapsible : ''"
@@ -63,31 +63,31 @@ const { isMobile, state, openMobile, setOpenMobile } = useSidebar()
63
63
  <!-- This is what handles the sidebar gap on desktop -->
64
64
  <div
65
65
  :class="cn(
66
- 'relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear',
67
- 'group-data-[collapsible=offcanvas]:w-0',
68
- 'group-data-[side=right]:rotate-180',
66
+ 'tw:relative tw:w-(--sidebar-width) tw:bg-transparent tw:transition-[width] tw:duration-200 tw:ease-linear',
67
+ 'tw:group-data-[collapsible=offcanvas]:w-0',
68
+ 'tw:group-data-[side=right]:rotate-180',
69
69
  variant === 'floating' || variant === 'inset'
70
- ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'
71
- : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)',
70
+ ? 'tw:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]'
71
+ : 'tw:group-data-[collapsible=icon]:w-(--sidebar-width-icon)',
72
72
  )"
73
73
  />
74
74
  <div
75
75
  :class="cn(
76
- 'fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex',
76
+ 'tw:fixed tw:inset-y-0 tw:z-10 tw:hidden tw:h-svh tw:w-(--sidebar-width) tw:transition-[left,right,width] tw:duration-200 tw:ease-linear tw:md:flex',
77
77
  side === 'left'
78
- ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'
79
- : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',
78
+ ? 'tw:left-0 tw:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]'
79
+ : 'tw:right-0 tw:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]',
80
80
  // Adjust the padding for floating and inset variants.
81
81
  variant === 'floating' || variant === 'inset'
82
- ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'
83
- : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l',
82
+ ? 'tw:p-2 tw:group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]'
83
+ : 'tw:group-data-[collapsible=icon]:w-(--sidebar-width-icon) tw:group-data-[side=left]:border-r tw:group-data-[side=right]:border-l',
84
84
  props.class,
85
85
  )"
86
86
  v-bind="$attrs"
87
87
  >
88
88
  <div
89
89
  data-sidebar="sidebar"
90
- class="bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
90
+ class=""tw:bg-sidebar tw:group-data-[variant=floating]:border-sidebar-border tw:flex tw:h-full tw:w-full tw:flex-col tw:group-data-[variant=floating]:rounded-lg tw:group-data-[variant=floating]:border tw:group-data-[variant=floating]:shadow-sm""
91
91
  >
92
92
  <slot />
93
93
  </div>
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <div
12
12
  data-slot="sidebar-content"
13
13
  data-sidebar="content"
14
- :class="cn('flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden', props.class)"
14
+ :class="cn('tw:flex tw:min-h-0 tw:flex-1 tw:flex-col tw:gap-2 tw:overflow-auto tw:group-data-[collapsible=icon]:overflow-hidden', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </div>
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <div
12
12
  data-slot="sidebar-footer"
13
13
  data-sidebar="footer"
14
- :class="cn('flex flex-col gap-2 p-2', props.class)"
14
+ :class="cn('tw:flex tw:flex-col tw:gap-2 tw:p-2', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </div>
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <div
12
12
  data-slot="sidebar-group"
13
13
  data-sidebar="group"
14
- :class="cn('relative flex w-full min-w-0 flex-col p-2', props.class)"
14
+ :class="cn('tw:relative tw:flex tw:w-full tw:min-w-0 tw:flex-col tw:p-2', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </div>
@@ -16,9 +16,9 @@ const props = defineProps<PrimitiveProps & {
16
16
  :as="as"
17
17
  :as-child="asChild"
18
18
  :class="cn(
19
- 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
20
- 'after:absolute after:-inset-2 md:after:hidden',
21
- 'group-data-[collapsible=icon]:hidden',
19
+ 'tw:text-sidebar-foreground tw:ring-sidebar-ring tw:hover:bg-sidebar-accent tw:hover:text-sidebar-accent-foreground tw:absolute tw:top-3.5 tw:right-3 tw:flex tw:aspect-square tw:w-5 tw:items-center tw:justify-center tw:rounded-md tw:p-0 tw:outline-hidden tw:transition-transform tw:focus-visible:ring-2 tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
20
+ 'tw:after:absolute tw:after:-inset-2 tw:md:after:hidden',
21
+ 'tw:group-data-[collapsible=icon]:hidden',
22
22
  props.class,
23
23
  )"
24
24
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <div
12
12
  data-slot="sidebar-group-content"
13
13
  data-sidebar="group-content"
14
- :class="cn('w-full text-sm', props.class)"
14
+ :class="cn('tw:w-full tw:text-sm', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </div>
@@ -16,8 +16,8 @@ const props = defineProps<PrimitiveProps & {
16
16
  :as="as"
17
17
  :as-child="asChild"
18
18
  :class="cn(
19
- 'text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
20
- 'group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0',
19
+ 'tw:text-sidebar-foreground/70 tw:ring-sidebar-ring tw:flex tw:h-8 tw:shrink-0 tw:items-center tw:rounded-md tw:px-2 tw:text-xs tw:font-medium tw:outline-hidden tw:transition-[margin,opacity] tw:duration-200 tw:ease-linear tw:focus-visible:ring-2 tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
20
+ 'tw:group-data-[collapsible=icon]:-mt-8 tw:group-data-[collapsible=icon]:opacity-0',
21
21
  props.class)"
22
22
  >
23
23
  <slot />
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <div
12
12
  data-slot="sidebar-header"
13
13
  data-sidebar="header"
14
- :class="cn('flex flex-col gap-2 p-2', props.class)"
14
+ :class="cn('tw:flex tw:flex-col tw:gap-2 tw:p-2', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </div>
@@ -13,7 +13,7 @@ const props = defineProps<{
13
13
  data-slot="sidebar-input"
14
14
  data-sidebar="input"
15
15
  :class="cn(
16
- 'bg-background h-8 w-full shadow-none',
16
+ 'tw:bg-background tw:h-8 tw:w-full tw:shadow-none',
17
17
  props.class,
18
18
  )"
19
19
  >
@@ -11,8 +11,8 @@ const props = defineProps<{
11
11
  <main
12
12
  data-slot="sidebar-inset"
13
13
  :class="cn(
14
- 'bg-background relative flex w-full flex-1 flex-col',
15
- 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2',
14
+ 'tw:bg-background tw:relative tw:flex tw:w-full tw:flex-1 tw:flex-col',
15
+ 'tw:md:peer-data-[variant=inset]:m-2 tw:md:peer-data-[variant=inset]:ml-0 tw:md:peer-data-[variant=inset]:rounded-xl tw:md:peer-data-[variant=inset]:shadow-sm tw:md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2',
16
16
  props.class,
17
17
  )"
18
18
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <ul
12
12
  data-slot="sidebar-menu"
13
13
  data-sidebar="menu"
14
- :class="cn('flex w-full min-w-0 flex-col gap-1', props.class)"
14
+ :class="cn('tw:flex tw:w-full tw:min-w-0 tw:flex-col tw:gap-1', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </ul>
@@ -17,14 +17,14 @@ const props = withDefaults(defineProps<PrimitiveProps & {
17
17
  data-slot="sidebar-menu-action"
18
18
  data-sidebar="menu-action"
19
19
  :class="cn(
20
- 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0',
21
- 'after:absolute after:-inset-2 md:after:hidden',
22
- 'peer-data-[size=sm]/menu-button:top-1',
23
- 'peer-data-[size=default]/menu-button:top-1.5',
24
- 'peer-data-[size=lg]/menu-button:top-2.5',
25
- 'group-data-[collapsible=icon]:hidden',
20
+ 'tw:text-sidebar-foreground tw:ring-sidebar-ring tw:hover:bg-sidebar-accent tw:hover:text-sidebar-accent-foreground tw:peer-hover/menu-button:text-sidebar-accent-foreground tw:absolute tw:top-1.5 tw:right-1 tw:flex tw:aspect-square tw:w-5 tw:items-center tw:justify-center tw:rounded-md tw:p-0 tw:outline-hidden tw:transition-transform tw:focus-visible:ring-2 tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
21
+ 'tw:after:absolute tw:after:-inset-2 tw:md:after:hidden',
22
+ 'tw:peer-data-[size=sm]/menu-button:top-1',
23
+ 'tw:peer-data-[size=default]/menu-button:top-1.5',
24
+ 'tw:peer-data-[size=lg]/menu-button:top-2.5',
25
+ 'tw:group-data-[collapsible=icon]:hidden',
26
26
  showOnHover
27
- && 'peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0',
27
+ && 'tw:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground tw:group-focus-within/menu-item:opacity-100 tw:group-hover/menu-item:opacity-100 tw:data-[state=open]:opacity-100 tw:md:opacity-0',
28
28
  props.class,
29
29
  )"
30
30
  :as="as"
@@ -12,12 +12,12 @@ const props = defineProps<{
12
12
  data-slot="sidebar-menu-badge"
13
13
  data-sidebar="menu-badge"
14
14
  :class="cn(
15
- 'text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none',
16
- 'peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',
17
- 'peer-data-[size=sm]/menu-button:top-1',
18
- 'peer-data-[size=default]/menu-button:top-1.5',
19
- 'peer-data-[size=lg]/menu-button:top-2.5',
20
- 'group-data-[collapsible=icon]:hidden',
15
+ 'tw:text-sidebar-foreground tw:pointer-events-none tw:absolute tw:right-1 tw:flex tw:h-5 tw:min-w-5 tw:items-center tw:justify-center tw:rounded-md tw:px-1 tw:text-xs tw:font-medium tw:tabular-nums tw:select-none',
16
+ 'tw:peer-hover/menu-button:text-sidebar-accent-foreground tw:peer-data-[active=true]/menu-button:text-sidebar-accent-foreground',
17
+ 'tw:peer-data-[size=sm]/menu-button:top-1',
18
+ 'tw:peer-data-[size=default]/menu-button:top-1.5',
19
+ 'tw:peer-data-[size=lg]/menu-button:top-2.5',
20
+ 'tw:group-data-[collapsible=icon]:hidden',
21
21
  props.class,
22
22
  )"
23
23
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <li
12
12
  data-slot="sidebar-menu-item"
13
13
  data-sidebar="menu-item"
14
- :class="cn('group/menu-item relative', props.class)"
14
+ :class="cn('tw:group/menu-item tw:relative', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </li>
@@ -18,16 +18,16 @@ const width = computed(() => {
18
18
  <div
19
19
  data-slot="sidebar-menu-skeleton"
20
20
  data-sidebar="menu-skeleton"
21
- :class="cn('flex h-8 items-center gap-2 rounded-md px-2', props.class)"
21
+ :class="cn('tw:flex tw:h-8 tw:items-center tw:gap-2 tw:rounded-md tw:px-2', props.class)"
22
22
  >
23
23
  <Skeleton
24
24
  v-if="showIcon"
25
- class="size-4 rounded-md"
25
+ class=""tw:size-4 tw:rounded-md""
26
26
  data-sidebar="menu-skeleton-icon"
27
27
  />
28
28
 
29
29
  <Skeleton
30
- class="h-4 max-w-(--skeleton-width) flex-1"
30
+ class=""tw:h-4 tw:max-w-(--skeleton-width) tw:flex-1""
31
31
  data-sidebar="menu-skeleton-text"
32
32
  :style="{ '--skeleton-width': width }"
33
33
  />
@@ -12,8 +12,8 @@ const props = defineProps<{
12
12
  data-slot="sidebar-menu-sub"
13
13
  data-sidebar="menu-badge"
14
14
  :class="cn(
15
- 'border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5',
16
- 'group-data-[collapsible=icon]:hidden',
15
+ 'tw:border-sidebar-border tw:mx-3.5 tw:flex tw:min-w-0 tw:translate-x-px tw:flex-col tw:gap-1 tw:border-l tw:px-2.5 tw:py-0.5',
16
+ 'tw:group-data-[collapsible=icon]:hidden',
17
17
  props.class,
18
18
  )"
19
19
  >
@@ -23,11 +23,11 @@ const props = withDefaults(defineProps<PrimitiveProps & {
23
23
  :data-size="size"
24
24
  :data-active="isActive"
25
25
  :class="cn(
26
- 'text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',
27
- 'data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground',
28
- size === 'sm' && 'text-xs',
29
- size === 'md' && 'text-sm',
30
- 'group-data-[collapsible=icon]:hidden',
26
+ 'tw:text-sidebar-foreground tw:ring-sidebar-ring tw:hover:bg-sidebar-accent tw:hover:text-sidebar-accent-foreground tw:active:bg-sidebar-accent tw:active:text-sidebar-accent-foreground tw:[&>svg]:text-sidebar-accent-foreground tw:flex tw:h-7 tw:min-w-0 tw:-translate-x-px tw:items-center tw:gap-2 tw:overflow-hidden tw:rounded-md tw:px-2 tw:outline-hidden tw:focus-visible:ring-2 tw:disabled:pointer-events-none tw:disabled:opacity-50 tw:aria-disabled:pointer-events-none tw:aria-disabled:opacity-50 tw:[&>span:last-child]:truncate tw:[&>svg]:size-4 tw:[&>svg]:shrink-0',
27
+ 'tw:data-[active=true]:bg-sidebar-accent tw:data-[active=true]:text-sidebar-accent-foreground',
28
+ size === 'tw:sm' && 'tw:text-xs',
29
+ size === 'tw:md' && 'tw:text-sm',
30
+ 'tw:group-data-[collapsible=icon]:hidden',
31
31
  props.class,
32
32
  )"
33
33
  >
@@ -11,7 +11,7 @@ const props = defineProps<{
11
11
  <li
12
12
  data-slot="sidebar-menu-sub-item"
13
13
  data-sidebar="menu-sub-item"
14
- :class="cn('group/menu-sub-item relative', props.class)"
14
+ :class="cn('tw:group/menu-sub-item tw:relative', props.class)"
15
15
  >
16
16
  <slot />
17
17
  </li>
@@ -73,7 +73,7 @@ provideSidebarContext({
73
73
  '--sidebar-width': SIDEBAR_WIDTH,
74
74
  '--sidebar-width-icon': SIDEBAR_WIDTH_ICON,
75
75
  }"
76
- :class="cn('group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full', props.class)"
76
+ :class="cn('tw:group/sidebar-wrapper tw:has-data-[variant=inset]:bg-sidebar tw:flex tw:min-h-svh tw:w-full', props.class)"
77
77
  v-bind="$attrs"
78
78
  >
79
79
  <slot />
@@ -18,12 +18,12 @@ const { toggleSidebar } = useSidebar()
18
18
  :tabindex="-1"
19
19
  title="Toggle Sidebar"
20
20
  :class="cn(
21
- 'hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex',
22
- 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize',
23
- '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
24
- 'hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full',
25
- '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
26
- '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',
21
+ 'tw:hover:after:bg-sidebar-border tw:absolute tw:inset-y-0 tw:z-20 tw:hidden tw:w-4 tw:-translate-x-1/2 tw:transition-all tw:ease-linear tw:group-data-[side=left]:-right-4 tw:group-data-[side=right]:left-0 tw:after:absolute tw:after:inset-y-0 tw:after:left-1/2 tw:after:w-[2px] tw:sm:flex',
22
+ 'tw:in-data-[side=left]:cursor-w-resize tw:in-data-[side=right]:cursor-e-resize',
23
+ 'tw:[[data-side=left][data-state=collapsed]_&]:cursor-e-resize tw:[[data-side=right][data-state=collapsed]_&]:cursor-w-resize',
24
+ 'tw:hover:group-data-[collapsible=offcanvas]:bg-sidebar tw:group-data-[collapsible=offcanvas]:translate-x-0 tw:group-data-[collapsible=offcanvas]:after:left-full',
25
+ 'tw:[[data-side=left][data-collapsible=offcanvas]_&]:-right-2',
26
+ 'tw:[[data-side=right][data-collapsible=offcanvas]_&]:-left-2',
27
27
  props.class,
28
28
  )"
29
29
  @click="toggleSidebar"
@@ -12,7 +12,7 @@ const props = defineProps<{
12
12
  <Separator
13
13
  data-slot="sidebar-separator"
14
14
  data-sidebar="separator"
15
- :class="cn('bg-sidebar-border mx-2 w-auto', props.class)"
15
+ :class="cn('tw:bg-sidebar-border tw:mx-2 tw:w-auto', props.class)"
16
16
  >
17
17
  <slot />
18
18
  </Separator>
@@ -18,10 +18,10 @@ const { toggleSidebar } = useSidebar()
18
18
  data-slot="sidebar-trigger"
19
19
  variant="ghost"
20
20
  size="icon"
21
- :class="cn('h-7 w-7', props.class)"
21
+ :class="cn('tw:h-7 tw:w-7', props.class)"
22
22
  @click="toggleSidebar"
23
23
  >
24
24
  <PanelLeft />
25
- <span class="sr-only">Toggle Sidebar</span>
25
+ <span class=""tw:sr-only"">Toggle Sidebar</span>
26
26
  </Button>
27
27
  </template>
@@ -12,6 +12,6 @@ const props = defineProps<SkeletonProps>()
12
12
  <template>
13
13
  <div
14
14
  data-slot="skeleton"
15
- :class="cn('animate-pulse rounded-md bg-primary/10', props.class)"
15
+ :class="cn('tw:animate-pulse tw:rounded-md tw:bg-primary/10', props.class)"
16
16
  />
17
17
  </template>