@inf-monkeys-tech/monkeys-design 2.0.15 → 2.0.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/components/primitives/index.d.mts +14 -1
- package/dist/components/primitives/index.d.ts +14 -1
- package/dist/components/primitives/index.js +83 -30
- package/dist/components/primitives/index.js.map +1 -1
- package/dist/components/primitives/index.mjs +82 -31
- package/dist/components/primitives/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -526,6 +526,19 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
526
526
|
animation?: SkeletonAnimation;
|
|
527
527
|
}
|
|
528
528
|
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
529
|
+
interface ImageCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
530
|
+
status: "error" | "loading" | "ready";
|
|
531
|
+
aspectRatio?: string;
|
|
532
|
+
loadingLabel?: string;
|
|
533
|
+
errorContent?: React__default.ReactNode;
|
|
534
|
+
}
|
|
535
|
+
/** Presentation only: fetching, retrying and URL authorization belong to the consumer. */
|
|
536
|
+
declare function ImageCard({ status, aspectRatio, loadingLabel, errorContent, children, style, ...props }: ImageCardProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
interface ImageGalleryProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
538
|
+
minCardWidth?: number;
|
|
539
|
+
gap?: number;
|
|
540
|
+
}
|
|
541
|
+
declare function ImageGallery({ minCardWidth, gap, style, ...props }: ImageGalleryProps): react_jsx_runtime.JSX.Element;
|
|
529
542
|
interface SkeletonAvatarProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
530
543
|
animation?: SkeletonAnimation;
|
|
531
544
|
/**
|
|
@@ -859,4 +872,4 @@ declare const Tree: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
859
872
|
labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode;
|
|
860
873
|
leafRenderer?: (item: any) => React__default.ReactNode;
|
|
861
874
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
862
|
-
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, BentoPanel, type BentoPanelProps, 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, PopoverClose, PopoverContent, type PopoverContentProps, 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, SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonGroupAnimation, 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 };
|
|
875
|
+
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, BentoPanel, type BentoPanelProps, 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, ImageCard, type ImageCardProps, ImageGallery, type ImageGalleryProps, 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, PopoverClose, PopoverContent, type PopoverContentProps, 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, SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonGroupAnimation, 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 };
|
|
@@ -526,6 +526,19 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
526
526
|
animation?: SkeletonAnimation;
|
|
527
527
|
}
|
|
528
528
|
declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
529
|
+
interface ImageCardProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
530
|
+
status: "error" | "loading" | "ready";
|
|
531
|
+
aspectRatio?: string;
|
|
532
|
+
loadingLabel?: string;
|
|
533
|
+
errorContent?: React__default.ReactNode;
|
|
534
|
+
}
|
|
535
|
+
/** Presentation only: fetching, retrying and URL authorization belong to the consumer. */
|
|
536
|
+
declare function ImageCard({ status, aspectRatio, loadingLabel, errorContent, children, style, ...props }: ImageCardProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
interface ImageGalleryProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
538
|
+
minCardWidth?: number;
|
|
539
|
+
gap?: number;
|
|
540
|
+
}
|
|
541
|
+
declare function ImageGallery({ minCardWidth, gap, style, ...props }: ImageGalleryProps): react_jsx_runtime.JSX.Element;
|
|
529
542
|
interface SkeletonAvatarProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
530
543
|
animation?: SkeletonAnimation;
|
|
531
544
|
/**
|
|
@@ -859,4 +872,4 @@ declare const Tree: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
859
872
|
labelRenderer?: (item: any, onExpand: () => void) => React__default.ReactNode;
|
|
860
873
|
leafRenderer?: (item: any) => React__default.ReactNode;
|
|
861
874
|
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
862
|
-
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, BentoPanel, type BentoPanelProps, 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, PopoverClose, PopoverContent, type PopoverContentProps, 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, SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonGroupAnimation, 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 };
|
|
875
|
+
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, BentoPanel, type BentoPanelProps, 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, ImageCard, type ImageCardProps, ImageGallery, type ImageGalleryProps, 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, PopoverClose, PopoverContent, type PopoverContentProps, 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, SkeletonAnimation, SkeletonAvatar, type SkeletonAvatarProps, SkeletonButton, type SkeletonButtonProps, SkeletonCard, type SkeletonCardProps, SkeletonForm, SkeletonFormField, type SkeletonFormFieldProps, type SkeletonFormProps, SkeletonGroupAnimation, 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 };
|
|
@@ -4198,6 +4198,87 @@ var SkeletonGroup = React15.forwardRef(function SkeletonGroup2({ animation, anim
|
|
|
4198
4198
|
}
|
|
4199
4199
|
);
|
|
4200
4200
|
});
|
|
4201
|
+
var roundedMap = {
|
|
4202
|
+
none: "rounded-none",
|
|
4203
|
+
sm: "rounded-sm",
|
|
4204
|
+
md: "rounded-md",
|
|
4205
|
+
lg: "rounded-lg",
|
|
4206
|
+
full: "rounded-full"
|
|
4207
|
+
};
|
|
4208
|
+
function SkeletonImage({
|
|
4209
|
+
className,
|
|
4210
|
+
width,
|
|
4211
|
+
height,
|
|
4212
|
+
aspectRatio = "16/9",
|
|
4213
|
+
rounded = "md",
|
|
4214
|
+
style,
|
|
4215
|
+
...props
|
|
4216
|
+
}) {
|
|
4217
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4218
|
+
Skeleton,
|
|
4219
|
+
{
|
|
4220
|
+
className: cn(roundedMap[rounded], className),
|
|
4221
|
+
style: {
|
|
4222
|
+
width,
|
|
4223
|
+
height,
|
|
4224
|
+
aspectRatio: !height ? aspectRatio : void 0,
|
|
4225
|
+
...style
|
|
4226
|
+
},
|
|
4227
|
+
...props
|
|
4228
|
+
}
|
|
4229
|
+
);
|
|
4230
|
+
}
|
|
4231
|
+
function ImageCard({
|
|
4232
|
+
status,
|
|
4233
|
+
aspectRatio = "1",
|
|
4234
|
+
loadingLabel = "Loading image",
|
|
4235
|
+
errorContent = "Image unavailable",
|
|
4236
|
+
children,
|
|
4237
|
+
style,
|
|
4238
|
+
...props
|
|
4239
|
+
}) {
|
|
4240
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4241
|
+
"div",
|
|
4242
|
+
{
|
|
4243
|
+
...props,
|
|
4244
|
+
"aria-busy": status === "loading",
|
|
4245
|
+
style: {
|
|
4246
|
+
position: "relative",
|
|
4247
|
+
overflow: "hidden",
|
|
4248
|
+
width: "100%",
|
|
4249
|
+
aspectRatio,
|
|
4250
|
+
...style
|
|
4251
|
+
},
|
|
4252
|
+
children: status === "loading" ? /* @__PURE__ */ jsxRuntime.jsx(SkeletonImage, { width: "100%", height: "100%", "aria-label": loadingLabel }) : status === "error" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4253
|
+
"div",
|
|
4254
|
+
{
|
|
4255
|
+
role: "status",
|
|
4256
|
+
style: { display: "grid", placeItems: "center", height: "100%" },
|
|
4257
|
+
children: errorContent
|
|
4258
|
+
}
|
|
4259
|
+
) : children
|
|
4260
|
+
}
|
|
4261
|
+
);
|
|
4262
|
+
}
|
|
4263
|
+
function ImageGallery({
|
|
4264
|
+
minCardWidth = 180,
|
|
4265
|
+
gap = 12,
|
|
4266
|
+
style,
|
|
4267
|
+
...props
|
|
4268
|
+
}) {
|
|
4269
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4270
|
+
"div",
|
|
4271
|
+
{
|
|
4272
|
+
...props,
|
|
4273
|
+
style: {
|
|
4274
|
+
display: "grid",
|
|
4275
|
+
gridTemplateColumns: `repeat(auto-fit,minmax(min(100%,${minCardWidth}px),1fr))`,
|
|
4276
|
+
gap,
|
|
4277
|
+
...style
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
);
|
|
4281
|
+
}
|
|
4201
4282
|
var sizeMap = {
|
|
4202
4283
|
xs: "size-6",
|
|
4203
4284
|
sm: "size-8",
|
|
@@ -4348,36 +4429,6 @@ function SkeletonForm({
|
|
|
4348
4429
|
showSubmitButton && /* @__PURE__ */ jsxRuntime.jsx(SkeletonItem, { index: fields, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("pt-2", layout === "horizontal" && `pl-[${labelWidth + 16}px]`), children: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "h-9 w-24 rounded-md" }) }) })
|
|
4349
4430
|
] }) });
|
|
4350
4431
|
}
|
|
4351
|
-
var roundedMap = {
|
|
4352
|
-
none: "rounded-none",
|
|
4353
|
-
sm: "rounded-sm",
|
|
4354
|
-
md: "rounded-md",
|
|
4355
|
-
lg: "rounded-lg",
|
|
4356
|
-
full: "rounded-full"
|
|
4357
|
-
};
|
|
4358
|
-
function SkeletonImage({
|
|
4359
|
-
className,
|
|
4360
|
-
width,
|
|
4361
|
-
height,
|
|
4362
|
-
aspectRatio = "16/9",
|
|
4363
|
-
rounded = "md",
|
|
4364
|
-
style,
|
|
4365
|
-
...props
|
|
4366
|
-
}) {
|
|
4367
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4368
|
-
Skeleton,
|
|
4369
|
-
{
|
|
4370
|
-
className: cn(roundedMap[rounded], className),
|
|
4371
|
-
style: {
|
|
4372
|
-
width,
|
|
4373
|
-
height,
|
|
4374
|
-
aspectRatio: !height ? aspectRatio : void 0,
|
|
4375
|
-
...style
|
|
4376
|
-
},
|
|
4377
|
-
...props
|
|
4378
|
-
}
|
|
4379
|
-
);
|
|
4380
|
-
}
|
|
4381
4432
|
var spacingMap = {
|
|
4382
4433
|
sm: "py-2",
|
|
4383
4434
|
md: "py-3",
|
|
@@ -4754,6 +4805,8 @@ exports.HoverCard = HoverCard;
|
|
|
4754
4805
|
exports.HoverCardContent = HoverCardContent;
|
|
4755
4806
|
exports.HoverCardPortal = HoverCardPortal;
|
|
4756
4807
|
exports.HoverCardTrigger = HoverCardTrigger;
|
|
4808
|
+
exports.ImageCard = ImageCard;
|
|
4809
|
+
exports.ImageGallery = ImageGallery;
|
|
4757
4810
|
exports.Indicator = Indicator2;
|
|
4758
4811
|
exports.InfiniteScroll = InfiniteScroll;
|
|
4759
4812
|
exports.Input = Input;
|