@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
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed, ref, watch } from
|
|
3
|
-
import LottieAnimation from
|
|
4
|
-
import { cn } from
|
|
2
|
+
import { computed, ref, watch } from "vue";
|
|
3
|
+
import { LottieAnimation } from "lottie-web-vue";
|
|
4
|
+
import { cn } from "@/lib/utils";
|
|
5
5
|
|
|
6
6
|
interface Props {
|
|
7
|
-
path?: string // Path to Lottie JSON file
|
|
8
|
-
animationData?: any // Direct animation data
|
|
9
|
-
width?: number | string
|
|
10
|
-
height?: number | string
|
|
11
|
-
loop?: boolean
|
|
12
|
-
autoplay?: boolean
|
|
13
|
-
speed?: number
|
|
14
|
-
playOnHover?: boolean
|
|
15
|
-
stopOnHoverOut?: boolean
|
|
16
|
-
direction?: number
|
|
17
|
-
renderer?:
|
|
18
|
-
className?: string
|
|
19
|
-
containerClassName?: string
|
|
20
|
-
lazy?: boolean
|
|
21
|
-
placeholder?: string
|
|
22
|
-
responsive?: boolean
|
|
23
|
-
preserveAspectRatio?: string
|
|
24
|
-
title?: string
|
|
25
|
-
ariaLabel?: string
|
|
26
|
-
role?: string
|
|
7
|
+
path?: string; // Path to Lottie JSON file
|
|
8
|
+
animationData?: any; // Direct animation data
|
|
9
|
+
width?: number | string;
|
|
10
|
+
height?: number | string;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
autoplay?: boolean;
|
|
13
|
+
speed?: number;
|
|
14
|
+
playOnHover?: boolean;
|
|
15
|
+
stopOnHoverOut?: boolean;
|
|
16
|
+
direction?: number;
|
|
17
|
+
renderer?: "svg" | "canvas" | "html";
|
|
18
|
+
className?: string;
|
|
19
|
+
containerClassName?: string;
|
|
20
|
+
lazy?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
responsive?: boolean;
|
|
23
|
+
preserveAspectRatio?: string;
|
|
24
|
+
title?: string;
|
|
25
|
+
ariaLabel?: string;
|
|
26
|
+
role?: string;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -35,34 +35,34 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
35
35
|
playOnHover: false,
|
|
36
36
|
stopOnHoverOut: false,
|
|
37
37
|
direction: 1,
|
|
38
|
-
renderer:
|
|
38
|
+
renderer: "svg",
|
|
39
39
|
lazy: false,
|
|
40
40
|
responsive: true,
|
|
41
|
-
preserveAspectRatio:
|
|
42
|
-
role:
|
|
43
|
-
})
|
|
41
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
42
|
+
role: "img",
|
|
43
|
+
});
|
|
44
44
|
|
|
45
45
|
const emit = defineEmits<{
|
|
46
|
-
load: []
|
|
47
|
-
ready: []
|
|
48
|
-
play: []
|
|
49
|
-
pause: []
|
|
50
|
-
stop: []
|
|
51
|
-
complete: []
|
|
52
|
-
loopComplete: []
|
|
53
|
-
enterFrame: [event: any]
|
|
54
|
-
error: [error: Error]
|
|
55
|
-
mouseOver: []
|
|
56
|
-
mouseOut: []
|
|
57
|
-
}>()
|
|
46
|
+
load: [];
|
|
47
|
+
ready: [];
|
|
48
|
+
play: [];
|
|
49
|
+
pause: [];
|
|
50
|
+
stop: [];
|
|
51
|
+
complete: [];
|
|
52
|
+
loopComplete: [];
|
|
53
|
+
enterFrame: [event: any];
|
|
54
|
+
error: [error: Error];
|
|
55
|
+
mouseOver: [];
|
|
56
|
+
mouseOut: [];
|
|
57
|
+
}>();
|
|
58
58
|
|
|
59
59
|
// State
|
|
60
|
-
const isLoading = ref(false)
|
|
61
|
-
const isError = ref(false)
|
|
62
|
-
const isLoaded = ref(false)
|
|
63
|
-
const isPlaying = ref(props.autoplay)
|
|
64
|
-
const error = ref<string | null>(null)
|
|
65
|
-
const lottieRef = ref<InstanceType<typeof LottieAnimation>>()
|
|
60
|
+
const isLoading = ref(false);
|
|
61
|
+
const isError = ref(false);
|
|
62
|
+
const isLoaded = ref(false);
|
|
63
|
+
const isPlaying = ref(props.autoplay);
|
|
64
|
+
const error = ref<string | null>(null);
|
|
65
|
+
const lottieRef = ref<InstanceType<typeof LottieAnimation>>();
|
|
66
66
|
|
|
67
67
|
// Computed properties
|
|
68
68
|
const lottieOptions = computed(() => ({
|
|
@@ -74,131 +74,145 @@ const lottieOptions = computed(() => ({
|
|
|
74
74
|
rendererSettings: {
|
|
75
75
|
preserveAspectRatio: props.preserveAspectRatio,
|
|
76
76
|
},
|
|
77
|
-
}))
|
|
77
|
+
}));
|
|
78
78
|
|
|
79
79
|
const containerStyle = computed(() => ({
|
|
80
|
-
width: props.width
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
width: props.width
|
|
81
|
+
? typeof props.width === "number"
|
|
82
|
+
? `${props.width}px`
|
|
83
|
+
: props.width
|
|
84
|
+
: "auto",
|
|
85
|
+
height: props.height
|
|
86
|
+
? typeof props.height === "number"
|
|
87
|
+
? `${props.height}px`
|
|
88
|
+
: props.height
|
|
89
|
+
: "auto",
|
|
90
|
+
maxWidth: props.responsive ? "100%" : undefined,
|
|
91
|
+
}));
|
|
84
92
|
|
|
85
93
|
const containerClasses = computed(() => {
|
|
86
94
|
return cn(
|
|
87
|
-
|
|
95
|
+
"relative inline-block",
|
|
88
96
|
{
|
|
89
|
-
|
|
90
|
-
|
|
97
|
+
"opacity-50": isLoading.value,
|
|
98
|
+
"opacity-100": !isLoading.value,
|
|
91
99
|
},
|
|
92
|
-
props.containerClassName
|
|
93
|
-
)
|
|
94
|
-
})
|
|
100
|
+
props.containerClassName,
|
|
101
|
+
);
|
|
102
|
+
});
|
|
95
103
|
|
|
96
104
|
const playerClasses = computed(() => {
|
|
97
|
-
return cn(
|
|
98
|
-
})
|
|
105
|
+
return cn("w-full h-full", props.className);
|
|
106
|
+
});
|
|
99
107
|
|
|
100
108
|
// Player controls
|
|
101
109
|
const play = () => {
|
|
102
110
|
if (lottieRef.value && !isPlaying.value) {
|
|
103
|
-
lottieRef.value.play()
|
|
104
|
-
isPlaying.value = true
|
|
105
|
-
emit(
|
|
111
|
+
lottieRef.value.play();
|
|
112
|
+
isPlaying.value = true;
|
|
113
|
+
emit("play");
|
|
106
114
|
}
|
|
107
|
-
}
|
|
115
|
+
};
|
|
108
116
|
|
|
109
117
|
const pause = () => {
|
|
110
118
|
if (lottieRef.value && isPlaying.value) {
|
|
111
|
-
lottieRef.value.pause()
|
|
112
|
-
isPlaying.value = false
|
|
113
|
-
emit(
|
|
119
|
+
lottieRef.value.pause();
|
|
120
|
+
isPlaying.value = false;
|
|
121
|
+
emit("pause");
|
|
114
122
|
}
|
|
115
|
-
}
|
|
123
|
+
};
|
|
116
124
|
|
|
117
125
|
const stop = () => {
|
|
118
126
|
if (lottieRef.value) {
|
|
119
|
-
lottieRef.value.stop()
|
|
120
|
-
isPlaying.value = false
|
|
121
|
-
emit(
|
|
127
|
+
lottieRef.value.stop();
|
|
128
|
+
isPlaying.value = false;
|
|
129
|
+
emit("stop");
|
|
122
130
|
}
|
|
123
|
-
}
|
|
131
|
+
};
|
|
124
132
|
|
|
125
133
|
const goToAndStop = (frame?: number) => {
|
|
126
134
|
if (lottieRef.value) {
|
|
127
|
-
lottieRef.value.goToAndStop(frame || 0, true)
|
|
135
|
+
lottieRef.value.goToAndStop(frame || 0, true);
|
|
128
136
|
}
|
|
129
|
-
}
|
|
137
|
+
};
|
|
130
138
|
|
|
131
139
|
const setDirection = (direction: number) => {
|
|
132
140
|
if (lottieRef.value) {
|
|
133
|
-
lottieRef.value.setDirection(direction)
|
|
141
|
+
lottieRef.value.setDirection(direction);
|
|
134
142
|
}
|
|
135
|
-
}
|
|
143
|
+
};
|
|
136
144
|
|
|
137
145
|
const setSpeed = (speed: number) => {
|
|
138
146
|
if (lottieRef.value) {
|
|
139
|
-
lottieRef.value.setSpeed(speed)
|
|
147
|
+
lottieRef.value.setSpeed(speed);
|
|
140
148
|
}
|
|
141
|
-
}
|
|
149
|
+
};
|
|
142
150
|
|
|
143
151
|
// Event handlers
|
|
144
152
|
const handleDataReady = () => {
|
|
145
|
-
isLoaded.value = true
|
|
146
|
-
isLoading.value = false
|
|
147
|
-
emit(
|
|
148
|
-
}
|
|
153
|
+
isLoaded.value = true;
|
|
154
|
+
isLoading.value = false;
|
|
155
|
+
emit("ready");
|
|
156
|
+
};
|
|
149
157
|
|
|
150
158
|
const handleDataFailed = () => {
|
|
151
|
-
isLoading.value = false
|
|
152
|
-
isError.value = true
|
|
153
|
-
error.value =
|
|
154
|
-
emit(
|
|
155
|
-
}
|
|
159
|
+
isLoading.value = false;
|
|
160
|
+
isError.value = true;
|
|
161
|
+
error.value = "Failed to load animation";
|
|
162
|
+
emit("error", new Error("Animation data failed to load"));
|
|
163
|
+
};
|
|
156
164
|
|
|
157
165
|
const handleDOMLoaded = () => {
|
|
158
|
-
emit(
|
|
159
|
-
}
|
|
166
|
+
emit("load");
|
|
167
|
+
};
|
|
160
168
|
|
|
161
169
|
const handleComplete = () => {
|
|
162
|
-
emit(
|
|
163
|
-
}
|
|
170
|
+
emit("complete");
|
|
171
|
+
};
|
|
164
172
|
|
|
165
173
|
const handleLoopComplete = () => {
|
|
166
|
-
emit(
|
|
167
|
-
}
|
|
174
|
+
emit("loopComplete");
|
|
175
|
+
};
|
|
168
176
|
|
|
169
177
|
const handleEnterFrame = (event: any) => {
|
|
170
|
-
emit(
|
|
171
|
-
}
|
|
178
|
+
emit("enterFrame", event);
|
|
179
|
+
};
|
|
172
180
|
|
|
173
181
|
// Hover handlers
|
|
174
182
|
const handleMouseOver = () => {
|
|
175
183
|
if (props.playOnHover && !isPlaying.value) {
|
|
176
|
-
play()
|
|
184
|
+
play();
|
|
177
185
|
}
|
|
178
|
-
emit(
|
|
179
|
-
}
|
|
186
|
+
emit("mouseOver");
|
|
187
|
+
};
|
|
180
188
|
|
|
181
189
|
const handleMouseOut = () => {
|
|
182
190
|
if (props.stopOnHoverOut && isPlaying.value) {
|
|
183
|
-
pause()
|
|
191
|
+
pause();
|
|
184
192
|
}
|
|
185
|
-
emit(
|
|
186
|
-
}
|
|
193
|
+
emit("mouseOut");
|
|
194
|
+
};
|
|
187
195
|
|
|
188
196
|
// Watch for prop changes
|
|
189
197
|
watch([() => props.path, () => props.animationData], () => {
|
|
190
|
-
isLoading.value = true
|
|
191
|
-
isLoaded.value = false
|
|
192
|
-
isError.value = false
|
|
193
|
-
})
|
|
198
|
+
isLoading.value = true;
|
|
199
|
+
isLoaded.value = false;
|
|
200
|
+
isError.value = false;
|
|
201
|
+
});
|
|
194
202
|
|
|
195
|
-
watch(
|
|
196
|
-
|
|
197
|
-
|
|
203
|
+
watch(
|
|
204
|
+
() => props.speed,
|
|
205
|
+
(newSpeed) => {
|
|
206
|
+
setSpeed(newSpeed);
|
|
207
|
+
},
|
|
208
|
+
);
|
|
198
209
|
|
|
199
|
-
watch(
|
|
200
|
-
|
|
201
|
-
|
|
210
|
+
watch(
|
|
211
|
+
() => props.direction,
|
|
212
|
+
(newDirection) => {
|
|
213
|
+
setDirection(newDirection);
|
|
214
|
+
},
|
|
215
|
+
);
|
|
202
216
|
|
|
203
217
|
// Expose methods
|
|
204
218
|
defineExpose({
|
|
@@ -212,11 +226,11 @@ defineExpose({
|
|
|
212
226
|
isPlaying,
|
|
213
227
|
isLoading,
|
|
214
228
|
isError,
|
|
215
|
-
})
|
|
229
|
+
});
|
|
216
230
|
</script>
|
|
217
231
|
|
|
218
232
|
<template>
|
|
219
|
-
<div
|
|
233
|
+
<div
|
|
220
234
|
:class="containerClasses"
|
|
221
235
|
:style="containerStyle"
|
|
222
236
|
:title="title"
|
|
@@ -226,14 +240,24 @@ defineExpose({
|
|
|
226
240
|
@mouseout="handleMouseOut"
|
|
227
241
|
>
|
|
228
242
|
<!-- Loading placeholder -->
|
|
229
|
-
<div
|
|
230
|
-
|
|
231
|
-
|
|
243
|
+
<div
|
|
244
|
+
v-if="isLoading && !isLoaded"
|
|
245
|
+
class="tw:flex tw:items-center tw:justify-center tw:h-full"
|
|
246
|
+
>
|
|
247
|
+
<div
|
|
248
|
+
class="tw:animate-spin tw:rounded-full tw:h-8 tw:w-8 tw:border-b-2 tw:border-primary"
|
|
249
|
+
></div>
|
|
250
|
+
<span v-if="placeholder" class="tw:ml-2 tw:text-sm tw:text-muted-foreground">{{
|
|
251
|
+
placeholder
|
|
252
|
+
}}</span>
|
|
232
253
|
</div>
|
|
233
254
|
|
|
234
255
|
<!-- Error state -->
|
|
235
|
-
<div
|
|
236
|
-
|
|
256
|
+
<div
|
|
257
|
+
v-else-if="isError"
|
|
258
|
+
class="tw:flex tw:items-center tw:justify-center tw:h-full tw:text-destructive"
|
|
259
|
+
>
|
|
260
|
+
<div class="tw:text-sm">{{ error || "Failed to load animation" }}</div>
|
|
237
261
|
</div>
|
|
238
262
|
|
|
239
263
|
<!-- Lottie Animation -->
|
|
@@ -121,48 +121,47 @@ const handleClose = () => {
|
|
|
121
121
|
<!-- Header -->
|
|
122
122
|
<div
|
|
123
123
|
v-if="title || $slots.header || showCloseButton"
|
|
124
|
-
:class="cn(
|
|
125
|
-
'flex items-center justify-between',
|
|
124
|
+
:class="cn( 'flex items-center justify-between',
|
|
126
125
|
isFullscreen ? 'border-b p-6' : 'mb-4'
|
|
127
126
|
)"
|
|
128
127
|
>
|
|
129
128
|
<!-- Title and description -->
|
|
130
|
-
<div class="space-y-1">
|
|
129
|
+
<div class="tw:space-y-1">
|
|
131
130
|
<DialogTitle
|
|
132
131
|
v-if="title || $slots.title"
|
|
133
|
-
class="text-lg font-semibold leading-none tracking-tight"
|
|
132
|
+
class="tw:text-lg tw:font-semibold tw:leading-none tw:tracking-tight"
|
|
134
133
|
>
|
|
135
134
|
<slot name="title">{{ title }}</slot>
|
|
136
135
|
</DialogTitle>
|
|
137
136
|
<DialogDescription
|
|
138
137
|
v-if="description || $slots.description"
|
|
139
|
-
class="text-sm text-muted-foreground"
|
|
138
|
+
class="tw:text-sm tw:text-muted-foreground"
|
|
140
139
|
>
|
|
141
140
|
<slot name="description">{{ description }}</slot>
|
|
142
141
|
</DialogDescription>
|
|
143
142
|
</div>
|
|
144
143
|
|
|
145
144
|
<!-- Close button -->
|
|
146
|
-
<div class="flex items-center gap-2">
|
|
145
|
+
<div class="tw:flex tw:items-center tw:gap-2">
|
|
147
146
|
<!-- Fullscreen toggle -->
|
|
148
147
|
<button
|
|
149
148
|
v-if="!fullscreen"
|
|
150
149
|
type="button"
|
|
151
|
-
class="rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none"
|
|
150
|
+
class="tw:rounded-sm tw:opacity-70 tw:ring-offset-background tw:transition-opacity hover:tw:opacity-100 focus:tw:outline-none focus:tw:ring-2 focus:tw:ring-ring focus:tw:ring-offset-2 disabled:tw:pointer-events-none"
|
|
152
151
|
:title="isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen'"
|
|
153
152
|
@click="isFullscreen = !isFullscreen"
|
|
154
153
|
>
|
|
155
|
-
<Maximize2 v-if="!isFullscreen" class="h-4 w-4" />
|
|
156
|
-
<Minimize2 v-else class="h-4 w-4" />
|
|
154
|
+
<Maximize2 v-if="!isFullscreen" class="tw:h-4 tw:w-4" />
|
|
155
|
+
<Minimize2 v-else class="tw:h-4 tw:w-4" />
|
|
157
156
|
</button>
|
|
158
157
|
|
|
159
158
|
<!-- Close button -->
|
|
160
159
|
<DialogClose
|
|
161
160
|
v-if="showCloseButton && !persistent"
|
|
162
|
-
class="rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none"
|
|
161
|
+
class="tw:rounded-sm tw:opacity-70 tw:ring-offset-background tw:transition-opacity hover:tw:opacity-100 focus:tw:outline-none focus:tw:ring-2 focus:tw:ring-ring focus:tw:ring-offset-2 disabled:tw:pointer-events-none"
|
|
163
162
|
>
|
|
164
|
-
<X class="h-4 w-4" />
|
|
165
|
-
<span class="sr-only">Close</span>
|
|
163
|
+
<X class="tw:h-4 tw:w-4" />
|
|
164
|
+
<span class="tw:sr-only">Close</span>
|
|
166
165
|
</DialogClose>
|
|
167
166
|
</div>
|
|
168
167
|
</div>
|
|
@@ -181,8 +180,7 @@ const handleClose = () => {
|
|
|
181
180
|
<!-- Default actions -->
|
|
182
181
|
<div
|
|
183
182
|
v-if="$slots.actions"
|
|
184
|
-
:class="cn(
|
|
185
|
-
'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',
|
|
183
|
+
:class="cn( 'flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2',
|
|
186
184
|
isFullscreen ? 'border-t p-6 mt-auto' : 'mt-6'
|
|
187
185
|
)"
|
|
188
186
|
>
|
|
@@ -59,7 +59,7 @@ const triggerRef = ref<HTMLElement>()
|
|
|
59
59
|
v-if="!$slots.trigger"
|
|
60
60
|
ref="triggerRef"
|
|
61
61
|
@click="isOpen = !isOpen"
|
|
62
|
-
class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90"
|
|
62
|
+
class="tw:inline-flex tw:items-center tw:justify-center tw:rounded-md tw:text-sm tw:font-medium tw:transition-colors focus-visible:tw:outline-none focus-visible:tw:ring-2 focus-visible:tw:ring-ring focus-visible:tw:ring-offset-2 disabled:tw:pointer-events-none disabled:tw:opacity-50 tw:bg-primary tw:text-primary-foreground hover:tw:bg-primary/90"
|
|
63
63
|
>
|
|
64
64
|
Open Modal
|
|
65
65
|
</button>
|
|
@@ -170,13 +170,13 @@ const handleJumperChange = (event: Event) => {
|
|
|
170
170
|
<template>
|
|
171
171
|
<div :class="containerClasses">
|
|
172
172
|
<!-- Total items display -->
|
|
173
|
-
<div v-if="showTotal && totalItems" class="text-sm text-muted-foreground">
|
|
173
|
+
<div v-if="showTotal && totalItems" class="tw:text-sm tw:text-muted-foreground">
|
|
174
174
|
Total: {{ totalItems }} items
|
|
175
175
|
</div>
|
|
176
176
|
|
|
177
177
|
<!-- Page size changer -->
|
|
178
|
-
<div v-if="showSizeChanger" class="flex items-center gap-2">
|
|
179
|
-
<span class="text-sm text-muted-foreground">Items per page:</span>
|
|
178
|
+
<div v-if="showSizeChanger" class="tw:flex tw:items-center tw:gap-2">
|
|
179
|
+
<span class="tw:text-sm tw:text-muted-foreground">Items per page:</span>
|
|
180
180
|
<select
|
|
181
181
|
v-model="itemsPerPageInternal"
|
|
182
182
|
:disabled="disabled"
|
|
@@ -189,7 +189,7 @@ const handleJumperChange = (event: Event) => {
|
|
|
189
189
|
</div>
|
|
190
190
|
|
|
191
191
|
<!-- Pagination buttons -->
|
|
192
|
-
<div class="flex items-center gap-1">
|
|
192
|
+
<div class="tw:flex tw:items-center tw:gap-1">
|
|
193
193
|
<!-- Previous button -->
|
|
194
194
|
<button
|
|
195
195
|
:class="buttonClasses"
|
|
@@ -197,7 +197,7 @@ const handleJumperChange = (event: Event) => {
|
|
|
197
197
|
@click="handlePrev"
|
|
198
198
|
aria-label="Previous page"
|
|
199
199
|
>
|
|
200
|
-
<ChevronLeft class="h-4 w-4" />
|
|
200
|
+
<ChevronLeft class="tw:h-4 tw:w-4" />
|
|
201
201
|
</button>
|
|
202
202
|
|
|
203
203
|
<!-- Page numbers -->
|
|
@@ -212,9 +212,9 @@ const handleJumperChange = (event: Event) => {
|
|
|
212
212
|
</button>
|
|
213
213
|
<span
|
|
214
214
|
v-else
|
|
215
|
-
class="flex items-center justify-center h-8 w-8 text-sm text-muted-foreground"
|
|
215
|
+
class="tw:flex tw:items-center tw:justify-center tw:h-8 tw:w-8 tw:text-sm tw:text-muted-foreground"
|
|
216
216
|
>
|
|
217
|
-
<MoreHorizontal class="h-4 w-4" />
|
|
217
|
+
<MoreHorizontal class="tw:h-4 tw:w-4" />
|
|
218
218
|
</span>
|
|
219
219
|
</template>
|
|
220
220
|
|
|
@@ -225,13 +225,13 @@ const handleJumperChange = (event: Event) => {
|
|
|
225
225
|
@click="handleNext"
|
|
226
226
|
aria-label="Next page"
|
|
227
227
|
>
|
|
228
|
-
<ChevronRight class="h-4 w-4" />
|
|
228
|
+
<ChevronRight class="tw:h-4 tw:w-4" />
|
|
229
229
|
</button>
|
|
230
230
|
</div>
|
|
231
231
|
|
|
232
232
|
<!-- Quick jumper -->
|
|
233
|
-
<div v-if="showQuickJumper" class="flex items-center gap-2">
|
|
234
|
-
<span class="text-sm text-muted-foreground">Go to page:</span>
|
|
233
|
+
<div v-if="showQuickJumper" class="tw:flex tw:items-center tw:gap-2">
|
|
234
|
+
<span class="tw:text-sm tw:text-muted-foreground">Go to page:</span>
|
|
235
235
|
<input
|
|
236
236
|
type="number"
|
|
237
237
|
:min="1"
|
|
@@ -71,9 +71,9 @@ const labelClasses = computed(() => {
|
|
|
71
71
|
</script>
|
|
72
72
|
|
|
73
73
|
<template>
|
|
74
|
-
<div class="space-y-2">
|
|
74
|
+
<div class="tw:space-y-2">
|
|
75
75
|
<!-- Label -->
|
|
76
|
-
<div v-if="showLabel && (label || $slots.label)" class="flex items-center justify-between">
|
|
76
|
+
<div v-if="showLabel && (label || $slots.label)" class="tw:flex tw:items-center tw:justify-between">
|
|
77
77
|
<div :class="labelClasses">
|
|
78
78
|
<slot name="label">{{ label }}</slot>
|
|
79
79
|
</div>
|
|
@@ -94,7 +94,7 @@ const labelClasses = computed(() => {
|
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
<!-- Value display -->
|
|
97
|
-
<div v-if="$slots.value" class="text-sm text-muted-foreground">
|
|
97
|
+
<div v-if="$slots.value" class="tw:text-sm tw:text-muted-foreground">
|
|
98
98
|
<slot name="value" :value="value" :percentage="percentage" />
|
|
99
99
|
</div>
|
|
100
100
|
</div>
|
|
@@ -78,9 +78,9 @@ const labelClasses = computed(() => {
|
|
|
78
78
|
</script>
|
|
79
79
|
|
|
80
80
|
<template>
|
|
81
|
-
<div class="space-y-2">
|
|
81
|
+
<div class="tw:space-y-2">
|
|
82
82
|
<!-- Label -->
|
|
83
|
-
<div v-if="showLabel && (label || $slots.label)" class="flex items-center justify-between">
|
|
83
|
+
<div v-if="showLabel && (label || $slots.label)" class="tw:flex tw:items-center tw:justify-between">
|
|
84
84
|
<div :class="labelClasses">
|
|
85
85
|
<slot name="label">{{ label }}</slot>
|
|
86
86
|
</div>
|
|
@@ -101,13 +101,13 @@ const labelClasses = computed(() => {
|
|
|
101
101
|
<!-- Animated shimmer effect -->
|
|
102
102
|
<div
|
|
103
103
|
v-if="animated && !indeterminate"
|
|
104
|
-
class="h-full w-full bg-gradient-to-r from-transparent via-white/20 to-transparent animate-[shimmer_2s_ease-in-out_infinite]"
|
|
104
|
+
class="tw:h-full tw:w-full tw:bg-gradient-to-r tw:from-transparent tw:via-white/20 tw:to-transparent tw:animate-[shimmer_2s_ease-in-out_infinite]"
|
|
105
105
|
/>
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
109
|
<!-- Value display -->
|
|
110
|
-
<div v-if="$slots.value" class="text-sm text-muted-foreground">
|
|
110
|
+
<div v-if="$slots.value" class="tw:text-sm tw:text-muted-foreground">
|
|
111
111
|
<slot name="value" :value="value" :percentage="percentage" />
|
|
112
112
|
</div>
|
|
113
113
|
</div>
|
|
@@ -105,7 +105,7 @@ const decimals = computed(() => {
|
|
|
105
105
|
<!-- Label -->
|
|
106
106
|
<div
|
|
107
107
|
v-if="showLabel && (label || $slots.label)"
|
|
108
|
-
class="flex items-center justify-between mb-2"
|
|
108
|
+
class="tw:flex tw:items-center tw:justify-between tw:mb-2"
|
|
109
109
|
>
|
|
110
110
|
<div :class="labelClasses">
|
|
111
111
|
<slot name="label">{{ label }}</slot>
|
|
@@ -131,13 +131,13 @@ const decimals = computed(() => {
|
|
|
131
131
|
</SliderRoot>
|
|
132
132
|
|
|
133
133
|
<!-- Scale markers for byte units -->
|
|
134
|
-
<div class="relative mt-2 flex justify-between text-xs text-muted-foreground">
|
|
134
|
+
<div class="tw:relative tw:mt-2 tw:flex tw:justify-between tw:text-xs tw:text-muted-foreground">
|
|
135
135
|
<span v-if="showByteUnits">{{ formatBytes(min) }}</span>
|
|
136
136
|
<span v-if="showByteUnits">{{ formatBytes(max) }}</span>
|
|
137
137
|
</div>
|
|
138
138
|
|
|
139
139
|
<!-- Custom value display -->
|
|
140
|
-
<div v-if="$slots.value" class="mt-2">
|
|
140
|
+
<div v-if="$slots.value" class="tw:mt-2">
|
|
141
141
|
<slot name="value" :value="value" :display-value="displayValue" />
|
|
142
142
|
</div>
|
|
143
143
|
</div>
|
|
@@ -104,7 +104,7 @@ const valueClasses = computed(() => {
|
|
|
104
104
|
<!-- Label -->
|
|
105
105
|
<div
|
|
106
106
|
v-if="showLabel && (label || $slots.label)"
|
|
107
|
-
class="flex items-center justify-between mb-2"
|
|
107
|
+
class="tw:flex tw:items-center tw:justify-between tw:mb-2"
|
|
108
108
|
>
|
|
109
109
|
<div :class="labelClasses">
|
|
110
110
|
<slot name="label">{{ label }}</slot>
|
|
@@ -135,7 +135,7 @@ const valueClasses = computed(() => {
|
|
|
135
135
|
</SliderRoot>
|
|
136
136
|
|
|
137
137
|
<!-- Custom value display -->
|
|
138
|
-
<div v-if="$slots.value" class="mt-2">
|
|
138
|
+
<div v-if="$slots.value" class="tw:mt-2">
|
|
139
139
|
<slot name="value" :value="value" :display-value="displayValue" />
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
@@ -99,21 +99,21 @@ const handleKeydown = (event: KeyboardEvent) => {
|
|
|
99
99
|
tabindex="0"
|
|
100
100
|
>
|
|
101
101
|
<!-- Icon slot/component -->
|
|
102
|
-
<div v-if="icon && !isFilter" class="flex items-center justify-center">
|
|
102
|
+
<div v-if="icon && !isFilter" class="tw:flex tw:items-center tw:justify-center">
|
|
103
103
|
<component
|
|
104
104
|
v-if="typeof icon === 'object'"
|
|
105
105
|
:is="icon"
|
|
106
|
-
class="h-3 w-3"
|
|
106
|
+
class="tw:h-3 tw:w-3"
|
|
107
107
|
/>
|
|
108
108
|
<div
|
|
109
109
|
v-else-if="typeof icon === 'string'"
|
|
110
110
|
v-html="icon"
|
|
111
|
-
class="h-3 w-3"
|
|
111
|
+
class="tw:h-3 tw:w-3"
|
|
112
112
|
/>
|
|
113
113
|
</div>
|
|
114
114
|
|
|
115
115
|
<!-- Label content -->
|
|
116
|
-
<span class="truncate max-w-[200px]">
|
|
116
|
+
<span class="tw:truncate tw:max-w-[200px]">
|
|
117
117
|
<slot>{{ label }}</slot>
|
|
118
118
|
</span>
|
|
119
119
|
|
|
@@ -121,8 +121,7 @@ const handleKeydown = (event: KeyboardEvent) => {
|
|
|
121
121
|
<button
|
|
122
122
|
v-if="isFilter"
|
|
123
123
|
type="button"
|
|
124
|
-
:class="cn(
|
|
125
|
-
'flex items-center justify-center rounded-full hover:bg-black/10 dark:hover:bg-white/10 transition-colors',
|
|
124
|
+
:class="cn( 'flex items-center justify-center rounded-full hover:bg-black/10 dark:hover:bg-white/10 transition-colors',
|
|
126
125
|
'ml-1 -mr-1 h-4 w-4 p-0',
|
|
127
126
|
{
|
|
128
127
|
'opacity-50 cursor-not-allowed': disabled,
|
|
@@ -133,7 +132,7 @@ const handleKeydown = (event: KeyboardEvent) => {
|
|
|
133
132
|
:title="clearAriaLabel"
|
|
134
133
|
@click="handleRemove"
|
|
135
134
|
>
|
|
136
|
-
<X class="h-3 w-3" />
|
|
135
|
+
<X class="tw:h-3 tw:w-3" />
|
|
137
136
|
</button>
|
|
138
137
|
</component>
|
|
139
138
|
</template>
|