@cntyclub/ui-react 0.8.2 → 0.10.0
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 +129 -5
- package/dist/index.js +260 -5
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
- package/src/components/ui/animated-counter.tsx +109 -0
- package/src/components/ui/confetti.tsx +196 -0
- package/src/components/ui/date-picker.tsx +154 -0
- package/src/index.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
3
|
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
@@ -10,7 +10,7 @@ import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
|
10
10
|
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
11
11
|
import { B as Button, a as ButtonProps, b as InputProps, I as Input } from './input-JCZs61MO.js';
|
|
12
12
|
export { c as buttonVariants } from './input-JCZs61MO.js';
|
|
13
|
-
import { DayPicker } from 'react-day-picker';
|
|
13
|
+
import { DayPicker, DateRange } from 'react-day-picker';
|
|
14
14
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
15
15
|
import * as RechartsPrimitive from 'recharts';
|
|
16
16
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
@@ -18,6 +18,7 @@ import { CheckboxGroup as CheckboxGroup$1 } from '@base-ui/react/checkbox-group'
|
|
|
18
18
|
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
19
19
|
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
20
20
|
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
21
|
+
import { Options, GlobalOptions } from 'canvas-confetti';
|
|
21
22
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
22
23
|
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
23
24
|
import { Field as Field$1 } from '@base-ui/react/field';
|
|
@@ -35,7 +36,7 @@ import { NumberField as NumberField$1 } from '@base-ui/react/number-field';
|
|
|
35
36
|
import { Popover as Popover$1 } from '@base-ui/react/popover';
|
|
36
37
|
import { PreviewCard as PreviewCard$1 } from '@base-ui/react/preview-card';
|
|
37
38
|
import { Progress as Progress$1 } from '@base-ui/react/progress';
|
|
38
|
-
import { Options } from 'qr-code-styling';
|
|
39
|
+
import { Options as Options$1 } from 'qr-code-styling';
|
|
39
40
|
import { Radio as Radio$1 } from '@base-ui/react/radio';
|
|
40
41
|
import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
41
42
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
@@ -219,6 +220,31 @@ interface AvatarGroupProps extends React$1.ComponentProps<"div">, VariantProps<t
|
|
|
219
220
|
*/
|
|
220
221
|
declare function AvatarGroup({ className, items, max, size, overlap, children, ...props }: AvatarGroupProps): React$1.JSX.Element;
|
|
221
222
|
|
|
223
|
+
interface AnimatedCounterProps extends Omit<React$1.ComponentProps<"span">, "children"> {
|
|
224
|
+
/** The target value to animate to. */
|
|
225
|
+
value: number;
|
|
226
|
+
/** Tween duration in ms (default 650). */
|
|
227
|
+
duration?: number;
|
|
228
|
+
/** Decimal places to render (default 0). */
|
|
229
|
+
decimals?: number;
|
|
230
|
+
/** Prefix rendered before the number, e.g. "$". */
|
|
231
|
+
prefix?: string;
|
|
232
|
+
/** Suffix rendered after the number, e.g. "%". */
|
|
233
|
+
suffix?: string;
|
|
234
|
+
/** Group digits with thousands separators (default true). */
|
|
235
|
+
separator?: boolean;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* A number that tweens smoothly from its previous value to the next whenever
|
|
239
|
+
* `value` changes — e.g. dashboard stats re-counting when the time range
|
|
240
|
+
* switches. Dependency-free (requestAnimationFrame), so it stays tiny and works
|
|
241
|
+
* anywhere. Respects `prefers-reduced-motion` by snapping to the final value.
|
|
242
|
+
*
|
|
243
|
+
* The animation is purely visual; the accessible text is always the final
|
|
244
|
+
* value (via `aria-label`) so screen readers never read the intermediate tween.
|
|
245
|
+
*/
|
|
246
|
+
declare function AnimatedCounter({ value, duration, decimals, prefix, suffix, separator, className, ...props }: AnimatedCounterProps): React$1.JSX.Element;
|
|
247
|
+
|
|
222
248
|
declare const badgeVariants: (props?: ({
|
|
223
249
|
shape?: "default" | "pill" | null | undefined;
|
|
224
250
|
size?: "default" | "lg" | "sm" | null | undefined;
|
|
@@ -270,6 +296,49 @@ declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentPr
|
|
|
270
296
|
|
|
271
297
|
declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, ...props }: React$1.ComponentProps<typeof DayPicker>): React$1.JSX.Element;
|
|
272
298
|
|
|
299
|
+
interface DatePickerProps {
|
|
300
|
+
/** The selected date (controlled). */
|
|
301
|
+
value?: Date;
|
|
302
|
+
onValueChange?: (date: Date | undefined) => void;
|
|
303
|
+
placeholder?: string;
|
|
304
|
+
/** Trigger button `disabled`. */
|
|
305
|
+
disabled?: boolean;
|
|
306
|
+
/** Restrict selectable days (passed straight to react-day-picker). */
|
|
307
|
+
fromDate?: Date;
|
|
308
|
+
toDate?: Date;
|
|
309
|
+
/** date-fns format for the trigger label (default "LLL dd, y"). */
|
|
310
|
+
displayFormat?: string;
|
|
311
|
+
align?: "start" | "center" | "end";
|
|
312
|
+
className?: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
"aria-label"?: string;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* A single-date picker: a button that opens a calendar in a popover. The
|
|
318
|
+
* canonical way to take a date in this system — never a native `<input
|
|
319
|
+
* type="date">`. Controlled via `value` / `onValueChange`.
|
|
320
|
+
*/
|
|
321
|
+
declare function DatePicker({ value, onValueChange, placeholder, disabled, fromDate, toDate, displayFormat, align, className, id, ...props }: DatePickerProps): React$1.JSX.Element;
|
|
322
|
+
interface DateRangePickerProps {
|
|
323
|
+
value?: DateRange;
|
|
324
|
+
onValueChange?: (range: DateRange | undefined) => void;
|
|
325
|
+
placeholder?: string;
|
|
326
|
+
disabled?: boolean;
|
|
327
|
+
fromDate?: Date;
|
|
328
|
+
toDate?: Date;
|
|
329
|
+
numberOfMonths?: number;
|
|
330
|
+
displayFormat?: string;
|
|
331
|
+
align?: "start" | "center" | "end";
|
|
332
|
+
className?: string;
|
|
333
|
+
id?: string;
|
|
334
|
+
"aria-label"?: string;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* A date-range picker: pick a start and (optionally) end date. Controlled via
|
|
338
|
+
* `value` / `onValueChange` with react-day-picker's `{from, to}` shape.
|
|
339
|
+
*/
|
|
340
|
+
declare function DateRangePicker({ value, onValueChange, placeholder, disabled, fromDate, toDate, numberOfMonths, displayFormat, align, className, id, ...props }: DateRangePickerProps): React$1.JSX.Element;
|
|
341
|
+
|
|
273
342
|
declare function Card({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
274
343
|
declare function CardFrame({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
275
344
|
declare function CardFrameHeader({ className, render, ...props }: useRender.ComponentProps<"div">): React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>>;
|
|
@@ -525,6 +594,61 @@ declare function CommandSeparator({ className, ...props }: React$1.ComponentProp
|
|
|
525
594
|
declare function CommandShortcut({ className, ...props }: React$1.ComponentProps<"kbd">): React$1.JSX.Element;
|
|
526
595
|
declare function CommandFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
527
596
|
|
|
597
|
+
/** The brand celebration palette — soft violet / pink / peach / cream. */
|
|
598
|
+
declare const CONFETTI_COLORS: readonly ["#a786ff", "#fd8bbc", "#eca184", "#f8deb1"];
|
|
599
|
+
interface SideCannonsOptions {
|
|
600
|
+
/** How long the cannons keep firing, in ms (default 3000). */
|
|
601
|
+
durationMs?: number;
|
|
602
|
+
/** Confetti colors (default {@link CONFETTI_COLORS}). */
|
|
603
|
+
colors?: readonly string[];
|
|
604
|
+
/** Particles emitted per side per frame (default 2). */
|
|
605
|
+
particleCount?: number;
|
|
606
|
+
/** z-index of the confetti canvas (default 100). */
|
|
607
|
+
zIndex?: number;
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Fires confetti from the left and right edges of the viewport for a few
|
|
611
|
+
* seconds — the "side cannons" celebration. Purely imperative, so it can be
|
|
612
|
+
* triggered from an effect (e.g. the first time a page loads) without rendering
|
|
613
|
+
* anything. No-ops on the server and when the user prefers reduced motion.
|
|
614
|
+
*
|
|
615
|
+
* @example
|
|
616
|
+
* useEffect(() => { sideCannons(); }, []);
|
|
617
|
+
*/
|
|
618
|
+
declare function sideCannons(options?: SideCannonsOptions): void;
|
|
619
|
+
type ConfettiApi = {
|
|
620
|
+
/** Fire the confetti instance, merging `options` over the component's. */
|
|
621
|
+
fire: (options?: Options) => void;
|
|
622
|
+
};
|
|
623
|
+
type ConfettiRef = ConfettiApi | null;
|
|
624
|
+
type ConfettiProps = React$1.ComponentPropsWithRef<"canvas"> & {
|
|
625
|
+
/** Per-shot options merged into every `fire()` call. */
|
|
626
|
+
options?: Options;
|
|
627
|
+
/** Global options passed to `confetti.create` (resize / worker). */
|
|
628
|
+
globalOptions?: GlobalOptions;
|
|
629
|
+
/** Skip the automatic fire on mount — drive it via the ref instead. */
|
|
630
|
+
manualstart?: boolean;
|
|
631
|
+
children?: ReactNode;
|
|
632
|
+
};
|
|
633
|
+
declare const Confetti: React$1.ForwardRefExoticComponent<Omit<ConfettiProps, "ref"> & React$1.RefAttributes<ConfettiRef>>;
|
|
634
|
+
/** Access the nearest {@link Confetti}'s imperative `fire()` from a child. */
|
|
635
|
+
declare function useConfetti(): ConfettiApi;
|
|
636
|
+
interface ConfettiButtonProps extends ButtonProps {
|
|
637
|
+
/** Confetti options; origin defaults to the button's center. */
|
|
638
|
+
options?: Options & GlobalOptions & {
|
|
639
|
+
canvas?: HTMLCanvasElement;
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* A {@link Button} that bursts confetti from its own center on click. Handy for
|
|
644
|
+
* "Claim", "Done", or other one-off celebratory actions.
|
|
645
|
+
*/
|
|
646
|
+
declare function ConfettiButtonComponent({ options, children, onClick, ...props }: ConfettiButtonProps): React$1.JSX.Element;
|
|
647
|
+
declare namespace ConfettiButtonComponent {
|
|
648
|
+
var displayName: string;
|
|
649
|
+
}
|
|
650
|
+
declare const ConfettiButton: typeof ConfettiButtonComponent;
|
|
651
|
+
|
|
528
652
|
type CreditCardType = "transparent" | "transparent-gradient" | "brand-dark" | "brand-light" | "gray-dark" | "gray-light" | "transparent-strip" | "gray-strip" | "gradient-strip" | "salmon-strip" | "gray-strip-vertical" | "gradient-strip-vertical" | "salmon-strip-vertical";
|
|
529
653
|
interface CreditCardProps extends React$1.ComponentProps<"div"> {
|
|
530
654
|
type?: CreditCardType;
|
|
@@ -1049,7 +1173,7 @@ interface QRCodeProps extends Omit<React$1.ComponentProps<"div">, "children">, V
|
|
|
1049
1173
|
* Extra qr-code-styling options merged over the themed defaults — e.g. a
|
|
1050
1174
|
* center image, custom dot colors or shapes. See the qr-code-styling docs.
|
|
1051
1175
|
*/
|
|
1052
|
-
options?: Partial<Options>;
|
|
1176
|
+
options?: Partial<Options$1>;
|
|
1053
1177
|
}
|
|
1054
1178
|
/**
|
|
1055
1179
|
* A themeable QR code rendered with qr-code-styling. Dots follow the
|
|
@@ -1744,4 +1868,4 @@ declare function useIsLg({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): bool
|
|
|
1744
1868
|
declare function useIsXl({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
1745
1869
|
declare function useIs2xl({ ssr, defaultSSRValue, }?: UseMediaQueryOptions): boolean;
|
|
1746
1870
|
|
|
1747
|
-
export { Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AlertTitle, AnchoredToastProvider, AnimatedThemeToggler, AppGalleryLogoIcon, AppStoreButton, type AppStoreButtonStore, AppleLogoIcon, type AsChildProps, AspectRatio, type Attribute, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarAddButton, AvatarCompanyIcon, AvatarFallback, AvatarGroup, AvatarImage, AvatarLabelGroup, AvatarProfilePhoto, AvatarUploadBase, type AvatarUploadBaseProps, Badge, BadgeAvatar, BadgeCloseButton, BadgeDot, BadgeFlag, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Group as ButtonGroup, GroupSeparator as ButtonGroupSeparator, GroupText as ButtonGroupText, ButtonProps, Calendar, Card, CardAction, CardPanel as CardContent, CardDescription, CardFooter, CardFrame, CardFrameDescription, CardFrameFooter, CardFrameHeader, CardFrameTitle, CardHeader, CardPanel, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatEmptyState, ChatEmptyStateDescription, ChatEmptyStateIcon, ChatEmptyStateTitle, ChatHeader, ChatHeaderActions, ChatHeaderAvatar, ChatHeaderTitle, ChatInput, type ChatInputProps, ChatMessage, ChatMessageBubble, type ChatMessageBubbleProps, type ChatMessageProps, ChatMessages, ChatSuggestion, type ChatSuggestionProps, ChatSuggestions, ChatToolCard, ChatToolCardActions, ChatToolCardHeader, ChatToolChip, ChatTypingIndicator, Checkbox, CheckboxGroup, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreditCard, type CreditCardProps, type CreditCardType, DashboardHeader, DashboardPanel, DashboardTopbar, type DashboardTopbarProps, type DashboardTopbarUser, DataTablePaged, type DataTablePagedColumn, type DataTablePagedProps, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DribbbleLogoIcon, Menu as DropdownMenu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuCreateHandle as DropdownMenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuItem as DropdownMenuItem, MenuGroupLabel as DropdownMenuLabel, MenuPortal as DropdownMenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuSub as DropdownMenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubTrigger as DropdownMenuSubTrigger, MenuTrigger as DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorOrEmptyState, Fab, type FabProps, FacebookLogoIcon, FeaturedIcon, Field, FieldControl, FieldDescription, FieldError, FieldGroup, FieldItem, FieldLabel, FieldValidity, Fieldset, FieldsetLegend, FigmaLogoIcon, ForbiddenErrorState, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GalaxyStoreLogoIcon, GeneralErrorState, GoogleLogoIcon, GooglePlayLogoIcon, Group, GroupSeparator, GroupText, HelpTip, type HelpTipProps, HorizontalScrollFader, HorizontalScrollFaderContent, HorizontalScrollFaderLeftScroller, HorizontalScrollFaderRightScroller, PreviewCard as HoverCard, PreviewCardPopup as HoverCardContent, PreviewCardTrigger as HoverCardTrigger, ImageUploadBase, type ImageUploadBaseProps, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputProps, InternalServerErrorState, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LeftScroller, Markdown, type MarkdownProps, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, Menubar, MenuCheckboxItem as MenubarCheckboxItem, MenubarContent, MenuGroup as MenubarGroup, MenuItem as MenubarItem, MenuGroupLabel as MenubarLabel, MenubarMenu, MenuPortal as MenubarPortal, MenuRadioGroup as MenubarRadioGroup, MenuRadioItem as MenubarRadioItem, MenuSeparator as MenubarSeparator, MenuShortcut as MenubarShortcut, MenuSub as MenubarSub, MenuSubPopup as MenubarSubContent, MenuSubTrigger as MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, MultiSelect, type MultiSelectItem, type MultiSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotFoundErrorState, type NotNullValues, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, OfflineErrorState, type OmitUnknown, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, Pipeline, PipelineConversion, type PipelineProps, type PipelineStage, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverCreateHandle, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressCircle, ProgressFloatingValue, ProgressHalfCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, QRCodeGradientScan, Radio, RadioGroup, Radio as RadioGroupItem, type RequiredSubset, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightScroller, ScrollArea, ScrollBar, SectionHeader, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectPopup as SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, 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, SliderValue, SmoothScroll, type SmoothScrollProps, type SmoothWheelOptions, SocialButton, type SocialButtonProvider, Spinner, SpinnerOnDemand, Stat, StatDescription, StatGroup, StatLabel, StatTrend, StatValue, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TagSelectionMode, type TagSize, type Tail, type TailOptional, TargetCountdown, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeContextOverride, ThemeProvider, type ThemeProviderProps, type ThemeTogglerVariant, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, type ToastPosition, ToastProvider, Toggle$1 as Toggle, ToggleGroup, Toggle as ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipDescription, TooltipPopup, TooltipProvider, TooltipTitle, TooltipTrigger, UnauthorizedErrorState, type UseThemeProps, VerticalScrollFader, VerticalScrollFaderBottomScroller, VerticalScrollFaderContent, VerticalScrollFaderTopScroller, VideoPlayer, XLogoIcon, anchoredToastManager, appStoreButtonVariants, avatarGroupVariants, avatarVariants, badgeGroupVariants, badgeVariants, chatMessageBubbleVariants, chatMessageVariants, cn, fabVariants, featuredIconVariants, groupVariants, itemVariants, navigationMenuTriggerStyle, qrCodeVariants, script, sectionHeaderDescriptionVariants, sectionHeaderTitleVariants, sheetPopupVariants, sheetViewportVariants, socialButtonVariants, statTrendVariants, statVariants, toastManager, toggleVariants, useAutocompleteFilter, useCallbackRef, useCarousel, useComboboxFilter, useFirstRender, useHover, useIs2xl, useIsLg, useIsMd, useIsSm, useIsTabActive, useIsXl, useMediaQuery, useSidebar, useSmoothWheel, useSubscribeBreakpoints, useTheme, videoPlayerVariants };
|
|
1871
|
+
export { Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AlertTitle, AnchoredToastProvider, AnimatedCounter, type AnimatedCounterProps, AnimatedThemeToggler, AppGalleryLogoIcon, AppStoreButton, type AppStoreButtonStore, AppleLogoIcon, type AsChildProps, AspectRatio, type Attribute, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarAddButton, AvatarCompanyIcon, AvatarFallback, AvatarGroup, AvatarImage, AvatarLabelGroup, AvatarProfilePhoto, AvatarUploadBase, type AvatarUploadBaseProps, Badge, BadgeAvatar, BadgeCloseButton, BadgeDot, BadgeFlag, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Group as ButtonGroup, GroupSeparator as ButtonGroupSeparator, GroupText as ButtonGroupText, ButtonProps, CONFETTI_COLORS, Calendar, Card, CardAction, CardPanel as CardContent, CardDescription, CardFooter, CardFrame, CardFrameDescription, CardFrameFooter, CardFrameHeader, CardFrameTitle, CardHeader, CardPanel, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatEmptyState, ChatEmptyStateDescription, ChatEmptyStateIcon, ChatEmptyStateTitle, ChatHeader, ChatHeaderActions, ChatHeaderAvatar, ChatHeaderTitle, ChatInput, type ChatInputProps, ChatMessage, ChatMessageBubble, type ChatMessageBubbleProps, type ChatMessageProps, ChatMessages, ChatSuggestion, type ChatSuggestionProps, ChatSuggestions, ChatToolCard, ChatToolCardActions, ChatToolCardHeader, ChatToolChip, ChatTypingIndicator, Checkbox, CheckboxGroup, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, Confetti, ConfettiButton, type ConfettiButtonProps, type ConfettiProps, type ConfettiRef, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreditCard, type CreditCardProps, type CreditCardType, DashboardHeader, DashboardPanel, DashboardTopbar, type DashboardTopbarProps, type DashboardTopbarUser, DataTablePaged, type DataTablePagedColumn, type DataTablePagedProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DribbbleLogoIcon, Menu as DropdownMenu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuCreateHandle as DropdownMenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuItem as DropdownMenuItem, MenuGroupLabel as DropdownMenuLabel, MenuPortal as DropdownMenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuSub as DropdownMenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubTrigger as DropdownMenuSubTrigger, MenuTrigger as DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorOrEmptyState, Fab, type FabProps, FacebookLogoIcon, FeaturedIcon, Field, FieldControl, FieldDescription, FieldError, FieldGroup, FieldItem, FieldLabel, FieldValidity, Fieldset, FieldsetLegend, FigmaLogoIcon, ForbiddenErrorState, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GalaxyStoreLogoIcon, GeneralErrorState, GoogleLogoIcon, GooglePlayLogoIcon, Group, GroupSeparator, GroupText, HelpTip, type HelpTipProps, HorizontalScrollFader, HorizontalScrollFaderContent, HorizontalScrollFaderLeftScroller, HorizontalScrollFaderRightScroller, PreviewCard as HoverCard, PreviewCardPopup as HoverCardContent, PreviewCardTrigger as HoverCardTrigger, ImageUploadBase, type ImageUploadBaseProps, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InputProps, InternalServerErrorState, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, LeftScroller, Markdown, type MarkdownProps, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, Menubar, MenuCheckboxItem as MenubarCheckboxItem, MenubarContent, MenuGroup as MenubarGroup, MenuItem as MenubarItem, MenuGroupLabel as MenubarLabel, MenubarMenu, MenuPortal as MenubarPortal, MenuRadioGroup as MenubarRadioGroup, MenuRadioItem as MenubarRadioItem, MenuSeparator as MenubarSeparator, MenuShortcut as MenubarShortcut, MenuSub as MenubarSub, MenuSubPopup as MenubarSubContent, MenuSubTrigger as MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, MultiSelect, type MultiSelectItem, type MultiSelectProps, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotFoundErrorState, type NotNullValues, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, OfflineErrorState, type OmitUnknown, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, Pipeline, PipelineConversion, type PipelineProps, type PipelineStage, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverCreateHandle, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressCircle, ProgressFloatingValue, ProgressHalfCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, QRCodeGradientScan, Radio, RadioGroup, Radio as RadioGroupItem, type RequiredSubset, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightScroller, ScrollArea, ScrollBar, SectionHeader, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectPopup as SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, type SideCannonsOptions, 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, SliderValue, SmoothScroll, type SmoothScrollProps, type SmoothWheelOptions, SocialButton, type SocialButtonProvider, Spinner, SpinnerOnDemand, Stat, StatDescription, StatGroup, StatLabel, StatTrend, StatValue, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TagSelectionMode, type TagSize, type Tail, type TailOptional, TargetCountdown, TextEditor, type TextEditorProps, Textarea, type TextareaProps, ThemeContextOverride, ThemeProvider, type ThemeProviderProps, type ThemeTogglerVariant, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, type ToastPosition, ToastProvider, Toggle$1 as Toggle, ToggleGroup, Toggle as ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipDescription, TooltipPopup, TooltipProvider, TooltipTitle, TooltipTrigger, UnauthorizedErrorState, type UseThemeProps, VerticalScrollFader, VerticalScrollFaderBottomScroller, VerticalScrollFaderContent, VerticalScrollFaderTopScroller, VideoPlayer, XLogoIcon, anchoredToastManager, appStoreButtonVariants, avatarGroupVariants, avatarVariants, badgeGroupVariants, badgeVariants, chatMessageBubbleVariants, chatMessageVariants, cn, fabVariants, featuredIconVariants, groupVariants, itemVariants, navigationMenuTriggerStyle, qrCodeVariants, script, sectionHeaderDescriptionVariants, sectionHeaderTitleVariants, sheetPopupVariants, sheetViewportVariants, sideCannons, socialButtonVariants, statTrendVariants, statVariants, toastManager, toggleVariants, useAutocompleteFilter, useCallbackRef, useCarousel, useComboboxFilter, useConfetti, useFirstRender, useHover, useIs2xl, useIsLg, useIsMd, useIsSm, useIsTabActive, useIsXl, useMediaQuery, useSidebar, useSmoothWheel, useSubscribeBreakpoints, useTheme, videoPlayerVariants };
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { cn, buttonVariants, Input, Button, SpinnerOnDemand } from './chunk-2HQPCV2L.js';
|
|
1
|
+
import { cn, buttonVariants, Input, Popover, PopoverTrigger, Button, PopoverPopup, Calendar, SpinnerOnDemand } from './chunk-2HQPCV2L.js';
|
|
2
2
|
export { Button, Calendar, Checkbox, CheckboxGroup, Field, FieldControl, FieldDescription, FieldError, FieldGroup, FieldItem, FieldLabel, FieldValidity, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, Label, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverCreateHandle, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, Select, SelectPopup as SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, SpinnerOnDemand, Textarea, buttonVariants, cn } from './chunk-2HQPCV2L.js';
|
|
3
3
|
import { Accordion as Accordion$1 } from '@base-ui/react/accordion';
|
|
4
|
-
import { ChevronDownIcon, SunIcon, MoonIcon, ChevronsUpDownIcon, XIcon, CheckIcon, UserRoundIcon, PlusIcon, ChevronRight, MoreHorizontal, ArrowLeftIcon, ArrowRightIcon, SparklesIcon, ArrowUpIcon, SearchIcon, NfcIcon, ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon, FileQuestionIcon, ShieldAlertIcon, ShieldXIcon, TriangleAlertIcon, CircleHelp, MinusIcon, GripVerticalIcon, PanelLeftIcon, Loader2Icon, TrendingDownIcon, TrendingUpIcon, CircleCheckIcon, LoaderCircleIcon, InfoIcon, CircleAlertIcon, PlayIcon, PauseIcon, VolumeXIcon, Volume2Icon, Minimize2Icon, Maximize2Icon, Search, LifeBuoy, Settings, LogOut, UserIcon, CloudUploadIcon, TrashIcon, Undo2, Redo2, Bold, Italic, Strikethrough, List, ListOrdered, AlignLeft, AlignCenter, AlignRight, AlignJustify } from 'lucide-react';
|
|
4
|
+
import { ChevronDownIcon, SunIcon, MoonIcon, ChevronsUpDownIcon, XIcon, CheckIcon, UserRoundIcon, PlusIcon, ChevronRight, MoreHorizontal, CalendarIcon, ArrowLeftIcon, ArrowRightIcon, SparklesIcon, ArrowUpIcon, SearchIcon, NfcIcon, ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon, FileQuestionIcon, ShieldAlertIcon, ShieldXIcon, TriangleAlertIcon, CircleHelp, MinusIcon, GripVerticalIcon, PanelLeftIcon, Loader2Icon, TrendingDownIcon, TrendingUpIcon, CircleCheckIcon, LoaderCircleIcon, InfoIcon, CircleAlertIcon, PlayIcon, PauseIcon, VolumeXIcon, Volume2Icon, Minimize2Icon, Maximize2Icon, Search, LifeBuoy, Settings, LogOut, UserIcon, CloudUploadIcon, TrashIcon, Undo2, Redo2, Bold, Italic, Strikethrough, List, ListOrdered, AlignLeft, AlignCenter, AlignRight, AlignJustify } from 'lucide-react';
|
|
5
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
6
|
import { cva } from 'class-variance-authority';
|
|
7
7
|
import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
|
|
8
8
|
import * as React17 from 'react';
|
|
9
|
-
import { createContext, memo, forwardRef, useRef,
|
|
9
|
+
import { createContext, memo, forwardRef, useRef, useCallback, useMemo, useImperativeHandle, useEffect, useState, useContext, Fragment as Fragment$1, useSyncExternalStore, isValidElement, useLayoutEffect } from 'react';
|
|
10
10
|
import { flushSync } from 'react-dom';
|
|
11
11
|
import { mergeProps } from '@base-ui/react/merge-props';
|
|
12
12
|
import { useRender } from '@base-ui/react/use-render';
|
|
13
13
|
import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
|
|
14
14
|
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
15
15
|
import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
|
|
16
|
+
import { format, intervalToDuration } from 'date-fns';
|
|
16
17
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
17
18
|
import * as RechartsPrimitive from 'recharts';
|
|
18
19
|
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
19
20
|
import { Combobox as Combobox$1 } from '@base-ui/react/combobox';
|
|
20
21
|
import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
22
|
+
import confetti from 'canvas-confetti';
|
|
21
23
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
22
24
|
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
23
25
|
import { Fieldset as Fieldset$1 } from '@base-ui/react/fieldset';
|
|
@@ -45,7 +47,6 @@ import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
|
|
|
45
47
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
46
48
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
47
49
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
48
|
-
import { intervalToDuration } from 'date-fns';
|
|
49
50
|
import { useEditor, EditorContent } from '@tiptap/react';
|
|
50
51
|
import { BubbleMenu } from '@tiptap/react/menus';
|
|
51
52
|
import Placeholder from '@tiptap/extension-placeholder';
|
|
@@ -1605,6 +1606,71 @@ function AvatarGroup({
|
|
|
1605
1606
|
}
|
|
1606
1607
|
);
|
|
1607
1608
|
}
|
|
1609
|
+
function AnimatedCounter({
|
|
1610
|
+
value,
|
|
1611
|
+
duration = 650,
|
|
1612
|
+
decimals = 0,
|
|
1613
|
+
prefix = "",
|
|
1614
|
+
suffix = "",
|
|
1615
|
+
separator = true,
|
|
1616
|
+
className,
|
|
1617
|
+
...props
|
|
1618
|
+
}) {
|
|
1619
|
+
const [display, setDisplay] = useState(value);
|
|
1620
|
+
const fromRef = useRef(value);
|
|
1621
|
+
const rafRef = useRef(null);
|
|
1622
|
+
useEffect(() => {
|
|
1623
|
+
const from = fromRef.current;
|
|
1624
|
+
const to = value;
|
|
1625
|
+
if (from === to) return;
|
|
1626
|
+
const reduce = typeof window !== "undefined" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
|
|
1627
|
+
if (reduce || duration <= 0) {
|
|
1628
|
+
fromRef.current = to;
|
|
1629
|
+
setDisplay(to);
|
|
1630
|
+
return;
|
|
1631
|
+
}
|
|
1632
|
+
let start = null;
|
|
1633
|
+
const step = (ts) => {
|
|
1634
|
+
if (start === null) start = ts;
|
|
1635
|
+
const t = Math.min(1, (ts - start) / duration);
|
|
1636
|
+
const eased = 1 - Math.pow(1 - t, 3);
|
|
1637
|
+
const current = from + (to - from) * eased;
|
|
1638
|
+
setDisplay(current);
|
|
1639
|
+
if (t < 1) {
|
|
1640
|
+
rafRef.current = requestAnimationFrame(step);
|
|
1641
|
+
} else {
|
|
1642
|
+
fromRef.current = to;
|
|
1643
|
+
}
|
|
1644
|
+
};
|
|
1645
|
+
rafRef.current = requestAnimationFrame(step);
|
|
1646
|
+
return () => {
|
|
1647
|
+
if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);
|
|
1648
|
+
};
|
|
1649
|
+
}, [value, duration]);
|
|
1650
|
+
const rounded = Number(display.toFixed(decimals));
|
|
1651
|
+
const formatted = separator ? rounded.toLocaleString(void 0, {
|
|
1652
|
+
minimumFractionDigits: decimals,
|
|
1653
|
+
maximumFractionDigits: decimals
|
|
1654
|
+
}) : rounded.toFixed(decimals);
|
|
1655
|
+
const finalLabel = `${prefix}${value.toLocaleString(void 0, {
|
|
1656
|
+
minimumFractionDigits: decimals,
|
|
1657
|
+
maximumFractionDigits: decimals
|
|
1658
|
+
})}${suffix}`;
|
|
1659
|
+
return /* @__PURE__ */ jsx(
|
|
1660
|
+
"span",
|
|
1661
|
+
{
|
|
1662
|
+
className: cn("tabular-nums", className),
|
|
1663
|
+
"data-slot": "animated-counter",
|
|
1664
|
+
"aria-label": finalLabel,
|
|
1665
|
+
...props,
|
|
1666
|
+
children: /* @__PURE__ */ jsxs("span", { "aria-hidden": true, children: [
|
|
1667
|
+
prefix,
|
|
1668
|
+
formatted,
|
|
1669
|
+
suffix
|
|
1670
|
+
] })
|
|
1671
|
+
}
|
|
1672
|
+
);
|
|
1673
|
+
}
|
|
1608
1674
|
var badgeVariants = cva(
|
|
1609
1675
|
"relative inline-flex shrink-0 items-center justify-center gap-1 whitespace-nowrap border border-transparent font-medium outline-none transition-shadow focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-64 [&_svg:not([class*='opacity-'])]:opacity-80 [&_svg:not([class*='size-'])]:size-3.5 sm:[&_svg:not([class*='size-'])]:size-3 [&_svg]:pointer-events-none [&_svg]:shrink-0 [button,a&]:cursor-pointer [button,a&]:pointer-coarse:after:absolute [button,a&]:pointer-coarse:after:size-full [button,a&]:pointer-coarse:after:min-h-11 [button,a&]:pointer-coarse:after:min-w-11",
|
|
1610
1676
|
{
|
|
@@ -1947,6 +2013,105 @@ function BreadcrumbEllipsis({
|
|
|
1947
2013
|
}
|
|
1948
2014
|
);
|
|
1949
2015
|
}
|
|
2016
|
+
function boundsMatcher(fromDate, toDate) {
|
|
2017
|
+
const out = [];
|
|
2018
|
+
if (fromDate) out.push({ before: fromDate });
|
|
2019
|
+
if (toDate) out.push({ after: toDate });
|
|
2020
|
+
return out.length ? out : void 0;
|
|
2021
|
+
}
|
|
2022
|
+
function DatePicker({
|
|
2023
|
+
value,
|
|
2024
|
+
onValueChange,
|
|
2025
|
+
placeholder = "Pick a date",
|
|
2026
|
+
disabled,
|
|
2027
|
+
fromDate,
|
|
2028
|
+
toDate,
|
|
2029
|
+
displayFormat = "LLL dd, y",
|
|
2030
|
+
align = "start",
|
|
2031
|
+
className,
|
|
2032
|
+
id,
|
|
2033
|
+
...props
|
|
2034
|
+
}) {
|
|
2035
|
+
return /* @__PURE__ */ jsxs(Popover, { children: [
|
|
2036
|
+
/* @__PURE__ */ jsxs(
|
|
2037
|
+
PopoverTrigger,
|
|
2038
|
+
{
|
|
2039
|
+
render: /* @__PURE__ */ jsx(
|
|
2040
|
+
Button,
|
|
2041
|
+
{
|
|
2042
|
+
className: cn("w-full justify-start font-normal", !value && "text-muted-foreground", className),
|
|
2043
|
+
disabled,
|
|
2044
|
+
id,
|
|
2045
|
+
variant: "outline",
|
|
2046
|
+
"aria-label": props["aria-label"]
|
|
2047
|
+
}
|
|
2048
|
+
),
|
|
2049
|
+
children: [
|
|
2050
|
+
/* @__PURE__ */ jsx(CalendarIcon, { "aria-hidden": true }),
|
|
2051
|
+
value ? format(value, displayFormat) : /* @__PURE__ */ jsx("span", { children: placeholder })
|
|
2052
|
+
]
|
|
2053
|
+
}
|
|
2054
|
+
),
|
|
2055
|
+
/* @__PURE__ */ jsx(PopoverPopup, { align, className: "w-auto p-0", children: /* @__PURE__ */ jsx(
|
|
2056
|
+
Calendar,
|
|
2057
|
+
{
|
|
2058
|
+
autoFocus: true,
|
|
2059
|
+
disabled: boundsMatcher(fromDate, toDate),
|
|
2060
|
+
mode: "single",
|
|
2061
|
+
onSelect: (d) => onValueChange?.(d),
|
|
2062
|
+
selected: value
|
|
2063
|
+
}
|
|
2064
|
+
) })
|
|
2065
|
+
] });
|
|
2066
|
+
}
|
|
2067
|
+
function DateRangePicker({
|
|
2068
|
+
value,
|
|
2069
|
+
onValueChange,
|
|
2070
|
+
placeholder = "Pick a date range",
|
|
2071
|
+
disabled,
|
|
2072
|
+
fromDate,
|
|
2073
|
+
toDate,
|
|
2074
|
+
numberOfMonths = 2,
|
|
2075
|
+
displayFormat = "LLL dd, y",
|
|
2076
|
+
align = "start",
|
|
2077
|
+
className,
|
|
2078
|
+
id,
|
|
2079
|
+
...props
|
|
2080
|
+
}) {
|
|
2081
|
+
const label = value?.from ? value.to ? `${format(value.from, displayFormat)} \u2013 ${format(value.to, displayFormat)}` : format(value.from, displayFormat) : null;
|
|
2082
|
+
return /* @__PURE__ */ jsxs(Popover, { children: [
|
|
2083
|
+
/* @__PURE__ */ jsxs(
|
|
2084
|
+
PopoverTrigger,
|
|
2085
|
+
{
|
|
2086
|
+
render: /* @__PURE__ */ jsx(
|
|
2087
|
+
Button,
|
|
2088
|
+
{
|
|
2089
|
+
className: cn("w-full justify-start font-normal", !label && "text-muted-foreground", className),
|
|
2090
|
+
disabled,
|
|
2091
|
+
id,
|
|
2092
|
+
variant: "outline",
|
|
2093
|
+
"aria-label": props["aria-label"]
|
|
2094
|
+
}
|
|
2095
|
+
),
|
|
2096
|
+
children: [
|
|
2097
|
+
/* @__PURE__ */ jsx(CalendarIcon, { "aria-hidden": true }),
|
|
2098
|
+
label ?? /* @__PURE__ */ jsx("span", { children: placeholder })
|
|
2099
|
+
]
|
|
2100
|
+
}
|
|
2101
|
+
),
|
|
2102
|
+
/* @__PURE__ */ jsx(PopoverPopup, { align, className: "w-auto p-0", children: /* @__PURE__ */ jsx(
|
|
2103
|
+
Calendar,
|
|
2104
|
+
{
|
|
2105
|
+
autoFocus: true,
|
|
2106
|
+
disabled: boundsMatcher(fromDate, toDate),
|
|
2107
|
+
mode: "range",
|
|
2108
|
+
numberOfMonths,
|
|
2109
|
+
onSelect: (r) => onValueChange?.(r),
|
|
2110
|
+
selected: value
|
|
2111
|
+
}
|
|
2112
|
+
) })
|
|
2113
|
+
] });
|
|
2114
|
+
}
|
|
1950
2115
|
function Card({
|
|
1951
2116
|
className,
|
|
1952
2117
|
render,
|
|
@@ -3546,6 +3711,96 @@ function CommandFooter({ className, ...props }) {
|
|
|
3546
3711
|
}
|
|
3547
3712
|
);
|
|
3548
3713
|
}
|
|
3714
|
+
var CONFETTI_COLORS = ["#a786ff", "#fd8bbc", "#eca184", "#f8deb1"];
|
|
3715
|
+
function prefersReducedMotion() {
|
|
3716
|
+
return typeof window !== "undefined" && !!window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
|
|
3717
|
+
}
|
|
3718
|
+
function sideCannons(options = {}) {
|
|
3719
|
+
if (typeof window === "undefined" || prefersReducedMotion()) return;
|
|
3720
|
+
const {
|
|
3721
|
+
durationMs = 3e3,
|
|
3722
|
+
colors = CONFETTI_COLORS,
|
|
3723
|
+
particleCount = 2,
|
|
3724
|
+
zIndex = 100
|
|
3725
|
+
} = options;
|
|
3726
|
+
const end = performance.now() + durationMs;
|
|
3727
|
+
const shared = { particleCount, spread: 55, startVelocity: 60, colors: [...colors], zIndex };
|
|
3728
|
+
const frame = () => {
|
|
3729
|
+
if (performance.now() > end) return;
|
|
3730
|
+
void confetti({ ...shared, angle: 60, origin: { x: 0, y: 0.5 } });
|
|
3731
|
+
void confetti({ ...shared, angle: 120, origin: { x: 1, y: 0.5 } });
|
|
3732
|
+
requestAnimationFrame(frame);
|
|
3733
|
+
};
|
|
3734
|
+
frame();
|
|
3735
|
+
}
|
|
3736
|
+
var ConfettiContext = createContext({});
|
|
3737
|
+
var ConfettiComponent = forwardRef((props, ref) => {
|
|
3738
|
+
const {
|
|
3739
|
+
options,
|
|
3740
|
+
globalOptions = { resize: true, useWorker: true },
|
|
3741
|
+
manualstart = false,
|
|
3742
|
+
children,
|
|
3743
|
+
...rest
|
|
3744
|
+
} = props;
|
|
3745
|
+
const instanceRef = useRef(null);
|
|
3746
|
+
const canvasRef = useCallback(
|
|
3747
|
+
(node) => {
|
|
3748
|
+
if (node !== null) {
|
|
3749
|
+
if (instanceRef.current) return;
|
|
3750
|
+
instanceRef.current = confetti.create(node, { ...globalOptions, resize: true });
|
|
3751
|
+
} else if (instanceRef.current) {
|
|
3752
|
+
instanceRef.current.reset();
|
|
3753
|
+
instanceRef.current = null;
|
|
3754
|
+
}
|
|
3755
|
+
},
|
|
3756
|
+
[globalOptions]
|
|
3757
|
+
);
|
|
3758
|
+
const fire = useCallback(
|
|
3759
|
+
async (opts = {}) => {
|
|
3760
|
+
if (prefersReducedMotion()) return;
|
|
3761
|
+
try {
|
|
3762
|
+
await instanceRef.current?.({ ...options, ...opts });
|
|
3763
|
+
} catch (error) {
|
|
3764
|
+
console.error("Confetti error:", error);
|
|
3765
|
+
}
|
|
3766
|
+
},
|
|
3767
|
+
[options]
|
|
3768
|
+
);
|
|
3769
|
+
const api = useMemo(() => ({ fire }), [fire]);
|
|
3770
|
+
useImperativeHandle(ref, () => api, [api]);
|
|
3771
|
+
useEffect(() => {
|
|
3772
|
+
if (!manualstart) void fire();
|
|
3773
|
+
}, [manualstart, fire]);
|
|
3774
|
+
return /* @__PURE__ */ jsxs(ConfettiContext.Provider, { value: api, children: [
|
|
3775
|
+
/* @__PURE__ */ jsx("canvas", { "data-slot": "confetti", ref: canvasRef, ...rest }),
|
|
3776
|
+
children
|
|
3777
|
+
] });
|
|
3778
|
+
});
|
|
3779
|
+
ConfettiComponent.displayName = "Confetti";
|
|
3780
|
+
var Confetti = ConfettiComponent;
|
|
3781
|
+
function useConfetti() {
|
|
3782
|
+
return useContext(ConfettiContext);
|
|
3783
|
+
}
|
|
3784
|
+
function ConfettiButtonComponent({ options, children, onClick, ...props }) {
|
|
3785
|
+
const handleClick = async (event) => {
|
|
3786
|
+
onClick?.(event);
|
|
3787
|
+
if (prefersReducedMotion()) return;
|
|
3788
|
+
try {
|
|
3789
|
+
const rect = event.currentTarget.getBoundingClientRect();
|
|
3790
|
+
const x = rect.left + rect.width / 2;
|
|
3791
|
+
const y = rect.top + rect.height / 2;
|
|
3792
|
+
await confetti({
|
|
3793
|
+
...options,
|
|
3794
|
+
origin: { x: x / window.innerWidth, y: y / window.innerHeight }
|
|
3795
|
+
});
|
|
3796
|
+
} catch (error) {
|
|
3797
|
+
console.error("Confetti button error:", error);
|
|
3798
|
+
}
|
|
3799
|
+
};
|
|
3800
|
+
return /* @__PURE__ */ jsx(Button, { "data-slot": "confetti-button", onClick: handleClick, ...props, children });
|
|
3801
|
+
}
|
|
3802
|
+
ConfettiButtonComponent.displayName = "ConfettiButton";
|
|
3803
|
+
var ConfettiButton = ConfettiButtonComponent;
|
|
3549
3804
|
var BASE_WIDTH = 316;
|
|
3550
3805
|
var BASE_HEIGHT = 190;
|
|
3551
3806
|
var GLASS_FACE = "border border-white/30 bg-white/10 text-white backdrop-blur-md";
|
|
@@ -10569,6 +10824,6 @@ function useIs2xl({
|
|
|
10569
10824
|
return is2xl;
|
|
10570
10825
|
}
|
|
10571
10826
|
|
|
10572
|
-
export { Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AlertTitle, AnchoredToastProvider, AnimatedThemeToggler, AppGalleryLogoIcon, AppStoreButton, AppleLogoIcon, AspectRatio, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarAddButton, AvatarCompanyIcon, AvatarFallback, AvatarGroup, AvatarImage, AvatarLabelGroup, AvatarProfilePhoto, AvatarUploadBase, Badge, BadgeAvatar, BadgeCloseButton, BadgeDot, BadgeFlag, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Group as ButtonGroup, GroupSeparator as ButtonGroupSeparator, GroupText as ButtonGroupText, Card, CardAction, CardPanel as CardContent, CardDescription, CardFooter, CardFrame, CardFrameDescription, CardFrameFooter, CardFrameHeader, CardFrameTitle, CardHeader, CardPanel, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatEmptyState, ChatEmptyStateDescription, ChatEmptyStateIcon, ChatEmptyStateTitle, ChatHeader, ChatHeaderActions, ChatHeaderAvatar, ChatHeaderTitle, ChatInput, ChatMessage, ChatMessageBubble, ChatMessages, ChatSuggestion, ChatSuggestions, ChatToolCard, ChatToolCardActions, ChatToolCardHeader, ChatToolChip, ChatTypingIndicator, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreditCard, DashboardHeader, DashboardPanel, DashboardTopbar, DataTablePaged, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DribbbleLogoIcon, Menu as DropdownMenu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuCreateHandle as DropdownMenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuItem as DropdownMenuItem, MenuGroupLabel as DropdownMenuLabel, MenuPortal as DropdownMenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuSub as DropdownMenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubTrigger as DropdownMenuSubTrigger, MenuTrigger as DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorOrEmptyState, Fab, FacebookLogoIcon, FeaturedIcon, Fieldset, FieldsetLegend, FigmaLogoIcon, ForbiddenErrorState, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GalaxyStoreLogoIcon, GeneralErrorState, GoogleLogoIcon, GooglePlayLogoIcon, Group, GroupSeparator, GroupText, HelpTip, HorizontalScrollFader, HorizontalScrollFaderContent, HorizontalScrollFaderLeftScroller, HorizontalScrollFaderRightScroller, PreviewCard as HoverCard, PreviewCardPopup as HoverCardContent, PreviewCardTrigger as HoverCardTrigger, ImageUploadBase, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InternalServerErrorState, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, LeftScroller, Markdown, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, Menubar, MenuCheckboxItem as MenubarCheckboxItem, MenubarContent, MenuGroup as MenubarGroup, MenuItem as MenubarItem, MenuGroupLabel as MenubarLabel, MenubarMenu, MenuPortal as MenubarPortal, MenuRadioGroup as MenubarRadioGroup, MenuRadioItem as MenubarRadioItem, MenuSeparator as MenubarSeparator, MenuShortcut as MenubarShortcut, MenuSub as MenubarSub, MenuSubPopup as MenubarSubContent, MenuSubTrigger as MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotFoundErrorState, OfflineErrorState, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pipeline, PipelineConversion, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressCircle, ProgressFloatingValue, ProgressHalfCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, QRCodeGradientScan, Radio, RadioGroup, Radio as RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightScroller, ScrollArea, ScrollBar, SectionHeader, SegmentedControl, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, 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, SliderValue, SmoothScroll, SocialButton, Spinner, Stat, StatDescription, StatGroup, StatLabel, StatTrend, StatValue, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, Tag, TagGroup, target_countdown_default as TargetCountdown, TextEditor, ThemeContextOverride, ThemeProvider, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, ToastProvider, Toggle, ToggleGroup, Toggle2 as ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip2 as Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipDescription, TooltipPopup, TooltipProvider, TooltipTitle, TooltipTrigger, UnauthorizedErrorState, VerticalScrollFader, VerticalScrollFaderBottomScroller, VerticalScrollFaderContent, VerticalScrollFaderTopScroller, VideoPlayer, XLogoIcon, anchoredToastManager, appStoreButtonVariants, avatarGroupVariants, avatarVariants, badgeGroupVariants, badgeVariants, chatMessageBubbleVariants, chatMessageVariants, fabVariants, featuredIconVariants, groupVariants, itemVariants, navigationMenuTriggerStyle, qrCodeVariants, script, sectionHeaderDescriptionVariants, sectionHeaderTitleVariants, sheetPopupVariants, sheetViewportVariants, socialButtonVariants, statTrendVariants, statVariants, toastManager, toggleVariants, useAutocompleteFilter, use_callback_ref_default as useCallbackRef, useCarousel, useComboboxFilter, useFirstRender, useHover, useIs2xl, useIsLg, useIsMd, useIsSm, use_is_tab_active_default as useIsTabActive, useIsXl, useMediaQuery, useSidebar, useSmoothWheel, useSubscribeBreakpoints, useTheme, videoPlayerVariants };
|
|
10827
|
+
export { Accordion, AccordionPanel as AccordionContent, AccordionItem, AccordionPanel, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AlertTitle, AnchoredToastProvider, AnimatedCounter, AnimatedThemeToggler, AppGalleryLogoIcon, AppStoreButton, AppleLogoIcon, AspectRatio, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarAddButton, AvatarCompanyIcon, AvatarFallback, AvatarGroup, AvatarImage, AvatarLabelGroup, AvatarProfilePhoto, AvatarUploadBase, Badge, BadgeAvatar, BadgeCloseButton, BadgeDot, BadgeFlag, BadgeGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Group as ButtonGroup, GroupSeparator as ButtonGroupSeparator, GroupText as ButtonGroupText, CONFETTI_COLORS, Card, CardAction, CardPanel as CardContent, CardDescription, CardFooter, CardFrame, CardFrameDescription, CardFrameFooter, CardFrameHeader, CardFrameTitle, CardHeader, CardPanel, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Chat, ChatEmptyState, ChatEmptyStateDescription, ChatEmptyStateIcon, ChatEmptyStateTitle, ChatHeader, ChatHeaderActions, ChatHeaderAvatar, ChatHeaderTitle, ChatInput, ChatMessage, ChatMessageBubble, ChatMessages, ChatSuggestion, ChatSuggestions, ChatToolCard, ChatToolCardActions, ChatToolCardHeader, ChatToolChip, ChatTypingIndicator, Collapsible, CollapsiblePanel as CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, Confetti, ConfettiButton, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CreditCard, DashboardHeader, DashboardPanel, DashboardTopbar, DataTablePaged, DatePicker, DateRangePicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DribbbleLogoIcon, Menu as DropdownMenu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuCreateHandle as DropdownMenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuItem as DropdownMenuItem, MenuGroupLabel as DropdownMenuLabel, MenuPortal as DropdownMenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuSub as DropdownMenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubTrigger as DropdownMenuSubTrigger, MenuTrigger as DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, ErrorOrEmptyState, Fab, FacebookLogoIcon, FeaturedIcon, Fieldset, FieldsetLegend, FigmaLogoIcon, ForbiddenErrorState, Form, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GalaxyStoreLogoIcon, GeneralErrorState, GoogleLogoIcon, GooglePlayLogoIcon, Group, GroupSeparator, GroupText, HelpTip, HorizontalScrollFader, HorizontalScrollFaderContent, HorizontalScrollFaderLeftScroller, HorizontalScrollFaderRightScroller, PreviewCard as HoverCard, PreviewCardPopup as HoverCardContent, PreviewCardTrigger as HoverCardTrigger, ImageUploadBase, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, InternalServerErrorState, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, LeftScroller, Markdown, Menu, MenuCheckboxItem, MenuCreateHandle, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, Menubar, MenuCheckboxItem as MenubarCheckboxItem, MenubarContent, MenuGroup as MenubarGroup, MenuItem as MenubarItem, MenuGroupLabel as MenubarLabel, MenubarMenu, MenuPortal as MenubarPortal, MenuRadioGroup as MenubarRadioGroup, MenuRadioItem as MenubarRadioItem, MenuSeparator as MenubarSeparator, MenuShortcut as MenubarShortcut, MenuSub as MenubarSub, MenuSubPopup as MenubarSubContent, MenuSubTrigger as MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, MultiSelect, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NotFoundErrorState, OfflineErrorState, Pagination, PaginationContent, PaginationControls, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pipeline, PipelineConversion, PreviewCard, PreviewCardPopup, PreviewCardTrigger, Progress, ProgressCircle, ProgressFloatingValue, ProgressHalfCircle, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, QRCodeGradientScan, Radio, RadioGroup, Radio as RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, RightScroller, ScrollArea, ScrollBar, SectionHeader, SegmentedControl, Separator, Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, 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, SliderValue, SmoothScroll, SocialButton, Spinner, Stat, StatDescription, StatGroup, StatLabel, StatTrend, StatValue, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsPanel as TabsContent, TabsList, TabsPanel, TabsTab, TabsTab as TabsTrigger, Tag, TagGroup, target_countdown_default as TargetCountdown, TextEditor, ThemeContextOverride, ThemeProvider, Timeline, TimelineContent, TimelineDescription, TimelineDot, TimelineItem, TimelineTime, TimelineTitle, ToastProvider, Toggle, ToggleGroup, Toggle2 as ToggleGroupItem, ToggleGroupSeparator, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip2 as Tooltip, TooltipPopup as TooltipContent, TooltipCreateHandle, TooltipDescription, TooltipPopup, TooltipProvider, TooltipTitle, TooltipTrigger, UnauthorizedErrorState, VerticalScrollFader, VerticalScrollFaderBottomScroller, VerticalScrollFaderContent, VerticalScrollFaderTopScroller, VideoPlayer, XLogoIcon, anchoredToastManager, appStoreButtonVariants, avatarGroupVariants, avatarVariants, badgeGroupVariants, badgeVariants, chatMessageBubbleVariants, chatMessageVariants, fabVariants, featuredIconVariants, groupVariants, itemVariants, navigationMenuTriggerStyle, qrCodeVariants, script, sectionHeaderDescriptionVariants, sectionHeaderTitleVariants, sheetPopupVariants, sheetViewportVariants, sideCannons, socialButtonVariants, statTrendVariants, statVariants, toastManager, toggleVariants, useAutocompleteFilter, use_callback_ref_default as useCallbackRef, useCarousel, useComboboxFilter, useConfetti, useFirstRender, useHover, useIs2xl, useIsLg, useIsMd, useIsSm, use_is_tab_active_default as useIsTabActive, useIsXl, useMediaQuery, useSidebar, useSmoothWheel, useSubscribeBreakpoints, useTheme, videoPlayerVariants };
|
|
10573
10828
|
//# sourceMappingURL=index.js.map
|
|
10574
10829
|
//# sourceMappingURL=index.js.map
|