@geniusdynamics/ns8-ui-lib 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ns8-ui-lib.css +3 -1
- package/dist/ns8-ui-lib.es.js +36817 -19726
- package/dist/ns8-ui-lib.es.js.map +1 -1
- package/dist/ns8-ui-lib.umd.js +24 -11
- package/dist/ns8-ui-lib.umd.js.map +1 -1
- package/dist/src/components/NS/wizard/NSWizard.vue.d.ts +2 -2
- package/dist/src/components/ui/accordion/Accordion.vue.d.ts +25 -0
- package/dist/src/components/ui/accordion/AccordionContent.vue.d.ts +22 -0
- package/dist/src/components/ui/accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/src/components/ui/accordion/AccordionTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/accordion/index.d.ts +4 -0
- package/dist/src/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/src/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/alert/index.d.ts +8 -0
- package/dist/src/components/ui/alert-dialog/AlertDialog.vue.d.ts +25 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogAction.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogCancel.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogContent.vue.d.ts +36 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/alert-dialog/index.d.ts +9 -0
- package/dist/src/components/ui/aspect-ratio/AspectRatio.vue.d.ts +18 -0
- package/dist/src/components/ui/aspect-ratio/index.d.ts +1 -0
- package/dist/src/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/src/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/src/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/src/components/ui/avatar/index.d.ts +3 -0
- package/dist/src/components/ui/breadcrumb/Breadcrumb.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbItem.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbLink.vue.d.ts +24 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbList.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbPage.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/BreadcrumbSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/src/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/src/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/src/components/ui/button-group/index.d.ts +8 -0
- package/dist/src/components/ui/calendar/Calendar.vue.d.ts +27 -0
- package/dist/src/components/ui/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/src/components/ui/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/src/components/ui/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/src/components/ui/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/src/components/ui/calendar/index.d.ts +13 -0
- package/dist/src/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/src/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/src/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/src/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/src/components/ui/carousel/index.d.ts +7 -0
- package/dist/src/components/ui/carousel/interface.d.ts +19 -0
- package/dist/src/components/ui/checkbox/Checkbox.vue.d.ts +29 -0
- package/dist/src/components/ui/checkbox/index.d.ts +1 -11
- package/dist/src/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/src/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/src/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/collapsible/index.d.ts +3 -0
- package/dist/src/components/ui/combobox/Combobox.vue.d.ts +36 -0
- package/dist/src/components/ui/combobox/ComboboxAnchor.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxEmpty.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/combobox/ComboboxInput.vue.d.ts +26 -0
- package/dist/src/components/ui/combobox/ComboboxItem.vue.d.ts +26 -0
- package/dist/src/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxList.vue.d.ts +36 -0
- package/dist/src/components/ui/combobox/ComboboxSeparator.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/ComboboxViewport.vue.d.ts +22 -0
- package/dist/src/components/ui/combobox/index.d.ts +11 -0
- package/dist/src/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/src/components/ui/command/CommandDialog.vue.d.ts +29 -0
- package/dist/src/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/src/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/src/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/src/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/src/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/command/index.d.ts +90 -0
- package/dist/src/components/ui/context-menu/ContextMenu.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/context-menu/ContextMenuContent.vue.d.ts +34 -0
- package/dist/src/components/ui/context-menu/ContextMenuGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/context-menu/ContextMenuItem.vue.d.ts +30 -0
- package/dist/src/components/ui/context-menu/ContextMenuLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/context-menu/ContextMenuSub.vue.d.ts +22 -0
- package/dist/src/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/context-menu/index.d.ts +14 -0
- package/dist/src/components/ui/dialog/Dialog.vue.d.ts +10 -13
- package/dist/src/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/src/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/src/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogFooter.vue.d.ts +24 -0
- package/dist/src/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogScrollContent.vue.d.ts +29 -0
- package/dist/src/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/dialog/index.d.ts +9 -0
- package/dist/src/components/ui/drawer/Drawer.vue.d.ts +36 -0
- package/dist/src/components/ui/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/src/components/ui/drawer/DrawerContent.vue.d.ts +29 -0
- package/dist/src/components/ui/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/src/components/ui/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/drawer/DrawerOverlay.vue.d.ts +7 -0
- package/dist/src/components/ui/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/drawer/index.d.ts +9 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/src/components/ui/empty/Empty.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyContent.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyHeader.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/EmptyMedia.vue.d.ts +23 -0
- package/dist/src/components/ui/empty/EmptyTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/empty/index.d.ts +11 -0
- package/dist/src/components/ui/field/Field.vue.d.ts +23 -0
- package/dist/src/components/ui/field/FieldContent.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldError.vue.d.ts +24 -0
- package/dist/src/components/ui/field/FieldGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldLabel.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldLegend.vue.d.ts +22 -0
- package/dist/src/components/ui/field/FieldSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldSet.vue.d.ts +21 -0
- package/dist/src/components/ui/field/FieldTitle.vue.d.ts +21 -0
- package/dist/src/components/ui/field/index.d.ts +15 -0
- package/dist/src/components/ui/form/FormControl.vue.d.ts +17 -0
- package/dist/src/components/ui/form/FormDescription.vue.d.ts +21 -0
- package/dist/src/components/ui/form/FormItem.vue.d.ts +21 -0
- package/dist/src/components/ui/form/FormLabel.vue.d.ts +22 -0
- package/dist/src/components/ui/form/FormMessage.vue.d.ts +6 -0
- package/dist/src/components/ui/form/index.d.ts +7 -0
- package/dist/src/components/ui/form/injectionKeys.d.ts +2 -0
- package/dist/src/components/ui/form/useFormField.d.ts +11 -0
- package/dist/src/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
- package/dist/src/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/src/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/hover-card/index.d.ts +3 -0
- package/dist/src/components/ui/input-group/InputGroupButton.vue.d.ts +9 -3
- package/dist/src/components/ui/input-group/index.d.ts +0 -7
- package/dist/src/components/ui/input-otp/InputOTP.vue.d.ts +46 -0
- package/dist/src/components/ui/input-otp/InputOTPGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/input-otp/InputOTPSeparator.vue.d.ts +21 -0
- package/dist/src/components/ui/input-otp/InputOTPSlot.vue.d.ts +7 -0
- package/dist/src/components/ui/input-otp/index.d.ts +4 -0
- package/dist/src/components/ui/kbd/Kbd.vue.d.ts +21 -0
- package/dist/src/components/ui/kbd/KbdGroup.vue.d.ts +21 -0
- package/dist/src/components/ui/kbd/index.d.ts +2 -0
- package/dist/src/components/ui/menubar/Menubar.vue.d.ts +28 -0
- package/dist/src/components/ui/menubar/MenubarCheckboxItem.vue.d.ts +29 -0
- package/dist/src/components/ui/menubar/MenubarContent.vue.d.ts +26 -0
- package/dist/src/components/ui/menubar/MenubarGroup.vue.d.ts +18 -0
- package/dist/src/components/ui/menubar/MenubarItem.vue.d.ts +28 -0
- package/dist/src/components/ui/menubar/MenubarLabel.vue.d.ts +23 -0
- package/dist/src/components/ui/menubar/MenubarMenu.vue.d.ts +18 -0
- package/dist/src/components/ui/menubar/MenubarRadioGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/menubar/MenubarRadioItem.vue.d.ts +27 -0
- package/dist/src/components/ui/menubar/MenubarSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/menubar/MenubarShortcut.vue.d.ts +21 -0
- package/dist/src/components/ui/menubar/MenubarSub.vue.d.ts +25 -0
- package/dist/src/components/ui/menubar/MenubarSubContent.vue.d.ts +38 -0
- package/dist/src/components/ui/menubar/MenubarSubTrigger.vue.d.ts +23 -0
- package/dist/src/components/ui/menubar/MenubarTrigger.vue.d.ts +22 -0
- package/dist/src/components/ui/menubar/index.d.ts +15 -0
- package/dist/src/components/ui/native-select/NativeSelect.vue.d.ts +27 -0
- package/dist/src/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +405 -0
- package/dist/src/components/ui/native-select/NativeSelectOption.vue.d.ts +409 -0
- package/dist/src/components/ui/native-select/index.d.ts +3 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenu.vue.d.ts +31 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuContent.vue.d.ts +32 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuIndicator.vue.d.ts +7 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuItem.vue.d.ts +22 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuLink.vue.d.ts +30 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuList.vue.d.ts +22 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuTrigger.vue.d.ts +15 -0
- package/dist/src/components/ui/navigation-menu/NavigationMenuViewport.vue.d.ts +7 -0
- package/dist/src/components/ui/navigation-menu/index.d.ts +9 -0
- package/dist/src/components/ui/number-field/NumberField.vue.d.ts +30 -0
- package/dist/src/components/ui/number-field/NumberFieldContent.vue.d.ts +21 -0
- package/dist/src/components/ui/number-field/NumberFieldDecrement.vue.d.ts +22 -0
- package/dist/src/components/ui/number-field/NumberFieldIncrement.vue.d.ts +22 -0
- package/dist/src/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -0
- package/dist/src/components/ui/number-field/index.d.ts +5 -0
- package/dist/src/components/ui/pagination/Pagination.vue.d.ts +29 -0
- package/dist/src/components/ui/pagination/PaginationContent.vue.d.ts +29 -0
- package/dist/src/components/ui/pagination/PaginationEllipsis.vue.d.ts +22 -0
- package/dist/src/components/ui/pagination/PaginationFirst.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationItem.vue.d.ts +27 -0
- package/dist/src/components/ui/pagination/PaginationLast.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationNext.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/PaginationPrevious.vue.d.ts +26 -0
- package/dist/src/components/ui/pagination/index.d.ts +8 -0
- package/dist/src/components/ui/pin-input/PinInput.vue.d.ts +22 -0
- package/dist/src/components/ui/pin-input/PinInputGroup.vue.d.ts +22 -0
- package/dist/src/components/ui/pin-input/PinInputSeparator.vue.d.ts +18 -0
- package/dist/src/components/ui/pin-input/PinInputSlot.vue.d.ts +7 -0
- package/dist/src/components/ui/pin-input/index.d.ts +4 -0
- package/dist/src/components/ui/popover/Popover.vue.d.ts +25 -0
- package/dist/src/components/ui/popover/PopoverAnchor.vue.d.ts +18 -0
- package/dist/src/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/src/components/ui/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/src/components/ui/popover/index.d.ts +4 -0
- package/dist/src/components/ui/radio-group/RadioGroup.vue.d.ts +28 -0
- package/dist/src/components/ui/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/src/components/ui/radio-group/index.d.ts +2 -0
- package/dist/src/components/ui/range-calendar/RangeCalendar.vue.d.ts +17 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +24 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
- package/dist/src/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/src/components/ui/resizable/ResizableHandle.vue.d.ts +27 -0
- package/dist/src/components/ui/resizable/ResizablePanel.vue.d.ts +32 -0
- package/dist/src/components/ui/resizable/ResizablePanelGroup.vue.d.ts +28 -0
- package/dist/src/components/ui/resizable/index.d.ts +3 -0
- package/dist/src/components/ui/select/SelectContent.vue.d.ts +2 -2
- package/dist/src/components/ui/sheet/SheetContent.vue.d.ts +2 -2
- package/dist/src/components/ui/sidebar/Sidebar.vue.d.ts +2 -11
- package/dist/src/components/ui/slider/Slider.vue.d.ts +13 -0
- package/dist/src/components/ui/slider/index.d.ts +1 -0
- package/dist/src/components/ui/spinner/Spinner.vue.d.ts +6 -0
- package/dist/src/components/ui/spinner/index.d.ts +1 -0
- package/dist/src/components/ui/stepper/Stepper.vue.d.ts +38 -0
- package/dist/src/components/ui/stepper/StepperDescription.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperIndicator.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperItem.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
- package/dist/src/components/ui/stepper/StepperTitle.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/StepperTrigger.vue.d.ts +22 -0
- package/dist/src/components/ui/stepper/index.d.ts +7 -0
- package/dist/src/components/ui/switch/Switch.vue.d.ts +1 -0
- package/dist/src/components/ui/tags-input/TagsInput.vue.d.ts +34 -0
- package/dist/src/components/ui/tags-input/TagsInputInput.vue.d.ts +7 -0
- package/dist/src/components/ui/tags-input/TagsInputItem.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/TagsInputItemText.vue.d.ts +22 -0
- package/dist/src/components/ui/tags-input/index.d.ts +5 -0
- package/dist/src/components/ui/toggle/Toggle.vue.d.ts +33 -0
- package/dist/src/components/ui/toggle/index.d.ts +2 -10
- package/dist/src/components/ui/toggle-group/ToggleGroup.vue.d.ts +36 -0
- package/dist/src/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +29 -0
- package/dist/src/components/ui/toggle-group/index.d.ts +2 -0
- package/package.json +25 -19
- package/src/App.vue +2 -2
- package/src/components/HelloWorld.vue +2 -2
- package/src/components/NS/CompleteDemo.vue +49 -49
- package/src/components/NS/Demo.vue +20 -20
- package/src/components/NS/cards/NSBackupCard.vue +59 -41
- package/src/components/NS/cards/NSSystemInfoCard.vue +167 -134
- package/src/components/NS/cards/NSSystemdServiceCard.vue +27 -27
- package/src/components/NS/checkbox/NSCheckbox.vue +6 -8
- package/src/components/NS/data-table/NSDataTable.vue +34 -40
- package/src/components/NS/empty-state/NSEmptyState.vue +3 -3
- package/src/components/NS/inline-notification/NSInlineNotification.vue +9 -9
- package/src/components/NS/lottie-animation/NSLottieAnimation.vue +140 -116
- package/src/components/NS/modal/NSModal.vue +12 -14
- package/src/components/NS/modal/NSModalTrigger.vue +1 -1
- package/src/components/NS/pagination/NSPagination.vue +10 -10
- package/src/components/NS/progress/NSProgress.vue +3 -3
- package/src/components/NS/progress/NSProgressBar.vue +4 -4
- package/src/components/NS/slider/NSByteSlider.vue +3 -3
- package/src/components/NS/slider/NSSlider.vue +2 -2
- package/src/components/NS/tag/NSTag.vue +6 -7
- package/src/components/NS/text-input/NSTextInput.vue +9 -13
- package/src/components/NS/toast-notification/NSToastNotification.vue +9 -11
- package/src/components/NS/toggle/NSToggle.vue +5 -8
- package/src/components/NS/wizard/NSWizard.vue +21 -21
- package/src/components/ui/accordion/Accordion.vue +18 -0
- package/src/components/ui/accordion/AccordionContent.vue +23 -0
- package/src/components/ui/accordion/AccordionItem.vue +24 -0
- package/src/components/ui/accordion/AccordionTrigger.vue +37 -0
- package/src/components/ui/alert/Alert.vue +21 -0
- package/src/components/ui/alert/AlertDescription.vue +17 -0
- package/src/components/ui/alert/AlertTitle.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialog.vue +15 -0
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +18 -0
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +25 -0
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +44 -0
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +23 -0
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +22 -0
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +17 -0
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +21 -0
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +12 -0
- package/src/components/ui/aspect-ratio/AspectRatio.vue +16 -0
- package/src/components/ui/avatar/Avatar.vue +18 -0
- package/src/components/ui/avatar/AvatarFallback.vue +21 -0
- package/src/components/ui/avatar/AvatarImage.vue +16 -0
- package/src/components/ui/breadcrumb/Breadcrumb.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +23 -0
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +21 -0
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +17 -0
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +20 -0
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +22 -0
- package/src/components/ui/button/Button.vue +2 -0
- package/src/components/ui/button-group/ButtonGroup.vue +22 -0
- package/src/components/ui/button-group/ButtonGroupSeparator.vue +24 -0
- package/src/components/ui/button-group/ButtonGroupText.vue +29 -0
- package/src/components/ui/calendar/Calendar.vue +160 -0
- package/src/components/ui/calendar/CalendarCell.vue +23 -0
- package/src/components/ui/calendar/CalendarCellTrigger.vue +39 -0
- package/src/components/ui/calendar/CalendarGrid.vue +23 -0
- package/src/components/ui/calendar/CalendarGridBody.vue +15 -0
- package/src/components/ui/calendar/CalendarGridHead.vue +16 -0
- package/src/components/ui/calendar/CalendarGridRow.vue +22 -0
- package/src/components/ui/calendar/CalendarHeadCell.vue +23 -0
- package/src/components/ui/calendar/CalendarHeader.vue +23 -0
- package/src/components/ui/calendar/CalendarHeading.vue +30 -0
- package/src/components/ui/calendar/CalendarNextButton.vue +31 -0
- package/src/components/ui/calendar/CalendarPrevButton.vue +31 -0
- package/src/components/ui/card/Card.vue +1 -1
- package/src/components/ui/card/CardAction.vue +1 -1
- package/src/components/ui/card/CardContent.vue +1 -1
- package/src/components/ui/card/CardDescription.vue +1 -1
- package/src/components/ui/card/CardFooter.vue +1 -1
- package/src/components/ui/card/CardHeader.vue +1 -1
- package/src/components/ui/card/CardTitle.vue +1 -1
- package/src/components/ui/carousel/Carousel.vue +53 -0
- package/src/components/ui/carousel/CarouselContent.vue +33 -0
- package/src/components/ui/carousel/CarouselItem.vue +24 -0
- package/src/components/ui/carousel/CarouselNext.vue +41 -0
- package/src/components/ui/carousel/CarouselPrevious.vue +41 -0
- package/src/components/ui/checkbox/Checkbox.vue +35 -0
- package/src/components/ui/collapsible/Collapsible.vue +19 -0
- package/src/components/ui/collapsible/CollapsibleContent.vue +15 -0
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +15 -0
- package/src/components/ui/combobox/Combobox.vue +19 -0
- package/src/components/ui/combobox/ComboboxAnchor.vue +23 -0
- package/src/components/ui/combobox/ComboboxEmpty.vue +21 -0
- package/src/components/ui/combobox/ComboboxGroup.vue +27 -0
- package/src/components/ui/combobox/ComboboxInput.vue +42 -0
- package/src/components/ui/combobox/ComboboxItem.vue +24 -0
- package/src/components/ui/combobox/ComboboxItemIndicator.vue +23 -0
- package/src/components/ui/combobox/ComboboxList.vue +33 -0
- package/src/components/ui/combobox/ComboboxSeparator.vue +21 -0
- package/src/components/ui/combobox/ComboboxTrigger.vue +24 -0
- package/src/components/ui/combobox/ComboboxViewport.vue +23 -0
- package/src/components/ui/command/Command.vue +87 -0
- package/src/components/ui/command/CommandDialog.vue +31 -0
- package/src/components/ui/command/CommandEmpty.vue +27 -0
- package/src/components/ui/command/CommandGroup.vue +45 -0
- package/src/components/ui/command/CommandInput.vue +39 -0
- package/src/components/ui/command/CommandItem.vue +76 -0
- package/src/components/ui/command/CommandList.vue +25 -0
- package/src/components/ui/command/CommandSeparator.vue +21 -0
- package/src/components/ui/command/CommandShortcut.vue +17 -0
- package/src/components/ui/context-menu/ContextMenu.vue +18 -0
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuContent.vue +37 -0
- package/src/components/ui/context-menu/ContextMenuGroup.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuItem.vue +38 -0
- package/src/components/ui/context-menu/ContextMenuLabel.vue +22 -0
- package/src/components/ui/context-menu/ContextMenuPortal.vue +15 -0
- package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +39 -0
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +17 -0
- package/src/components/ui/context-menu/ContextMenuSub.vue +21 -0
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +32 -0
- package/src/components/ui/context-menu/ContextMenuTrigger.vue +17 -0
- package/src/components/ui/dialog/Dialog.vue +15 -64
- package/src/components/ui/dialog/DialogClose.vue +15 -0
- package/src/components/ui/dialog/DialogContent.vue +62 -0
- package/src/components/ui/dialog/DialogDescription.vue +23 -0
- package/src/components/ui/dialog/DialogFooter.vue +27 -0
- package/src/components/ui/dialog/DialogHeader.vue +17 -0
- package/src/components/ui/dialog/DialogOverlay.vue +21 -0
- package/src/components/ui/dialog/DialogScrollContent.vue +59 -0
- package/src/components/ui/dialog/DialogTitle.vue +23 -0
- package/src/components/ui/dialog/DialogTrigger.vue +15 -0
- package/src/components/ui/drawer/Drawer.vue +23 -0
- package/src/components/ui/drawer/DrawerClose.vue +15 -0
- package/src/components/ui/drawer/DrawerContent.vue +38 -0
- package/src/components/ui/drawer/DrawerDescription.vue +21 -0
- package/src/components/ui/drawer/DrawerFooter.vue +17 -0
- package/src/components/ui/drawer/DrawerHeader.vue +17 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +19 -0
- package/src/components/ui/drawer/DrawerTitle.vue +21 -0
- package/src/components/ui/drawer/DrawerTrigger.vue +15 -0
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +19 -0
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +39 -0
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +15 -0
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +31 -0
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +21 -0
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +40 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +23 -0
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +17 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +18 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +27 -0
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +31 -0
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +17 -0
- package/src/components/ui/empty/Empty.vue +20 -0
- package/src/components/ui/empty/EmptyContent.vue +20 -0
- package/src/components/ui/empty/EmptyDescription.vue +20 -0
- package/src/components/ui/empty/EmptyHeader.vue +20 -0
- package/src/components/ui/empty/EmptyMedia.vue +21 -0
- package/src/components/ui/empty/EmptyTitle.vue +17 -0
- package/src/components/ui/field/Field.vue +25 -0
- package/src/components/ui/field/FieldContent.vue +20 -0
- package/src/components/ui/field/FieldDescription.vue +22 -0
- package/src/components/ui/field/FieldError.vue +53 -0
- package/src/components/ui/field/FieldGroup.vue +20 -0
- package/src/components/ui/field/FieldLabel.vue +23 -0
- package/src/components/ui/field/FieldLegend.vue +24 -0
- package/src/components/ui/field/FieldSeparator.vue +29 -0
- package/src/components/ui/field/FieldSet.vue +21 -0
- package/src/components/ui/field/FieldTitle.vue +20 -0
- package/src/components/ui/form/FormControl.vue +17 -0
- package/src/components/ui/form/FormDescription.vue +21 -0
- package/src/components/ui/form/FormItem.vue +23 -0
- package/src/components/ui/form/FormLabel.vue +25 -0
- package/src/components/ui/form/FormMessage.vue +23 -0
- package/src/components/ui/hover-card/HoverCard.vue +19 -0
- package/src/components/ui/hover-card/HoverCardContent.vue +43 -0
- package/src/components/ui/hover-card/HoverCardTrigger.vue +15 -0
- package/src/components/ui/input/Input.vue +3 -3
- package/src/components/ui/input-group/InputGroup.vue +8 -8
- package/src/components/ui/input-group/InputGroupButton.vue +9 -1
- package/src/components/ui/input-group/InputGroupInput.vue +1 -1
- package/src/components/ui/input-group/InputGroupText.vue +1 -1
- package/src/components/ui/input-group/InputGroupTextarea.vue +1 -1
- package/src/components/ui/input-otp/InputOTP.vue +28 -0
- package/src/components/ui/input-otp/InputOTPGroup.vue +22 -0
- package/src/components/ui/input-otp/InputOTPSeparator.vue +21 -0
- package/src/components/ui/input-otp/InputOTPSlot.vue +32 -0
- package/src/components/ui/item/Item.vue +2 -0
- package/src/components/ui/item/ItemActions.vue +1 -1
- package/src/components/ui/item/ItemContent.vue +1 -1
- package/src/components/ui/item/ItemDescription.vue +2 -2
- package/src/components/ui/item/ItemFooter.vue +1 -1
- package/src/components/ui/item/ItemGroup.vue +1 -1
- package/src/components/ui/item/ItemHeader.vue +1 -1
- package/src/components/ui/item/ItemSeparator.vue +1 -1
- package/src/components/ui/item/ItemTitle.vue +1 -1
- package/src/components/ui/kbd/Kbd.vue +21 -0
- package/src/components/ui/kbd/KbdGroup.vue +17 -0
- package/src/components/ui/label/Label.vue +1 -1
- package/src/components/ui/menubar/Menubar.vue +33 -0
- package/src/components/ui/menubar/MenubarCheckboxItem.vue +39 -0
- package/src/components/ui/menubar/MenubarContent.vue +45 -0
- package/src/components/ui/menubar/MenubarGroup.vue +15 -0
- package/src/components/ui/menubar/MenubarItem.vue +36 -0
- package/src/components/ui/menubar/MenubarLabel.vue +20 -0
- package/src/components/ui/menubar/MenubarMenu.vue +15 -0
- package/src/components/ui/menubar/MenubarRadioGroup.vue +21 -0
- package/src/components/ui/menubar/MenubarRadioItem.vue +39 -0
- package/src/components/ui/menubar/MenubarSeparator.vue +21 -0
- package/src/components/ui/menubar/MenubarShortcut.vue +17 -0
- package/src/components/ui/menubar/MenubarSub.vue +24 -0
- package/src/components/ui/menubar/MenubarSubContent.vue +39 -0
- package/src/components/ui/menubar/MenubarSubTrigger.vue +28 -0
- package/src/components/ui/menubar/MenubarTrigger.vue +28 -0
- package/src/components/ui/native-select/NativeSelect.vue +50 -0
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +15 -0
- package/src/components/ui/native-select/NativeSelectOption.vue +15 -0
- package/src/components/ui/navigation-menu/NavigationMenu.vue +35 -0
- package/src/components/ui/navigation-menu/NavigationMenuContent.vue +31 -0
- package/src/components/ui/navigation-menu/NavigationMenuIndicator.vue +23 -0
- package/src/components/ui/navigation-menu/NavigationMenuItem.vue +21 -0
- package/src/components/ui/navigation-menu/NavigationMenuLink.vue +26 -0
- package/src/components/ui/navigation-menu/NavigationMenuList.vue +28 -0
- package/src/components/ui/navigation-menu/NavigationMenuTrigger.vue +32 -0
- package/src/components/ui/navigation-menu/NavigationMenuViewport.vue +31 -0
- package/src/components/ui/number-field/NumberField.vue +20 -0
- package/src/components/ui/number-field/NumberFieldContent.vue +14 -0
- package/src/components/ui/number-field/NumberFieldDecrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldIncrement.vue +22 -0
- package/src/components/ui/number-field/NumberFieldInput.vue +16 -0
- package/src/components/ui/pagination/Pagination.vue +26 -0
- package/src/components/ui/pagination/PaginationContent.vue +22 -0
- package/src/components/ui/pagination/PaginationEllipsis.vue +25 -0
- package/src/components/ui/pagination/PaginationFirst.vue +33 -0
- package/src/components/ui/pagination/PaginationItem.vue +34 -0
- package/src/components/ui/pagination/PaginationLast.vue +33 -0
- package/src/components/ui/pagination/PaginationNext.vue +33 -0
- package/src/components/ui/pagination/PaginationPrevious.vue +33 -0
- package/src/components/ui/pin-input/PinInput.vue +26 -0
- package/src/components/ui/pin-input/PinInputGroup.vue +21 -0
- package/src/components/ui/pin-input/PinInputSeparator.vue +19 -0
- package/src/components/ui/pin-input/PinInputSlot.vue +21 -0
- package/src/components/ui/popover/Popover.vue +19 -0
- package/src/components/ui/popover/PopoverAnchor.vue +15 -0
- package/src/components/ui/popover/PopoverContent.vue +45 -0
- package/src/components/ui/popover/PopoverTrigger.vue +15 -0
- package/src/components/ui/progress/Progress.vue +9 -12
- package/src/components/ui/radio-group/RadioGroup.vue +25 -0
- package/src/components/ui/radio-group/RadioGroupItem.vue +40 -0
- package/src/components/ui/range-calendar/RangeCalendar.vue +62 -0
- package/src/components/ui/range-calendar/RangeCalendarCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarCellTrigger.vue +41 -0
- package/src/components/ui/range-calendar/RangeCalendarGrid.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarGridBody.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridHead.vue +15 -0
- package/src/components/ui/range-calendar/RangeCalendarGridRow.vue +22 -0
- package/src/components/ui/range-calendar/RangeCalendarHeadCell.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeader.vue +23 -0
- package/src/components/ui/range-calendar/RangeCalendarHeading.vue +30 -0
- package/src/components/ui/range-calendar/RangeCalendarNextButton.vue +32 -0
- package/src/components/ui/range-calendar/RangeCalendarPrevButton.vue +32 -0
- package/src/components/ui/resizable/ResizableHandle.vue +30 -0
- package/src/components/ui/resizable/ResizablePanel.vue +21 -0
- package/src/components/ui/resizable/ResizablePanelGroup.vue +25 -0
- package/src/components/ui/scroll-area/ScrollArea.vue +2 -2
- package/src/components/ui/scroll-area/ScrollBar.vue +22 -16
- package/src/components/ui/select/SelectContent.vue +27 -18
- package/src/components/ui/select/SelectItem.vue +3 -3
- package/src/components/ui/select/SelectLabel.vue +1 -1
- package/src/components/ui/select/SelectScrollDownButton.vue +2 -2
- package/src/components/ui/select/SelectScrollUpButton.vue +2 -2
- package/src/components/ui/select/SelectSeparator.vue +1 -1
- package/src/components/ui/select/SelectTrigger.vue +2 -2
- package/src/components/ui/separator/Separator.vue +1 -1
- package/src/components/ui/sheet/SheetContent.vue +31 -28
- package/src/components/ui/sheet/SheetDescription.vue +1 -1
- package/src/components/ui/sheet/SheetFooter.vue +1 -1
- package/src/components/ui/sheet/SheetHeader.vue +1 -1
- package/src/components/ui/sheet/SheetOverlay.vue +1 -1
- package/src/components/ui/sheet/SheetTitle.vue +1 -1
- package/src/components/ui/sidebar/Sidebar.vue +16 -16
- package/src/components/ui/sidebar/SidebarContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarFooter.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroup.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupAction.vue +3 -3
- package/src/components/ui/sidebar/SidebarGroupContent.vue +1 -1
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +2 -2
- package/src/components/ui/sidebar/SidebarHeader.vue +1 -1
- package/src/components/ui/sidebar/SidebarInput.vue +1 -1
- package/src/components/ui/sidebar/SidebarInset.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenu.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuAction.vue +7 -7
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +6 -6
- package/src/components/ui/sidebar/SidebarMenuItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +3 -3
- package/src/components/ui/sidebar/SidebarMenuSub.vue +2 -2
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +5 -5
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +1 -1
- package/src/components/ui/sidebar/SidebarProvider.vue +1 -1
- package/src/components/ui/sidebar/SidebarRail.vue +6 -6
- package/src/components/ui/sidebar/SidebarSeparator.vue +1 -1
- package/src/components/ui/sidebar/SidebarTrigger.vue +2 -2
- package/src/components/ui/skeleton/Skeleton.vue +1 -1
- package/src/components/ui/slider/Slider.vue +43 -0
- package/src/components/ui/sonner/Sonner.vue +7 -7
- package/src/components/ui/spinner/Spinner.vue +17 -0
- package/src/components/ui/stepper/Stepper.vue +27 -0
- package/src/components/ui/stepper/StepperDescription.vue +19 -0
- package/src/components/ui/stepper/StepperIndicator.vue +32 -0
- package/src/components/ui/stepper/StepperItem.vue +23 -0
- package/src/components/ui/stepper/StepperSeparator.vue +27 -0
- package/src/components/ui/stepper/StepperTitle.vue +19 -0
- package/src/components/ui/stepper/StepperTrigger.vue +22 -0
- package/src/components/ui/switch/Switch.vue +2 -2
- package/src/components/ui/table/Table.vue +12 -6
- package/src/components/ui/table/TableBody.vue +1 -1
- package/src/components/ui/table/TableCaption.vue +1 -1
- package/src/components/ui/table/TableCell.vue +1 -1
- package/src/components/ui/table/TableEmpty.vue +17 -14
- package/src/components/ui/table/TableFooter.vue +1 -1
- package/src/components/ui/table/TableHead.vue +1 -1
- package/src/components/ui/table/TableHeader.vue +1 -1
- package/src/components/ui/table/TableRow.vue +1 -1
- package/src/components/ui/tabs/Tabs.vue +1 -1
- package/src/components/ui/tabs/TabsContent.vue +1 -1
- package/src/components/ui/tabs/TabsList.vue +1 -1
- package/src/components/ui/tabs/TabsTrigger.vue +1 -1
- package/src/components/ui/tags-input/TagsInput.vue +26 -0
- package/src/components/ui/tags-input/TagsInputInput.vue +17 -0
- package/src/components/ui/tags-input/TagsInputItem.vue +20 -0
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +22 -0
- package/src/components/ui/tags-input/TagsInputItemText.vue +19 -0
- package/src/components/ui/textarea/Textarea.vue +1 -1
- package/src/components/ui/toggle/Toggle.vue +35 -0
- package/src/components/ui/toggle-group/ToggleGroup.vue +49 -0
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +46 -0
- package/src/components/ui/tooltip/TooltipContent.vue +2 -2
- package/dist/src/components/NS/lottie-animation/NSLottieAnimation.vue.d.ts +0 -75
- package/dist/src/components/ui/checkbox/NsCheckbox.vue.d.ts +0 -49
- package/dist/src/components/ui/toggle/NsToggle.vue.d.ts +0 -54
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TagsInputItemProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TagsInputItemProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TagsInputItemDeleteProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TagsInputItemDeleteProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TagsInputItemTextProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = TagsInputItemTextProps & {
|
|
4
|
+
class?: HTMLAttributes["class"];
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as TagsInput } from './TagsInput.vue';
|
|
2
|
+
export { default as TagsInputInput } from './TagsInputInput.vue';
|
|
3
|
+
export { default as TagsInputItem } from './TagsInputItem.vue';
|
|
4
|
+
export { default as TagsInputItemDelete } from './TagsInputItemDelete.vue';
|
|
5
|
+
export { default as TagsInputItemText } from './TagsInputItemText.vue';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ToggleProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
import { ToggleVariants } from '.';
|
|
4
|
+
type __VLS_Props = ToggleProps & {
|
|
5
|
+
class?: HTMLAttributes["class"];
|
|
6
|
+
variant?: ToggleVariants["variant"];
|
|
7
|
+
size?: ToggleVariants["size"];
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: any): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: boolean) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
variant: "default" | "outline" | null;
|
|
25
|
+
size: "default" | "sm" | "lg" | null;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
export { default as
|
|
2
|
+
export { default as Toggle } from './Toggle.vue';
|
|
3
3
|
export declare const toggleVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "
|
|
4
|
+
variant?: "default" | "outline" | null | undefined;
|
|
5
5
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export declare const toggleThumbVariants: (props?: ({
|
|
8
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
9
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
-
export declare const labelVariants: (props?: ({
|
|
11
|
-
variant?: "default" | "destructive" | "warning" | "success" | "muted" | null | undefined;
|
|
12
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
7
|
export type ToggleVariants = VariantProps<typeof toggleVariants>;
|
|
14
|
-
export type ToggleThumbVariants = VariantProps<typeof toggleThumbVariants>;
|
|
15
|
-
export type LabelVariants = VariantProps<typeof labelVariants>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ToggleGroupRootProps } from 'reka-ui';
|
|
3
|
+
import { HTMLAttributes } from 'vue';
|
|
4
|
+
import { toggleVariants } from '../toggle';
|
|
5
|
+
type ToggleGroupVariants = VariantProps<typeof toggleVariants>;
|
|
6
|
+
type __VLS_Props = ToggleGroupRootProps & {
|
|
7
|
+
class?: HTMLAttributes["class"];
|
|
8
|
+
variant?: ToggleGroupVariants["variant"];
|
|
9
|
+
size?: ToggleGroupVariants["size"];
|
|
10
|
+
spacing?: number;
|
|
11
|
+
};
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {
|
|
16
|
+
modelValue: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[] | undefined;
|
|
17
|
+
}): any;
|
|
18
|
+
};
|
|
19
|
+
refs: {};
|
|
20
|
+
rootEl: any;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
23
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (payload: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]) => any;
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((payload: import('reka-ui').AcceptableValue | import('reka-ui').AcceptableValue[]) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
spacing: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ToggleGroupItemProps } from 'reka-ui';
|
|
3
|
+
import { HTMLAttributes } from 'vue';
|
|
4
|
+
import { toggleVariants } from '../toggle';
|
|
5
|
+
type ToggleGroupVariants = VariantProps<typeof toggleVariants> & {
|
|
6
|
+
spacing?: number;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = ToggleGroupItemProps & {
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
variant?: ToggleGroupVariants["variant"];
|
|
11
|
+
size?: ToggleGroupVariants["size"];
|
|
12
|
+
};
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: any): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geniusdynamics/ns8-ui-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Vue 3 library for NethServer 8 UI with TailwindCSS and Shadcn Vue",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nethserver",
|
|
@@ -38,35 +38,41 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@tanstack/vue-table": "^8.21.3",
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
41
|
+
"@vee-validate/zod": "^4.15.1",
|
|
42
|
+
"@vueuse/core": "^14.2.1",
|
|
43
|
+
"axios": "^1.13.6",
|
|
43
44
|
"class-variance-authority": "^0.7.1",
|
|
44
45
|
"clsx": "^2.1.1",
|
|
45
46
|
"date-fns": "^4.1.0",
|
|
46
47
|
"date-fns-tz": "^3.2.0",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
48
|
+
"embla-carousel-vue": "^8.6.0",
|
|
49
|
+
"lottie-web-vue": "^2.0.7",
|
|
50
|
+
"radix-vue": "^1.9.17",
|
|
51
|
+
"reka-ui": "^2.9.2",
|
|
52
|
+
"tailwind-merge": "^3.5.0",
|
|
51
53
|
"tw-animate-css": "^1.4.0",
|
|
52
54
|
"uuid": "^13.0.0",
|
|
53
|
-
"vue": "^
|
|
54
|
-
"
|
|
55
|
+
"vaul-vue": "^0.4.1",
|
|
56
|
+
"vee-validate": "^4.15.1",
|
|
57
|
+
"vue": "^3.5.30",
|
|
58
|
+
"vue-input-otp": "^0.3.2",
|
|
59
|
+
"vue-sonner": "^2.0.9",
|
|
60
|
+
"zod": "3.25.76"
|
|
55
61
|
},
|
|
56
62
|
"devDependencies": {
|
|
57
|
-
"@tailwindcss/vite": "^4.1
|
|
58
|
-
"@types/node": "^
|
|
59
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
60
|
-
"@vue/tsconfig": "^0.
|
|
61
|
-
"autoprefixer": "^10.4.
|
|
62
|
-
"postcss": "^8.
|
|
63
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
64
|
+
"@types/node": "^25.5.0",
|
|
65
|
+
"@vitejs/plugin-vue": "^6.0.5",
|
|
66
|
+
"@vue/tsconfig": "^0.9.0",
|
|
67
|
+
"autoprefixer": "^10.4.27",
|
|
68
|
+
"postcss": "^8.5.8",
|
|
63
69
|
"shadcn-vue": "^2.4.3",
|
|
64
|
-
"tailwindcss": "^4.1
|
|
70
|
+
"tailwindcss": "^4.2.1",
|
|
65
71
|
"tailwindcss-animate": "^1.0.7",
|
|
66
72
|
"typescript": "~5.9.3",
|
|
67
|
-
"vite": "^
|
|
68
|
-
"vite-plugin-dts": "^4.
|
|
69
|
-
"vue-tsc": "^3.
|
|
73
|
+
"vite": "^8.0.0",
|
|
74
|
+
"vite-plugin-dts": "^4.5.4",
|
|
75
|
+
"vue-tsc": "^3.2.5"
|
|
70
76
|
},
|
|
71
77
|
"peerDependencies": {
|
|
72
78
|
"lucide-vue-next": "^0.562.0",
|
package/src/App.vue
CHANGED
|
@@ -5,10 +5,10 @@ import HelloWorld from './components/HelloWorld.vue'
|
|
|
5
5
|
<template>
|
|
6
6
|
<div>
|
|
7
7
|
<a href="https://vite.dev" target="_blank">
|
|
8
|
-
<img src="/vite.svg" class="logo" alt="Vite logo" />
|
|
8
|
+
<img src="/vite.svg" class="tw:logo" alt="Vite logo" />
|
|
9
9
|
</a>
|
|
10
10
|
<a href="https://vuejs.org/" target="_blank">
|
|
11
|
-
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
|
|
11
|
+
<img src="./assets/vue.svg" class="tw:logo tw:vue" alt="Vue logo" />
|
|
12
12
|
</a>
|
|
13
13
|
</div>
|
|
14
14
|
<HelloWorld msg="Vite + Vue" />
|
|
@@ -9,7 +9,7 @@ const count = ref(0)
|
|
|
9
9
|
<template>
|
|
10
10
|
<h1>{{ msg }}</h1>
|
|
11
11
|
|
|
12
|
-
<div class="card">
|
|
12
|
+
<div class="tw:card">
|
|
13
13
|
<button type="button" @click="count++">count is {{ count }}</button>
|
|
14
14
|
<p>
|
|
15
15
|
Edit
|
|
@@ -31,7 +31,7 @@ const count = ref(0)
|
|
|
31
31
|
>Vue Docs Scaling up Guide</a
|
|
32
32
|
>.
|
|
33
33
|
</p>
|
|
34
|
-
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
|
|
34
|
+
<p class="tw:read-the-docs">Click on the Vite and Vue logos to learn more</p>
|
|
35
35
|
</template>
|
|
36
36
|
|
|
37
37
|
<style scoped>
|
|
@@ -149,16 +149,16 @@ const handleWizardFinish = (data: any) => {
|
|
|
149
149
|
</script>
|
|
150
150
|
|
|
151
151
|
<template>
|
|
152
|
-
<div class="p-8 space-y-12 max-w-7xl mx-auto">
|
|
153
|
-
<h1 class="text-3xl font-bold mb-8">NS Components - Complete Showcase</h1>
|
|
152
|
+
<div class="tw:p-8 tw:space-y-12 tw:max-w-7xl tw:mx-auto">
|
|
153
|
+
<h1 class="tw:text-3xl tw:font-bold tw:mb-8">NS Components - Complete Showcase</h1>
|
|
154
154
|
|
|
155
155
|
<!-- Basic Form Controls -->
|
|
156
|
-
<section class="space-y-6">
|
|
157
|
-
<h2 class="text-2xl font-semibold">Basic Form Controls</h2>
|
|
158
|
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
156
|
+
<section class="tw:space-y-6">
|
|
157
|
+
<h2 class="tw:text-2xl tw:font-semibold">Basic Form Controls</h2>
|
|
158
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 lg:tw:grid-cols-3 tw:gap-6">
|
|
159
159
|
<!-- NS Checkbox -->
|
|
160
|
-
<div class="space-y-4">
|
|
161
|
-
<h3 class="text-lg font-medium">NS Checkbox</h3>
|
|
160
|
+
<div class="tw:space-y-4">
|
|
161
|
+
<h3 class="tw:text-lg tw:font-medium">NS Checkbox</h3>
|
|
162
162
|
<NSCheckbox
|
|
163
163
|
v-model:checked="checkboxValue"
|
|
164
164
|
label="Accept terms and conditions"
|
|
@@ -174,8 +174,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
174
174
|
</div>
|
|
175
175
|
|
|
176
176
|
<!-- NS Text Input -->
|
|
177
|
-
<div class="space-y-4">
|
|
178
|
-
<h3 class="text-lg font-medium">NS Text Input</h3>
|
|
177
|
+
<div class="tw:space-y-4">
|
|
178
|
+
<h3 class="tw:text-lg tw:font-medium">NS Text Input</h3>
|
|
179
179
|
<NSTextInput
|
|
180
180
|
v-model="textValue"
|
|
181
181
|
label="Email"
|
|
@@ -194,8 +194,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
194
194
|
</div>
|
|
195
195
|
|
|
196
196
|
<!-- NS Toggle -->
|
|
197
|
-
<div class="space-y-4">
|
|
198
|
-
<h3 class="text-lg font-medium">NS Toggle</h3>
|
|
197
|
+
<div class="tw:space-y-4">
|
|
198
|
+
<h3 class="tw:text-lg tw:font-medium">NS Toggle</h3>
|
|
199
199
|
<NSToggle
|
|
200
200
|
v-model:checked="toggleValue"
|
|
201
201
|
label="Dark Mode"
|
|
@@ -215,9 +215,9 @@ const handleWizardFinish = (data: any) => {
|
|
|
215
215
|
</section>
|
|
216
216
|
|
|
217
217
|
<!-- Tags and Badges -->
|
|
218
|
-
<section class="space-y-6">
|
|
219
|
-
<h2 class="text-2xl font-semibold">NS Tag</h2>
|
|
220
|
-
<div class="flex flex-wrap gap-2">
|
|
218
|
+
<section class="tw:space-y-6">
|
|
219
|
+
<h2 class="tw:text-2xl tw:font-semibold">NS Tag</h2>
|
|
220
|
+
<div class="tw:flex tw:flex-wrap tw:gap-2">
|
|
221
221
|
<NSTag
|
|
222
222
|
v-for="(tag, index) in tags"
|
|
223
223
|
:key="index"
|
|
@@ -236,11 +236,11 @@ const handleWizardFinish = (data: any) => {
|
|
|
236
236
|
</section>
|
|
237
237
|
|
|
238
238
|
<!-- Progress and Sliders -->
|
|
239
|
-
<section class="space-y-6">
|
|
240
|
-
<h2 class="text-2xl font-semibold">Progress & Sliders</h2>
|
|
241
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
242
|
-
<div class="space-y-4">
|
|
243
|
-
<h3 class="text-lg font-medium">Progress Components</h3>
|
|
239
|
+
<section class="tw:space-y-6">
|
|
240
|
+
<h2 class="tw:text-2xl tw:font-semibold">Progress & Sliders</h2>
|
|
241
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-6">
|
|
242
|
+
<div class="tw:space-y-4">
|
|
243
|
+
<h3 class="tw:text-lg tw:font-medium">Progress Components</h3>
|
|
244
244
|
<NSProgress
|
|
245
245
|
:value="progressValue"
|
|
246
246
|
show-label
|
|
@@ -255,8 +255,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
255
255
|
/>
|
|
256
256
|
</div>
|
|
257
257
|
|
|
258
|
-
<div class="space-y-4">
|
|
259
|
-
<h3 class="text-lg font-medium">Slider Components</h3>
|
|
258
|
+
<div class="tw:space-y-4">
|
|
259
|
+
<h3 class="tw:text-lg tw:font-medium">Slider Components</h3>
|
|
260
260
|
<NSSlider
|
|
261
261
|
v-model="sliderValue"
|
|
262
262
|
:max="100"
|
|
@@ -277,19 +277,19 @@ const handleWizardFinish = (data: any) => {
|
|
|
277
277
|
</section>
|
|
278
278
|
|
|
279
279
|
<!-- Empty State and Notifications -->
|
|
280
|
-
<section class="space-y-6">
|
|
281
|
-
<h2 class="text-2xl font-semibold">Empty States & Notifications</h2>
|
|
282
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
283
|
-
<div class="space-y-4">
|
|
284
|
-
<h3 class="text-lg font-medium">Empty States</h3>
|
|
280
|
+
<section class="tw:space-y-6">
|
|
281
|
+
<h2 class="tw:text-2xl tw:font-semibold">Empty States & Notifications</h2>
|
|
282
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-6">
|
|
283
|
+
<div class="tw:space-y-4">
|
|
284
|
+
<h3 class="tw:text-lg tw:font-medium">Empty States</h3>
|
|
285
285
|
<NSEmptyState
|
|
286
286
|
title="No results found"
|
|
287
287
|
description="Try adjusting your search filters to find what you're looking for."
|
|
288
288
|
/>
|
|
289
289
|
</div>
|
|
290
290
|
|
|
291
|
-
<div class="space-y-4">
|
|
292
|
-
<h3 class="text-lg font-medium">Notifications</h3>
|
|
291
|
+
<div class="tw:space-y-4">
|
|
292
|
+
<h3 class="tw:text-lg tw:font-medium">Notifications</h3>
|
|
293
293
|
<NSInlineNotification
|
|
294
294
|
title="Success!"
|
|
295
295
|
description="Your changes have been saved successfully."
|
|
@@ -309,36 +309,36 @@ const handleWizardFinish = (data: any) => {
|
|
|
309
309
|
</section>
|
|
310
310
|
|
|
311
311
|
<!-- Modal -->
|
|
312
|
-
<section class="space-y-6">
|
|
313
|
-
<h2 class="text-2xl font-semibold">Modal</h2>
|
|
312
|
+
<section class="tw:space-y-6">
|
|
313
|
+
<h2 class="tw:text-2xl tw:font-semibold">Modal</h2>
|
|
314
314
|
<NSModalTrigger
|
|
315
315
|
v-model="modalOpen"
|
|
316
316
|
title="Example Modal"
|
|
317
317
|
description="This is an example modal with rich content."
|
|
318
318
|
>
|
|
319
319
|
<template #trigger>
|
|
320
|
-
<button class="px-4 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90">
|
|
320
|
+
<button class="tw:px-4 tw:py-2 tw:bg-primary tw:text-primary-foreground tw:rounded-md hover:tw:bg-primary/90">
|
|
321
321
|
Open Modal
|
|
322
322
|
</button>
|
|
323
323
|
</template>
|
|
324
324
|
|
|
325
|
-
<div class="space-y-4">
|
|
325
|
+
<div class="tw:space-y-4">
|
|
326
326
|
<p>This modal demonstrates the NSModal component with:</p>
|
|
327
|
-
<ul class="list-disc list-inside space-y-1 text-sm text-muted-foreground">
|
|
327
|
+
<ul class="tw:list-disc tw:list-inside tw:space-y-1 tw:text-sm tw:text-muted-foreground">
|
|
328
328
|
<li>Customizable sizes</li>
|
|
329
329
|
<li>Fullscreen mode</li>
|
|
330
330
|
<li>Header and footer slots</li>
|
|
331
331
|
<li>Escape key and overlay click handling</li>
|
|
332
332
|
</ul>
|
|
333
|
-
<div class="flex justify-end gap-2 pt-4">
|
|
333
|
+
<div class="tw:flex tw:justify-end tw:gap-2 tw:pt-4">
|
|
334
334
|
<button
|
|
335
|
-
class="px-3 py-2 border border-input bg-background hover:bg-accent rounded-md"
|
|
335
|
+
class="tw:px-3 tw:py-2 tw:border tw:border-input tw:bg-background hover:tw:bg-accent tw:rounded-md"
|
|
336
336
|
@click="modalOpen = false"
|
|
337
337
|
>
|
|
338
338
|
Cancel
|
|
339
339
|
</button>
|
|
340
340
|
<button
|
|
341
|
-
class="px-3 py-2 bg-primary text-primary-foreground rounded-md hover:bg-primary/90"
|
|
341
|
+
class="tw:px-3 tw:py-2 tw:bg-primary tw:text-primary-foreground tw:rounded-md hover:tw:bg-primary/90"
|
|
342
342
|
@click="modalOpen = false"
|
|
343
343
|
>
|
|
344
344
|
Confirm
|
|
@@ -349,8 +349,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
349
349
|
</section>
|
|
350
350
|
|
|
351
351
|
<!-- Data Table -->
|
|
352
|
-
<section class="space-y-6">
|
|
353
|
-
<h2 class="text-2xl font-semibold">Data Table</h2>
|
|
352
|
+
<section class="tw:space-y-6">
|
|
353
|
+
<h2 class="tw:text-2xl tw:font-semibold">Data Table</h2>
|
|
354
354
|
<NSDataTable
|
|
355
355
|
:data="tableData"
|
|
356
356
|
:columns="tableColumns"
|
|
@@ -367,8 +367,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
367
367
|
</section>
|
|
368
368
|
|
|
369
369
|
<!-- Wizard -->
|
|
370
|
-
<section class="space-y-6">
|
|
371
|
-
<h2 class="text-2xl font-semibold">Wizard</h2>
|
|
370
|
+
<section class="tw:space-y-6">
|
|
371
|
+
<h2 class="tw:text-2xl tw:font-semibold">Wizard</h2>
|
|
372
372
|
<NSWizard
|
|
373
373
|
v-model="wizardStep"
|
|
374
374
|
:steps="wizardSteps"
|
|
@@ -379,7 +379,7 @@ const handleWizardFinish = (data: any) => {
|
|
|
379
379
|
@finish="handleWizardFinish"
|
|
380
380
|
>
|
|
381
381
|
<template #step-account>
|
|
382
|
-
<div class="space-y-4">
|
|
382
|
+
<div class="tw:space-y-4">
|
|
383
383
|
<NSTextInput label="Username" placeholder="Choose a username" />
|
|
384
384
|
<NSTextInput label="Email" type="email" placeholder="your@email.com" />
|
|
385
385
|
<NSTextInput label="Password" type="password" :show-password-toggle="true" />
|
|
@@ -387,7 +387,7 @@ const handleWizardFinish = (data: any) => {
|
|
|
387
387
|
</template>
|
|
388
388
|
|
|
389
389
|
<template #step-profile>
|
|
390
|
-
<div class="space-y-4">
|
|
390
|
+
<div class="tw:space-y-4">
|
|
391
391
|
<NSTextInput label="First Name" placeholder="John" />
|
|
392
392
|
<NSTextInput label="Last Name" placeholder="Doe" />
|
|
393
393
|
<NSTextInput label="Phone" placeholder="+1 234 567 8900" />
|
|
@@ -395,7 +395,7 @@ const handleWizardFinish = (data: any) => {
|
|
|
395
395
|
</template>
|
|
396
396
|
|
|
397
397
|
<template #step-preferences>
|
|
398
|
-
<div class="space-y-4">
|
|
398
|
+
<div class="tw:space-y-4">
|
|
399
399
|
<NSToggle label="Email Notifications" description="Receive email updates" />
|
|
400
400
|
<NSToggle label="Push Notifications" description="Receive push notifications" />
|
|
401
401
|
<NSToggle label="Dark Mode" description="Use dark theme" />
|
|
@@ -403,7 +403,7 @@ const handleWizardFinish = (data: any) => {
|
|
|
403
403
|
</template>
|
|
404
404
|
|
|
405
405
|
<template #step-review>
|
|
406
|
-
<div class="space-y-4">
|
|
406
|
+
<div class="tw:space-y-4">
|
|
407
407
|
<NSEmptyState
|
|
408
408
|
title="Review Your Information"
|
|
409
409
|
description="Please review all the information you've provided before completing the setup."
|
|
@@ -415,9 +415,9 @@ const handleWizardFinish = (data: any) => {
|
|
|
415
415
|
</section>
|
|
416
416
|
|
|
417
417
|
<!-- Specialized Cards -->
|
|
418
|
-
<section class="space-y-6">
|
|
419
|
-
<h2 class="text-2xl font-semibold">Specialized Cards</h2>
|
|
420
|
-
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
418
|
+
<section class="tw:space-y-6">
|
|
419
|
+
<h2 class="tw:text-2xl tw:font-semibold">Specialized Cards</h2>
|
|
420
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 lg:tw:grid-cols-3 tw:gap-6">
|
|
421
421
|
<!-- Backup Card -->
|
|
422
422
|
<NSBackupCard
|
|
423
423
|
:backups="backupData"
|
|
@@ -459,8 +459,8 @@ const handleWizardFinish = (data: any) => {
|
|
|
459
459
|
</section>
|
|
460
460
|
|
|
461
461
|
<!-- Pagination -->
|
|
462
|
-
<section class="space-y-6">
|
|
463
|
-
<h2 class="text-2xl font-semibold">Pagination</h2>
|
|
462
|
+
<section class="tw:space-y-6">
|
|
463
|
+
<h2 class="tw:text-2xl tw:font-semibold">Pagination</h2>
|
|
464
464
|
<NSPagination
|
|
465
465
|
:current-page="currentPage"
|
|
466
466
|
:total-items="50"
|
|
@@ -28,13 +28,13 @@ const handleNotificationAction = () => {
|
|
|
28
28
|
</script>
|
|
29
29
|
|
|
30
30
|
<template>
|
|
31
|
-
<div class="p-8 space-y-8 max-w-4xl mx-auto">
|
|
32
|
-
<h1 class="text-2xl font-bold mb-6">NS Components Demo</h1>
|
|
31
|
+
<div class="tw:p-8 tw:space-y-8 tw:max-w-4xl tw:mx-auto">
|
|
32
|
+
<h1 class="tw:text-2xl tw:font-bold tw:mb-6">NS Components Demo</h1>
|
|
33
33
|
|
|
34
34
|
<!-- NS Checkbox -->
|
|
35
|
-
<div class="space-y-4">
|
|
36
|
-
<h2 class="text-xl font-semibold">NS Checkbox</h2>
|
|
37
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
35
|
+
<div class="tw:space-y-4">
|
|
36
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Checkbox</h2>
|
|
37
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-4">
|
|
38
38
|
<NSCheckbox
|
|
39
39
|
v-model:checked="checkboxValue"
|
|
40
40
|
label="Accept terms and conditions"
|
|
@@ -63,9 +63,9 @@ const handleNotificationAction = () => {
|
|
|
63
63
|
</div>
|
|
64
64
|
|
|
65
65
|
<!-- NS Text Input -->
|
|
66
|
-
<div class="space-y-4">
|
|
67
|
-
<h2 class="text-xl font-semibold">NS Text Input</h2>
|
|
68
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
66
|
+
<div class="tw:space-y-4">
|
|
67
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Text Input</h2>
|
|
68
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-4">
|
|
69
69
|
<NSTextInput
|
|
70
70
|
v-model="textValue"
|
|
71
71
|
label="Username"
|
|
@@ -97,9 +97,9 @@ const handleNotificationAction = () => {
|
|
|
97
97
|
</div>
|
|
98
98
|
|
|
99
99
|
<!-- NS Toggle -->
|
|
100
|
-
<div class="space-y-4">
|
|
101
|
-
<h2 class="text-xl font-semibold">NS Toggle</h2>
|
|
102
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
100
|
+
<div class="tw:space-y-4">
|
|
101
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Toggle</h2>
|
|
102
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-4">
|
|
103
103
|
<NSToggle
|
|
104
104
|
v-model:checked="toggleValue"
|
|
105
105
|
label="Dark Mode"
|
|
@@ -130,9 +130,9 @@ const handleNotificationAction = () => {
|
|
|
130
130
|
</div>
|
|
131
131
|
|
|
132
132
|
<!-- NS Tag -->
|
|
133
|
-
<div class="space-y-4">
|
|
134
|
-
<h2 class="text-xl font-semibold">NS Tag</h2>
|
|
135
|
-
<div class="flex flex-wrap gap-2">
|
|
133
|
+
<div class="tw:space-y-4">
|
|
134
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Tag</h2>
|
|
135
|
+
<div class="tw:flex tw:flex-wrap tw:gap-2">
|
|
136
136
|
<NSTag v-for="(tag, index) in tags" :key="index" :label="tag" removable @remove="handleTagRemove(index)" />
|
|
137
137
|
<NSTag label="Default" />
|
|
138
138
|
<NSTag label="Secondary" variant="secondary" />
|
|
@@ -145,9 +145,9 @@ const handleNotificationAction = () => {
|
|
|
145
145
|
</div>
|
|
146
146
|
|
|
147
147
|
<!-- NS Empty State -->
|
|
148
|
-
<div class="space-y-4">
|
|
149
|
-
<h2 class="text-xl font-semibold">NS Empty State</h2>
|
|
150
|
-
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
148
|
+
<div class="tw:space-y-4">
|
|
149
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Empty State</h2>
|
|
150
|
+
<div class="tw:grid tw:grid-cols-1 md:tw:grid-cols-2 tw:gap-4">
|
|
151
151
|
<NSEmptyState
|
|
152
152
|
title="No results found"
|
|
153
153
|
description="Try adjusting your search filters to find what you're looking for."
|
|
@@ -161,9 +161,9 @@ const handleNotificationAction = () => {
|
|
|
161
161
|
</div>
|
|
162
162
|
|
|
163
163
|
<!-- NS Inline Notification -->
|
|
164
|
-
<div class="space-y-4">
|
|
165
|
-
<h2 class="text-xl font-semibold">NS Inline Notification</h2>
|
|
166
|
-
<div class="grid grid-cols-1 gap-4">
|
|
164
|
+
<div class="tw:space-y-4">
|
|
165
|
+
<h2 class="tw:text-xl tw:font-semibold">NS Inline Notification</h2>
|
|
166
|
+
<div class="tw:grid tw:grid-cols-1 tw:gap-4">
|
|
167
167
|
<NSInlineNotification
|
|
168
168
|
title="Success!"
|
|
169
169
|
description="Your changes have been saved successfully."
|