@momo-webplatform/mobase 0.2.42 → 0.2.43
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 +40 -40
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +371 -325
- package/dist/esm/index.d.ts +371 -325
- package/dist/esm/index.js +39 -39
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactElement
|
|
2
|
+
import React__default, { ReactNode, TextareaHTMLAttributes, InputHTMLAttributes, ReactElement } 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';
|
|
5
5
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
@@ -124,8 +124,9 @@ interface ActionButtonProps extends ButtonProps {
|
|
|
124
124
|
/**
|
|
125
125
|
* The content for button.
|
|
126
126
|
*/
|
|
127
|
-
children?:
|
|
127
|
+
children?: ReactNode;
|
|
128
128
|
}
|
|
129
|
+
|
|
129
130
|
declare const ActionButton: ({ action, newTab, offset, dialogQrProps, className, children, ...props }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
|
|
130
131
|
|
|
131
132
|
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
@@ -550,133 +551,6 @@ interface TextInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
550
551
|
}
|
|
551
552
|
declare const TextInput: React$1.ForwardRefExoticComponent<TextInputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
552
553
|
|
|
553
|
-
interface HeadingBlockProps {
|
|
554
|
-
/**
|
|
555
|
-
* ALign the heading.
|
|
556
|
-
*/
|
|
557
|
-
align?: "center" | "left" | "right";
|
|
558
|
-
/**
|
|
559
|
-
* The tagline content.
|
|
560
|
-
*/
|
|
561
|
-
tagline?: string;
|
|
562
|
-
/**
|
|
563
|
-
* The title content.
|
|
564
|
-
*/
|
|
565
|
-
title?: string;
|
|
566
|
-
/**
|
|
567
|
-
* The description content.
|
|
568
|
-
*/
|
|
569
|
-
description?: string;
|
|
570
|
-
/**
|
|
571
|
-
* HTML Tag heading. Default is "h2".
|
|
572
|
-
*/
|
|
573
|
-
tagHeading?: "h1" | "h2";
|
|
574
|
-
/**
|
|
575
|
-
* The color scheme of the heading block.
|
|
576
|
-
*/
|
|
577
|
-
colorScheme?: "regular" | "pink" | "white";
|
|
578
|
-
/**
|
|
579
|
-
* The size of the heading.
|
|
580
|
-
*/
|
|
581
|
-
sizeHeading?: "small" | "large";
|
|
582
|
-
/**
|
|
583
|
-
* CSS class to be appended to the root element heading.
|
|
584
|
-
*/
|
|
585
|
-
className?: string;
|
|
586
|
-
}
|
|
587
|
-
interface dataButton extends ActionButtonProps {
|
|
588
|
-
/**
|
|
589
|
-
* Button name.
|
|
590
|
-
*/
|
|
591
|
-
btnName: string;
|
|
592
|
-
}
|
|
593
|
-
interface ButtonsBlockProps {
|
|
594
|
-
/**
|
|
595
|
-
* CSS class to be appended to the root element.
|
|
596
|
-
*/
|
|
597
|
-
className?: string;
|
|
598
|
-
/**
|
|
599
|
-
* ALign the button.
|
|
600
|
-
*/
|
|
601
|
-
align?: "center" | "left" | "right";
|
|
602
|
-
/**
|
|
603
|
-
* Button is full width in mobile.
|
|
604
|
-
*/
|
|
605
|
-
isFullInMobile?: boolean;
|
|
606
|
-
/**
|
|
607
|
-
* Button group data.
|
|
608
|
-
*/
|
|
609
|
-
buttons?: dataButton[];
|
|
610
|
-
}
|
|
611
|
-
interface SectionBlockProps {
|
|
612
|
-
/**
|
|
613
|
-
* Id of the section.
|
|
614
|
-
*/
|
|
615
|
-
idSection?: string | undefined;
|
|
616
|
-
/**
|
|
617
|
-
* CSS class to be appended to the root element.
|
|
618
|
-
*/
|
|
619
|
-
className?: string;
|
|
620
|
-
/**
|
|
621
|
-
* Input the color code or image url according to CSS syntax.
|
|
622
|
-
*/
|
|
623
|
-
background?: string;
|
|
624
|
-
/**
|
|
625
|
-
* The children of the section.
|
|
626
|
-
*/
|
|
627
|
-
children?: React.ReactNode;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
interface TestimonialData {
|
|
631
|
-
/**
|
|
632
|
-
* Avatar of the testimonial.
|
|
633
|
-
*/
|
|
634
|
-
avatar?: string;
|
|
635
|
-
/**
|
|
636
|
-
* Name of the testimonial.
|
|
637
|
-
*/
|
|
638
|
-
name?: string;
|
|
639
|
-
/**
|
|
640
|
-
* Position of the testimonial.
|
|
641
|
-
*/
|
|
642
|
-
position?: string;
|
|
643
|
-
/**
|
|
644
|
-
* Short title of the testimonial.
|
|
645
|
-
*/
|
|
646
|
-
shortTitle?: string;
|
|
647
|
-
/**
|
|
648
|
-
* Description of the testimonial.
|
|
649
|
-
*/
|
|
650
|
-
description?: string;
|
|
651
|
-
/**
|
|
652
|
-
* Rating of the testimonial. value from 1 to 5. Default is 5.
|
|
653
|
-
*/
|
|
654
|
-
rating?: number;
|
|
655
|
-
/**
|
|
656
|
-
* Date of the testimonial.
|
|
657
|
-
*/
|
|
658
|
-
date?: string;
|
|
659
|
-
}
|
|
660
|
-
interface TestimonialSectionProps extends SectionBlockProps {
|
|
661
|
-
/**
|
|
662
|
-
* The template of the section.
|
|
663
|
-
*/
|
|
664
|
-
template?: 1 | 2;
|
|
665
|
-
/**
|
|
666
|
-
* The data heading of the section.
|
|
667
|
-
*/
|
|
668
|
-
dataHeading?: HeadingBlockProps;
|
|
669
|
-
/**
|
|
670
|
-
* The array data testimonials of the section.
|
|
671
|
-
*/
|
|
672
|
-
dataTestimonials?: TestimonialData[];
|
|
673
|
-
/**
|
|
674
|
-
* The data buttons of the section.
|
|
675
|
-
*/
|
|
676
|
-
dataButtons?: ButtonsBlockProps;
|
|
677
|
-
}
|
|
678
|
-
declare const TestimonialSection: ({ template, background, className, idSection, dataHeading, dataTestimonials, dataButtons, }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element;
|
|
679
|
-
|
|
680
554
|
interface StepperProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
681
555
|
value?: number;
|
|
682
556
|
min?: number;
|
|
@@ -902,6 +776,7 @@ interface CalloutProps {
|
|
|
902
776
|
className?: string;
|
|
903
777
|
disabled?: boolean;
|
|
904
778
|
actionClassName?: string;
|
|
779
|
+
icon?: React.ReactNode;
|
|
905
780
|
}
|
|
906
781
|
declare const Callout: React$1.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
|
|
907
782
|
typeDiv?: "warning" | "error" | "neutral" | "success" | "info" | null | undefined;
|
|
@@ -970,135 +845,255 @@ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive
|
|
|
970
845
|
variant?: "progress" | "disabled" | "success" | "empty" | null | undefined;
|
|
971
846
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
972
847
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
*/
|
|
981
|
-
dataHeading?: HeadingBlockProps;
|
|
982
|
-
/**
|
|
983
|
-
* The array data features of the hero section.
|
|
984
|
-
*/
|
|
985
|
-
dataFeatures?: HeroContentListFeatureProps[];
|
|
986
|
-
/**
|
|
987
|
-
* The data buttons of the hero section.
|
|
988
|
-
*/
|
|
989
|
-
dataButtons?: ButtonsBlockProps;
|
|
990
|
-
/**
|
|
991
|
-
* The data stats of the hero section.
|
|
992
|
-
*/
|
|
993
|
-
dataStats?: HeroContentListStats[];
|
|
994
|
-
/**
|
|
995
|
-
* The data media of the hero section.
|
|
996
|
-
*/
|
|
997
|
-
dataMedia?: HeroContentMediaProps;
|
|
998
|
-
advancedComponent?: React.ReactNode;
|
|
848
|
+
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
849
|
+
|
|
850
|
+
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
851
|
+
|
|
852
|
+
interface ICommentThumbnails {
|
|
853
|
+
url: string;
|
|
854
|
+
titleImage?: string;
|
|
999
855
|
}
|
|
1000
|
-
interface
|
|
1001
|
-
|
|
1002
|
-
|
|
856
|
+
interface IRating {
|
|
857
|
+
point: number;
|
|
858
|
+
max: 5 | 10;
|
|
859
|
+
className?: string;
|
|
1003
860
|
}
|
|
1004
|
-
interface
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
861
|
+
interface IComment {
|
|
862
|
+
avatar?: string;
|
|
863
|
+
author?: string;
|
|
864
|
+
time?: string;
|
|
865
|
+
ratingPoint?: IRating;
|
|
866
|
+
content?: string;
|
|
867
|
+
tags?: string[];
|
|
868
|
+
thumbnails?: ICommentThumbnails[];
|
|
869
|
+
actions?: React.ReactNode[];
|
|
870
|
+
statusMessage?: string;
|
|
871
|
+
repliesComment?: number;
|
|
872
|
+
likesComment?: number;
|
|
873
|
+
children?: React.ReactNode;
|
|
874
|
+
isReply?: boolean;
|
|
875
|
+
commentSideBar?: React.ReactNode;
|
|
876
|
+
isOutStanding?: boolean;
|
|
877
|
+
limitContent?: number;
|
|
1021
878
|
}
|
|
1022
|
-
interface
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
879
|
+
interface ICommentHeader {
|
|
880
|
+
avatar?: IComment["avatar"];
|
|
881
|
+
author?: IComment["author"];
|
|
882
|
+
time?: IComment["time"];
|
|
883
|
+
statusMessage?: IComment["statusMessage"];
|
|
884
|
+
isOutStanding?: IComment["isOutStanding"];
|
|
885
|
+
}
|
|
886
|
+
interface ICommentContent {
|
|
887
|
+
content: IComment["content"];
|
|
888
|
+
thumbnails: IComment["thumbnails"];
|
|
889
|
+
tags: IComment["tags"];
|
|
890
|
+
commentSideBar?: React.ReactNode;
|
|
891
|
+
rating: IComment["ratingPoint"];
|
|
892
|
+
limitContent?: IComment["limitContent"];
|
|
893
|
+
}
|
|
894
|
+
interface ICommentFooter {
|
|
895
|
+
actions?: IComment["actions"];
|
|
1030
896
|
}
|
|
1031
897
|
|
|
1032
|
-
declare const
|
|
898
|
+
declare const Comment: React$1.ForwardRefExoticComponent<IComment & React$1.RefAttributes<HTMLDivElement>>;
|
|
1033
899
|
|
|
1034
|
-
interface
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
*/
|
|
1042
|
-
alt?: string;
|
|
1043
|
-
/**
|
|
1044
|
-
* The image ratio.
|
|
1045
|
-
*/
|
|
1046
|
-
ratio?: number;
|
|
900
|
+
interface ReadMoreLiteProps {
|
|
901
|
+
children: string;
|
|
902
|
+
maxChar?: number;
|
|
903
|
+
textMore?: string;
|
|
904
|
+
textLess?: string;
|
|
905
|
+
btnClass?: string;
|
|
906
|
+
className?: string;
|
|
1047
907
|
}
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
908
|
+
declare const ReadMoreLite: React.FC<ReadMoreLiteProps>;
|
|
909
|
+
|
|
910
|
+
type StepState = "active" | "disabled" | "default" | "completed";
|
|
911
|
+
type StepSize = "default" | "small";
|
|
912
|
+
interface ProgressStepsProps {
|
|
913
|
+
children: React$1.ReactNode;
|
|
914
|
+
className?: string;
|
|
915
|
+
type?: "numberStep" | "iconStep" | "default";
|
|
916
|
+
}
|
|
917
|
+
interface ProgressStepsItemTriggerProps {
|
|
918
|
+
step: number;
|
|
919
|
+
currentStep: number;
|
|
920
|
+
onValueChangeStep: (step: number) => void;
|
|
921
|
+
children: React$1.ReactNode;
|
|
922
|
+
}
|
|
923
|
+
declare const ProgressStepsItemTrigger: React$1.FC<ProgressStepsItemTriggerProps>;
|
|
924
|
+
interface ProgressStepsItemProps {
|
|
925
|
+
step: number;
|
|
926
|
+
state?: StepState;
|
|
927
|
+
size?: StepSize;
|
|
928
|
+
className?: string;
|
|
929
|
+
title?: string;
|
|
930
|
+
description?: string;
|
|
931
|
+
lastStep?: boolean;
|
|
932
|
+
fristStep?: boolean;
|
|
933
|
+
icon?: React$1.ReactNode;
|
|
934
|
+
isError?: boolean;
|
|
935
|
+
onValueChangeStep?: (step: number) => void;
|
|
936
|
+
}
|
|
937
|
+
declare const ProgressStepsItem: React$1.FC<ProgressStepsItemProps>;
|
|
938
|
+
declare const ProgressSteps: React$1.FC<ProgressStepsProps>;
|
|
939
|
+
|
|
940
|
+
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues extends FieldValues | undefined = undefined>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
941
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
942
|
+
declare const useFormField: () => {
|
|
943
|
+
invalid: boolean;
|
|
944
|
+
isDirty: boolean;
|
|
945
|
+
isTouched: boolean;
|
|
946
|
+
isValidating: boolean;
|
|
947
|
+
error?: react_hook_form.FieldError;
|
|
948
|
+
id: string;
|
|
949
|
+
name: string;
|
|
950
|
+
formItemId: string;
|
|
951
|
+
formDescriptionId: string;
|
|
952
|
+
formMessageId: string;
|
|
953
|
+
};
|
|
954
|
+
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
955
|
+
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
956
|
+
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
957
|
+
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
958
|
+
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
959
|
+
|
|
960
|
+
interface HeadingBlockProps {
|
|
1053
961
|
/**
|
|
1054
|
-
*
|
|
962
|
+
* ALign the heading.
|
|
963
|
+
*/
|
|
964
|
+
align?: "center" | "left" | "right";
|
|
965
|
+
/**
|
|
966
|
+
* The tagline content.
|
|
967
|
+
*/
|
|
968
|
+
tagline?: string;
|
|
969
|
+
/**
|
|
970
|
+
* The title content.
|
|
971
|
+
*/
|
|
972
|
+
title?: string;
|
|
973
|
+
/**
|
|
974
|
+
* The description content.
|
|
1055
975
|
*/
|
|
1056
976
|
description?: string;
|
|
1057
977
|
/**
|
|
1058
|
-
*
|
|
978
|
+
* HTML Tag heading. Default is "h2".
|
|
1059
979
|
*/
|
|
1060
|
-
|
|
980
|
+
tagHeading?: "h1" | "h2";
|
|
1061
981
|
/**
|
|
1062
|
-
*
|
|
982
|
+
* The color scheme of the heading block.
|
|
1063
983
|
*/
|
|
1064
|
-
|
|
984
|
+
colorScheme?: "regular" | "pink" | "white";
|
|
1065
985
|
/**
|
|
1066
|
-
*
|
|
986
|
+
* The size of the heading.
|
|
1067
987
|
*/
|
|
1068
|
-
|
|
988
|
+
sizeHeading?: "small" | "large";
|
|
1069
989
|
/**
|
|
1070
|
-
*
|
|
990
|
+
* CSS class to be appended to the root element heading.
|
|
1071
991
|
*/
|
|
1072
|
-
|
|
992
|
+
className?: string;
|
|
1073
993
|
}
|
|
1074
|
-
interface
|
|
994
|
+
interface dataButton extends ActionButtonProps {
|
|
1075
995
|
/**
|
|
1076
|
-
*
|
|
996
|
+
* Button name.
|
|
1077
997
|
*/
|
|
1078
|
-
|
|
998
|
+
btnName: string;
|
|
999
|
+
}
|
|
1000
|
+
interface ButtonsBlockProps {
|
|
1079
1001
|
/**
|
|
1080
|
-
*
|
|
1002
|
+
* CSS class to be appended to the root element.
|
|
1003
|
+
*/
|
|
1004
|
+
className?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* ALign the button.
|
|
1007
|
+
*/
|
|
1008
|
+
align?: "center" | "left" | "right";
|
|
1009
|
+
/**
|
|
1010
|
+
* Button is full width in mobile.
|
|
1011
|
+
*/
|
|
1012
|
+
isFullInMobile?: boolean;
|
|
1013
|
+
/**
|
|
1014
|
+
* Button group data.
|
|
1015
|
+
*/
|
|
1016
|
+
buttons?: dataButton[];
|
|
1017
|
+
}
|
|
1018
|
+
interface SectionBlockProps {
|
|
1019
|
+
/**
|
|
1020
|
+
* Id of the section.
|
|
1021
|
+
*/
|
|
1022
|
+
idSection?: string | undefined;
|
|
1023
|
+
/**
|
|
1024
|
+
* CSS class to be appended to the root element.
|
|
1025
|
+
*/
|
|
1026
|
+
className?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Input the color code or image url according to CSS syntax.
|
|
1029
|
+
*/
|
|
1030
|
+
background?: string;
|
|
1031
|
+
/**
|
|
1032
|
+
* The children of the section.
|
|
1033
|
+
*/
|
|
1034
|
+
children?: React.ReactNode;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
interface HeroContentProps extends SectionBlockProps {
|
|
1038
|
+
/**
|
|
1039
|
+
* The template of the hero section.
|
|
1040
|
+
*/
|
|
1041
|
+
template?: 1 | 2 | 3;
|
|
1042
|
+
/**
|
|
1043
|
+
* The data heading of the hero section.
|
|
1081
1044
|
*/
|
|
1082
1045
|
dataHeading?: HeadingBlockProps;
|
|
1083
1046
|
/**
|
|
1084
|
-
* The array data features of the
|
|
1047
|
+
* The array data features of the hero section.
|
|
1085
1048
|
*/
|
|
1086
|
-
dataFeatures?:
|
|
1049
|
+
dataFeatures?: HeroContentListFeatureProps[];
|
|
1087
1050
|
/**
|
|
1088
|
-
* The data
|
|
1051
|
+
* The data buttons of the hero section.
|
|
1089
1052
|
*/
|
|
1090
1053
|
dataButtons?: ButtonsBlockProps;
|
|
1091
1054
|
/**
|
|
1092
|
-
* The data
|
|
1055
|
+
* The data stats of the hero section.
|
|
1093
1056
|
*/
|
|
1094
|
-
|
|
1057
|
+
dataStats?: HeroContentListStats[];
|
|
1058
|
+
/**
|
|
1059
|
+
* The data media of the hero section.
|
|
1060
|
+
*/
|
|
1061
|
+
dataMedia?: HeroContentMediaProps;
|
|
1062
|
+
advancedComponent?: React.ReactNode;
|
|
1063
|
+
}
|
|
1064
|
+
interface HeroContentListFeatureProps {
|
|
1065
|
+
name?: string;
|
|
1066
|
+
image?: string;
|
|
1067
|
+
}
|
|
1068
|
+
interface HeroContentListStats {
|
|
1069
|
+
/**
|
|
1070
|
+
* Value of the stats.
|
|
1071
|
+
*/
|
|
1072
|
+
value?: number;
|
|
1073
|
+
/**
|
|
1074
|
+
* Suffix of the stats.
|
|
1075
|
+
*/
|
|
1076
|
+
suffix?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Unit of the stats.
|
|
1079
|
+
*/
|
|
1080
|
+
unit?: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* Description of the stats.
|
|
1083
|
+
*/
|
|
1084
|
+
description?: string;
|
|
1085
|
+
}
|
|
1086
|
+
interface HeroContentMediaProps {
|
|
1087
|
+
src: string;
|
|
1088
|
+
ratio?: string | number;
|
|
1089
|
+
onClickFC?: () => void;
|
|
1090
|
+
className?: string;
|
|
1091
|
+
youtubeId?: string;
|
|
1092
|
+
type?: number | null;
|
|
1093
|
+
alt?: string;
|
|
1095
1094
|
}
|
|
1096
1095
|
|
|
1097
|
-
declare const
|
|
1098
|
-
|
|
1099
|
-
declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1100
|
-
|
|
1101
|
-
declare const Slider: React$1.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1096
|
+
declare const HeroSection: React$1.ForwardRefExoticComponent<HeroContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1102
1097
|
|
|
1103
1098
|
interface BrandData {
|
|
1104
1099
|
/**
|
|
@@ -1146,93 +1141,120 @@ interface SocialProofSectionProps extends SectionBlockProps {
|
|
|
1146
1141
|
}
|
|
1147
1142
|
declare const SocialProofSection: ({ template, background, className, idSection, dataHeading, dataBrands, dataButtons, spaceX, isScrollSnap, }: SocialProofSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1148
1143
|
|
|
1149
|
-
interface
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
ratingPoint?: IRating;
|
|
1163
|
-
content?: string;
|
|
1164
|
-
tags?: string[];
|
|
1165
|
-
thumbnails?: ICommentThumbnails[];
|
|
1166
|
-
actions?: React.ReactNode[];
|
|
1167
|
-
statusMessage?: string;
|
|
1168
|
-
repliesComment?: number;
|
|
1169
|
-
likesComment?: number;
|
|
1170
|
-
children?: React.ReactNode;
|
|
1171
|
-
isReply?: boolean;
|
|
1172
|
-
commentSideBar?: React.ReactNode;
|
|
1173
|
-
isOutStanding?: boolean;
|
|
1174
|
-
limitContent?: number;
|
|
1175
|
-
}
|
|
1176
|
-
interface ICommentHeader {
|
|
1177
|
-
avatar?: IComment["avatar"];
|
|
1178
|
-
author?: IComment["author"];
|
|
1179
|
-
time?: IComment["time"];
|
|
1180
|
-
statusMessage?: IComment["statusMessage"];
|
|
1181
|
-
isOutStanding?: IComment["isOutStanding"];
|
|
1144
|
+
interface BannerData {
|
|
1145
|
+
/**
|
|
1146
|
+
* The image source.
|
|
1147
|
+
*/
|
|
1148
|
+
src?: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* The image alt.
|
|
1151
|
+
*/
|
|
1152
|
+
alt?: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* The image ratio.
|
|
1155
|
+
*/
|
|
1156
|
+
ratio?: number;
|
|
1182
1157
|
}
|
|
1183
|
-
interface
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1158
|
+
interface FeatureData {
|
|
1159
|
+
/**
|
|
1160
|
+
* Feature name.
|
|
1161
|
+
*/
|
|
1162
|
+
name?: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* Feature description.
|
|
1165
|
+
*/
|
|
1166
|
+
description?: string;
|
|
1167
|
+
/**
|
|
1168
|
+
* Feature image.
|
|
1169
|
+
*/
|
|
1170
|
+
image?: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* Feature button name.
|
|
1173
|
+
*/
|
|
1174
|
+
btnName?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* Feature button link.
|
|
1177
|
+
*/
|
|
1178
|
+
btnLink?: string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Feature button use new tab.
|
|
1181
|
+
*/
|
|
1182
|
+
newTab?: boolean;
|
|
1190
1183
|
}
|
|
1191
|
-
interface
|
|
1192
|
-
|
|
1184
|
+
interface FeatureSectionProps extends SectionBlockProps {
|
|
1185
|
+
/**
|
|
1186
|
+
* The template of the feature section.
|
|
1187
|
+
*/
|
|
1188
|
+
template?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
1189
|
+
/**
|
|
1190
|
+
* The data heading of the feature section.
|
|
1191
|
+
*/
|
|
1192
|
+
dataHeading?: HeadingBlockProps;
|
|
1193
|
+
/**
|
|
1194
|
+
* The array data features of the feature section.
|
|
1195
|
+
*/
|
|
1196
|
+
dataFeatures?: FeatureData[];
|
|
1197
|
+
/**
|
|
1198
|
+
* The data features of the feature section.
|
|
1199
|
+
*/
|
|
1200
|
+
dataButtons?: ButtonsBlockProps;
|
|
1201
|
+
/**
|
|
1202
|
+
* The data banner of the feature section.
|
|
1203
|
+
*/
|
|
1204
|
+
dataBanner?: BannerData;
|
|
1193
1205
|
}
|
|
1194
1206
|
|
|
1195
|
-
declare const
|
|
1196
|
-
|
|
1197
|
-
interface ReadMoreLiteProps {
|
|
1198
|
-
children: string;
|
|
1199
|
-
maxChar?: number;
|
|
1200
|
-
textMore?: string;
|
|
1201
|
-
textLess?: string;
|
|
1202
|
-
btnClass?: string;
|
|
1203
|
-
className?: string;
|
|
1204
|
-
}
|
|
1205
|
-
declare const ReadMoreLite: React.FC<ReadMoreLiteProps>;
|
|
1207
|
+
declare const FeatureSection: ({ template, background, className, idSection, dataHeading, dataFeatures, dataButtons, dataBanner, }: FeatureSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1206
1208
|
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1209
|
+
interface TestimonialData {
|
|
1210
|
+
/**
|
|
1211
|
+
* Avatar of the testimonial.
|
|
1212
|
+
*/
|
|
1213
|
+
avatar?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Name of the testimonial.
|
|
1216
|
+
*/
|
|
1217
|
+
name?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* Position of the testimonial.
|
|
1220
|
+
*/
|
|
1221
|
+
position?: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* Short title of the testimonial.
|
|
1224
|
+
*/
|
|
1225
|
+
shortTitle?: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* Description of the testimonial.
|
|
1228
|
+
*/
|
|
1227
1229
|
description?: string;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1230
|
+
/**
|
|
1231
|
+
* Rating of the testimonial. value from 1 to 5. Default is 5.
|
|
1232
|
+
*/
|
|
1233
|
+
rating?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
* Date of the testimonial.
|
|
1236
|
+
*/
|
|
1237
|
+
date?: string;
|
|
1233
1238
|
}
|
|
1234
|
-
|
|
1235
|
-
|
|
1239
|
+
interface TestimonialSectionProps extends SectionBlockProps {
|
|
1240
|
+
/**
|
|
1241
|
+
* The template of the section.
|
|
1242
|
+
*/
|
|
1243
|
+
template?: 1 | 2;
|
|
1244
|
+
/**
|
|
1245
|
+
* The data heading of the section.
|
|
1246
|
+
*/
|
|
1247
|
+
dataHeading?: HeadingBlockProps;
|
|
1248
|
+
/**
|
|
1249
|
+
* The array data testimonials of the section.
|
|
1250
|
+
*/
|
|
1251
|
+
dataTestimonials?: TestimonialData[];
|
|
1252
|
+
/**
|
|
1253
|
+
* The data buttons of the section.
|
|
1254
|
+
*/
|
|
1255
|
+
dataButtons?: ButtonsBlockProps;
|
|
1256
|
+
}
|
|
1257
|
+
declare const TestimonialSection: ({ template, background, className, idSection, dataHeading, dataTestimonials, dataButtons, }: TestimonialSectionProps) => react_jsx_runtime.JSX.Element;
|
|
1236
1258
|
|
|
1237
1259
|
interface IContents$1 {
|
|
1238
1260
|
title: string;
|
|
@@ -1280,25 +1302,49 @@ interface INewsSection extends SectionBlockProps {
|
|
|
1280
1302
|
|
|
1281
1303
|
declare const NewsSection: ({ dataHeading, dataNews, className, background, buttonLoadMore, cols, onClickModal, }: INewsSection) => react_jsx_runtime.JSX.Element;
|
|
1282
1304
|
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1305
|
+
interface CTAMedia {
|
|
1306
|
+
/**
|
|
1307
|
+
* The image source.
|
|
1308
|
+
*/
|
|
1309
|
+
src?: string;
|
|
1310
|
+
/**
|
|
1311
|
+
* The image alt.
|
|
1312
|
+
*/
|
|
1313
|
+
alt?: string;
|
|
1314
|
+
/**
|
|
1315
|
+
* The image ratio.
|
|
1316
|
+
*/
|
|
1317
|
+
ratio?: number;
|
|
1318
|
+
}
|
|
1319
|
+
interface CTASectionData {
|
|
1320
|
+
/**
|
|
1321
|
+
* Input the color code or image url according to CSS syntax.
|
|
1322
|
+
*/
|
|
1323
|
+
background?: string;
|
|
1324
|
+
}
|
|
1325
|
+
interface CTASectionProps extends SectionBlockProps {
|
|
1326
|
+
/**
|
|
1327
|
+
* The template of the section.
|
|
1328
|
+
*/
|
|
1329
|
+
template?: 1 | 2;
|
|
1330
|
+
/**
|
|
1331
|
+
* The data heading of the section.
|
|
1332
|
+
*/
|
|
1333
|
+
dataHeading?: HeadingBlockProps;
|
|
1334
|
+
/**
|
|
1335
|
+
* The array data testimonials of the section.
|
|
1336
|
+
*/
|
|
1337
|
+
dataCTA?: CTASectionData;
|
|
1338
|
+
/**
|
|
1339
|
+
* The data buttons of the section.
|
|
1340
|
+
*/
|
|
1341
|
+
dataButtons?: ButtonsBlockProps;
|
|
1342
|
+
/**
|
|
1343
|
+
* The data media of the cta section.
|
|
1344
|
+
*/
|
|
1345
|
+
dataMedia?: CTAMedia;
|
|
1346
|
+
}
|
|
1347
|
+
declare const CTASection: ({ template, background, className, idSection, dataHeading, dataCTA, dataButtons, dataMedia, }: CTASectionProps) => react_jsx_runtime.JSX.Element;
|
|
1302
1348
|
|
|
1303
1349
|
/**
|
|
1304
1350
|
* This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
|
|
@@ -1313,4 +1359,4 @@ declare const mobaseTW: () => {
|
|
|
1313
1359
|
|
|
1314
1360
|
declare const SiteMeta: react_jsx_runtime.JSX.Element;
|
|
1315
1361
|
|
|
1316
|
-
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, Comment, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, FAQSection, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IContents$1 as IContents, type IDataFAQ, type IFAQ, type INewsSection, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, Pagination, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, 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, useFormField, useToast };
|
|
1362
|
+
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, CTASection, type CTASectionProps, 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, Comment, DatePicker, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogQr, type DialogQrProps, DialogTitle, DialogTrigger, FAQSection, FeatureSection, type FeatureSectionProps, Footer, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HeaderNavigation, Heading, HeadingGroup, HeadingSub, HeadingTagline, type HeroContentProps, HeroSection, type IComment, type ICommentContent, type ICommentFooter, type ICommentHeader, type IContents$1 as IContents, type IDataFAQ, type IFAQ, type INewsSection, IconButton, type IconButtonProps, LightBoxGalleryContent, LightboxGallery, LightboxThumbnail, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NewsSection, Pagination, Popover, PopoverContent, PopoverTrigger, ProgressSteps, ProgressStepsItem, ProgressStepsItemTrigger, Progress as Progressbar, RadioGroup, RadioGroupItem, ReadMoreLite, 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, useFormField, useToast };
|