@developer_tribe/react-builder 1.2.24 → 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/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 +76 -70
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.web.cjs.js +4 -4
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +2 -2
- 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/patterns.d.ts +2 -0
- package/package.json +1 -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-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/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 +5 -3
- 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/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/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 -70
- package/src/components/AttributesEditorPanel.tsx +48 -32
- package/src/components/Builder.tsx +4 -1
- package/src/index.ts +1 -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/patterns.ts +2 -0
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "CountDown",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "never",
|
|
6
|
-
"extends": "Counter"
|
|
7
|
-
"attributes": {}
|
|
8
|
+
"extends": "Counter"
|
|
8
9
|
},
|
|
9
10
|
"meta": {
|
|
10
|
-
"desiredParent": [
|
|
11
|
+
"desiredParent": [
|
|
12
|
+
"all"
|
|
13
|
+
],
|
|
11
14
|
"label": "Count Down",
|
|
12
15
|
"description": "Displays a countdown timer.",
|
|
13
16
|
"attributes": {
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "Counter",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "never",
|
|
6
8
|
"extends": "Text",
|
|
7
9
|
"attributes": {
|
|
@@ -9,7 +11,9 @@
|
|
|
9
11
|
}
|
|
10
12
|
},
|
|
11
13
|
"meta": {
|
|
12
|
-
"desiredParent": [
|
|
14
|
+
"desiredParent": [
|
|
15
|
+
"all"
|
|
16
|
+
],
|
|
13
17
|
"label": "Counter",
|
|
14
18
|
"description": "Displays a numeric counter.",
|
|
15
19
|
"attributes": {
|
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "Image",
|
|
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
|
"src": "string",
|
|
11
11
|
"style": {
|
|
12
12
|
"resizeMode": ["cover", "contain", "stretch", "center"]
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"defaults": {
|
|
16
|
-
"
|
|
16
|
+
"style": {
|
|
17
|
+
"resizeMode": "contain"
|
|
18
|
+
}
|
|
17
19
|
}
|
|
18
20
|
},
|
|
19
21
|
"meta": {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "Main",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description",
|
|
10
10
|
"useSafeAreaView": "boolean"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"meta": {
|
|
23
|
-
"desiredParent": [
|
|
23
|
+
"desiredParent": [
|
|
24
|
+
"root"
|
|
25
|
+
],
|
|
24
26
|
"label": "Main",
|
|
25
27
|
"description": "Top-level screen wrapper (safe area, base layout).",
|
|
26
28
|
"hideAllAttributes": true,
|
|
@@ -2,18 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "NavigationBarColor",
|
|
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": "Navigation Bar Color",
|
|
18
20
|
"description": "Sets the OS navigation bar background color.",
|
|
19
21
|
"styles": {
|
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "Onboard",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
|
-
"extends": "View"
|
|
7
|
-
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description"
|
|
10
|
-
}
|
|
8
|
+
"extends": "View"
|
|
11
9
|
},
|
|
12
10
|
"meta": {
|
|
13
|
-
"desiredParent": [
|
|
14
|
-
|
|
11
|
+
"desiredParent": [
|
|
12
|
+
"=OnboardProvider"
|
|
13
|
+
],
|
|
14
|
+
"desiredChildren": [
|
|
15
|
+
"=OnboardItem"
|
|
16
|
+
],
|
|
15
17
|
"label": "Onboard",
|
|
16
18
|
"description": "Wraps the onboarding flow.",
|
|
17
19
|
"styles": {}
|
|
@@ -76,8 +76,6 @@ export interface OnboardButtonPropsGenerated {
|
|
|
76
76
|
attributes: {
|
|
77
77
|
style?: OnboardButtonStyleGenerated;
|
|
78
78
|
scrollable?: boolean;
|
|
79
|
-
title?: string;
|
|
80
|
-
description?: string;
|
|
81
79
|
labelKey?: string;
|
|
82
80
|
button_text_color?: string;
|
|
83
81
|
animation?: AnimationOptionType;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardButton",
|
|
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
|
"labelKey": "string",
|
|
11
11
|
"button_text_color": "color",
|
|
12
12
|
"animation": [
|
|
@@ -30,14 +30,25 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": {
|
|
32
32
|
"EventObject": {
|
|
33
|
-
"type": [
|
|
34
|
-
|
|
33
|
+
"type": [
|
|
34
|
+
"Permission",
|
|
35
|
+
"Navigate"
|
|
36
|
+
],
|
|
37
|
+
"permission": [
|
|
38
|
+
"att",
|
|
39
|
+
"notification",
|
|
40
|
+
"rating",
|
|
41
|
+
"GDPR",
|
|
42
|
+
"null"
|
|
43
|
+
],
|
|
35
44
|
"navigate_to": "string",
|
|
36
45
|
"targetIndex": "number"
|
|
37
46
|
}
|
|
38
47
|
},
|
|
39
48
|
"meta": {
|
|
40
|
-
"desiredParent": [
|
|
49
|
+
"desiredParent": [
|
|
50
|
+
"=OnboardButtons"
|
|
51
|
+
],
|
|
41
52
|
"label": "Onboard Button",
|
|
42
53
|
"description": "Single action button for onboarding.",
|
|
43
54
|
"styles": {
|
|
@@ -67,8 +67,6 @@ export interface OnboardButtonsPropsGenerated {
|
|
|
67
67
|
attributes: {
|
|
68
68
|
style?: OnboardButtonsStyleGenerated;
|
|
69
69
|
scrollable?: boolean;
|
|
70
|
-
title?: string;
|
|
71
|
-
description?: string;
|
|
72
70
|
buttonType?: ButtonTypeOptionType;
|
|
73
71
|
skipNumber?: number;
|
|
74
72
|
buttons_direction?: ButtonsDirectionOptionType;
|
|
@@ -2,17 +2,26 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardButtons",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
"buttonType": [
|
|
11
|
+
"previous_button",
|
|
12
|
+
"next_button",
|
|
13
|
+
"skip_button"
|
|
14
|
+
],
|
|
11
15
|
"skipNumber": "number",
|
|
12
|
-
"buttons_direction": [
|
|
16
|
+
"buttons_direction": [
|
|
17
|
+
"row",
|
|
18
|
+
"column"
|
|
19
|
+
],
|
|
13
20
|
"forIndex": "number",
|
|
14
21
|
"seperatorColor": "color",
|
|
15
|
-
"condition": [
|
|
22
|
+
"condition": [
|
|
23
|
+
"carousel-index"
|
|
24
|
+
],
|
|
16
25
|
"conditionVariable": "number"
|
|
17
26
|
},
|
|
18
27
|
"defaults": {
|
|
@@ -28,7 +37,9 @@
|
|
|
28
37
|
}
|
|
29
38
|
},
|
|
30
39
|
"meta": {
|
|
31
|
-
"desiredParent": [
|
|
40
|
+
"desiredParent": [
|
|
41
|
+
"=OnboardItem"
|
|
42
|
+
],
|
|
32
43
|
"label": "Onboard Buttons",
|
|
33
44
|
"description": "Wrapper for onboarding button set.",
|
|
34
45
|
"styles": {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardDot",
|
|
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
|
"dotType": [
|
|
11
11
|
"expanding_dot",
|
|
12
12
|
"normal_dot",
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"meta": {
|
|
40
|
-
"desiredParent": [
|
|
40
|
+
"desiredParent": [
|
|
41
|
+
">OnboardProvider"
|
|
42
|
+
],
|
|
41
43
|
"label": "Onboard Dot",
|
|
42
44
|
"description": "Renders onboarding progress dots.",
|
|
43
45
|
"styles": {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardFooter",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "Text",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description",
|
|
10
10
|
"textLocalizationKey": "string",
|
|
11
11
|
"linkedWordFirstLocalizationKey": "string",
|
|
12
12
|
"linkedWordFirstColor": "color",
|
|
@@ -27,7 +27,9 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"meta": {
|
|
30
|
-
"desiredParent": [
|
|
30
|
+
"desiredParent": [
|
|
31
|
+
">OnboardItem"
|
|
32
|
+
],
|
|
31
33
|
"label": "Onboard Footer",
|
|
32
34
|
"description": "Footer text with optional links.",
|
|
33
35
|
"styles": {
|
|
@@ -2,17 +2,21 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardImage",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "Image",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description",
|
|
10
10
|
"video_url": "string",
|
|
11
11
|
"lottie": "string"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"meta": {
|
|
15
|
-
"desiredParent": [
|
|
15
|
+
"desiredParent": [
|
|
16
|
+
">OnboardProvider",
|
|
17
|
+
">OnboardItem",
|
|
18
|
+
"!=Onboard"
|
|
19
|
+
],
|
|
16
20
|
"label": "Onboard Image",
|
|
17
21
|
"description": "Onboarding hero image with media.",
|
|
18
22
|
"styles": {},
|
|
@@ -62,8 +62,6 @@ export interface OnboardItemPropsGenerated {
|
|
|
62
62
|
attributes: {
|
|
63
63
|
style?: OnboardItemStyleGenerated;
|
|
64
64
|
scrollable?: boolean;
|
|
65
|
-
title?: string;
|
|
66
|
-
description?: string;
|
|
67
65
|
display?: DisplayOptionType;
|
|
68
66
|
gap?: string;
|
|
69
67
|
flexDirection?: FlexDirectionOptionType;
|
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardItem",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
"display": [
|
|
11
|
+
"flex",
|
|
12
|
+
"block"
|
|
13
|
+
],
|
|
11
14
|
"gap": "size",
|
|
12
|
-
"flexDirection": [
|
|
15
|
+
"flexDirection": [
|
|
16
|
+
"row",
|
|
17
|
+
"column"
|
|
18
|
+
],
|
|
13
19
|
"paddingHorizontal": "size"
|
|
14
20
|
}
|
|
15
21
|
},
|
|
@@ -22,7 +28,9 @@
|
|
|
22
28
|
}
|
|
23
29
|
},
|
|
24
30
|
"meta": {
|
|
25
|
-
"desiredParent": [
|
|
31
|
+
"desiredParent": [
|
|
32
|
+
"=Onboard"
|
|
33
|
+
],
|
|
26
34
|
"label": "Onboard Item",
|
|
27
35
|
"description": "Single onboarding screen section.",
|
|
28
36
|
"styles": {},
|
|
@@ -2,12 +2,16 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardProvider",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "node",
|
|
6
8
|
"extends": "View",
|
|
7
9
|
"attributes": {
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
"theme": [
|
|
11
|
+
"light",
|
|
12
|
+
"dark",
|
|
13
|
+
"all"
|
|
14
|
+
],
|
|
11
15
|
"borderRadius": "never"
|
|
12
16
|
}
|
|
13
17
|
},
|
|
@@ -18,7 +22,9 @@
|
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
"meta": {
|
|
21
|
-
"desiredParent": [
|
|
25
|
+
"desiredParent": [
|
|
26
|
+
"root"
|
|
27
|
+
],
|
|
22
28
|
"label": "Onboard Provider",
|
|
23
29
|
"description": "Provides shared settings for onboarding.",
|
|
24
30
|
"styles": {},
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardSubtitle",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "string",
|
|
6
|
-
"extends": "Text"
|
|
7
|
-
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description"
|
|
10
|
-
}
|
|
8
|
+
"extends": "Text"
|
|
11
9
|
},
|
|
12
10
|
"defaults": {
|
|
13
11
|
"style": {
|
|
@@ -16,7 +14,10 @@
|
|
|
16
14
|
}
|
|
17
15
|
},
|
|
18
16
|
"meta": {
|
|
19
|
-
"desiredParent": [
|
|
17
|
+
"desiredParent": [
|
|
18
|
+
">OnboardProvider",
|
|
19
|
+
">OnboardItem"
|
|
20
|
+
],
|
|
20
21
|
"label": "Onboard Subtitle",
|
|
21
22
|
"description": "Subtitle text for an onboarding step.",
|
|
22
23
|
"styles": {}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "OnboardTitle",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "string",
|
|
6
|
-
"extends": "Text"
|
|
7
|
-
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description"
|
|
10
|
-
}
|
|
8
|
+
"extends": "Text"
|
|
11
9
|
},
|
|
12
10
|
"defaults": {
|
|
13
11
|
"style": {
|
|
@@ -17,7 +15,10 @@
|
|
|
17
15
|
}
|
|
18
16
|
},
|
|
19
17
|
"meta": {
|
|
20
|
-
"desiredParent": [
|
|
18
|
+
"desiredParent": [
|
|
19
|
+
">OnboardItem",
|
|
20
|
+
">OnboardProvider"
|
|
21
|
+
],
|
|
21
22
|
"label": "Onboard Title",
|
|
22
23
|
"description": "Title text for an onboarding step.",
|
|
23
24
|
"styles": {}
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "PaywallBackground",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "never",
|
|
6
8
|
"extends": "BackgroundImage",
|
|
7
|
-
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description"
|
|
10
|
-
},
|
|
11
9
|
"defaults": {
|
|
12
10
|
"resizeMode": "cover",
|
|
13
11
|
"style": {
|
|
@@ -22,7 +20,9 @@
|
|
|
22
20
|
}
|
|
23
21
|
},
|
|
24
22
|
"meta": {
|
|
25
|
-
"desiredParent": [
|
|
23
|
+
"desiredParent": [
|
|
24
|
+
">PaywallProvider"
|
|
25
|
+
],
|
|
26
26
|
"label": "Paywall Background",
|
|
27
27
|
"description": "Paywall Background component.",
|
|
28
28
|
"styles": {}
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"pattern": {
|
|
4
4
|
"type": "PaywallCloseButton",
|
|
5
|
+
"title": "title",
|
|
6
|
+
"description": "description",
|
|
5
7
|
"children": "never",
|
|
6
|
-
"extends": "BIcon"
|
|
7
|
-
"attributes": {
|
|
8
|
-
"title": "title",
|
|
9
|
-
"description": "description"
|
|
10
|
-
}
|
|
8
|
+
"extends": "BIcon"
|
|
11
9
|
},
|
|
12
10
|
"meta": {
|
|
13
|
-
"desiredParent": [
|
|
11
|
+
"desiredParent": [
|
|
12
|
+
">PaywallProvider"
|
|
13
|
+
],
|
|
14
14
|
"label": "Paywall Close Button",
|
|
15
15
|
"description": "Paywall Close Button component.",
|
|
16
16
|
"styles": {}
|