@geniusdynamics/ns8-ui-lib 1.0.3 → 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/README.md +8 -18
- 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
|
@@ -129,8 +129,7 @@ defineExpose({
|
|
|
129
129
|
<label
|
|
130
130
|
v-if="label || $slots.label"
|
|
131
131
|
:for="inputId"
|
|
132
|
-
:class="cn(
|
|
133
|
-
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
|
|
132
|
+
:class="cn( 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70',
|
|
134
133
|
{
|
|
135
134
|
'text-destructive': errorMessage,
|
|
136
135
|
'text-orange-600': warningMessage,
|
|
@@ -142,11 +141,10 @@ defineExpose({
|
|
|
142
141
|
<slot name="label">{{ label }}</slot>
|
|
143
142
|
</label>
|
|
144
143
|
|
|
145
|
-
<div class="relative">
|
|
144
|
+
<div class="tw:relative">
|
|
146
145
|
<span
|
|
147
146
|
v-if="prefix"
|
|
148
|
-
:class="cn(
|
|
149
|
-
'absolute left-3 top-1/2 transform -translate-y-1/2 text-sm text-muted-foreground',
|
|
147
|
+
:class="cn( 'absolute left-3 top-1/2 transform -translate-y-1/2 text-sm text-muted-foreground',
|
|
150
148
|
{
|
|
151
149
|
'text-destructive': errorMessage,
|
|
152
150
|
'text-orange-600': warningMessage,
|
|
@@ -161,8 +159,7 @@ defineExpose({
|
|
|
161
159
|
:id="inputId"
|
|
162
160
|
ref="inputRef"
|
|
163
161
|
:type="actualType"
|
|
164
|
-
:class="cn(
|
|
165
|
-
'flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',
|
|
162
|
+
:class="cn( 'flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',
|
|
166
163
|
{
|
|
167
164
|
'pl-8': prefix,
|
|
168
165
|
'pr-16': (isPassword && showPasswordToggle) || StatusIcon,
|
|
@@ -189,7 +186,7 @@ defineExpose({
|
|
|
189
186
|
|
|
190
187
|
<div
|
|
191
188
|
v-if="StatusIcon || (isPassword && showPasswordToggle)"
|
|
192
|
-
class="absolute right-0 top-1/2 transform
|
|
189
|
+
class="tw:absolute tw:right-0 tw:top-1/2 tw:transform tw:-translate-y-1/2 tw:flex tw:items-center tw:gap-1 tw:pr-3"
|
|
193
190
|
>
|
|
194
191
|
<component
|
|
195
192
|
v-if="StatusIcon"
|
|
@@ -204,8 +201,7 @@ defineExpose({
|
|
|
204
201
|
<button
|
|
205
202
|
v-if="isPassword && showPasswordToggle"
|
|
206
203
|
type="button"
|
|
207
|
-
:class="cn(
|
|
208
|
-
'text-muted-foreground hover:text-foreground transition-colors',
|
|
204
|
+
:class="cn( 'text-muted-foreground hover:text-foreground transition-colors',
|
|
209
205
|
{
|
|
210
206
|
'pointer-events-none': disabled
|
|
211
207
|
}
|
|
@@ -214,8 +210,8 @@ defineExpose({
|
|
|
214
210
|
@click="togglePasswordVisibility"
|
|
215
211
|
:title="isPasswordVisible ? 'Hide password' : 'Show password'"
|
|
216
212
|
>
|
|
217
|
-
<EyeOff v-if="isPasswordVisible" class="h-4 w-4" />
|
|
218
|
-
<Eye v-else class="h-4 w-4" />
|
|
213
|
+
<EyeOff v-if="isPasswordVisible" class="tw:h-4 tw:w-4" />
|
|
214
|
+
<Eye v-else class="tw:h-4 tw:w-4" />
|
|
219
215
|
</button>
|
|
220
216
|
</div>
|
|
221
217
|
</div>
|
|
@@ -232,7 +228,7 @@ defineExpose({
|
|
|
232
228
|
<component
|
|
233
229
|
v-if="StatusIcon"
|
|
234
230
|
:is="StatusIcon"
|
|
235
|
-
class="h-4 w-4 mt-0.5 flex-shrink-0"
|
|
231
|
+
class="tw:h-4 tw:w-4 tw:mt-0.5 tw:flex-shrink-0"
|
|
236
232
|
/>
|
|
237
233
|
<span>{{ displayMessage }}</span>
|
|
238
234
|
</p>
|
|
@@ -85,24 +85,24 @@ const positionClasses = computed(() => {
|
|
|
85
85
|
<!-- Icon -->
|
|
86
86
|
<component
|
|
87
87
|
:is="NotificationIcon"
|
|
88
|
-
class="h-5 w-5 shrink-0"
|
|
88
|
+
class="tw:h-5 tw:w-5 tw:shrink-0"
|
|
89
89
|
/>
|
|
90
90
|
|
|
91
91
|
<!-- Loading spinner -->
|
|
92
92
|
<Loader2
|
|
93
93
|
v-if="loading"
|
|
94
|
-
class="h-5 w-5 shrink-0 animate-spin"
|
|
94
|
+
class="tw:h-5 tw:w-5 tw:shrink-0 tw:animate-spin"
|
|
95
95
|
/>
|
|
96
96
|
|
|
97
97
|
<!-- Content -->
|
|
98
|
-
<div class="grid gap-1">
|
|
98
|
+
<div class="tw:grid tw:gap-1">
|
|
99
99
|
<!-- Title -->
|
|
100
|
-
<div v-if="title || $slots.title" class="text-sm font-semibold">
|
|
100
|
+
<div v-if="title || $slots.title" class="tw:text-sm tw:font-semibold">
|
|
101
101
|
<slot name="title">{{ title }}</slot>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
104
|
<!-- Description -->
|
|
105
|
-
<div v-if="description || $slots.description" class="text-sm opacity-90">
|
|
105
|
+
<div v-if="description || $slots.description" class="tw:text-sm tw:opacity-90">
|
|
106
106
|
<slot name="description">{{ description }}</slot>
|
|
107
107
|
</div>
|
|
108
108
|
|
|
@@ -110,8 +110,7 @@ const positionClasses = computed(() => {
|
|
|
110
110
|
<button
|
|
111
111
|
v-if="actionLabel"
|
|
112
112
|
type="button"
|
|
113
|
-
:class="cn(
|
|
114
|
-
'inline-flex items-center text-sm font-medium underline underline-offset-2 hover:no-underline',
|
|
113
|
+
:class="cn( 'inline-flex items-center text-sm font-medium underline underline-offset-2 hover:no-underline',
|
|
115
114
|
{
|
|
116
115
|
'text-destructive-foreground': variant === 'destructive',
|
|
117
116
|
'text-white': ['warning', 'success', 'info'].includes(variant),
|
|
@@ -129,8 +128,7 @@ const positionClasses = computed(() => {
|
|
|
129
128
|
v-if="showCloseButton"
|
|
130
129
|
type="button"
|
|
131
130
|
:aria-label="closeAriaLabel"
|
|
132
|
-
:class="cn(
|
|
133
|
-
'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100',
|
|
131
|
+
:class="cn( 'absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100',
|
|
134
132
|
{
|
|
135
133
|
'text-destructive-foreground/50 hover:text-destructive-foreground': variant === 'destructive',
|
|
136
134
|
'text-white/50 hover:text-white': ['warning', 'success', 'info'].includes(variant)
|
|
@@ -138,13 +136,13 @@ const positionClasses = computed(() => {
|
|
|
138
136
|
)"
|
|
139
137
|
@click="emit('close')"
|
|
140
138
|
>
|
|
141
|
-
<X class="h-4 w-4" />
|
|
139
|
+
<X class="tw:h-4 tw:w-4" />
|
|
142
140
|
</button>
|
|
143
141
|
|
|
144
142
|
<!-- Progress bar for auto-dismiss -->
|
|
145
143
|
<div
|
|
146
144
|
v-if="duration > 0"
|
|
147
|
-
class="absolute bottom-0 left-0 h-1 bg-black/20 dark:bg-white/20 animate-[shrink_x_var(--duration)_linear_forwards]"
|
|
145
|
+
class="tw:absolute tw:bottom-0 tw:left-0 tw:h-1 tw:bg-black/20 dark:tw:bg-white/20 tw:animate-[shrink_x_var(--duration)_linear_forwards]"
|
|
148
146
|
:style="{ '--duration': `${duration}ms` }"
|
|
149
147
|
/>
|
|
150
148
|
</div>
|
|
@@ -94,12 +94,11 @@ const thumbClasses = computed(() => {
|
|
|
94
94
|
<SwitchThumb :class="thumbClasses" />
|
|
95
95
|
</SwitchRoot>
|
|
96
96
|
|
|
97
|
-
<div class="grid gap-1.5">
|
|
97
|
+
<div class="tw:grid tw:gap-1.5">
|
|
98
98
|
<label
|
|
99
99
|
v-if="label || $slots.label"
|
|
100
100
|
:for="toggleId"
|
|
101
|
-
:class="cn(
|
|
102
|
-
'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer',
|
|
101
|
+
:class="cn( 'text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 cursor-pointer',
|
|
103
102
|
{
|
|
104
103
|
'sr-only': hideLabel,
|
|
105
104
|
'cursor-not-allowed': disabled,
|
|
@@ -115,8 +114,7 @@ const thumbClasses = computed(() => {
|
|
|
115
114
|
|
|
116
115
|
<div
|
|
117
116
|
v-if="!hideLabel && (leftText || rightText || $slots['left-text'] || $slots['right-text'])"
|
|
118
|
-
:class="cn(
|
|
119
|
-
'flex items-center gap-2 text-xs font-medium',
|
|
117
|
+
:class="cn( 'flex items-center gap-2 text-xs font-medium',
|
|
120
118
|
{
|
|
121
119
|
'text-muted-foreground': !isChecked,
|
|
122
120
|
'text-primary': isChecked,
|
|
@@ -130,8 +128,7 @@ const thumbClasses = computed(() => {
|
|
|
130
128
|
<slot name="left-text">{{ leftText }}</slot>
|
|
131
129
|
</span>
|
|
132
130
|
|
|
133
|
-
<div :class="cn(
|
|
134
|
-
'w-8 h-px bg-current',
|
|
131
|
+
<div :class="cn( 'w-8 h-px bg-current',
|
|
135
132
|
{
|
|
136
133
|
'opacity-20': !isChecked,
|
|
137
134
|
'opacity-100': isChecked
|
|
@@ -145,7 +142,7 @@ const thumbClasses = computed(() => {
|
|
|
145
142
|
|
|
146
143
|
<p
|
|
147
144
|
v-if="description"
|
|
148
|
-
class="text-sm text-muted-foreground"
|
|
145
|
+
class="tw:text-sm tw:text-muted-foreground"
|
|
149
146
|
>
|
|
150
147
|
{{ description }}
|
|
151
148
|
</p>
|
|
@@ -281,14 +281,14 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
281
281
|
<template>
|
|
282
282
|
<div :class="containerClasses">
|
|
283
283
|
<!-- Progress bar -->
|
|
284
|
-
<div v-if="showProgressBar" class="mb-8">
|
|
285
|
-
<div class="relative h-2 w-full overflow-hidden rounded-full bg-secondary">
|
|
284
|
+
<div v-if="showProgressBar" class="tw:mb-8">
|
|
285
|
+
<div class="tw:relative tw:h-2 tw:w-full tw:overflow-hidden tw:rounded-full tw:bg-secondary">
|
|
286
286
|
<div
|
|
287
|
-
class="h-full w-full bg-primary transition-all duration-300 ease-in-out"
|
|
287
|
+
class="tw:h-full tw:w-full tw:bg-primary tw:transition-all tw:duration-300 tw:ease-in-out"
|
|
288
288
|
:style="{ width: `${progressPercentage}%` }"
|
|
289
289
|
/>
|
|
290
290
|
</div>
|
|
291
|
-
<div class="mt-2 text-sm text-muted-foreground">
|
|
291
|
+
<div class="tw:mt-2 tw:text-sm tw:text-muted-foreground">
|
|
292
292
|
Step {{ currentStep + 1 }} of {{ steps.length }}
|
|
293
293
|
</div>
|
|
294
294
|
</div>
|
|
@@ -303,16 +303,16 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
303
303
|
@click="goToStep(index)"
|
|
304
304
|
>
|
|
305
305
|
<!-- Step indicator -->
|
|
306
|
-
<div :class="getStepClasses(index)" class="w-8 h-8 text-sm font-medium">
|
|
307
|
-
<Check v-if="getStepState(index) === 'completed'" class="h-4 w-4" />
|
|
308
|
-
<component v-else-if="showStepIcons && step.icon" :is="step.icon" class="h-4 w-4" />
|
|
306
|
+
<div :class="getStepClasses(index)" class="tw:w-8 tw:h-8 tw:text-sm tw:font-medium">
|
|
307
|
+
<Check v-if="getStepState(index) === 'completed'" class="tw:h-4 tw:w-4" />
|
|
308
|
+
<component v-else-if="showStepIcons && step.icon" :is="step.icon" class="tw:h-4 tw:w-4" />
|
|
309
309
|
<span v-else-if="showStepNumbers">{{ index + 1 }}</span>
|
|
310
310
|
</div>
|
|
311
311
|
|
|
312
312
|
<!-- Step info -->
|
|
313
|
-
<div class="text-left">
|
|
314
|
-
<div class="font-medium text-sm">{{ step.title }}</div>
|
|
315
|
-
<div v-if="step.description" class="text-xs text-muted-foreground">
|
|
313
|
+
<div class="tw:text-left">
|
|
314
|
+
<div class="tw:font-medium tw:text-sm">{{ step.title }}</div>
|
|
315
|
+
<div v-if="step.description" class="tw:text-xs tw:text-muted-foreground">
|
|
316
316
|
{{ step.description }}
|
|
317
317
|
</div>
|
|
318
318
|
</div>
|
|
@@ -323,13 +323,13 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
323
323
|
<Separator
|
|
324
324
|
v-if="!vertical"
|
|
325
325
|
orientation="vertical"
|
|
326
|
-
class="hidden lg:block"
|
|
326
|
+
class="tw:hidden lg:tw:block"
|
|
327
327
|
/>
|
|
328
328
|
|
|
329
329
|
<!-- Content -->
|
|
330
330
|
<div :class="contentClasses">
|
|
331
331
|
<!-- Current step content -->
|
|
332
|
-
<div class="space-y-6">
|
|
332
|
+
<div class="tw:space-y-6">
|
|
333
333
|
<slot
|
|
334
334
|
:name="`step-${currentStepData.id}`"
|
|
335
335
|
:step="currentStepData"
|
|
@@ -344,12 +344,12 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
344
344
|
:canSkip="canSkip"
|
|
345
345
|
>
|
|
346
346
|
<!-- Default step content -->
|
|
347
|
-
<div class="space-y-4">
|
|
348
|
-
<h2 class="text-xl font-semibold">{{ currentStepData.title }}</h2>
|
|
349
|
-
<p v-if="currentStepData.description" class="text-muted-foreground">
|
|
347
|
+
<div class="tw:space-y-4">
|
|
348
|
+
<h2 class="tw:text-xl tw:font-semibold">{{ currentStepData.title }}</h2>
|
|
349
|
+
<p v-if="currentStepData.description" class="tw:text-muted-foreground">
|
|
350
350
|
{{ currentStepData.description }}
|
|
351
351
|
</p>
|
|
352
|
-
<div class="text-sm text-muted-foreground">
|
|
352
|
+
<div class="tw:text-sm tw:text-muted-foreground">
|
|
353
353
|
Step {{ currentStep + 1 }} of {{ steps.length }}
|
|
354
354
|
</div>
|
|
355
355
|
</div>
|
|
@@ -358,7 +358,7 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
358
358
|
|
|
359
359
|
<!-- Navigation buttons -->
|
|
360
360
|
<div v-if="showNavigation" :class="navigationClasses">
|
|
361
|
-
<div class="flex gap-2">
|
|
361
|
+
<div class="tw:flex tw:gap-2">
|
|
362
362
|
<!-- Previous button -->
|
|
363
363
|
<Button
|
|
364
364
|
v-if="!hidePreviousOnFirst || !isFirstStep"
|
|
@@ -366,7 +366,7 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
366
366
|
:disabled="!canGoPrevious"
|
|
367
367
|
@click="handlePrevious"
|
|
368
368
|
>
|
|
369
|
-
<ChevronLeft class="h-4 w-4" />
|
|
369
|
+
<ChevronLeft class="tw:h-4 tw:w-4" />
|
|
370
370
|
{{ previousButtonText }}
|
|
371
371
|
</Button>
|
|
372
372
|
|
|
@@ -381,15 +381,15 @@ watch(currentStep, (newStep, oldStep) => {
|
|
|
381
381
|
</Button>
|
|
382
382
|
</div>
|
|
383
383
|
|
|
384
|
-
<div class="flex gap-2">
|
|
384
|
+
<div class="tw:flex tw:gap-2">
|
|
385
385
|
<!-- Next/Finish button -->
|
|
386
386
|
<Button
|
|
387
387
|
:disabled="!canGoNext"
|
|
388
388
|
@click="handleNext"
|
|
389
389
|
>
|
|
390
390
|
{{ isLastStep ? finishButtonText : nextButtonText }}
|
|
391
|
-
<ChevronRight v-if="!isLastStep" class="h-4 w-4" />
|
|
392
|
-
<Check v-else class="h-4 w-4" />
|
|
391
|
+
<ChevronRight v-if="!isLastStep" class="tw:h-4 tw:w-4" />
|
|
392
|
+
<Check v-else class="tw:h-4 tw:w-4" />
|
|
393
393
|
</Button>
|
|
394
394
|
</div>
|
|
395
395
|
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AccordionRootEmits, AccordionRootProps } from "reka-ui"
|
|
3
|
+
import {
|
|
4
|
+
AccordionRoot,
|
|
5
|
+
useForwardPropsEmits,
|
|
6
|
+
} from "reka-ui"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<AccordionRootProps>()
|
|
9
|
+
const emits = defineEmits<AccordionRootEmits>()
|
|
10
|
+
|
|
11
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<AccordionRoot v-slot="slotProps" data-slot="accordion" v-bind="forwarded">
|
|
16
|
+
<slot v-bind="slotProps" />
|
|
17
|
+
</AccordionRoot>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AccordionContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { AccordionContent } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<AccordionContentProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<AccordionContent
|
|
15
|
+
data-slot="accordion-content"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
class=""tw:data-[state=closed]:animate-accordion-up tw:data-[state=open]:animate-accordion-down tw:overflow-hidden tw:text-sm""
|
|
18
|
+
>
|
|
19
|
+
<div :class="cn('tw:pt-0 tw:pb-4', props.class)">
|
|
20
|
+
<slot />
|
|
21
|
+
</div>
|
|
22
|
+
</AccordionContent>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AccordionItemProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { AccordionItem, useForwardProps } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<AccordionItemProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
|
|
12
|
+
const forwardedProps = useForwardProps(delegatedProps)
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<AccordionItem
|
|
17
|
+
v-slot="slotProps"
|
|
18
|
+
data-slot="accordion-item"
|
|
19
|
+
v-bind="forwardedProps"
|
|
20
|
+
:class="cn('tw:border-b tw:last:border-b-0', props.class)"
|
|
21
|
+
>
|
|
22
|
+
<slot v-bind="slotProps" />
|
|
23
|
+
</AccordionItem>
|
|
24
|
+
</template>
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AccordionTriggerProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { ChevronDown } from "lucide-vue-next"
|
|
6
|
+
import {
|
|
7
|
+
AccordionHeader,
|
|
8
|
+
AccordionTrigger,
|
|
9
|
+
} from "reka-ui"
|
|
10
|
+
import { cn } from "@/lib/utils"
|
|
11
|
+
|
|
12
|
+
const props = defineProps<AccordionTriggerProps & { class?: HTMLAttributes["class"] }>()
|
|
13
|
+
|
|
14
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<AccordionHeader class=""tw:flex"">
|
|
19
|
+
<AccordionTrigger
|
|
20
|
+
data-slot="accordion-trigger"
|
|
21
|
+
v-bind="delegatedProps"
|
|
22
|
+
:class="
|
|
23
|
+
cn(
|
|
24
|
+
'tw:focus-visible:border-ring tw:focus-visible:ring-ring/50 tw:flex tw:flex-1 tw:items-start tw:justify-between tw:gap-4 tw:rounded-md tw:py-4 tw:text-left tw:text-sm tw:font-medium tw:transition-all tw:outline-none tw:hover:underline tw:focus-visible:ring-[3px] tw:disabled:pointer-events-none tw:disabled:opacity-50 tw:[&[data-state=open]>svg]:rotate-180',
|
|
25
|
+
props.class,
|
|
26
|
+
)
|
|
27
|
+
"
|
|
28
|
+
>
|
|
29
|
+
<slot />
|
|
30
|
+
<slot name="icon">
|
|
31
|
+
<ChevronDown
|
|
32
|
+
class=""tw:text-muted-foreground tw:pointer-events-none tw:size-4 tw:shrink-0 tw:translate-y-0.5 tw:transition-transform tw:duration-200""
|
|
33
|
+
/>
|
|
34
|
+
</slot>
|
|
35
|
+
</AccordionTrigger>
|
|
36
|
+
</AccordionHeader>
|
|
37
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import type { AlertVariants } from "."
|
|
4
|
+
import { cn } from "@/lib/utils"
|
|
5
|
+
import { alertVariants } from "."
|
|
6
|
+
|
|
7
|
+
const props = defineProps<{
|
|
8
|
+
class?: HTMLAttributes["class"]
|
|
9
|
+
variant?: AlertVariants["variant"]
|
|
10
|
+
}>()
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<div
|
|
15
|
+
data-slot="alert"
|
|
16
|
+
:class="cn(alertVariants({ variant }), props.class)"
|
|
17
|
+
role="alert"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert-description"
|
|
13
|
+
:class="cn('tw:text-muted-foreground tw:col-start-2 tw:grid tw:justify-items-start tw:gap-1 tw:text-sm tw:[&_p]:leading-relaxed', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert-title"
|
|
13
|
+
:class="cn('tw:col-start-2 tw:line-clamp-1 tw:min-h-4 tw:font-medium tw:tracking-tight', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogEmits, AlertDialogProps } from "reka-ui"
|
|
3
|
+
import { AlertDialogRoot, useForwardPropsEmits } from "reka-ui"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<AlertDialogProps>()
|
|
6
|
+
const emits = defineEmits<AlertDialogEmits>()
|
|
7
|
+
|
|
8
|
+
const forwarded = useForwardPropsEmits(props, emits)
|
|
9
|
+
</script>
|
|
10
|
+
|
|
11
|
+
<template>
|
|
12
|
+
<AlertDialogRoot v-slot="slotProps" data-slot="alert-dialog" v-bind="forwarded">
|
|
13
|
+
<slot v-bind="slotProps" />
|
|
14
|
+
</AlertDialogRoot>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogActionProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { AlertDialogAction } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
8
|
+
|
|
9
|
+
const props = defineProps<AlertDialogActionProps & { class?: HTMLAttributes["class"] }>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<AlertDialogAction v-bind="delegatedProps" :class="cn(buttonVariants(), props.class)">
|
|
16
|
+
<slot />
|
|
17
|
+
</AlertDialogAction>
|
|
18
|
+
</template>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogCancelProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { AlertDialogCancel } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
import { buttonVariants } from '@/components/ui/button'
|
|
8
|
+
|
|
9
|
+
const props = defineProps<AlertDialogCancelProps & { class?: HTMLAttributes["class"] }>()
|
|
10
|
+
|
|
11
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<AlertDialogCancel
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn(
|
|
18
|
+
buttonVariants({ variant: 'outline' }),
|
|
19
|
+
'tw:mt-2 tw:sm:mt-0',
|
|
20
|
+
props.class,
|
|
21
|
+
)"
|
|
22
|
+
>
|
|
23
|
+
<slot />
|
|
24
|
+
</AlertDialogCancel>
|
|
25
|
+
</template>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogContentEmits, AlertDialogContentProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import {
|
|
6
|
+
AlertDialogContent,
|
|
7
|
+
AlertDialogOverlay,
|
|
8
|
+
AlertDialogPortal,
|
|
9
|
+
useForwardPropsEmits,
|
|
10
|
+
} from "reka-ui"
|
|
11
|
+
import { cn } from "@/lib/utils"
|
|
12
|
+
|
|
13
|
+
defineOptions({
|
|
14
|
+
inheritAttrs: false,
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
const props = defineProps<AlertDialogContentProps & { class?: HTMLAttributes["class"] }>()
|
|
18
|
+
const emits = defineEmits<AlertDialogContentEmits>()
|
|
19
|
+
|
|
20
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
21
|
+
|
|
22
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits)
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<AlertDialogPortal>
|
|
27
|
+
<AlertDialogOverlay
|
|
28
|
+
data-slot="alert-dialog-overlay"
|
|
29
|
+
class=""tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=open]:fade-in-0 tw:fixed tw:inset-0 tw:z-50 tw:bg-black/80""
|
|
30
|
+
/>
|
|
31
|
+
<AlertDialogContent
|
|
32
|
+
data-slot="alert-dialog-content"
|
|
33
|
+
v-bind="{ ...$attrs, ...forwarded }"
|
|
34
|
+
:class="
|
|
35
|
+
cn(
|
|
36
|
+
'tw:bg-background tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=open]:fade-in-0 tw:data-[state=closed]:zoom-out-95 tw:data-[state=open]:zoom-in-95 tw:fixed tw:top-[50%] tw:left-[50%] tw:z-50 tw:grid tw:w-full tw:max-w-[calc(100%-2rem)] tw:translate-x-[-50%] tw:translate-y-[-50%] tw:gap-4 tw:rounded-lg tw:border tw:p-6 tw:shadow-lg tw:duration-200 tw:sm:max-w-lg',
|
|
37
|
+
props.class,
|
|
38
|
+
)
|
|
39
|
+
"
|
|
40
|
+
>
|
|
41
|
+
<slot />
|
|
42
|
+
</AlertDialogContent>
|
|
43
|
+
</AlertDialogPortal>
|
|
44
|
+
</template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogDescriptionProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import {
|
|
6
|
+
AlertDialogDescription,
|
|
7
|
+
} from "reka-ui"
|
|
8
|
+
import { cn } from "@/lib/utils"
|
|
9
|
+
|
|
10
|
+
const props = defineProps<AlertDialogDescriptionProps & { class?: HTMLAttributes["class"] }>()
|
|
11
|
+
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
13
|
+
</script>
|
|
14
|
+
|
|
15
|
+
<template>
|
|
16
|
+
<AlertDialogDescription
|
|
17
|
+
data-slot="alert-dialog-description"
|
|
18
|
+
v-bind="delegatedProps"
|
|
19
|
+
:class="cn('tw:text-muted-foreground tw:text-sm', props.class)"
|
|
20
|
+
>
|
|
21
|
+
<slot />
|
|
22
|
+
</AlertDialogDescription>
|
|
23
|
+
</template>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert-dialog-footer"
|
|
13
|
+
:class="
|
|
14
|
+
cn(
|
|
15
|
+
'tw:flex tw:flex-col-reverse tw:gap-2 tw:sm:flex-row tw:sm:justify-end',
|
|
16
|
+
props.class,
|
|
17
|
+
)
|
|
18
|
+
"
|
|
19
|
+
>
|
|
20
|
+
<slot />
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { HTMLAttributes } from "vue"
|
|
3
|
+
import { cn } from "@/lib/utils"
|
|
4
|
+
|
|
5
|
+
const props = defineProps<{
|
|
6
|
+
class?: HTMLAttributes["class"]
|
|
7
|
+
}>()
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
data-slot="alert-dialog-header"
|
|
13
|
+
:class="cn('tw:flex tw:flex-col tw:gap-2 tw:text-center tw:sm:text-left', props.class)"
|
|
14
|
+
>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import type { AlertDialogTitleProps } from "reka-ui"
|
|
3
|
+
import type { HTMLAttributes } from "vue"
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core"
|
|
5
|
+
import { AlertDialogTitle } from "reka-ui"
|
|
6
|
+
import { cn } from "@/lib/utils"
|
|
7
|
+
|
|
8
|
+
const props = defineProps<AlertDialogTitleProps & { class?: HTMLAttributes["class"] }>()
|
|
9
|
+
|
|
10
|
+
const delegatedProps = reactiveOmit(props, "class")
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<template>
|
|
14
|
+
<AlertDialogTitle
|
|
15
|
+
data-slot="alert-dialog-title"
|
|
16
|
+
v-bind="delegatedProps"
|
|
17
|
+
:class="cn('tw:text-lg tw:font-semibold', props.class)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</AlertDialogTitle>
|
|
21
|
+
</template>
|