@cmdniels/uikit 1.0.0
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/LICENSE +21 -0
- package/README.md +149 -0
- package/out/cn.d.ts +2 -0
- package/out/cn.js +5 -0
- package/out/components/accordion/Accordion.d.ts +2 -0
- package/out/components/accordion/Accordion.js +19 -0
- package/out/components/accordion/AccordionContent.d.ts +2 -0
- package/out/components/accordion/AccordionContent.js +19 -0
- package/out/components/accordion/AccordionItem.d.ts +2 -0
- package/out/components/accordion/AccordionItem.js +19 -0
- package/out/components/accordion/AccordionTrigger.d.ts +2 -0
- package/out/components/accordion/AccordionTrigger.js +20 -0
- package/out/components/alert/Alert.d.ts +4 -0
- package/out/components/alert/Alert.js +18 -0
- package/out/components/alert/AlertAction.d.ts +2 -0
- package/out/components/alert/AlertAction.js +17 -0
- package/out/components/alert/AlertDescription.d.ts +2 -0
- package/out/components/alert/AlertDescription.js +17 -0
- package/out/components/alert/AlertTitle.d.ts +2 -0
- package/out/components/alert/AlertTitle.js +17 -0
- package/out/components/alert/alertVariants.d.ts +3 -0
- package/out/components/alert/alertVariants.js +12 -0
- package/out/components/alert-dialog/AlertDialog.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialog.js +18 -0
- package/out/components/alert-dialog/AlertDialogAction.d.ts +3 -0
- package/out/components/alert-dialog/AlertDialogAction.js +18 -0
- package/out/components/alert-dialog/AlertDialogCancel.d.ts +4 -0
- package/out/components/alert-dialog/AlertDialogCancel.js +20 -0
- package/out/components/alert-dialog/AlertDialogContent.d.ts +4 -0
- package/out/components/alert-dialog/AlertDialogContent.js +21 -0
- package/out/components/alert-dialog/AlertDialogDescription.d.ts +3 -0
- package/out/components/alert-dialog/AlertDialogDescription.js +19 -0
- package/out/components/alert-dialog/AlertDialogFooter.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogFooter.js +17 -0
- package/out/components/alert-dialog/AlertDialogHeader.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogHeader.js +17 -0
- package/out/components/alert-dialog/AlertDialogMedia.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogMedia.js +17 -0
- package/out/components/alert-dialog/AlertDialogOverlay.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogOverlay.js +19 -0
- package/out/components/alert-dialog/AlertDialogPortal.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogPortal.js +18 -0
- package/out/components/alert-dialog/AlertDialogTitle.d.ts +3 -0
- package/out/components/alert-dialog/AlertDialogTitle.js +19 -0
- package/out/components/alert-dialog/AlertDialogTrigger.d.ts +2 -0
- package/out/components/alert-dialog/AlertDialogTrigger.js +18 -0
- package/out/components/aspect-ratio/AspectRatio.d.ts +4 -0
- package/out/components/aspect-ratio/AspectRatio.js +19 -0
- package/out/components/badge/Badge.d.ts +4 -0
- package/out/components/badge/Badge.js +29 -0
- package/out/components/badge/badgeVariants.d.ts +3 -0
- package/out/components/badge/badgeVariants.js +16 -0
- package/out/components/button/Button.d.ts +4 -0
- package/out/components/button/Button.js +19 -0
- package/out/components/button/buttonVariants.d.ts +4 -0
- package/out/components/button/buttonVariants.js +28 -0
- package/out/components/button-group/ButtonGroup.d.ts +4 -0
- package/out/components/button-group/ButtonGroup.js +18 -0
- package/out/components/button-group/ButtonGroupSeparator.d.ts +3 -0
- package/out/components/button-group/ButtonGroupSeparator.js +18 -0
- package/out/components/button-group/ButtonGroupText.d.ts +2 -0
- package/out/components/button-group/ButtonGroupText.js +27 -0
- package/out/components/button-group/buttonGroupVariants.d.ts +4 -0
- package/out/components/button-group/buttonGroupVariants.js +13 -0
- package/out/components/calendar/Calendar.d.ts +6 -0
- package/out/components/calendar/Calendar.js +43 -0
- package/out/components/calendar/CalendarDayButton.d.ts +3 -0
- package/out/components/calendar/CalendarDayButton.js +29 -0
- package/out/components/card/Card.d.ts +4 -0
- package/out/components/card/Card.js +17 -0
- package/out/components/card/CardAction.d.ts +2 -0
- package/out/components/card/CardAction.js +17 -0
- package/out/components/card/CardContent.d.ts +2 -0
- package/out/components/card/CardContent.js +17 -0
- package/out/components/card/CardDescription.d.ts +2 -0
- package/out/components/card/CardDescription.js +17 -0
- package/out/components/card/CardFooter.d.ts +2 -0
- package/out/components/card/CardFooter.js +17 -0
- package/out/components/card/CardHeader.d.ts +2 -0
- package/out/components/card/CardHeader.js +17 -0
- package/out/components/card/CardTitle.d.ts +2 -0
- package/out/components/card/CardTitle.js +17 -0
- package/out/components/checkbox/Checkbox.d.ts +2 -0
- package/out/components/checkbox/Checkbox.js +20 -0
- package/out/components/combobox/Combobox.d.ts +3 -0
- package/out/components/combobox/Combobox.js +4 -0
- package/out/components/combobox/ComboboxChip.d.ts +4 -0
- package/out/components/combobox/ComboboxChip.js +21 -0
- package/out/components/combobox/ComboboxChips.d.ts +3 -0
- package/out/components/combobox/ComboboxChips.js +19 -0
- package/out/components/combobox/ComboboxChipsInput.d.ts +2 -0
- package/out/components/combobox/ComboboxChipsInput.js +19 -0
- package/out/components/combobox/ComboboxClear.d.ts +2 -0
- package/out/components/combobox/ComboboxClear.js +21 -0
- package/out/components/combobox/ComboboxCollection.d.ts +2 -0
- package/out/components/combobox/ComboboxCollection.js +18 -0
- package/out/components/combobox/ComboboxContent.d.ts +2 -0
- package/out/components/combobox/ComboboxContent.js +19 -0
- package/out/components/combobox/ComboboxEmpty.d.ts +2 -0
- package/out/components/combobox/ComboboxEmpty.js +19 -0
- package/out/components/combobox/ComboboxGroup.d.ts +2 -0
- package/out/components/combobox/ComboboxGroup.js +19 -0
- package/out/components/combobox/ComboboxInput.d.ts +5 -0
- package/out/components/combobox/ComboboxInput.js +25 -0
- package/out/components/combobox/ComboboxItem.d.ts +2 -0
- package/out/components/combobox/ComboboxItem.js +20 -0
- package/out/components/combobox/ComboboxLabel.d.ts +2 -0
- package/out/components/combobox/ComboboxLabel.js +19 -0
- package/out/components/combobox/ComboboxList.d.ts +2 -0
- package/out/components/combobox/ComboboxList.js +19 -0
- package/out/components/combobox/ComboboxSeparator.d.ts +2 -0
- package/out/components/combobox/ComboboxSeparator.js +19 -0
- package/out/components/combobox/ComboboxTrigger.d.ts +2 -0
- package/out/components/combobox/ComboboxTrigger.js +20 -0
- package/out/components/combobox/ComboboxValue.d.ts +2 -0
- package/out/components/combobox/ComboboxValue.js +18 -0
- package/out/components/combobox/useComboboxAnchor.d.ts +1 -0
- package/out/components/combobox/useComboboxAnchor.js +4 -0
- package/out/components/context-menu/ContextMenu.d.ts +2 -0
- package/out/components/context-menu/ContextMenu.js +18 -0
- package/out/components/context-menu/ContextMenuCheckboxItem.d.ts +2 -0
- package/out/components/context-menu/ContextMenuCheckboxItem.js +20 -0
- package/out/components/context-menu/ContextMenuContent.d.ts +2 -0
- package/out/components/context-menu/ContextMenuContent.js +19 -0
- package/out/components/context-menu/ContextMenuGroup.d.ts +2 -0
- package/out/components/context-menu/ContextMenuGroup.js +18 -0
- package/out/components/context-menu/ContextMenuItem.d.ts +5 -0
- package/out/components/context-menu/ContextMenuItem.js +19 -0
- package/out/components/context-menu/ContextMenuLabel.d.ts +4 -0
- package/out/components/context-menu/ContextMenuLabel.js +19 -0
- package/out/components/context-menu/ContextMenuPortal.d.ts +2 -0
- package/out/components/context-menu/ContextMenuPortal.js +18 -0
- package/out/components/context-menu/ContextMenuRadioGroup.d.ts +2 -0
- package/out/components/context-menu/ContextMenuRadioGroup.js +18 -0
- package/out/components/context-menu/ContextMenuRadioItem.d.ts +2 -0
- package/out/components/context-menu/ContextMenuRadioItem.js +20 -0
- package/out/components/context-menu/ContextMenuSeparator.d.ts +2 -0
- package/out/components/context-menu/ContextMenuSeparator.js +19 -0
- package/out/components/context-menu/ContextMenuShortcut.d.ts +2 -0
- package/out/components/context-menu/ContextMenuShortcut.js +18 -0
- package/out/components/context-menu/ContextMenuSub.d.ts +2 -0
- package/out/components/context-menu/ContextMenuSub.js +18 -0
- package/out/components/context-menu/ContextMenuSubContent.d.ts +3 -0
- package/out/components/context-menu/ContextMenuSubContent.js +18 -0
- package/out/components/context-menu/ContextMenuSubTrigger.d.ts +4 -0
- package/out/components/context-menu/ContextMenuSubTrigger.js +20 -0
- package/out/components/context-menu/ContextMenuTrigger.d.ts +2 -0
- package/out/components/context-menu/ContextMenuTrigger.js +19 -0
- package/out/components/copy-input/CopyInput.d.ts +3 -0
- package/out/components/copy-input/CopyInput.js +32 -0
- package/out/components/date-picker/DatePicker.d.ts +5 -0
- package/out/components/date-picker/DatePicker.js +57 -0
- package/out/components/dropdown-menu/DropdownMenu.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenu.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuCheckboxItem.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuCheckboxItem.js +20 -0
- package/out/components/dropdown-menu/DropdownMenuContent.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuContent.js +19 -0
- package/out/components/dropdown-menu/DropdownMenuGroup.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuGroup.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuItem.d.ts +5 -0
- package/out/components/dropdown-menu/DropdownMenuItem.js +19 -0
- package/out/components/dropdown-menu/DropdownMenuLabel.d.ts +4 -0
- package/out/components/dropdown-menu/DropdownMenuLabel.js +19 -0
- package/out/components/dropdown-menu/DropdownMenuPortal.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuPortal.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuRadioGroup.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuRadioGroup.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuRadioItem.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuRadioItem.js +20 -0
- package/out/components/dropdown-menu/DropdownMenuSeparator.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuSeparator.js +19 -0
- package/out/components/dropdown-menu/DropdownMenuShortcut.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuShortcut.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuSub.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuSub.js +18 -0
- package/out/components/dropdown-menu/DropdownMenuSubContent.d.ts +3 -0
- package/out/components/dropdown-menu/DropdownMenuSubContent.js +19 -0
- package/out/components/dropdown-menu/DropdownMenuSubTrigger.d.ts +4 -0
- package/out/components/dropdown-menu/DropdownMenuSubTrigger.js +20 -0
- package/out/components/dropdown-menu/DropdownMenuTrigger.d.ts +2 -0
- package/out/components/dropdown-menu/DropdownMenuTrigger.js +18 -0
- package/out/components/error/Error.d.ts +4 -0
- package/out/components/error/Error.js +15 -0
- package/out/components/field/Field.d.ts +4 -0
- package/out/components/field/Field.js +19 -0
- package/out/components/field/FieldContent.d.ts +2 -0
- package/out/components/field/FieldContent.js +18 -0
- package/out/components/field/FieldDescription.d.ts +2 -0
- package/out/components/field/FieldDescription.js +18 -0
- package/out/components/field/FieldError.d.ts +6 -0
- package/out/components/field/FieldError.js +36 -0
- package/out/components/field/FieldGroup.d.ts +2 -0
- package/out/components/field/FieldGroup.js +18 -0
- package/out/components/field/FieldLabel.d.ts +3 -0
- package/out/components/field/FieldLabel.js +19 -0
- package/out/components/field/FieldLegend.d.ts +4 -0
- package/out/components/field/FieldLegend.js +18 -0
- package/out/components/field/FieldSeparator.d.ts +4 -0
- package/out/components/field/FieldSeparator.js +19 -0
- package/out/components/field/FieldSet.d.ts +2 -0
- package/out/components/field/FieldSet.js +18 -0
- package/out/components/field/FieldTitle.d.ts +2 -0
- package/out/components/field/FieldTitle.js +18 -0
- package/out/components/field/fieldVariants.d.ts +4 -0
- package/out/components/field/fieldVariants.js +14 -0
- package/out/components/file-dropzone/FileDropzone.d.ts +7 -0
- package/out/components/file-dropzone/FileDropzone.js +40 -0
- package/out/components/input/Input.d.ts +2 -0
- package/out/components/input/Input.js +18 -0
- package/out/components/input-group/InputGroup.d.ts +2 -0
- package/out/components/input-group/InputGroup.js +18 -0
- package/out/components/input-group/InputGroupAddon.d.ts +4 -0
- package/out/components/input-group/InputGroupAddon.js +25 -0
- package/out/components/input-group/InputGroupButton.d.ts +7 -0
- package/out/components/input-group/InputGroupButton.js +20 -0
- package/out/components/input-group/InputGroupInput.d.ts +2 -0
- package/out/components/input-group/InputGroupInput.js +19 -0
- package/out/components/input-group/InputGroupText.d.ts +2 -0
- package/out/components/input-group/InputGroupText.js +18 -0
- package/out/components/input-group/InputGroupTextarea.d.ts +2 -0
- package/out/components/input-group/InputGroupTextarea.js +19 -0
- package/out/components/input-group/inputGroupAddonVariants.d.ts +4 -0
- package/out/components/input-group/inputGroupAddonVariants.js +15 -0
- package/out/components/input-group/inputGroupButtonVariants.d.ts +4 -0
- package/out/components/input-group/inputGroupButtonVariants.js +15 -0
- package/out/components/item/Item.d.ts +5 -0
- package/out/components/item/Item.js +31 -0
- package/out/components/item/ItemActions.d.ts +3 -0
- package/out/components/item/ItemActions.js +18 -0
- package/out/components/item/ItemContent.d.ts +3 -0
- package/out/components/item/ItemContent.js +18 -0
- package/out/components/item/ItemDescription.d.ts +3 -0
- package/out/components/item/ItemDescription.js +18 -0
- package/out/components/item/ItemFooter.d.ts +3 -0
- package/out/components/item/ItemFooter.js +18 -0
- package/out/components/item/ItemGroup.d.ts +3 -0
- package/out/components/item/ItemGroup.js +18 -0
- package/out/components/item/ItemHeader.d.ts +3 -0
- package/out/components/item/ItemHeader.js +18 -0
- package/out/components/item/ItemMedia.d.ts +5 -0
- package/out/components/item/ItemMedia.js +19 -0
- package/out/components/item/ItemSeparator.d.ts +4 -0
- package/out/components/item/ItemSeparator.js +19 -0
- package/out/components/item/ItemTitle.d.ts +3 -0
- package/out/components/item/ItemTitle.js +18 -0
- package/out/components/item/itemMediaVariants.d.ts +4 -0
- package/out/components/item/itemMediaVariants.js +14 -0
- package/out/components/item/itemVariants.d.ts +5 -0
- package/out/components/item/itemVariants.js +20 -0
- package/out/components/label/Label.d.ts +2 -0
- package/out/components/label/Label.js +18 -0
- package/out/components/link-input/LinkInput.d.ts +3 -0
- package/out/components/link-input/LinkInput.js +41 -0
- package/out/components/popover/Popover.d.ts +2 -0
- package/out/components/popover/Popover.js +18 -0
- package/out/components/popover/PopoverContent.d.ts +2 -0
- package/out/components/popover/PopoverContent.js +19 -0
- package/out/components/popover/PopoverDescription.d.ts +2 -0
- package/out/components/popover/PopoverDescription.js +19 -0
- package/out/components/popover/PopoverHeader.d.ts +2 -0
- package/out/components/popover/PopoverHeader.js +17 -0
- package/out/components/popover/PopoverTitle.d.ts +2 -0
- package/out/components/popover/PopoverTitle.js +19 -0
- package/out/components/popover/PopoverTrigger.d.ts +2 -0
- package/out/components/popover/PopoverTrigger.js +18 -0
- package/out/components/select/Select.d.ts +3 -0
- package/out/components/select/Select.js +4 -0
- package/out/components/select/SelectContent.d.ts +2 -0
- package/out/components/select/SelectContent.js +21 -0
- package/out/components/select/SelectGroup.d.ts +2 -0
- package/out/components/select/SelectGroup.js +19 -0
- package/out/components/select/SelectItem.d.ts +2 -0
- package/out/components/select/SelectItem.js +20 -0
- package/out/components/select/SelectLabel.d.ts +2 -0
- package/out/components/select/SelectLabel.js +19 -0
- package/out/components/select/SelectScrollDownButton.d.ts +3 -0
- package/out/components/select/SelectScrollDownButton.js +20 -0
- package/out/components/select/SelectScrollUpButton.d.ts +3 -0
- package/out/components/select/SelectScrollUpButton.js +20 -0
- package/out/components/select/SelectSeparator.d.ts +2 -0
- package/out/components/select/SelectSeparator.js +19 -0
- package/out/components/select/SelectTrigger.d.ts +4 -0
- package/out/components/select/SelectTrigger.js +20 -0
- package/out/components/select/SelectValue.d.ts +2 -0
- package/out/components/select/SelectValue.js +19 -0
- package/out/components/separator/Separator.d.ts +2 -0
- package/out/components/separator/Separator.js +19 -0
- package/out/components/skeleton/Skeleton.d.ts +2 -0
- package/out/components/skeleton/Skeleton.js +17 -0
- package/out/components/sonner/Toaster.d.ts +2 -0
- package/out/components/sonner/Toaster.js +37 -0
- package/out/components/sortable/Sortable.d.ts +48 -0
- package/out/components/sortable/Sortable.js +263 -0
- package/out/components/switch/Switch.d.ts +4 -0
- package/out/components/switch/Switch.js +19 -0
- package/out/components/table/Table.d.ts +2 -0
- package/out/components/table/Table.js +18 -0
- package/out/components/table/TableBody.d.ts +2 -0
- package/out/components/table/TableBody.js +18 -0
- package/out/components/table/TableCaption.d.ts +2 -0
- package/out/components/table/TableCaption.js +18 -0
- package/out/components/table/TableCell.d.ts +2 -0
- package/out/components/table/TableCell.js +18 -0
- package/out/components/table/TableFooter.d.ts +2 -0
- package/out/components/table/TableFooter.js +18 -0
- package/out/components/table/TableHead.d.ts +2 -0
- package/out/components/table/TableHead.js +18 -0
- package/out/components/table/TableHeader.d.ts +2 -0
- package/out/components/table/TableHeader.js +18 -0
- package/out/components/table/TableRow.d.ts +2 -0
- package/out/components/table/TableRow.js +18 -0
- package/out/components/textarea/Textarea.d.ts +2 -0
- package/out/components/textarea/Textarea.js +17 -0
- package/out/components/toggle/Toggle.d.ts +4 -0
- package/out/components/toggle/Toggle.js +20 -0
- package/out/components/toggle/toggleVariants.d.ts +4 -0
- package/out/components/toggle/toggleVariants.js +18 -0
- package/out/components/tooltip/Tooltip.d.ts +3 -0
- package/out/components/tooltip/Tooltip.js +20 -0
- package/out/components/tooltip/TooltipContent.d.ts +3 -0
- package/out/components/tooltip/TooltipContent.js +20 -0
- package/out/components/tooltip/TooltipProvider.d.ts +3 -0
- package/out/components/tooltip/TooltipProvider.js +19 -0
- package/out/components/tooltip/TooltipTrigger.d.ts +3 -0
- package/out/components/tooltip/TooltipTrigger.js +19 -0
- package/out/components/typography/TypographyA.d.ts +2 -0
- package/out/components/typography/TypographyA.js +20 -0
- package/out/components/typography/TypographyBlockquote.d.ts +2 -0
- package/out/components/typography/TypographyBlockquote.js +20 -0
- package/out/components/typography/TypographyFigure.d.ts +2 -0
- package/out/components/typography/TypographyFigure.js +20 -0
- package/out/components/typography/TypographyFigureCaption.d.ts +2 -0
- package/out/components/typography/TypographyFigureCaption.js +20 -0
- package/out/components/typography/TypographyH1.d.ts +2 -0
- package/out/components/typography/TypographyH1.js +20 -0
- package/out/components/typography/TypographyH2.d.ts +2 -0
- package/out/components/typography/TypographyH2.js +20 -0
- package/out/components/typography/TypographyH3.d.ts +2 -0
- package/out/components/typography/TypographyH3.js +20 -0
- package/out/components/typography/TypographyH4.d.ts +2 -0
- package/out/components/typography/TypographyH4.js +20 -0
- package/out/components/typography/TypographyH5.d.ts +2 -0
- package/out/components/typography/TypographyH5.js +20 -0
- package/out/components/typography/TypographyH6.d.ts +2 -0
- package/out/components/typography/TypographyH6.js +20 -0
- package/out/components/typography/TypographyHr.d.ts +2 -0
- package/out/components/typography/TypographyHr.js +19 -0
- package/out/components/typography/TypographyImage.d.ts +2 -0
- package/out/components/typography/TypographyImage.js +21 -0
- package/out/components/typography/TypographyImg.d.ts +23 -0
- package/out/components/typography/TypographyImg.js +21 -0
- package/out/components/typography/TypographyInlineCode.d.ts +2 -0
- package/out/components/typography/TypographyInlineCode.js +25 -0
- package/out/components/typography/TypographyLi.d.ts +2 -0
- package/out/components/typography/TypographyLi.js +20 -0
- package/out/components/typography/TypographyLink.d.ts +4 -0
- package/out/components/typography/TypographyLink.js +21 -0
- package/out/components/typography/TypographyList.d.ts +2 -0
- package/out/components/typography/TypographyList.js +20 -0
- package/out/components/typography/TypographyOl.d.ts +2 -0
- package/out/components/typography/TypographyOl.js +20 -0
- package/out/components/typography/TypographyP.d.ts +2 -0
- package/out/components/typography/TypographyP.js +20 -0
- package/out/components/typography/TypographyPre.d.ts +2 -0
- package/out/components/typography/TypographyPre.js +20 -0
- package/out/components/typography/TypographyStrong.d.ts +3 -0
- package/out/components/typography/TypographyStrong.js +20 -0
- package/out/components/typography/TypographyTable.d.ts +2 -0
- package/out/components/typography/TypographyTable.js +20 -0
- package/out/components/typography/TypographyTd.d.ts +2 -0
- package/out/components/typography/TypographyTd.js +20 -0
- package/out/components/typography/TypographyTh.d.ts +2 -0
- package/out/components/typography/TypographyTh.js +20 -0
- package/out/components/typography/TypographyTr.d.ts +2 -0
- package/out/components/typography/TypographyTr.js +20 -0
- package/out/index.d.ts +176 -0
- package/out/index.js +211 -0
- package/package.json +77 -0
- package/tailwind.css +144 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import { IconX } from "@tabler/icons-react";
|
|
16
|
+
import cn from "../../cn";
|
|
17
|
+
import Button from "../../components/button/Button";
|
|
18
|
+
export default function ComboboxChip(_a) {
|
|
19
|
+
var { className, children, showRemove = true } = _a, props = __rest(_a, ["className", "children", "showRemove"]);
|
|
20
|
+
return (_jsxs(ComboboxPrimitive.Chip, Object.assign({ "data-slot": "combobox-chip", className: cn("flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-sm bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0", className) }, props, { children: [children, showRemove && (_jsx(ComboboxPrimitive.ChipRemove, { render: _jsx(Button, { variant: "ghost", size: "icon-xs" }), className: "-ml-1 opacity-50 hover:opacity-100", "data-slot": "combobox-chip-remove", children: _jsx(IconX, { className: "pointer-events-none" }) }))] })));
|
|
21
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
2
|
+
import type { ComponentPropsWithRef } from "react";
|
|
3
|
+
export default function ComboboxChips({ className, ...props }: ComponentPropsWithRef<typeof ComboboxPrimitive.Chips> & ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxChips(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.Chips, Object.assign({ "data-slot": "combobox-chips", className: cn("flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input bg-transparent bg-clip-padding px-2.5 py-1.5 text-sm shadow-xs transition-[color,box-shadow] focus-within:border-ring focus-within:ring-[3px] focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-[3px] has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1.5 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxChipsInput(_a) {
|
|
17
|
+
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.Input, Object.assign({ "data-slot": "combobox-chip-input", className: cn("min-w-16 flex-1 outline-none", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import { IconX } from "@tabler/icons-react";
|
|
16
|
+
import cn from "../../cn";
|
|
17
|
+
import InputGroupButton from "../../components/input-group/InputGroupButton";
|
|
18
|
+
export default function ComboboxClear(_a) {
|
|
19
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
20
|
+
return (_jsx(ComboboxPrimitive.Clear, Object.assign({ "data-slot": "combobox-clear", render: _jsx(InputGroupButton, { variant: "ghost", size: "icon-xs" }), className: cn(className) }, props, { children: _jsx(IconX, { className: "pointer-events-none" }) })));
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
export default function ComboboxCollection(_a) {
|
|
16
|
+
var props = __rest(_a, []);
|
|
17
|
+
return _jsx(ComboboxPrimitive.Collection, Object.assign({ "data-slot": "combobox-collection" }, props));
|
|
18
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
2
|
+
export default function ComboboxContent({ className, side, sideOffset, align, alignOffset, anchor, ...props }: ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimitive.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxContent(_a) {
|
|
17
|
+
var { className, side = "bottom", sideOffset = 6, align = "start", alignOffset = 0, anchor } = _a, props = __rest(_a, ["className", "side", "sideOffset", "align", "alignOffset", "anchor"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.Portal, { children: _jsx(ComboboxPrimitive.Positioner, { side: side, sideOffset: sideOffset, align: align, alignOffset: alignOffset, anchor: anchor, className: "isolate z-50", children: _jsx(ComboboxPrimitive.Popup, Object.assign({ "data-slot": "combobox-content", "data-chips": Boolean(anchor), className: cn("group/combobox-content relative max-h-72 w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-md bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:data-[slot=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className) }, props)) }) }));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxEmpty(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.Empty, Object.assign({ "data-slot": "combobox-empty", className: cn("hidden w-full justify-center py-2 text-center text-sm text-muted-foreground group-data-empty/combobox-content:flex", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxGroup(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return _jsx(ComboboxPrimitive.Group, Object.assign({ "data-slot": "combobox-group", className: cn(className) }, props));
|
|
19
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
2
|
+
export default function ComboboxInput({ className, children, disabled, showTrigger, showClear, ...props }: ComboboxPrimitive.Input.Props & {
|
|
3
|
+
showTrigger?: boolean;
|
|
4
|
+
showClear?: boolean;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
import InputGroup from "../../components/input-group/InputGroup";
|
|
17
|
+
import InputGroupAddon from "../../components/input-group/InputGroupAddon";
|
|
18
|
+
import InputGroupButton from "../../components/input-group/InputGroupButton";
|
|
19
|
+
import InputGroupInput from "../../components/input-group/InputGroupInput";
|
|
20
|
+
import ComboboxClear from "./ComboboxClear";
|
|
21
|
+
import ComboboxTrigger from "./ComboboxTrigger";
|
|
22
|
+
export default function ComboboxInput(_a) {
|
|
23
|
+
var { className, children, disabled = false, showTrigger = true, showClear = false } = _a, props = __rest(_a, ["className", "children", "disabled", "showTrigger", "showClear"]);
|
|
24
|
+
return (_jsxs(InputGroup, { className: cn("w-auto", className), children: [_jsx(ComboboxPrimitive.Input, Object.assign({ render: _jsx(InputGroupInput, { disabled: disabled }) }, props)), _jsxs(InputGroupAddon, { align: "inline-end", children: [showTrigger && (_jsx(InputGroupButton, { size: "icon-xs", variant: "ghost", render: _jsx(ComboboxTrigger, {}), "data-slot": "input-group-button", className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent", disabled: disabled })), showClear && _jsx(ComboboxClear, { disabled: disabled })] }), children] }));
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import { IconCheck } from "@tabler/icons-react";
|
|
16
|
+
import cn from "../../cn";
|
|
17
|
+
export default function ComboboxItem(_a) {
|
|
18
|
+
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
19
|
+
return (_jsxs(ComboboxPrimitive.Item, Object.assign({ "data-slot": "combobox-item", className: cn("relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [children, _jsx(ComboboxPrimitive.ItemIndicator, { render: _jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }), children: _jsx(IconCheck, { className: "pointer-events-none" }) })] })));
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxLabel(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.GroupLabel, Object.assign({ "data-slot": "combobox-label", className: cn("px-2 py-1.5 text-xs text-muted-foreground", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxList(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.List, Object.assign({ "data-slot": "combobox-list", className: cn("scrollbar-hidden max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain p-1 data-empty:p-0", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ComboboxSeparator(_a) {
|
|
17
|
+
var { className } = _a, props = __rest(_a, ["className"]);
|
|
18
|
+
return (_jsx(ComboboxPrimitive.Separator, Object.assign({ "data-slot": "combobox-separator", className: cn("-mx-1 my-1 h-px bg-border", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
import { IconChevronDown } from "@tabler/icons-react";
|
|
16
|
+
import cn from "../../cn";
|
|
17
|
+
export default function ComboboxTrigger(_a) {
|
|
18
|
+
var { className, children } = _a, props = __rest(_a, ["className", "children"]);
|
|
19
|
+
return (_jsxs(ComboboxPrimitive.Trigger, Object.assign({ "data-slot": "combobox-trigger", className: cn("[&_svg:not([class*='size-'])]:size-4", className) }, props, { children: [children, _jsx(IconChevronDown, { className: "pointer-events-none size-4 text-muted-foreground" })] })));
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { Combobox as ComboboxPrimitive } from "@base-ui/react";
|
|
15
|
+
export default function ComboboxValue(_a) {
|
|
16
|
+
var props = __rest(_a, []);
|
|
17
|
+
return _jsx(ComboboxPrimitive.Value, Object.assign({ "data-slot": "combobox-value" }, props));
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useComboboxAnchor(): import("react").RefObject<HTMLDivElement | null>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
export default function ContextMenu(_a) {
|
|
16
|
+
var props = __rest(_a, []);
|
|
17
|
+
return _jsx(ContextMenuPrimitive.Root, Object.assign({ "data-slot": "context-menu" }, props));
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
import { IconCheck } from "@tabler/icons-react";
|
|
16
|
+
import cn from "../../cn";
|
|
17
|
+
export default function ContextMenuCheckboxItem(_a) {
|
|
18
|
+
var { className, children, checked } = _a, props = __rest(_a, ["className", "children", "checked"]);
|
|
19
|
+
return (_jsxs(ContextMenuPrimitive.CheckboxItem, Object.assign({ "data-slot": "context-menu-checkbox-item", className: cn("relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), checked: checked }, props, { children: [_jsx("span", { className: "pointer-events-none absolute right-2", children: _jsx(ContextMenuPrimitive.CheckboxItemIndicator, { children: _jsx(IconCheck, {}) }) }), children] })));
|
|
20
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
2
|
+
export default function ContextMenuContent({ className, align, alignOffset, side, sideOffset, ...props }: ContextMenuPrimitive.Popup.Props & Pick<ContextMenuPrimitive.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ContextMenuContent(_a) {
|
|
17
|
+
var { className, align = "start", alignOffset = 4, side = "right", sideOffset = 0 } = _a, props = __rest(_a, ["className", "align", "alignOffset", "side", "sideOffset"]);
|
|
18
|
+
return (_jsx(ContextMenuPrimitive.Portal, { children: _jsx(ContextMenuPrimitive.Positioner, { className: "isolate z-50 outline-none", align: align, alignOffset: alignOffset, side: side, sideOffset: sideOffset, children: _jsx(ContextMenuPrimitive.Popup, Object.assign({ "data-slot": "context-menu-content", className: cn("z-50 max-h-(--available-height) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className) }, props)) }) }));
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
export default function ContextMenuGroup(_a) {
|
|
16
|
+
var props = __rest(_a, []);
|
|
17
|
+
return _jsx(ContextMenuPrimitive.Group, Object.assign({ "data-slot": "context-menu-group" }, props));
|
|
18
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
2
|
+
export default function ContextMenuItem({ className, inset, variant, ...props }: ContextMenuPrimitive.Item.Props & {
|
|
3
|
+
inset?: boolean;
|
|
4
|
+
variant?: "default" | "destructive";
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ContextMenuItem(_a) {
|
|
17
|
+
var { className, inset, variant = "default" } = _a, props = __rest(_a, ["className", "inset", "variant"]);
|
|
18
|
+
return (_jsx(ContextMenuPrimitive.Item, Object.assign({ "data-slot": "context-menu-item", "data-inset": inset, "data-variant": variant, className: cn("group/context-menu-item relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-inset:pl-8 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 focus:*:[svg]:text-accent-foreground data-[variant=destructive]:*:[svg]:text-destructive", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
import cn from "../../cn";
|
|
16
|
+
export default function ContextMenuLabel(_a) {
|
|
17
|
+
var { className, inset } = _a, props = __rest(_a, ["className", "inset"]);
|
|
18
|
+
return (_jsx(ContextMenuPrimitive.GroupLabel, Object.assign({ "data-slot": "context-menu-label", "data-inset": inset, className: cn("px-2 py-1.5 text-xs font-medium text-muted-foreground data-inset:pl-8", className) }, props)));
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
|
+
import { ContextMenu as ContextMenuPrimitive } from "@base-ui/react/context-menu";
|
|
15
|
+
export default function ContextMenuPortal(_a) {
|
|
16
|
+
var props = __rest(_a, []);
|
|
17
|
+
return _jsx(ContextMenuPrimitive.Portal, Object.assign({ "data-slot": "context-menu-portal" }, props));
|
|
18
|
+
}
|