@developer_tribe/react-builder 1.2.7 → 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 +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -26
- package/dist/index.esm.js +2 -2
- 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 +1 -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 -77
- 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,47 +4,50 @@ 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 OnboardImageStyleGenerated {
|
|
8
|
+
width?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
resizeMode?: ResizeModeOptionType;
|
|
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
|
+
marginHorizontal?: string;
|
|
25
|
+
marginVertical?: string;
|
|
26
|
+
marginTop?: string;
|
|
27
|
+
marginBottom?: string;
|
|
28
|
+
marginLeft?: string;
|
|
29
|
+
marginRight?: string;
|
|
30
|
+
backgroundColor?: string;
|
|
31
|
+
borderRadius?: string;
|
|
32
|
+
minWidth?: string;
|
|
33
|
+
maxWidth?: 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
|
+
video_url?: string;
|
|
44
|
+
lottie?: string;
|
|
45
|
+
}
|
|
7
46
|
export interface OnboardImagePropsGenerated {
|
|
8
47
|
child: string;
|
|
9
48
|
attributes: {
|
|
10
|
-
style?:
|
|
49
|
+
style?: OnboardImageStyleGenerated;
|
|
11
50
|
src?: string;
|
|
12
|
-
width?: string;
|
|
13
|
-
height?: string;
|
|
14
|
-
resizeMode?: ResizeModeOptionType;
|
|
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
|
-
marginVertical?: string;
|
|
29
|
-
marginTop?: string;
|
|
30
|
-
marginBottom?: string;
|
|
31
|
-
marginLeft?: string;
|
|
32
|
-
marginRight?: string;
|
|
33
|
-
backgroundColor?: string;
|
|
34
|
-
borderRadius?: string;
|
|
35
|
-
minWidth?: string;
|
|
36
|
-
maxWidth?: 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
|
-
video_url?: string;
|
|
47
|
-
lottie?: string;
|
|
48
51
|
};
|
|
49
52
|
}
|
|
50
53
|
export interface OnboardImageComponentProps {
|
|
@@ -4,44 +4,47 @@ 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 DisplayOptionType = 'flex' | 'block';
|
|
7
|
+
export interface OnboardItemStyleGenerated {
|
|
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
|
+
display?: DisplayOptionType;
|
|
43
|
+
}
|
|
7
44
|
export interface OnboardItemPropsGenerated {
|
|
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;
|
|
44
|
-
display?: DisplayOptionType;
|
|
47
|
+
style?: OnboardItemStyleGenerated;
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
export interface OnboardItemComponentProps {
|
|
@@ -4,44 +4,47 @@ 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 ThemeOptionType = 'light' | 'dark' | 'all';
|
|
7
|
+
export interface OnboardProviderStyleGenerated {
|
|
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?: never;
|
|
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
|
+
theme?: ThemeOptionType;
|
|
43
|
+
}
|
|
7
44
|
export interface OnboardProviderPropsGenerated {
|
|
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?: never;
|
|
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
|
-
theme?: ThemeOptionType;
|
|
47
|
+
style?: OnboardProviderStyleGenerated;
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
export interface OnboardProviderComponentProps {
|
|
@@ -4,50 +4,53 @@ 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 OnboardSubtitleStyleGenerated {
|
|
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
|
+
}
|
|
7
50
|
export interface OnboardSubtitlePropsGenerated {
|
|
8
51
|
child: string;
|
|
9
52
|
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;
|
|
53
|
+
style?: OnboardSubtitleStyleGenerated;
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
export interface OnboardSubtitleComponentProps {
|
|
@@ -4,50 +4,53 @@ 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 OnboardTitleStyleGenerated {
|
|
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
|
+
}
|
|
7
50
|
export interface OnboardTitlePropsGenerated {
|
|
8
51
|
child: string;
|
|
9
52
|
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;
|
|
53
|
+
style?: OnboardTitleStyleGenerated;
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
export interface OnboardTitleComponentProps {
|
|
@@ -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 PaywallBackgroundStyleGenerated {
|
|
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 PaywallBackgroundPropsGenerated {
|
|
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?: PaywallBackgroundStyleGenerated;
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface PaywallBackgroundComponentProps {
|
|
@@ -4,53 +4,56 @@ 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 PaywallCloseButtonStyleGenerated {
|
|
8
|
+
iconType?: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
strokeWidth?: number;
|
|
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
|
+
marginHorizontal?: 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
|
+
}
|
|
7
53
|
export interface PaywallCloseButtonPropsGenerated {
|
|
8
54
|
child: string;
|
|
9
55
|
attributes: {
|
|
10
|
-
style?:
|
|
11
|
-
iconType?: string;
|
|
12
|
-
size?: number;
|
|
13
|
-
strokeWidth?: number;
|
|
14
|
-
color?: string;
|
|
15
|
-
fontSize?: string;
|
|
16
|
-
fontFamily?: string;
|
|
17
|
-
fontWeight?: string;
|
|
18
|
-
textAlign?: TextAlignOptionType;
|
|
19
|
-
adjustsFontSizeToFit?: boolean;
|
|
20
|
-
showEllipsis?: boolean;
|
|
21
|
-
scrollable?: boolean;
|
|
22
|
-
flexDirection?: FlexDirectionOptionType;
|
|
23
|
-
alignItems?: AlignItemsOptionType;
|
|
24
|
-
justifyContent?: JustifyContentOptionType;
|
|
25
|
-
gap?: string;
|
|
26
|
-
padding?: string;
|
|
27
|
-
paddingHorizontal?: string;
|
|
28
|
-
paddingVertical?: string;
|
|
29
|
-
paddingTop?: string;
|
|
30
|
-
paddingBottom?: string;
|
|
31
|
-
paddingLeft?: string;
|
|
32
|
-
paddingRight?: string;
|
|
33
|
-
margin?: string;
|
|
34
|
-
marginVertical?: string;
|
|
35
|
-
marginTop?: string;
|
|
36
|
-
marginBottom?: string;
|
|
37
|
-
marginLeft?: string;
|
|
38
|
-
marginRight?: string;
|
|
39
|
-
backgroundColor?: string;
|
|
40
|
-
borderRadius?: string;
|
|
41
|
-
width?: string;
|
|
42
|
-
minWidth?: string;
|
|
43
|
-
maxWidth?: string;
|
|
44
|
-
height?: string;
|
|
45
|
-
minHeight?: string;
|
|
46
|
-
maxHeight?: string;
|
|
47
|
-
flex?: number;
|
|
48
|
-
position?: PositionOptionType;
|
|
49
|
-
top?: string;
|
|
50
|
-
bottom?: string;
|
|
51
|
-
left?: string;
|
|
52
|
-
right?: string;
|
|
53
|
-
zIndex?: number;
|
|
56
|
+
style?: PaywallCloseButtonStyleGenerated;
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
export interface PaywallCloseButtonComponentProps {
|
|
@@ -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 PaywallOptionsStyleGenerated {
|
|
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 PaywallOptionsPropsGenerated {
|
|
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?: PaywallOptionsStyleGenerated;
|
|
43
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface PaywallOptionsComponentProps {
|