@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
|
@@ -125,16 +125,16 @@ const iconClass = computed(() => {
|
|
|
125
125
|
|
|
126
126
|
<template>
|
|
127
127
|
<Card :class="cardClasses">
|
|
128
|
-
<CardHeader class="pb-3">
|
|
129
|
-
<div class="flex items-center justify-between">
|
|
130
|
-
<CardTitle class="flex items-center gap-3">
|
|
128
|
+
<CardHeader class="tw:pb-3">
|
|
129
|
+
<div class="tw:flex tw:items-center tw:justify-between">
|
|
130
|
+
<CardTitle class="tw:flex tw:items-center tw:gap-3">
|
|
131
131
|
<component
|
|
132
132
|
v-if="icon"
|
|
133
133
|
:is="icon"
|
|
134
134
|
:class="iconClass"
|
|
135
135
|
/>
|
|
136
136
|
<div>
|
|
137
|
-
<div class="text-lg font-semibold">{{ title }}</div>
|
|
137
|
+
<div class="tw:text-lg tw:font-semibold">{{ title }}</div>
|
|
138
138
|
<CardDescription v-if="description">
|
|
139
139
|
{{ description }}
|
|
140
140
|
</CardDescription>
|
|
@@ -148,53 +148,53 @@ const iconClass = computed(() => {
|
|
|
148
148
|
</div>
|
|
149
149
|
</CardHeader>
|
|
150
150
|
|
|
151
|
-
<CardContent class="space-y-4">
|
|
151
|
+
<CardContent class="tw:space-y-4">
|
|
152
152
|
<!-- Loading state -->
|
|
153
|
-
<div v-if="loading" class="space-y-3">
|
|
154
|
-
<Skeleton class="h-4 w-3/4" />
|
|
155
|
-
<Skeleton class="h-4 w-1/2" />
|
|
156
|
-
<Skeleton class="h-4 w-2/3" />
|
|
153
|
+
<div v-if="loading" class="tw:space-y-3">
|
|
154
|
+
<Skeleton class="tw:h-4 tw:w-3/4" />
|
|
155
|
+
<Skeleton class="tw:h-4 tw:w-1/2" />
|
|
156
|
+
<Skeleton class="tw:h-4 tw:w-2/3" />
|
|
157
157
|
</div>
|
|
158
158
|
|
|
159
159
|
<!-- Service details -->
|
|
160
|
-
<div v-else class="space-y-3">
|
|
160
|
+
<div v-else class="tw:space-y-3">
|
|
161
161
|
<!-- Service name -->
|
|
162
|
-
<div v-if="serviceName" class="text-sm text-muted-foreground">
|
|
163
|
-
<span class="font-medium">Service:</span> {{ serviceName }}
|
|
162
|
+
<div v-if="serviceName" class="tw:text-sm tw:text-muted-foreground">
|
|
163
|
+
<span class="tw:font-medium">Service:</span> {{ serviceName }}
|
|
164
164
|
</div>
|
|
165
165
|
|
|
166
166
|
<!-- Uptime -->
|
|
167
|
-
<div v-if="showUptime && status?.uptime" class="flex items-center gap-2">
|
|
168
|
-
<Clock class="h-4 w-4 text-muted-foreground" />
|
|
169
|
-
<span class="text-sm">
|
|
170
|
-
<span class="font-medium">Uptime:</span> {{ status.uptime }}
|
|
167
|
+
<div v-if="showUptime && status?.uptime" class="tw:flex tw:items-center tw:gap-2">
|
|
168
|
+
<Clock class="tw:h-4 tw:w-4 tw:text-muted-foreground" />
|
|
169
|
+
<span class="tw:text-sm">
|
|
170
|
+
<span class="tw:font-medium">Uptime:</span> {{ status.uptime }}
|
|
171
171
|
</span>
|
|
172
172
|
</div>
|
|
173
173
|
|
|
174
174
|
<!-- Last restart -->
|
|
175
|
-
<div v-if="status?.lastRestart" class="text-sm text-muted-foreground">
|
|
176
|
-
<span class="font-medium">Last restart:</span> {{ status.lastRestart }}
|
|
175
|
+
<div v-if="status?.lastRestart" class="tw:text-sm tw:text-muted-foreground">
|
|
176
|
+
<span class="tw:font-medium">Last restart:</span> {{ status.lastRestart }}
|
|
177
177
|
</div>
|
|
178
178
|
|
|
179
179
|
<!-- Metrics -->
|
|
180
|
-
<div v-if="showMetrics" class="grid grid-cols-2 gap-3">
|
|
181
|
-
<div v-if="status?.memory" class="text-sm">
|
|
182
|
-
<span class="font-medium">Memory:</span> {{ status.memory }}
|
|
180
|
+
<div v-if="showMetrics" class="tw:grid tw:grid-cols-2 tw:gap-3">
|
|
181
|
+
<div v-if="status?.memory" class="tw:text-sm">
|
|
182
|
+
<span class="tw:font-medium">Memory:</span> {{ status.memory }}
|
|
183
183
|
</div>
|
|
184
|
-
<div v-if="status?.cpu" class="text-sm">
|
|
185
|
-
<span class="font-medium">CPU:</span> {{ status.cpu }}
|
|
184
|
+
<div v-if="status?.cpu" class="tw:text-sm">
|
|
185
|
+
<span class="tw:font-medium">CPU:</span> {{ status.cpu }}
|
|
186
186
|
</div>
|
|
187
187
|
</div>
|
|
188
188
|
|
|
189
189
|
<!-- Custom status message -->
|
|
190
|
-
<div v-if="status?.status && status?.status !== statusText" class="text-sm">
|
|
190
|
+
<div v-if="status?.status && status?.status !== statusText" class="tw:text-sm">
|
|
191
191
|
{{ status.status }}
|
|
192
192
|
</div>
|
|
193
193
|
</div>
|
|
194
194
|
|
|
195
195
|
<!-- Action buttons -->
|
|
196
|
-
<div class="flex items-center justify-between pt-4 border-t">
|
|
197
|
-
<div class="flex gap-2">
|
|
196
|
+
<div class="tw:flex tw:items-center tw:justify-between tw:pt-4 tw:border-t">
|
|
197
|
+
<div class="tw:flex tw:gap-2">
|
|
198
198
|
<Button
|
|
199
199
|
v-if="status?.enabled && !status?.running"
|
|
200
200
|
variant="default"
|
|
@@ -242,7 +242,7 @@ const iconClass = computed(() => {
|
|
|
242
242
|
size="sm"
|
|
243
243
|
@click="emit('view', serviceName)"
|
|
244
244
|
>
|
|
245
|
-
<MoreHorizontal class="h-4 w-4" />
|
|
245
|
+
<MoreHorizontal class="tw:h-4 tw:w-4" />
|
|
246
246
|
</Button>
|
|
247
247
|
</div>
|
|
248
248
|
</CardContent>
|
|
@@ -47,8 +47,7 @@ const isChecked = computed({
|
|
|
47
47
|
:required="required"
|
|
48
48
|
:name="name"
|
|
49
49
|
:value="value"
|
|
50
|
-
:class="cn(
|
|
51
|
-
'peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
|
|
50
|
+
:class="cn( 'peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
|
|
52
51
|
{
|
|
53
52
|
'border-destructive': errorMessage,
|
|
54
53
|
'data-[state=checked]:bg-destructive data-[state=checked]:text-destructive-foreground': errorMessage
|
|
@@ -61,17 +60,16 @@ const isChecked = computed({
|
|
|
61
60
|
'opacity-50': indeterminate
|
|
62
61
|
})"
|
|
63
62
|
>
|
|
64
|
-
<Check v-if="!indeterminate" class="h-4 w-4" />
|
|
65
|
-
<div v-else class="h-1 w-2 bg-current rounded-sm" />
|
|
63
|
+
<Check v-if="!indeterminate" class="tw:h-4 tw:w-4" />
|
|
64
|
+
<div v-else class="tw:h-1 tw:w-2 tw:bg-current tw:rounded-sm" />
|
|
66
65
|
</CheckboxIndicator>
|
|
67
66
|
</CheckboxRoot>
|
|
68
67
|
|
|
69
|
-
<div class="grid gap-1.5">
|
|
68
|
+
<div class="tw:grid tw:gap-1.5">
|
|
70
69
|
<label
|
|
71
70
|
v-if="label || $slots.label"
|
|
72
71
|
:for="checkboxId"
|
|
73
|
-
:class="cn(
|
|
74
|
-
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer',
|
|
72
|
+
:class="cn( 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer',
|
|
75
73
|
{
|
|
76
74
|
'sr-only': hideLabel,
|
|
77
75
|
'cursor-not-allowed': disabled,
|
|
@@ -93,7 +91,7 @@ const isChecked = computed({
|
|
|
93
91
|
|
|
94
92
|
<p
|
|
95
93
|
v-if="errorMessage"
|
|
96
|
-
class="text-sm text-destructive"
|
|
94
|
+
class="tw:text-sm tw:text-destructive"
|
|
97
95
|
>
|
|
98
96
|
{{ errorMessage }}
|
|
99
97
|
</p>
|
|
@@ -237,52 +237,52 @@ watch(() => props.currentPage, () => {
|
|
|
237
237
|
<template>
|
|
238
238
|
<div :class="containerClasses">
|
|
239
239
|
<!-- Header with search and filters -->
|
|
240
|
-
<div class="flex items-center justify-between gap-4 mb-4">
|
|
241
|
-
<div class="flex items-center gap-2">
|
|
240
|
+
<div class="tw:flex tw:items-center tw:justify-between tw:gap-4 tw:mb-4">
|
|
241
|
+
<div class="tw:flex tw:items-center tw:gap-2">
|
|
242
242
|
<!-- Search -->
|
|
243
|
-
<div v-if="searchable" class="relative">
|
|
244
|
-
<Search class="absolute left-3 top-1/2 transform
|
|
243
|
+
<div v-if="searchable" class="tw:relative">
|
|
244
|
+
<Search class="tw:absolute tw:left-3 tw:top-1/2 tw:transform tw:-translate-y-1/2 tw:h-4 tw:w-4 tw:text-muted-foreground" />
|
|
245
245
|
<Input
|
|
246
246
|
:model-value="searchQuery"
|
|
247
247
|
@update:model-value="handleSearch"
|
|
248
248
|
placeholder="Search..."
|
|
249
|
-
class="pl-9 w-64"
|
|
249
|
+
class="tw:pl-9 tw:w-64"
|
|
250
250
|
/>
|
|
251
251
|
</div>
|
|
252
252
|
|
|
253
253
|
<!-- Filters -->
|
|
254
|
-
<div v-if="filterable" class="flex items-center gap-2">
|
|
255
|
-
<Filter class="h-4 w-4 text-muted-foreground" />
|
|
254
|
+
<div v-if="filterable" class="tw:flex tw:items-center tw:gap-2">
|
|
255
|
+
<Filter class="tw:h-4 tw:w-4 tw:text-muted-foreground" />
|
|
256
256
|
<div v-for="column in columns.filter(c => c.filterable)" :key="column.key">
|
|
257
257
|
<Input
|
|
258
258
|
:model-value="filters[column.key]"
|
|
259
259
|
@update:model-value="(value) => handleFilterChange(column.key, value)"
|
|
260
260
|
:placeholder="`Filter ${column.label}...`"
|
|
261
|
-
class="w-32"
|
|
261
|
+
class="tw:w-32"
|
|
262
262
|
/>
|
|
263
263
|
</div>
|
|
264
264
|
</div>
|
|
265
265
|
</div>
|
|
266
266
|
|
|
267
267
|
<!-- Total count -->
|
|
268
|
-
<div v-if="showTotal" class="text-sm text-muted-foreground">
|
|
268
|
+
<div v-if="showTotal" class="tw:text-sm tw:text-muted-foreground">
|
|
269
269
|
{{ processedData.length }} items total
|
|
270
270
|
</div>
|
|
271
271
|
</div>
|
|
272
272
|
|
|
273
273
|
<!-- Table -->
|
|
274
|
-
<div class="rounded-md border">
|
|
274
|
+
<div class="tw:rounded-md tw:border">
|
|
275
275
|
<Table :class="tableClasses">
|
|
276
276
|
<TableHeader :class="headerClasses">
|
|
277
277
|
<TableRow>
|
|
278
278
|
<!-- Select all checkbox -->
|
|
279
|
-
<TableHead v-if="selectable" class="w-12">
|
|
279
|
+
<TableHead v-if="selectable" class="tw:w-12">
|
|
280
280
|
<input
|
|
281
281
|
type="checkbox"
|
|
282
282
|
:checked="isAllSelected"
|
|
283
283
|
:indeterminate="isIndeterminate"
|
|
284
284
|
@change="toggleAllSelection"
|
|
285
|
-
class="rounded border-gray-300"
|
|
285
|
+
class="tw:rounded tw:border-gray-300"
|
|
286
286
|
/>
|
|
287
287
|
</TableHead>
|
|
288
288
|
|
|
@@ -290,8 +290,7 @@ watch(() => props.currentPage, () => {
|
|
|
290
290
|
<TableHead
|
|
291
291
|
v-for="column in columns"
|
|
292
292
|
:key="column.key"
|
|
293
|
-
:class="cn(
|
|
294
|
-
'relative',
|
|
293
|
+
:class="cn( 'relative',
|
|
295
294
|
{
|
|
296
295
|
'text-left': column.align === 'left' || !column.align,
|
|
297
296
|
'text-center': column.align === 'center',
|
|
@@ -302,18 +301,16 @@ watch(() => props.currentPage, () => {
|
|
|
302
301
|
:style="{ width: column.width }"
|
|
303
302
|
@click="handleSort(column)"
|
|
304
303
|
>
|
|
305
|
-
<div class="flex items-center gap-1">
|
|
304
|
+
<div class="tw:flex tw:items-center tw:gap-1">
|
|
306
305
|
{{ column.label }}
|
|
307
|
-
<div v-if="column.sortable" class="flex flex-col">
|
|
306
|
+
<div v-if="column.sortable" class="tw:flex tw:flex-col">
|
|
308
307
|
<ChevronUp
|
|
309
|
-
:class="cn(
|
|
310
|
-
'h-3 w-3',
|
|
308
|
+
:class="cn( 'h-3 w-3',
|
|
311
309
|
sortColumn === column.key && sortDirection === 'asc' ? 'text-primary' : 'text-muted-foreground'
|
|
312
310
|
)"
|
|
313
311
|
/>
|
|
314
312
|
<ChevronDown
|
|
315
|
-
:class="cn(
|
|
316
|
-
'h-3 w-3 -mt-1',
|
|
313
|
+
:class="cn( 'h-3 w-3 -mt-1',
|
|
317
314
|
sortColumn === column.key && sortDirection === 'desc' ? 'text-primary' : 'text-muted-foreground'
|
|
318
315
|
)"
|
|
319
316
|
/>
|
|
@@ -322,8 +319,8 @@ watch(() => props.currentPage, () => {
|
|
|
322
319
|
</TableHead>
|
|
323
320
|
|
|
324
321
|
<!-- Actions column -->
|
|
325
|
-
<TableHead v-if="actions.length > 0" class="w-16">
|
|
326
|
-
<span class="sr-only">Actions</span>
|
|
322
|
+
<TableHead v-if="actions.length > 0" class="tw:w-16">
|
|
323
|
+
<span class="tw:sr-only">Actions</span>
|
|
327
324
|
</TableHead>
|
|
328
325
|
</TableRow>
|
|
329
326
|
</TableHeader>
|
|
@@ -331,9 +328,9 @@ watch(() => props.currentPage, () => {
|
|
|
331
328
|
<TableBody :class="bodyClasses">
|
|
332
329
|
<!-- Loading state -->
|
|
333
330
|
<TableRow v-if="loading">
|
|
334
|
-
<TableCell :colspan="columns.length + (selectable ? 1 : 0) + (actions.length > 0 ? 1 : 0)" class="text-center py-8">
|
|
335
|
-
<div class="flex items-center justify-center space-x-2">
|
|
336
|
-
<div class="animate-spin rounded-full h-4 w-4 border-b-2 border-primary"></div>
|
|
331
|
+
<TableCell :colspan="columns.length + (selectable ? 1 : 0) + (actions.length > 0 ? 1 : 0)" class="tw:text-center tw:py-8">
|
|
332
|
+
<div class="tw:flex tw:items-center tw:justify-center tw:space-x-2">
|
|
333
|
+
<div class="tw:animate-spin tw:rounded-full tw:h-4 tw:w-4 tw:border-b-2 tw:border-primary"></div>
|
|
337
334
|
<span>{{ loadingMessage }}</span>
|
|
338
335
|
</div>
|
|
339
336
|
</TableCell>
|
|
@@ -341,7 +338,7 @@ watch(() => props.currentPage, () => {
|
|
|
341
338
|
|
|
342
339
|
<!-- Empty state -->
|
|
343
340
|
<TableRow v-else-if="currentPageData.length === 0">
|
|
344
|
-
<TableCell :colspan="columns.length + (selectable ? 1 : 0) + (actions.length > 0 ? 1 : 0)" class="text-center py-8">
|
|
341
|
+
<TableCell :colspan="columns.length + (selectable ? 1 : 0) + (actions.length > 0 ? 1 : 0)" class="tw:text-center tw:py-8">
|
|
345
342
|
{{ emptyMessage }}
|
|
346
343
|
</TableCell>
|
|
347
344
|
</TableRow>
|
|
@@ -351,19 +348,18 @@ watch(() => props.currentPage, () => {
|
|
|
351
348
|
v-else
|
|
352
349
|
v-for="(row, index) in currentPageData"
|
|
353
350
|
:key="`row-${index}`"
|
|
354
|
-
:class="{
|
|
355
|
-
'selected': selectedRows.includes(row)
|
|
351
|
+
:class="{ 'selected': selectedRows.includes(row)
|
|
356
352
|
}"
|
|
357
353
|
@click="handleRowClick(row, index)"
|
|
358
|
-
class="cursor-pointer"
|
|
354
|
+
class="tw:cursor-pointer"
|
|
359
355
|
>
|
|
360
356
|
<!-- Selection checkbox -->
|
|
361
|
-
<TableCell v-if="selectable" class="w-12">
|
|
357
|
+
<TableCell v-if="selectable" class="tw:w-12">
|
|
362
358
|
<input
|
|
363
359
|
type="checkbox"
|
|
364
360
|
:checked="selectedRows.includes(row)"
|
|
365
361
|
@change="toggleSelection(row)"
|
|
366
|
-
class="rounded border-gray-300"
|
|
362
|
+
class="tw:rounded tw:border-gray-300"
|
|
367
363
|
/>
|
|
368
364
|
</TableCell>
|
|
369
365
|
|
|
@@ -371,9 +367,7 @@ watch(() => props.currentPage, () => {
|
|
|
371
367
|
<TableCell
|
|
372
368
|
v-for="column in columns"
|
|
373
369
|
:key="column.key"
|
|
374
|
-
:class="cn(
|
|
375
|
-
{
|
|
376
|
-
'text-left': column.align === 'left' || !column.align,
|
|
370
|
+
:class="cn( { 'text-left': column.align === 'left' || !column.align,
|
|
377
371
|
'text-center': column.align === 'center',
|
|
378
372
|
'text-right': column.align === 'right'
|
|
379
373
|
}
|
|
@@ -397,7 +391,7 @@ watch(() => props.currentPage, () => {
|
|
|
397
391
|
|
|
398
392
|
<!-- Actions -->
|
|
399
393
|
<TableCell v-if="actions.length > 0">
|
|
400
|
-
<div class="flex items-center justify-end space-x-1">
|
|
394
|
+
<div class="tw:flex tw:items-center tw:justify-end tw:space-x-1">
|
|
401
395
|
<Button
|
|
402
396
|
v-for="action in actions"
|
|
403
397
|
:key="action.key"
|
|
@@ -406,7 +400,7 @@ watch(() => props.currentPage, () => {
|
|
|
406
400
|
:disabled="action.disabled ? action.disabled(row) : false"
|
|
407
401
|
@click.stop="action.onClick(row, index)"
|
|
408
402
|
>
|
|
409
|
-
<component v-if="action.icon" :is="action.icon" class="h-4 w-4" />
|
|
403
|
+
<component v-if="action.icon" :is="action.icon" class="tw:h-4 tw:w-4" />
|
|
410
404
|
{{ action.label }}
|
|
411
405
|
</Button>
|
|
412
406
|
</div>
|
|
@@ -417,14 +411,14 @@ watch(() => props.currentPage, () => {
|
|
|
417
411
|
</div>
|
|
418
412
|
|
|
419
413
|
<!-- Pagination -->
|
|
420
|
-
<div v-if="pagination" class="mt-4">
|
|
414
|
+
<div v-if="pagination" class="tw:mt-4">
|
|
421
415
|
<slot name="pagination" :current-page="currentPage" :total-items="processedData.length">
|
|
422
416
|
<!-- Built-in pagination placeholder -->
|
|
423
|
-
<div class="flex items-center justify-between">
|
|
424
|
-
<div class="text-sm text-muted-foreground">
|
|
417
|
+
<div class="tw:flex tw:items-center tw:justify-between">
|
|
418
|
+
<div class="tw:text-sm tw:text-muted-foreground">
|
|
425
419
|
Showing {{ (currentPage - 1) * itemsPerPage + 1 }} to {{ Math.min(currentPage * itemsPerPage, processedData.length) }} of {{ processedData.length }} items
|
|
426
420
|
</div>
|
|
427
|
-
<div class="text-sm text-muted-foreground">
|
|
421
|
+
<div class="tw:text-sm tw:text-muted-foreground">
|
|
428
422
|
Page {{ currentPage }} of {{ Math.ceil(processedData.length / itemsPerPage) }}
|
|
429
423
|
</div>
|
|
430
424
|
</div>
|
|
@@ -148,7 +148,7 @@ const descriptionClasses = computed(() => {
|
|
|
148
148
|
<template>
|
|
149
149
|
<div :class="containerClasses">
|
|
150
150
|
<!-- Icon section -->
|
|
151
|
-
<div class="mb-4">
|
|
151
|
+
<div class="tw:mb-4">
|
|
152
152
|
<slot name="icon">
|
|
153
153
|
<!-- Lottie animation if provided -->
|
|
154
154
|
<NSLottieAnimation
|
|
@@ -185,12 +185,12 @@ const descriptionClasses = computed(() => {
|
|
|
185
185
|
</div>
|
|
186
186
|
|
|
187
187
|
<!-- Actions section -->
|
|
188
|
-
<div v-if="$slots.actions" class="mt-4">
|
|
188
|
+
<div v-if="$slots.actions" class="tw:mt-4">
|
|
189
189
|
<slot name="actions" />
|
|
190
190
|
</div>
|
|
191
191
|
|
|
192
192
|
<!-- Extra content section -->
|
|
193
|
-
<div v-if="$slots.extra" class="mt-6">
|
|
193
|
+
<div v-if="$slots.extra" class="tw:mt-6">
|
|
194
194
|
<slot name="extra" />
|
|
195
195
|
</div>
|
|
196
196
|
</div>
|
|
@@ -96,30 +96,30 @@ const showCloseButtonVisible = computed(() => props.showCloseButton && !hasLoadi
|
|
|
96
96
|
<!-- Icon -->
|
|
97
97
|
<component
|
|
98
98
|
:is="NotificationIcon"
|
|
99
|
-
class="h-4 w-4"
|
|
99
|
+
class="tw:h-4 tw:w-4"
|
|
100
100
|
/>
|
|
101
101
|
|
|
102
102
|
<!-- Loading spinner -->
|
|
103
103
|
<Loader2
|
|
104
104
|
v-if="loading"
|
|
105
|
-
class="h-4 w-4 animate-spin absolute right-12 top-4"
|
|
105
|
+
class="tw:h-4 tw:w-4 tw:animate-spin tw:absolute tw:right-12 tw:top-4"
|
|
106
106
|
/>
|
|
107
107
|
|
|
108
108
|
<!-- Timer circle -->
|
|
109
109
|
<div
|
|
110
110
|
v-if="timer"
|
|
111
|
-
class="h-4 w-4 absolute right-12 top-4"
|
|
111
|
+
class="tw:h-4 tw:w-4 tw:absolute tw:right-12 tw:top-4"
|
|
112
112
|
>
|
|
113
113
|
<!-- You can integrate NSCircleTimer component here -->
|
|
114
|
-
<div class="h-4 w-4 rounded-full border-2 border-current animate-pulse" />
|
|
114
|
+
<div class="tw:h-4 tw:w-4 tw:rounded-full tw:border-2 tw:border-current tw:animate-pulse" />
|
|
115
115
|
</div>
|
|
116
116
|
|
|
117
117
|
<!-- Content -->
|
|
118
|
-
<div class="grid gap-1">
|
|
118
|
+
<div class="tw:grid tw:gap-1">
|
|
119
119
|
<!-- Title -->
|
|
120
120
|
<h4
|
|
121
121
|
v-if="hasTitle"
|
|
122
|
-
class="text-sm font-medium leading-none"
|
|
122
|
+
class="tw:text-sm tw:font-medium tw:leading-none"
|
|
123
123
|
>
|
|
124
124
|
<slot name="title">{{ title }}</slot>
|
|
125
125
|
</h4>
|
|
@@ -138,7 +138,7 @@ const showCloseButtonVisible = computed(() => props.showCloseButton && !hasLoadi
|
|
|
138
138
|
<button
|
|
139
139
|
v-if="hasAction"
|
|
140
140
|
type="button"
|
|
141
|
-
class="inline-flex items-center text-sm font-medium underline underline-offset-2 hover:no-underline focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 rounded-sm"
|
|
141
|
+
class="tw:inline-flex tw:items-center tw:text-sm tw:font-medium tw:underline tw:underline-offset-2 hover:tw:no-underline focus:tw:outline-none focus:tw:ring-2 focus:tw:ring-ring focus:tw:ring-offset-2 tw:rounded-sm"
|
|
142
142
|
@click="emit('action')"
|
|
143
143
|
>
|
|
144
144
|
{{ actionLabel }}
|
|
@@ -150,10 +150,10 @@ const showCloseButtonVisible = computed(() => props.showCloseButton && !hasLoadi
|
|
|
150
150
|
v-if="showCloseButtonVisible"
|
|
151
151
|
type="button"
|
|
152
152
|
:aria-label="closeAriaLabel"
|
|
153
|
-
class="absolute right-4 top-4 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"
|
|
153
|
+
class="tw:absolute tw:right-4 tw:top-4 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"
|
|
154
154
|
@click="emit('close')"
|
|
155
155
|
>
|
|
156
|
-
<X class="h-4 w-4" />
|
|
156
|
+
<X class="tw:h-4 tw:w-4" />
|
|
157
157
|
</button>
|
|
158
158
|
|
|
159
159
|
<!-- Extra content -->
|