@momo-webplatform/mobase 0.2.34 → 0.2.36
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 +15 -15
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +82 -54
- package/dist/esm/index.d.ts +82 -54
- package/dist/esm/index.js +15 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +5 -4
package/dist/cjs/index.d.cts
CHANGED
|
@@ -4,12 +4,12 @@ import { AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, Accor
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
|
+
import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog';
|
|
7
9
|
import { DayPicker } from 'react-day-picker';
|
|
8
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
9
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
10
12
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
11
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
12
|
-
import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog';
|
|
13
13
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
14
14
|
import * as Radix from '@radix-ui/react-primitive';
|
|
15
15
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -39,24 +39,6 @@ interface AccordionContentInterface extends AccordionContentProps {
|
|
|
39
39
|
}
|
|
40
40
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentInterface & React$1.RefAttributes<HTMLDivElement>>;
|
|
41
41
|
|
|
42
|
-
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
43
|
-
separator?: React$1.ReactNode;
|
|
44
|
-
} & React$1.RefAttributes<HTMLElement>>;
|
|
45
|
-
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
46
|
-
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
47
|
-
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
48
|
-
asChild?: boolean | undefined;
|
|
49
|
-
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
50
|
-
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
51
|
-
declare const BreadcrumbSeparator: {
|
|
52
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
53
|
-
displayName: string;
|
|
54
|
-
};
|
|
55
|
-
declare const BreadcrumbEllipsis: {
|
|
56
|
-
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
57
|
-
displayName: string;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
42
|
declare const buttonVariants: (props?: ({
|
|
61
43
|
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
62
44
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -81,6 +63,84 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
81
63
|
}
|
|
82
64
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
83
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Props for the DialogQr component.
|
|
68
|
+
*/
|
|
69
|
+
interface DialogQrProps extends DialogProps$1 {
|
|
70
|
+
/**
|
|
71
|
+
* The title of the dialog QR.
|
|
72
|
+
*/
|
|
73
|
+
title?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The short title of the step 3 in dialog QR.
|
|
76
|
+
*/
|
|
77
|
+
shortTitle?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The image URL for the QR code.
|
|
80
|
+
*/
|
|
81
|
+
qrImage?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The link associated with the QR code.
|
|
84
|
+
*/
|
|
85
|
+
qrLink?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The logo image URL for the QR code.
|
|
88
|
+
*/
|
|
89
|
+
logoQr?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates whether the QR code is all in one.
|
|
92
|
+
*/
|
|
93
|
+
isQrForAll?: boolean;
|
|
94
|
+
className?: string;
|
|
95
|
+
}
|
|
96
|
+
declare const DialogQr: ({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps) => react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface ActionButtonProps extends ButtonProps {
|
|
99
|
+
/**
|
|
100
|
+
* Action to be performed when the button is clicked.
|
|
101
|
+
*/
|
|
102
|
+
action?: string | (() => void) | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Opens a new tab when href link.
|
|
105
|
+
*/
|
|
106
|
+
newTab?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Offset top when use button scroll to element.
|
|
109
|
+
*/
|
|
110
|
+
offset?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Props to pass to the DialogQr component. If this prop is provided, the button will open a dialog with a QR code. qrLink in DialogQrProps is required.
|
|
113
|
+
*/
|
|
114
|
+
dialogQrProps?: Partial<DialogQrProps>;
|
|
115
|
+
/**
|
|
116
|
+
* CSS class to be appended to the root element.
|
|
117
|
+
*/
|
|
118
|
+
className?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The content for button.
|
|
121
|
+
*/
|
|
122
|
+
children?: React__default.ReactNode;
|
|
123
|
+
}
|
|
124
|
+
declare const ActionButton: ({ action, newTab, offset, dialogQrProps, className, children, ...props }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
127
|
+
separator?: React$1.ReactNode;
|
|
128
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
129
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
130
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
131
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
132
|
+
asChild?: boolean | undefined;
|
|
133
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
134
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
135
|
+
declare const BreadcrumbSeparator: {
|
|
136
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
137
|
+
displayName: string;
|
|
138
|
+
};
|
|
139
|
+
declare const BreadcrumbEllipsis: {
|
|
140
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
141
|
+
displayName: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
84
144
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
|
|
85
145
|
/**
|
|
86
146
|
* Enable show luna date in calendar cell
|
|
@@ -163,7 +223,7 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
|
|
|
163
223
|
/**
|
|
164
224
|
* Position of the modal window
|
|
165
225
|
*/
|
|
166
|
-
position?: "center" | "
|
|
226
|
+
position?: "center" | "left" | "right" | "bottom" | undefined;
|
|
167
227
|
/**
|
|
168
228
|
* Determines whether the close button hide or not
|
|
169
229
|
*/
|
|
@@ -199,38 +259,6 @@ declare const DialogFooter: {
|
|
|
199
259
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
200
260
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
201
261
|
|
|
202
|
-
/**
|
|
203
|
-
* Props for the DialogQr component.
|
|
204
|
-
*/
|
|
205
|
-
interface DialogQrProps extends DialogProps$1 {
|
|
206
|
-
/**
|
|
207
|
-
* The title of the dialog QR.
|
|
208
|
-
*/
|
|
209
|
-
title?: string;
|
|
210
|
-
/**
|
|
211
|
-
* The short title of the step 3 in dialog QR.
|
|
212
|
-
*/
|
|
213
|
-
shortTitle?: string;
|
|
214
|
-
/**
|
|
215
|
-
* The image URL for the QR code.
|
|
216
|
-
*/
|
|
217
|
-
qrImage?: string;
|
|
218
|
-
/**
|
|
219
|
-
* The link associated with the QR code.
|
|
220
|
-
*/
|
|
221
|
-
qrLink?: string;
|
|
222
|
-
/**
|
|
223
|
-
* The logo image URL for the QR code.
|
|
224
|
-
*/
|
|
225
|
-
logoQr?: string;
|
|
226
|
-
/**
|
|
227
|
-
* Indicates whether the QR code is all in one.
|
|
228
|
-
*/
|
|
229
|
-
isQrForAll?: boolean;
|
|
230
|
-
className?: string;
|
|
231
|
-
}
|
|
232
|
-
declare const DialogQr: ({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps) => react_jsx_runtime.JSX.Element;
|
|
233
|
-
|
|
234
262
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
235
263
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
236
264
|
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -858,4 +886,4 @@ declare const mobaseTW: () => {
|
|
|
858
886
|
|
|
859
887
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
860
888
|
|
|
861
|
-
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, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|
|
889
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, 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, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ import { AccordionSingleProps, AccordionMultipleProps, AccordionItemProps, Accor
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
|
+
import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog';
|
|
7
9
|
import { DayPicker } from 'react-day-picker';
|
|
8
10
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
9
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
10
12
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
11
|
-
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
12
|
-
import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog';
|
|
13
13
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
14
14
|
import * as Radix from '@radix-ui/react-primitive';
|
|
15
15
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -39,24 +39,6 @@ interface AccordionContentInterface extends AccordionContentProps {
|
|
|
39
39
|
}
|
|
40
40
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentInterface & React$1.RefAttributes<HTMLDivElement>>;
|
|
41
41
|
|
|
42
|
-
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
43
|
-
separator?: React$1.ReactNode;
|
|
44
|
-
} & React$1.RefAttributes<HTMLElement>>;
|
|
45
|
-
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
46
|
-
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
47
|
-
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
48
|
-
asChild?: boolean | undefined;
|
|
49
|
-
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
50
|
-
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
51
|
-
declare const BreadcrumbSeparator: {
|
|
52
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
53
|
-
displayName: string;
|
|
54
|
-
};
|
|
55
|
-
declare const BreadcrumbEllipsis: {
|
|
56
|
-
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
57
|
-
displayName: string;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
42
|
declare const buttonVariants: (props?: ({
|
|
61
43
|
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
62
44
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
@@ -81,6 +63,84 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
81
63
|
}
|
|
82
64
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
83
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Props for the DialogQr component.
|
|
68
|
+
*/
|
|
69
|
+
interface DialogQrProps extends DialogProps$1 {
|
|
70
|
+
/**
|
|
71
|
+
* The title of the dialog QR.
|
|
72
|
+
*/
|
|
73
|
+
title?: string;
|
|
74
|
+
/**
|
|
75
|
+
* The short title of the step 3 in dialog QR.
|
|
76
|
+
*/
|
|
77
|
+
shortTitle?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The image URL for the QR code.
|
|
80
|
+
*/
|
|
81
|
+
qrImage?: string;
|
|
82
|
+
/**
|
|
83
|
+
* The link associated with the QR code.
|
|
84
|
+
*/
|
|
85
|
+
qrLink?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The logo image URL for the QR code.
|
|
88
|
+
*/
|
|
89
|
+
logoQr?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Indicates whether the QR code is all in one.
|
|
92
|
+
*/
|
|
93
|
+
isQrForAll?: boolean;
|
|
94
|
+
className?: string;
|
|
95
|
+
}
|
|
96
|
+
declare const DialogQr: ({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps) => react_jsx_runtime.JSX.Element;
|
|
97
|
+
|
|
98
|
+
interface ActionButtonProps extends ButtonProps {
|
|
99
|
+
/**
|
|
100
|
+
* Action to be performed when the button is clicked.
|
|
101
|
+
*/
|
|
102
|
+
action?: string | (() => void) | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Opens a new tab when href link.
|
|
105
|
+
*/
|
|
106
|
+
newTab?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Offset top when use button scroll to element.
|
|
109
|
+
*/
|
|
110
|
+
offset?: number;
|
|
111
|
+
/**
|
|
112
|
+
* Props to pass to the DialogQr component. If this prop is provided, the button will open a dialog with a QR code. qrLink in DialogQrProps is required.
|
|
113
|
+
*/
|
|
114
|
+
dialogQrProps?: Partial<DialogQrProps>;
|
|
115
|
+
/**
|
|
116
|
+
* CSS class to be appended to the root element.
|
|
117
|
+
*/
|
|
118
|
+
className?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The content for button.
|
|
121
|
+
*/
|
|
122
|
+
children?: React__default.ReactNode;
|
|
123
|
+
}
|
|
124
|
+
declare const ActionButton: ({ action, newTab, offset, dialogQrProps, className, children, ...props }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
|
|
125
|
+
|
|
126
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
127
|
+
separator?: React$1.ReactNode;
|
|
128
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
129
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
130
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
131
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
132
|
+
asChild?: boolean | undefined;
|
|
133
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
134
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
135
|
+
declare const BreadcrumbSeparator: {
|
|
136
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
137
|
+
displayName: string;
|
|
138
|
+
};
|
|
139
|
+
declare const BreadcrumbEllipsis: {
|
|
140
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
141
|
+
displayName: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
84
144
|
type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
|
|
85
145
|
/**
|
|
86
146
|
* Enable show luna date in calendar cell
|
|
@@ -163,7 +223,7 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
|
|
|
163
223
|
/**
|
|
164
224
|
* Position of the modal window
|
|
165
225
|
*/
|
|
166
|
-
position?: "center" | "
|
|
226
|
+
position?: "center" | "left" | "right" | "bottom" | undefined;
|
|
167
227
|
/**
|
|
168
228
|
* Determines whether the close button hide or not
|
|
169
229
|
*/
|
|
@@ -199,38 +259,6 @@ declare const DialogFooter: {
|
|
|
199
259
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
200
260
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
201
261
|
|
|
202
|
-
/**
|
|
203
|
-
* Props for the DialogQr component.
|
|
204
|
-
*/
|
|
205
|
-
interface DialogQrProps extends DialogProps$1 {
|
|
206
|
-
/**
|
|
207
|
-
* The title of the dialog QR.
|
|
208
|
-
*/
|
|
209
|
-
title?: string;
|
|
210
|
-
/**
|
|
211
|
-
* The short title of the step 3 in dialog QR.
|
|
212
|
-
*/
|
|
213
|
-
shortTitle?: string;
|
|
214
|
-
/**
|
|
215
|
-
* The image URL for the QR code.
|
|
216
|
-
*/
|
|
217
|
-
qrImage?: string;
|
|
218
|
-
/**
|
|
219
|
-
* The link associated with the QR code.
|
|
220
|
-
*/
|
|
221
|
-
qrLink?: string;
|
|
222
|
-
/**
|
|
223
|
-
* The logo image URL for the QR code.
|
|
224
|
-
*/
|
|
225
|
-
logoQr?: string;
|
|
226
|
-
/**
|
|
227
|
-
* Indicates whether the QR code is all in one.
|
|
228
|
-
*/
|
|
229
|
-
isQrForAll?: boolean;
|
|
230
|
-
className?: string;
|
|
231
|
-
}
|
|
232
|
-
declare const DialogQr: ({ className, children, title, shortTitle, qrImage, qrLink, logoQr, isQrForAll, ...props }: DialogQrProps) => react_jsx_runtime.JSX.Element;
|
|
233
|
-
|
|
234
262
|
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
235
263
|
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
236
264
|
declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
|
|
@@ -858,4 +886,4 @@ declare const mobaseTW: () => {
|
|
|
858
886
|
|
|
859
887
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
860
888
|
|
|
861
|
-
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, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, DialogTitle, DialogTrigger, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|
|
889
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, 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, Calendar, type CalendarProps, Callout, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ChoiceboxGroup, ChoiceboxGroupItem, ChoiceboxMultiItem, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, HeroSection, IconButton, type IconButtonProps, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|