@momo-webplatform/mobase 0.2.41 → 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.
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { TextareaHTMLAttributes, InputHTMLAttributes, ReactElement, ReactNode } from 'react';
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_types from 'class-variance-authority/types';
@@ -124,8 +124,9 @@ interface ActionButtonProps extends ButtonProps {
124
124
  /**
125
125
  * The content for button.
126
126
  */
127
- children?: React__default.ReactNode;
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;
@@ -827,6 +701,7 @@ interface ItemProps {
827
701
  }
828
702
  interface InputProps {
829
703
  onClickClear?: (value: string) => void;
704
+ classNameInput?: string;
830
705
  }
831
706
  declare const Command: React$1.ForwardRefExoticComponent<Omit<{
832
707
  children?: React$1.ReactNode;
@@ -901,6 +776,7 @@ interface CalloutProps {
901
776
  className?: string;
902
777
  disabled?: boolean;
903
778
  actionClassName?: string;
779
+ icon?: React.ReactNode;
904
780
  }
905
781
  declare const Callout: React$1.ForwardRefExoticComponent<CalloutProps & VariantProps<(props?: ({
906
782
  typeDiv?: "warning" | "error" | "neutral" | "success" | "info" | null | undefined;
@@ -969,135 +845,255 @@ declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive
969
845
  variant?: "progress" | "disabled" | "success" | "empty" | null | undefined;
970
846
  } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
971
847
 
972
- interface HeroContentProps extends SectionBlockProps {
973
- /**
974
- * The template of the hero section.
975
- */
976
- template?: 1 | 2 | 3;
977
- /**
978
- * The data heading of the hero section.
979
- */
980
- dataHeading?: HeadingBlockProps;
981
- /**
982
- * The array data features of the hero section.
983
- */
984
- dataFeatures?: HeroContentListFeatureProps[];
985
- /**
986
- * The data buttons of the hero section.
987
- */
988
- dataButtons?: ButtonsBlockProps;
989
- /**
990
- * The data stats of the hero section.
991
- */
992
- dataStats?: HeroContentListStats[];
993
- /**
994
- * The data media of the hero section.
995
- */
996
- dataMedia?: HeroContentMediaProps;
997
- 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;
998
855
  }
999
- interface HeroContentListFeatureProps {
1000
- name?: string;
1001
- image?: string;
856
+ interface IRating {
857
+ point: number;
858
+ max: 5 | 10;
859
+ className?: string;
1002
860
  }
1003
- interface HeroContentListStats {
1004
- /**
1005
- * Value of the stats.
1006
- */
1007
- value?: number;
1008
- /**
1009
- * Suffix of the stats.
1010
- */
1011
- suffix?: string;
1012
- /**
1013
- * Unit of the stats.
1014
- */
1015
- unit?: string;
1016
- /**
1017
- * Description of the stats.
1018
- */
1019
- description?: string;
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;
1020
878
  }
1021
- interface HeroContentMediaProps {
1022
- src: string;
1023
- ratio?: string | number;
1024
- onClickFC?: () => void;
1025
- className?: string;
1026
- youtubeId?: string;
1027
- type?: number | null;
1028
- alt?: string;
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"];
1029
896
  }
1030
897
 
1031
- declare const HeroSection: React$1.ForwardRefExoticComponent<HeroContentProps & React$1.RefAttributes<HTMLDivElement>>;
898
+ declare const Comment: React$1.ForwardRefExoticComponent<IComment & React$1.RefAttributes<HTMLDivElement>>;
1032
899
 
1033
- interface BannerData {
1034
- /**
1035
- * The image source.
1036
- */
1037
- src?: string;
1038
- /**
1039
- * The image alt.
1040
- */
1041
- alt?: string;
1042
- /**
1043
- * The image ratio.
1044
- */
1045
- ratio?: number;
900
+ interface ReadMoreLiteProps {
901
+ children: string;
902
+ maxChar?: number;
903
+ textMore?: string;
904
+ textLess?: string;
905
+ btnClass?: string;
906
+ className?: string;
1046
907
  }
1047
- interface FeatureData {
1048
- /**
1049
- * Feature name.
1050
- */
1051
- name?: string;
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 {
1052
961
  /**
1053
- * Feature description.
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.
1054
975
  */
1055
976
  description?: string;
1056
977
  /**
1057
- * Feature image.
978
+ * HTML Tag heading. Default is "h2".
1058
979
  */
1059
- image?: string;
980
+ tagHeading?: "h1" | "h2";
1060
981
  /**
1061
- * Feature button name.
982
+ * The color scheme of the heading block.
1062
983
  */
1063
- btnName?: string;
984
+ colorScheme?: "regular" | "pink" | "white";
1064
985
  /**
1065
- * Feature button link.
986
+ * The size of the heading.
1066
987
  */
1067
- btnLink?: string;
988
+ sizeHeading?: "small" | "large";
1068
989
  /**
1069
- * Feature button use new tab.
990
+ * CSS class to be appended to the root element heading.
1070
991
  */
1071
- newTab?: boolean;
992
+ className?: string;
1072
993
  }
1073
- interface FeatureSectionProps extends SectionBlockProps {
994
+ interface dataButton extends ActionButtonProps {
1074
995
  /**
1075
- * The template of the feature section.
996
+ * Button name.
1076
997
  */
1077
- template?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
998
+ btnName: string;
999
+ }
1000
+ interface ButtonsBlockProps {
1078
1001
  /**
1079
- * The data heading of the feature section.
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.
1080
1044
  */
1081
1045
  dataHeading?: HeadingBlockProps;
1082
1046
  /**
1083
- * The array data features of the feature section.
1047
+ * The array data features of the hero section.
1084
1048
  */
1085
- dataFeatures?: FeatureData[];
1049
+ dataFeatures?: HeroContentListFeatureProps[];
1086
1050
  /**
1087
- * The data features of the feature section.
1051
+ * The data buttons of the hero section.
1088
1052
  */
1089
1053
  dataButtons?: ButtonsBlockProps;
1090
1054
  /**
1091
- * The data banner of the feature section.
1055
+ * The data stats of the hero section.
1092
1056
  */
1093
- dataBanner?: BannerData;
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;
1094
1094
  }
1095
1095
 
1096
- declare const FeatureSection: ({ template, background, className, idSection, dataHeading, dataFeatures, dataButtons, dataBanner, }: FeatureSectionProps) => react_jsx_runtime.JSX.Element;
1097
-
1098
- declare const AspectRatio: React$1.ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & React$1.RefAttributes<HTMLDivElement>>;
1099
-
1100
- 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>>;
1101
1097
 
1102
1098
  interface BrandData {
1103
1099
  /**
@@ -1145,93 +1141,120 @@ interface SocialProofSectionProps extends SectionBlockProps {
1145
1141
  }
1146
1142
  declare const SocialProofSection: ({ template, background, className, idSection, dataHeading, dataBrands, dataButtons, spaceX, isScrollSnap, }: SocialProofSectionProps) => react_jsx_runtime.JSX.Element;
1147
1143
 
1148
- interface ICommentThumbnails {
1149
- url: string;
1150
- titleImage?: string;
1151
- }
1152
- interface IRating {
1153
- point: number;
1154
- max: 5 | 10;
1155
- className?: string;
1156
- }
1157
- interface IComment {
1158
- avatar?: string;
1159
- author?: string;
1160
- time?: string;
1161
- ratingPoint?: IRating;
1162
- content?: string;
1163
- tags?: string[];
1164
- thumbnails?: ICommentThumbnails[];
1165
- actions?: React.ReactNode[];
1166
- statusMessage?: string;
1167
- repliesComment?: number;
1168
- likesComment?: number;
1169
- children?: React.ReactNode;
1170
- isReply?: boolean;
1171
- commentSideBar?: React.ReactNode;
1172
- isOutStanding?: boolean;
1173
- limitContent?: number;
1174
- }
1175
- interface ICommentHeader {
1176
- avatar?: IComment["avatar"];
1177
- author?: IComment["author"];
1178
- time?: IComment["time"];
1179
- statusMessage?: IComment["statusMessage"];
1180
- 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;
1181
1157
  }
1182
- interface ICommentContent {
1183
- content: IComment["content"];
1184
- thumbnails: IComment["thumbnails"];
1185
- tags: IComment["tags"];
1186
- commentSideBar?: React.ReactNode;
1187
- rating: IComment["ratingPoint"];
1188
- limitContent?: IComment["limitContent"];
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;
1189
1183
  }
1190
- interface ICommentFooter {
1191
- actions?: IComment["actions"];
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;
1192
1205
  }
1193
1206
 
1194
- declare const Comment: React$1.ForwardRefExoticComponent<IComment & React$1.RefAttributes<HTMLDivElement>>;
1195
-
1196
- interface ReadMoreLiteProps {
1197
- children: string;
1198
- maxChar?: number;
1199
- textMore?: string;
1200
- textLess?: string;
1201
- btnClass?: string;
1202
- className?: string;
1203
- }
1204
- declare const ReadMoreLite: React.FC<ReadMoreLiteProps>;
1207
+ declare const FeatureSection: ({ template, background, className, idSection, dataHeading, dataFeatures, dataButtons, dataBanner, }: FeatureSectionProps) => react_jsx_runtime.JSX.Element;
1205
1208
 
1206
- type StepState = "active" | "disabled" | "default" | "completed";
1207
- type StepSize = "default" | "small";
1208
- interface ProgressStepsProps {
1209
- children: React$1.ReactNode;
1210
- className?: string;
1211
- type?: "numberStep" | "iconStep" | "default";
1212
- }
1213
- interface ProgressStepsItemTriggerProps {
1214
- step: number;
1215
- currentStep: number;
1216
- onValueChangeStep: (step: number) => void;
1217
- children: React$1.ReactNode;
1218
- }
1219
- declare const ProgressStepsItemTrigger: React$1.FC<ProgressStepsItemTriggerProps>;
1220
- interface ProgressStepsItemProps {
1221
- step: number;
1222
- state?: StepState;
1223
- size?: StepSize;
1224
- className?: string;
1225
- title?: string;
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
+ */
1226
1229
  description?: string;
1227
- lastStep?: boolean;
1228
- fristStep?: boolean;
1229
- icon?: React$1.ReactNode;
1230
- isError?: boolean;
1231
- onValueChangeStep?: (step: number) => void;
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;
1232
1238
  }
1233
- declare const ProgressStepsItem: React$1.FC<ProgressStepsItemProps>;
1234
- declare const ProgressSteps: React$1.FC<ProgressStepsProps>;
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;
1235
1258
 
1236
1259
  interface IContents$1 {
1237
1260
  title: string;
@@ -1279,25 +1302,49 @@ interface INewsSection extends SectionBlockProps {
1279
1302
 
1280
1303
  declare const NewsSection: ({ dataHeading, dataNews, className, background, buttonLoadMore, cols, onClickModal, }: INewsSection) => react_jsx_runtime.JSX.Element;
1281
1304
 
1282
- 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;
1283
- declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
1284
- declare const useFormField: () => {
1285
- invalid: boolean;
1286
- isDirty: boolean;
1287
- isTouched: boolean;
1288
- isValidating: boolean;
1289
- error?: react_hook_form.FieldError;
1290
- id: string;
1291
- name: string;
1292
- formItemId: string;
1293
- formDescriptionId: string;
1294
- formMessageId: string;
1295
- };
1296
- declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1297
- declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
1298
- declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
1299
- declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
1300
- declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
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;
1301
1348
 
1302
1349
  /**
1303
1350
  * This Tailwind plugin is based and inspired on "tw-colors" and "NextUI".
@@ -1312,4 +1359,4 @@ declare const mobaseTW: () => {
1312
1359
 
1313
1360
  declare const SiteMeta: react_jsx_runtime.JSX.Element;
1314
1361
 
1315
- 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 };