shadcn-ui-react 0.7.15 → 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 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-4 py-2",
501
- xs: "h-7 rounded-md px-2.5 text-xs",
502
- sm: "h-8 rounded-md px-3 text-xs",
503
- lg: "h-10 rounded-md px-8",
504
- xl: "h-12 rounded-lg px-10 text-base",
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
- iconLg: "h-10 w-10"
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 shadow-sm outline-none transition-all duration-200",
5871
- "hover:border-primary/70 hover:shadow-md",
5872
- "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
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=checked]:shadow-primary/20 data-[state=unchecked]:bg-background",
5882
+ "data-[state=unchecked]:bg-background",
5875
5883
  checkboxSizes[size],
5876
5884
  checkboxVariants[variant],
5877
- invalid && "border-destructive ring-1 ring-destructive/20 focus-visible:ring-destructive/40",
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 transition-transform duration-200 data-[state=checked]:scale-100"
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,
@@ -6786,12 +6795,12 @@ var FormCheckbox = (_a) => {
6786
6795
  const checked = Boolean(field.value);
6787
6796
  const fieldError = (_a3 = fieldState.error) == null ? void 0 : _a3.message;
6788
6797
  const hasError = Boolean(fieldError);
6789
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FormItem, { className: cn("space-y-1.5", itemClassName), children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
6798
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FormItem, { className: cn("min-w-0", itemClassName), children: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
6790
6799
  "div",
6791
6800
  {
6792
6801
  className: cn(
6793
- "flex items-start gap-3 rounded-lg border border-transparent p-1 transition-colors",
6794
- hasError && "border-destructive/20 bg-destructive/5",
6802
+ "flex min-w-0 items-start gap-2.5 transition-colors",
6803
+ hasError && "rounded-md border border-destructive/20 bg-destructive/5 px-2 py-1.5",
6795
6804
  className
6796
6805
  ),
6797
6806
  children: [
@@ -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", 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;
@@ -6822,13 +6831,13 @@ var FormCheckbox = (_a) => {
6822
6831
  {
6823
6832
  htmlFor: checkboxId,
6824
6833
  className: cn(
6825
- "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-none text-foreground",
6834
+ "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-5 text-foreground",
6826
6835
  checkboxProps.disabled && "cursor-not-allowed text-muted-foreground",
6827
6836
  hasError && "text-destructive",
6828
6837
  labelClassName
6829
6838
  ),
6830
6839
  children: [
6831
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { children: label }),
6840
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "min-w-0", children: label }),
6832
6841
  requiredLabel ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
6833
6842
  import_lucide_react3.Asterisk,
6834
6843
  {
@@ -6847,7 +6856,7 @@ var FormCheckbox = (_a) => {
6847
6856
  {
6848
6857
  id: descriptionId,
6849
6858
  className: cn(
6850
- "mt-1 text-sm leading-relaxed text-muted-foreground",
6859
+ "mt-0.5 text-sm leading-5 text-muted-foreground",
6851
6860
  descriptionClassName
6852
6861
  ),
6853
6862
  children: description
@@ -6858,7 +6867,7 @@ var FormCheckbox = (_a) => {
6858
6867
  {
6859
6868
  id: messageId,
6860
6869
  className: cn(
6861
- "mt-1 text-sm font-medium text-destructive",
6870
+ "mt-0.5 text-sm font-medium leading-5 text-destructive",
6862
6871
  messageClassName
6863
6872
  ),
6864
6873
  children: fieldError
@@ -10574,12 +10583,12 @@ var UiCheckbox = React73.forwardRef(
10574
10583
  "className"
10575
10584
  ]);
10576
10585
  const hasError = Boolean(errorMessage || invalid);
10577
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("w-full", containerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
10586
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: cn("w-full min-w-0", containerClassName), children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
10578
10587
  "div",
10579
10588
  {
10580
10589
  className: cn(
10581
- "flex items-start gap-3 rounded-lg border border-transparent p-1 transition-colors",
10582
- hasError && "border-destructive/20 bg-destructive/5",
10590
+ "flex min-w-0 items-start gap-2.5 transition-colors",
10591
+ hasError && "rounded-md border border-destructive/20 bg-destructive/5 px-2 py-1.5",
10583
10592
  contentClassName
10584
10593
  ),
10585
10594
  children: [
@@ -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", 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: [
@@ -10598,13 +10607,13 @@ var UiCheckbox = React73.forwardRef(
10598
10607
  {
10599
10608
  htmlFor: htmlFormItemId,
10600
10609
  className: cn(
10601
- "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-none text-foreground",
10610
+ "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-5 text-foreground",
10602
10611
  checkboxProps.disabled && "cursor-not-allowed text-muted-foreground",
10603
10612
  hasError && "text-destructive",
10604
10613
  labelClassName
10605
10614
  ),
10606
10615
  children: [
10607
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { children: label }),
10616
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "min-w-0", children: label }),
10608
10617
  requiredLabel ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
10609
10618
  import_lucide_react10.Asterisk,
10610
10619
  {
@@ -10622,7 +10631,7 @@ var UiCheckbox = React73.forwardRef(
10622
10631
  "p",
10623
10632
  {
10624
10633
  className: cn(
10625
- "mt-1 text-sm leading-relaxed text-muted-foreground",
10634
+ "mt-0.5 text-sm leading-5 text-muted-foreground",
10626
10635
  descriptionClassName
10627
10636
  ),
10628
10637
  children: description
@@ -10632,7 +10641,7 @@ var UiCheckbox = React73.forwardRef(
10632
10641
  "p",
10633
10642
  {
10634
10643
  className: cn(
10635
- "mt-1 text-sm font-medium text-destructive",
10644
+ "mt-0.5 text-sm font-medium leading-5 text-destructive",
10636
10645
  errorClassName
10637
10646
  ),
10638
10647
  children: errorMessage
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-4 py-2",
204
- xs: "h-7 rounded-md px-2.5 text-xs",
205
- sm: "h-8 rounded-md px-3 text-xs",
206
- lg: "h-10 rounded-md px-8",
207
- xl: "h-12 rounded-lg px-10 text-base",
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
- iconLg: "h-10 w-10"
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 shadow-sm outline-none transition-all duration-200",
5574
- "hover:border-primary/70 hover:shadow-md",
5575
- "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
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=checked]:shadow-primary/20 data-[state=unchecked]:bg-background",
5585
+ "data-[state=unchecked]:bg-background",
5578
5586
  checkboxSizes[size],
5579
5587
  checkboxVariants[variant],
5580
- invalid && "border-destructive ring-1 ring-destructive/20 focus-visible:ring-destructive/40",
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 transition-transform duration-200 data-[state=checked]:scale-100"
5596
+ "flex items-center justify-center text-current",
5597
+ "transition-transform duration-150"
5589
5598
  ),
5590
5599
  children: /* @__PURE__ */ jsx12(
5591
5600
  CheckIcon,
@@ -6504,12 +6513,12 @@ var FormCheckbox = (_a) => {
6504
6513
  const checked = Boolean(field.value);
6505
6514
  const fieldError = (_a3 = fieldState.error) == null ? void 0 : _a3.message;
6506
6515
  const hasError = Boolean(fieldError);
6507
- return /* @__PURE__ */ jsx21(FormItem, { className: cn("space-y-1.5", itemClassName), children: /* @__PURE__ */ jsxs11(
6516
+ return /* @__PURE__ */ jsx21(FormItem, { className: cn("min-w-0", itemClassName), children: /* @__PURE__ */ jsxs11(
6508
6517
  "div",
6509
6518
  {
6510
6519
  className: cn(
6511
- "flex items-start gap-3 rounded-lg border border-transparent p-1 transition-colors",
6512
- hasError && "border-destructive/20 bg-destructive/5",
6520
+ "flex min-w-0 items-start gap-2.5 transition-colors",
6521
+ hasError && "rounded-md border border-destructive/20 bg-destructive/5 px-2 py-1.5",
6513
6522
  className
6514
6523
  ),
6515
6524
  children: [
@@ -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", 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;
@@ -6540,13 +6549,13 @@ var FormCheckbox = (_a) => {
6540
6549
  {
6541
6550
  htmlFor: checkboxId,
6542
6551
  className: cn(
6543
- "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-none text-foreground",
6552
+ "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-5 text-foreground",
6544
6553
  checkboxProps.disabled && "cursor-not-allowed text-muted-foreground",
6545
6554
  hasError && "text-destructive",
6546
6555
  labelClassName
6547
6556
  ),
6548
6557
  children: [
6549
- /* @__PURE__ */ jsx21("span", { children: label }),
6558
+ /* @__PURE__ */ jsx21("span", { className: "min-w-0", children: label }),
6550
6559
  requiredLabel ? /* @__PURE__ */ jsx21(
6551
6560
  Asterisk,
6552
6561
  {
@@ -6565,7 +6574,7 @@ var FormCheckbox = (_a) => {
6565
6574
  {
6566
6575
  id: descriptionId,
6567
6576
  className: cn(
6568
- "mt-1 text-sm leading-relaxed text-muted-foreground",
6577
+ "mt-0.5 text-sm leading-5 text-muted-foreground",
6569
6578
  descriptionClassName
6570
6579
  ),
6571
6580
  children: description
@@ -6576,7 +6585,7 @@ var FormCheckbox = (_a) => {
6576
6585
  {
6577
6586
  id: messageId,
6578
6587
  className: cn(
6579
- "mt-1 text-sm font-medium text-destructive",
6588
+ "mt-0.5 text-sm font-medium leading-5 text-destructive",
6580
6589
  messageClassName
6581
6590
  ),
6582
6591
  children: fieldError
@@ -10334,12 +10343,12 @@ var UiCheckbox = React73.forwardRef(
10334
10343
  "className"
10335
10344
  ]);
10336
10345
  const hasError = Boolean(errorMessage || invalid);
10337
- return /* @__PURE__ */ jsx55("div", { className: cn("w-full", containerClassName), children: /* @__PURE__ */ jsxs28(
10346
+ return /* @__PURE__ */ jsx55("div", { className: cn("w-full min-w-0", containerClassName), children: /* @__PURE__ */ jsxs28(
10338
10347
  "div",
10339
10348
  {
10340
10349
  className: cn(
10341
- "flex items-start gap-3 rounded-lg border border-transparent p-1 transition-colors",
10342
- hasError && "border-destructive/20 bg-destructive/5",
10350
+ "flex min-w-0 items-start gap-2.5 transition-colors",
10351
+ hasError && "rounded-md border border-destructive/20 bg-destructive/5 px-2 py-1.5",
10343
10352
  contentClassName
10344
10353
  ),
10345
10354
  children: [
@@ -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", 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: [
@@ -10358,13 +10367,13 @@ var UiCheckbox = React73.forwardRef(
10358
10367
  {
10359
10368
  htmlFor: htmlFormItemId,
10360
10369
  className: cn(
10361
- "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-none text-foreground",
10370
+ "inline-flex cursor-pointer items-start gap-1 text-sm font-medium leading-5 text-foreground",
10362
10371
  checkboxProps.disabled && "cursor-not-allowed text-muted-foreground",
10363
10372
  hasError && "text-destructive",
10364
10373
  labelClassName
10365
10374
  ),
10366
10375
  children: [
10367
- /* @__PURE__ */ jsx55("span", { children: label }),
10376
+ /* @__PURE__ */ jsx55("span", { className: "min-w-0", children: label }),
10368
10377
  requiredLabel ? /* @__PURE__ */ jsx55(
10369
10378
  Asterisk6,
10370
10379
  {
@@ -10382,7 +10391,7 @@ var UiCheckbox = React73.forwardRef(
10382
10391
  "p",
10383
10392
  {
10384
10393
  className: cn(
10385
- "mt-1 text-sm leading-relaxed text-muted-foreground",
10394
+ "mt-0.5 text-sm leading-5 text-muted-foreground",
10386
10395
  descriptionClassName
10387
10396
  ),
10388
10397
  children: description
@@ -10392,7 +10401,7 @@ var UiCheckbox = React73.forwardRef(
10392
10401
  "p",
10393
10402
  {
10394
10403
  className: cn(
10395
- "mt-1 text-sm font-medium text-destructive",
10404
+ "mt-0.5 text-sm font-medium leading-5 text-destructive",
10396
10405
  errorClassName
10397
10406
  ),
10398
10407
  children: errorMessage
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
  }
@@ -909,6 +967,9 @@
909
967
  .gap-2 {
910
968
  gap: calc(var(--spacing) * 2);
911
969
  }
970
+ .gap-2\.5 {
971
+ gap: calc(var(--spacing) * 2.5);
972
+ }
912
973
  .gap-3 {
913
974
  gap: calc(var(--spacing) * 3);
914
975
  }
@@ -918,6 +979,13 @@
918
979
  .gap-6 {
919
980
  gap: calc(var(--spacing) * 6);
920
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
+ }
921
989
  .space-y-0\.5 {
922
990
  :where(& > :not(:last-child)) {
923
991
  --tw-space-y-reverse: 0;
@@ -981,6 +1049,9 @@
981
1049
  .gap-y-1 {
982
1050
  row-gap: calc(var(--spacing) * 1);
983
1051
  }
1052
+ .self-start {
1053
+ align-self: flex-start;
1054
+ }
984
1055
  .truncate {
985
1056
  overflow: hidden;
986
1057
  text-overflow: ellipsis;
@@ -1004,6 +1075,9 @@
1004
1075
  .overscroll-contain {
1005
1076
  overscroll-behavior: contain;
1006
1077
  }
1078
+ .\!rounded-lg {
1079
+ border-radius: var(--radius) !important;
1080
+ }
1007
1081
  .rounded {
1008
1082
  border-radius: 0.25rem;
1009
1083
  }
@@ -1089,6 +1163,9 @@
1089
1163
  --tw-border-style: dashed;
1090
1164
  border-style: dashed;
1091
1165
  }
1166
+ .\!border-transparent {
1167
+ border-color: transparent !important;
1168
+ }
1092
1169
  .border-amber-500\/40 {
1093
1170
  border-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 40%, transparent);
1094
1171
  @supports (color: color-mix(in lab, red, red)) {
@@ -1101,6 +1178,18 @@
1101
1178
  .border-border {
1102
1179
  border-color: var(--border);
1103
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
+ }
1104
1193
  .border-destructive {
1105
1194
  border-color: var(--destructive);
1106
1195
  }
@@ -1173,6 +1262,12 @@
1173
1262
  .border-l-transparent {
1174
1263
  border-left-color: transparent;
1175
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
+ }
1176
1271
  .bg-accent {
1177
1272
  background-color: var(--accent);
1178
1273
  }
@@ -1290,6 +1385,12 @@
1290
1385
  background-color: color-mix(in oklab, var(--muted) 70%, transparent);
1291
1386
  }
1292
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
+ }
1293
1394
  .bg-popover {
1294
1395
  background-color: var(--popover);
1295
1396
  }
@@ -1335,6 +1436,20 @@
1335
1436
  .bg-zinc-950 {
1336
1437
  background-color: var(--color-zinc-950);
1337
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
+ }
1338
1453
  .bg-gradient-to-r {
1339
1454
  --tw-gradient-position: to right in oklab;
1340
1455
  background-image: linear-gradient(var(--tw-gradient-stops));
@@ -1347,6 +1462,10 @@
1347
1462
  --tw-gradient-from: var(--color-emerald-600);
1348
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));
1349
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
+ }
1350
1469
  .from-primary {
1351
1470
  --tw-gradient-from: var(--primary);
1352
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));
@@ -1403,6 +1522,10 @@
1403
1522
  --tw-gradient-to: var(--color-teal-500);
1404
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));
1405
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
+ }
1406
1529
  .fill-current {
1407
1530
  fill: currentcolor;
1408
1531
  }
@@ -1440,6 +1563,9 @@
1440
1563
  .p-\[1px\] {
1441
1564
  padding: 1px;
1442
1565
  }
1566
+ .\!px-2 {
1567
+ padding-inline: calc(var(--spacing) * 2) !important;
1568
+ }
1443
1569
  .px-0 {
1444
1570
  padding-inline: calc(var(--spacing) * 0);
1445
1571
  }
@@ -1464,12 +1590,6 @@
1464
1590
  .px-5 {
1465
1591
  padding-inline: calc(var(--spacing) * 5);
1466
1592
  }
1467
- .px-8 {
1468
- padding-inline: calc(var(--spacing) * 8);
1469
- }
1470
- .px-10 {
1471
- padding-inline: calc(var(--spacing) * 10);
1472
- }
1473
1593
  .py-0\.5 {
1474
1594
  padding-block: calc(var(--spacing) * 0.5);
1475
1595
  }
@@ -1494,12 +1614,18 @@
1494
1614
  .py-6 {
1495
1615
  padding-block: calc(var(--spacing) * 6);
1496
1616
  }
1617
+ .py-10 {
1618
+ padding-block: calc(var(--spacing) * 10);
1619
+ }
1497
1620
  .pt-0 {
1498
1621
  padding-top: calc(var(--spacing) * 0);
1499
1622
  }
1500
1623
  .pt-1 {
1501
1624
  padding-top: calc(var(--spacing) * 1);
1502
1625
  }
1626
+ .pt-2 {
1627
+ padding-top: calc(var(--spacing) * 2);
1628
+ }
1503
1629
  .pt-4 {
1504
1630
  padding-top: calc(var(--spacing) * 4);
1505
1631
  }
@@ -1509,6 +1635,9 @@
1509
1635
  .pt-6 {
1510
1636
  padding-top: calc(var(--spacing) * 6);
1511
1637
  }
1638
+ .pr-1 {
1639
+ padding-right: calc(var(--spacing) * 1);
1640
+ }
1512
1641
  .pr-2 {
1513
1642
  padding-right: calc(var(--spacing) * 2);
1514
1643
  }
@@ -1530,6 +1659,9 @@
1530
1659
  .pr-14 {
1531
1660
  padding-right: calc(var(--spacing) * 14);
1532
1661
  }
1662
+ .pb-2 {
1663
+ padding-bottom: calc(var(--spacing) * 2);
1664
+ }
1533
1665
  .pb-4 {
1534
1666
  padding-bottom: calc(var(--spacing) * 4);
1535
1667
  }
@@ -1569,6 +1701,10 @@
1569
1701
  .align-middle {
1570
1702
  vertical-align: middle;
1571
1703
  }
1704
+ .\!text-xs {
1705
+ font-size: var(--text-xs) !important;
1706
+ line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
1707
+ }
1572
1708
  .text-base {
1573
1709
  font-size: var(--text-base);
1574
1710
  line-height: var(--tw-leading, var(--text-base--line-height));
@@ -1613,13 +1749,17 @@
1613
1749
  .text-\[11px\] {
1614
1750
  font-size: 11px;
1615
1751
  }
1752
+ .leading-5 {
1753
+ --tw-leading: calc(var(--spacing) * 5);
1754
+ line-height: calc(var(--spacing) * 5);
1755
+ }
1616
1756
  .leading-none {
1617
1757
  --tw-leading: 1;
1618
1758
  line-height: 1;
1619
1759
  }
1620
- .leading-relaxed {
1621
- --tw-leading: var(--leading-relaxed);
1622
- line-height: var(--leading-relaxed);
1760
+ .\!font-medium {
1761
+ --tw-font-weight: var(--font-weight-medium) !important;
1762
+ font-weight: var(--font-weight-medium) !important;
1623
1763
  }
1624
1764
  .font-bold {
1625
1765
  --tw-font-weight: var(--font-weight-bold);
@@ -1701,6 +1841,24 @@
1701
1841
  .text-muted-foreground {
1702
1842
  color: var(--muted-foreground);
1703
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
+ }
1704
1862
  .text-popover-foreground {
1705
1863
  color: var(--popover-foreground);
1706
1864
  }
@@ -1728,6 +1886,10 @@
1728
1886
  .uppercase {
1729
1887
  text-transform: uppercase;
1730
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
+ }
1731
1893
  .underline-offset-4 {
1732
1894
  text-underline-offset: 4px;
1733
1895
  }
@@ -1749,6 +1911,15 @@
1749
1911
  .opacity-90 {
1750
1912
  opacity: 90%;
1751
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
+ }
1752
1923
  .shadow {
1753
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));
1754
1925
  box-shadow:
@@ -1854,12 +2025,6 @@
1854
2025
  --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-fuchsia-500) 20%, transparent) var(--tw-shadow-alpha), transparent);
1855
2026
  }
1856
2027
  }
1857
- .ring-destructive\/20 {
1858
- --tw-ring-color: var(--destructive);
1859
- @supports (color: color-mix(in lab, red, red)) {
1860
- --tw-ring-color: color-mix(in oklab, var(--destructive) 20%, transparent);
1861
- }
1862
- }
1863
2028
  .ring-ring {
1864
2029
  --tw-ring-color: var(--ring);
1865
2030
  }
@@ -1947,6 +2112,10 @@
1947
2112
  transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
1948
2113
  transition-duration: var(--tw-duration, var(--default-transition-duration));
1949
2114
  }
2115
+ .duration-150 {
2116
+ --tw-duration: 150ms;
2117
+ transition-duration: 150ms;
2118
+ }
1950
2119
  .duration-200 {
1951
2120
  --tw-duration: 200ms;
1952
2121
  transition-duration: 200ms;
@@ -1985,6 +2154,9 @@
1985
2154
  -moz-user-select: none;
1986
2155
  user-select: none;
1987
2156
  }
2157
+ .duration-150 {
2158
+ animation-duration: 150ms;
2159
+ }
1988
2160
  .duration-200 {
1989
2161
  animation-duration: 200ms;
1990
2162
  }
@@ -2301,6 +2473,13 @@
2301
2473
  }
2302
2474
  }
2303
2475
  }
2476
+ .hover\:\!bg-muted {
2477
+ &:hover {
2478
+ @media (hover: hover) {
2479
+ background-color: var(--muted) !important;
2480
+ }
2481
+ }
2482
+ }
2304
2483
  .hover\:bg-accent {
2305
2484
  &:hover {
2306
2485
  @media (hover: hover) {
@@ -2308,6 +2487,16 @@
2308
2487
  }
2309
2488
  }
2310
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
+ }
2311
2500
  .hover\:bg-accent\/70 {
2312
2501
  &:hover {
2313
2502
  @media (hover: hover) {
@@ -2459,6 +2648,13 @@
2459
2648
  }
2460
2649
  }
2461
2650
  }
2651
+ .hover\:bg-primary {
2652
+ &:hover {
2653
+ @media (hover: hover) {
2654
+ background-color: var(--primary);
2655
+ }
2656
+ }
2657
+ }
2462
2658
  .hover\:bg-primary\/15 {
2463
2659
  &:hover {
2464
2660
  @media (hover: hover) {
@@ -2585,6 +2781,13 @@
2585
2781
  }
2586
2782
  }
2587
2783
  }
2784
+ .hover\:text-primary-foreground {
2785
+ &:hover {
2786
+ @media (hover: hover) {
2787
+ color: var(--primary-foreground);
2788
+ }
2789
+ }
2790
+ }
2588
2791
  .hover\:underline {
2589
2792
  &:hover {
2590
2793
  @media (hover: hover) {
@@ -2625,19 +2828,6 @@
2625
2828
  }
2626
2829
  }
2627
2830
  }
2628
- .hover\:shadow-md {
2629
- &:hover {
2630
- @media (hover: hover) {
2631
- --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));
2632
- box-shadow:
2633
- var(--tw-inset-shadow),
2634
- var(--tw-inset-ring-shadow),
2635
- var(--tw-ring-offset-shadow),
2636
- var(--tw-ring-shadow),
2637
- var(--tw-shadow);
2638
- }
2639
- }
2640
- }
2641
2831
  .hover\:shadow-xl {
2642
2832
  &:hover {
2643
2833
  @media (hover: hover) {
@@ -2855,6 +3045,17 @@
2855
3045
  }
2856
3046
  }
2857
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
+ }
2858
3059
  .focus-visible\:ring-1 {
2859
3060
  &:focus-visible {
2860
3061
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
@@ -2877,6 +3078,11 @@
2877
3078
  var(--tw-shadow);
2878
3079
  }
2879
3080
  }
3081
+ .focus-visible\:\!ring-ring {
3082
+ &:focus-visible {
3083
+ --tw-ring-color: var(--ring) !important;
3084
+ }
3085
+ }
2880
3086
  .focus-visible\:ring-amber-500\/40 {
2881
3087
  &:focus-visible {
2882
3088
  --tw-ring-color: color-mix(in srgb, oklch(76.9% 0.188 70.08) 40%, transparent);
@@ -2885,11 +3091,11 @@
2885
3091
  }
2886
3092
  }
2887
3093
  }
2888
- .focus-visible\:ring-destructive\/40 {
3094
+ .focus-visible\:ring-destructive\/30 {
2889
3095
  &:focus-visible {
2890
3096
  --tw-ring-color: var(--destructive);
2891
3097
  @supports (color: color-mix(in lab, red, red)) {
2892
- --tw-ring-color: color-mix(in oklab, var(--destructive) 40%, transparent);
3098
+ --tw-ring-color: color-mix(in oklab, var(--destructive) 30%, transparent);
2893
3099
  }
2894
3100
  }
2895
3101
  }
@@ -2939,6 +3145,30 @@
2939
3145
  --tw-ring-offset-color: var(--background);
2940
3146
  }
2941
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
+ }
2942
3172
  .focus-visible\:outline-none {
2943
3173
  &:focus-visible {
2944
3174
  --tw-outline-style: none;
@@ -2987,6 +3217,11 @@
2987
3217
  cursor: not-allowed;
2988
3218
  }
2989
3219
  }
3220
+ .disabled\:opacity-30 {
3221
+ &:disabled {
3222
+ opacity: 30%;
3223
+ }
3224
+ }
2990
3225
  .disabled\:opacity-50 {
2991
3226
  &:disabled {
2992
3227
  opacity: 50%;
@@ -3131,6 +3366,11 @@
3131
3366
  opacity: 50%;
3132
3367
  }
3133
3368
  }
3369
+ .data-\[empty\=true\]\:text-muted-foreground {
3370
+ &[data-empty=true] {
3371
+ color: var(--muted-foreground);
3372
+ }
3373
+ }
3134
3374
  .data-\[motion\=from-end\]\:slide-in-from-right-52 {
3135
3375
  &[data-motion=from-end] {
3136
3376
  --tw-enter-translate-x: 13rem;
@@ -3240,6 +3480,33 @@
3240
3480
  color: var(--muted-foreground);
3241
3481
  }
3242
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
+ }
3243
3510
  .data-\[side\=bottom\]\:slide-in-from-top-2 {
3244
3511
  &[data-side=bottom] {
3245
3512
  --tw-enter-translate-y: -0.5rem;
@@ -3287,14 +3554,6 @@
3287
3554
  translate: var(--tw-translate-x) var(--tw-translate-y);
3288
3555
  }
3289
3556
  }
3290
- .data-\[state\=checked\]\:scale-100 {
3291
- &[data-state=checked] {
3292
- --tw-scale-x: 100%;
3293
- --tw-scale-y: 100%;
3294
- --tw-scale-z: 100%;
3295
- scale: var(--tw-scale-x) var(--tw-scale-y);
3296
- }
3297
- }
3298
3557
  .data-\[state\=checked\]\:border-destructive {
3299
3558
  &[data-state=checked] {
3300
3559
  border-color: var(--destructive);
@@ -3353,14 +3612,6 @@
3353
3612
  color: var(--color-white);
3354
3613
  }
3355
3614
  }
3356
- .data-\[state\=checked\]\:shadow-primary\/20 {
3357
- &[data-state=checked] {
3358
- --tw-shadow-color: var(--primary);
3359
- @supports (color: color-mix(in lab, red, red)) {
3360
- --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--primary) 20%, transparent) var(--tw-shadow-alpha), transparent);
3361
- }
3362
- }
3363
- }
3364
3615
  .data-\[state\=closed\]\:duration-300 {
3365
3616
  &[data-state=closed] {
3366
3617
  --tw-duration: 300ms;
@@ -4311,6 +4562,11 @@
4311
4562
  background-color: var(--accent);
4312
4563
  }
4313
4564
  }
4565
+ .\[\&\>button\]\:bg-muted {
4566
+ & > button {
4567
+ background-color: var(--muted);
4568
+ }
4569
+ }
4314
4570
  .\[\&\>button\]\:bg-primary {
4315
4571
  & > button {
4316
4572
  background-color: var(--primary);
@@ -4321,6 +4577,11 @@
4321
4577
  color: var(--accent-foreground);
4322
4578
  }
4323
4579
  }
4580
+ .\[\&\>button\]\:text-foreground {
4581
+ & > button {
4582
+ color: var(--foreground);
4583
+ }
4584
+ }
4324
4585
  .\[\&\>button\]\:text-muted-foreground {
4325
4586
  & > button {
4326
4587
  color: var(--muted-foreground);
@@ -4331,6 +4592,24 @@
4331
4592
  color: var(--primary-foreground);
4332
4593
  }
4333
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
+ }
4334
4613
  .\[\&\>button\:focus\]\:bg-primary {
4335
4614
  & > button:focus {
4336
4615
  background-color: var(--primary);
@@ -4560,6 +4839,8 @@
4560
4839
  @property --tw-rotate-z { syntax: "*"; inherits: false; }
4561
4840
  @property --tw-skew-x { syntax: "*"; inherits: false; }
4562
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; }
4563
4844
  @property --tw-space-y-reverse { syntax: "*"; inherits: false; initial-value: 0; }
4564
4845
  @property --tw-space-x-reverse { syntax: "*"; inherits: false; initial-value: 0; }
4565
4846
  @property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
@@ -4575,6 +4856,11 @@
4575
4856
  @property --tw-leading { syntax: "*"; inherits: false; }
4576
4857
  @property --tw-font-weight { syntax: "*"; inherits: false; }
4577
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; }
4578
4864
  @property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
4579
4865
  @property --tw-shadow-color { syntax: "*"; inherits: false; }
4580
4866
  @property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
@@ -4644,6 +4930,8 @@
4644
4930
  --tw-rotate-z: initial;
4645
4931
  --tw-skew-x: initial;
4646
4932
  --tw-skew-y: initial;
4933
+ --tw-scrollbar-thumb: #0000;
4934
+ --tw-scrollbar-track: #0000;
4647
4935
  --tw-space-y-reverse: 0;
4648
4936
  --tw-space-x-reverse: 0;
4649
4937
  --tw-border-style: solid;
@@ -4659,6 +4947,11 @@
4659
4947
  --tw-leading: initial;
4660
4948
  --tw-font-weight: initial;
4661
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;
4662
4955
  --tw-shadow: 0 0 #0000;
4663
4956
  --tw-shadow-color: initial;
4664
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.15",
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.",