@momo-webplatform/mobase 0.2.37 → 0.2.39
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 +48 -16
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +250 -140
- package/dist/esm/index.d.ts +232 -122
- package/dist/esm/index.js +47 -15
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -7,6 +7,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
7
7
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
8
|
import { DialogProps as DialogProps$1 } from '@radix-ui/react-dialog';
|
|
9
9
|
import { DayPicker } from 'react-day-picker';
|
|
10
|
+
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
10
11
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
11
12
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
12
13
|
import { PopoverProps } from '@radix-ui/react-popover';
|
|
@@ -129,7 +130,7 @@ declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.Detaile
|
|
|
129
130
|
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
130
131
|
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
131
132
|
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
132
|
-
asChild?: boolean
|
|
133
|
+
asChild?: boolean;
|
|
133
134
|
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
134
135
|
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
135
136
|
declare const BreadcrumbSeparator: {
|
|
@@ -160,7 +161,45 @@ declare namespace Calendar {
|
|
|
160
161
|
var displayName: string;
|
|
161
162
|
}
|
|
162
163
|
|
|
163
|
-
declare const
|
|
164
|
+
declare const iconButtonVariants: (props?: ({
|
|
165
|
+
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
166
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
167
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
168
|
+
interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
169
|
+
/**
|
|
170
|
+
* CSS class to be appended to the root element.
|
|
171
|
+
*/
|
|
172
|
+
className?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
175
|
+
*/
|
|
176
|
+
asChild?: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* Disabled interaction and applies disabled styles
|
|
179
|
+
*/
|
|
180
|
+
isDisabled?: boolean;
|
|
181
|
+
}
|
|
182
|
+
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
183
|
+
|
|
184
|
+
type CarouselApi = UseEmblaCarouselType[1];
|
|
185
|
+
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
186
|
+
type CarouselOptions = UseCarouselParameters[0];
|
|
187
|
+
type CarouselPlugin = UseCarouselParameters[1];
|
|
188
|
+
type CarouselProps = {
|
|
189
|
+
opts?: CarouselOptions;
|
|
190
|
+
plugins?: CarouselPlugin;
|
|
191
|
+
orientation?: "horizontal" | "vertical";
|
|
192
|
+
setApi?: (api: CarouselApi) => void;
|
|
193
|
+
};
|
|
194
|
+
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
195
|
+
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
+
declare const CarouselItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
197
|
+
declare const CarouselPrevious: React$1.ForwardRefExoticComponent<Omit<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
198
|
+
declare const CarouselNext: React$1.ForwardRefExoticComponent<Omit<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
199
|
+
|
|
200
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
|
|
201
|
+
size?: "large" | "medium" | null | undefined;
|
|
202
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
164
203
|
|
|
165
204
|
type DatePickerProps = {
|
|
166
205
|
/**
|
|
@@ -215,27 +254,27 @@ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimit
|
|
|
215
254
|
/**
|
|
216
255
|
* Determines whether the close button should be positioned on the right side.
|
|
217
256
|
*/
|
|
218
|
-
positionRightCloseBtn?: boolean
|
|
257
|
+
positionRightCloseBtn?: boolean;
|
|
219
258
|
/**
|
|
220
259
|
* Size of the modal window
|
|
221
260
|
*/
|
|
222
|
-
size?: "sm" | "
|
|
261
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
223
262
|
/**
|
|
224
263
|
* Position of the modal window
|
|
225
264
|
*/
|
|
226
|
-
position?: "center" | "left" | "right" | "bottom"
|
|
265
|
+
position?: "center" | "left" | "right" | "bottom";
|
|
227
266
|
/**
|
|
228
267
|
* Determines whether the close button hide or not
|
|
229
268
|
*/
|
|
230
|
-
hideCloseBtn?: boolean
|
|
269
|
+
hideCloseBtn?: boolean;
|
|
231
270
|
/**
|
|
232
271
|
* Height of the modal window
|
|
233
272
|
*/
|
|
234
|
-
height?: "
|
|
273
|
+
height?: "auto" | "small" | "large" | "full";
|
|
235
274
|
/**
|
|
236
275
|
* Open full screen dialog in mobile
|
|
237
276
|
*/
|
|
238
|
-
isFull?: boolean
|
|
277
|
+
isFull?: boolean;
|
|
239
278
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
240
279
|
declare const DialogHeader: {
|
|
241
280
|
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
@@ -246,13 +285,13 @@ declare const DialogBody: {
|
|
|
246
285
|
/**
|
|
247
286
|
* Determines whether the dialog body should be condensed.
|
|
248
287
|
*/
|
|
249
|
-
isCondensed?: boolean
|
|
288
|
+
isCondensed?: boolean;
|
|
250
289
|
}): react_jsx_runtime.JSX.Element;
|
|
251
290
|
displayName: string;
|
|
252
291
|
};
|
|
253
292
|
declare const DialogFooter: {
|
|
254
293
|
({ className, isDivider, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
255
|
-
isDivider?: boolean
|
|
294
|
+
isDivider?: boolean;
|
|
256
295
|
}): react_jsx_runtime.JSX.Element;
|
|
257
296
|
displayName: string;
|
|
258
297
|
};
|
|
@@ -303,26 +342,6 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
|
|
|
303
342
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
304
343
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
305
344
|
|
|
306
|
-
declare const iconButtonVariants: (props?: ({
|
|
307
|
-
variant?: "primary" | "secondary" | "outline" | "tonal" | "danger" | "transparent" | null | undefined;
|
|
308
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
309
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
310
|
-
interface IconButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
311
|
-
/**
|
|
312
|
-
* CSS class to be appended to the root element.
|
|
313
|
-
*/
|
|
314
|
-
className?: string;
|
|
315
|
-
/**
|
|
316
|
-
* Change the default rendered element for the one passed as a child, merging their props and behavior.
|
|
317
|
-
*/
|
|
318
|
-
asChild?: boolean;
|
|
319
|
-
/**
|
|
320
|
-
* Disabled interaction and applies disabled styles
|
|
321
|
-
*/
|
|
322
|
-
isDisabled?: boolean;
|
|
323
|
-
}
|
|
324
|
-
declare const IconButton: React$1.ForwardRefExoticComponent<IconButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
325
|
-
|
|
326
345
|
interface HeadingGroupProps {
|
|
327
346
|
/**
|
|
328
347
|
* CSS class to be appended to the root element.
|
|
@@ -441,11 +460,11 @@ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.Tab
|
|
|
441
460
|
/**
|
|
442
461
|
* Control the size of the tabs list..
|
|
443
462
|
*/
|
|
444
|
-
size?: "base" | "sm"
|
|
463
|
+
size?: "base" | "sm";
|
|
445
464
|
/**
|
|
446
465
|
* The direction of navigation between toolbar items.
|
|
447
466
|
*/
|
|
448
|
-
isDivider?: boolean
|
|
467
|
+
isDivider?: boolean;
|
|
449
468
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
450
469
|
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
451
470
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -510,10 +529,10 @@ declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>
|
|
|
510
529
|
declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
|
|
511
530
|
declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
512
531
|
declare const TooltipArrow: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>, "ref"> & {
|
|
513
|
-
className?: string
|
|
532
|
+
className?: string;
|
|
514
533
|
} & React$1.RefAttributes<SVGSVGElement>>;
|
|
515
534
|
declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
516
|
-
type?: "dark" | "light"
|
|
535
|
+
type?: "dark" | "light";
|
|
517
536
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
518
537
|
|
|
519
538
|
interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
@@ -527,6 +546,133 @@ interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
527
546
|
}
|
|
528
547
|
declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
529
548
|
|
|
549
|
+
interface HeadingBlockProps {
|
|
550
|
+
/**
|
|
551
|
+
* ALign the heading.
|
|
552
|
+
*/
|
|
553
|
+
align?: "center" | "left" | "right";
|
|
554
|
+
/**
|
|
555
|
+
* The tagline content.
|
|
556
|
+
*/
|
|
557
|
+
tagline?: string;
|
|
558
|
+
/**
|
|
559
|
+
* The title content.
|
|
560
|
+
*/
|
|
561
|
+
title?: string;
|
|
562
|
+
/**
|
|
563
|
+
* The description content.
|
|
564
|
+
*/
|
|
565
|
+
description?: string;
|
|
566
|
+
/**
|
|
567
|
+
* HTML Tag heading. Default is "h2".
|
|
568
|
+
*/
|
|
569
|
+
tagHeading?: "h1" | "h2";
|
|
570
|
+
/**
|
|
571
|
+
* The color scheme of the heading block.
|
|
572
|
+
*/
|
|
573
|
+
colorScheme?: "regular" | "pink" | "white";
|
|
574
|
+
/**
|
|
575
|
+
* The size of the heading.
|
|
576
|
+
*/
|
|
577
|
+
sizeHeading?: "small" | "large";
|
|
578
|
+
/**
|
|
579
|
+
* CSS class to be appended to the root element heading.
|
|
580
|
+
*/
|
|
581
|
+
className?: string;
|
|
582
|
+
}
|
|
583
|
+
interface dataButton extends ActionButtonProps {
|
|
584
|
+
/**
|
|
585
|
+
* Button name.
|
|
586
|
+
*/
|
|
587
|
+
btnName: string;
|
|
588
|
+
}
|
|
589
|
+
interface ButtonsBlockProps {
|
|
590
|
+
/**
|
|
591
|
+
* CSS class to be appended to the root element.
|
|
592
|
+
*/
|
|
593
|
+
className?: string;
|
|
594
|
+
/**
|
|
595
|
+
* ALign the button.
|
|
596
|
+
*/
|
|
597
|
+
align?: "center" | "left" | "right";
|
|
598
|
+
/**
|
|
599
|
+
* Button is full width in mobile.
|
|
600
|
+
*/
|
|
601
|
+
isFullInMobile?: boolean;
|
|
602
|
+
/**
|
|
603
|
+
* Button group data.
|
|
604
|
+
*/
|
|
605
|
+
buttons?: dataButton[];
|
|
606
|
+
}
|
|
607
|
+
interface SectionBlockProps {
|
|
608
|
+
/**
|
|
609
|
+
* Id of the section.
|
|
610
|
+
*/
|
|
611
|
+
idSection?: string | undefined;
|
|
612
|
+
/**
|
|
613
|
+
* CSS class to be appended to the root element.
|
|
614
|
+
*/
|
|
615
|
+
className?: string;
|
|
616
|
+
/**
|
|
617
|
+
* Input the color code or image url according to CSS syntax.
|
|
618
|
+
*/
|
|
619
|
+
background?: string;
|
|
620
|
+
/**
|
|
621
|
+
* The children of the section.
|
|
622
|
+
*/
|
|
623
|
+
children?: React.ReactNode;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
interface TestimonialData {
|
|
627
|
+
/**
|
|
628
|
+
* Avatar of the testimonial.
|
|
629
|
+
*/
|
|
630
|
+
avatar?: string;
|
|
631
|
+
/**
|
|
632
|
+
* Name of the testimonial.
|
|
633
|
+
*/
|
|
634
|
+
name?: string;
|
|
635
|
+
/**
|
|
636
|
+
* Position of the testimonial.
|
|
637
|
+
*/
|
|
638
|
+
position?: string;
|
|
639
|
+
/**
|
|
640
|
+
* Short title of the testimonial.
|
|
641
|
+
*/
|
|
642
|
+
shortTitle?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Description of the testimonial.
|
|
645
|
+
*/
|
|
646
|
+
description?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Rating of the testimonial. value from 1 to 5. Default is 5.
|
|
649
|
+
*/
|
|
650
|
+
rating?: number;
|
|
651
|
+
/**
|
|
652
|
+
* Date of the testimonial.
|
|
653
|
+
*/
|
|
654
|
+
date?: string;
|
|
655
|
+
}
|
|
656
|
+
interface TestimonialSectionProps extends SectionBlockProps {
|
|
657
|
+
/**
|
|
658
|
+
* The template of the section.
|
|
659
|
+
*/
|
|
660
|
+
template?: 1 | 2;
|
|
661
|
+
/**
|
|
662
|
+
* The data heading of the section.
|
|
663
|
+
*/
|
|
664
|
+
dataHeading?: HeadingBlockProps;
|
|
665
|
+
/**
|
|
666
|
+
* The array data testimonials of the section.
|
|
667
|
+
*/
|
|
668
|
+
dataTestimonials?: TestimonialData[];
|
|
669
|
+
/**
|
|
670
|
+
* The data buttons of the section.
|
|
671
|
+
*/
|
|
672
|
+
dataButtons?: ButtonsBlockProps;
|
|
673
|
+
}
|
|
674
|
+
declare const TestimonialSection: ({ template, background, className, idSection, dataHeading, dataTestimonials, dataButtons, }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element;
|
|
675
|
+
|
|
530
676
|
interface StepperProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
531
677
|
value?: number;
|
|
532
678
|
min?: number;
|
|
@@ -543,11 +689,11 @@ interface StepperProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
543
689
|
declare const Stepper: React$1.ForwardRefExoticComponent<StepperProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
544
690
|
|
|
545
691
|
declare const Select: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectProps & {
|
|
546
|
-
className?: string
|
|
547
|
-
label?: string | null
|
|
548
|
-
message?: string | null
|
|
549
|
-
size?:
|
|
550
|
-
isError?: boolean
|
|
692
|
+
className?: string;
|
|
693
|
+
label?: string | null;
|
|
694
|
+
message?: string | null;
|
|
695
|
+
size?: 1 | 2;
|
|
696
|
+
isError?: boolean;
|
|
551
697
|
} & React$1.RefAttributes<never>>;
|
|
552
698
|
declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
553
699
|
declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -561,7 +707,7 @@ declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrim
|
|
|
561
707
|
|
|
562
708
|
type AlignDropdown = "left" | "right" | "center";
|
|
563
709
|
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
564
|
-
alignDropdown?: AlignDropdown
|
|
710
|
+
alignDropdown?: AlignDropdown;
|
|
565
711
|
} & React$1.RefAttributes<HTMLElement>>;
|
|
566
712
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
567
713
|
declare const NavigationMenuItem: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
@@ -572,7 +718,9 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
|
|
|
572
718
|
|
|
573
719
|
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
574
720
|
|
|
575
|
-
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> &
|
|
721
|
+
declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
|
|
722
|
+
size?: "large" | "medium" | null | undefined;
|
|
723
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
576
724
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
577
725
|
|
|
578
726
|
interface ComponentData {
|
|
@@ -679,21 +827,21 @@ interface InputProps {
|
|
|
679
827
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
680
828
|
children?: React$1.ReactNode;
|
|
681
829
|
} & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
682
|
-
label?: string
|
|
683
|
-
shouldFilter?: boolean
|
|
684
|
-
filter?: (
|
|
685
|
-
defaultValue?: string
|
|
686
|
-
value?: string
|
|
687
|
-
onValueChange?: (
|
|
688
|
-
loop?: boolean
|
|
689
|
-
vimBindings?: boolean
|
|
830
|
+
label?: string;
|
|
831
|
+
shouldFilter?: boolean;
|
|
832
|
+
filter?: (value: string, search: string) => number;
|
|
833
|
+
defaultValue?: string;
|
|
834
|
+
value?: string;
|
|
835
|
+
onValueChange?: (value: string) => void;
|
|
836
|
+
loop?: boolean;
|
|
837
|
+
vimBindings?: boolean;
|
|
690
838
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
691
839
|
interface CommandDialogProps extends DialogProps$1 {
|
|
692
840
|
}
|
|
693
841
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
694
842
|
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type"> & {
|
|
695
|
-
value?: string
|
|
696
|
-
onValueChange?: (
|
|
843
|
+
value?: string;
|
|
844
|
+
onValueChange?: (search: string) => void;
|
|
697
845
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
698
846
|
declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
|
|
699
847
|
children?: React$1.ReactNode;
|
|
@@ -705,19 +853,19 @@ declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
705
853
|
children?: React$1.ReactNode;
|
|
706
854
|
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "heading"> & {
|
|
707
855
|
heading?: React$1.ReactNode;
|
|
708
|
-
value?: string
|
|
709
|
-
forceMount?: boolean
|
|
856
|
+
value?: string;
|
|
857
|
+
forceMount?: boolean;
|
|
710
858
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
711
859
|
declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement> & {
|
|
712
|
-
alwaysRender?: boolean
|
|
860
|
+
alwaysRender?: boolean;
|
|
713
861
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
714
862
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
715
863
|
children?: React$1.ReactNode;
|
|
716
864
|
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "value" | "onSelect" | "disabled"> & {
|
|
717
|
-
disabled?: boolean
|
|
718
|
-
onSelect?: (
|
|
719
|
-
value?: string
|
|
720
|
-
forceMount?: boolean
|
|
865
|
+
disabled?: boolean;
|
|
866
|
+
onSelect?: (value: string) => void;
|
|
867
|
+
value?: string;
|
|
868
|
+
forceMount?: boolean;
|
|
721
869
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & ItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
722
870
|
declare const CommandShortcut: {
|
|
723
871
|
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
@@ -800,7 +948,7 @@ declare const ChoiceboxGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupP
|
|
|
800
948
|
/**
|
|
801
949
|
* Hide indicator when needed, default is false
|
|
802
950
|
*/
|
|
803
|
-
hideIndicator?: boolean
|
|
951
|
+
hideIndicator?: boolean;
|
|
804
952
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
805
953
|
declare const ChoiceboxGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
806
954
|
declare const ChoiceboxMultiItem: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -821,83 +969,6 @@ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive
|
|
|
821
969
|
variant?: "progress" | "disabled" | "success" | "empty" | null | undefined;
|
|
822
970
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
823
971
|
|
|
824
|
-
interface HeadingBlockProps {
|
|
825
|
-
/**
|
|
826
|
-
* ALign the heading.
|
|
827
|
-
*/
|
|
828
|
-
align?: "center" | "left" | "right";
|
|
829
|
-
/**
|
|
830
|
-
* The tagline content.
|
|
831
|
-
*/
|
|
832
|
-
tagline?: string;
|
|
833
|
-
/**
|
|
834
|
-
* The title content.
|
|
835
|
-
*/
|
|
836
|
-
title?: string;
|
|
837
|
-
/**
|
|
838
|
-
* The description content.
|
|
839
|
-
*/
|
|
840
|
-
description?: string;
|
|
841
|
-
/**
|
|
842
|
-
* HTML Tag heading. Default is "h2".
|
|
843
|
-
*/
|
|
844
|
-
tagHeading?: "h1" | "h2";
|
|
845
|
-
/**
|
|
846
|
-
* The color scheme of the heading block.
|
|
847
|
-
*/
|
|
848
|
-
colorScheme?: "regular" | "pink" | "white";
|
|
849
|
-
/**
|
|
850
|
-
* The size of the heading.
|
|
851
|
-
*/
|
|
852
|
-
sizeHeading?: "small" | "large";
|
|
853
|
-
/**
|
|
854
|
-
* CSS class to be appended to the root element heading.
|
|
855
|
-
*/
|
|
856
|
-
className?: string;
|
|
857
|
-
}
|
|
858
|
-
interface dataButton extends ActionButtonProps {
|
|
859
|
-
/**
|
|
860
|
-
* Button name.
|
|
861
|
-
*/
|
|
862
|
-
btnName: string;
|
|
863
|
-
}
|
|
864
|
-
interface ButtonsBlockProps {
|
|
865
|
-
/**
|
|
866
|
-
* CSS class to be appended to the root element.
|
|
867
|
-
*/
|
|
868
|
-
className?: string;
|
|
869
|
-
/**
|
|
870
|
-
* ALign the button.
|
|
871
|
-
*/
|
|
872
|
-
align?: "center" | "left" | "right";
|
|
873
|
-
/**
|
|
874
|
-
* Button is full width in mobile.
|
|
875
|
-
*/
|
|
876
|
-
isFullInMobile?: boolean;
|
|
877
|
-
/**
|
|
878
|
-
* Button group data.
|
|
879
|
-
*/
|
|
880
|
-
buttons?: dataButton[];
|
|
881
|
-
}
|
|
882
|
-
interface SectionBlockProps {
|
|
883
|
-
/**
|
|
884
|
-
* Id of the section.
|
|
885
|
-
*/
|
|
886
|
-
idSection?: string | undefined;
|
|
887
|
-
/**
|
|
888
|
-
* CSS class to be appended to the root element.
|
|
889
|
-
*/
|
|
890
|
-
className?: string;
|
|
891
|
-
/**
|
|
892
|
-
* Input the color code or image url according to CSS syntax.
|
|
893
|
-
*/
|
|
894
|
-
background?: string;
|
|
895
|
-
/**
|
|
896
|
-
* The children of the section.
|
|
897
|
-
*/
|
|
898
|
-
children?: React.ReactNode;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
972
|
interface HeroContentProps extends SectionBlockProps {
|
|
902
973
|
/**
|
|
903
974
|
* The template of the hero section.
|
|
@@ -923,6 +994,7 @@ interface HeroContentProps extends SectionBlockProps {
|
|
|
923
994
|
* The data media of the hero section.
|
|
924
995
|
*/
|
|
925
996
|
dataMedia?: HeroContentMediaProps;
|
|
997
|
+
advancedComponent?: React.ReactNode;
|
|
926
998
|
}
|
|
927
999
|
interface HeroContentListFeatureProps {
|
|
928
1000
|
name?: string;
|
|
@@ -948,7 +1020,7 @@ interface HeroContentListStats {
|
|
|
948
1020
|
}
|
|
949
1021
|
interface HeroContentMediaProps {
|
|
950
1022
|
src: string;
|
|
951
|
-
ratio?: number;
|
|
1023
|
+
ratio?: string | number;
|
|
952
1024
|
onClickFC?: () => void;
|
|
953
1025
|
className?: string;
|
|
954
1026
|
youtubeId?: string;
|
|
@@ -1058,12 +1130,50 @@ interface SocialProofSectionProps extends SectionBlockProps {
|
|
|
1058
1130
|
* The array data brands of the section.
|
|
1059
1131
|
*/
|
|
1060
1132
|
dataBrands?: BrandData[];
|
|
1133
|
+
/**
|
|
1134
|
+
* The data buttons of the section.
|
|
1135
|
+
*/
|
|
1136
|
+
dataButtons?: ButtonsBlockProps;
|
|
1137
|
+
/**
|
|
1138
|
+
* The space between brands in Desktop. Default value "spacingXl". In mobile, it will be value "spacingX". SpaceX use only for template 1.
|
|
1139
|
+
*/
|
|
1140
|
+
spaceX?: "spacingX" | "spacingM" | "spacingL" | "spacingXl" | "spacing2Xl";
|
|
1061
1141
|
/**
|
|
1062
1142
|
* Enable scroll snap on mobile.
|
|
1063
1143
|
*/
|
|
1064
1144
|
isScrollSnap?: boolean;
|
|
1065
1145
|
}
|
|
1066
|
-
declare const SocialProofSection: ({ template, background, className, idSection, dataHeading, dataBrands, isScrollSnap, }: SocialProofSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1146
|
+
declare const SocialProofSection: ({ template, background, className, idSection, dataHeading, dataBrands, dataButtons, spaceX, isScrollSnap, }: SocialProofSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1147
|
+
|
|
1148
|
+
type StepState = "active" | "disabled" | "default" | "completed";
|
|
1149
|
+
type StepSize = "default" | "small";
|
|
1150
|
+
interface ProgressStepsProps {
|
|
1151
|
+
children: React$1.ReactNode;
|
|
1152
|
+
className?: string;
|
|
1153
|
+
type?: "numberStep" | "iconStep" | "default";
|
|
1154
|
+
}
|
|
1155
|
+
interface ProgressStepsItemTriggerProps {
|
|
1156
|
+
step: number;
|
|
1157
|
+
currentStep: number;
|
|
1158
|
+
onValueChangeStep: (step: number) => void;
|
|
1159
|
+
children: React$1.ReactNode;
|
|
1160
|
+
}
|
|
1161
|
+
declare const ProgressStepsItemTrigger: React$1.FC<ProgressStepsItemTriggerProps>;
|
|
1162
|
+
interface ProgressStepsItemProps {
|
|
1163
|
+
step: number;
|
|
1164
|
+
state?: StepState;
|
|
1165
|
+
size?: StepSize;
|
|
1166
|
+
className?: string;
|
|
1167
|
+
title?: string;
|
|
1168
|
+
description?: string;
|
|
1169
|
+
lastStep?: boolean;
|
|
1170
|
+
fristStep?: boolean;
|
|
1171
|
+
icon?: React$1.ReactNode;
|
|
1172
|
+
isError?: boolean;
|
|
1173
|
+
onValueChangeStep?: (step: number) => void;
|
|
1174
|
+
}
|
|
1175
|
+
declare const ProgressStepsItem: React$1.FC<ProgressStepsItemProps>;
|
|
1176
|
+
declare const ProgressSteps: React$1.FC<ProgressStepsProps>;
|
|
1067
1177
|
|
|
1068
1178
|
/**
|
|
1069
1179
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
@@ -1073,9 +1183,9 @@ declare const SocialProofSection: ({ template, background, className, idSection,
|
|
|
1073
1183
|
*/
|
|
1074
1184
|
declare const mobaseTW: () => {
|
|
1075
1185
|
handler: tailwindcss_types_config.PluginCreator;
|
|
1076
|
-
config?: Partial<tailwindcss_types_config.Config
|
|
1186
|
+
config?: Partial<tailwindcss_types_config.Config>;
|
|
1077
1187
|
};
|
|
1078
1188
|
|
|
1079
1189
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1080
1190
|
|
|
1081
|
-
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, 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, FeatureSection, type FeatureSectionProps, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, 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, SocialProofSection, type SocialProofSectionProps, 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 };
|
|
1191
|
+
export { Accordion, AccordionContent, type AccordionContentInterface, AccordionItem, type AccordionItemInterface, type AccordionRootInterface, AccordionTrigger, type AccordionTriggerInterface, ActionButton, type ActionButtonProps, 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, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, 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, FeatureSection, type FeatureSectionProps, Footer, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, IconButton, type IconButtonProps, LightBoxContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, Pagination, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, SearchBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SiteMeta, Slider, SocialProofSection, type SocialProofSectionProps, Stepper, Switch, Tabs, TabsContent, TabsList, TabsTrigger, TestimonialSection, type TestimonialSectionProps, TextArea, type TextAreaProps, TextButton, type TextButtonProps, TextInput, type TextInputProps, ToastAction, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, mobaseTW, navigationMenuTriggerStyle, textButtonVariants, toast, useToast };
|