@developer_tribe/react-builder 1.2.6 → 1.2.8
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/build-components/BIcon/BIconProps.generated.d.ts +47 -44
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +38 -35
- package/dist/build-components/Button/ButtonProps.generated.d.ts +40 -37
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +37 -34
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +39 -36
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +38 -35
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +37 -34
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +37 -34
- package/dist/build-components/Image/ImageProps.generated.d.ts +38 -35
- package/dist/build-components/Main/MainProps.generated.d.ts +38 -35
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +37 -34
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +43 -40
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +44 -41
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +41 -38
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +51 -48
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +40 -37
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +38 -35
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +38 -35
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +44 -41
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +44 -41
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +37 -34
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +47 -44
- package/dist/build-components/PaywallOptions/PaywallOptionsProps.generated.d.ts +37 -34
- package/dist/build-components/PaywallProvider/PaywallProviderProps.generated.d.ts +37 -34
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +40 -37
- package/dist/build-components/RadioButton/RadioButtonProps.generated.d.ts +40 -37
- package/dist/build-components/Text/TextProps.generated.d.ts +44 -41
- package/dist/build-components/View/ViewProps.generated.d.ts +37 -34
- package/dist/build-components/patterns.generated.d.ts +21 -21
- package/dist/components/BuilderProvider.d.ts +6 -0
- package/dist/hooks/useExtractImageStyle.d.ts +3 -1
- package/dist/hooks/useExtractTextStyle.d.ts +1 -1
- package/dist/hooks/useExtractViewStyle.d.ts +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.cjs.js +2 -2
- package/dist/index.native.cjs.js.map +1 -1
- package/dist/index.native.d.ts +4 -0
- package/dist/index.native.esm.js +2 -2
- package/dist/index.native.esm.js.map +1 -1
- package/dist/utils/extractImageStyle.d.ts +3 -0
- package/dist/utils/extractTextStyle/extractTextStyleNative.d.ts +17 -0
- package/dist/utils/extractTextStyle.d.ts +2 -0
- package/dist/utils/extractViewStyle/extractViewStyleNative.d.ts +12 -0
- package/dist/utils/extractViewStyle.d.ts +2 -0
- package/dist/utils/patterns.d.ts +2 -1
- package/package.json +5 -1
- package/scripts/prebuild/utils/createGeneratedProps.js +45 -3
- package/src/attributes-editor/LayoutPreviewPicker.tsx +4 -3
- package/src/build-components/BIcon/BIcon.tsx +3 -2
- package/src/build-components/BIcon/BIconProps.generated.ts +48 -44
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +5 -3
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +39 -35
- package/src/build-components/BackgroundImage/pattern.json +9 -17
- package/src/build-components/Button/Button.tsx +5 -4
- package/src/build-components/Button/ButtonProps.generated.ts +41 -37
- package/src/build-components/Carousel/CarouselProps.generated.ts +38 -34
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +3 -2
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +40 -36
- package/src/build-components/CarouselDots/CarouselDots.tsx +1 -1
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +39 -35
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +38 -34
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +38 -34
- package/src/build-components/Image/Image.tsx +3 -2
- package/src/build-components/Image/ImageProps.generated.ts +39 -35
- package/src/build-components/Image/pattern.json +9 -16
- package/src/build-components/Main/Main.tsx +1 -1
- package/src/build-components/Main/MainProps.generated.ts +39 -35
- package/src/build-components/Onboard/OnboardProps.generated.ts +38 -34
- package/src/build-components/OnboardButton/OnboardButton.tsx +6 -5
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +44 -40
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +4 -4
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +45 -41
- package/src/build-components/OnboardDot/OnboardDot.tsx +5 -4
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +42 -38
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +16 -21
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +52 -48
- package/src/build-components/OnboardImage/OnboardImage.tsx +7 -6
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +41 -37
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +39 -35
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +39 -35
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +45 -41
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +45 -41
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +38 -34
- package/src/build-components/PaywallCloseButton/PaywallCloseButton.tsx +4 -4
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +48 -44
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +38 -34
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +38 -34
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +41 -37
- package/src/build-components/RadioButton/RadioButton.tsx +4 -3
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +41 -37
- package/src/build-components/Text/Text.tsx +3 -5
- package/src/build-components/Text/TextProps.generated.ts +45 -41
- package/src/build-components/View/ViewProps.generated.ts +38 -34
- package/src/build-components/patterns.generated.ts +21 -21
- package/src/components/BuilderProvider.tsx +15 -1
- package/src/hooks/useExtractImageStyle.ts +15 -4
- package/src/hooks/useExtractTextStyle.ts +11 -3
- package/src/hooks/useExtractViewStyle.ts +15 -4
- package/src/index.native.ts +6 -0
- package/src/index.ts +2 -0
- package/src/utils/extractImageStyle.ts +34 -5
- package/src/utils/extractTextStyle/extractTextStyle.ts +3 -5
- package/src/utils/extractTextStyle/extractTextStyleNative.ts +106 -0
- package/src/utils/extractTextStyle.ts +2 -0
- package/src/utils/extractViewStyle/extractViewStyle.ts +2 -4
- package/src/utils/extractViewStyle/extractViewStyleNative.ts +111 -0
- package/src/utils/extractViewStyle.ts +2 -0
- package/src/utils/patterns.ts +55 -1
|
@@ -4,45 +4,48 @@ export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stret
|
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
5
|
export type PositionOptionType = 'relative' | 'absolute';
|
|
6
6
|
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
7
|
+
export interface ImageStyleGenerated {
|
|
8
|
+
scrollable?: boolean;
|
|
9
|
+
flexDirection?: FlexDirectionOptionType;
|
|
10
|
+
alignItems?: AlignItemsOptionType;
|
|
11
|
+
justifyContent?: JustifyContentOptionType;
|
|
12
|
+
gap?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
paddingHorizontal?: string;
|
|
15
|
+
paddingVertical?: string;
|
|
16
|
+
paddingTop?: string;
|
|
17
|
+
paddingBottom?: string;
|
|
18
|
+
paddingLeft?: string;
|
|
19
|
+
paddingRight?: string;
|
|
20
|
+
margin?: string;
|
|
21
|
+
marginHorizontal?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
minWidth?: string;
|
|
31
|
+
maxWidth?: string;
|
|
32
|
+
height?: string;
|
|
33
|
+
minHeight?: string;
|
|
34
|
+
maxHeight?: string;
|
|
35
|
+
flex?: number;
|
|
36
|
+
position?: PositionOptionType;
|
|
37
|
+
top?: string;
|
|
38
|
+
bottom?: string;
|
|
39
|
+
left?: string;
|
|
40
|
+
right?: string;
|
|
41
|
+
zIndex?: number;
|
|
42
|
+
resizeMode?: ResizeModeOptionType;
|
|
43
|
+
}
|
|
7
44
|
export interface ImagePropsGenerated {
|
|
8
45
|
child: string;
|
|
9
46
|
attributes: {
|
|
10
|
-
style?:
|
|
11
|
-
scrollable?: boolean;
|
|
12
|
-
flexDirection?: FlexDirectionOptionType;
|
|
13
|
-
alignItems?: AlignItemsOptionType;
|
|
14
|
-
justifyContent?: JustifyContentOptionType;
|
|
15
|
-
gap?: string;
|
|
16
|
-
padding?: string;
|
|
17
|
-
paddingHorizontal?: string;
|
|
18
|
-
paddingVertical?: string;
|
|
19
|
-
paddingTop?: string;
|
|
20
|
-
paddingBottom?: string;
|
|
21
|
-
paddingLeft?: string;
|
|
22
|
-
paddingRight?: string;
|
|
23
|
-
margin?: string;
|
|
24
|
-
marginVertical?: string;
|
|
25
|
-
marginTop?: string;
|
|
26
|
-
marginBottom?: string;
|
|
27
|
-
marginLeft?: string;
|
|
28
|
-
marginRight?: string;
|
|
29
|
-
backgroundColor?: string;
|
|
30
|
-
borderRadius?: string;
|
|
31
|
-
width?: string;
|
|
32
|
-
minWidth?: string;
|
|
33
|
-
maxWidth?: string;
|
|
34
|
-
height?: string;
|
|
35
|
-
minHeight?: string;
|
|
36
|
-
maxHeight?: string;
|
|
37
|
-
flex?: number;
|
|
38
|
-
position?: PositionOptionType;
|
|
39
|
-
top?: string;
|
|
40
|
-
bottom?: string;
|
|
41
|
-
left?: string;
|
|
42
|
-
right?: string;
|
|
43
|
-
zIndex?: number;
|
|
47
|
+
style?: ImageStyleGenerated;
|
|
44
48
|
src?: string;
|
|
45
|
-
resizeMode?: ResizeModeOptionType;
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
export interface ImageComponentProps {
|
|
@@ -3,44 +3,47 @@ export type FlexDirectionOptionType = 'row' | 'column';
|
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
5
|
export type PositionOptionType = 'relative' | 'absolute';
|
|
6
|
+
export interface MainStyleGenerated {
|
|
7
|
+
scrollable?: boolean;
|
|
8
|
+
flexDirection?: FlexDirectionOptionType;
|
|
9
|
+
alignItems?: AlignItemsOptionType;
|
|
10
|
+
justifyContent?: JustifyContentOptionType;
|
|
11
|
+
gap?: string;
|
|
12
|
+
padding?: string;
|
|
13
|
+
paddingHorizontal?: string;
|
|
14
|
+
paddingVertical?: string;
|
|
15
|
+
paddingTop?: string;
|
|
16
|
+
paddingBottom?: string;
|
|
17
|
+
paddingLeft?: string;
|
|
18
|
+
paddingRight?: string;
|
|
19
|
+
margin?: string;
|
|
20
|
+
marginHorizontal?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
minWidth?: string;
|
|
30
|
+
maxWidth?: string;
|
|
31
|
+
height?: string;
|
|
32
|
+
minHeight?: string;
|
|
33
|
+
maxHeight?: string;
|
|
34
|
+
flex?: number;
|
|
35
|
+
position?: PositionOptionType;
|
|
36
|
+
top?: string;
|
|
37
|
+
bottom?: string;
|
|
38
|
+
left?: string;
|
|
39
|
+
right?: string;
|
|
40
|
+
zIndex?: number;
|
|
41
|
+
useSafeAreaView?: boolean;
|
|
42
|
+
}
|
|
6
43
|
export interface MainPropsGenerated {
|
|
7
44
|
child: string;
|
|
8
45
|
attributes: {
|
|
9
|
-
style?:
|
|
10
|
-
scrollable?: boolean;
|
|
11
|
-
flexDirection?: FlexDirectionOptionType;
|
|
12
|
-
alignItems?: AlignItemsOptionType;
|
|
13
|
-
justifyContent?: JustifyContentOptionType;
|
|
14
|
-
gap?: string;
|
|
15
|
-
padding?: string;
|
|
16
|
-
paddingHorizontal?: string;
|
|
17
|
-
paddingVertical?: string;
|
|
18
|
-
paddingTop?: string;
|
|
19
|
-
paddingBottom?: string;
|
|
20
|
-
paddingLeft?: string;
|
|
21
|
-
paddingRight?: string;
|
|
22
|
-
margin?: string;
|
|
23
|
-
marginVertical?: string;
|
|
24
|
-
marginTop?: string;
|
|
25
|
-
marginBottom?: string;
|
|
26
|
-
marginLeft?: string;
|
|
27
|
-
marginRight?: string;
|
|
28
|
-
backgroundColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
width?: string;
|
|
31
|
-
minWidth?: string;
|
|
32
|
-
maxWidth?: string;
|
|
33
|
-
height?: string;
|
|
34
|
-
minHeight?: string;
|
|
35
|
-
maxHeight?: string;
|
|
36
|
-
flex?: number;
|
|
37
|
-
position?: PositionOptionType;
|
|
38
|
-
top?: string;
|
|
39
|
-
bottom?: string;
|
|
40
|
-
left?: string;
|
|
41
|
-
right?: string;
|
|
42
|
-
zIndex?: number;
|
|
43
|
-
useSafeAreaView?: boolean;
|
|
46
|
+
style?: MainStyleGenerated;
|
|
44
47
|
};
|
|
45
48
|
}
|
|
46
49
|
export interface MainComponentProps {
|
|
@@ -3,43 +3,46 @@ export type FlexDirectionOptionType = 'row' | 'column';
|
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
5
|
export type PositionOptionType = 'relative' | 'absolute';
|
|
6
|
+
export interface OnboardStyleGenerated {
|
|
7
|
+
scrollable?: boolean;
|
|
8
|
+
flexDirection?: FlexDirectionOptionType;
|
|
9
|
+
alignItems?: AlignItemsOptionType;
|
|
10
|
+
justifyContent?: JustifyContentOptionType;
|
|
11
|
+
gap?: string;
|
|
12
|
+
padding?: string;
|
|
13
|
+
paddingHorizontal?: string;
|
|
14
|
+
paddingVertical?: string;
|
|
15
|
+
paddingTop?: string;
|
|
16
|
+
paddingBottom?: string;
|
|
17
|
+
paddingLeft?: string;
|
|
18
|
+
paddingRight?: string;
|
|
19
|
+
margin?: string;
|
|
20
|
+
marginHorizontal?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
minWidth?: string;
|
|
30
|
+
maxWidth?: string;
|
|
31
|
+
height?: string;
|
|
32
|
+
minHeight?: string;
|
|
33
|
+
maxHeight?: string;
|
|
34
|
+
flex?: number;
|
|
35
|
+
position?: PositionOptionType;
|
|
36
|
+
top?: string;
|
|
37
|
+
bottom?: string;
|
|
38
|
+
left?: string;
|
|
39
|
+
right?: string;
|
|
40
|
+
zIndex?: number;
|
|
41
|
+
}
|
|
6
42
|
export interface OnboardPropsGenerated {
|
|
7
43
|
child: string;
|
|
8
44
|
attributes: {
|
|
9
|
-
style?:
|
|
10
|
-
scrollable?: boolean;
|
|
11
|
-
flexDirection?: FlexDirectionOptionType;
|
|
12
|
-
alignItems?: AlignItemsOptionType;
|
|
13
|
-
justifyContent?: JustifyContentOptionType;
|
|
14
|
-
gap?: string;
|
|
15
|
-
padding?: string;
|
|
16
|
-
paddingHorizontal?: string;
|
|
17
|
-
paddingVertical?: string;
|
|
18
|
-
paddingTop?: string;
|
|
19
|
-
paddingBottom?: string;
|
|
20
|
-
paddingLeft?: string;
|
|
21
|
-
paddingRight?: string;
|
|
22
|
-
margin?: string;
|
|
23
|
-
marginVertical?: string;
|
|
24
|
-
marginTop?: string;
|
|
25
|
-
marginBottom?: string;
|
|
26
|
-
marginLeft?: string;
|
|
27
|
-
marginRight?: string;
|
|
28
|
-
backgroundColor?: string;
|
|
29
|
-
borderRadius?: string;
|
|
30
|
-
width?: string;
|
|
31
|
-
minWidth?: string;
|
|
32
|
-
maxWidth?: string;
|
|
33
|
-
height?: string;
|
|
34
|
-
minHeight?: string;
|
|
35
|
-
maxHeight?: string;
|
|
36
|
-
flex?: number;
|
|
37
|
-
position?: PositionOptionType;
|
|
38
|
-
top?: string;
|
|
39
|
-
bottom?: string;
|
|
40
|
-
left?: string;
|
|
41
|
-
right?: string;
|
|
42
|
-
zIndex?: number;
|
|
45
|
+
style?: OnboardStyleGenerated;
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface OnboardComponentProps {
|
|
@@ -12,49 +12,52 @@ export interface EventObjectGenerated {
|
|
|
12
12
|
navigate_to?: string;
|
|
13
13
|
targetIndex?: number;
|
|
14
14
|
}
|
|
15
|
+
export interface OnboardButtonStyleGenerated {
|
|
16
|
+
scrollable?: boolean;
|
|
17
|
+
flexDirection?: FlexDirectionOptionType;
|
|
18
|
+
alignItems?: AlignItemsOptionType;
|
|
19
|
+
justifyContent?: JustifyContentOptionType;
|
|
20
|
+
gap?: string;
|
|
21
|
+
padding?: string;
|
|
22
|
+
paddingHorizontal?: string;
|
|
23
|
+
paddingVertical?: string;
|
|
24
|
+
paddingTop?: string;
|
|
25
|
+
paddingBottom?: string;
|
|
26
|
+
paddingLeft?: string;
|
|
27
|
+
paddingRight?: string;
|
|
28
|
+
margin?: string;
|
|
29
|
+
marginHorizontal?: string;
|
|
30
|
+
marginVertical?: string;
|
|
31
|
+
marginTop?: string;
|
|
32
|
+
marginBottom?: string;
|
|
33
|
+
marginLeft?: string;
|
|
34
|
+
marginRight?: string;
|
|
35
|
+
backgroundColor?: string;
|
|
36
|
+
borderRadius?: string;
|
|
37
|
+
width?: string;
|
|
38
|
+
minWidth?: string;
|
|
39
|
+
maxWidth?: string;
|
|
40
|
+
height?: string;
|
|
41
|
+
minHeight?: string;
|
|
42
|
+
maxHeight?: string;
|
|
43
|
+
flex?: number;
|
|
44
|
+
position?: PositionOptionType;
|
|
45
|
+
top?: string;
|
|
46
|
+
bottom?: string;
|
|
47
|
+
left?: string;
|
|
48
|
+
right?: string;
|
|
49
|
+
zIndex?: number;
|
|
50
|
+
labelKey?: string;
|
|
51
|
+
button_text_color?: string;
|
|
52
|
+
animation?: AnimationOptionType;
|
|
53
|
+
animation_color?: string;
|
|
54
|
+
button_background_color?: string;
|
|
55
|
+
events?: EventObjectGenerated[];
|
|
56
|
+
}
|
|
15
57
|
export interface OnboardButtonPropsGenerated {
|
|
16
58
|
child: string;
|
|
17
59
|
attributes: {
|
|
18
|
-
style?:
|
|
19
|
-
scrollable?: boolean;
|
|
20
|
-
flexDirection?: FlexDirectionOptionType;
|
|
21
|
-
alignItems?: AlignItemsOptionType;
|
|
22
|
-
justifyContent?: JustifyContentOptionType;
|
|
23
|
-
gap?: string;
|
|
24
|
-
padding?: string;
|
|
25
|
-
paddingHorizontal?: string;
|
|
26
|
-
paddingVertical?: string;
|
|
27
|
-
paddingTop?: string;
|
|
28
|
-
paddingBottom?: string;
|
|
29
|
-
paddingLeft?: string;
|
|
30
|
-
paddingRight?: string;
|
|
31
|
-
margin?: string;
|
|
32
|
-
marginVertical?: string;
|
|
33
|
-
marginTop?: string;
|
|
34
|
-
marginBottom?: string;
|
|
35
|
-
marginLeft?: string;
|
|
36
|
-
marginRight?: string;
|
|
37
|
-
backgroundColor?: string;
|
|
38
|
-
borderRadius?: string;
|
|
39
|
-
width?: string;
|
|
40
|
-
minWidth?: string;
|
|
41
|
-
maxWidth?: string;
|
|
42
|
-
height?: string;
|
|
43
|
-
minHeight?: string;
|
|
44
|
-
maxHeight?: string;
|
|
45
|
-
flex?: number;
|
|
46
|
-
position?: PositionOptionType;
|
|
47
|
-
top?: string;
|
|
48
|
-
bottom?: string;
|
|
49
|
-
left?: string;
|
|
50
|
-
right?: string;
|
|
51
|
-
zIndex?: number;
|
|
52
|
-
labelKey?: string;
|
|
53
|
-
button_text_color?: string;
|
|
54
|
-
animation?: AnimationOptionType;
|
|
55
|
-
animation_color?: string;
|
|
56
|
-
button_background_color?: string;
|
|
57
|
-
events?: EventObjectGenerated[];
|
|
60
|
+
style?: OnboardButtonStyleGenerated;
|
|
58
61
|
};
|
|
59
62
|
}
|
|
60
63
|
export interface OnboardButtonComponentProps {
|
|
@@ -6,50 +6,53 @@ export type PositionOptionType = 'relative' | 'absolute';
|
|
|
6
6
|
export type ButtonTypeOptionType = 'previous_button' | 'next_button' | 'skip_button';
|
|
7
7
|
export type ButtonsDirectionOptionType = 'row' | 'column';
|
|
8
8
|
export type ConditionOptionType = 'carousel-index';
|
|
9
|
+
export interface OnboardButtonsStyleGenerated {
|
|
10
|
+
scrollable?: boolean;
|
|
11
|
+
flexDirection?: FlexDirectionOptionType;
|
|
12
|
+
alignItems?: AlignItemsOptionType;
|
|
13
|
+
justifyContent?: JustifyContentOptionType;
|
|
14
|
+
gap?: string;
|
|
15
|
+
padding?: string;
|
|
16
|
+
paddingHorizontal?: string;
|
|
17
|
+
paddingVertical?: string;
|
|
18
|
+
paddingTop?: string;
|
|
19
|
+
paddingBottom?: string;
|
|
20
|
+
paddingLeft?: string;
|
|
21
|
+
paddingRight?: string;
|
|
22
|
+
margin?: string;
|
|
23
|
+
marginHorizontal?: string;
|
|
24
|
+
marginVertical?: string;
|
|
25
|
+
marginTop?: string;
|
|
26
|
+
marginBottom?: string;
|
|
27
|
+
marginLeft?: string;
|
|
28
|
+
marginRight?: string;
|
|
29
|
+
backgroundColor?: string;
|
|
30
|
+
borderRadius?: string;
|
|
31
|
+
width?: string;
|
|
32
|
+
minWidth?: string;
|
|
33
|
+
maxWidth?: string;
|
|
34
|
+
height?: string;
|
|
35
|
+
minHeight?: string;
|
|
36
|
+
maxHeight?: string;
|
|
37
|
+
flex?: number;
|
|
38
|
+
position?: PositionOptionType;
|
|
39
|
+
top?: string;
|
|
40
|
+
bottom?: string;
|
|
41
|
+
left?: string;
|
|
42
|
+
right?: string;
|
|
43
|
+
zIndex?: number;
|
|
44
|
+
buttonType?: ButtonTypeOptionType;
|
|
45
|
+
skipNumber?: number;
|
|
46
|
+
buttons_direction?: ButtonsDirectionOptionType;
|
|
47
|
+
forIndex?: number;
|
|
48
|
+
seperatorColor?: string;
|
|
49
|
+
condition?: ConditionOptionType;
|
|
50
|
+
conditionVariable?: number;
|
|
51
|
+
}
|
|
9
52
|
export interface OnboardButtonsPropsGenerated {
|
|
10
53
|
child: string;
|
|
11
54
|
attributes: {
|
|
12
|
-
style?:
|
|
13
|
-
scrollable?: boolean;
|
|
14
|
-
flexDirection?: FlexDirectionOptionType;
|
|
15
|
-
alignItems?: AlignItemsOptionType;
|
|
16
|
-
justifyContent?: JustifyContentOptionType;
|
|
17
|
-
gap?: string;
|
|
18
|
-
padding?: string;
|
|
19
|
-
paddingHorizontal?: string;
|
|
20
|
-
paddingVertical?: string;
|
|
21
|
-
paddingTop?: string;
|
|
22
|
-
paddingBottom?: string;
|
|
23
|
-
paddingLeft?: string;
|
|
24
|
-
paddingRight?: string;
|
|
25
|
-
margin?: string;
|
|
26
|
-
marginVertical?: string;
|
|
27
|
-
marginTop?: string;
|
|
28
|
-
marginBottom?: string;
|
|
29
|
-
marginLeft?: string;
|
|
30
|
-
marginRight?: string;
|
|
31
|
-
backgroundColor?: string;
|
|
32
|
-
borderRadius?: string;
|
|
33
|
-
width?: string;
|
|
34
|
-
minWidth?: string;
|
|
35
|
-
maxWidth?: string;
|
|
36
|
-
height?: string;
|
|
37
|
-
minHeight?: string;
|
|
38
|
-
maxHeight?: string;
|
|
39
|
-
flex?: number;
|
|
40
|
-
position?: PositionOptionType;
|
|
41
|
-
top?: string;
|
|
42
|
-
bottom?: string;
|
|
43
|
-
left?: string;
|
|
44
|
-
right?: string;
|
|
45
|
-
zIndex?: number;
|
|
46
|
-
buttonType?: ButtonTypeOptionType;
|
|
47
|
-
skipNumber?: number;
|
|
48
|
-
buttons_direction?: ButtonsDirectionOptionType;
|
|
49
|
-
forIndex?: number;
|
|
50
|
-
seperatorColor?: string;
|
|
51
|
-
condition?: ConditionOptionType;
|
|
52
|
-
conditionVariable?: number;
|
|
55
|
+
style?: OnboardButtonsStyleGenerated;
|
|
53
56
|
};
|
|
54
57
|
}
|
|
55
58
|
export interface OnboardButtonsComponentProps {
|
|
@@ -1,47 +1,50 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
2
|
export type PositionOptionType = 'relative' | 'absolute';
|
|
3
3
|
export type DotTypeOptionType = 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
|
|
4
|
+
export interface OnboardDotStyleGenerated {
|
|
5
|
+
scrollable?: boolean;
|
|
6
|
+
flexDirection?: never;
|
|
7
|
+
alignItems?: never;
|
|
8
|
+
justifyContent?: never;
|
|
9
|
+
gap?: string;
|
|
10
|
+
padding?: string;
|
|
11
|
+
paddingHorizontal?: string;
|
|
12
|
+
paddingVertical?: string;
|
|
13
|
+
paddingTop?: string;
|
|
14
|
+
paddingBottom?: string;
|
|
15
|
+
paddingLeft?: string;
|
|
16
|
+
paddingRight?: string;
|
|
17
|
+
margin?: string;
|
|
18
|
+
marginHorizontal?: string;
|
|
19
|
+
marginVertical?: string;
|
|
20
|
+
marginTop?: string;
|
|
21
|
+
marginBottom?: string;
|
|
22
|
+
marginLeft?: string;
|
|
23
|
+
marginRight?: string;
|
|
24
|
+
backgroundColor?: string;
|
|
25
|
+
borderRadius?: string;
|
|
26
|
+
width?: string;
|
|
27
|
+
minWidth?: string;
|
|
28
|
+
maxWidth?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
minHeight?: string;
|
|
31
|
+
maxHeight?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
39
|
+
dotType?: DotTypeOptionType;
|
|
40
|
+
inactive_dot_opacity?: number;
|
|
41
|
+
expanding_dot_width?: string;
|
|
42
|
+
active_dot_color?: string;
|
|
43
|
+
}
|
|
4
44
|
export interface OnboardDotPropsGenerated {
|
|
5
45
|
child: string;
|
|
6
46
|
attributes: {
|
|
7
|
-
style?:
|
|
8
|
-
scrollable?: boolean;
|
|
9
|
-
flexDirection?: never;
|
|
10
|
-
alignItems?: never;
|
|
11
|
-
justifyContent?: never;
|
|
12
|
-
gap?: string;
|
|
13
|
-
padding?: string;
|
|
14
|
-
paddingHorizontal?: string;
|
|
15
|
-
paddingVertical?: string;
|
|
16
|
-
paddingTop?: string;
|
|
17
|
-
paddingBottom?: string;
|
|
18
|
-
paddingLeft?: string;
|
|
19
|
-
paddingRight?: string;
|
|
20
|
-
margin?: string;
|
|
21
|
-
marginVertical?: string;
|
|
22
|
-
marginTop?: string;
|
|
23
|
-
marginBottom?: string;
|
|
24
|
-
marginLeft?: string;
|
|
25
|
-
marginRight?: string;
|
|
26
|
-
backgroundColor?: string;
|
|
27
|
-
borderRadius?: string;
|
|
28
|
-
width?: string;
|
|
29
|
-
minWidth?: string;
|
|
30
|
-
maxWidth?: string;
|
|
31
|
-
height?: string;
|
|
32
|
-
minHeight?: string;
|
|
33
|
-
maxHeight?: string;
|
|
34
|
-
flex?: number;
|
|
35
|
-
position?: PositionOptionType;
|
|
36
|
-
top?: string;
|
|
37
|
-
bottom?: string;
|
|
38
|
-
left?: string;
|
|
39
|
-
right?: string;
|
|
40
|
-
zIndex?: number;
|
|
41
|
-
dotType?: DotTypeOptionType;
|
|
42
|
-
inactive_dot_opacity?: number;
|
|
43
|
-
expanding_dot_width?: string;
|
|
44
|
-
active_dot_color?: string;
|
|
47
|
+
style?: OnboardDotStyleGenerated;
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
export interface OnboardDotComponentProps {
|
|
@@ -4,57 +4,60 @@ export type FlexDirectionOptionType = 'row' | 'column';
|
|
|
4
4
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
5
5
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
6
6
|
export type PositionOptionType = 'relative' | 'absolute';
|
|
7
|
+
export interface OnboardFooterStyleGenerated {
|
|
8
|
+
color?: string;
|
|
9
|
+
fontSize?: string;
|
|
10
|
+
fontFamily?: string;
|
|
11
|
+
fontWeight?: string;
|
|
12
|
+
textAlign?: TextAlignOptionType;
|
|
13
|
+
adjustsFontSizeToFit?: boolean;
|
|
14
|
+
showEllipsis?: boolean;
|
|
15
|
+
scrollable?: boolean;
|
|
16
|
+
flexDirection?: FlexDirectionOptionType;
|
|
17
|
+
alignItems?: AlignItemsOptionType;
|
|
18
|
+
justifyContent?: JustifyContentOptionType;
|
|
19
|
+
gap?: string;
|
|
20
|
+
padding?: string;
|
|
21
|
+
paddingHorizontal?: string;
|
|
22
|
+
paddingVertical?: string;
|
|
23
|
+
paddingTop?: string;
|
|
24
|
+
paddingBottom?: string;
|
|
25
|
+
paddingLeft?: string;
|
|
26
|
+
paddingRight?: string;
|
|
27
|
+
margin?: string;
|
|
28
|
+
marginHorizontal?: string;
|
|
29
|
+
marginVertical?: string;
|
|
30
|
+
marginTop?: string;
|
|
31
|
+
marginBottom?: string;
|
|
32
|
+
marginLeft?: string;
|
|
33
|
+
marginRight?: string;
|
|
34
|
+
backgroundColor?: string;
|
|
35
|
+
borderRadius?: string;
|
|
36
|
+
width?: string;
|
|
37
|
+
minWidth?: string;
|
|
38
|
+
maxWidth?: string;
|
|
39
|
+
height?: string;
|
|
40
|
+
minHeight?: string;
|
|
41
|
+
maxHeight?: string;
|
|
42
|
+
flex?: number;
|
|
43
|
+
position?: PositionOptionType;
|
|
44
|
+
top?: string;
|
|
45
|
+
bottom?: string;
|
|
46
|
+
left?: string;
|
|
47
|
+
right?: string;
|
|
48
|
+
zIndex?: number;
|
|
49
|
+
textLocalizationKey?: string;
|
|
50
|
+
linkedWordFirstLocalizationKey?: string;
|
|
51
|
+
linkedWordFirstColor?: string;
|
|
52
|
+
linkedWordFirstPage?: string;
|
|
53
|
+
linkedWordSecondLocalizationKey?: string;
|
|
54
|
+
linkedWordSecondColor?: string;
|
|
55
|
+
linkedWordSecondPage?: string;
|
|
56
|
+
}
|
|
7
57
|
export interface OnboardFooterPropsGenerated {
|
|
8
58
|
child: string;
|
|
9
59
|
attributes: {
|
|
10
|
-
style?:
|
|
11
|
-
color?: string;
|
|
12
|
-
fontSize?: string;
|
|
13
|
-
fontFamily?: string;
|
|
14
|
-
fontWeight?: string;
|
|
15
|
-
textAlign?: TextAlignOptionType;
|
|
16
|
-
adjustsFontSizeToFit?: boolean;
|
|
17
|
-
showEllipsis?: boolean;
|
|
18
|
-
scrollable?: boolean;
|
|
19
|
-
flexDirection?: FlexDirectionOptionType;
|
|
20
|
-
alignItems?: AlignItemsOptionType;
|
|
21
|
-
justifyContent?: JustifyContentOptionType;
|
|
22
|
-
gap?: string;
|
|
23
|
-
padding?: string;
|
|
24
|
-
paddingHorizontal?: string;
|
|
25
|
-
paddingVertical?: string;
|
|
26
|
-
paddingTop?: string;
|
|
27
|
-
paddingBottom?: string;
|
|
28
|
-
paddingLeft?: string;
|
|
29
|
-
paddingRight?: string;
|
|
30
|
-
margin?: string;
|
|
31
|
-
marginVertical?: string;
|
|
32
|
-
marginTop?: string;
|
|
33
|
-
marginBottom?: string;
|
|
34
|
-
marginLeft?: string;
|
|
35
|
-
marginRight?: string;
|
|
36
|
-
backgroundColor?: string;
|
|
37
|
-
borderRadius?: string;
|
|
38
|
-
width?: string;
|
|
39
|
-
minWidth?: string;
|
|
40
|
-
maxWidth?: string;
|
|
41
|
-
height?: string;
|
|
42
|
-
minHeight?: string;
|
|
43
|
-
maxHeight?: string;
|
|
44
|
-
flex?: number;
|
|
45
|
-
position?: PositionOptionType;
|
|
46
|
-
top?: string;
|
|
47
|
-
bottom?: string;
|
|
48
|
-
left?: string;
|
|
49
|
-
right?: string;
|
|
50
|
-
zIndex?: number;
|
|
51
|
-
textLocalizationKey?: string;
|
|
52
|
-
linkedWordFirstLocalizationKey?: string;
|
|
53
|
-
linkedWordFirstColor?: string;
|
|
54
|
-
linkedWordFirstPage?: string;
|
|
55
|
-
linkedWordSecondLocalizationKey?: string;
|
|
56
|
-
linkedWordSecondColor?: string;
|
|
57
|
-
linkedWordSecondPage?: string;
|
|
60
|
+
style?: OnboardFooterStyleGenerated;
|
|
58
61
|
};
|
|
59
62
|
}
|
|
60
63
|
export interface OnboardFooterComponentProps {
|