@tapcart/mobile-components 0.2.1 → 0.2.3
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.mts +221 -0
- package/dist/index.mjs +1003 -0
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +0 -32
- package/package.json +9 -7
- package/dist/components/ThemeProvider.d.ts +0 -3
- package/dist/components/ThemeProvider.d.ts.map +0 -1
- package/dist/components/ThemeProvider.js +0 -18
- package/dist/components/ThemeToggle.d.ts +0 -2
- package/dist/components/ThemeToggle.d.ts.map +0 -1
- package/dist/components/ThemeToggle.js +0 -8
- package/dist/components/ui/accordion.d.ts +0 -8
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js +0 -34
- package/dist/components/ui/alert-dialog.d.ts +0 -21
- package/dist/components/ui/alert-dialog.d.ts.map +0 -1
- package/dist/components/ui/alert-dialog.js +0 -62
- package/dist/components/ui/aspect-ratio.d.ts +0 -5
- package/dist/components/ui/aspect-ratio.d.ts.map +0 -1
- package/dist/components/ui/aspect-ratio.js +0 -4
- package/dist/components/ui/badge.d.ts +0 -10
- package/dist/components/ui/badge.d.ts.map +0 -1
- package/dist/components/ui/badge.js +0 -32
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js +0 -52
- package/dist/components/ui/carousel.d.ts +0 -19
- package/dist/components/ui/carousel.d.ts.map +0 -1
- package/dist/components/ui/carousel.js +0 -112
- package/dist/components/ui/chip.d.ts +0 -25
- package/dist/components/ui/chip.d.ts.map +0 -1
- package/dist/components/ui/chip.js +0 -50
- package/dist/components/ui/container.d.ts +0 -10
- package/dist/components/ui/container.d.ts.map +0 -1
- package/dist/components/ui/container.js +0 -26
- package/dist/components/ui/grid.d.ts +0 -14
- package/dist/components/ui/grid.d.ts.map +0 -1
- package/dist/components/ui/grid.js +0 -33
- package/dist/components/ui/input.d.ts +0 -14
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/input.js +0 -34
- package/dist/components/ui/label.d.ts +0 -6
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/label.js +0 -24
- package/dist/components/ui/money.d.ts +0 -12
- package/dist/components/ui/money.d.ts.map +0 -1
- package/dist/components/ui/money.js +0 -30
- package/dist/components/ui/scroll-area.d.ts +0 -9
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js +0 -29
- package/dist/components/ui/separator.d.ts +0 -5
- package/dist/components/ui/separator.d.ts.map +0 -1
- package/dist/components/ui/separator.js +0 -22
- package/dist/components/ui/skeleton.d.ts +0 -4
- package/dist/components/ui/skeleton.d.ts.map +0 -1
- package/dist/components/ui/skeleton.js +0 -18
- package/dist/components/ui/switch.d.ts +0 -5
- package/dist/components/ui/switch.d.ts.map +0 -1
- package/dist/components/ui/switch.js +0 -22
- package/dist/components/ui/text.d.ts +0 -10
- package/dist/components/ui/text.d.ts.map +0 -1
- package/dist/components/ui/text.js +0 -33
- package/dist/components/ui/toast.d.ts +0 -16
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toast.js +0 -61
- package/dist/components/ui/toaster.d.ts +0 -2
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/toaster.js +0 -22
- package/dist/components/ui/toggle-group.d.ts +0 -13
- package/dist/components/ui/toggle-group.d.ts.map +0 -1
- package/dist/components/ui/toggle-group.js +0 -36
- package/dist/components/ui/toggle.d.ts +0 -13
- package/dist/components/ui/toggle.d.ts.map +0 -1
- package/dist/components/ui/toggle.js +0 -40
- package/dist/components/ui/use-toast.d.ts +0 -45
- package/dist/components/ui/use-toast.d.ts.map +0 -1
- package/dist/components/ui/use-toast.js +0 -112
- package/dist/components/ui/video.d.ts +0 -8
- package/dist/components/ui/video.d.ts.map +0 -1
- package/dist/components/ui/video.js +0 -22
- package/dist/index.d.ts +0 -26
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -27
- package/dist/lib/utils.d.ts +0 -5
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/lib/utils.js +0 -24
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
6
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
7
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
8
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
9
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
10
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
11
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
12
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
13
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
14
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
15
|
+
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
16
|
+
import { ClassValue } from 'clsx';
|
|
17
|
+
|
|
18
|
+
declare const buttonVariants: (props?: ({
|
|
19
|
+
size?: "default" | "sm" | "lg" | "icon" | "content" | null | undefined;
|
|
20
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "quickadd" | "applePay" | "shopPay" | null | undefined;
|
|
21
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
22
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
23
|
+
asChild?: boolean;
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
27
|
+
|
|
28
|
+
declare const inputVariants: (props?: ({
|
|
29
|
+
error?: boolean | null | undefined;
|
|
30
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
31
|
+
interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
|
|
32
|
+
id: string;
|
|
33
|
+
label?: string;
|
|
34
|
+
icon?: string;
|
|
35
|
+
asChild?: boolean;
|
|
36
|
+
}
|
|
37
|
+
declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
38
|
+
|
|
39
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
40
|
+
|
|
41
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React$1.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
43
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
44
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
|
|
46
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
47
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
48
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
49
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
50
|
+
type CarouselProps = {
|
|
51
|
+
opts?: CarouselOptions;
|
|
52
|
+
plugins?: CarouselPlugin;
|
|
53
|
+
orientation?: "horizontal" | "vertical";
|
|
54
|
+
setApi?: (api: CarouselApi) => void;
|
|
55
|
+
};
|
|
56
|
+
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
57
|
+
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
58
|
+
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
59
|
+
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
60
|
+
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
61
|
+
|
|
62
|
+
declare const containerVariants: (props?: ({
|
|
63
|
+
variant?: "spaced" | null | undefined;
|
|
64
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
65
|
+
interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
|
|
66
|
+
}
|
|
67
|
+
declare function Container({ className, variant, ...props }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
69
|
+
interface GridType {
|
|
70
|
+
className: any;
|
|
71
|
+
children: React$1.ReactNode;
|
|
72
|
+
}
|
|
73
|
+
declare const gridVariants: (props?: ({
|
|
74
|
+
columns?: 1 | 2 | 3 | 4 | null | undefined;
|
|
75
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
76
|
+
interface GridProps extends GridType, VariantProps<typeof gridVariants> {
|
|
77
|
+
}
|
|
78
|
+
declare function Grid({ className, columns, ...props }: GridProps): react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_dist_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
81
|
+
|
|
82
|
+
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
|
+
|
|
84
|
+
declare const badgeVariants: (props?: ({
|
|
85
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
86
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
87
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
88
|
+
}
|
|
89
|
+
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
90
|
+
|
|
91
|
+
declare const videoVariants: (props?: ({} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
92
|
+
interface VideoProps extends React$1.HTMLAttributes<HTMLVideoElement>, VariantProps<typeof videoVariants> {
|
|
93
|
+
}
|
|
94
|
+
declare function Video({ className, ...props }: VideoProps): react_jsx_runtime.JSX.Element;
|
|
95
|
+
|
|
96
|
+
interface MoneyType {
|
|
97
|
+
currency: string;
|
|
98
|
+
locale: string;
|
|
99
|
+
price: number;
|
|
100
|
+
}
|
|
101
|
+
declare const moneyVariants: (props?: ({} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
102
|
+
interface MoneyProps extends MoneyType, VariantProps<typeof moneyVariants> {
|
|
103
|
+
}
|
|
104
|
+
declare function Money({ price, locale, currency, ...props }: MoneyProps): react_jsx_runtime.JSX.Element;
|
|
105
|
+
|
|
106
|
+
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare const textVariants: (props?: ({
|
|
109
|
+
type?: "body" | "h1" | "h2" | "label" | "paragraph" | null | undefined;
|
|
110
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
111
|
+
interface TextProps extends React$1.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof textVariants> {
|
|
112
|
+
}
|
|
113
|
+
declare function Text({ className, type, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
114
|
+
|
|
115
|
+
declare const toggleVariants: (props?: ({
|
|
116
|
+
variant?: "default" | "outline" | null | undefined;
|
|
117
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
118
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
119
|
+
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<TogglePrimitive.ToggleProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
120
|
+
variant?: "default" | "outline" | null | undefined;
|
|
121
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
122
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
123
|
+
|
|
124
|
+
declare const ToggleGroup: React$1.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
|
|
125
|
+
variant?: "default" | "outline" | null | undefined;
|
|
126
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
127
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string>) & React$1.RefAttributes<HTMLDivElement>>;
|
|
128
|
+
declare const ToggleGroupItem: React$1.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
129
|
+
variant?: "default" | "outline" | null | undefined;
|
|
130
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
131
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
132
|
+
|
|
133
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
134
|
+
|
|
135
|
+
type Orientation = "horizontal" | "vertical";
|
|
136
|
+
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
138
|
+
orientation?: Orientation | undefined;
|
|
139
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
140
|
+
|
|
141
|
+
declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
|
|
142
|
+
declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
143
|
+
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
144
|
+
variant?: "default" | "destructive" | null | undefined;
|
|
145
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
146
|
+
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
147
|
+
declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
148
|
+
declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
149
|
+
declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
150
|
+
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
151
|
+
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
152
|
+
|
|
153
|
+
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
154
|
+
|
|
155
|
+
declare const chipVariants: (props?: ({
|
|
156
|
+
variant?: "secondary" | "primary" | null | undefined;
|
|
157
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
158
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
159
|
+
type ChipProps = React__default.ComponentPropsWithoutRef<'div'> & VariantProps<typeof chipVariants> & {
|
|
160
|
+
icon?: React__default.ElementType;
|
|
161
|
+
iconPosition?: 'left' | 'right';
|
|
162
|
+
onClose?: () => void;
|
|
163
|
+
};
|
|
164
|
+
declare const Chip: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
165
|
+
variant?: "secondary" | "primary" | null | undefined;
|
|
166
|
+
direction?: "horizontal" | "vertical" | null | undefined;
|
|
167
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & {
|
|
168
|
+
icon?: React__default.ElementType<any> | undefined;
|
|
169
|
+
iconPosition?: "left" | "right" | undefined;
|
|
170
|
+
onClose?: (() => void) | undefined;
|
|
171
|
+
} & React__default.RefAttributes<HTMLDivElement>>;
|
|
172
|
+
type MultipleChipsProps = {
|
|
173
|
+
children: React__default.ReactElement<ChipProps>[];
|
|
174
|
+
};
|
|
175
|
+
declare const MultipleChips: React__default.FC<MultipleChipsProps>;
|
|
176
|
+
|
|
177
|
+
type ToasterToast = ToastProps & {
|
|
178
|
+
id: string;
|
|
179
|
+
title?: React$1.ReactNode;
|
|
180
|
+
description?: React$1.ReactNode;
|
|
181
|
+
action?: ToastActionElement;
|
|
182
|
+
};
|
|
183
|
+
declare const actionTypes: {
|
|
184
|
+
readonly ADD_TOAST: "ADD_TOAST";
|
|
185
|
+
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
186
|
+
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
187
|
+
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
188
|
+
};
|
|
189
|
+
type ActionType = typeof actionTypes;
|
|
190
|
+
type Action = {
|
|
191
|
+
type: ActionType["ADD_TOAST"];
|
|
192
|
+
toast: ToasterToast;
|
|
193
|
+
} | {
|
|
194
|
+
type: ActionType["UPDATE_TOAST"];
|
|
195
|
+
toast: Partial<ToasterToast>;
|
|
196
|
+
} | {
|
|
197
|
+
type: ActionType["DISMISS_TOAST"];
|
|
198
|
+
toastId?: ToasterToast["id"];
|
|
199
|
+
} | {
|
|
200
|
+
type: ActionType["REMOVE_TOAST"];
|
|
201
|
+
toastId?: ToasterToast["id"];
|
|
202
|
+
};
|
|
203
|
+
interface State {
|
|
204
|
+
toasts: ToasterToast[];
|
|
205
|
+
}
|
|
206
|
+
declare const reducer: (state: State, action: Action) => State;
|
|
207
|
+
type Toast = Omit<ToasterToast, "id">;
|
|
208
|
+
declare function toast({ ...props }: Toast): {
|
|
209
|
+
id: string;
|
|
210
|
+
dismiss: () => void;
|
|
211
|
+
update: (props: ToasterToast) => void;
|
|
212
|
+
};
|
|
213
|
+
declare function useToast(): {
|
|
214
|
+
toast: typeof toast;
|
|
215
|
+
dismiss: (toastId?: string) => void;
|
|
216
|
+
toasts: ToasterToast[];
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
220
|
+
|
|
221
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AspectRatio, Badge, type BadgeProps, Button, type ButtonProps, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Chip, Container, type ContainerProps, Grid, type GridProps, Input, type InputProps, Label, Money, type MoneyProps, MultipleChips, ScrollArea, ScrollBar, Separator, Skeleton, Switch, Text, type TextProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Video, type VideoProps, badgeVariants, buttonVariants, cn, containerVariants, gridVariants, moneyVariants, reducer, textVariants, toast, toggleVariants, useToast, videoVariants };
|