shadcn-ui-react 0.7.16 → 0.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +23 -14
- package/dist/index.d.cts +9 -5
- package/dist/index.d.ts +9 -5
- package/dist/index.js +23 -14
- package/dist/style.css +333 -43
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -497,14 +497,21 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
497
497
|
infoGhost: "bg-transparent text-sky-700 hover:bg-sky-500/10"
|
|
498
498
|
},
|
|
499
499
|
size: {
|
|
500
|
-
default: "h-9 px-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
500
|
+
default: "h-9 px-3.5 text-sm",
|
|
501
|
+
"2xs": "h-7 px-2 text-xs",
|
|
502
|
+
xs: "h-8 px-2.5 text-xs",
|
|
503
|
+
sm: "h-9 px-3 text-sm",
|
|
504
|
+
md: "h-10 px-3.5 text-sm",
|
|
505
|
+
lg: "h-11 px-4 text-base",
|
|
506
|
+
xl: "h-12 px-4 text-base",
|
|
507
|
+
"2xl": "h-14 px-5 text-lg",
|
|
505
508
|
icon: "h-9 w-9",
|
|
509
|
+
iconXs: "h-7 w-7",
|
|
506
510
|
iconSm: "h-8 w-8",
|
|
507
|
-
|
|
511
|
+
iconMd: "h-10 w-10",
|
|
512
|
+
iconLg: "h-11 w-11",
|
|
513
|
+
iconXl: "h-12 w-12",
|
|
514
|
+
icon2xl: "h-14 w-14"
|
|
508
515
|
},
|
|
509
516
|
rounded: {
|
|
510
517
|
default: "rounded-md",
|
|
@@ -5867,14 +5874,15 @@ var Checkbox = React36.forwardRef(
|
|
|
5867
5874
|
ref,
|
|
5868
5875
|
disabled,
|
|
5869
5876
|
className: cn(
|
|
5870
|
-
"peer inline-flex shrink-0 items-center justify-center border
|
|
5871
|
-
"
|
|
5872
|
-
"
|
|
5877
|
+
"peer relative inline-flex shrink-0 items-center justify-center overflow-hidden border outline-none",
|
|
5878
|
+
"box-border align-middle transition-colors duration-200",
|
|
5879
|
+
"hover:border-primary/70",
|
|
5880
|
+
"focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
5873
5881
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
5874
|
-
"data-[state=
|
|
5882
|
+
"data-[state=unchecked]:bg-background",
|
|
5875
5883
|
checkboxSizes[size],
|
|
5876
5884
|
checkboxVariants[variant],
|
|
5877
|
-
invalid && "border-destructive
|
|
5885
|
+
invalid && "border-destructive focus-visible:outline-destructive/70",
|
|
5878
5886
|
className
|
|
5879
5887
|
)
|
|
5880
5888
|
}, props), {
|
|
@@ -5882,7 +5890,8 @@ var Checkbox = React36.forwardRef(
|
|
|
5882
5890
|
CheckboxPrimitive.Indicator,
|
|
5883
5891
|
{
|
|
5884
5892
|
className: cn(
|
|
5885
|
-
"flex items-center justify-center text-current
|
|
5893
|
+
"flex items-center justify-center text-current",
|
|
5894
|
+
"transition-transform duration-150"
|
|
5886
5895
|
),
|
|
5887
5896
|
children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
5888
5897
|
import_react_icons4.CheckIcon,
|
|
@@ -6807,7 +6816,7 @@ var FormCheckbox = (_a) => {
|
|
|
6807
6816
|
description ? descriptionId : void 0,
|
|
6808
6817
|
hasError ? messageId : void 0
|
|
6809
6818
|
].filter(Boolean).join(" ") || void 0,
|
|
6810
|
-
className: cn("mt-0.5 shrink-0", checkboxClassName),
|
|
6819
|
+
className: cn("mt-0.5 shrink-0 self-start", checkboxClassName),
|
|
6811
6820
|
onBlur: field.onBlur,
|
|
6812
6821
|
onCheckedChange: (value) => {
|
|
6813
6822
|
const nextValue = value === true;
|
|
@@ -10589,7 +10598,7 @@ var UiCheckbox = React73.forwardRef(
|
|
|
10589
10598
|
ref,
|
|
10590
10599
|
id: htmlFormItemId,
|
|
10591
10600
|
invalid: hasError,
|
|
10592
|
-
className: cn("mt-0.5 shrink-0", className)
|
|
10601
|
+
className: cn("mt-0.5 shrink-0 self-start", className)
|
|
10593
10602
|
}, checkboxProps)
|
|
10594
10603
|
),
|
|
10595
10604
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "min-w-0 flex-1", children: [
|
package/dist/index.d.cts
CHANGED
|
@@ -107,9 +107,13 @@ declare const BreadcrumbEllipsis: {
|
|
|
107
107
|
|
|
108
108
|
declare const buttonVariants: (props?: ({
|
|
109
109
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
110
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
110
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
111
111
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
112
112
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
type ButtonVariantProps = VariantProps$1<typeof buttonVariants>;
|
|
114
|
+
type ButtonVariant = ButtonVariantProps["variant"];
|
|
115
|
+
type ButtonSize = ButtonVariantProps["size"];
|
|
116
|
+
type ButtonRounded = ButtonVariantProps["rounded"];
|
|
113
117
|
type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<typeof buttonVariants> & {
|
|
114
118
|
asChild?: boolean;
|
|
115
119
|
loading?: boolean;
|
|
@@ -117,7 +121,7 @@ type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProp
|
|
|
117
121
|
};
|
|
118
122
|
declare const Button: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<(props?: ({
|
|
119
123
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
120
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
124
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
121
125
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
122
126
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
123
127
|
asChild?: boolean;
|
|
@@ -177,7 +181,7 @@ declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
177
181
|
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
182
|
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
179
183
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
180
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
184
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
181
185
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
182
186
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
183
187
|
asChild?: boolean;
|
|
@@ -186,7 +190,7 @@ declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<React$1.B
|
|
|
186
190
|
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
187
191
|
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
188
192
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
189
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
193
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
190
194
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
191
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
192
196
|
asChild?: boolean;
|
|
@@ -1307,4 +1311,4 @@ declare function PaginationSection({ totalPosts, postsPerPage, currentPage, setC
|
|
|
1307
1311
|
|
|
1308
1312
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1309
1313
|
|
|
1310
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, type CheckboxRules, type CheckboxSize, type CheckboxVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomFormFieldProps, type CustomFormSelectProps, type CustomSize, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, type DataTableProps, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, type DropzoneProps, type FieldRules$1 as FieldRules, FileUpload, type FileUploadProps, Form, FormCheckbox, type FormCheckboxProps, FormControl, FormDescription, FormField, FormFieldContext, type FormFieldContextValue, type FormInputVariantProps, FormItem, FormItemContext, FormLabel, FormMessage, type FormProps, FormSelect, type FormSizeProps, type FormVariantProps, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHead, type PageHeadProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, PaginationSection, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectOption, type SelectProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarProvider, type SizeClasses, type SizeProps, Skeleton, Slider, ToasterSonner as SonnerToaster, type SonnerToasterProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UiCheckbox, type UiCheckboxProps, UiInput, type UiInputProps, UiSelect, type UiSelectOption, type UiSelectProps, type VariantProps, badgeVariants, buttonVariants, cn, formCompositeControlBase, formCompositeControlErrorClass, formCompositeVariants, formControlBase, formControlErrorClass, formInputVariants, formSizeVariants, getDefaultOptionLabel, getDefaultOptionValue, getErrorMessage, getFormControlSizeClass, getFormSizeClasses, getNextEnabledIndex, iconButtonVariants, navigationMenuTriggerStyle, normalizeSearchText, reducer, toast, toggleVariants, useFormField, useSidebar, useToast, variants };
|
|
1314
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, type ButtonVariantProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, type CheckboxRules, type CheckboxSize, type CheckboxVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomFormFieldProps, type CustomFormSelectProps, type CustomSize, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, type DataTableProps, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, type DropzoneProps, type FieldRules$1 as FieldRules, FileUpload, type FileUploadProps, Form, FormCheckbox, type FormCheckboxProps, FormControl, FormDescription, FormField, FormFieldContext, type FormFieldContextValue, type FormInputVariantProps, FormItem, FormItemContext, FormLabel, FormMessage, type FormProps, FormSelect, type FormSizeProps, type FormVariantProps, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHead, type PageHeadProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, PaginationSection, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectOption, type SelectProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarProvider, type SizeClasses, type SizeProps, Skeleton, Slider, ToasterSonner as SonnerToaster, type SonnerToasterProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UiCheckbox, type UiCheckboxProps, UiInput, type UiInputProps, UiSelect, type UiSelectOption, type UiSelectProps, type VariantProps, badgeVariants, buttonVariants, cn, formCompositeControlBase, formCompositeControlErrorClass, formCompositeVariants, formControlBase, formControlErrorClass, formInputVariants, formSizeVariants, getDefaultOptionLabel, getDefaultOptionValue, getErrorMessage, getFormControlSizeClass, getFormSizeClasses, getNextEnabledIndex, iconButtonVariants, navigationMenuTriggerStyle, normalizeSearchText, reducer, toast, toggleVariants, useFormField, useSidebar, useToast, variants };
|
package/dist/index.d.ts
CHANGED
|
@@ -107,9 +107,13 @@ declare const BreadcrumbEllipsis: {
|
|
|
107
107
|
|
|
108
108
|
declare const buttonVariants: (props?: ({
|
|
109
109
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
110
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
110
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
111
111
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
112
112
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
113
|
+
type ButtonVariantProps = VariantProps$1<typeof buttonVariants>;
|
|
114
|
+
type ButtonVariant = ButtonVariantProps["variant"];
|
|
115
|
+
type ButtonSize = ButtonVariantProps["size"];
|
|
116
|
+
type ButtonRounded = ButtonVariantProps["rounded"];
|
|
113
117
|
type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<typeof buttonVariants> & {
|
|
114
118
|
asChild?: boolean;
|
|
115
119
|
loading?: boolean;
|
|
@@ -117,7 +121,7 @@ type ButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProp
|
|
|
117
121
|
};
|
|
118
122
|
declare const Button: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps$1<(props?: ({
|
|
119
123
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
120
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
124
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
121
125
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
122
126
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
123
127
|
asChild?: boolean;
|
|
@@ -177,7 +181,7 @@ declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAtt
|
|
|
177
181
|
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
182
|
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
179
183
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
180
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
184
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
181
185
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
182
186
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
183
187
|
asChild?: boolean;
|
|
@@ -186,7 +190,7 @@ declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<React$1.B
|
|
|
186
190
|
} & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
187
191
|
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement> & class_variance_authority.VariantProps<(props?: ({
|
|
188
192
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "success" | "warning" | "info" | "dark" | "light" | "soft" | "softDestructive" | "softSuccess" | "softWarning" | "softInfo" | "outlineDestructive" | "outlineSuccess" | "outlineWarning" | "outlineInfo" | "gradient" | "gradientSuccess" | "gradientWarning" | "gradientDanger" | "premium" | "glass" | "neon" | "dangerGhost" | "successGhost" | "warningGhost" | "infoGhost" | null | undefined;
|
|
189
|
-
size?: "default" | "xs" | "sm" | "lg" | "xl" | "icon" | "iconSm" | "iconLg" | null | undefined;
|
|
193
|
+
size?: "default" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "icon" | "iconXs" | "iconSm" | "iconMd" | "iconLg" | "iconXl" | "icon2xl" | null | undefined;
|
|
190
194
|
rounded?: "default" | "sm" | "lg" | "xl" | "full" | null | undefined;
|
|
191
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
192
196
|
asChild?: boolean;
|
|
@@ -1307,4 +1311,4 @@ declare function PaginationSection({ totalPosts, postsPerPage, currentPage, setC
|
|
|
1307
1311
|
|
|
1308
1312
|
declare function cn(...inputs: ClassValue[]): string;
|
|
1309
1313
|
|
|
1310
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, type CheckboxRules, type CheckboxSize, type CheckboxVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomFormFieldProps, type CustomFormSelectProps, type CustomSize, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, type DataTableProps, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, type DropzoneProps, type FieldRules$1 as FieldRules, FileUpload, type FileUploadProps, Form, FormCheckbox, type FormCheckboxProps, FormControl, FormDescription, FormField, FormFieldContext, type FormFieldContextValue, type FormInputVariantProps, FormItem, FormItemContext, FormLabel, FormMessage, type FormProps, FormSelect, type FormSizeProps, type FormVariantProps, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHead, type PageHeadProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, PaginationSection, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectOption, type SelectProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarProvider, type SizeClasses, type SizeProps, Skeleton, Slider, ToasterSonner as SonnerToaster, type SonnerToasterProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UiCheckbox, type UiCheckboxProps, UiInput, type UiInputProps, UiSelect, type UiSelectOption, type UiSelectProps, type VariantProps, badgeVariants, buttonVariants, cn, formCompositeControlBase, formCompositeControlErrorClass, formCompositeVariants, formControlBase, formControlErrorClass, formInputVariants, formSizeVariants, getDefaultOptionLabel, getDefaultOptionValue, getErrorMessage, getFormControlSizeClass, getFormSizeClasses, getNextEnabledIndex, iconButtonVariants, navigationMenuTriggerStyle, normalizeSearchText, reducer, toast, toggleVariants, useFormField, useSidebar, useToast, variants };
|
|
1314
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertModal, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, type ButtonRounded, type ButtonSize, type ButtonVariant, type ButtonVariantProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, type CheckboxProps, type CheckboxRules, type CheckboxSize, type CheckboxVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CustomFormFieldProps, type CustomFormSelectProps, type CustomSize, DATA_TABLE_TEMPLATES, DataTable, type DataTableAccent, type DataTableProps, DataTableSkeleton, type DataTableSlots, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, type DropzoneProps, type FieldRules$1 as FieldRules, FileUpload, type FileUploadProps, Form, FormCheckbox, type FormCheckboxProps, FormControl, FormDescription, FormField, FormFieldContext, type FormFieldContextValue, type FormInputVariantProps, FormItem, FormItemContext, FormLabel, FormMessage, type FormProps, FormSelect, type FormSizeProps, type FormVariantProps, Heading, HoverCard, HoverCardContent, HoverCardTrigger, IconButton, type IconButtonProps, Icons, ImagePreview, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, type InputVariant, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageHead, type PageHeadProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationNextLast, PaginationPrevious, PaginationPreviousLast, PaginationSection, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchInput, type SearchInputProps, SearchableSelect, type SearchableSelectOption, type SearchableSelectProps, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectOption, type SelectProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarProvider, type SizeClasses, type SizeProps, Skeleton, Slider, ToasterSonner as SonnerToaster, type SonnerToasterProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, ToasterSonner, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UiCheckbox, type UiCheckboxProps, UiInput, type UiInputProps, UiSelect, type UiSelectOption, type UiSelectProps, type VariantProps, badgeVariants, buttonVariants, cn, formCompositeControlBase, formCompositeControlErrorClass, formCompositeVariants, formControlBase, formControlErrorClass, formInputVariants, formSizeVariants, getDefaultOptionLabel, getDefaultOptionValue, getErrorMessage, getFormControlSizeClass, getFormSizeClasses, getNextEnabledIndex, iconButtonVariants, navigationMenuTriggerStyle, normalizeSearchText, reducer, toast, toggleVariants, useFormField, useSidebar, useToast, variants };
|
package/dist/index.js
CHANGED
|
@@ -200,14 +200,21 @@ var buttonVariants = cva2(
|
|
|
200
200
|
infoGhost: "bg-transparent text-sky-700 hover:bg-sky-500/10"
|
|
201
201
|
},
|
|
202
202
|
size: {
|
|
203
|
-
default: "h-9 px-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
203
|
+
default: "h-9 px-3.5 text-sm",
|
|
204
|
+
"2xs": "h-7 px-2 text-xs",
|
|
205
|
+
xs: "h-8 px-2.5 text-xs",
|
|
206
|
+
sm: "h-9 px-3 text-sm",
|
|
207
|
+
md: "h-10 px-3.5 text-sm",
|
|
208
|
+
lg: "h-11 px-4 text-base",
|
|
209
|
+
xl: "h-12 px-4 text-base",
|
|
210
|
+
"2xl": "h-14 px-5 text-lg",
|
|
208
211
|
icon: "h-9 w-9",
|
|
212
|
+
iconXs: "h-7 w-7",
|
|
209
213
|
iconSm: "h-8 w-8",
|
|
210
|
-
|
|
214
|
+
iconMd: "h-10 w-10",
|
|
215
|
+
iconLg: "h-11 w-11",
|
|
216
|
+
iconXl: "h-12 w-12",
|
|
217
|
+
icon2xl: "h-14 w-14"
|
|
211
218
|
},
|
|
212
219
|
rounded: {
|
|
213
220
|
default: "rounded-md",
|
|
@@ -5570,14 +5577,15 @@ var Checkbox = React36.forwardRef(
|
|
|
5570
5577
|
ref,
|
|
5571
5578
|
disabled,
|
|
5572
5579
|
className: cn(
|
|
5573
|
-
"peer inline-flex shrink-0 items-center justify-center border
|
|
5574
|
-
"
|
|
5575
|
-
"
|
|
5580
|
+
"peer relative inline-flex shrink-0 items-center justify-center overflow-hidden border outline-none",
|
|
5581
|
+
"box-border align-middle transition-colors duration-200",
|
|
5582
|
+
"hover:border-primary/70",
|
|
5583
|
+
"focus-visible:outline focus-visible:outline-offset-2 focus-visible:outline-ring",
|
|
5576
5584
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
5577
|
-
"data-[state=
|
|
5585
|
+
"data-[state=unchecked]:bg-background",
|
|
5578
5586
|
checkboxSizes[size],
|
|
5579
5587
|
checkboxVariants[variant],
|
|
5580
|
-
invalid && "border-destructive
|
|
5588
|
+
invalid && "border-destructive focus-visible:outline-destructive/70",
|
|
5581
5589
|
className
|
|
5582
5590
|
)
|
|
5583
5591
|
}, props), {
|
|
@@ -5585,7 +5593,8 @@ var Checkbox = React36.forwardRef(
|
|
|
5585
5593
|
CheckboxPrimitive.Indicator,
|
|
5586
5594
|
{
|
|
5587
5595
|
className: cn(
|
|
5588
|
-
"flex items-center justify-center text-current
|
|
5596
|
+
"flex items-center justify-center text-current",
|
|
5597
|
+
"transition-transform duration-150"
|
|
5589
5598
|
),
|
|
5590
5599
|
children: /* @__PURE__ */ jsx12(
|
|
5591
5600
|
CheckIcon,
|
|
@@ -6525,7 +6534,7 @@ var FormCheckbox = (_a) => {
|
|
|
6525
6534
|
description ? descriptionId : void 0,
|
|
6526
6535
|
hasError ? messageId : void 0
|
|
6527
6536
|
].filter(Boolean).join(" ") || void 0,
|
|
6528
|
-
className: cn("mt-0.5 shrink-0", checkboxClassName),
|
|
6537
|
+
className: cn("mt-0.5 shrink-0 self-start", checkboxClassName),
|
|
6529
6538
|
onBlur: field.onBlur,
|
|
6530
6539
|
onCheckedChange: (value) => {
|
|
6531
6540
|
const nextValue = value === true;
|
|
@@ -10349,7 +10358,7 @@ var UiCheckbox = React73.forwardRef(
|
|
|
10349
10358
|
ref,
|
|
10350
10359
|
id: htmlFormItemId,
|
|
10351
10360
|
invalid: hasError,
|
|
10352
|
-
className: cn("mt-0.5 shrink-0", className)
|
|
10361
|
+
className: cn("mt-0.5 shrink-0 self-start", className)
|
|
10353
10362
|
}, checkboxProps)
|
|
10354
10363
|
),
|
|
10355
10364
|
/* @__PURE__ */ jsxs28("div", { className: "min-w-0 flex-1", children: [
|
package/dist/style.css
CHANGED
|
@@ -345,6 +345,9 @@
|
|
|
345
345
|
.inset-x-0 {
|
|
346
346
|
inset-inline: calc(var(--spacing) * 0);
|
|
347
347
|
}
|
|
348
|
+
.inset-x-2 {
|
|
349
|
+
inset-inline: calc(var(--spacing) * 2);
|
|
350
|
+
}
|
|
348
351
|
.inset-y-0 {
|
|
349
352
|
inset-block: calc(var(--spacing) * 0);
|
|
350
353
|
}
|
|
@@ -426,6 +429,9 @@
|
|
|
426
429
|
.left-\[50\%\] {
|
|
427
430
|
left: 50%;
|
|
428
431
|
}
|
|
432
|
+
.z-0 {
|
|
433
|
+
z-index: 0;
|
|
434
|
+
}
|
|
429
435
|
.z-10 {
|
|
430
436
|
z-index: 10;
|
|
431
437
|
}
|
|
@@ -510,6 +516,9 @@
|
|
|
510
516
|
.ml-auto {
|
|
511
517
|
margin-left: auto;
|
|
512
518
|
}
|
|
519
|
+
.box-border {
|
|
520
|
+
box-sizing: border-box;
|
|
521
|
+
}
|
|
513
522
|
.block {
|
|
514
523
|
display: block;
|
|
515
524
|
}
|
|
@@ -559,6 +568,9 @@
|
|
|
559
568
|
width: calc(var(--spacing) * 8);
|
|
560
569
|
height: calc(var(--spacing) * 8);
|
|
561
570
|
}
|
|
571
|
+
.\!h-8 {
|
|
572
|
+
height: calc(var(--spacing) * 8) !important;
|
|
573
|
+
}
|
|
562
574
|
.h-1\.5 {
|
|
563
575
|
height: calc(var(--spacing) * 1.5);
|
|
564
576
|
}
|
|
@@ -604,9 +616,15 @@
|
|
|
604
616
|
.h-14 {
|
|
605
617
|
height: calc(var(--spacing) * 14);
|
|
606
618
|
}
|
|
619
|
+
.h-24 {
|
|
620
|
+
height: calc(var(--spacing) * 24);
|
|
621
|
+
}
|
|
607
622
|
.h-28 {
|
|
608
623
|
height: calc(var(--spacing) * 28);
|
|
609
624
|
}
|
|
625
|
+
.h-32 {
|
|
626
|
+
height: calc(var(--spacing) * 32);
|
|
627
|
+
}
|
|
610
628
|
.h-36 {
|
|
611
629
|
height: calc(var(--spacing) * 36);
|
|
612
630
|
}
|
|
@@ -628,6 +646,9 @@
|
|
|
628
646
|
.h-px {
|
|
629
647
|
height: 1px;
|
|
630
648
|
}
|
|
649
|
+
.max-h-64 {
|
|
650
|
+
max-height: calc(var(--spacing) * 64);
|
|
651
|
+
}
|
|
631
652
|
.max-h-\[300px\] {
|
|
632
653
|
max-height: 300px;
|
|
633
654
|
}
|
|
@@ -685,9 +706,15 @@
|
|
|
685
706
|
.w-10 {
|
|
686
707
|
width: calc(var(--spacing) * 10);
|
|
687
708
|
}
|
|
709
|
+
.w-11 {
|
|
710
|
+
width: calc(var(--spacing) * 11);
|
|
711
|
+
}
|
|
688
712
|
.w-12 {
|
|
689
713
|
width: calc(var(--spacing) * 12);
|
|
690
714
|
}
|
|
715
|
+
.w-14 {
|
|
716
|
+
width: calc(var(--spacing) * 14);
|
|
717
|
+
}
|
|
691
718
|
.w-17\.5 {
|
|
692
719
|
width: calc(var(--spacing) * 17.5);
|
|
693
720
|
}
|
|
@@ -715,6 +742,12 @@
|
|
|
715
742
|
.w-72 {
|
|
716
743
|
width: calc(var(--spacing) * 72);
|
|
717
744
|
}
|
|
745
|
+
.w-75 {
|
|
746
|
+
width: calc(var(--spacing) * 75);
|
|
747
|
+
}
|
|
748
|
+
.w-79 {
|
|
749
|
+
width: calc(var(--spacing) * 79);
|
|
750
|
+
}
|
|
718
751
|
.w-\[4\.5rem\] {
|
|
719
752
|
width: 4.5rem;
|
|
720
753
|
}
|
|
@@ -737,6 +770,12 @@
|
|
|
737
770
|
.w-px {
|
|
738
771
|
width: 1px;
|
|
739
772
|
}
|
|
773
|
+
.max-w-\[calc\(100vw-1\.5rem\)\] {
|
|
774
|
+
max-width: calc(100vw - 1.5rem);
|
|
775
|
+
}
|
|
776
|
+
.max-w-full {
|
|
777
|
+
max-width: 100%;
|
|
778
|
+
}
|
|
740
779
|
.max-w-lg {
|
|
741
780
|
max-width: var(--container-lg);
|
|
742
781
|
}
|
|
@@ -778,6 +817,9 @@
|
|
|
778
817
|
.flex-1 {
|
|
779
818
|
flex: 1;
|
|
780
819
|
}
|
|
820
|
+
.shrink {
|
|
821
|
+
flex-shrink: 1;
|
|
822
|
+
}
|
|
781
823
|
.shrink-0 {
|
|
782
824
|
flex-shrink: 0;
|
|
783
825
|
}
|
|
@@ -857,6 +899,13 @@
|
|
|
857
899
|
.resize {
|
|
858
900
|
resize: both;
|
|
859
901
|
}
|
|
902
|
+
.scrollbar-thin {
|
|
903
|
+
scrollbar-width: thin;
|
|
904
|
+
}
|
|
905
|
+
.scrollbar-track-transparent {
|
|
906
|
+
--tw-scrollbar-track: transparent;
|
|
907
|
+
scrollbar-color: var(--tw-scrollbar-thumb) var(--tw-scrollbar-track);
|
|
908
|
+
}
|
|
860
909
|
.list-none {
|
|
861
910
|
list-style-type: none;
|
|
862
911
|
}
|
|
@@ -867,6 +916,15 @@
|
|
|
867
916
|
.grid-cols-1 {
|
|
868
917
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
869
918
|
}
|
|
919
|
+
.grid-cols-3 {
|
|
920
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
921
|
+
}
|
|
922
|
+
.grid-cols-7 {
|
|
923
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
924
|
+
}
|
|
925
|
+
.grid-cols-\[minmax\(0\,1fr\)_82px\] {
|
|
926
|
+
grid-template-columns: minmax(0, 1fr) 82px;
|
|
927
|
+
}
|
|
870
928
|
.flex-col {
|
|
871
929
|
flex-direction: column;
|
|
872
930
|
}
|
|
@@ -921,6 +979,13 @@
|
|
|
921
979
|
.gap-6 {
|
|
922
980
|
gap: calc(var(--spacing) * 6);
|
|
923
981
|
}
|
|
982
|
+
.space-y-0 {
|
|
983
|
+
:where(& > :not(:last-child)) {
|
|
984
|
+
--tw-space-y-reverse: 0;
|
|
985
|
+
margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
|
|
986
|
+
margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
|
|
987
|
+
}
|
|
988
|
+
}
|
|
924
989
|
.space-y-0\.5 {
|
|
925
990
|
:where(& > :not(:last-child)) {
|
|
926
991
|
--tw-space-y-reverse: 0;
|
|
@@ -984,6 +1049,9 @@
|
|
|
984
1049
|
.gap-y-1 {
|
|
985
1050
|
row-gap: calc(var(--spacing) * 1);
|
|
986
1051
|
}
|
|
1052
|
+
.self-start {
|
|
1053
|
+
align-self: flex-start;
|
|
1054
|
+
}
|
|
987
1055
|
.truncate {
|
|
988
1056
|
overflow: hidden;
|
|
989
1057
|
text-overflow: ellipsis;
|
|
@@ -1007,6 +1075,9 @@
|
|
|
1007
1075
|
.overscroll-contain {
|
|
1008
1076
|
overscroll-behavior: contain;
|
|
1009
1077
|
}
|
|
1078
|
+
.\!rounded-lg {
|
|
1079
|
+
border-radius: var(--radius) !important;
|
|
1080
|
+
}
|
|
1010
1081
|
.rounded {
|
|
1011
1082
|
border-radius: 0.25rem;
|
|
1012
1083
|
}
|
|
@@ -1092,6 +1163,9 @@
|
|
|
1092
1163
|
--tw-border-style: dashed;
|
|
1093
1164
|
border-style: dashed;
|
|
1094
1165
|
}
|
|
1166
|
+
.\!border-transparent {
|
|
1167
|
+
border-color: transparent !important;
|
|
1168
|
+
}
|
|
1095
1169
|
.border-amber-500\/40 {
|
|
1096
1170
|
border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 40%, transparent);
|
|
1097
1171
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1104,6 +1178,18 @@
|
|
|
1104
1178
|
.border-border {
|
|
1105
1179
|
border-color: var(--border);
|
|
1106
1180
|
}
|
|
1181
|
+
.border-border\/60 {
|
|
1182
|
+
border-color: var(--border);
|
|
1183
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1184
|
+
border-color: color-mix(in oklab, var(--border) 60%, transparent);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
.border-border\/70 {
|
|
1188
|
+
border-color: var(--border);
|
|
1189
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1190
|
+
border-color: color-mix(in oklab, var(--border) 70%, transparent);
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1107
1193
|
.border-destructive {
|
|
1108
1194
|
border-color: var(--destructive);
|
|
1109
1195
|
}
|
|
@@ -1176,6 +1262,12 @@
|
|
|
1176
1262
|
.border-l-transparent {
|
|
1177
1263
|
border-left-color: transparent;
|
|
1178
1264
|
}
|
|
1265
|
+
.\!bg-muted\/60 {
|
|
1266
|
+
background-color: var(--muted) !important;
|
|
1267
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1268
|
+
background-color: color-mix(in oklab, var(--muted) 60%, transparent) !important;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1179
1271
|
.bg-accent {
|
|
1180
1272
|
background-color: var(--accent);
|
|
1181
1273
|
}
|
|
@@ -1293,6 +1385,12 @@
|
|
|
1293
1385
|
background-color: color-mix(in oklab, var(--muted) 70%, transparent);
|
|
1294
1386
|
}
|
|
1295
1387
|
}
|
|
1388
|
+
.bg-muted\/80 {
|
|
1389
|
+
background-color: var(--muted);
|
|
1390
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1391
|
+
background-color: color-mix(in oklab, var(--muted) 80%, transparent);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1296
1394
|
.bg-popover {
|
|
1297
1395
|
background-color: var(--popover);
|
|
1298
1396
|
}
|
|
@@ -1338,6 +1436,20 @@
|
|
|
1338
1436
|
.bg-zinc-950 {
|
|
1339
1437
|
background-color: var(--color-zinc-950);
|
|
1340
1438
|
}
|
|
1439
|
+
.bg-linear-to-b {
|
|
1440
|
+
--tw-gradient-position: to bottom;
|
|
1441
|
+
@supports (background-image: linear-gradient(in lab, red, red)) {
|
|
1442
|
+
--tw-gradient-position: to bottom in oklab;
|
|
1443
|
+
}
|
|
1444
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1445
|
+
}
|
|
1446
|
+
.bg-linear-to-t {
|
|
1447
|
+
--tw-gradient-position: to top;
|
|
1448
|
+
@supports (background-image: linear-gradient(in lab, red, red)) {
|
|
1449
|
+
--tw-gradient-position: to top in oklab;
|
|
1450
|
+
}
|
|
1451
|
+
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
1452
|
+
}
|
|
1341
1453
|
.bg-gradient-to-r {
|
|
1342
1454
|
--tw-gradient-position: to right in oklab;
|
|
1343
1455
|
background-image: linear-gradient(var(--tw-gradient-stops));
|
|
@@ -1350,6 +1462,10 @@
|
|
|
1350
1462
|
--tw-gradient-from: var(--color-emerald-600);
|
|
1351
1463
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1352
1464
|
}
|
|
1465
|
+
.from-popover {
|
|
1466
|
+
--tw-gradient-from: var(--popover);
|
|
1467
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1468
|
+
}
|
|
1353
1469
|
.from-primary {
|
|
1354
1470
|
--tw-gradient-from: var(--primary);
|
|
1355
1471
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
@@ -1406,6 +1522,10 @@
|
|
|
1406
1522
|
--tw-gradient-to: var(--color-teal-500);
|
|
1407
1523
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1408
1524
|
}
|
|
1525
|
+
.to-transparent {
|
|
1526
|
+
--tw-gradient-to: transparent;
|
|
1527
|
+
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
1528
|
+
}
|
|
1409
1529
|
.fill-current {
|
|
1410
1530
|
fill: currentcolor;
|
|
1411
1531
|
}
|
|
@@ -1443,6 +1563,9 @@
|
|
|
1443
1563
|
.p-\[1px\] {
|
|
1444
1564
|
padding: 1px;
|
|
1445
1565
|
}
|
|
1566
|
+
.\!px-2 {
|
|
1567
|
+
padding-inline: calc(var(--spacing) * 2) !important;
|
|
1568
|
+
}
|
|
1446
1569
|
.px-0 {
|
|
1447
1570
|
padding-inline: calc(var(--spacing) * 0);
|
|
1448
1571
|
}
|
|
@@ -1467,12 +1590,6 @@
|
|
|
1467
1590
|
.px-5 {
|
|
1468
1591
|
padding-inline: calc(var(--spacing) * 5);
|
|
1469
1592
|
}
|
|
1470
|
-
.px-8 {
|
|
1471
|
-
padding-inline: calc(var(--spacing) * 8);
|
|
1472
|
-
}
|
|
1473
|
-
.px-10 {
|
|
1474
|
-
padding-inline: calc(var(--spacing) * 10);
|
|
1475
|
-
}
|
|
1476
1593
|
.py-0\.5 {
|
|
1477
1594
|
padding-block: calc(var(--spacing) * 0.5);
|
|
1478
1595
|
}
|
|
@@ -1497,12 +1614,18 @@
|
|
|
1497
1614
|
.py-6 {
|
|
1498
1615
|
padding-block: calc(var(--spacing) * 6);
|
|
1499
1616
|
}
|
|
1617
|
+
.py-10 {
|
|
1618
|
+
padding-block: calc(var(--spacing) * 10);
|
|
1619
|
+
}
|
|
1500
1620
|
.pt-0 {
|
|
1501
1621
|
padding-top: calc(var(--spacing) * 0);
|
|
1502
1622
|
}
|
|
1503
1623
|
.pt-1 {
|
|
1504
1624
|
padding-top: calc(var(--spacing) * 1);
|
|
1505
1625
|
}
|
|
1626
|
+
.pt-2 {
|
|
1627
|
+
padding-top: calc(var(--spacing) * 2);
|
|
1628
|
+
}
|
|
1506
1629
|
.pt-4 {
|
|
1507
1630
|
padding-top: calc(var(--spacing) * 4);
|
|
1508
1631
|
}
|
|
@@ -1512,6 +1635,9 @@
|
|
|
1512
1635
|
.pt-6 {
|
|
1513
1636
|
padding-top: calc(var(--spacing) * 6);
|
|
1514
1637
|
}
|
|
1638
|
+
.pr-1 {
|
|
1639
|
+
padding-right: calc(var(--spacing) * 1);
|
|
1640
|
+
}
|
|
1515
1641
|
.pr-2 {
|
|
1516
1642
|
padding-right: calc(var(--spacing) * 2);
|
|
1517
1643
|
}
|
|
@@ -1533,6 +1659,9 @@
|
|
|
1533
1659
|
.pr-14 {
|
|
1534
1660
|
padding-right: calc(var(--spacing) * 14);
|
|
1535
1661
|
}
|
|
1662
|
+
.pb-2 {
|
|
1663
|
+
padding-bottom: calc(var(--spacing) * 2);
|
|
1664
|
+
}
|
|
1536
1665
|
.pb-4 {
|
|
1537
1666
|
padding-bottom: calc(var(--spacing) * 4);
|
|
1538
1667
|
}
|
|
@@ -1572,6 +1701,10 @@
|
|
|
1572
1701
|
.align-middle {
|
|
1573
1702
|
vertical-align: middle;
|
|
1574
1703
|
}
|
|
1704
|
+
.\!text-xs {
|
|
1705
|
+
font-size: var(--text-xs) !important;
|
|
1706
|
+
line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
|
|
1707
|
+
}
|
|
1575
1708
|
.text-base {
|
|
1576
1709
|
font-size: var(--text-base);
|
|
1577
1710
|
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
@@ -1624,6 +1757,10 @@
|
|
|
1624
1757
|
--tw-leading: 1;
|
|
1625
1758
|
line-height: 1;
|
|
1626
1759
|
}
|
|
1760
|
+
.\!font-medium {
|
|
1761
|
+
--tw-font-weight: var(--font-weight-medium) !important;
|
|
1762
|
+
font-weight: var(--font-weight-medium) !important;
|
|
1763
|
+
}
|
|
1627
1764
|
.font-bold {
|
|
1628
1765
|
--tw-font-weight: var(--font-weight-bold);
|
|
1629
1766
|
font-weight: var(--font-weight-bold);
|
|
@@ -1704,6 +1841,24 @@
|
|
|
1704
1841
|
.text-muted-foreground {
|
|
1705
1842
|
color: var(--muted-foreground);
|
|
1706
1843
|
}
|
|
1844
|
+
.text-muted-foreground\/25 {
|
|
1845
|
+
color: var(--muted-foreground);
|
|
1846
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1847
|
+
color: color-mix(in oklab, var(--muted-foreground) 25%, transparent);
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
.text-muted-foreground\/35 {
|
|
1851
|
+
color: var(--muted-foreground);
|
|
1852
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1853
|
+
color: color-mix(in oklab, var(--muted-foreground) 35%, transparent);
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
.text-muted-foreground\/70 {
|
|
1857
|
+
color: var(--muted-foreground);
|
|
1858
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1859
|
+
color: color-mix(in oklab, var(--muted-foreground) 70%, transparent);
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1707
1862
|
.text-popover-foreground {
|
|
1708
1863
|
color: var(--popover-foreground);
|
|
1709
1864
|
}
|
|
@@ -1731,6 +1886,10 @@
|
|
|
1731
1886
|
.uppercase {
|
|
1732
1887
|
text-transform: uppercase;
|
|
1733
1888
|
}
|
|
1889
|
+
.ordinal {
|
|
1890
|
+
--tw-ordinal: ordinal;
|
|
1891
|
+
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
1892
|
+
}
|
|
1734
1893
|
.underline-offset-4 {
|
|
1735
1894
|
text-underline-offset: 4px;
|
|
1736
1895
|
}
|
|
@@ -1752,6 +1911,15 @@
|
|
|
1752
1911
|
.opacity-90 {
|
|
1753
1912
|
opacity: 90%;
|
|
1754
1913
|
}
|
|
1914
|
+
.\!shadow-none {
|
|
1915
|
+
--tw-shadow: 0 0 #0000 !important;
|
|
1916
|
+
box-shadow:
|
|
1917
|
+
var(--tw-inset-shadow),
|
|
1918
|
+
var(--tw-inset-ring-shadow),
|
|
1919
|
+
var(--tw-ring-offset-shadow),
|
|
1920
|
+
var(--tw-ring-shadow),
|
|
1921
|
+
var(--tw-shadow) !important;
|
|
1922
|
+
}
|
|
1755
1923
|
.shadow {
|
|
1756
1924
|
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1757
1925
|
box-shadow:
|
|
@@ -1857,12 +2025,6 @@
|
|
|
1857
2025
|
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
1858
2026
|
}
|
|
1859
2027
|
}
|
|
1860
|
-
.ring-destructive\/20 {
|
|
1861
|
-
--tw-ring-color: var(--destructive);
|
|
1862
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1863
|
-
--tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
1864
|
-
}
|
|
1865
|
-
}
|
|
1866
2028
|
.ring-ring {
|
|
1867
2029
|
--tw-ring-color: var(--ring);
|
|
1868
2030
|
}
|
|
@@ -1950,6 +2112,10 @@
|
|
|
1950
2112
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1951
2113
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1952
2114
|
}
|
|
2115
|
+
.duration-150 {
|
|
2116
|
+
--tw-duration: 150ms;
|
|
2117
|
+
transition-duration: 150ms;
|
|
2118
|
+
}
|
|
1953
2119
|
.duration-200 {
|
|
1954
2120
|
--tw-duration: 200ms;
|
|
1955
2121
|
transition-duration: 200ms;
|
|
@@ -1988,6 +2154,9 @@
|
|
|
1988
2154
|
-moz-user-select: none;
|
|
1989
2155
|
user-select: none;
|
|
1990
2156
|
}
|
|
2157
|
+
.duration-150 {
|
|
2158
|
+
animation-duration: 150ms;
|
|
2159
|
+
}
|
|
1991
2160
|
.duration-200 {
|
|
1992
2161
|
animation-duration: 200ms;
|
|
1993
2162
|
}
|
|
@@ -2304,6 +2473,13 @@
|
|
|
2304
2473
|
}
|
|
2305
2474
|
}
|
|
2306
2475
|
}
|
|
2476
|
+
.hover\:\!bg-muted {
|
|
2477
|
+
&:hover {
|
|
2478
|
+
@media (hover: hover) {
|
|
2479
|
+
background-color: var(--muted) !important;
|
|
2480
|
+
}
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2307
2483
|
.hover\:bg-accent {
|
|
2308
2484
|
&:hover {
|
|
2309
2485
|
@media (hover: hover) {
|
|
@@ -2311,6 +2487,16 @@
|
|
|
2311
2487
|
}
|
|
2312
2488
|
}
|
|
2313
2489
|
}
|
|
2490
|
+
.hover\:bg-accent\/40 {
|
|
2491
|
+
&:hover {
|
|
2492
|
+
@media (hover: hover) {
|
|
2493
|
+
background-color: var(--accent);
|
|
2494
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2495
|
+
background-color: color-mix(in oklab, var(--accent) 40%, transparent);
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
}
|
|
2314
2500
|
.hover\:bg-accent\/70 {
|
|
2315
2501
|
&:hover {
|
|
2316
2502
|
@media (hover: hover) {
|
|
@@ -2462,6 +2648,13 @@
|
|
|
2462
2648
|
}
|
|
2463
2649
|
}
|
|
2464
2650
|
}
|
|
2651
|
+
.hover\:bg-primary {
|
|
2652
|
+
&:hover {
|
|
2653
|
+
@media (hover: hover) {
|
|
2654
|
+
background-color: var(--primary);
|
|
2655
|
+
}
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2465
2658
|
.hover\:bg-primary\/15 {
|
|
2466
2659
|
&:hover {
|
|
2467
2660
|
@media (hover: hover) {
|
|
@@ -2588,6 +2781,13 @@
|
|
|
2588
2781
|
}
|
|
2589
2782
|
}
|
|
2590
2783
|
}
|
|
2784
|
+
.hover\:text-primary-foreground {
|
|
2785
|
+
&:hover {
|
|
2786
|
+
@media (hover: hover) {
|
|
2787
|
+
color: var(--primary-foreground);
|
|
2788
|
+
}
|
|
2789
|
+
}
|
|
2790
|
+
}
|
|
2591
2791
|
.hover\:underline {
|
|
2592
2792
|
&:hover {
|
|
2593
2793
|
@media (hover: hover) {
|
|
@@ -2628,19 +2828,6 @@
|
|
|
2628
2828
|
}
|
|
2629
2829
|
}
|
|
2630
2830
|
}
|
|
2631
|
-
.hover\:shadow-md {
|
|
2632
|
-
&:hover {
|
|
2633
|
-
@media (hover: hover) {
|
|
2634
|
-
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
2635
|
-
box-shadow:
|
|
2636
|
-
var(--tw-inset-shadow),
|
|
2637
|
-
var(--tw-inset-ring-shadow),
|
|
2638
|
-
var(--tw-ring-offset-shadow),
|
|
2639
|
-
var(--tw-ring-shadow),
|
|
2640
|
-
var(--tw-shadow);
|
|
2641
|
-
}
|
|
2642
|
-
}
|
|
2643
|
-
}
|
|
2644
2831
|
.hover\:shadow-xl {
|
|
2645
2832
|
&:hover {
|
|
2646
2833
|
@media (hover: hover) {
|
|
@@ -2858,6 +3045,17 @@
|
|
|
2858
3045
|
}
|
|
2859
3046
|
}
|
|
2860
3047
|
}
|
|
3048
|
+
.focus-visible\:\!ring-1 {
|
|
3049
|
+
&:focus-visible {
|
|
3050
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor) !important;
|
|
3051
|
+
box-shadow:
|
|
3052
|
+
var(--tw-inset-shadow),
|
|
3053
|
+
var(--tw-inset-ring-shadow),
|
|
3054
|
+
var(--tw-ring-offset-shadow),
|
|
3055
|
+
var(--tw-ring-shadow),
|
|
3056
|
+
var(--tw-shadow) !important;
|
|
3057
|
+
}
|
|
3058
|
+
}
|
|
2861
3059
|
.focus-visible\:ring-1 {
|
|
2862
3060
|
&:focus-visible {
|
|
2863
3061
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -2880,6 +3078,11 @@
|
|
|
2880
3078
|
var(--tw-shadow);
|
|
2881
3079
|
}
|
|
2882
3080
|
}
|
|
3081
|
+
.focus-visible\:\!ring-ring {
|
|
3082
|
+
&:focus-visible {
|
|
3083
|
+
--tw-ring-color: var(--ring) !important;
|
|
3084
|
+
}
|
|
3085
|
+
}
|
|
2883
3086
|
.focus-visible\:ring-amber-500\/40 {
|
|
2884
3087
|
&:focus-visible {
|
|
2885
3088
|
--tw-ring-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 40%, transparent);
|
|
@@ -2888,11 +3091,11 @@
|
|
|
2888
3091
|
}
|
|
2889
3092
|
}
|
|
2890
3093
|
}
|
|
2891
|
-
.focus-visible\:ring-destructive\/
|
|
3094
|
+
.focus-visible\:ring-destructive\/30 {
|
|
2892
3095
|
&:focus-visible {
|
|
2893
3096
|
--tw-ring-color: var(--destructive);
|
|
2894
3097
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2895
|
-
--tw-ring-color: color-mix(in oklab, var(--destructive)
|
|
3098
|
+
--tw-ring-color: color-mix(in oklab, var(--destructive) 30%, transparent);
|
|
2896
3099
|
}
|
|
2897
3100
|
}
|
|
2898
3101
|
}
|
|
@@ -2942,6 +3145,30 @@
|
|
|
2942
3145
|
--tw-ring-offset-color: var(--background);
|
|
2943
3146
|
}
|
|
2944
3147
|
}
|
|
3148
|
+
.focus-visible\:outline {
|
|
3149
|
+
&:focus-visible {
|
|
3150
|
+
outline-style: var(--tw-outline-style);
|
|
3151
|
+
outline-width: 1px;
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
.focus-visible\:outline-offset-2 {
|
|
3155
|
+
&:focus-visible {
|
|
3156
|
+
outline-offset: 2px;
|
|
3157
|
+
}
|
|
3158
|
+
}
|
|
3159
|
+
.focus-visible\:outline-destructive\/70 {
|
|
3160
|
+
&:focus-visible {
|
|
3161
|
+
outline-color: var(--destructive);
|
|
3162
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3163
|
+
outline-color: color-mix(in oklab, var(--destructive) 70%, transparent);
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
}
|
|
3167
|
+
.focus-visible\:outline-ring {
|
|
3168
|
+
&:focus-visible {
|
|
3169
|
+
outline-color: var(--ring);
|
|
3170
|
+
}
|
|
3171
|
+
}
|
|
2945
3172
|
.focus-visible\:outline-none {
|
|
2946
3173
|
&:focus-visible {
|
|
2947
3174
|
--tw-outline-style: none;
|
|
@@ -2990,6 +3217,11 @@
|
|
|
2990
3217
|
cursor: not-allowed;
|
|
2991
3218
|
}
|
|
2992
3219
|
}
|
|
3220
|
+
.disabled\:opacity-30 {
|
|
3221
|
+
&:disabled {
|
|
3222
|
+
opacity: 30%;
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
2993
3225
|
.disabled\:opacity-50 {
|
|
2994
3226
|
&:disabled {
|
|
2995
3227
|
opacity: 50%;
|
|
@@ -3134,6 +3366,11 @@
|
|
|
3134
3366
|
opacity: 50%;
|
|
3135
3367
|
}
|
|
3136
3368
|
}
|
|
3369
|
+
.data-\[empty\=true\]\:text-muted-foreground {
|
|
3370
|
+
&[data-empty=true] {
|
|
3371
|
+
color: var(--muted-foreground);
|
|
3372
|
+
}
|
|
3373
|
+
}
|
|
3137
3374
|
.data-\[motion\=from-end\]\:slide-in-from-right-52 {
|
|
3138
3375
|
&[data-motion=from-end] {
|
|
3139
3376
|
--tw-enter-translate-x: 13rem;
|
|
@@ -3243,6 +3480,33 @@
|
|
|
3243
3480
|
color: var(--muted-foreground);
|
|
3244
3481
|
}
|
|
3245
3482
|
}
|
|
3483
|
+
.data-\[selected\=true\]\:bg-accent {
|
|
3484
|
+
&[data-selected=true] {
|
|
3485
|
+
background-color: var(--accent);
|
|
3486
|
+
}
|
|
3487
|
+
}
|
|
3488
|
+
.data-\[selected\=true\]\:text-base {
|
|
3489
|
+
&[data-selected=true] {
|
|
3490
|
+
font-size: var(--text-base);
|
|
3491
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
.data-\[selected\=true\]\:font-semibold {
|
|
3495
|
+
&[data-selected=true] {
|
|
3496
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
3497
|
+
font-weight: var(--font-weight-semibold);
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
.data-\[selected\=true\]\:text-accent-foreground {
|
|
3501
|
+
&[data-selected=true] {
|
|
3502
|
+
color: var(--accent-foreground);
|
|
3503
|
+
}
|
|
3504
|
+
}
|
|
3505
|
+
.data-\[selected\=true\]\:text-foreground {
|
|
3506
|
+
&[data-selected=true] {
|
|
3507
|
+
color: var(--foreground);
|
|
3508
|
+
}
|
|
3509
|
+
}
|
|
3246
3510
|
.data-\[side\=bottom\]\:slide-in-from-top-2 {
|
|
3247
3511
|
&[data-side=bottom] {
|
|
3248
3512
|
--tw-enter-translate-y: -0.5rem;
|
|
@@ -3290,14 +3554,6 @@
|
|
|
3290
3554
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
3291
3555
|
}
|
|
3292
3556
|
}
|
|
3293
|
-
.data-\[state\=checked\]\:scale-100 {
|
|
3294
|
-
&[data-state=checked] {
|
|
3295
|
-
--tw-scale-x: 100%;
|
|
3296
|
-
--tw-scale-y: 100%;
|
|
3297
|
-
--tw-scale-z: 100%;
|
|
3298
|
-
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
3299
|
-
}
|
|
3300
|
-
}
|
|
3301
3557
|
.data-\[state\=checked\]\:border-destructive {
|
|
3302
3558
|
&[data-state=checked] {
|
|
3303
3559
|
border-color: var(--destructive);
|
|
@@ -3356,14 +3612,6 @@
|
|
|
3356
3612
|
color: var(--color-white);
|
|
3357
3613
|
}
|
|
3358
3614
|
}
|
|
3359
|
-
.data-\[state\=checked\]\:shadow-primary\/20 {
|
|
3360
|
-
&[data-state=checked] {
|
|
3361
|
-
--tw-shadow-color: var(--primary);
|
|
3362
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
3363
|
-
--tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 20%, transparent) var(--tw-shadow-alpha), transparent);
|
|
3364
|
-
}
|
|
3365
|
-
}
|
|
3366
|
-
}
|
|
3367
3615
|
.data-\[state\=closed\]\:duration-300 {
|
|
3368
3616
|
&[data-state=closed] {
|
|
3369
3617
|
--tw-duration: 300ms;
|
|
@@ -4314,6 +4562,11 @@
|
|
|
4314
4562
|
background-color: var(--accent);
|
|
4315
4563
|
}
|
|
4316
4564
|
}
|
|
4565
|
+
.\[\&\>button\]\:bg-muted {
|
|
4566
|
+
& > button {
|
|
4567
|
+
background-color: var(--muted);
|
|
4568
|
+
}
|
|
4569
|
+
}
|
|
4317
4570
|
.\[\&\>button\]\:bg-primary {
|
|
4318
4571
|
& > button {
|
|
4319
4572
|
background-color: var(--primary);
|
|
@@ -4324,6 +4577,11 @@
|
|
|
4324
4577
|
color: var(--accent-foreground);
|
|
4325
4578
|
}
|
|
4326
4579
|
}
|
|
4580
|
+
.\[\&\>button\]\:text-foreground {
|
|
4581
|
+
& > button {
|
|
4582
|
+
color: var(--foreground);
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4327
4585
|
.\[\&\>button\]\:text-muted-foreground {
|
|
4328
4586
|
& > button {
|
|
4329
4587
|
color: var(--muted-foreground);
|
|
@@ -4334,6 +4592,24 @@
|
|
|
4334
4592
|
color: var(--primary-foreground);
|
|
4335
4593
|
}
|
|
4336
4594
|
}
|
|
4595
|
+
.\[\&\>button\]\:hover\:bg-primary {
|
|
4596
|
+
& > button {
|
|
4597
|
+
&:hover {
|
|
4598
|
+
@media (hover: hover) {
|
|
4599
|
+
background-color: var(--primary);
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
}
|
|
4604
|
+
.\[\&\>button\]\:hover\:text-primary-foreground {
|
|
4605
|
+
& > button {
|
|
4606
|
+
&:hover {
|
|
4607
|
+
@media (hover: hover) {
|
|
4608
|
+
color: var(--primary-foreground);
|
|
4609
|
+
}
|
|
4610
|
+
}
|
|
4611
|
+
}
|
|
4612
|
+
}
|
|
4337
4613
|
.\[\&\>button\:focus\]\:bg-primary {
|
|
4338
4614
|
& > button:focus {
|
|
4339
4615
|
background-color: var(--primary);
|
|
@@ -4563,6 +4839,8 @@
|
|
|
4563
4839
|
@property --tw-rotate-z { syntax: "*"; inherits: false; }
|
|
4564
4840
|
@property --tw-skew-x { syntax: "*"; inherits: false; }
|
|
4565
4841
|
@property --tw-skew-y { syntax: "*"; inherits: false; }
|
|
4842
|
+
@property --tw-scrollbar-thumb { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
4843
|
+
@property --tw-scrollbar-track { syntax: "<color>"; inherits: false; initial-value: #0000; }
|
|
4566
4844
|
@property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4567
4845
|
@property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
|
|
4568
4846
|
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
@@ -4578,6 +4856,11 @@
|
|
|
4578
4856
|
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
4579
4857
|
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
4580
4858
|
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
4859
|
+
@property --tw-ordinal { syntax: "*"; inherits: false; }
|
|
4860
|
+
@property --tw-slashed-zero { syntax: "*"; inherits: false; }
|
|
4861
|
+
@property --tw-numeric-figure { syntax: "*"; inherits: false; }
|
|
4862
|
+
@property --tw-numeric-spacing { syntax: "*"; inherits: false; }
|
|
4863
|
+
@property --tw-numeric-fraction { syntax: "*"; inherits: false; }
|
|
4581
4864
|
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
4582
4865
|
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
4583
4866
|
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
@@ -4647,6 +4930,8 @@
|
|
|
4647
4930
|
--tw-rotate-z: initial;
|
|
4648
4931
|
--tw-skew-x: initial;
|
|
4649
4932
|
--tw-skew-y: initial;
|
|
4933
|
+
--tw-scrollbar-thumb: #0000;
|
|
4934
|
+
--tw-scrollbar-track: #0000;
|
|
4650
4935
|
--tw-space-y-reverse: 0;
|
|
4651
4936
|
--tw-space-x-reverse: 0;
|
|
4652
4937
|
--tw-border-style: solid;
|
|
@@ -4662,6 +4947,11 @@
|
|
|
4662
4947
|
--tw-leading: initial;
|
|
4663
4948
|
--tw-font-weight: initial;
|
|
4664
4949
|
--tw-tracking: initial;
|
|
4950
|
+
--tw-ordinal: initial;
|
|
4951
|
+
--tw-slashed-zero: initial;
|
|
4952
|
+
--tw-numeric-figure: initial;
|
|
4953
|
+
--tw-numeric-spacing: initial;
|
|
4954
|
+
--tw-numeric-fraction: initial;
|
|
4665
4955
|
--tw-shadow: 0 0 #0000;
|
|
4666
4956
|
--tw-shadow-color: initial;
|
|
4667
4957
|
--tw-shadow-alpha: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shadcn-ui-react",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Bleker <bleker@gliyen.com>",
|
|
6
6
|
"description": "A collection of components for building beautiful and accessible user interfaces with React and Tailwind CSS.",
|