@developer_tribe/react-builder 1.2.23 → 1.2.25
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/attribute-analyser/style/native/useExtractImageStyle.d.ts +5 -5
- package/dist/attribute-analyser/style/native/useExtractTextStyle.d.ts +6 -4
- package/dist/attribute-analyser/style/native/useExtractViewStyle.d.ts +5 -3
- package/dist/attributes-editor/SpecialCategorySection.d.ts +2 -1
- package/dist/attributes-editor/attributesEditorModelTypes.d.ts +2 -0
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +0 -2
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +0 -2
- package/dist/build-components/Button/ButtonProps.generated.d.ts +0 -2
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +0 -2
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +0 -2
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +0 -2
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +0 -2
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +0 -2
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +0 -2
- package/dist/build-components/Counter/CounterProps.generated.d.ts +0 -2
- package/dist/build-components/Image/ImageProps.generated.d.ts +0 -2
- package/dist/build-components/Main/MainProps.generated.d.ts +0 -2
- package/dist/build-components/NavigationBarColor/NavigationBarColorProps.generated.d.ts +0 -2
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +0 -2
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallCounter/PaywallCounterProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallOptions/PaywallOptionsProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallProvider/PaywallProviderProps.generated.d.ts +0 -2
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +0 -2
- package/dist/build-components/RadioButton/RadioButtonProps.generated.d.ts +0 -2
- package/dist/build-components/Separator/SeparatorProps.generated.d.ts +0 -2
- package/dist/build-components/StatusBarColor/StatusBarColorProps.generated.d.ts +0 -2
- package/dist/build-components/Text/TextProps.generated.d.ts +0 -2
- package/dist/build-components/patterns.generated.d.ts +80 -66
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.web.cjs.js +3 -3
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +3 -3
- package/dist/index.web.esm.js.map +1 -1
- package/dist/pages/ProjectPage.d.ts +2 -2
- package/dist/pages/projectPageUtils.d.ts +7 -1
- package/dist/types/Project.d.ts +6 -0
- package/dist/utils/attributeStyle.d.ts +12 -0
- package/dist/utils/patterns.d.ts +2 -0
- package/package.json +6 -1
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +11 -2
- package/src/AttributesEditor.tsx +15 -4
- package/src/assets/meta.json +1 -1
- package/src/assets/samples/paywall-1.json +5 -5
- package/src/assets/samples/paywall-2.json +5 -5
- package/src/assets/samples/paywall-app-delete-offer.json +0 -1
- package/src/assets/samples/paywall-app-open-offer.json +0 -1
- package/src/assets/samples/paywall-back-offer.json +0 -1
- package/src/assets/samples/paywall-notification-offer.json +0 -1
- package/src/assets/samples/simple-2.json +0 -1
- package/src/attribute-analyser/style/native/useExtractImageStyle.ts +19 -15
- package/src/attribute-analyser/style/native/useExtractTextStyle.ts +25 -15
- package/src/attribute-analyser/style/native/useExtractViewStyle.ts +19 -21
- package/src/attributes-editor/AttributesEditorView.tsx +43 -36
- package/src/attributes-editor/SpecialCategorySection.tsx +5 -3
- package/src/attributes-editor/attributesEditorModelTypes.ts +2 -0
- package/src/attributes-editor/useAttributesEditorModel.ts +6 -0
- package/src/build-components/BIcon/BIconProps.generated.ts +0 -2
- package/src/build-components/BIcon/pattern.json +5 -3
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +0 -2
- package/src/build-components/BackgroundImage/pattern.json +12 -4
- package/src/build-components/Button/ButtonProps.generated.ts +0 -2
- package/src/build-components/Button/pattern.json +5 -3
- package/src/build-components/Carousel/CarouselProps.generated.ts +0 -2
- package/src/build-components/Carousel/pattern.json +11 -5
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +0 -2
- package/src/build-components/CarouselButtons/pattern.json +11 -4
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +0 -2
- package/src/build-components/CarouselDots/pattern.json +5 -3
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +0 -2
- package/src/build-components/CarouselItem/pattern.json +6 -6
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +0 -2
- package/src/build-components/CarouselProvider/pattern.json +6 -5
- package/src/build-components/CountDown/CountDownProps.generated.ts +0 -2
- package/src/build-components/CountDown/pattern.json +6 -3
- package/src/build-components/Counter/CounterProps.generated.ts +0 -2
- package/src/build-components/Counter/pattern.json +5 -1
- package/src/build-components/Image/ImageProps.generated.ts +0 -2
- package/src/build-components/Image/pattern.json +7 -2
- package/src/build-components/Main/MainProps.generated.ts +0 -2
- package/src/build-components/Main/pattern.json +5 -3
- package/src/build-components/NavigationBarColor/NavigationBarColorProps.generated.ts +0 -2
- package/src/build-components/NavigationBarColor/pattern.json +5 -3
- package/src/build-components/Onboard/OnboardProps.generated.ts +0 -2
- package/src/build-components/Onboard/pattern.json +9 -7
- package/src/build-components/OnboardButton/OnboardButton.tsx +19 -5
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +0 -2
- package/src/build-components/OnboardButton/pattern.json +16 -5
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +0 -2
- package/src/build-components/OnboardButtons/pattern.json +17 -6
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +0 -2
- package/src/build-components/OnboardDot/pattern.json +5 -3
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +15 -4
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +0 -2
- package/src/build-components/OnboardFooter/pattern.json +5 -3
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +0 -2
- package/src/build-components/OnboardImage/pattern.json +7 -3
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +0 -2
- package/src/build-components/OnboardItem/pattern.json +13 -5
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +0 -2
- package/src/build-components/OnboardProvider/pattern.json +10 -4
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +0 -2
- package/src/build-components/OnboardSubtitle/pattern.json +7 -6
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +0 -2
- package/src/build-components/OnboardTitle/pattern.json +7 -6
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +0 -2
- package/src/build-components/PaywallBackground/pattern.json +5 -5
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +0 -2
- package/src/build-components/PaywallCloseButton/pattern.json +6 -6
- package/src/build-components/PaywallCounter/PaywallCounterProps.generated.ts +0 -2
- package/src/build-components/PaywallCounter/pattern.json +6 -3
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +0 -2
- package/src/build-components/PaywallOptions/pattern.json +6 -6
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +0 -2
- package/src/build-components/PaywallProvider/pattern.json +5 -3
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +0 -2
- package/src/build-components/PaywallSubscribeButton/pattern.json +6 -6
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +0 -2
- package/src/build-components/RadioButton/pattern.json +5 -3
- package/src/build-components/Separator/SeparatorProps.generated.ts +0 -2
- package/src/build-components/Separator/pattern.json +5 -3
- package/src/build-components/StatusBarColor/StatusBarColorProps.generated.ts +0 -2
- package/src/build-components/StatusBarColor/pattern.json +5 -3
- package/src/build-components/Text/TextProps.generated.ts +0 -2
- package/src/build-components/Text/pattern.json +11 -5
- package/src/build-components/View/pattern.json +18 -4
- package/src/build-components/patterns.generated.ts +72 -66
- package/src/components/AttributesEditorPanel.tsx +48 -32
- package/src/components/Builder.tsx +4 -1
- package/src/components/BuilderProvider.tsx +6 -6
- package/src/index.ts +4 -1
- package/src/pages/ProjectPage.tsx +45 -22
- package/src/pages/projectPageUtils.ts +15 -1
- package/src/types/Project.ts +7 -0
- package/src/utils/attributeStyle.ts +78 -0
- package/src/utils/patterns.ts +2 -0
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "StatusBarColor",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "never",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description",
|
|
10
10
|
"style": {
|
|
11
11
|
"backgroundColor": "color"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"meta": {
|
|
16
|
-
"desiredParent": [
|
|
16
|
+
"desiredParent": [
|
|
17
|
+
"all"
|
|
18
|
+
],
|
|
17
19
|
"label": "Status Bar Color",
|
|
18
20
|
"description": "Sets the OS status bar background color.",
|
|
19
21
|
"styles": {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "Text",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "string",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description",
|
|
10
10
|
"adjustsFontSizeToFit": "boolean",
|
|
11
11
|
"showEllipsis": "boolean",
|
|
12
12
|
"style": {
|
|
@@ -14,7 +14,12 @@
|
|
|
14
14
|
"fontSize": "size",
|
|
15
15
|
"fontFamily": "fontFamily",
|
|
16
16
|
"fontWeight": "fontWeight",
|
|
17
|
-
"textAlign": [
|
|
17
|
+
"textAlign": [
|
|
18
|
+
"left",
|
|
19
|
+
"center",
|
|
20
|
+
"right",
|
|
21
|
+
"justify"
|
|
22
|
+
]
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
25
|
"defaults": {
|
|
@@ -26,10 +31,11 @@
|
|
|
26
31
|
}
|
|
27
32
|
},
|
|
28
33
|
"meta": {
|
|
29
|
-
"desiredParent": [
|
|
34
|
+
"desiredParent": [
|
|
35
|
+
"all"
|
|
36
|
+
],
|
|
30
37
|
"label": "Text",
|
|
31
38
|
"description": "Displays simple text.",
|
|
32
|
-
|
|
33
39
|
"styles": {
|
|
34
40
|
"color": {
|
|
35
41
|
"label": "Color",
|
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "View",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"attributes": {
|
|
7
9
|
"scrollable": "boolean",
|
|
8
10
|
"style": {
|
|
9
|
-
"flexDirection": [
|
|
10
|
-
|
|
11
|
+
"flexDirection": [
|
|
12
|
+
"row",
|
|
13
|
+
"column"
|
|
14
|
+
],
|
|
15
|
+
"flexWrap": [
|
|
16
|
+
"nowrap",
|
|
17
|
+
"wrap",
|
|
18
|
+
"wrap-reverse"
|
|
19
|
+
],
|
|
11
20
|
"alignItems": [
|
|
12
21
|
"flex-start",
|
|
13
22
|
"center",
|
|
@@ -47,7 +56,10 @@
|
|
|
47
56
|
"minHeight": "size",
|
|
48
57
|
"maxHeight": "size",
|
|
49
58
|
"flex": "number",
|
|
50
|
-
"position": [
|
|
59
|
+
"position": [
|
|
60
|
+
"relative",
|
|
61
|
+
"absolute"
|
|
62
|
+
],
|
|
51
63
|
"top": "size",
|
|
52
64
|
"bottom": "size",
|
|
53
65
|
"left": "size",
|
|
@@ -57,7 +69,9 @@
|
|
|
57
69
|
}
|
|
58
70
|
},
|
|
59
71
|
"meta": {
|
|
60
|
-
"desiredParent": [
|
|
72
|
+
"desiredParent": [
|
|
73
|
+
"all"
|
|
74
|
+
],
|
|
61
75
|
"label": "View",
|
|
62
76
|
"description": "Base layout container.",
|
|
63
77
|
"specialCategories": {
|
|
@@ -6,10 +6,10 @@ export const patterns = [
|
|
|
6
6
|
schemaVersion: 2,
|
|
7
7
|
pattern: {
|
|
8
8
|
type: 'BIcon',
|
|
9
|
+
title: 'title',
|
|
10
|
+
description: 'description',
|
|
9
11
|
children: 'never',
|
|
10
12
|
attributes: {
|
|
11
|
-
title: 'title',
|
|
12
|
-
description: 'description',
|
|
13
13
|
adjustsFontSizeToFit: 'boolean',
|
|
14
14
|
showEllipsis: 'boolean',
|
|
15
15
|
style: {
|
|
@@ -479,6 +479,8 @@ export const patterns = [
|
|
|
479
479
|
schemaVersion: 2,
|
|
480
480
|
pattern: {
|
|
481
481
|
type: 'BackgroundImage',
|
|
482
|
+
title: 'title',
|
|
483
|
+
description: 'description',
|
|
482
484
|
children: 'never',
|
|
483
485
|
attributes: {
|
|
484
486
|
scrollable: 'boolean',
|
|
@@ -531,8 +533,6 @@ export const patterns = [
|
|
|
531
533
|
right: 'size',
|
|
532
534
|
zIndex: 'number',
|
|
533
535
|
},
|
|
534
|
-
title: 'title',
|
|
535
|
-
description: 'description',
|
|
536
536
|
src: 'string',
|
|
537
537
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
538
538
|
},
|
|
@@ -892,6 +892,8 @@ export const patterns = [
|
|
|
892
892
|
schemaVersion: 2,
|
|
893
893
|
pattern: {
|
|
894
894
|
type: 'Button',
|
|
895
|
+
title: 'title',
|
|
896
|
+
description: 'description',
|
|
895
897
|
children: 'string',
|
|
896
898
|
attributes: {
|
|
897
899
|
scrollable: 'boolean',
|
|
@@ -959,8 +961,6 @@ export const patterns = [
|
|
|
959
961
|
'900',
|
|
960
962
|
],
|
|
961
963
|
},
|
|
962
|
-
title: 'title',
|
|
963
|
-
description: 'description',
|
|
964
964
|
},
|
|
965
965
|
},
|
|
966
966
|
meta: {
|
|
@@ -1310,6 +1310,8 @@ export const patterns = [
|
|
|
1310
1310
|
schemaVersion: 2,
|
|
1311
1311
|
pattern: {
|
|
1312
1312
|
type: 'Carousel',
|
|
1313
|
+
title: 'title',
|
|
1314
|
+
description: 'description',
|
|
1313
1315
|
children: 'node',
|
|
1314
1316
|
attributes: {
|
|
1315
1317
|
scrollable: 'boolean',
|
|
@@ -1362,8 +1364,6 @@ export const patterns = [
|
|
|
1362
1364
|
right: 'size',
|
|
1363
1365
|
zIndex: 'number',
|
|
1364
1366
|
},
|
|
1365
|
-
title: 'title',
|
|
1366
|
-
description: 'description',
|
|
1367
1367
|
loop: 'boolean',
|
|
1368
1368
|
dragFree: 'boolean',
|
|
1369
1369
|
align: ['start', 'center', 'end'],
|
|
@@ -1691,6 +1691,8 @@ export const patterns = [
|
|
|
1691
1691
|
schemaVersion: 2,
|
|
1692
1692
|
pattern: {
|
|
1693
1693
|
type: 'CarouselButtons',
|
|
1694
|
+
title: 'title',
|
|
1695
|
+
description: 'description',
|
|
1694
1696
|
children: 'never',
|
|
1695
1697
|
attributes: {
|
|
1696
1698
|
scrollable: 'boolean',
|
|
@@ -1743,8 +1745,6 @@ export const patterns = [
|
|
|
1743
1745
|
right: 'size',
|
|
1744
1746
|
zIndex: 'number',
|
|
1745
1747
|
},
|
|
1746
|
-
title: 'title',
|
|
1747
|
-
description: 'description',
|
|
1748
1748
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
1749
1749
|
skipNumber: 'number',
|
|
1750
1750
|
},
|
|
@@ -2085,6 +2085,8 @@ export const patterns = [
|
|
|
2085
2085
|
schemaVersion: 2,
|
|
2086
2086
|
pattern: {
|
|
2087
2087
|
type: 'CarouselDots',
|
|
2088
|
+
title: 'title',
|
|
2089
|
+
description: 'description',
|
|
2088
2090
|
children: 'never',
|
|
2089
2091
|
attributes: {
|
|
2090
2092
|
scrollable: 'boolean',
|
|
@@ -2137,8 +2139,6 @@ export const patterns = [
|
|
|
2137
2139
|
right: 'size',
|
|
2138
2140
|
zIndex: 'number',
|
|
2139
2141
|
},
|
|
2140
|
-
title: 'title',
|
|
2141
|
-
description: 'description',
|
|
2142
2142
|
dotType: [
|
|
2143
2143
|
'expanding_dot',
|
|
2144
2144
|
'normal_dot',
|
|
@@ -2478,6 +2478,8 @@ export const patterns = [
|
|
|
2478
2478
|
schemaVersion: 2,
|
|
2479
2479
|
pattern: {
|
|
2480
2480
|
type: 'CarouselItem',
|
|
2481
|
+
title: 'title',
|
|
2482
|
+
description: 'description',
|
|
2481
2483
|
children: 'node',
|
|
2482
2484
|
attributes: {
|
|
2483
2485
|
scrollable: 'boolean',
|
|
@@ -2530,8 +2532,6 @@ export const patterns = [
|
|
|
2530
2532
|
right: 'size',
|
|
2531
2533
|
zIndex: 'number',
|
|
2532
2534
|
},
|
|
2533
|
-
title: 'title',
|
|
2534
|
-
description: 'description',
|
|
2535
2535
|
},
|
|
2536
2536
|
},
|
|
2537
2537
|
meta: {
|
|
@@ -2856,6 +2856,8 @@ export const patterns = [
|
|
|
2856
2856
|
schemaVersion: 1,
|
|
2857
2857
|
pattern: {
|
|
2858
2858
|
type: 'CarouselProvider',
|
|
2859
|
+
title: 'title',
|
|
2860
|
+
description: 'description',
|
|
2859
2861
|
children: 'node',
|
|
2860
2862
|
attributes: {
|
|
2861
2863
|
scrollable: 'boolean',
|
|
@@ -2908,8 +2910,6 @@ export const patterns = [
|
|
|
2908
2910
|
right: 'size',
|
|
2909
2911
|
zIndex: 'number',
|
|
2910
2912
|
},
|
|
2911
|
-
title: 'title',
|
|
2912
|
-
description: 'description',
|
|
2913
2913
|
},
|
|
2914
2914
|
defaults: { style: { width: '100%', height: '100%' } },
|
|
2915
2915
|
},
|
|
@@ -3238,11 +3238,11 @@ export const patterns = [
|
|
|
3238
3238
|
schemaVersion: 2,
|
|
3239
3239
|
pattern: {
|
|
3240
3240
|
type: 'CountDown',
|
|
3241
|
+
title: 'title',
|
|
3242
|
+
description: 'description',
|
|
3241
3243
|
children: 'never',
|
|
3242
3244
|
attributes: {
|
|
3243
3245
|
count: 'number',
|
|
3244
|
-
title: 'title',
|
|
3245
|
-
description: 'description',
|
|
3246
3246
|
adjustsFontSizeToFit: 'boolean',
|
|
3247
3247
|
showEllipsis: 'boolean',
|
|
3248
3248
|
style: {
|
|
@@ -3693,10 +3693,10 @@ export const patterns = [
|
|
|
3693
3693
|
schemaVersion: 2,
|
|
3694
3694
|
pattern: {
|
|
3695
3695
|
type: 'Counter',
|
|
3696
|
+
title: 'title',
|
|
3697
|
+
description: 'description',
|
|
3696
3698
|
children: 'never',
|
|
3697
3699
|
attributes: {
|
|
3698
|
-
title: 'title',
|
|
3699
|
-
description: 'description',
|
|
3700
3700
|
adjustsFontSizeToFit: 'boolean',
|
|
3701
3701
|
showEllipsis: 'boolean',
|
|
3702
3702
|
style: {
|
|
@@ -4148,6 +4148,8 @@ export const patterns = [
|
|
|
4148
4148
|
schemaVersion: 2,
|
|
4149
4149
|
pattern: {
|
|
4150
4150
|
type: 'Image',
|
|
4151
|
+
title: 'title',
|
|
4152
|
+
description: 'description',
|
|
4151
4153
|
children: 'never',
|
|
4152
4154
|
attributes: {
|
|
4153
4155
|
scrollable: 'boolean',
|
|
@@ -4201,10 +4203,9 @@ export const patterns = [
|
|
|
4201
4203
|
zIndex: 'number',
|
|
4202
4204
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
4203
4205
|
},
|
|
4204
|
-
title: 'title',
|
|
4205
|
-
description: 'description',
|
|
4206
4206
|
src: 'string',
|
|
4207
4207
|
},
|
|
4208
|
+
defaults: { style: { resizeMode: 'contain' } },
|
|
4208
4209
|
},
|
|
4209
4210
|
meta: {
|
|
4210
4211
|
desiredParent: ['all'],
|
|
@@ -4534,6 +4535,7 @@ export const patterns = [
|
|
|
4534
4535
|
alignSelf: 'flex-start',
|
|
4535
4536
|
flexGrow: 0,
|
|
4536
4537
|
flexShrink: 0,
|
|
4538
|
+
resizeMode: 'contain',
|
|
4537
4539
|
},
|
|
4538
4540
|
},
|
|
4539
4541
|
types: {},
|
|
@@ -4542,6 +4544,8 @@ export const patterns = [
|
|
|
4542
4544
|
schemaVersion: 2,
|
|
4543
4545
|
pattern: {
|
|
4544
4546
|
type: 'Main',
|
|
4547
|
+
title: 'title',
|
|
4548
|
+
description: 'description',
|
|
4545
4549
|
children: 'node',
|
|
4546
4550
|
attributes: {
|
|
4547
4551
|
scrollable: 'boolean',
|
|
@@ -4594,8 +4598,6 @@ export const patterns = [
|
|
|
4594
4598
|
right: 'size',
|
|
4595
4599
|
zIndex: 'number',
|
|
4596
4600
|
},
|
|
4597
|
-
title: 'title',
|
|
4598
|
-
description: 'description',
|
|
4599
4601
|
useSafeAreaView: 'boolean',
|
|
4600
4602
|
},
|
|
4601
4603
|
},
|
|
@@ -4935,6 +4937,8 @@ export const patterns = [
|
|
|
4935
4937
|
schemaVersion: 2,
|
|
4936
4938
|
pattern: {
|
|
4937
4939
|
type: 'NavigationBarColor',
|
|
4940
|
+
title: 'title',
|
|
4941
|
+
description: 'description',
|
|
4938
4942
|
children: 'never',
|
|
4939
4943
|
attributes: {
|
|
4940
4944
|
scrollable: 'boolean',
|
|
@@ -4987,8 +4991,6 @@ export const patterns = [
|
|
|
4987
4991
|
right: 'size',
|
|
4988
4992
|
zIndex: 'number',
|
|
4989
4993
|
},
|
|
4990
|
-
title: 'title',
|
|
4991
|
-
description: 'description',
|
|
4992
4994
|
},
|
|
4993
4995
|
},
|
|
4994
4996
|
meta: {
|
|
@@ -5314,6 +5316,8 @@ export const patterns = [
|
|
|
5314
5316
|
schemaVersion: 2,
|
|
5315
5317
|
pattern: {
|
|
5316
5318
|
type: 'Onboard',
|
|
5319
|
+
title: 'title',
|
|
5320
|
+
description: 'description',
|
|
5317
5321
|
children: 'node',
|
|
5318
5322
|
attributes: {
|
|
5319
5323
|
scrollable: 'boolean',
|
|
@@ -5366,8 +5370,6 @@ export const patterns = [
|
|
|
5366
5370
|
right: 'size',
|
|
5367
5371
|
zIndex: 'number',
|
|
5368
5372
|
},
|
|
5369
|
-
title: 'title',
|
|
5370
|
-
description: 'description',
|
|
5371
5373
|
},
|
|
5372
5374
|
},
|
|
5373
5375
|
meta: {
|
|
@@ -5693,6 +5695,8 @@ export const patterns = [
|
|
|
5693
5695
|
schemaVersion: 2,
|
|
5694
5696
|
pattern: {
|
|
5695
5697
|
type: 'OnboardButton',
|
|
5698
|
+
title: 'title',
|
|
5699
|
+
description: 'description',
|
|
5696
5700
|
children: 'never',
|
|
5697
5701
|
attributes: {
|
|
5698
5702
|
scrollable: 'boolean',
|
|
@@ -5745,8 +5749,6 @@ export const patterns = [
|
|
|
5745
5749
|
right: 'size',
|
|
5746
5750
|
zIndex: 'number',
|
|
5747
5751
|
},
|
|
5748
|
-
title: 'title',
|
|
5749
|
-
description: 'description',
|
|
5750
5752
|
labelKey: 'string',
|
|
5751
5753
|
button_text_color: 'color',
|
|
5752
5754
|
animation: [
|
|
@@ -6136,6 +6138,8 @@ export const patterns = [
|
|
|
6136
6138
|
schemaVersion: 2,
|
|
6137
6139
|
pattern: {
|
|
6138
6140
|
type: 'OnboardButtons',
|
|
6141
|
+
title: 'title',
|
|
6142
|
+
description: 'description',
|
|
6139
6143
|
children: 'node',
|
|
6140
6144
|
attributes: {
|
|
6141
6145
|
scrollable: 'boolean',
|
|
@@ -6188,8 +6192,6 @@ export const patterns = [
|
|
|
6188
6192
|
right: 'size',
|
|
6189
6193
|
zIndex: 'number',
|
|
6190
6194
|
},
|
|
6191
|
-
title: 'title',
|
|
6192
|
-
description: 'description',
|
|
6193
6195
|
buttonType: ['previous_button', 'next_button', 'skip_button'],
|
|
6194
6196
|
skipNumber: 'number',
|
|
6195
6197
|
buttons_direction: ['row', 'column'],
|
|
@@ -6587,6 +6589,8 @@ export const patterns = [
|
|
|
6587
6589
|
schemaVersion: 2,
|
|
6588
6590
|
pattern: {
|
|
6589
6591
|
type: 'OnboardDot',
|
|
6592
|
+
title: 'title',
|
|
6593
|
+
description: 'description',
|
|
6590
6594
|
children: 'never',
|
|
6591
6595
|
attributes: {
|
|
6592
6596
|
scrollable: 'boolean',
|
|
@@ -6639,8 +6643,6 @@ export const patterns = [
|
|
|
6639
6643
|
right: 'size',
|
|
6640
6644
|
zIndex: 'number',
|
|
6641
6645
|
},
|
|
6642
|
-
title: 'title',
|
|
6643
|
-
description: 'description',
|
|
6644
6646
|
dotType: [
|
|
6645
6647
|
'expanding_dot',
|
|
6646
6648
|
'normal_dot',
|
|
@@ -7022,10 +7024,10 @@ export const patterns = [
|
|
|
7022
7024
|
schemaVersion: 2,
|
|
7023
7025
|
pattern: {
|
|
7024
7026
|
type: 'OnboardFooter',
|
|
7027
|
+
title: 'title',
|
|
7028
|
+
description: 'description',
|
|
7025
7029
|
children: 'node',
|
|
7026
7030
|
attributes: {
|
|
7027
|
-
title: 'title',
|
|
7028
|
-
description: 'description',
|
|
7029
7031
|
adjustsFontSizeToFit: 'boolean',
|
|
7030
7032
|
showEllipsis: 'boolean',
|
|
7031
7033
|
style: {
|
|
@@ -7530,10 +7532,10 @@ export const patterns = [
|
|
|
7530
7532
|
schemaVersion: 2,
|
|
7531
7533
|
pattern: {
|
|
7532
7534
|
type: 'OnboardImage',
|
|
7535
|
+
title: 'title',
|
|
7536
|
+
description: 'description',
|
|
7533
7537
|
children: 'node',
|
|
7534
7538
|
attributes: {
|
|
7535
|
-
title: 'title',
|
|
7536
|
-
description: 'description',
|
|
7537
7539
|
src: 'string',
|
|
7538
7540
|
style: {
|
|
7539
7541
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
@@ -7589,6 +7591,7 @@ export const patterns = [
|
|
|
7589
7591
|
video_url: 'string',
|
|
7590
7592
|
lottie: 'string',
|
|
7591
7593
|
},
|
|
7594
|
+
defaults: { style: { resizeMode: 'contain' } },
|
|
7592
7595
|
},
|
|
7593
7596
|
meta: {
|
|
7594
7597
|
desiredParent: ['>OnboardProvider', '>OnboardItem', '!=Onboard'],
|
|
@@ -7926,6 +7929,7 @@ export const patterns = [
|
|
|
7926
7929
|
},
|
|
7927
7930
|
defaults: {
|
|
7928
7931
|
style: {
|
|
7932
|
+
resizeMode: 'contain',
|
|
7929
7933
|
flexDirection: 'column',
|
|
7930
7934
|
position: 'relative',
|
|
7931
7935
|
zIndex: 1,
|
|
@@ -7940,6 +7944,8 @@ export const patterns = [
|
|
|
7940
7944
|
schemaVersion: 2,
|
|
7941
7945
|
pattern: {
|
|
7942
7946
|
type: 'OnboardItem',
|
|
7947
|
+
title: 'title',
|
|
7948
|
+
description: 'description',
|
|
7943
7949
|
children: 'node',
|
|
7944
7950
|
attributes: {
|
|
7945
7951
|
scrollable: 'boolean',
|
|
@@ -7992,8 +7998,6 @@ export const patterns = [
|
|
|
7992
7998
|
right: 'size',
|
|
7993
7999
|
zIndex: 'number',
|
|
7994
8000
|
},
|
|
7995
|
-
title: 'title',
|
|
7996
|
-
description: 'description',
|
|
7997
8001
|
display: ['flex', 'block'],
|
|
7998
8002
|
gap: 'size',
|
|
7999
8003
|
flexDirection: ['row', 'column'],
|
|
@@ -8330,6 +8334,8 @@ export const patterns = [
|
|
|
8330
8334
|
schemaVersion: 2,
|
|
8331
8335
|
pattern: {
|
|
8332
8336
|
type: 'OnboardProvider',
|
|
8337
|
+
title: 'title',
|
|
8338
|
+
description: 'description',
|
|
8333
8339
|
children: 'node',
|
|
8334
8340
|
attributes: {
|
|
8335
8341
|
scrollable: 'boolean',
|
|
@@ -8382,8 +8388,6 @@ export const patterns = [
|
|
|
8382
8388
|
right: 'size',
|
|
8383
8389
|
zIndex: 'number',
|
|
8384
8390
|
},
|
|
8385
|
-
title: 'title',
|
|
8386
|
-
description: 'description',
|
|
8387
8391
|
theme: ['light', 'dark', 'all'],
|
|
8388
8392
|
borderRadius: 'never',
|
|
8389
8393
|
},
|
|
@@ -8716,10 +8720,10 @@ export const patterns = [
|
|
|
8716
8720
|
schemaVersion: 2,
|
|
8717
8721
|
pattern: {
|
|
8718
8722
|
type: 'OnboardSubtitle',
|
|
8723
|
+
title: 'title',
|
|
8724
|
+
description: 'description',
|
|
8719
8725
|
children: 'string',
|
|
8720
8726
|
attributes: {
|
|
8721
|
-
title: 'title',
|
|
8722
|
-
description: 'description',
|
|
8723
8727
|
adjustsFontSizeToFit: 'boolean',
|
|
8724
8728
|
showEllipsis: 'boolean',
|
|
8725
8729
|
style: {
|
|
@@ -9163,10 +9167,10 @@ export const patterns = [
|
|
|
9163
9167
|
schemaVersion: 2,
|
|
9164
9168
|
pattern: {
|
|
9165
9169
|
type: 'OnboardTitle',
|
|
9170
|
+
title: 'title',
|
|
9171
|
+
description: 'description',
|
|
9166
9172
|
children: 'string',
|
|
9167
9173
|
attributes: {
|
|
9168
|
-
title: 'title',
|
|
9169
|
-
description: 'description',
|
|
9170
9174
|
adjustsFontSizeToFit: 'boolean',
|
|
9171
9175
|
showEllipsis: 'boolean',
|
|
9172
9176
|
style: {
|
|
@@ -9611,10 +9615,10 @@ export const patterns = [
|
|
|
9611
9615
|
schemaVersion: 2,
|
|
9612
9616
|
pattern: {
|
|
9613
9617
|
type: 'PaywallBackground',
|
|
9618
|
+
title: 'title',
|
|
9619
|
+
description: 'description',
|
|
9614
9620
|
children: 'never',
|
|
9615
9621
|
attributes: {
|
|
9616
|
-
title: 'title',
|
|
9617
|
-
description: 'description',
|
|
9618
9622
|
src: 'string',
|
|
9619
9623
|
resizeMode: ['cover', 'contain', 'stretch', 'center'],
|
|
9620
9624
|
scrollable: 'boolean',
|
|
@@ -10024,10 +10028,10 @@ export const patterns = [
|
|
|
10024
10028
|
schemaVersion: 2,
|
|
10025
10029
|
pattern: {
|
|
10026
10030
|
type: 'PaywallCloseButton',
|
|
10031
|
+
title: 'title',
|
|
10032
|
+
description: 'description',
|
|
10027
10033
|
children: 'never',
|
|
10028
10034
|
attributes: {
|
|
10029
|
-
title: 'title',
|
|
10030
|
-
description: 'description',
|
|
10031
10035
|
iconType: 'iconType',
|
|
10032
10036
|
size: 'number',
|
|
10033
10037
|
strokeWidth: 'number',
|
|
@@ -10502,11 +10506,11 @@ export const patterns = [
|
|
|
10502
10506
|
schemaVersion: 2,
|
|
10503
10507
|
pattern: {
|
|
10504
10508
|
type: 'PaywallCounter',
|
|
10509
|
+
title: 'title',
|
|
10510
|
+
description: 'description',
|
|
10505
10511
|
children: 'never',
|
|
10506
10512
|
attributes: {
|
|
10507
10513
|
count: 'number',
|
|
10508
|
-
title: 'title',
|
|
10509
|
-
description: 'description',
|
|
10510
10514
|
adjustsFontSizeToFit: 'boolean',
|
|
10511
10515
|
showEllipsis: 'boolean',
|
|
10512
10516
|
style: {
|
|
@@ -10958,6 +10962,8 @@ export const patterns = [
|
|
|
10958
10962
|
schemaVersion: 2,
|
|
10959
10963
|
pattern: {
|
|
10960
10964
|
type: 'PaywallOptions',
|
|
10965
|
+
title: 'title',
|
|
10966
|
+
description: 'description',
|
|
10961
10967
|
children: 'node',
|
|
10962
10968
|
attributes: {
|
|
10963
10969
|
scrollable: 'boolean',
|
|
@@ -11010,8 +11016,6 @@ export const patterns = [
|
|
|
11010
11016
|
right: 'size',
|
|
11011
11017
|
zIndex: 'number',
|
|
11012
11018
|
},
|
|
11013
|
-
title: 'title',
|
|
11014
|
-
description: 'description',
|
|
11015
11019
|
},
|
|
11016
11020
|
},
|
|
11017
11021
|
meta: {
|
|
@@ -11339,6 +11343,8 @@ export const patterns = [
|
|
|
11339
11343
|
schemaVersion: 2,
|
|
11340
11344
|
pattern: {
|
|
11341
11345
|
type: 'PaywallProvider',
|
|
11346
|
+
title: 'title',
|
|
11347
|
+
description: 'description',
|
|
11342
11348
|
children: 'node',
|
|
11343
11349
|
attributes: {
|
|
11344
11350
|
scrollable: 'boolean',
|
|
@@ -11391,8 +11397,6 @@ export const patterns = [
|
|
|
11391
11397
|
right: 'size',
|
|
11392
11398
|
zIndex: 'number',
|
|
11393
11399
|
},
|
|
11394
|
-
title: 'title',
|
|
11395
|
-
description: 'description',
|
|
11396
11400
|
delay: 'number',
|
|
11397
11401
|
},
|
|
11398
11402
|
},
|
|
@@ -11729,10 +11733,10 @@ export const patterns = [
|
|
|
11729
11733
|
schemaVersion: 2,
|
|
11730
11734
|
pattern: {
|
|
11731
11735
|
type: 'PaywallSubscribeButton',
|
|
11736
|
+
title: 'title',
|
|
11737
|
+
description: 'description',
|
|
11732
11738
|
children: 'string',
|
|
11733
11739
|
attributes: {
|
|
11734
|
-
title: 'title',
|
|
11735
|
-
description: 'description',
|
|
11736
11740
|
style: {
|
|
11737
11741
|
color: 'color',
|
|
11738
11742
|
fontSize: 'size',
|
|
@@ -12153,6 +12157,8 @@ export const patterns = [
|
|
|
12153
12157
|
schemaVersion: 2,
|
|
12154
12158
|
pattern: {
|
|
12155
12159
|
type: 'RadioButton',
|
|
12160
|
+
title: 'title',
|
|
12161
|
+
description: 'description',
|
|
12156
12162
|
children: 'never',
|
|
12157
12163
|
attributes: {
|
|
12158
12164
|
scrollable: 'boolean',
|
|
@@ -12205,8 +12211,6 @@ export const patterns = [
|
|
|
12205
12211
|
right: 'size',
|
|
12206
12212
|
zIndex: 'number',
|
|
12207
12213
|
},
|
|
12208
|
-
title: 'title',
|
|
12209
|
-
description: 'description',
|
|
12210
12214
|
selected: 'boolean',
|
|
12211
12215
|
color: 'color',
|
|
12212
12216
|
size: 'number',
|
|
@@ -12555,10 +12559,10 @@ export const patterns = [
|
|
|
12555
12559
|
schemaVersion: 2,
|
|
12556
12560
|
pattern: {
|
|
12557
12561
|
type: 'Separator',
|
|
12562
|
+
title: 'title',
|
|
12563
|
+
description: 'description',
|
|
12558
12564
|
children: 'never',
|
|
12559
12565
|
attributes: {
|
|
12560
|
-
title: 'title',
|
|
12561
|
-
description: 'description',
|
|
12562
12566
|
style: {
|
|
12563
12567
|
backgroundColor: 'color',
|
|
12564
12568
|
width: 'size',
|
|
@@ -12610,6 +12614,8 @@ export const patterns = [
|
|
|
12610
12614
|
schemaVersion: 2,
|
|
12611
12615
|
pattern: {
|
|
12612
12616
|
type: 'StatusBarColor',
|
|
12617
|
+
title: 'title',
|
|
12618
|
+
description: 'description',
|
|
12613
12619
|
children: 'never',
|
|
12614
12620
|
attributes: {
|
|
12615
12621
|
scrollable: 'boolean',
|
|
@@ -12662,8 +12668,6 @@ export const patterns = [
|
|
|
12662
12668
|
right: 'size',
|
|
12663
12669
|
zIndex: 'number',
|
|
12664
12670
|
},
|
|
12665
|
-
title: 'title',
|
|
12666
|
-
description: 'description',
|
|
12667
12671
|
},
|
|
12668
12672
|
},
|
|
12669
12673
|
meta: {
|
|
@@ -12989,6 +12993,8 @@ export const patterns = [
|
|
|
12989
12993
|
schemaVersion: 2,
|
|
12990
12994
|
pattern: {
|
|
12991
12995
|
type: 'Text',
|
|
12996
|
+
title: 'title',
|
|
12997
|
+
description: 'description',
|
|
12992
12998
|
children: 'string',
|
|
12993
12999
|
attributes: {
|
|
12994
13000
|
scrollable: 'boolean',
|
|
@@ -13046,8 +13052,6 @@ export const patterns = [
|
|
|
13046
13052
|
fontWeight: 'fontWeight',
|
|
13047
13053
|
textAlign: ['left', 'center', 'right', 'justify'],
|
|
13048
13054
|
},
|
|
13049
|
-
title: 'title',
|
|
13050
|
-
description: 'description',
|
|
13051
13055
|
adjustsFontSizeToFit: 'boolean',
|
|
13052
13056
|
showEllipsis: 'boolean',
|
|
13053
13057
|
},
|
|
@@ -13436,6 +13440,8 @@ export const patterns = [
|
|
|
13436
13440
|
schemaVersion: 2,
|
|
13437
13441
|
pattern: {
|
|
13438
13442
|
type: 'View',
|
|
13443
|
+
title: 'title',
|
|
13444
|
+
description: 'description',
|
|
13439
13445
|
children: 'node',
|
|
13440
13446
|
attributes: {
|
|
13441
13447
|
scrollable: 'boolean',
|