@developer_tribe/react-builder 1.2.7 → 1.2.9
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/AttributesEditor.d.ts +2 -11
- package/dist/attribute-analyser/style/native/useExtractImageStyle.d.ts +10 -0
- package/dist/attribute-analyser/style/native/useExtractTextStyle.d.ts +9 -0
- package/dist/attribute-analyser/style/native/useExtractViewStyle.d.ts +8 -0
- package/dist/attribute-analyser/style/web/useExtractImageStyle.d.ts +4 -0
- package/dist/attribute-analyser/style/web/useExtractTextStyle.d.ts +4 -0
- package/dist/attribute-analyser/style/web/useExtractViewStyle.d.ts +4 -0
- package/dist/attributes-editor/AttributesEditorFields.d.ts +18 -0
- package/dist/attributes-editor/AttributesEditorView.d.ts +4 -0
- package/dist/attributes-editor/attributesEditorModelTypes.d.ts +67 -0
- package/dist/attributes-editor/attributesEditorUtils.d.ts +19 -0
- package/dist/attributes-editor/useAttributesEditorModel.d.ts +2 -0
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +41 -38
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +37 -34
- package/dist/build-components/Button/ButtonProps.generated.d.ts +39 -36
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +37 -34
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +37 -34
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +37 -34
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +36 -33
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +36 -33
- package/dist/build-components/Image/ImageProps.generated.d.ts +38 -33
- package/dist/build-components/Main/MainProps.generated.d.ts +36 -33
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +36 -33
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +38 -34
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +39 -36
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +43 -34
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +41 -38
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +36 -31
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +39 -33
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +38 -34
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +41 -38
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +41 -38
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +36 -33
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +41 -38
- package/dist/build-components/PaywallOptions/PaywallOptionsProps.generated.d.ts +36 -33
- package/dist/build-components/PaywallProvider/PaywallProviderProps.generated.d.ts +36 -33
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +39 -36
- package/dist/build-components/RadioButton/RadioButtonProps.generated.d.ts +36 -33
- package/dist/build-components/Text/TextProps.generated.d.ts +41 -38
- package/dist/build-components/View/ViewProps.generated.d.ts +36 -33
- package/dist/build-components/patterns.generated.d.ts +2673 -5787
- package/dist/components/BuilderProvider.d.ts +6 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -26
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.cjs.js +6 -4
- package/dist/index.native.cjs.js.map +1 -1
- package/dist/index.native.d.ts +6 -3
- package/dist/index.native.esm.js +6 -4
- package/dist/index.native.esm.js.map +1 -1
- package/dist/migrations/migratePipe.d.ts +1 -1
- package/dist/migrations/migrations/1.1.2_extract_component_attributes_from_style.d.ts +2 -0
- package/dist/mockOS/components/PermissionModal.d.ts +1 -2
- package/dist/styles.css +1 -1
- package/dist/types/PreviewConfig.d.ts +1 -5
- 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/getMeta.d.ts +5 -0
- package/dist/utils/patterns.d.ts +14 -1
- package/package.json +2 -1
- package/scripts/prebuild/prebuild.js +14 -0
- package/scripts/prebuild/utils/createGeneratedProps.js +51 -3
- package/scripts/prebuild/utils/index.js +1 -0
- package/scripts/prebuild/utils/updateMetaJson.js +66 -0
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +37 -3
- package/scripts/prebuild/utils/validatePatternJson.js +27 -2
- package/scripts/public/scripts/build/index.js +20 -3
- package/scripts/public/scripts/build/info.json +6 -0
- package/scripts/public/scripts/build/utils/createComponentsIndex.js +9 -3
- package/scripts/public/scripts/build/utils/createRenderNodeGenerated.js +66 -8
- package/src/AttributesEditor.tsx +8 -944
- package/src/assets/meta.json +4 -0
- package/src/assets/samples/carousel-sample.json +1 -1
- package/src/assets/samples/getSamples.ts +2 -0
- package/src/assets/samples/paywall-1.json +11 -7
- package/src/assets/samples/simple-1.json +3 -3
- package/src/assets/samples/simple-2.json +3 -3
- package/src/assets/samples/unmigrated-builder-1.1.1.json +87 -0
- package/src/assets/samples/unmigrated-builder1.json +1 -1
- package/src/assets/samples/unvalidated-builder1.json +3 -3
- package/src/assets/samples/unvalidated-crash1.json +1 -1
- package/src/assets/samples/unvalidated-crashcomponent1.json +1 -1
- package/src/assets/samples/vpn-onboard-1.json +1 -1
- package/src/assets/samples/vpn-onboard-2.json +1 -1
- package/src/assets/samples/vpn-onboard-3.json +1 -1
- package/src/assets/samples/vpn-onboard-4.json +1 -1
- package/src/assets/samples/vpn-onboard-5.json +1 -1
- package/src/assets/samples/vpn-onboard-6.json +1 -1
- package/src/attribute-analyser/style/native/useExtractImageStyle.ts +46 -0
- package/src/attribute-analyser/style/native/useExtractTextStyle.ts +50 -0
- package/src/attribute-analyser/style/native/useExtractViewStyle.ts +32 -0
- package/src/attribute-analyser/style/web/useExtractImageStyle.ts +20 -0
- package/src/{hooks → attribute-analyser/style/web}/useExtractTextStyle.ts +7 -6
- package/src/{hooks → attribute-analyser/style/web}/useExtractViewStyle.ts +7 -6
- package/src/attributes-editor/AttributesEditorFields.tsx +248 -0
- package/src/attributes-editor/AttributesEditorView.tsx +360 -0
- package/src/attributes-editor/LayoutPreviewPicker.tsx +4 -3
- package/src/attributes-editor/attributesEditorModelTypes.ts +86 -0
- package/src/attributes-editor/attributesEditorUtils.ts +102 -0
- package/src/attributes-editor/useAttributesEditorModel.ts +477 -0
- package/src/build-components/BIcon/BIcon.tsx +4 -3
- package/src/build-components/BIcon/BIconProps.generated.ts +42 -38
- package/src/build-components/BIcon/pattern.json +5 -6
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +7 -4
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +38 -34
- package/src/build-components/BackgroundImage/pattern.json +9 -17
- package/src/build-components/Button/Button.tsx +7 -6
- package/src/build-components/Button/ButtonProps.generated.ts +40 -36
- package/src/build-components/Button/pattern.json +17 -15
- package/src/build-components/Carousel/Carousel.tsx +1 -1
- package/src/build-components/Carousel/CarouselProps.generated.ts +38 -34
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +4 -6
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +41 -37
- package/src/build-components/CarouselButtons/pattern.json +2 -1
- package/src/build-components/CarouselDots/CarouselDots.tsx +2 -2
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +44 -40
- package/src/build-components/CarouselItem/CarouselItem.tsx +1 -1
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +37 -33
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +1 -1
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +37 -33
- package/src/build-components/Image/Image.tsx +4 -3
- package/src/build-components/Image/ImageProps.generated.ts +39 -33
- package/src/build-components/Image/pattern.json +5 -11
- package/src/build-components/Main/Main.tsx +1 -1
- package/src/build-components/Main/MainProps.generated.ts +37 -33
- package/src/build-components/Main/pattern.json +2 -1
- package/src/build-components/Onboard/OnboardProps.generated.ts +37 -33
- package/src/build-components/OnboardButton/OnboardButton.tsx +8 -6
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +44 -39
- package/src/build-components/OnboardButton/pattern.json +9 -7
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +31 -31
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +43 -39
- package/src/build-components/OnboardButtons/pattern.json +9 -7
- package/src/build-components/OnboardDot/OnboardDot.tsx +7 -5
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +55 -34
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +19 -23
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +42 -38
- package/src/build-components/OnboardFooter/pattern.json +16 -14
- package/src/build-components/OnboardImage/OnboardImage.tsx +8 -7
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +37 -31
- package/src/build-components/OnboardImage/pattern.json +2 -1
- package/src/build-components/OnboardItem/OnboardItem.tsx +1 -1
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +40 -33
- package/src/build-components/OnboardItem/pattern.json +2 -1
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +1 -1
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +39 -34
- package/src/build-components/OnboardProvider/pattern.json +2 -1
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +42 -38
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +42 -38
- package/src/build-components/PaywallBackground/PaywallBackground.tsx +1 -1
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +37 -33
- package/src/build-components/PaywallCloseButton/PaywallCloseButton.tsx +6 -5
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +42 -38
- package/src/build-components/PaywallOptions/PaywallOptionButton.tsx +1 -1
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +37 -33
- package/src/build-components/PaywallProvider/PaywallProvider.tsx +1 -1
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +37 -33
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButton.tsx +1 -1
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +40 -36
- package/src/build-components/RadioButton/RadioButton.tsx +5 -4
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +37 -33
- package/src/build-components/RadioButton/pattern.json +9 -7
- package/src/build-components/Text/Text.tsx +6 -8
- package/src/build-components/Text/TextProps.generated.ts +42 -38
- package/src/build-components/Text/pattern.json +15 -11
- package/src/build-components/View/View.tsx +1 -1
- package/src/build-components/View/ViewProps.generated.ts +37 -33
- package/src/build-components/View/pattern.json +71 -66
- package/src/build-components/patterns.generated.ts +3022 -5971
- package/src/components/AttributesEditorPanel.tsx +2 -2
- package/src/components/BuilderProvider.tsx +15 -1
- package/src/index.native.ts +7 -4
- package/src/index.ts +6 -77
- package/src/migrations/migratePipe.ts +7 -3
- package/src/migrations/migrations/1.1.2_extract_component_attributes_from_style.ts +211 -0
- package/src/mockOS/components/MockOSRouter.tsx +3 -1
- package/src/mockOS/components/PermissionModal.tsx +20 -160
- package/src/mockOS/components/SubscriptionModal.tsx +41 -278
- package/src/pages/ProjectPage.tsx +12 -6
- package/src/styles/components/_attributes-editor.scss +122 -0
- package/src/styles/components/_mockos-router.scss +388 -0
- package/src/styles/components/_onboard.scss +23 -0
- package/src/styles/index.scss +1 -0
- package/src/types/PreviewConfig.ts +1 -5
- package/src/utils/analyseNodeByPatterns.ts +39 -4
- package/src/utils/extractImageStyle.ts +34 -5
- package/src/utils/extractTextStyle/extractTextStyle.ts +7 -6
- 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/getMeta.ts +15 -0
- package/src/utils/patterns.ts +100 -3
- package/dist/hooks/useExtractImageStyle.d.ts +0 -3
- package/dist/hooks/useExtractTextStyle.d.ts +0 -3
- package/dist/hooks/useExtractViewStyle.d.ts +0 -3
- package/src/hooks/useExtractImageStyle.ts +0 -19
- package/src/migrations/migrations/1.1.0_normalize_style_attributes.ts +0 -80
|
@@ -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
|
+
color?: string;
|
|
9
|
+
fontSize?: string;
|
|
10
|
+
fontFamily?: string;
|
|
11
|
+
fontWeight?: string;
|
|
12
|
+
textAlign?: TextAlignOptionType;
|
|
13
|
+
flexDirection?: FlexDirectionOptionType;
|
|
14
|
+
alignItems?: AlignItemsOptionType;
|
|
15
|
+
justifyContent?: JustifyContentOptionType;
|
|
16
|
+
gap?: string;
|
|
17
|
+
padding?: string;
|
|
18
|
+
paddingHorizontal?: string;
|
|
19
|
+
paddingVertical?: string;
|
|
20
|
+
paddingTop?: string;
|
|
21
|
+
paddingBottom?: string;
|
|
22
|
+
paddingLeft?: string;
|
|
23
|
+
paddingRight?: string;
|
|
24
|
+
margin?: string;
|
|
25
|
+
marginHorizontal?: 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
|
+
}
|
|
7
47
|
export interface PaywallCloseButtonPropsGenerated {
|
|
8
48
|
child: string;
|
|
9
49
|
attributes: {
|
|
10
|
-
style?:
|
|
50
|
+
style?: PaywallCloseButtonStyleGenerated;
|
|
11
51
|
iconType?: string;
|
|
12
52
|
size?: number;
|
|
13
53
|
strokeWidth?: number;
|
|
14
|
-
color?: string;
|
|
15
|
-
fontSize?: string;
|
|
16
|
-
fontFamily?: string;
|
|
17
|
-
fontWeight?: string;
|
|
18
|
-
textAlign?: TextAlignOptionType;
|
|
19
54
|
adjustsFontSizeToFit?: boolean;
|
|
20
55
|
showEllipsis?: boolean;
|
|
21
56
|
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;
|
|
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
|
+
flexDirection?: FlexDirectionOptionType;
|
|
8
|
+
alignItems?: AlignItemsOptionType;
|
|
9
|
+
justifyContent?: JustifyContentOptionType;
|
|
10
|
+
gap?: string;
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingHorizontal?: string;
|
|
13
|
+
paddingVertical?: string;
|
|
14
|
+
paddingTop?: string;
|
|
15
|
+
paddingBottom?: string;
|
|
16
|
+
paddingLeft?: string;
|
|
17
|
+
paddingRight?: string;
|
|
18
|
+
margin?: string;
|
|
19
|
+
marginHorizontal?: string;
|
|
20
|
+
marginVertical?: string;
|
|
21
|
+
marginTop?: string;
|
|
22
|
+
marginBottom?: string;
|
|
23
|
+
marginLeft?: string;
|
|
24
|
+
marginRight?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
borderRadius?: string;
|
|
27
|
+
width?: string;
|
|
28
|
+
minWidth?: string;
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
height?: string;
|
|
31
|
+
minHeight?: string;
|
|
32
|
+
maxHeight?: string;
|
|
33
|
+
flex?: number;
|
|
34
|
+
position?: PositionOptionType;
|
|
35
|
+
top?: string;
|
|
36
|
+
bottom?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
right?: string;
|
|
39
|
+
zIndex?: number;
|
|
40
|
+
}
|
|
6
41
|
export interface PaywallOptionsPropsGenerated {
|
|
7
42
|
child: string;
|
|
8
43
|
attributes: {
|
|
9
|
-
style?:
|
|
44
|
+
style?: PaywallOptionsStyleGenerated;
|
|
10
45
|
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
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface PaywallOptionsComponentProps {
|
|
@@ -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 PaywallProviderStyleGenerated {
|
|
7
|
+
flexDirection?: FlexDirectionOptionType;
|
|
8
|
+
alignItems?: AlignItemsOptionType;
|
|
9
|
+
justifyContent?: JustifyContentOptionType;
|
|
10
|
+
gap?: string;
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingHorizontal?: string;
|
|
13
|
+
paddingVertical?: string;
|
|
14
|
+
paddingTop?: string;
|
|
15
|
+
paddingBottom?: string;
|
|
16
|
+
paddingLeft?: string;
|
|
17
|
+
paddingRight?: string;
|
|
18
|
+
margin?: string;
|
|
19
|
+
marginHorizontal?: string;
|
|
20
|
+
marginVertical?: string;
|
|
21
|
+
marginTop?: string;
|
|
22
|
+
marginBottom?: string;
|
|
23
|
+
marginLeft?: string;
|
|
24
|
+
marginRight?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
borderRadius?: string;
|
|
27
|
+
width?: string;
|
|
28
|
+
minWidth?: string;
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
height?: string;
|
|
31
|
+
minHeight?: string;
|
|
32
|
+
maxHeight?: string;
|
|
33
|
+
flex?: number;
|
|
34
|
+
position?: PositionOptionType;
|
|
35
|
+
top?: string;
|
|
36
|
+
bottom?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
right?: string;
|
|
39
|
+
zIndex?: number;
|
|
40
|
+
}
|
|
6
41
|
export interface PaywallProviderPropsGenerated {
|
|
7
42
|
child: string;
|
|
8
43
|
attributes: {
|
|
9
|
-
style?:
|
|
44
|
+
style?: PaywallProviderStyleGenerated;
|
|
10
45
|
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
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface PaywallProviderComponentProps {
|
package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts
CHANGED
|
@@ -4,46 +4,49 @@ 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 PaywallSubscribeButtonStyleGenerated {
|
|
8
|
+
color?: string;
|
|
9
|
+
fontSize?: string;
|
|
10
|
+
fontWeight?: FontWeightOptionType;
|
|
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
|
+
}
|
|
7
45
|
export interface PaywallSubscribeButtonPropsGenerated {
|
|
8
46
|
child: string;
|
|
9
47
|
attributes: {
|
|
10
|
-
style?:
|
|
11
|
-
color?: string;
|
|
12
|
-
fontSize?: string;
|
|
13
|
-
fontWeight?: FontWeightOptionType;
|
|
48
|
+
style?: PaywallSubscribeButtonStyleGenerated;
|
|
14
49
|
scrollable?: boolean;
|
|
15
|
-
flexDirection?: FlexDirectionOptionType;
|
|
16
|
-
alignItems?: AlignItemsOptionType;
|
|
17
|
-
justifyContent?: JustifyContentOptionType;
|
|
18
|
-
gap?: string;
|
|
19
|
-
padding?: string;
|
|
20
|
-
paddingHorizontal?: string;
|
|
21
|
-
paddingVertical?: string;
|
|
22
|
-
paddingTop?: string;
|
|
23
|
-
paddingBottom?: string;
|
|
24
|
-
paddingLeft?: string;
|
|
25
|
-
paddingRight?: string;
|
|
26
|
-
margin?: string;
|
|
27
|
-
marginVertical?: string;
|
|
28
|
-
marginTop?: string;
|
|
29
|
-
marginBottom?: string;
|
|
30
|
-
marginLeft?: string;
|
|
31
|
-
marginRight?: string;
|
|
32
|
-
backgroundColor?: string;
|
|
33
|
-
borderRadius?: string;
|
|
34
|
-
width?: string;
|
|
35
|
-
minWidth?: string;
|
|
36
|
-
maxWidth?: string;
|
|
37
|
-
height?: string;
|
|
38
|
-
minHeight?: string;
|
|
39
|
-
maxHeight?: string;
|
|
40
|
-
flex?: number;
|
|
41
|
-
position?: PositionOptionType;
|
|
42
|
-
top?: string;
|
|
43
|
-
bottom?: string;
|
|
44
|
-
left?: string;
|
|
45
|
-
right?: string;
|
|
46
|
-
zIndex?: number;
|
|
47
50
|
};
|
|
48
51
|
}
|
|
49
52
|
export interface PaywallSubscribeButtonComponentProps {
|
|
@@ -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 RadioButtonStyleGenerated {
|
|
7
|
+
flexDirection?: FlexDirectionOptionType;
|
|
8
|
+
alignItems?: AlignItemsOptionType;
|
|
9
|
+
justifyContent?: JustifyContentOptionType;
|
|
10
|
+
gap?: string;
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingHorizontal?: string;
|
|
13
|
+
paddingVertical?: string;
|
|
14
|
+
paddingTop?: string;
|
|
15
|
+
paddingBottom?: string;
|
|
16
|
+
paddingLeft?: string;
|
|
17
|
+
paddingRight?: string;
|
|
18
|
+
margin?: string;
|
|
19
|
+
marginHorizontal?: string;
|
|
20
|
+
marginVertical?: string;
|
|
21
|
+
marginTop?: string;
|
|
22
|
+
marginBottom?: string;
|
|
23
|
+
marginLeft?: string;
|
|
24
|
+
marginRight?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
borderRadius?: string;
|
|
27
|
+
width?: string;
|
|
28
|
+
minWidth?: string;
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
height?: string;
|
|
31
|
+
minHeight?: string;
|
|
32
|
+
maxHeight?: string;
|
|
33
|
+
flex?: number;
|
|
34
|
+
position?: PositionOptionType;
|
|
35
|
+
top?: string;
|
|
36
|
+
bottom?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
right?: string;
|
|
39
|
+
zIndex?: number;
|
|
40
|
+
}
|
|
6
41
|
export interface RadioButtonPropsGenerated {
|
|
7
42
|
child: string;
|
|
8
43
|
attributes: {
|
|
9
|
-
style?:
|
|
44
|
+
style?: RadioButtonStyleGenerated;
|
|
10
45
|
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
46
|
selected?: boolean;
|
|
44
47
|
color?: string;
|
|
45
48
|
size?: number;
|
|
@@ -4,48 +4,51 @@ 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 TextAlignOptionType = 'left' | 'center' | 'right' | 'justify';
|
|
7
|
+
export interface TextStyleGenerated {
|
|
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
|
+
color?: string;
|
|
42
|
+
fontSize?: string;
|
|
43
|
+
fontFamily?: string;
|
|
44
|
+
fontWeight?: string;
|
|
45
|
+
textAlign?: TextAlignOptionType;
|
|
46
|
+
}
|
|
7
47
|
export interface TextPropsGenerated {
|
|
8
48
|
child: string;
|
|
9
49
|
attributes: {
|
|
10
|
-
style?:
|
|
50
|
+
style?: TextStyleGenerated;
|
|
11
51
|
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
|
-
color?: string;
|
|
45
|
-
fontSize?: string;
|
|
46
|
-
fontFamily?: string;
|
|
47
|
-
fontWeight?: string;
|
|
48
|
-
textAlign?: TextAlignOptionType;
|
|
49
52
|
adjustsFontSizeToFit?: boolean;
|
|
50
53
|
showEllipsis?: boolean;
|
|
51
54
|
};
|
|
@@ -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 ViewStyleGenerated {
|
|
7
|
+
flexDirection?: FlexDirectionOptionType;
|
|
8
|
+
alignItems?: AlignItemsOptionType;
|
|
9
|
+
justifyContent?: JustifyContentOptionType;
|
|
10
|
+
gap?: string;
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingHorizontal?: string;
|
|
13
|
+
paddingVertical?: string;
|
|
14
|
+
paddingTop?: string;
|
|
15
|
+
paddingBottom?: string;
|
|
16
|
+
paddingLeft?: string;
|
|
17
|
+
paddingRight?: string;
|
|
18
|
+
margin?: string;
|
|
19
|
+
marginHorizontal?: string;
|
|
20
|
+
marginVertical?: string;
|
|
21
|
+
marginTop?: string;
|
|
22
|
+
marginBottom?: string;
|
|
23
|
+
marginLeft?: string;
|
|
24
|
+
marginRight?: string;
|
|
25
|
+
backgroundColor?: string;
|
|
26
|
+
borderRadius?: string;
|
|
27
|
+
width?: string;
|
|
28
|
+
minWidth?: string;
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
height?: string;
|
|
31
|
+
minHeight?: string;
|
|
32
|
+
maxHeight?: string;
|
|
33
|
+
flex?: number;
|
|
34
|
+
position?: PositionOptionType;
|
|
35
|
+
top?: string;
|
|
36
|
+
bottom?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
right?: string;
|
|
39
|
+
zIndex?: number;
|
|
40
|
+
}
|
|
6
41
|
export interface ViewPropsGenerated {
|
|
7
42
|
child: string;
|
|
8
43
|
attributes: {
|
|
9
|
-
style?:
|
|
44
|
+
style?: ViewStyleGenerated;
|
|
10
45
|
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
46
|
};
|
|
44
47
|
}
|
|
45
48
|
export interface ViewComponentProps {
|