@geniusdynamics/ns8-ui-lib 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ns8-ui-lib.css +3 -1
- package/dist/ns8-ui-lib.es.js +36817 -19726
- package/dist/ns8-ui-lib.es.js.map +1 -1
- package/dist/ns8-ui-lib.umd.js +24 -11
- package/dist/ns8-ui-lib.umd.js.map +1 -1
- package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +2 -2
- package/dist/src/components/ui/accordion/Accordion.vue.d.ts +25 -0
- package/dist/src/components/ui/accordion/AccordionContent.vue.d.ts +22 -0
- package/dist/src/components/ui/accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/src/components/ui/accordion/AccordionTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/accordion/index.d.ts +4 -0
- package/dist/src/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/src/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/alert/index.d.ts +8 -0
- package/dist/src/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/src/components/ui/aspect-ratio/AspectRatio.vue.d.ts +18 -0
- package/dist/src/components/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/src/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/src/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/src/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/src/components/ui/avatar/index.d.ts +3 -0
- package/dist/src/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/src/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/src/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/src/components/ui/button-group/index.d.ts +8 -0
- package/dist/src/components/ui/calendar/Calendar.vue.d.ts +27 -0
- package/dist/src/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/src/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/src/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/src/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/index.d.ts +13 -0
- package/dist/src/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/src/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/src/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/src/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/src/components/ui/carousel/index.d.ts +7 -0
- package/dist/src/components/ui/carousel/interface.d.ts +19 -0
- package/dist/src/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
- package/dist/src/components/ui/checkbox/index.d.ts +1 -11
- package/dist/src/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/src/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/src/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/collapsible/index.d.ts +3 -0
- package/dist/src/components/ui/combobox/Combobox.vue.d.ts +36 -0
- package/dist/src/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/combobox/ComboboxInput.vue.d.ts +26 -0
- package/dist/src/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
- package/dist/src/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxList.vue.d.ts +36 -0
- package/dist/src/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/index.d.ts +11 -0
- package/dist/src/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/src/components/ui/command/CommandDialog.vue.d.ts +29 -0
- package/dist/src/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/src/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/src/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/command/index.d.ts +90 -0
- package/dist/src/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
- package/dist/src/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
- package/dist/src/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/context-menu/index.d.ts +14 -0
- package/dist/src/components/ui/dialog/Dialog.vue.d.ts +10 -13
- package/dist/src/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/src/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/src/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogFooter.vue.d.ts +24 -0
- package/dist/src/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogScrollContent.vue.d.ts +29 -0
- package/dist/src/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/dialog/index.d.ts +9 -0
- package/dist/src/components/ui/drawer/Drawer.vue.d.ts +36 -0
- package/dist/src/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/src/components/ui/drawer/DrawerContent.vue.d.ts +29 -0
- package/dist/src/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/src/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/drawer/index.d.ts +9 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/src/components/ui/empty/Empty.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyContent.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyMedia.vue.d.ts +23 -0
- package/dist/src/components/ui/empty/EmptyTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/index.d.ts +11 -0
- package/dist/src/components/ui/field/Field.vue.d.ts +23 -0
- package/dist/src/components/ui/field/FieldContent.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldError.vue.d.ts +24 -0
- package/dist/src/components/ui/field/FieldGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldLabel.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldLegend.vue.d.ts +22 -0
- package/dist/src/components/ui/field/FieldSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldSet.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/field/index.d.ts +15 -0
- package/dist/src/components/ui/form/FormControl.vue.d.ts +17 -0
- package/dist/src/components/ui/form/FormDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/form/FormItem.vue.d.ts +21 -0
- package/dist/src/components/ui/form/FormLabel.vue.d.ts +22 -0
- package/dist/src/components/ui/form/FormMessage.vue.d.ts +6 -0
- package/dist/src/components/ui/form/index.d.ts +7 -0
- package/dist/src/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/src/components/ui/form/useFormField.d.ts +11 -0
- package/dist/src/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
- package/dist/src/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/src/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/hover-card/index.d.ts +3 -0
- package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +9 -3
- package/dist/src/components/ui/input-group/index.d.ts +0 -7
- package/dist/src/components/ui/input-otp/InputOTP.vue.d.ts +46 -0
- package/dist/src/components/ui/input-otp/InputOTPGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/input-otp/InputOTPSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/input-otp/InputOTPSlot.vue.d.ts +7 -0
- package/dist/src/components/ui/input-otp/index.d.ts +4 -0
- package/dist/src/components/ui/kbd/Kbd.vue.d.ts +21 -0
- package/dist/src/components/ui/kbd/KbdGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/kbd/index.d.ts +2 -0
- package/dist/src/components/ui/menubar/Menubar.vue.d.ts +28 -0
- package/dist/src/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
- package/dist/src/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
- package/dist/src/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
- package/dist/src/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/menubar/MenubarRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
- package/dist/src/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
- package/dist/src/components/ui/menubar/index.d.ts +15 -0
- package/dist/src/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
- package/dist/src/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +405 -0
- package/dist/src/components/ui/native-select/NativeSelectOption.vue.d.ts +409 -0
- package/dist/src/components/ui/native-select/index.d.ts +3 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenu.vue.d.ts +31 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +32 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +7 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +22 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +30 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +22 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +15 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +7 -0
- package/dist/src/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/src/components/ui/number-field/NumberField.vue.d.ts +30 -0
- package/dist/src/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
- package/dist/src/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
- package/dist/src/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
- package/dist/src/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
- package/dist/src/components/ui/number-field/index.d.ts +5 -0
- package/dist/src/components/ui/pagination/Pagination.vue.d.ts +29 -0
- package/dist/src/components/ui/pagination/PaginationContent.vue.d.ts +29 -0
- package/dist/src/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
- package/dist/src/components/ui/pagination/PaginationFirst.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationItem.vue.d.ts +27 -0
- package/dist/src/components/ui/pagination/PaginationLast.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationNext.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationPrevious.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/index.d.ts +8 -0
- package/dist/src/components/ui/pin-input/PinInput.vue.d.ts +22 -0
- package/dist/src/components/ui/pin-input/PinInputGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/pin-input/PinInputSeparator.vue.d.ts +18 -0
- package/dist/src/components/ui/pin-input/PinInputSlot.vue.d.ts +7 -0
- package/dist/src/components/ui/pin-input/index.d.ts +4 -0
- package/dist/src/components/ui/popover/Popover.vue.d.ts +25 -0
- package/dist/src/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
- package/dist/src/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/src/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/popover/index.d.ts +4 -0
- package/dist/src/components/ui/radio-group/RadioGroup.vue.d.ts +28 -0
- package/dist/src/components/ui/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/src/components/ui/radio-group/index.d.ts +2 -0
- package/dist/src/components/ui/range-calendar/RangeCalendar.vue.d.ts +17 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +24 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/src/components/ui/resizable/ResizableHandle.vue.d.ts +27 -0
- package/dist/src/components/ui/resizable/ResizablePanel.vue.d.ts +32 -0
- package/dist/src/components/ui/resizable/ResizablePanelGroup.vue.d.ts +28 -0
- package/dist/src/components/ui/resizable/index.d.ts +3 -0
- package/dist/src/components/ui/select/SelectContent.vue.d.ts +2 -2
- package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +2 -11
- package/dist/src/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/src/components/ui/slider/index.d.ts +1 -0
- package/dist/src/components/ui/spinner/Spinner.vue.d.ts +6 -0
- package/dist/src/components/ui/spinner/index.d.ts +1 -0
- package/dist/src/components/ui/stepper/Stepper.vue.d.ts +38 -0
- package/dist/src/components/ui/stepper/StepperDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperIndicator.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperItem.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/stepper/StepperTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperTrigger.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/index.d.ts +7 -0
- package/dist/src/components/ui/switch/Switch.vue.d.ts +1 -0
- package/dist/src/components/ui/tags-input/TagsInput.vue.d.ts +34 -0
- package/dist/src/components/ui/tags-input/TagsInputInput.vue.d.ts +7 -0
- package/dist/src/components/ui/tags-input/TagsInputItem.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/TagsInputItemText.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/index.d.ts +5 -0
- package/dist/src/components/ui/toggle/Toggle.vue.d.ts +33 -0
- package/dist/src/components/ui/toggle/index.d.ts +2 -10
- package/dist/src/components/ui/toggle-group/ToggleGroup.vue.d.ts +36 -0
- package/dist/src/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +29 -0
- package/dist/src/components/ui/toggle-group/index.d.ts +2 -0
- package/package.json +25 -19
- package/src/App.vue +2 -2
- package/src/components/HelloWorld.vue +2 -2
- package/src/components/NS/CompleteDemo.vue +49 -49
- package/src/components/NS/Demo.vue +20 -20
- package/src/components/NS/cards/NSBackupCard.vue +59 -41
- package/src/components/NS/cards/NSSystemInfoCard.vue +167 -134
- package/src/components/NS/cards/NSSystemdServiceCard.vue +27 -27
- package/src/components/NS/checkbox/NSCheckbox.vue +6 -8
- package/src/components/NS/data-table/NSDataTable.vue +34 -40
- package/src/components/NS/empty-state/NSEmptyState.vue +3 -3
- package/src/components/NS/inline-notification/NSInlineNotification.vue +9 -9
- package/src/components/NS/lottie-animation/NSLottieAnimation.vue +140 -116
- package/src/components/NS/modal/NSModal.vue +12 -14
- package/src/components/NS/modal/NSModalTrigger.vue +1 -1
- package/src/components/NS/pagination/NSPagination.vue +10 -10
- package/src/components/NS/progress/NSProgress.vue +3 -3
- package/src/components/NS/progress/NSProgressBar.vue +4 -4
- package/src/components/NS/slider/NSByteSlider.vue +3 -3
- package/src/components/NS/slider/NSSlider.vue +2 -2
- package/src/components/NS/tag/NSTag.vue +6 -7
- package/src/components/NS/text-input/NSTextInput.vue +9 -13
- package/src/components/NS/toast-notification/NSToastNotification.vue +9 -11
- package/src/components/NS/toggle/NSToggle.vue +5 -8
- package/src/components/NS/wizard/NSWizard.vue +21 -21
- package/src/components/ui/accordion/Accordion.vue +18 -0
- package/src/components/ui/accordion/AccordionContent.vue +23 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/src/components/ui/alert/Alert.vue +21 -0
- package/src/components/ui/alert/AlertDescription.vue +17 -0
- package/src/components/ui/alert/AlertTitle.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/components/ui/aspect-ratio/AspectRatio.vue +16 -0
- package/src/components/ui/avatar/Avatar.vue +18 -0
- package/src/components/ui/avatar/AvatarFallback.vue +21 -0
- package/src/components/ui/avatar/AvatarImage.vue +16 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +22 -0
- package/src/components/ui/button/Button.vue +2 -0
- package/src/components/ui/button-group/ButtonGroup.vue +22 -0
- package/src/components/ui/button-group/ButtonGroupSeparator.vue +24 -0
- package/src/components/ui/button-group/ButtonGroupText.vue +29 -0
- package/src/components/ui/calendar/Calendar.vue +160 -0
- package/src/components/ui/calendar/CalendarCell.vue +23 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/src/components/ui/calendar/CalendarGrid.vue +23 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
- package/src/components/ui/calendar/CalendarHeader.vue +23 -0
- package/src/components/ui/calendar/CalendarHeading.vue +30 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/src/components/ui/card/Card.vue +1 -1
- package/src/components/ui/card/CardAction.vue +1 -1
- package/src/components/ui/card/CardContent.vue +1 -1
- package/src/components/ui/card/CardDescription.vue +1 -1
- package/src/components/ui/card/CardFooter.vue +1 -1
- package/src/components/ui/card/CardHeader.vue +1 -1
- package/src/components/ui/card/CardTitle.vue +1 -1
- package/src/components/ui/carousel/Carousel.vue +53 -0
- package/src/components/ui/carousel/CarouselContent.vue +33 -0
- package/src/components/ui/carousel/CarouselItem.vue +24 -0
- package/src/components/ui/carousel/CarouselNext.vue +41 -0
- package/src/components/ui/carousel/CarouselPrevious.vue +41 -0
- package/src/components/ui/checkbox/Checkbox.vue +35 -0
- package/src/components/ui/collapsible/Collapsible.vue +19 -0
- package/src/components/ui/collapsible/CollapsibleContent.vue +15 -0
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
- package/src/components/ui/combobox/Combobox.vue +19 -0
- package/src/components/ui/combobox/ComboboxAnchor.vue +23 -0
- package/src/components/ui/combobox/ComboboxEmpty.vue +21 -0
- package/src/components/ui/combobox/ComboboxGroup.vue +27 -0
- package/src/components/ui/combobox/ComboboxInput.vue +42 -0
- package/src/components/ui/combobox/ComboboxItem.vue +24 -0
- package/src/components/ui/combobox/ComboboxItemIndicator.vue +23 -0
- package/src/components/ui/combobox/ComboboxList.vue +33 -0
- package/src/components/ui/combobox/ComboboxSeparator.vue +21 -0
- package/src/components/ui/combobox/ComboboxTrigger.vue +24 -0
- package/src/components/ui/combobox/ComboboxViewport.vue +23 -0
- package/src/components/ui/command/Command.vue +87 -0
- package/src/components/ui/command/CommandDialog.vue +31 -0
- package/src/components/ui/command/CommandEmpty.vue +27 -0
- package/src/components/ui/command/CommandGroup.vue +45 -0
- package/src/components/ui/command/CommandInput.vue +39 -0
- package/src/components/ui/command/CommandItem.vue +76 -0
- package/src/components/ui/command/CommandList.vue +25 -0
- package/src/components/ui/command/CommandSeparator.vue +21 -0
- package/src/components/ui/command/CommandShortcut.vue +17 -0
- package/src/components/ui/context-menu/ContextMenu.vue +18 -0
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuContent.vue +37 -0
- package/src/components/ui/context-menu/ContextMenuGroup.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuItem.vue +38 -0
- package/src/components/ui/context-menu/ContextMenuLabel.vue +22 -0
- package/src/components/ui/context-menu/ContextMenuPortal.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
- package/src/components/ui/context-menu/ContextMenuSub.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuTrigger.vue +17 -0
- package/src/components/ui/dialog/Dialog.vue +15 -64
- package/src/components/ui/dialog/DialogClose.vue +15 -0
- package/src/components/ui/dialog/DialogContent.vue +62 -0
- package/src/components/ui/dialog/DialogDescription.vue +23 -0
- package/src/components/ui/dialog/DialogFooter.vue +27 -0
- package/src/components/ui/dialog/DialogHeader.vue +17 -0
- package/src/components/ui/dialog/DialogOverlay.vue +21 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +23 -0
- package/src/components/ui/dialog/DialogTrigger.vue +15 -0
- package/src/components/ui/drawer/Drawer.vue +23 -0
- package/src/components/ui/drawer/DrawerClose.vue +15 -0
- package/src/components/ui/drawer/DrawerContent.vue +38 -0
- package/src/components/ui/drawer/DrawerDescription.vue +21 -0
- package/src/components/ui/drawer/DrawerFooter.vue +17 -0
- package/src/components/ui/drawer/DrawerHeader.vue +17 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +19 -0
- package/src/components/ui/drawer/DrawerTitle.vue +21 -0
- package/src/components/ui/drawer/DrawerTrigger.vue +15 -0
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/src/components/ui/empty/Empty.vue +20 -0
- package/src/components/ui/empty/EmptyContent.vue +20 -0
- package/src/components/ui/empty/EmptyDescription.vue +20 -0
- package/src/components/ui/empty/EmptyHeader.vue +20 -0
- package/src/components/ui/empty/EmptyMedia.vue +21 -0
- package/src/components/ui/empty/EmptyTitle.vue +17 -0
- package/src/components/ui/field/Field.vue +25 -0
- package/src/components/ui/field/FieldContent.vue +20 -0
- package/src/components/ui/field/FieldDescription.vue +22 -0
- package/src/components/ui/field/FieldError.vue +53 -0
- package/src/components/ui/field/FieldGroup.vue +20 -0
- package/src/components/ui/field/FieldLabel.vue +23 -0
- package/src/components/ui/field/FieldLegend.vue +24 -0
- package/src/components/ui/field/FieldSeparator.vue +29 -0
- package/src/components/ui/field/FieldSet.vue +21 -0
- package/src/components/ui/field/FieldTitle.vue +20 -0
- package/src/components/ui/form/FormControl.vue +17 -0
- package/src/components/ui/form/FormDescription.vue +21 -0
- package/src/components/ui/form/FormItem.vue +23 -0
- package/src/components/ui/form/FormLabel.vue +25 -0
- package/src/components/ui/form/FormMessage.vue +23 -0
- package/src/components/ui/hover-card/HoverCard.vue +19 -0
- package/src/components/ui/hover-card/HoverCardContent.vue +43 -0
- package/src/components/ui/hover-card/HoverCardTrigger.vue +15 -0
- package/src/components/ui/input/Input.vue +3 -3
- package/src/components/ui/input-group/InputGroup.vue +8 -8
- package/src/components/ui/input-group/InputGroupButton.vue +9 -1
- package/src/components/ui/input-group/InputGroupInput.vue +1 -1
- package/src/components/ui/input-group/InputGroupText.vue +1 -1
- package/src/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/src/components/ui/input-otp/InputOTP.vue +28 -0
- package/src/components/ui/input-otp/InputOTPGroup.vue +22 -0
- package/src/components/ui/input-otp/InputOTPSeparator.vue +21 -0
- package/src/components/ui/input-otp/InputOTPSlot.vue +32 -0
- package/src/components/ui/item/Item.vue +2 -0
- package/src/components/ui/item/ItemActions.vue +1 -1
- package/src/components/ui/item/ItemContent.vue +1 -1
- package/src/components/ui/item/ItemDescription.vue +2 -2
- package/src/components/ui/item/ItemFooter.vue +1 -1
- package/src/components/ui/item/ItemGroup.vue +1 -1
- package/src/components/ui/item/ItemHeader.vue +1 -1
- package/src/components/ui/item/ItemSeparator.vue +1 -1
- package/src/components/ui/item/ItemTitle.vue +1 -1
- package/src/components/ui/kbd/Kbd.vue +21 -0
- package/src/components/ui/kbd/KbdGroup.vue +17 -0
- package/src/components/ui/label/Label.vue +1 -1
- package/src/components/ui/menubar/Menubar.vue +33 -0
- package/src/components/ui/menubar/MenubarCheckboxItem.vue +39 -0
- package/src/components/ui/menubar/MenubarContent.vue +45 -0
- package/src/components/ui/menubar/MenubarGroup.vue +15 -0
- package/src/components/ui/menubar/MenubarItem.vue +36 -0
- package/src/components/ui/menubar/MenubarLabel.vue +20 -0
- package/src/components/ui/menubar/MenubarMenu.vue +15 -0
- package/src/components/ui/menubar/MenubarRadioGroup.vue +21 -0
- package/src/components/ui/menubar/MenubarRadioItem.vue +39 -0
- package/src/components/ui/menubar/MenubarSeparator.vue +21 -0
- package/src/components/ui/menubar/MenubarShortcut.vue +17 -0
- package/src/components/ui/menubar/MenubarSub.vue +24 -0
- package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
- package/src/components/ui/menubar/MenubarSubTrigger.vue +28 -0
- package/src/components/ui/menubar/MenubarTrigger.vue +28 -0
- package/src/components/ui/native-select/NativeSelect.vue +50 -0
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
- package/src/components/ui/native-select/NativeSelectOption.vue +15 -0
- package/src/components/ui/navigation-menu/NavigationMenu.vue +35 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +31 -0
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +21 -0
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +26 -0
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +28 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +31 -0
- package/src/components/ui/number-field/NumberField.vue +20 -0
- package/src/components/ui/number-field/NumberFieldContent.vue +14 -0
- package/src/components/ui/number-field/NumberFieldDecrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldIncrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldInput.vue +16 -0
- package/src/components/ui/pagination/Pagination.vue +26 -0
- package/src/components/ui/pagination/PaginationContent.vue +22 -0
- package/src/components/ui/pagination/PaginationEllipsis.vue +25 -0
- package/src/components/ui/pagination/PaginationFirst.vue +33 -0
- package/src/components/ui/pagination/PaginationItem.vue +34 -0
- package/src/components/ui/pagination/PaginationLast.vue +33 -0
- package/src/components/ui/pagination/PaginationNext.vue +33 -0
- package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
- package/src/components/ui/pin-input/PinInput.vue +26 -0
- package/src/components/ui/pin-input/PinInputGroup.vue +21 -0
- package/src/components/ui/pin-input/PinInputSeparator.vue +19 -0
- package/src/components/ui/pin-input/PinInputSlot.vue +21 -0
- package/src/components/ui/popover/Popover.vue +19 -0
- package/src/components/ui/popover/PopoverAnchor.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +45 -0
- package/src/components/ui/popover/PopoverTrigger.vue +15 -0
- package/src/components/ui/progress/Progress.vue +9 -12
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +40 -0
- package/src/components/ui/range-calendar/RangeCalendar.vue +62 -0
- package/src/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +41 -0
- package/src/components/ui/range-calendar/RangeCalendarGrid.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarGridBody.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridHead.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeader.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeading.vue +30 -0
- package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/src/components/ui/resizable/ResizableHandle.vue +30 -0
- package/src/components/ui/resizable/ResizablePanel.vue +21 -0
- package/src/components/ui/resizable/ResizablePanelGroup.vue +25 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +2 -2
- package/src/components/ui/scroll-area/ScrollBar.vue +22 -16
- package/src/components/ui/select/SelectContent.vue +27 -18
- package/src/components/ui/select/SelectItem.vue +3 -3
- package/src/components/ui/select/SelectLabel.vue +1 -1
- package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
- package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
- package/src/components/ui/select/SelectSeparator.vue +1 -1
- package/src/components/ui/select/SelectTrigger.vue +2 -2
- package/src/components/ui/separator/Separator.vue +1 -1
- package/src/components/ui/sheet/SheetContent.vue +31 -28
- package/src/components/ui/sheet/SheetDescription.vue +1 -1
- package/src/components/ui/sheet/SheetFooter.vue +1 -1
- package/src/components/ui/sheet/SheetHeader.vue +1 -1
- package/src/components/ui/sheet/SheetOverlay.vue +1 -1
- package/src/components/ui/sheet/SheetTitle.vue +1 -1
- package/src/components/ui/sidebar/Sidebar.vue +16 -16
- package/src/components/ui/sidebar/SidebarContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarFooter.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroup.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupAction.vue +3 -3
- package/src/components/ui/sidebar/SidebarGroupContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +2 -2
- package/src/components/ui/sidebar/SidebarHeader.vue +1 -1
- package/src/components/ui/sidebar/SidebarInput.vue +1 -1
- package/src/components/ui/sidebar/SidebarInset.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenu.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuAction.vue +7 -7
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +6 -6
- package/src/components/ui/sidebar/SidebarMenuItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +3 -3
- package/src/components/ui/sidebar/SidebarMenuSub.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +5 -5
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarProvider.vue +1 -1
- package/src/components/ui/sidebar/SidebarRail.vue +6 -6
- package/src/components/ui/sidebar/SidebarSeparator.vue +1 -1
- package/src/components/ui/sidebar/SidebarTrigger.vue +2 -2
- package/src/components/ui/skeleton/Skeleton.vue +1 -1
- package/src/components/ui/slider/Slider.vue +43 -0
- package/src/components/ui/sonner/Sonner.vue +7 -7
- package/src/components/ui/spinner/Spinner.vue +17 -0
- package/src/components/ui/stepper/Stepper.vue +27 -0
- package/src/components/ui/stepper/StepperDescription.vue +19 -0
- package/src/components/ui/stepper/StepperIndicator.vue +32 -0
- package/src/components/ui/stepper/StepperItem.vue +23 -0
- package/src/components/ui/stepper/StepperSeparator.vue +27 -0
- package/src/components/ui/stepper/StepperTitle.vue +19 -0
- package/src/components/ui/stepper/StepperTrigger.vue +22 -0
- package/src/components/ui/switch/Switch.vue +2 -2
- package/src/components/ui/table/Table.vue +12 -6
- package/src/components/ui/table/TableBody.vue +1 -1
- package/src/components/ui/table/TableCaption.vue +1 -1
- package/src/components/ui/table/TableCell.vue +1 -1
- package/src/components/ui/table/TableEmpty.vue +17 -14
- package/src/components/ui/table/TableFooter.vue +1 -1
- package/src/components/ui/table/TableHead.vue +1 -1
- package/src/components/ui/table/TableHeader.vue +1 -1
- package/src/components/ui/table/TableRow.vue +1 -1
- package/src/components/ui/tabs/Tabs.vue +1 -1
- package/src/components/ui/tabs/TabsContent.vue +1 -1
- package/src/components/ui/tabs/TabsList.vue +1 -1
- package/src/components/ui/tabs/TabsTrigger.vue +1 -1
- package/src/components/ui/tags-input/TagsInput.vue +26 -0
- package/src/components/ui/tags-input/TagsInputInput.vue +17 -0
- package/src/components/ui/tags-input/TagsInputItem.vue +20 -0
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
- package/src/components/ui/tags-input/TagsInputItemText.vue +19 -0
- package/src/components/ui/textarea/Textarea.vue +1 -1
- package/src/components/ui/toggle/Toggle.vue +35 -0
- package/src/components/ui/toggle-group/ToggleGroup.vue +49 -0
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
- package/src/components/ui/tooltip/TooltipContent.vue +2 -2
- package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +0 -75
- package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +0 -49
- package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +0 -54
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { SplitterGroupEmits, SplitterGroupProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { SplitterGroup, useForwardPropsEmits } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<SplitterGroupProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
const emits = defineEmits<SplitterGroupEmits>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
|
|
13
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<SplitterGroup
|
|
18
|
+
v-slot="slotProps"
|
|
19
|
+
data-slot="resizable-panel-group"
|
|
20
|
+
v-bind="forwarded"
|
|
21
|
+
:class="cn('tw:flex tw:h-full tw:w-full tw:data-[orientation=vertical]:flex-col', props.class)"
|
|
22
|
+
>
|
|
23
|
+
<slot v-bind="slotProps" />
|
|
24
|
+
</SplitterGroup>
|
|
25
|
+
</template>
|
|
@@ -19,11 +19,11 @@ const delegatedProps = reactiveOmit(props, "class")
|
|
|
19
19
|
<ScrollAreaRoot
|
|
20
20
|
data-slot="scroll-area"
|
|
21
21
|
v-bind="delegatedProps"
|
|
22
|
-
:class="cn('relative', props.class)"
|
|
22
|
+
:class="cn('tw:relative', props.class)"
|
|
23
23
|
>
|
|
24
24
|
<ScrollAreaViewport
|
|
25
25
|
data-slot="scroll-area-viewport"
|
|
26
|
-
class="focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1"
|
|
26
|
+
class=""tw:focus-visible:ring-ring/50 tw:size-full tw:rounded-[inherit] tw:transition-[color,box-shadow] tw:outline-none tw:focus-visible:ring-[3px] tw:focus-visible:outline-1""
|
|
27
27
|
>
|
|
28
28
|
<slot />
|
|
29
29
|
</ScrollAreaViewport>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { ScrollAreaScrollbarProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
-
import { ScrollAreaScrollbar, ScrollAreaThumb } from "reka-ui"
|
|
6
|
-
import { cn } from "@/lib/utils"
|
|
2
|
+
import type { ScrollAreaScrollbarProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
import { ScrollAreaScrollbar, ScrollAreaThumb } from "reka-ui";
|
|
6
|
+
import { cn } from "@/lib/utils";
|
|
7
7
|
|
|
8
|
-
const props = withDefaults(
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
const props = withDefaults(
|
|
9
|
+
defineProps<ScrollAreaScrollbarProps & { class?: HTMLAttributes["class"] }>(),
|
|
10
|
+
{
|
|
11
|
+
orientation: "vertical",
|
|
12
|
+
},
|
|
13
|
+
);
|
|
11
14
|
|
|
12
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
15
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
13
16
|
</script>
|
|
14
17
|
|
|
15
18
|
<template>
|
|
@@ -17,16 +20,19 @@ const delegatedProps = reactiveOmit(props, "class")
|
|
|
17
20
|
data-slot="scroll-area-scrollbar"
|
|
18
21
|
v-bind="delegatedProps"
|
|
19
22
|
:class="
|
|
20
|
-
cn(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
cn(
|
|
24
|
+
'tw:flex tw:touch-none tw:p-px tw:transition-colors tw:select-none',
|
|
25
|
+
orientation === 'vertical' &&
|
|
26
|
+
'tw:h-full tw:w-2.5 tw:border-l tw:border-l-transparent',
|
|
27
|
+
orientation === 'horizontal' &&
|
|
28
|
+
'tw:h-2.5 tw:flex-col tw:border-t tw:border-t-transparent',
|
|
29
|
+
props.class,
|
|
30
|
+
)
|
|
31
|
+
"
|
|
26
32
|
>
|
|
27
33
|
<ScrollAreaThumb
|
|
28
34
|
data-slot="scroll-area-thumb"
|
|
29
|
-
class="bg-border relative flex-1 rounded-full"
|
|
35
|
+
class="tw:bg-border tw:relative tw:flex-1 tw:rounded-full"
|
|
30
36
|
/>
|
|
31
37
|
</ScrollAreaScrollbar>
|
|
32
38
|
</template>
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import type { SelectContentEmits, SelectContentProps } from "reka-ui"
|
|
3
|
-
import type { HTMLAttributes } from "vue"
|
|
4
|
-
import { reactiveOmit } from "@vueuse/core"
|
|
2
|
+
import type { SelectContentEmits, SelectContentProps } from "reka-ui";
|
|
3
|
+
import type { HTMLAttributes } from "vue";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
5
|
import {
|
|
6
6
|
SelectContent,
|
|
7
7
|
SelectPortal,
|
|
8
8
|
SelectViewport,
|
|
9
9
|
useForwardPropsEmits,
|
|
10
|
-
} from "reka-ui"
|
|
11
|
-
import { cn } from "@/lib/utils"
|
|
12
|
-
import { SelectScrollDownButton, SelectScrollUpButton } from "."
|
|
10
|
+
} from "reka-ui";
|
|
11
|
+
import { cn } from "@/lib/utils";
|
|
12
|
+
import { SelectScrollDownButton, SelectScrollUpButton } from ".";
|
|
13
13
|
|
|
14
14
|
defineOptions({
|
|
15
15
|
inheritAttrs: false,
|
|
16
|
-
})
|
|
16
|
+
});
|
|
17
17
|
|
|
18
18
|
const props = withDefaults(
|
|
19
19
|
defineProps<SelectContentProps & { class?: HTMLAttributes["class"] }>(),
|
|
20
20
|
{
|
|
21
21
|
position: "popper",
|
|
22
22
|
},
|
|
23
|
-
)
|
|
24
|
-
const emits = defineEmits<SelectContentEmits>()
|
|
23
|
+
);
|
|
24
|
+
const emits = defineEmits<SelectContentEmits>();
|
|
25
25
|
|
|
26
|
-
const delegatedProps = reactiveOmit(props, "class")
|
|
26
|
+
const delegatedProps = reactiveOmit(props, "class");
|
|
27
27
|
|
|
28
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
28
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
31
|
<template>
|
|
@@ -33,16 +33,25 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
|
33
33
|
<SelectContent
|
|
34
34
|
data-slot="select-content"
|
|
35
35
|
v-bind="{ ...$attrs, ...forwarded }"
|
|
36
|
-
:class="
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
:class="
|
|
37
|
+
cn(
|
|
38
|
+
'tw:bg-popover tw:text-popover-foreground tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=open]:fade-in-0 tw:data-[state=closed]:zoom-out-95 tw:data-[state=open]:zoom-in-95 tw:data-[side=bottom]:slide-in-from-top-2 tw:data-[side=left]:slide-in-from-right-2 tw:data-[side=right]:slide-in-from-left-2 tw:data-[side=top]:slide-in-from-bottom-2 tw:relative tw:z-50 tw:max-h-(--reka-select-content-available-height) tw:min-w-[8rem] tw:overflow-x-hidden tw:overflow-y-auto tw:rounded-md tw:border tw:shadow-md',
|
|
39
|
+
position === 'popper' &&
|
|
40
|
+
'tw:data-[side=bottom]:translate-y-1 tw:data-[side=left]:-translate-x-1 tw:data-[side=right]:translate-x-1 tw:data-[side=top]:-translate-y-1',
|
|
41
|
+
props.class,
|
|
42
|
+
)
|
|
42
43
|
"
|
|
43
44
|
>
|
|
44
45
|
<SelectScrollUpButton />
|
|
45
|
-
<SelectViewport
|
|
46
|
+
<SelectViewport
|
|
47
|
+
:class="
|
|
48
|
+
cn(
|
|
49
|
+
'tw:p-1',
|
|
50
|
+
position === 'popper' &&
|
|
51
|
+
'tw:h-[var(--reka-select-trigger-height)] tw:w-full tw:min-w-[var(--reka-select-trigger-width)] tw:scroll-my-1',
|
|
52
|
+
)
|
|
53
|
+
"
|
|
54
|
+
>
|
|
46
55
|
<slot />
|
|
47
56
|
</SelectViewport>
|
|
48
57
|
<SelectScrollDownButton />
|
|
@@ -24,15 +24,15 @@ const forwardedProps = useForwardProps(delegatedProps)
|
|
|
24
24
|
v-bind="forwardedProps"
|
|
25
25
|
:class="
|
|
26
26
|
cn(
|
|
27
|
-
'focus:bg-accent focus:text-accent-foreground [&_svg:not([class*=\'text-\'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*=\'size-\'])]:size-4
|
|
27
|
+
'tw:focus:bg-accent tw:focus:text-accent-foreground tw:[&_svg:not([class*=\'text-\'])]:text-muted-foreground tw:relative tw:flex tw:w-full tw:cursor-default tw:items-center tw:gap-2 tw:rounded-sm tw:py-1.5 tw:pr-8 tw:pl-2 tw:text-sm tw:outline-hidden tw:select-none tw:data-[disabled]:pointer-events-none tw:data-[disabled]:opacity-50 tw:[&_svg]:pointer-events-none tw:[&_svg]:shrink-0 tw:[&_svg:not([class*=\'size-\'])]:size-4 tw:*:[span]:last:flex tw:*:[span]:last:items-center tw:*:[span]:last:gap-2',
|
|
28
28
|
props.class,
|
|
29
29
|
)
|
|
30
30
|
"
|
|
31
31
|
>
|
|
32
|
-
<span class="absolute right-2 flex size-3.5 items-center justify-center">
|
|
32
|
+
<span class=""tw:absolute tw:right-2 tw:flex tw:size-3.5 tw:items-center tw:justify-center"">
|
|
33
33
|
<SelectItemIndicator>
|
|
34
34
|
<slot name="indicator-icon">
|
|
35
|
-
<Check class="size-4" />
|
|
35
|
+
<Check class=""tw:size-4"" />
|
|
36
36
|
</slot>
|
|
37
37
|
</SelectItemIndicator>
|
|
38
38
|
</span>
|
|
@@ -10,7 +10,7 @@ const props = defineProps<SelectLabelProps & { class?: HTMLAttributes["class"] }
|
|
|
10
10
|
<template>
|
|
11
11
|
<SelectLabel
|
|
12
12
|
data-slot="select-label"
|
|
13
|
-
:class="cn('text-muted-foreground px-2 py-1.5 text-xs', props.class)"
|
|
13
|
+
:class="cn('tw:text-muted-foreground tw:px-2 tw:py-1.5 tw:text-xs', props.class)"
|
|
14
14
|
>
|
|
15
15
|
<slot />
|
|
16
16
|
</SelectLabel>
|
|
@@ -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
|
|
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
|
|
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="
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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-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
|
>
|
|
@@ -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,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
|
>
|