@inf-monkeys-tech/monkeys-design 1.0.45 → 1.0.47

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.
@@ -337,7 +337,17 @@ interface SelectItemProps extends React$1.ComponentPropsWithoutRef<typeof Select
337
337
  }
338
338
  declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
339
339
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
340
- type MediaPreviewAspectRatio = 'auto' | 'square' | 'video';
340
+ declare const MEDIA_PREVIEW_ASPECT_RATIOS: readonly [
341
+ "1:1",
342
+ "4:3",
343
+ "3:4",
344
+ "16:9",
345
+ "9:16"
346
+ ];
347
+ type MediaPreviewRatio = (typeof MEDIA_PREVIEW_ASPECT_RATIOS)[number];
348
+ type MediaPreviewAspectRatio = 'auto' | 'square' | 'video' | MediaPreviewRatio;
349
+ type MediaPreviewFit = 'contain' | 'cover';
350
+ declare const resolveMediaPreviewAspectRatioValue: (aspectRatio?: MediaPreviewRatio) => number;
341
351
  declare const mediaPreviewFrameClassName: ({ aspectRatio, maxSquareHeight, className, }?: {
342
352
  aspectRatio?: MediaPreviewAspectRatio;
343
353
  maxSquareHeight?: boolean;
@@ -348,6 +358,10 @@ interface MediaPreviewFrameProps extends React$1.HTMLAttributes<HTMLDivElement>
348
358
  maxSquareHeight?: boolean;
349
359
  }
350
360
  declare const MediaPreviewFrame: React$1.ForwardRefExoticComponent<MediaPreviewFrameProps & React$1.RefAttributes<HTMLDivElement>>;
361
+ interface MediaPreviewImageProps extends React$1.ImgHTMLAttributes<HTMLImageElement> {
362
+ fit?: MediaPreviewFit;
363
+ }
364
+ declare const MediaPreviewImage: React$1.ForwardRefExoticComponent<MediaPreviewImageProps & React$1.RefAttributes<HTMLImageElement>>;
351
365
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
352
366
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
353
367
  declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
@@ -810,4 +824,4 @@ declare const Tree: React__default.ForwardRefExoticComponent<React__default.HTML
810
824
  labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode;
811
825
  leafRenderer?: (item: any) => React__default.ReactNode;
812
826
  } & React__default.RefAttributes<HTMLDivElement>>;
813
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDangerAction, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeShape, type BadgeVariant, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, type CardAppearance, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ControlAppearance, Dialog, DialogClose, DialogContent, DialogContentNoAnimation, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FloatingPopover, FloatingPopoverContent, type FloatingPopoverContentProps, type FloatingPopoverProps, FloatingPopoverTrigger, type FloatingPopoverTriggerProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Indicator, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, type MediaPreviewAspectRatio, MediaPreviewFrame, type MediaPreviewFrameProps, type PillFieldType, PillInput, type PillInputMessages, type PillInputProps, type PillValue, PolymorphicSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoundedBadge, ScrollArea, type ScrollAreaProps, ScrollBar, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonImage, type SkeletonImageProps, SkeletonList, type SkeletonListProps, type SkeletonProps, SkeletonTable, type SkeletonTableProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, StatusState, type StatusStateProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, type TabsVariant, Textarea, type TextareaProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, type TreeDataItem, type TreeProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, convertPillValue, formatSliderNumber, isValidPillValue, mediaPreviewFrameClassName, normalizeSliderNumber, toggleClassName, toggleVariants, useAutosizeTextArea, useCarousel };
827
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDangerAction, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeShape, type BadgeVariant, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, type CardAppearance, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ControlAppearance, Dialog, DialogClose, DialogContent, DialogContentNoAnimation, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FloatingPopover, FloatingPopoverContent, type FloatingPopoverContentProps, type FloatingPopoverProps, FloatingPopoverTrigger, type FloatingPopoverTriggerProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Indicator, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MEDIA_PREVIEW_ASPECT_RATIOS, type MediaPreviewAspectRatio, type MediaPreviewFit, MediaPreviewFrame, type MediaPreviewFrameProps, MediaPreviewImage, type MediaPreviewImageProps, type MediaPreviewRatio, type PillFieldType, PillInput, type PillInputMessages, type PillInputProps, type PillValue, PolymorphicSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoundedBadge, ScrollArea, type ScrollAreaProps, ScrollBar, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonImage, type SkeletonImageProps, SkeletonList, type SkeletonListProps, type SkeletonProps, SkeletonTable, type SkeletonTableProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, StatusState, type StatusStateProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, type TabsVariant, Textarea, type TextareaProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, type TreeDataItem, type TreeProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, convertPillValue, formatSliderNumber, isValidPillValue, mediaPreviewFrameClassName, normalizeSliderNumber, resolveMediaPreviewAspectRatioValue, toggleClassName, toggleVariants, useAutosizeTextArea, useCarousel };
@@ -337,7 +337,17 @@ interface SelectItemProps extends React$1.ComponentPropsWithoutRef<typeof Select
337
337
  }
338
338
  declare const SelectItem: React$1.ForwardRefExoticComponent<SelectItemProps & React$1.RefAttributes<HTMLDivElement>>;
339
339
  declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
340
- type MediaPreviewAspectRatio = 'auto' | 'square' | 'video';
340
+ declare const MEDIA_PREVIEW_ASPECT_RATIOS: readonly [
341
+ "1:1",
342
+ "4:3",
343
+ "3:4",
344
+ "16:9",
345
+ "9:16"
346
+ ];
347
+ type MediaPreviewRatio = (typeof MEDIA_PREVIEW_ASPECT_RATIOS)[number];
348
+ type MediaPreviewAspectRatio = 'auto' | 'square' | 'video' | MediaPreviewRatio;
349
+ type MediaPreviewFit = 'contain' | 'cover';
350
+ declare const resolveMediaPreviewAspectRatioValue: (aspectRatio?: MediaPreviewRatio) => number;
341
351
  declare const mediaPreviewFrameClassName: ({ aspectRatio, maxSquareHeight, className, }?: {
342
352
  aspectRatio?: MediaPreviewAspectRatio;
343
353
  maxSquareHeight?: boolean;
@@ -348,6 +358,10 @@ interface MediaPreviewFrameProps extends React$1.HTMLAttributes<HTMLDivElement>
348
358
  maxSquareHeight?: boolean;
349
359
  }
350
360
  declare const MediaPreviewFrame: React$1.ForwardRefExoticComponent<MediaPreviewFrameProps & React$1.RefAttributes<HTMLDivElement>>;
361
+ interface MediaPreviewImageProps extends React$1.ImgHTMLAttributes<HTMLImageElement> {
362
+ fit?: MediaPreviewFit;
363
+ }
364
+ declare const MediaPreviewImage: React$1.ForwardRefExoticComponent<MediaPreviewImageProps & React$1.RefAttributes<HTMLImageElement>>;
351
365
  declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
352
366
  declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
353
367
  declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
@@ -810,4 +824,4 @@ declare const Tree: React__default.ForwardRefExoticComponent<React__default.HTML
810
824
  labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode;
811
825
  leafRenderer?: (item: any) => React__default.ReactNode;
812
826
  } & React__default.RefAttributes<HTMLDivElement>>;
813
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDangerAction, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeShape, type BadgeVariant, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, type CardAppearance, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ControlAppearance, Dialog, DialogClose, DialogContent, DialogContentNoAnimation, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FloatingPopover, FloatingPopoverContent, type FloatingPopoverContentProps, type FloatingPopoverProps, FloatingPopoverTrigger, type FloatingPopoverTriggerProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Indicator, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, type MediaPreviewAspectRatio, MediaPreviewFrame, type MediaPreviewFrameProps, type PillFieldType, PillInput, type PillInputMessages, type PillInputProps, type PillValue, PolymorphicSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoundedBadge, ScrollArea, type ScrollAreaProps, ScrollBar, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonImage, type SkeletonImageProps, SkeletonList, type SkeletonListProps, type SkeletonProps, SkeletonTable, type SkeletonTableProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, StatusState, type StatusStateProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, type TabsVariant, Textarea, type TextareaProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, type TreeDataItem, type TreeProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, convertPillValue, formatSliderNumber, isValidPillValue, mediaPreviewFrameClassName, normalizeSliderNumber, toggleClassName, toggleVariants, useAutosizeTextArea, useCarousel };
827
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDangerAction, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AutosizeTextAreaRef, AutosizeTextarea, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeShape, type BadgeVariant, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, type CalendarProps, Card, CardAction, type CardAppearance, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, type CarouselOptions, type CarouselPlugin, CarouselPrevious, type CarouselProps, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type ControlAppearance, Dialog, DialogClose, DialogContent, DialogContentNoAnimation, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FloatingPopover, FloatingPopoverContent, type FloatingPopoverContentProps, type FloatingPopoverProps, FloatingPopoverTrigger, type FloatingPopoverTriggerProps, HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger, Indicator, InfiniteScroll, type InfiniteScrollProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MEDIA_PREVIEW_ASPECT_RATIOS, type MediaPreviewAspectRatio, type MediaPreviewFit, MediaPreviewFrame, type MediaPreviewFrameProps, MediaPreviewImage, type MediaPreviewImageProps, type MediaPreviewRatio, type PillFieldType, PillInput, type PillInputMessages, type PillInputProps, type PillValue, PolymorphicSlot, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ResizableHandle, ResizablePanel, ResizablePanelGroup, RoundedBadge, ScrollArea, type ScrollAreaProps, ScrollBar, Select, SelectContent, type SelectContentProps, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, Separator, Sheet, SheetClose, SheetContent, type SheetContentProps, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenu, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonImage, type SkeletonImageProps, SkeletonList, type SkeletonListProps, type SkeletonProps, SkeletonTable, type SkeletonTableProps, SkeletonText, type SkeletonTextProps, Slider, type SliderProps, StatusState, type StatusStateProps, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, type TableProps, TableRow, Tabs, TabsContent, TabsList, type TabsProps, TabsTrigger, type TabsVariant, Textarea, type TextareaProps, Toggle, ToggleGroup, ToggleGroupItem, type ToggleProps, type ToggleSize, type ToggleVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, type TreeDataItem, type TreeProps, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, convertPillValue, formatSliderNumber, isValidPillValue, mediaPreviewFrameClassName, normalizeSliderNumber, resolveMediaPreviewAspectRatioValue, toggleClassName, toggleVariants, useAutosizeTextArea, useCarousel };
@@ -1270,21 +1270,40 @@ var SelectSeparator = React14__namespace.forwardRef(
1270
1270
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Separator, { ref, className: cn("-mx-1 my-1 h-px bg-muted", className), ...props })
1271
1271
  );
1272
1272
  SelectSeparator.displayName = "SelectSeparator";
1273
+ var MEDIA_PREVIEW_ASPECT_RATIOS = ["1:1", "4:3", "3:4", "16:9", "9:16"];
1274
+ var resolveMediaPreviewAspectRatioValue = (aspectRatio = "1:1") => {
1275
+ const [width, height] = aspectRatio.split(":").map(Number);
1276
+ return width / height;
1277
+ };
1273
1278
  var mediaPreviewFrameClassName = ({
1274
1279
  aspectRatio = "square",
1275
1280
  maxSquareHeight = true,
1276
1281
  className
1277
1282
  } = {}) => cn(
1278
1283
  "w-full overflow-hidden bg-muted",
1279
- aspectRatio === "square" && "aspect-square",
1280
- aspectRatio === "square" && maxSquareHeight && "max-h-[300px]",
1281
- aspectRatio === "video" && "aspect-video",
1284
+ (aspectRatio === "square" || aspectRatio === "1:1") && "aspect-square",
1285
+ (aspectRatio === "square" || aspectRatio === "1:1") && maxSquareHeight && "max-h-[300px]",
1286
+ aspectRatio === "4:3" && "aspect-[4/3]",
1287
+ aspectRatio === "3:4" && "aspect-[3/4]",
1288
+ (aspectRatio === "video" || aspectRatio === "16:9") && "aspect-video",
1289
+ aspectRatio === "9:16" && "aspect-[9/16]",
1282
1290
  className
1283
1291
  );
1284
1292
  var MediaPreviewFrame = React14__namespace.forwardRef(
1285
1293
  ({ aspectRatio = "square", maxSquareHeight = true, className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: mediaPreviewFrameClassName({ aspectRatio, maxSquareHeight, className }), ...props })
1286
1294
  );
1287
1295
  MediaPreviewFrame.displayName = "MediaPreviewFrame";
1296
+ var MediaPreviewImage = React14__namespace.forwardRef(
1297
+ ({ fit = "contain", className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1298
+ "img",
1299
+ {
1300
+ ref,
1301
+ className: cn("block size-full", fit === "contain" ? "object-contain" : "object-cover", className),
1302
+ ...props
1303
+ }
1304
+ )
1305
+ );
1306
+ MediaPreviewImage.displayName = "MediaPreviewImage";
1288
1307
  var Dialog = DialogPrimitive__namespace.Root;
1289
1308
  var DialogTrigger = DialogPrimitive__namespace.Trigger;
1290
1309
  var DialogPortal = DialogPrimitive__namespace.Portal;
@@ -2359,7 +2378,9 @@ exports.InputOTPGroup = InputOTPGroup;
2359
2378
  exports.InputOTPSeparator = InputOTPSeparator;
2360
2379
  exports.InputOTPSlot = InputOTPSlot;
2361
2380
  exports.Label = Label3;
2381
+ exports.MEDIA_PREVIEW_ASPECT_RATIOS = MEDIA_PREVIEW_ASPECT_RATIOS;
2362
2382
  exports.MediaPreviewFrame = MediaPreviewFrame;
2383
+ exports.MediaPreviewImage = MediaPreviewImage;
2363
2384
  exports.PillInput = PillInput;
2364
2385
  exports.PolymorphicSlot = PolymorphicSlot;
2365
2386
  exports.Popover = Popover;
@@ -2446,6 +2467,7 @@ exports.formatSliderNumber = formatSliderNumber;
2446
2467
  exports.isValidPillValue = isValidPillValue;
2447
2468
  exports.mediaPreviewFrameClassName = mediaPreviewFrameClassName;
2448
2469
  exports.normalizeSliderNumber = normalizeSliderNumber;
2470
+ exports.resolveMediaPreviewAspectRatioValue = resolveMediaPreviewAspectRatioValue;
2449
2471
  exports.toggleClassName = toggleClassName;
2450
2472
  exports.toggleVariants = toggleVariants;
2451
2473
  exports.useAutosizeTextArea = useAutosizeTextArea;