@momo-webplatform/mobase 0.0.45 → 0.2.2
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/cjs/index.cjs +932 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +199 -136
- package/dist/esm/index.d.ts +199 -136
- package/dist/esm/index.js +913 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +31 -30
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
import { AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, AccordionTriggerProps, AccordionContentProps } from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -19,38 +19,40 @@ import * as SelectPrimitive from '@radix-ui/react-select';
|
|
|
19
19
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
20
20
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
21
21
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
22
|
+
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
23
|
+
import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
|
|
22
24
|
import * as tailwindcss_types_config from 'tailwindcss/types/config';
|
|
23
25
|
|
|
24
26
|
type AccordionRootInterface = AccordionSingleProps | AccordionMultipleProps;
|
|
25
|
-
declare const Accordion: React.ForwardRefExoticComponent<AccordionRootInterface & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
declare const Accordion: React$1.ForwardRefExoticComponent<AccordionRootInterface & React$1.RefAttributes<HTMLDivElement>>;
|
|
26
28
|
interface AccordionItemInterface extends AccordionItemProps {
|
|
27
29
|
css?: string;
|
|
28
30
|
}
|
|
29
|
-
declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemInterface & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemInterface & React$1.RefAttributes<HTMLDivElement>>;
|
|
30
32
|
interface AccordionTriggerInterface extends AccordionTriggerProps {
|
|
31
33
|
css?: string;
|
|
32
34
|
}
|
|
33
|
-
declare const AccordionTrigger: React.ForwardRefExoticComponent<AccordionTriggerInterface & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerInterface & React$1.RefAttributes<HTMLButtonElement>>;
|
|
34
36
|
interface AccordionContentInterface extends AccordionContentProps {
|
|
35
37
|
css?: string;
|
|
36
38
|
}
|
|
37
|
-
declare const AccordionContent: React.ForwardRefExoticComponent<AccordionContentInterface & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentInterface & React$1.RefAttributes<HTMLDivElement>>;
|
|
38
40
|
|
|
39
|
-
declare const Breadcrumb: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
40
|
-
separator?: React.ReactNode;
|
|
41
|
-
} & React.RefAttributes<HTMLElement>>;
|
|
42
|
-
declare const BreadcrumbList: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
43
|
-
declare const BreadcrumbItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
44
|
-
declare const BreadcrumbLink: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
41
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
42
|
+
separator?: React$1.ReactNode;
|
|
43
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
44
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
45
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
46
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
45
47
|
asChild?: boolean | undefined;
|
|
46
|
-
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
47
|
-
declare const BreadcrumbPage: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
48
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
49
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
48
50
|
declare const BreadcrumbSeparator: {
|
|
49
|
-
({ children, className, ...props }: React.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
51
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
50
52
|
displayName: string;
|
|
51
53
|
};
|
|
52
54
|
declare const BreadcrumbEllipsis: {
|
|
53
|
-
({ className, ...props }: React.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
55
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
54
56
|
displayName: string;
|
|
55
57
|
};
|
|
56
58
|
|
|
@@ -58,7 +60,7 @@ declare const buttonVariants: (props?: ({
|
|
|
58
60
|
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
59
61
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
60
62
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
61
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
63
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
62
64
|
/**
|
|
63
65
|
* CSS class to be appended to the root element.
|
|
64
66
|
*/
|
|
@@ -76,7 +78,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, Var
|
|
|
76
78
|
*/
|
|
77
79
|
isDisabled?: boolean;
|
|
78
80
|
}
|
|
79
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
81
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
80
82
|
|
|
81
83
|
declare const createCheckboxScope: _radix_ui_react_context.CreateScope;
|
|
82
84
|
type CheckedState = boolean | "indeterminate";
|
|
@@ -96,17 +98,17 @@ interface CheckboxIndicatorProps extends PrimitiveSpanProps {
|
|
|
96
98
|
*/
|
|
97
99
|
forceMount?: true;
|
|
98
100
|
}
|
|
99
|
-
declare const CheckboxIndicator: React.ForwardRefExoticComponent<CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
100
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
101
|
-
declare const Root: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
102
|
-
declare const Indicator: React.ForwardRefExoticComponent<CheckboxIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
|
101
|
+
declare const CheckboxIndicator: React$1.ForwardRefExoticComponent<CheckboxIndicatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
102
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
103
|
+
declare const Root: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
104
|
+
declare const Indicator: React$1.ForwardRefExoticComponent<CheckboxIndicatorProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
103
105
|
|
|
104
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
105
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
106
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
107
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
108
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
109
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
106
|
+
declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
|
|
107
|
+
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
108
|
+
declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
109
|
+
declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
110
|
+
declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
111
|
+
declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
110
112
|
/**
|
|
111
113
|
* Determines whether the close button should be positioned on the right side.
|
|
112
114
|
*/
|
|
@@ -127,13 +129,13 @@ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitiv
|
|
|
127
129
|
* Open full screen dialog in mobile
|
|
128
130
|
*/
|
|
129
131
|
isFull?: boolean | undefined;
|
|
130
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
132
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
131
133
|
declare const DialogHeader: {
|
|
132
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
134
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
133
135
|
displayName: string;
|
|
134
136
|
};
|
|
135
137
|
declare const DialogBody: {
|
|
136
|
-
({ className, isCondensed, ...props }: React.HTMLAttributes<HTMLDivElement> & {
|
|
138
|
+
({ className, isCondensed, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
137
139
|
/**
|
|
138
140
|
* Determines whether the dialog body should be condensed.
|
|
139
141
|
*/
|
|
@@ -142,13 +144,13 @@ declare const DialogBody: {
|
|
|
142
144
|
displayName: string;
|
|
143
145
|
};
|
|
144
146
|
declare const DialogFooter: {
|
|
145
|
-
({ className, isDivider, ...props }: React.HTMLAttributes<HTMLDivElement> & {
|
|
147
|
+
({ className, isDivider, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
146
148
|
isDivider?: boolean | undefined;
|
|
147
149
|
}): react_jsx_runtime.JSX.Element;
|
|
148
150
|
displayName: string;
|
|
149
151
|
};
|
|
150
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
151
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
152
|
+
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
153
|
+
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
152
154
|
|
|
153
155
|
/**
|
|
154
156
|
* Props for the DialogQr component.
|
|
@@ -182,9 +184,9 @@ interface DialogQrProps extends DialogProps$1 {
|
|
|
182
184
|
}
|
|
183
185
|
declare const DialogQr: ({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps) => react_jsx_runtime.JSX.Element;
|
|
184
186
|
|
|
185
|
-
declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
186
|
-
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
187
|
-
declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
187
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
188
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
189
|
+
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
188
190
|
type DialogProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>;
|
|
189
191
|
interface AlertDialogProps extends Omit<DialogProps, "modal"> {
|
|
190
192
|
}
|
|
@@ -211,26 +213,26 @@ interface AlertDialogDescriptionProps extends DialogDescriptionProps {
|
|
|
211
213
|
type DialogContentProps = Radix.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>;
|
|
212
214
|
interface AlertDialogContentProps extends Omit<DialogContentProps, "onPointerDownOutside" | "onInteractOutside"> {
|
|
213
215
|
}
|
|
214
|
-
declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
215
|
-
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
216
|
+
declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
217
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
216
218
|
declare const AlertDialogHeader: {
|
|
217
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
219
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
218
220
|
displayName: string;
|
|
219
221
|
};
|
|
220
222
|
declare const AlertDialogFooter: {
|
|
221
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
223
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
222
224
|
displayName: string;
|
|
223
225
|
};
|
|
224
|
-
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
225
|
-
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
226
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
227
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
226
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
227
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
228
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
229
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
228
230
|
|
|
229
231
|
declare const iconButtonVariants: (props?: ({
|
|
230
232
|
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
231
233
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
232
234
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
233
|
-
interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
235
|
+
interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
234
236
|
/**
|
|
235
237
|
* CSS class to be appended to the root element.
|
|
236
238
|
*/
|
|
@@ -244,7 +246,7 @@ interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
244
246
|
*/
|
|
245
247
|
isDisabled?: boolean;
|
|
246
248
|
}
|
|
247
|
-
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
249
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
248
250
|
|
|
249
251
|
interface PaginationProps {
|
|
250
252
|
/**
|
|
@@ -262,12 +264,12 @@ interface PaginationProps {
|
|
|
262
264
|
}
|
|
263
265
|
declare function Pagination({ current, total, onChange, }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
264
266
|
|
|
265
|
-
declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
|
|
266
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
267
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
267
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
268
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
269
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
268
270
|
|
|
269
|
-
declare const Tabs: React.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
270
|
-
declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
271
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
272
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
271
273
|
/**
|
|
272
274
|
* Control the size of the tabs list..
|
|
273
275
|
*/
|
|
@@ -276,9 +278,9 @@ declare const TabsList: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsL
|
|
|
276
278
|
* The direction of navigation between toolbar items.
|
|
277
279
|
*/
|
|
278
280
|
isDivider?: boolean | undefined;
|
|
279
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
280
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
281
|
-
declare const TabsContent: React.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
281
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
282
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
283
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
282
284
|
|
|
283
285
|
interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
284
286
|
label?: string;
|
|
@@ -287,19 +289,19 @@ interface TextAreaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
|
287
289
|
inputClassName?: string;
|
|
288
290
|
size?: 1 | 2;
|
|
289
291
|
}
|
|
290
|
-
declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
292
|
+
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
291
293
|
|
|
292
|
-
declare const Toast$1: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
294
|
+
declare const Toast$1: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
293
295
|
variant?: "sucess" | "warning" | "error" | null | undefined;
|
|
294
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
295
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
296
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
297
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
296
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
|
|
297
|
+
declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
298
|
+
type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast$1>;
|
|
299
|
+
type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
|
|
298
300
|
|
|
299
301
|
type ToasterToast = ToastProps & {
|
|
300
302
|
id: string;
|
|
301
|
-
title?: React.ReactNode;
|
|
302
|
-
description?: React.ReactNode;
|
|
303
|
+
title?: React$1.ReactNode;
|
|
304
|
+
description?: React$1.ReactNode;
|
|
303
305
|
action?: ToastActionElement;
|
|
304
306
|
};
|
|
305
307
|
type Toast = Omit<ToasterToast, "id">;
|
|
@@ -320,7 +322,7 @@ declare const textButtonVariants: (props?: ({
|
|
|
320
322
|
variant?: "default" | "primary" | "secondary" | null | undefined;
|
|
321
323
|
size?: "default" | "lg" | null | undefined;
|
|
322
324
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
323
|
-
interface TextButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof textButtonVariants> {
|
|
325
|
+
interface TextButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof textButtonVariants> {
|
|
324
326
|
/**
|
|
325
327
|
* CSS class to be appended to the root element.
|
|
326
328
|
*/
|
|
@@ -334,17 +336,17 @@ interface TextButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
|
334
336
|
*/
|
|
335
337
|
isDisabled?: boolean;
|
|
336
338
|
}
|
|
337
|
-
declare const TextButton: React.ForwardRefExoticComponent<TextButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
339
|
+
declare const TextButton: React$1.ForwardRefExoticComponent<TextButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
338
340
|
|
|
339
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
340
|
-
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
341
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
342
|
-
declare const TooltipArrow: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React.RefAttributes<SVGSVGElement>, "ref"> & {
|
|
341
|
+
declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
342
|
+
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
343
|
+
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
344
|
+
declare const TooltipArrow: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>, "ref"> & {
|
|
343
345
|
className?: string | undefined;
|
|
344
|
-
} & React.RefAttributes<SVGSVGElement>>;
|
|
345
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
346
|
+
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
347
|
+
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
346
348
|
type?: "dark" | "light" | undefined;
|
|
347
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
349
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
348
350
|
|
|
349
351
|
interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
350
352
|
label?: string;
|
|
@@ -355,7 +357,7 @@ interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
355
357
|
size?: 1 | 2;
|
|
356
358
|
onClickClear?: (inputValue: string) => void;
|
|
357
359
|
}
|
|
358
|
-
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
360
|
+
declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
359
361
|
|
|
360
362
|
interface StepperProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
361
363
|
value?: number;
|
|
@@ -370,36 +372,36 @@ interface StepperProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
370
372
|
onDecrement?: (inputValue: number | string) => void;
|
|
371
373
|
onIncrement?: (inputValue: number | string) => void;
|
|
372
374
|
}
|
|
373
|
-
declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLInputElement>>;
|
|
375
|
+
declare const Stepper: React$1.ForwardRefExoticComponent<StepperProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
374
376
|
|
|
375
|
-
declare const Select: React.ForwardRefExoticComponent<SelectPrimitive.SelectProps & {
|
|
377
|
+
declare const Select: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectProps & {
|
|
376
378
|
className?: string | undefined;
|
|
377
379
|
label?: string | null | undefined;
|
|
378
380
|
message?: string | null | undefined;
|
|
379
381
|
size?: 2 | 1 | undefined;
|
|
380
382
|
isError?: boolean | undefined;
|
|
381
|
-
} & React.RefAttributes<never>>;
|
|
382
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
383
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
384
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
385
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
386
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
387
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
388
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
389
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
390
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
391
|
-
|
|
392
|
-
declare const NavigationMenu: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
393
|
-
declare const NavigationMenuList: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
394
|
-
declare const NavigationMenuItem: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
383
|
+
} & React$1.RefAttributes<never>>;
|
|
384
|
+
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
385
|
+
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
386
|
+
declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
387
|
+
declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
388
|
+
declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
389
|
+
declare const SelectGroup: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
390
|
+
declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
391
|
+
declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
392
|
+
declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
393
|
+
|
|
394
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
395
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
396
|
+
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
395
397
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_dist_types.ClassProp | undefined) => string;
|
|
396
|
-
declare const NavigationMenuTrigger: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
397
|
-
declare const NavigationMenuContent: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
|
-
declare const NavigationMenuLink: React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
399
|
-
declare const NavigationMenuViewport: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
-
declare const NavigationMenuIndicator: React.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
399
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
401
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
402
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
401
403
|
|
|
402
|
-
declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
404
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
403
405
|
|
|
404
406
|
declare const radioGroupVariants: (props?: ({
|
|
405
407
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
@@ -408,8 +410,8 @@ interface RadioGroupProps extends VariantProps<typeof radioGroupVariants> {
|
|
|
408
410
|
className?: string;
|
|
409
411
|
disabled?: boolean;
|
|
410
412
|
}
|
|
411
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
412
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
413
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & RadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
414
|
+
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
413
415
|
|
|
414
416
|
interface ComponentData {
|
|
415
417
|
title: string;
|
|
@@ -452,7 +454,7 @@ interface HeaderProps {
|
|
|
452
454
|
*/
|
|
453
455
|
serviceInfo: ServiceInfo;
|
|
454
456
|
}
|
|
455
|
-
declare const Header: React.MemoExoticComponent<({ className, dataMenu, serviceInfo }: HeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
457
|
+
declare const Header: React$1.MemoExoticComponent<({ className, dataMenu, serviceInfo }: HeaderProps) => react_jsx_runtime.JSX.Element>;
|
|
456
458
|
|
|
457
459
|
interface FooterItem {
|
|
458
460
|
title: string;
|
|
@@ -473,14 +475,14 @@ interface footerProps {
|
|
|
473
475
|
*/
|
|
474
476
|
dataMenu?: FooterData;
|
|
475
477
|
}
|
|
476
|
-
declare const Footer: React.MemoExoticComponent<({ className, dataMenu }: footerProps) => react_jsx_runtime.JSX.Element>;
|
|
478
|
+
declare const Footer: React$1.MemoExoticComponent<({ className, dataMenu }: footerProps) => react_jsx_runtime.JSX.Element>;
|
|
477
479
|
|
|
478
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
479
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
480
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
481
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
482
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
483
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
480
|
+
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
481
|
+
declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
482
|
+
declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
483
|
+
declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
484
|
+
declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
485
|
+
declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
484
486
|
|
|
485
487
|
interface ItemProps {
|
|
486
488
|
isActive?: boolean;
|
|
@@ -488,9 +490,9 @@ interface ItemProps {
|
|
|
488
490
|
interface InputProps {
|
|
489
491
|
onClickClear?: (value: string) => void;
|
|
490
492
|
}
|
|
491
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
492
|
-
children?: React.ReactNode;
|
|
493
|
-
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
493
|
+
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
494
|
+
children?: React$1.ReactNode;
|
|
495
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
494
496
|
label?: string | undefined;
|
|
495
497
|
shouldFilter?: boolean | undefined;
|
|
496
498
|
filter?: ((value: string, search: string) => number) | undefined;
|
|
@@ -499,55 +501,55 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
|
499
501
|
onValueChange?: ((value: string) => void) | undefined;
|
|
500
502
|
loop?: boolean | undefined;
|
|
501
503
|
vimBindings?: boolean | undefined;
|
|
502
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
504
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
503
505
|
interface CommandDialogProps extends DialogProps$1 {
|
|
504
506
|
}
|
|
505
507
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
506
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type"> & {
|
|
508
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type"> & {
|
|
507
509
|
value?: string | undefined;
|
|
508
510
|
onValueChange?: ((search: string) => void) | undefined;
|
|
509
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> & InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
510
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
511
|
-
children?: React.ReactNode;
|
|
512
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
513
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
514
|
-
children?: React.ReactNode;
|
|
515
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
516
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
517
|
-
children?: React.ReactNode;
|
|
518
|
-
} & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
519
|
-
heading?: React.ReactNode;
|
|
511
|
+
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
512
|
+
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
513
|
+
children?: React$1.ReactNode;
|
|
514
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
515
|
+
declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
516
|
+
children?: React$1.ReactNode;
|
|
517
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
518
|
+
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
519
|
+
children?: React$1.ReactNode;
|
|
520
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
521
|
+
heading?: React$1.ReactNode;
|
|
520
522
|
value?: string | undefined;
|
|
521
523
|
forceMount?: boolean | undefined;
|
|
522
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
523
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
524
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
525
|
+
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
524
526
|
alwaysRender?: boolean | undefined;
|
|
525
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
526
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
527
|
-
children?: React.ReactNode;
|
|
528
|
-
} & Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "onSelect" | "disabled"> & {
|
|
527
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
528
|
+
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
529
|
+
children?: React$1.ReactNode;
|
|
530
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "onSelect" | "disabled"> & {
|
|
529
531
|
disabled?: boolean | undefined;
|
|
530
532
|
onSelect?: ((value: string) => void) | undefined;
|
|
531
533
|
value?: string | undefined;
|
|
532
534
|
forceMount?: boolean | undefined;
|
|
533
|
-
} & React.RefAttributes<HTMLDivElement>, "ref"> & ItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
535
|
+
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & ItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
534
536
|
declare const CommandShortcut: {
|
|
535
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
537
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
536
538
|
displayName: string;
|
|
537
539
|
};
|
|
538
540
|
|
|
539
|
-
interface ComboboxTriggerProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
541
|
+
interface ComboboxTriggerProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
540
542
|
className?: string;
|
|
541
543
|
value?: string;
|
|
542
544
|
label?: string;
|
|
543
545
|
children: any;
|
|
544
546
|
placeholder?: string;
|
|
545
547
|
}
|
|
546
|
-
interface ComboboxContentProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
548
|
+
interface ComboboxContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
547
549
|
children?: any;
|
|
548
550
|
className?: string;
|
|
549
551
|
}
|
|
550
|
-
interface ComboboxProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Popover> {
|
|
552
|
+
interface ComboboxProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Popover> {
|
|
551
553
|
}
|
|
552
554
|
declare const ComboboxTrigger: ({ className, value, label, children, placeholder, }: ComboboxTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
553
555
|
declare const ComboboxContent: ({ children, className, }: ComboboxContentProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -562,20 +564,20 @@ interface CalloutProps {
|
|
|
562
564
|
disabled?: boolean;
|
|
563
565
|
actionClassName?: string;
|
|
564
566
|
}
|
|
565
|
-
declare const Callout: React.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
|
|
567
|
+
declare const Callout: React$1.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
|
|
566
568
|
typeDiv?: "warning" | "error" | "neutral" | "success" | "info" | null | undefined;
|
|
567
569
|
disabled?: boolean | null | undefined;
|
|
568
570
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & VariantProps<(props?: ({
|
|
569
571
|
typeIcon?: "warning" | "error" | "neutral" | "success" | "info" | null | undefined;
|
|
570
572
|
disabled?: boolean | null | undefined;
|
|
571
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
573
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
572
574
|
|
|
573
575
|
interface SearchBarProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
574
576
|
inputClassName?: string;
|
|
575
577
|
size?: 1 | 2;
|
|
576
578
|
onClickClear?: (inputValue: string) => void;
|
|
577
579
|
}
|
|
578
|
-
declare const SearchBar: React.ForwardRefExoticComponent<SearchBarProps & React.RefAttributes<HTMLInputElement>>;
|
|
580
|
+
declare const SearchBar: React$1.ForwardRefExoticComponent<SearchBarProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
579
581
|
|
|
580
582
|
interface LightboxThumbnailProps extends React__default.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger> {
|
|
581
583
|
children?: ReactNode;
|
|
@@ -641,10 +643,69 @@ declare const ChoiceboxGroup: ({ direction, label, type, value, children, disabl
|
|
|
641
643
|
declare const badgeVariants: (props?: ({
|
|
642
644
|
variant?: "default" | "secondary" | "outline" | "danger" | null | undefined;
|
|
643
645
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
644
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
646
|
+
interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
645
647
|
}
|
|
646
648
|
declare function Badge({ className, variant, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
647
649
|
|
|
650
|
+
interface ProgressBarProps {
|
|
651
|
+
variant?: "progress" | "success" | "disabled" | "empty";
|
|
652
|
+
size?: "small" | "medium" | "large";
|
|
653
|
+
disabled?: boolean;
|
|
654
|
+
}
|
|
655
|
+
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & ProgressBarProps & VariantProps<(props?: ({
|
|
656
|
+
variant?: "progress" | "disabled" | "success" | "empty" | null | undefined;
|
|
657
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
658
|
+
|
|
659
|
+
interface HeroContentProps {
|
|
660
|
+
template?: 1 | 2 | 3 | 4 | 5 | string;
|
|
661
|
+
className?: string;
|
|
662
|
+
data?: DataPropsContent;
|
|
663
|
+
dataCtas?: HeroContentCTAPrimaryProps[];
|
|
664
|
+
dataFeatures?: HeroContentListFeatureProps;
|
|
665
|
+
}
|
|
666
|
+
interface DataPropsContent {
|
|
667
|
+
title: string;
|
|
668
|
+
description?: string;
|
|
669
|
+
tagName?: string;
|
|
670
|
+
listFeature?: string[];
|
|
671
|
+
media?: HeroContentMediaProps;
|
|
672
|
+
}
|
|
673
|
+
interface HeroContentCTAPrimaryProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
674
|
+
className?: string;
|
|
675
|
+
asChild?: boolean;
|
|
676
|
+
isLoading?: boolean;
|
|
677
|
+
isDisabled?: boolean;
|
|
678
|
+
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | any;
|
|
679
|
+
url?: string;
|
|
680
|
+
content?: string;
|
|
681
|
+
onClickCTA?: () => void;
|
|
682
|
+
isQRCode?: boolean;
|
|
683
|
+
}
|
|
684
|
+
interface HeroContentListFeatureProps {
|
|
685
|
+
contents: {
|
|
686
|
+
title: string;
|
|
687
|
+
label: string;
|
|
688
|
+
icon: string;
|
|
689
|
+
}[];
|
|
690
|
+
type: "row" | "col" | "customize" | any;
|
|
691
|
+
}
|
|
692
|
+
interface HeroContentMediaProps {
|
|
693
|
+
type: 1 | 2 | number;
|
|
694
|
+
url?: string;
|
|
695
|
+
src: string;
|
|
696
|
+
ratioImg?: number;
|
|
697
|
+
onClickFC?: () => void;
|
|
698
|
+
className?: string;
|
|
699
|
+
video?: {
|
|
700
|
+
codeVideo: string;
|
|
701
|
+
titleVideo: string;
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
declare const HeroSection: React__default.ForwardRefExoticComponent<HeroContentProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
706
|
+
|
|
707
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
708
|
+
|
|
648
709
|
/**
|
|
649
710
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
650
711
|
*
|
|
@@ -656,4 +717,6 @@ declare const mobaseTW: () => {
|
|
|
656
717
|
config?: Partial<tailwindcss_types_config.Config> | undefined;
|
|
657
718
|
};
|
|
658
719
|
|
|
659
|
-
|
|
720
|
+
declare const SiteMeta: () => react_jsx_runtime.JSX.Element;
|
|
721
|
+
|
|
722
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, AlertDialog, AlertDialogAction, type AlertDialogActionProps, AlertDialogCancel, type AlertDialogCancelProps, AlertDialogContent, type AlertDialogContentProps, AlertDialogDescription, type AlertDialogDescriptionProps, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, type AlertDialogOverlayProps, AlertDialogPortal, type AlertDialogPortalProps, type AlertDialogProps, AlertDialogTitle, type AlertDialogTitleProps, AlertDialogTrigger, type AlertDialogTriggerProps, AspectRatio, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxIndicator, type CheckboxIndicatorProps, type CheckboxProps, ChoiceboxGroup, ChoiceboxGroupItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger, Footer, Header, HeroSection, IconButton, type IconButtonProps, Indicator, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, Root, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, createCheckboxScope, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|