@olwiba/cn 0.1.56 → 0.1.57
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.d.ts +41 -1
- package/dist/index.js +152 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1207,4 +1207,44 @@ interface EnchantedProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1207
1207
|
}
|
|
1208
1208
|
declare function Enchanted({ children, className, hoverOnly, glintClassName, ...props }: EnchantedProps): React$1.JSX.Element;
|
|
1209
1209
|
|
|
1210
|
-
|
|
1210
|
+
/** Payload handed to the `submit` prop. Matches FeedbackSubmission in feedback/submission.ts. */
|
|
1211
|
+
interface FeedbackSidebarPayload {
|
|
1212
|
+
/** 1-5 answer to "Do you like this?" */
|
|
1213
|
+
rating: number;
|
|
1214
|
+
message: string;
|
|
1215
|
+
/** Page the dialog was opened from, for context in the notification. */
|
|
1216
|
+
page?: string;
|
|
1217
|
+
/** Honeypot - humans never fill this. */
|
|
1218
|
+
website?: string;
|
|
1219
|
+
}
|
|
1220
|
+
interface FeedbackSidebarItemProps {
|
|
1221
|
+
/**
|
|
1222
|
+
* Server fns are compiled per-app by TanStack Start, so the host app wires
|
|
1223
|
+
* its own and passes them in — the component stays app-agnostic.
|
|
1224
|
+
*/
|
|
1225
|
+
getConfig: () => Promise<{
|
|
1226
|
+
enabled: boolean;
|
|
1227
|
+
}>;
|
|
1228
|
+
submit: (payload: FeedbackSidebarPayload) => Promise<{
|
|
1229
|
+
ok: boolean;
|
|
1230
|
+
error?: string;
|
|
1231
|
+
}>;
|
|
1232
|
+
/**
|
|
1233
|
+
* Copy, defaulted to the docs wording this started life as.
|
|
1234
|
+
*
|
|
1235
|
+
* Optional rather than required because the first consumer was a docs site
|
|
1236
|
+
* and every string here read correctly there. The second consumer was a
|
|
1237
|
+
* product, where "Help us make these docs better" is simply wrong — so the
|
|
1238
|
+
* strings become props rather than a second copy of the component.
|
|
1239
|
+
*/
|
|
1240
|
+
emoji?: string;
|
|
1241
|
+
label?: string;
|
|
1242
|
+
title?: string;
|
|
1243
|
+
description?: string;
|
|
1244
|
+
/** Label above the 1-5 row. */
|
|
1245
|
+
ratingLabel?: string;
|
|
1246
|
+
placeholder?: string;
|
|
1247
|
+
}
|
|
1248
|
+
declare function FeedbackSidebarItem({ getConfig, submit, emoji, label, title, description, ratingLabel, placeholder, }: FeedbackSidebarItemProps): React$1.JSX.Element | null;
|
|
1249
|
+
|
|
1250
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AsciiText, type AsciiTextProps, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type ConfettiOptions, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, type DialogPresentation, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Enchanted, type EnchantedProps, FeedbackSidebarItem, type FeedbackSidebarItemProps, type FeedbackSidebarPayload, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, type KbdProps, Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, type NotifyAction, type NotifyOptions, type NotifyVariant, NumberInput, type NumberInputProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, type PasswordInputProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, type ProgressProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SliderProps, Spinner, StatusIndicator, type StatusIndicatorProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeScript, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UIVariant, UIVariantProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, dismissNotification, fireConfetti, inputBase, inputPlayfulBacking, navigationMenuTriggerStyle, notify, statusIndicatorDotVariants, toggleVariants, useCopyToClipboard, useFormField, useIsMobile, useResolvedTheme, useSidebar, useUIVariant };
|
package/dist/index.js
CHANGED
|
@@ -7706,7 +7706,158 @@ function Enchanted({ children, className, hoverOnly = false, glintClassName, ...
|
|
|
7706
7706
|
))
|
|
7707
7707
|
] });
|
|
7708
7708
|
}
|
|
7709
|
+
var CONFETTI_PINKS = ["#db2777", "#ec4899", "#f472b6", "#f9a8d4", "#fbcfe8"];
|
|
7710
|
+
function FeedbackSidebarItem({
|
|
7711
|
+
getConfig,
|
|
7712
|
+
submit,
|
|
7713
|
+
emoji = "\u{1F970}",
|
|
7714
|
+
label = "Share feedback",
|
|
7715
|
+
title = "Share feedback",
|
|
7716
|
+
description = "Help us make these docs better.",
|
|
7717
|
+
ratingLabel = "Do you like this?",
|
|
7718
|
+
placeholder = "What can we improve?"
|
|
7719
|
+
}) {
|
|
7720
|
+
const [enabled, setEnabled] = React39.useState(false);
|
|
7721
|
+
const [open, setOpen] = React39.useState(false);
|
|
7722
|
+
const [rating, setRating] = React39.useState(null);
|
|
7723
|
+
const [message, setMessage] = React39.useState("");
|
|
7724
|
+
const [website, setWebsite] = React39.useState("");
|
|
7725
|
+
const [status, setStatus] = React39.useState("idle");
|
|
7726
|
+
const [error, setError] = React39.useState(null);
|
|
7727
|
+
React39.useEffect(() => {
|
|
7728
|
+
let cancelled = false;
|
|
7729
|
+
getConfig().then((config) => {
|
|
7730
|
+
if (!cancelled && config.enabled) setEnabled(true);
|
|
7731
|
+
}).catch(() => {
|
|
7732
|
+
});
|
|
7733
|
+
return () => {
|
|
7734
|
+
cancelled = true;
|
|
7735
|
+
};
|
|
7736
|
+
}, [getConfig]);
|
|
7737
|
+
if (!enabled) return null;
|
|
7738
|
+
const handleOpenChange = (next) => {
|
|
7739
|
+
setOpen(next);
|
|
7740
|
+
if (next) {
|
|
7741
|
+
setStatus("idle");
|
|
7742
|
+
setError(null);
|
|
7743
|
+
}
|
|
7744
|
+
};
|
|
7745
|
+
const handleTriggerClick = () => {
|
|
7746
|
+
fireConfetti({ colors: CONFETTI_PINKS });
|
|
7747
|
+
handleOpenChange(true);
|
|
7748
|
+
};
|
|
7749
|
+
const handleSubmit = async (event) => {
|
|
7750
|
+
event.preventDefault();
|
|
7751
|
+
if (rating === null) {
|
|
7752
|
+
setError("Please pick a rating.");
|
|
7753
|
+
return;
|
|
7754
|
+
}
|
|
7755
|
+
if (message.trim().length < 3) {
|
|
7756
|
+
setError("Please write a short message.");
|
|
7757
|
+
return;
|
|
7758
|
+
}
|
|
7759
|
+
setStatus("sending");
|
|
7760
|
+
setError(null);
|
|
7761
|
+
try {
|
|
7762
|
+
const result = await submit({
|
|
7763
|
+
rating,
|
|
7764
|
+
message,
|
|
7765
|
+
page: window.location.pathname,
|
|
7766
|
+
website
|
|
7767
|
+
});
|
|
7768
|
+
if (result.ok) {
|
|
7769
|
+
setStatus("sent");
|
|
7770
|
+
setMessage("");
|
|
7771
|
+
setRating(null);
|
|
7772
|
+
} else {
|
|
7773
|
+
setStatus("error");
|
|
7774
|
+
setError(result.error ?? "Something went wrong. Please try again.");
|
|
7775
|
+
}
|
|
7776
|
+
} catch {
|
|
7777
|
+
setStatus("error");
|
|
7778
|
+
setError("Something went wrong. Please try again.");
|
|
7779
|
+
}
|
|
7780
|
+
};
|
|
7781
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7782
|
+
/* @__PURE__ */ jsx(Enchanted, { hoverOnly: true, glintClassName: "text-pink-500", children: /* @__PURE__ */ jsxs(
|
|
7783
|
+
"button",
|
|
7784
|
+
{
|
|
7785
|
+
type: "button",
|
|
7786
|
+
onClick: handleTriggerClick,
|
|
7787
|
+
className: "flex h-8 w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm text-muted-foreground outline-hidden transition-colors hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2",
|
|
7788
|
+
children: [
|
|
7789
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: emoji }),
|
|
7790
|
+
label
|
|
7791
|
+
]
|
|
7792
|
+
}
|
|
7793
|
+
) }),
|
|
7794
|
+
/* @__PURE__ */ jsx(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx(DialogContent, { className: "sm:max-w-md", children: status === "sent" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7795
|
+
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
7796
|
+
/* @__PURE__ */ jsx(DialogTitle, { children: "Thanks for the feedback!" }),
|
|
7797
|
+
/* @__PURE__ */ jsx(DialogDescription, { children: "Your message has been sent. We appreciate you taking the time." })
|
|
7798
|
+
] }),
|
|
7799
|
+
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(Button, { onClick: () => setOpen(false), children: "Close" }) })
|
|
7800
|
+
] }) : /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
7801
|
+
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
7802
|
+
/* @__PURE__ */ jsx(DialogTitle, { children: title }),
|
|
7803
|
+
/* @__PURE__ */ jsx(DialogDescription, { children: description })
|
|
7804
|
+
] }),
|
|
7805
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
7806
|
+
/* @__PURE__ */ jsx(Label3, { children: ratingLabel }),
|
|
7807
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-1.5", role: "radiogroup", "aria-label": `${ratingLabel} 1 to 5`, children: [1, 2, 3, 4, 5].map((value) => /* @__PURE__ */ jsx(
|
|
7808
|
+
"button",
|
|
7809
|
+
{
|
|
7810
|
+
type: "button",
|
|
7811
|
+
role: "radio",
|
|
7812
|
+
"aria-checked": rating === value,
|
|
7813
|
+
onClick: () => setRating(value),
|
|
7814
|
+
className: cn(
|
|
7815
|
+
"flex size-9 items-center justify-center rounded-md border text-sm font-medium transition-colors",
|
|
7816
|
+
rating === value ? "border-primary bg-primary text-primary-foreground" : "border-input bg-background text-muted-foreground hover:bg-accent hover:text-accent-foreground"
|
|
7817
|
+
),
|
|
7818
|
+
children: value
|
|
7819
|
+
},
|
|
7820
|
+
value
|
|
7821
|
+
)) })
|
|
7822
|
+
] }),
|
|
7823
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
|
|
7824
|
+
/* @__PURE__ */ jsx(Label3, { htmlFor: "feedback-message", children: "Your feedback" }),
|
|
7825
|
+
/* @__PURE__ */ jsx(
|
|
7826
|
+
Textarea,
|
|
7827
|
+
{
|
|
7828
|
+
id: "feedback-message",
|
|
7829
|
+
value: message,
|
|
7830
|
+
onChange: (event) => setMessage(event.target.value),
|
|
7831
|
+
placeholder,
|
|
7832
|
+
rows: 5,
|
|
7833
|
+
maxLength: 2e3,
|
|
7834
|
+
required: true
|
|
7835
|
+
}
|
|
7836
|
+
)
|
|
7837
|
+
] }),
|
|
7838
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute -left-[9999px] top-0", "aria-hidden": "true", children: [
|
|
7839
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "feedback-website", children: "Website" }),
|
|
7840
|
+
/* @__PURE__ */ jsx(
|
|
7841
|
+
"input",
|
|
7842
|
+
{
|
|
7843
|
+
id: "feedback-website",
|
|
7844
|
+
type: "text",
|
|
7845
|
+
tabIndex: -1,
|
|
7846
|
+
autoComplete: "off",
|
|
7847
|
+
value: website,
|
|
7848
|
+
onChange: (event) => setWebsite(event.target.value)
|
|
7849
|
+
}
|
|
7850
|
+
)
|
|
7851
|
+
] }),
|
|
7852
|
+
error && /* @__PURE__ */ jsx("p", { className: "text-sm text-destructive", children: error }),
|
|
7853
|
+
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
7854
|
+
/* @__PURE__ */ jsx(Button, { type: "button", variant: "secondary", onClick: () => setOpen(false), children: "Cancel" }),
|
|
7855
|
+
/* @__PURE__ */ jsx(Button, { type: "submit", disabled: status === "sending", children: status === "sending" ? "Sending..." : "Send" })
|
|
7856
|
+
] })
|
|
7857
|
+
] }) }) })
|
|
7858
|
+
] });
|
|
7859
|
+
}
|
|
7709
7860
|
|
|
7710
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AsciiText, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as 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, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Enchanted, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item4 as Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label3 as Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeScript, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UIVariantProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, dismissNotification, fireConfetti, inputBase, inputPlayfulBacking, navigationMenuTriggerStyle, notify, statusIndicatorDotVariants, toggleVariants, useCopyToClipboard, useFormField, useIsMobile, useResolvedTheme, useSidebar, useUIVariant };
|
|
7861
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AsciiText, AspectRatio, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as 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, 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, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Enchanted, FeedbackSidebarItem, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item4 as Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label3 as Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NumberInput, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PasswordInput, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioGroup4 as RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spinner, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeScript, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UIVariantProvider, badgeVariants, buttonGroupVariants, buttonVariants, cn, dismissNotification, fireConfetti, inputBase, inputPlayfulBacking, navigationMenuTriggerStyle, notify, statusIndicatorDotVariants, toggleVariants, useCopyToClipboard, useFormField, useIsMobile, useResolvedTheme, useSidebar, useUIVariant };
|
|
7711
7862
|
//# sourceMappingURL=index.js.map
|
|
7712
7863
|
//# sourceMappingURL=index.js.map
|