@cupcodev/ui 1.0.2 → 1.0.7
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/README.md +144 -93
- package/dist/{charts-KwYmX5He.d.cts → charts-DqY2Q-7w.d.cts} +8 -8
- package/dist/{charts-KwYmX5He.d.ts → charts-DqY2Q-7w.d.ts} +8 -8
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.cts +1 -1
- package/dist/charts.d.ts +1 -1
- package/dist/charts.js +0 -1
- package/dist/index.cjs +1154 -976
- package/dist/index.d.cts +70 -55
- package/dist/index.d.ts +70 -55
- package/dist/index.js +1126 -949
- package/package.json +166 -157
- package/styles/base.css +24 -0
- package/styles/dock.css +875 -858
- package/styles/global.css +1192 -1190
- package/styles/index.css +3 -0
- package/styles/tokens.css +305 -305
- package/tailwind-preset.cjs +192 -192
- package/dist/charts 2.cjs +0 -500
- package/dist/charts 2.js +0 -454
- package/dist/charts-KwYmX5He.d 2.cts +0 -97
- package/dist/charts-KwYmX5He.d 2.ts +0 -97
- package/dist/charts.cjs 2.map +0 -1
- package/dist/charts.cjs.map +0 -1
- package/dist/charts.d 2.cts +0 -11
- package/dist/charts.d 2.ts +0 -11
- package/dist/charts.js 2.map +0 -1
- package/dist/charts.js.map +0 -1
- package/dist/index 2.cjs +0 -6568
- package/dist/index 2.js +0 -6207
- package/dist/index.cjs 2.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d 2.cts +0 -1019
- package/dist/index.d 2.ts +0 -1019
- package/dist/index.js 2.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
|
|
|
15
15
|
import { VariantProps } from 'class-variance-authority';
|
|
16
16
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
17
17
|
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
18
|
-
import { B as ButtonProps } from './charts-
|
|
19
|
-
export { a as Button, c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent, b as buttonVariants } from './charts-
|
|
18
|
+
import { B as ButtonProps } from './charts-DqY2Q-7w.js';
|
|
19
|
+
export { a as Button, c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent, b as buttonVariants } from './charts-DqY2Q-7w.js';
|
|
20
20
|
import { DayPicker } from 'react-day-picker';
|
|
21
21
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
22
22
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
@@ -108,12 +108,12 @@ interface TagGroupProps {
|
|
|
108
108
|
}
|
|
109
109
|
declare const TagGroup: React$1.FC<TagGroupProps>;
|
|
110
110
|
|
|
111
|
-
|
|
111
|
+
type DockItem = {
|
|
112
112
|
id: string;
|
|
113
113
|
label: string;
|
|
114
114
|
icon: ReactNode;
|
|
115
115
|
onClick?: () => void;
|
|
116
|
-
}
|
|
116
|
+
};
|
|
117
117
|
interface DockProps {
|
|
118
118
|
items: DockItem[];
|
|
119
119
|
className?: string;
|
|
@@ -121,7 +121,7 @@ interface DockProps {
|
|
|
121
121
|
declare const Dock: ({ items, className }: DockProps) => react_jsx_runtime.JSX.Element;
|
|
122
122
|
|
|
123
123
|
type DockButton = {
|
|
124
|
-
type:
|
|
124
|
+
type: "link" | "popup";
|
|
125
125
|
label: string;
|
|
126
126
|
href?: string;
|
|
127
127
|
popupId?: string;
|
|
@@ -129,8 +129,11 @@ type DockButton = {
|
|
|
129
129
|
type DockCard = {
|
|
130
130
|
title: string;
|
|
131
131
|
description?: string;
|
|
132
|
-
|
|
132
|
+
iconApiId?: string;
|
|
133
|
+
iconFormat?: "avif" | "webp" | "jpeg" | "png";
|
|
134
|
+
iconQuality?: number;
|
|
133
135
|
buttons?: DockButton[];
|
|
136
|
+
backgroundClass?: string;
|
|
134
137
|
};
|
|
135
138
|
type DockCategory = {
|
|
136
139
|
id: string;
|
|
@@ -141,9 +144,11 @@ type DockCategory = {
|
|
|
141
144
|
href?: string;
|
|
142
145
|
bgImageUrl?: string;
|
|
143
146
|
cards: DockCard[];
|
|
147
|
+
type?: "divider";
|
|
144
148
|
};
|
|
145
149
|
type Props = {
|
|
146
150
|
categories: DockCategory[];
|
|
151
|
+
activeCategoryId?: string;
|
|
147
152
|
};
|
|
148
153
|
declare const DockWrapper: React__default.FC<Props>;
|
|
149
154
|
|
|
@@ -172,7 +177,7 @@ declare class ErrorBoundary extends React__default.Component<ErrorBoundaryProps,
|
|
|
172
177
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
|
173
178
|
componentDidCatch(error: Error, errorInfo: React__default.ErrorInfo): void;
|
|
174
179
|
handleReset: () => void;
|
|
175
|
-
render(): string | number | boolean | Iterable<React__default.ReactNode> | react_jsx_runtime.JSX.Element;
|
|
180
|
+
render(): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
176
181
|
}
|
|
177
182
|
|
|
178
183
|
interface EyebrowProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -213,7 +218,7 @@ type ResponsiveSize = Size | {
|
|
|
213
218
|
lg?: Size;
|
|
214
219
|
xl?: Size;
|
|
215
220
|
};
|
|
216
|
-
declare function useBreakpoint(): "base" | "sm" | "md" | "lg" | "xl";
|
|
221
|
+
declare function useBreakpoint(): "base" | "sm" | "md" | "lg" | "xl" | null;
|
|
217
222
|
declare function responsiveSizeClasses(s: ResponsiveSize, currentBp: 'base' | 'sm' | 'md' | 'lg' | 'xl' | null): "text-[10px] px-3 py-1.5" | "text-xs px-4 py-2" | "text-sm px-4 py-2" | "text-base px-6 py-3" | "text-lg px-8 py-4";
|
|
218
223
|
|
|
219
224
|
type JellyButtonOriginalProps = {
|
|
@@ -269,6 +274,8 @@ interface NavItem {
|
|
|
269
274
|
label: string;
|
|
270
275
|
href: string;
|
|
271
276
|
icon?: React$1.ReactNode;
|
|
277
|
+
onClick?: (event: React$1.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
278
|
+
isActive?: boolean;
|
|
272
279
|
}
|
|
273
280
|
interface NavbarCupcodeProps {
|
|
274
281
|
logo: React$1.ReactNode;
|
|
@@ -278,6 +285,14 @@ interface NavbarCupcodeProps {
|
|
|
278
285
|
}
|
|
279
286
|
declare const NavbarCupcode: React$1.FC<NavbarCupcodeProps>;
|
|
280
287
|
|
|
288
|
+
type MainNavbarProps = {
|
|
289
|
+
ctaLabel?: string;
|
|
290
|
+
ctaHref?: string;
|
|
291
|
+
pathname?: string;
|
|
292
|
+
onNavigate?: (href: string) => void;
|
|
293
|
+
};
|
|
294
|
+
declare const MainNavbar: React.FC<MainNavbarProps>;
|
|
295
|
+
|
|
281
296
|
interface ParticleSystemProps {
|
|
282
297
|
count?: number;
|
|
283
298
|
variant?: "stars" | "comets";
|
|
@@ -364,8 +379,12 @@ interface TextareaFieldProps extends React$1.TextareaHTMLAttributes<HTMLTextArea
|
|
|
364
379
|
}
|
|
365
380
|
declare const TextareaField: React$1.ForwardRefExoticComponent<TextareaFieldProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
366
381
|
|
|
382
|
+
type ThemeMode = "light" | "dark";
|
|
367
383
|
interface ThemeToggleProps {
|
|
368
384
|
className?: string;
|
|
385
|
+
theme?: ThemeMode;
|
|
386
|
+
defaultTheme?: ThemeMode;
|
|
387
|
+
onThemeChange?: (theme: ThemeMode) => void;
|
|
369
388
|
}
|
|
370
389
|
declare const ThemeToggle: React$1.FC<ThemeToggleProps>;
|
|
371
390
|
|
|
@@ -403,9 +422,9 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPri
|
|
|
403
422
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
404
423
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
405
424
|
|
|
406
|
-
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: {
|
|
407
|
-
variant?: "default" | "destructive";
|
|
408
|
-
} & class_variance_authority_types.ClassProp) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
425
|
+
declare const Alert: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
426
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
427
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
409
428
|
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
410
429
|
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
411
430
|
|
|
@@ -433,9 +452,9 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.Ava
|
|
|
433
452
|
declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
|
|
434
453
|
declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
435
454
|
|
|
436
|
-
declare const badgeVariants: (props?: {
|
|
437
|
-
variant?: "
|
|
438
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
455
|
+
declare const badgeVariants: (props?: ({
|
|
456
|
+
variant?: "secondary" | "outline" | "default" | "destructive" | null | undefined;
|
|
457
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
439
458
|
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
440
459
|
}
|
|
441
460
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
@@ -494,8 +513,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
494
513
|
disablePointerSelection?: boolean;
|
|
495
514
|
vimBindings?: boolean;
|
|
496
515
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
497
|
-
|
|
498
|
-
}
|
|
516
|
+
type CommandDialogProps = DialogProps;
|
|
499
517
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
500
518
|
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
|
|
501
519
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
@@ -527,7 +545,7 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
527
545
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
528
546
|
} & {
|
|
529
547
|
asChild?: boolean;
|
|
530
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "
|
|
548
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
531
549
|
heading?: React$1.ReactNode;
|
|
532
550
|
value?: string;
|
|
533
551
|
forceMount?: boolean;
|
|
@@ -703,7 +721,7 @@ declare const InputOTPSlot: React$1.ForwardRefExoticComponent<Omit<React$1.Detai
|
|
|
703
721
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
704
722
|
declare const InputOTPSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
705
723
|
|
|
706
|
-
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
724
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
707
725
|
|
|
708
726
|
declare const MenubarMenu: typeof MenubarPrimitive.Menu;
|
|
709
727
|
declare const MenubarGroup: typeof MenubarPrimitive.Group;
|
|
@@ -734,7 +752,7 @@ declare const MenubarShortcut: {
|
|
|
734
752
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
735
753
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
736
754
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
737
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp) => string;
|
|
755
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
738
756
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
739
757
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
740
758
|
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -777,7 +795,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
777
795
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
778
796
|
|
|
779
797
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
|
|
780
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement |
|
|
798
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLObjectElement | HTMLMapElement | HTMLAnchorElement | HTMLButtonElement | HTMLFormElement | HTMLHeadingElement | HTMLImageElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLSpanElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLinkElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLSlotElement | HTMLScriptElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
781
799
|
className?: string | undefined;
|
|
782
800
|
collapsedSize?: number | undefined;
|
|
783
801
|
collapsible?: boolean | undefined;
|
|
@@ -819,9 +837,9 @@ declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.Di
|
|
|
819
837
|
declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
820
838
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
821
839
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
822
|
-
declare const sheetVariants: (props?: {
|
|
823
|
-
side?: "top" | "right" | "bottom" | "left";
|
|
824
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
840
|
+
declare const sheetVariants: (props?: ({
|
|
841
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
842
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
825
843
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
826
844
|
}
|
|
827
845
|
declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -850,7 +868,7 @@ type SidebarContext = {
|
|
|
850
868
|
isMobile: boolean;
|
|
851
869
|
toggleSidebar: () => void;
|
|
852
870
|
};
|
|
853
|
-
declare const SidebarContext: React$1.Context<SidebarContext>;
|
|
871
|
+
declare const SidebarContext: React$1.Context<SidebarContext | null>;
|
|
854
872
|
declare function useSidebar(): SidebarContext;
|
|
855
873
|
declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
856
874
|
defaultOpen?: boolean;
|
|
@@ -884,10 +902,10 @@ declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
884
902
|
asChild?: boolean;
|
|
885
903
|
isActive?: boolean;
|
|
886
904
|
tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
|
|
887
|
-
} & VariantProps<(props?: {
|
|
888
|
-
variant?: "
|
|
889
|
-
size?: "
|
|
890
|
-
} & class_variance_authority_types.ClassProp) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
905
|
+
} & VariantProps<(props?: ({
|
|
906
|
+
variant?: "outline" | "default" | null | undefined;
|
|
907
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
908
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
891
909
|
declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
892
910
|
asChild?: boolean;
|
|
893
911
|
showOnHover?: boolean;
|
|
@@ -908,8 +926,8 @@ declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivE
|
|
|
908
926
|
|
|
909
927
|
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
910
928
|
|
|
911
|
-
type ToasterProps = React.ComponentProps<typeof Toaster$2>;
|
|
912
|
-
declare const Toaster$1: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
929
|
+
type ToasterProps = React$1.ComponentProps<typeof Toaster$2>;
|
|
930
|
+
declare const Toaster$1: ({ theme, ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
913
931
|
|
|
914
932
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
915
933
|
|
|
@@ -927,15 +945,14 @@ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.Tab
|
|
|
927
945
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
928
946
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
929
947
|
|
|
930
|
-
|
|
931
|
-
}
|
|
948
|
+
type TextareaProps = React$1.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
932
949
|
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
933
950
|
|
|
934
951
|
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
935
952
|
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
936
|
-
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: {
|
|
937
|
-
variant?: "default" | "destructive";
|
|
938
|
-
} & class_variance_authority_types.ClassProp) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
953
|
+
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
954
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
955
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
939
956
|
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
940
957
|
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
941
958
|
declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -945,23 +962,23 @@ type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
|
945
962
|
|
|
946
963
|
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
947
964
|
|
|
948
|
-
declare const toggleVariants: (props?: {
|
|
949
|
-
variant?: "
|
|
950
|
-
size?: "
|
|
951
|
-
} & class_variance_authority_types.ClassProp) => string;
|
|
952
|
-
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
|
|
953
|
-
variant?: "
|
|
954
|
-
size?: "
|
|
955
|
-
} & class_variance_authority_types.ClassProp) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
956
|
-
|
|
957
|
-
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: {
|
|
958
|
-
variant?: "
|
|
959
|
-
size?: "
|
|
960
|
-
} & class_variance_authority_types.ClassProp) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
961
|
-
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: {
|
|
962
|
-
variant?: "
|
|
963
|
-
size?: "
|
|
964
|
-
} & class_variance_authority_types.ClassProp) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
965
|
+
declare const toggleVariants: (props?: ({
|
|
966
|
+
variant?: "outline" | "default" | null | undefined;
|
|
967
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
968
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
969
|
+
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
970
|
+
variant?: "outline" | "default" | null | undefined;
|
|
971
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
972
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
973
|
+
|
|
974
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
975
|
+
variant?: "outline" | "default" | null | undefined;
|
|
976
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
977
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
978
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
979
|
+
variant?: "outline" | "default" | null | undefined;
|
|
980
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
981
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
965
982
|
|
|
966
983
|
type ToasterToast = ToastProps & {
|
|
967
984
|
id: string;
|
|
@@ -1014,6 +1031,4 @@ declare function parseAssetId(input?: string): string | undefined;
|
|
|
1014
1031
|
|
|
1015
1032
|
declare const getMainNavItems: () => NavItem[];
|
|
1016
1033
|
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, DockWrapper, 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, EmptyState, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, Select, SelectContent, SelectField, type SelectFieldProps, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, TelescupImage, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, badgeVariants, buildTelescupImageURL, buildTelescupVideoURL, cn, getMainNavItems, mainDockCategories, navigationMenuTriggerStyle, parseAssetId, responsiveSizeClasses, toast, toggleVariants, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupImage, useTelescupMeta, useToast };
|
|
1034
|
+
export { Accordion, AccordionContent, AccordionCupcode, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, AvatarWithStatus, BackgroundRainbow, BackgroundStars, Badge, type BadgeProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ButtonProps, Calendar, type CalendarProps, Card, CardContent, CardDescription, CardFooter, CardGlass, CardHeader, CardTitle, Checkbox, ChipTag, type ChipTagProps, type ChipVariant, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, AccordionContent$1 as CupcodeAccordionContent, AccordionItem$1 as CupcodeAccordionItem, AccordionTrigger$1 as CupcodeAccordionTrigger, Avatar$1 as CupcodeAvatar, AvatarFallback$1 as CupcodeAvatarFallback, AvatarImage$1 as CupcodeAvatarImage, type StatusType as CupcodeAvatarStatus, Badge$1 as CupcodeBadge, Select$1 as CupcodeSelect, SelectContent$1 as CupcodeSelectContent, SelectGroup$1 as CupcodeSelectGroup, SelectItem$1 as CupcodeSelectItem, SelectTrigger$1 as CupcodeSelectTrigger, SelectValue$1 as CupcodeSelectValue, Skeleton$1 as CupcodeSkeleton, type SkeletonProps as CupcodeSkeletonProps, SkeletonText as CupcodeSkeletonText, Switch$1 as CupcodeSwitch, Tabs$1 as CupcodeTabs, TabsContent$1 as CupcodeTabsContent, TabsList$1 as CupcodeTabsList, TabsTrigger$1 as CupcodeTabsTrigger, TooltipContent$1 as CupcodeTooltipContent, TooltipProvider$1 as CupcodeTooltipProvider, TooltipTrigger$1 as CupcodeTooltipTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Dock, type DockButton, type DockCard, type DockCategory, type DockItem, type DockProps, DockWrapper, 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, EmptyState, ErrorBoundary, Eyebrow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeroTitle, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputField, type InputFieldProps, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, JellyButton, JellyButtonOriginal, type JellyButtonOriginalProps, Label, LoadingScreen, LoadingSpinner, type LoadingSpinnerProps, MainNavbar, type MainNavbarProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, type NavItem, NavbarCupcode, type NavbarCupcodeProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, ParticleSystem, Popover, PopoverContent, PopoverTrigger, PricingCard, Progress, ProgressCupcode, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, type ResponsiveSize, ScrollArea, ScrollBar, Select, SelectContent, SelectField, type SelectFieldProps, 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, Toaster$1 as SonnerToaster, type StatusType, Switch, SwitchField, type SwitchFieldProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagGroup, type TagGroupProps, TelescupImage, TelescupVideo, Textarea, TextareaField, type TextareaFieldProps, type TextareaProps, ThemeToggle, Timeline, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastCupcode, type ToastCupcodeProps, ToastDescription, type ToastProps, ToastProvider, ToastTitle, type ToastVariant, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipCupcode, TooltipProvider, TooltipTrigger, badgeVariants, buildTelescupImageURL, buildTelescupVideoURL, cn, getMainNavItems, navigationMenuTriggerStyle, parseAssetId, responsiveSizeClasses, toast, toggleVariants, useBreakpoint, useFormField, useIsMobile, useSidebar, useTelescupImage, useTelescupMeta, useToast };
|