@developer_tribe/react-builder 1.2.14 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +2 -0
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +2 -0
- package/dist/build-components/Button/ButtonProps.generated.d.ts +2 -0
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +2 -0
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +2 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +2 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +2 -0
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +2 -0
- package/dist/build-components/CountDown/CountDown.d.ts +2 -0
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +61 -0
- package/dist/build-components/CountDown/formatCountdownTime.d.ts +1 -0
- package/dist/build-components/Counter/Counter.d.ts +2 -0
- package/dist/build-components/Counter/CounterProps.generated.d.ts +61 -0
- package/dist/build-components/Image/ImageProps.generated.d.ts +2 -0
- package/dist/build-components/Main/MainProps.generated.d.ts +2 -0
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +2 -0
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +2 -0
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +2 -0
- package/dist/build-components/PaywallCounter/PaywallCounter.d.ts +2 -0
- package/dist/build-components/PaywallCounter/PaywallCounterProps.generated.d.ts +61 -0
- package/dist/build-components/PaywallOptions/PaywallOptionsProps.generated.d.ts +2 -0
- package/dist/build-components/PaywallProvider/PaywallProviderProps.generated.d.ts +2 -0
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +2 -0
- package/dist/build-components/RadioButton/RadioButtonProps.generated.d.ts +2 -0
- package/dist/build-components/Text/TextProps.generated.d.ts +2 -0
- package/dist/build-components/View/ViewProps.generated.d.ts +2 -0
- package/dist/build-components/index.d.ts +4 -1
- package/dist/build-components/patterns.generated.d.ts +2961 -1552
- package/dist/components/BuilderProvider.d.ts +0 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.native.d.ts +7 -0
- package/dist/index.web.cjs.js +7 -5
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +7 -5
- package/dist/index.web.esm.js.map +1 -1
- package/dist/utils/getDefaultProject.d.ts +4 -0
- package/dist/utils/patterns.d.ts +3 -0
- package/package.json +2 -1
- package/scripts/prebuild/utils/createComponentTsx.js +1 -1
- package/scripts/prebuild/utils/createGeneratedProps.js +6 -2
- package/scripts/prebuild/utils/createRenderNodeGenerated.js +26 -5
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +17 -5
- package/scripts/prebuild/utils/validateExistingComponentTsx.js +12 -8
- package/src/AttributesEditor.tsx +7 -2
- package/src/RenderPage.tsx +34 -3
- package/src/assets/meta.json +1 -1
- package/src/assets/samples/carousel-sample.json +44 -14
- package/src/assets/samples/getSamples.ts +3 -1
- package/src/assets/samples/paywall-1.json +73 -29
- package/src/assets/samples/paywall-2.json +338 -0
- package/src/assets/samples/simple-1.json +9 -3
- package/src/assets/samples/simple-2.json +72 -24
- package/src/assets/samples/unmigrated-builder-1.1.1.json +19 -7
- package/src/assets/samples/unmigrated-builder1.json +10 -4
- package/src/assets/samples/unvalidated-builder1.json +10 -4
- package/src/assets/samples/unvalidated-crash1.json +3 -1
- package/src/assets/samples/unvalidated-crashcomponent1.json +3 -1
- package/src/assets/samples/vpn-onboard-1.json +88 -40
- package/src/assets/samples/vpn-onboard-2.json +85 -37
- package/src/assets/samples/vpn-onboard-3.json +93 -45
- package/src/assets/samples/vpn-onboard-4.json +93 -45
- package/src/assets/samples/vpn-onboard-5.json +121 -53
- package/src/assets/samples/vpn-onboard-6.json +93 -45
- package/src/attributes-editor/AttributesEditorView.tsx +39 -1
- package/src/attributes-editor/Field.tsx +30 -0
- package/src/build-components/BIcon/BIconProps.generated.ts +2 -0
- package/src/build-components/BIcon/pattern.json +2 -0
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +2 -0
- package/src/build-components/BackgroundImage/pattern.json +2 -0
- package/src/build-components/Button/ButtonProps.generated.ts +2 -0
- package/src/build-components/Button/pattern.json +2 -0
- package/src/build-components/Carousel/CarouselProps.generated.ts +2 -0
- package/src/build-components/Carousel/pattern.json +2 -0
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +2 -0
- package/src/build-components/CarouselButtons/pattern.json +2 -0
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +2 -0
- package/src/build-components/CarouselDots/pattern.json +2 -0
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +2 -0
- package/src/build-components/CarouselItem/pattern.json +4 -1
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +2 -0
- package/src/build-components/CarouselProvider/pattern.json +4 -1
- package/src/build-components/CountDown/CountDown.tsx +73 -0
- package/src/build-components/CountDown/CountDownProps.generated.ts +78 -0
- package/src/build-components/CountDown/formatCountdownTime.ts +10 -0
- package/src/build-components/CountDown/pattern.json +24 -0
- package/src/build-components/Counter/Counter.tsx +44 -0
- package/src/build-components/Counter/CounterProps.generated.ts +78 -0
- package/src/build-components/Counter/pattern.json +26 -0
- package/src/build-components/Image/ImageProps.generated.ts +2 -0
- package/src/build-components/Image/pattern.json +2 -0
- package/src/build-components/Main/MainProps.generated.ts +2 -0
- package/src/build-components/Main/pattern.json +2 -0
- package/src/build-components/Onboard/OnboardProps.generated.ts +2 -0
- package/src/build-components/Onboard/pattern.json +4 -1
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +2 -0
- package/src/build-components/OnboardButton/pattern.json +2 -0
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +2 -0
- package/src/build-components/OnboardButtons/pattern.json +2 -0
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +2 -0
- package/src/build-components/OnboardDot/pattern.json +2 -0
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +2 -0
- package/src/build-components/OnboardFooter/pattern.json +2 -0
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +2 -0
- package/src/build-components/OnboardImage/pattern.json +2 -0
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +2 -0
- package/src/build-components/OnboardItem/pattern.json +2 -0
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +2 -0
- package/src/build-components/OnboardProvider/pattern.json +2 -0
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +2 -0
- package/src/build-components/OnboardSubtitle/pattern.json +4 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +2 -0
- package/src/build-components/OnboardTitle/pattern.json +4 -1
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +2 -0
- package/src/build-components/PaywallBackground/pattern.json +4 -1
- package/src/build-components/PaywallCloseButton/PaywallCloseButton.tsx +7 -5
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +2 -0
- package/src/build-components/PaywallCloseButton/pattern.json +4 -1
- package/src/build-components/PaywallCounter/PaywallCounter.tsx +49 -0
- package/src/build-components/PaywallCounter/PaywallCounterProps.generated.ts +78 -0
- package/src/build-components/PaywallCounter/pattern.json +24 -0
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +2 -0
- package/src/build-components/PaywallOptions/pattern.json +4 -1
- package/src/build-components/PaywallProvider/PaywallProvider.tsx +8 -16
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +2 -0
- package/src/build-components/PaywallProvider/pattern.json +4 -1
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +2 -0
- package/src/build-components/PaywallSubscribeButton/pattern.json +4 -1
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +2 -0
- package/src/build-components/RadioButton/pattern.json +2 -0
- package/src/build-components/RenderNode.generated.tsx +17 -2
- package/src/build-components/Text/TextProps.generated.ts +2 -0
- package/src/build-components/Text/pattern.json +3 -1
- package/src/build-components/View/View.tsx +1 -1
- package/src/build-components/View/ViewProps.generated.ts +2 -0
- package/src/build-components/View/pattern.json +35 -38
- package/src/build-components/index.ts +15 -0
- package/src/build-components/patterns.generated.ts +3084 -1570
- package/src/components/BuilderButton.tsx +23 -6
- package/src/components/BuilderProvider.tsx +10 -7
- package/src/index.native.ts +7 -0
- package/src/index.ts +1 -0
- package/src/mockOS/context/MockOSContext.tsx +22 -8
- package/src/mockOS/managers/navigationManager.ts +4 -0
- package/src/pages/projectPageUtils.ts +3 -2
- package/src/utils/analyseNodeByPatterns.ts +21 -0
- package/src/utils/getDefaultProject.ts +34 -0
- package/src/utils/patterns.ts +6 -7
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
"padding": 16,
|
|
29
29
|
"backgroundColor": "#F3F4F6"
|
|
30
30
|
},
|
|
31
|
-
"scrollable": true
|
|
31
|
+
"scrollable": true,
|
|
32
|
+
"description": "view element 1 in sample.",
|
|
33
|
+
"title": "view 1"
|
|
32
34
|
},
|
|
33
35
|
"children": [
|
|
34
36
|
{
|
|
@@ -41,7 +43,9 @@
|
|
|
41
43
|
"padding": 12,
|
|
42
44
|
"backgroundColor": "#111827",
|
|
43
45
|
"borderRadius": 12
|
|
44
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"description": "view element 2 in sample.",
|
|
48
|
+
"title": "view 2"
|
|
45
49
|
},
|
|
46
50
|
"children": [
|
|
47
51
|
{
|
|
@@ -52,7 +56,9 @@
|
|
|
52
56
|
"color": "#FFFFFF",
|
|
53
57
|
"fontSize": 20,
|
|
54
58
|
"fontWeight": "600"
|
|
55
|
-
}
|
|
59
|
+
},
|
|
60
|
+
"description": "text element 1 in sample.",
|
|
61
|
+
"title": "text 1"
|
|
56
62
|
}
|
|
57
63
|
},
|
|
58
64
|
{
|
|
@@ -61,7 +67,9 @@
|
|
|
61
67
|
"style": {
|
|
62
68
|
"flexDirection": "row",
|
|
63
69
|
"gap": 8
|
|
64
|
-
}
|
|
70
|
+
},
|
|
71
|
+
"description": "view element 3 in sample.",
|
|
72
|
+
"title": "view 3"
|
|
65
73
|
},
|
|
66
74
|
"children": [
|
|
67
75
|
{
|
|
@@ -71,7 +79,9 @@
|
|
|
71
79
|
"style": {
|
|
72
80
|
"color": "#D1D5DB",
|
|
73
81
|
"fontSize": 14
|
|
74
|
-
}
|
|
82
|
+
},
|
|
83
|
+
"description": "text element 2 in sample.",
|
|
84
|
+
"title": "text 2"
|
|
75
85
|
}
|
|
76
86
|
},
|
|
77
87
|
{
|
|
@@ -81,7 +91,9 @@
|
|
|
81
91
|
"style": {
|
|
82
92
|
"color": "#D1D5DB",
|
|
83
93
|
"fontSize": 14
|
|
84
|
-
}
|
|
94
|
+
},
|
|
95
|
+
"description": "text element 3 in sample.",
|
|
96
|
+
"title": "text 3"
|
|
85
97
|
}
|
|
86
98
|
}
|
|
87
99
|
]
|
|
@@ -97,7 +109,9 @@
|
|
|
97
109
|
"width": 358,
|
|
98
110
|
"height": 160,
|
|
99
111
|
"borderRadius": 12
|
|
100
|
-
}
|
|
112
|
+
},
|
|
113
|
+
"description": "image element 1 in sample.",
|
|
114
|
+
"title": "image 1"
|
|
101
115
|
},
|
|
102
116
|
"children": null
|
|
103
117
|
},
|
|
@@ -110,7 +124,9 @@
|
|
|
110
124
|
"padding": 12,
|
|
111
125
|
"backgroundColor": "#FFFFFF",
|
|
112
126
|
"borderRadius": 12
|
|
113
|
-
}
|
|
127
|
+
},
|
|
128
|
+
"description": "view element 4 in sample.",
|
|
129
|
+
"title": "view 4"
|
|
114
130
|
},
|
|
115
131
|
"children": [
|
|
116
132
|
{
|
|
@@ -121,7 +137,9 @@
|
|
|
121
137
|
"color": "#111827",
|
|
122
138
|
"fontSize": 18,
|
|
123
139
|
"fontWeight": "600"
|
|
124
|
-
}
|
|
140
|
+
},
|
|
141
|
+
"description": "text element 4 in sample.",
|
|
142
|
+
"title": "text 4"
|
|
125
143
|
}
|
|
126
144
|
},
|
|
127
145
|
{
|
|
@@ -131,7 +149,9 @@
|
|
|
131
149
|
"style": {
|
|
132
150
|
"color": "#6B7280",
|
|
133
151
|
"fontSize": 14
|
|
134
|
-
}
|
|
152
|
+
},
|
|
153
|
+
"description": "text element 5 in sample.",
|
|
154
|
+
"title": "text 5"
|
|
135
155
|
}
|
|
136
156
|
}
|
|
137
157
|
]
|
|
@@ -142,7 +162,9 @@
|
|
|
142
162
|
"style": {
|
|
143
163
|
"flexDirection": "column",
|
|
144
164
|
"gap": 12
|
|
145
|
-
}
|
|
165
|
+
},
|
|
166
|
+
"description": "view element 5 in sample.",
|
|
167
|
+
"title": "view 5"
|
|
146
168
|
},
|
|
147
169
|
"children": [
|
|
148
170
|
{
|
|
@@ -155,7 +177,9 @@
|
|
|
155
177
|
"padding": 12,
|
|
156
178
|
"backgroundColor": "#FFFFFF",
|
|
157
179
|
"borderRadius": 8
|
|
158
|
-
}
|
|
180
|
+
},
|
|
181
|
+
"description": "view element 6 in sample.",
|
|
182
|
+
"title": "view 6"
|
|
159
183
|
},
|
|
160
184
|
"children": [
|
|
161
185
|
{
|
|
@@ -166,7 +190,9 @@
|
|
|
166
190
|
"color": "#111827",
|
|
167
191
|
"fontSize": 16,
|
|
168
192
|
"fontWeight": "500"
|
|
169
|
-
}
|
|
193
|
+
},
|
|
194
|
+
"description": "text element 6 in sample.",
|
|
195
|
+
"title": "text 6"
|
|
170
196
|
}
|
|
171
197
|
},
|
|
172
198
|
{
|
|
@@ -177,7 +203,9 @@
|
|
|
177
203
|
"color": "#059669",
|
|
178
204
|
"fontSize": 12,
|
|
179
205
|
"fontWeight": "600"
|
|
180
|
-
}
|
|
206
|
+
},
|
|
207
|
+
"description": "text element 7 in sample.",
|
|
208
|
+
"title": "text 7"
|
|
181
209
|
}
|
|
182
210
|
}
|
|
183
211
|
]
|
|
@@ -192,7 +220,9 @@
|
|
|
192
220
|
"padding": 12,
|
|
193
221
|
"backgroundColor": "#FFFFFF",
|
|
194
222
|
"borderRadius": 8
|
|
195
|
-
}
|
|
223
|
+
},
|
|
224
|
+
"description": "view element 7 in sample.",
|
|
225
|
+
"title": "view 7"
|
|
196
226
|
},
|
|
197
227
|
"children": [
|
|
198
228
|
{
|
|
@@ -203,7 +233,9 @@
|
|
|
203
233
|
"color": "#111827",
|
|
204
234
|
"fontSize": 16,
|
|
205
235
|
"fontWeight": "500"
|
|
206
|
-
}
|
|
236
|
+
},
|
|
237
|
+
"description": "text element 8 in sample.",
|
|
238
|
+
"title": "text 8"
|
|
207
239
|
}
|
|
208
240
|
},
|
|
209
241
|
{
|
|
@@ -214,7 +246,9 @@
|
|
|
214
246
|
"color": "#D97706",
|
|
215
247
|
"fontSize": 12,
|
|
216
248
|
"fontWeight": "600"
|
|
217
|
-
}
|
|
249
|
+
},
|
|
250
|
+
"description": "text element 9 in sample.",
|
|
251
|
+
"title": "text 9"
|
|
218
252
|
}
|
|
219
253
|
}
|
|
220
254
|
]
|
|
@@ -229,7 +263,9 @@
|
|
|
229
263
|
"padding": 12,
|
|
230
264
|
"backgroundColor": "#FFFFFF",
|
|
231
265
|
"borderRadius": 8
|
|
232
|
-
}
|
|
266
|
+
},
|
|
267
|
+
"description": "view element 8 in sample.",
|
|
268
|
+
"title": "view 8"
|
|
233
269
|
},
|
|
234
270
|
"children": [
|
|
235
271
|
{
|
|
@@ -240,7 +276,9 @@
|
|
|
240
276
|
"color": "#111827",
|
|
241
277
|
"fontSize": 16,
|
|
242
278
|
"fontWeight": "500"
|
|
243
|
-
}
|
|
279
|
+
},
|
|
280
|
+
"description": "text element 10 in sample.",
|
|
281
|
+
"title": "text 10"
|
|
244
282
|
}
|
|
245
283
|
},
|
|
246
284
|
{
|
|
@@ -251,7 +289,9 @@
|
|
|
251
289
|
"color": "#6B7280",
|
|
252
290
|
"fontSize": 12,
|
|
253
291
|
"fontWeight": "600"
|
|
254
|
-
}
|
|
292
|
+
},
|
|
293
|
+
"description": "text element 11 in sample.",
|
|
294
|
+
"title": "text 11"
|
|
255
295
|
}
|
|
256
296
|
}
|
|
257
297
|
]
|
|
@@ -268,7 +308,9 @@
|
|
|
268
308
|
"padding": 12,
|
|
269
309
|
"backgroundColor": "#111827",
|
|
270
310
|
"borderRadius": 12
|
|
271
|
-
}
|
|
311
|
+
},
|
|
312
|
+
"description": "view element 9 in sample.",
|
|
313
|
+
"title": "view 9"
|
|
272
314
|
},
|
|
273
315
|
"children": [
|
|
274
316
|
{
|
|
@@ -278,7 +320,9 @@
|
|
|
278
320
|
"style": {
|
|
279
321
|
"color": "#FFFFFF",
|
|
280
322
|
"fontSize": 14
|
|
281
|
-
}
|
|
323
|
+
},
|
|
324
|
+
"description": "text element 12 in sample.",
|
|
325
|
+
"title": "text 12"
|
|
282
326
|
}
|
|
283
327
|
},
|
|
284
328
|
{
|
|
@@ -288,7 +332,9 @@
|
|
|
288
332
|
"style": {
|
|
289
333
|
"color": "#9CA3AF",
|
|
290
334
|
"fontSize": 14
|
|
291
|
-
}
|
|
335
|
+
},
|
|
336
|
+
"description": "text element 13 in sample.",
|
|
337
|
+
"title": "text 13"
|
|
292
338
|
}
|
|
293
339
|
},
|
|
294
340
|
{
|
|
@@ -298,7 +344,9 @@
|
|
|
298
344
|
"style": {
|
|
299
345
|
"color": "#9CA3AF",
|
|
300
346
|
"fontSize": 14
|
|
301
|
-
}
|
|
347
|
+
},
|
|
348
|
+
"description": "text element 14 in sample.",
|
|
349
|
+
"title": "text 14"
|
|
302
350
|
}
|
|
303
351
|
}
|
|
304
352
|
]
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"gap": 12,
|
|
17
17
|
"padding": 24,
|
|
18
18
|
"backgroundColor": "#F5F7FA"
|
|
19
|
-
}
|
|
19
|
+
},
|
|
20
|
+
"description": "view element 1 in sample.",
|
|
21
|
+
"title": "view 1"
|
|
20
22
|
},
|
|
21
23
|
"children": [
|
|
22
24
|
{
|
|
@@ -27,7 +29,9 @@
|
|
|
27
29
|
"fontWeight": "700",
|
|
28
30
|
"color": "#111827",
|
|
29
31
|
"textAlign": "center"
|
|
30
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"description": "text element 1 in sample.",
|
|
34
|
+
"title": "text 1"
|
|
31
35
|
},
|
|
32
36
|
"children": "Intentionally unmigrated sample (for combined 1.1.2)"
|
|
33
37
|
},
|
|
@@ -39,9 +43,11 @@
|
|
|
39
43
|
"color": "#6B7280",
|
|
40
44
|
"textAlign": "center",
|
|
41
45
|
"paddingHorizontal": 8
|
|
42
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"description": "text element 2 in sample.",
|
|
48
|
+
"title": "text 2"
|
|
43
49
|
},
|
|
44
|
-
"children": "This project has version 1.1.1 so the Migration page should appear. Click
|
|
50
|
+
"children": "This project has version 1.1.1 so the Migration page should appear. Click \u201cMigrate now\u201d to move component props and non-style flags out of attributes.style (combined 1.1.2)."
|
|
45
51
|
},
|
|
46
52
|
{
|
|
47
53
|
"type": "view",
|
|
@@ -52,7 +58,9 @@
|
|
|
52
58
|
"justifyContent": "center",
|
|
53
59
|
"gap": 12,
|
|
54
60
|
"marginTop": 16
|
|
55
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"description": "view element 2 in sample.",
|
|
63
|
+
"title": "view 2"
|
|
56
64
|
},
|
|
57
65
|
"children": [
|
|
58
66
|
{
|
|
@@ -63,7 +71,9 @@
|
|
|
63
71
|
"strokeWidth": 3,
|
|
64
72
|
"color": "#22c55e",
|
|
65
73
|
"fontSize": "18"
|
|
66
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"description": "BIcon element 1 in sample.",
|
|
76
|
+
"title": "BIcon 1"
|
|
67
77
|
},
|
|
68
78
|
"children": null
|
|
69
79
|
},
|
|
@@ -76,7 +86,9 @@
|
|
|
76
86
|
"style": {
|
|
77
87
|
"resizeMode": "contain",
|
|
78
88
|
"borderRadius": 12
|
|
79
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"description": "image element 1 in sample.",
|
|
91
|
+
"title": "image 1"
|
|
80
92
|
},
|
|
81
93
|
"children": null
|
|
82
94
|
}
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
"justifyContent": "center",
|
|
15
15
|
"gap": 12,
|
|
16
16
|
"padding": 24,
|
|
17
|
-
"backgroundColor": "#F5F7FA"
|
|
17
|
+
"backgroundColor": "#F5F7FA",
|
|
18
|
+
"description": "view element 1 in sample.",
|
|
19
|
+
"title": "view 1"
|
|
18
20
|
},
|
|
19
21
|
"children": [
|
|
20
22
|
{
|
|
@@ -23,7 +25,9 @@
|
|
|
23
25
|
"fontSize": 22,
|
|
24
26
|
"fontWeight": "700",
|
|
25
27
|
"color": "#111827",
|
|
26
|
-
"textAlign": "center"
|
|
28
|
+
"textAlign": "center",
|
|
29
|
+
"description": "text element 1 in sample.",
|
|
30
|
+
"title": "text 1"
|
|
27
31
|
},
|
|
28
32
|
"children": "Intentionally unmigrated sample"
|
|
29
33
|
},
|
|
@@ -33,9 +37,11 @@
|
|
|
33
37
|
"fontSize": 14,
|
|
34
38
|
"color": "#6B7280",
|
|
35
39
|
"textAlign": "center",
|
|
36
|
-
"paddingHorizontal": 8
|
|
40
|
+
"paddingHorizontal": 8,
|
|
41
|
+
"description": "text element 2 in sample.",
|
|
42
|
+
"title": "text 2"
|
|
37
43
|
},
|
|
38
|
-
"children": "This project has version 1.0.0 so the Migration page should appear. Click
|
|
44
|
+
"children": "This project has version 1.0.0 so the Migration page should appear. Click \u201cMigrate now\u201d to normalize legacy flat style keys into attributes.style and move misplaced props out of style (combined 1.1.2)."
|
|
39
45
|
}
|
|
40
46
|
]
|
|
41
47
|
}
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
"backgroundColor": "#F5F7FA"
|
|
18
18
|
},
|
|
19
19
|
"foo": 1,
|
|
20
|
-
"scrollable": true
|
|
20
|
+
"scrollable": true,
|
|
21
|
+
"description": "view element 1 in sample.",
|
|
22
|
+
"title": "view 1"
|
|
21
23
|
},
|
|
22
24
|
"children": [
|
|
23
25
|
{
|
|
@@ -28,7 +30,9 @@
|
|
|
28
30
|
"fontWeight": "700",
|
|
29
31
|
"color": "#111827",
|
|
30
32
|
"textAlign": "center"
|
|
31
|
-
}
|
|
33
|
+
},
|
|
34
|
+
"description": "text element 1 in sample.",
|
|
35
|
+
"title": "text 1"
|
|
32
36
|
},
|
|
33
37
|
"children": "Intentionally unvalidated sample"
|
|
34
38
|
},
|
|
@@ -40,9 +44,11 @@
|
|
|
40
44
|
"color": "#6B7280",
|
|
41
45
|
"textAlign": "center",
|
|
42
46
|
"paddingHorizontal": 8
|
|
43
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"description": "text element 2 in sample.",
|
|
49
|
+
"title": "text 2"
|
|
44
50
|
},
|
|
45
|
-
"children": "This project should fail validation (unknown attribute: foo). In the UI, choose
|
|
51
|
+
"children": "This project should fail validation (unknown attribute: foo). In the UI, choose \u201cContinue without validation\u201d to load it anyway."
|
|
46
52
|
}
|
|
47
53
|
]
|
|
48
54
|
}
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"type": "CrashComponent",
|
|
10
10
|
"attributes": {
|
|
11
11
|
"reason": "Intentional crash for GUI testing",
|
|
12
|
-
"note": "This component is not in the Add Component modal; it only exists via JSON."
|
|
12
|
+
"note": "This component is not in the Add Component modal; it only exists via JSON.",
|
|
13
|
+
"description": "CrashComponent element 1 in sample.",
|
|
14
|
+
"title": "CrashComponent 1"
|
|
13
15
|
},
|
|
14
16
|
"children": null
|
|
15
17
|
}
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"onboard.title.two-page": "Access content worldwide",
|
|
22
22
|
"onboard.title.three-page": "Fast and reliable",
|
|
23
23
|
"onboard.title.four-page": "Stay notified and safe",
|
|
24
|
-
"onboard.subtitle.one-page": "Encrypt your traffic and protect your privacy on public Wi
|
|
25
|
-
"onboard.subtitle.two-page": "Connect to high
|
|
26
|
-
"onboard.subtitle.three-page": "Auto
|
|
24
|
+
"onboard.subtitle.one-page": "Encrypt your traffic and protect your privacy on public Wi\u2011Fi.",
|
|
25
|
+
"onboard.subtitle.two-page": "Connect to high\u2011speed servers in many countries with one tap.",
|
|
26
|
+
"onboard.subtitle.three-page": "Auto\u2011connect to the best server for speed and stability.",
|
|
27
27
|
"onboard.subtitle.four-page": "Enable notifications for connection status and security tips.",
|
|
28
28
|
"onboard.next.one-page": "Next",
|
|
29
29
|
"onboard.next.two-page": "Next",
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
"view.onboarding.btnTerms": "Terms of Service"
|
|
38
38
|
},
|
|
39
39
|
"ar": {
|
|
40
|
-
"onboard.title.one-page": "
|
|
41
|
-
"onboard.title.two-page": "
|
|
42
|
-
"onboard.title.three-page": "
|
|
43
|
-
"onboard.title.four-page": "
|
|
44
|
-
"onboard.subtitle.one-page": "
|
|
45
|
-
"onboard.subtitle.two-page": "
|
|
46
|
-
"onboard.subtitle.three-page": "
|
|
47
|
-
"onboard.subtitle.four-page": "
|
|
48
|
-
"onboard.next.one-page": "
|
|
49
|
-
"onboard.next.two-page": "
|
|
50
|
-
"onboard.next.three-page": "
|
|
51
|
-
"onboard.skip.one-page": "
|
|
52
|
-
"onboard.skip.two-page": "
|
|
53
|
-
"onboard.skip.three-page": "
|
|
54
|
-
"onboard.allow.four-page": "
|
|
55
|
-
"view.onboarding.footer.description": "
|
|
56
|
-
"view.onboarding.btnPrivacy": "
|
|
57
|
-
"view.onboarding.btnTerms": "
|
|
40
|
+
"onboard.title.one-page": "\u0623\u0645\u0651\u0646 \u0627\u062a\u0635\u0627\u0644\u0643",
|
|
41
|
+
"onboard.title.two-page": "\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0645\u062d\u062a\u0648\u0649 \u062d\u0648\u0644 \u0627\u0644\u0639\u0627\u0644\u0645",
|
|
42
|
+
"onboard.title.three-page": "\u0633\u0631\u0639\u0629 \u0648\u0627\u0639\u062a\u0645\u0627\u062f\u064a\u0629",
|
|
43
|
+
"onboard.title.four-page": "\u0625\u0634\u0639\u0627\u0631\u0627\u062a \u0648\u062d\u0645\u0627\u064a\u0629 \u062f\u0627\u0626\u0645\u0629",
|
|
44
|
+
"onboard.subtitle.one-page": "\u0642\u0645 \u0628\u062a\u0634\u0641\u064a\u0631 \u062d\u0631\u0643\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u0648\u062d\u0645\u0627\u064a\u0629 \u062e\u0635\u0648\u0635\u064a\u062a\u0643 \u0639\u0644\u0649 \u0634\u0628\u0643\u0627\u062a Wi\u2011Fi \u0627\u0644\u0639\u0627\u0645\u0629.",
|
|
45
|
+
"onboard.subtitle.two-page": "\u0627\u062a\u0635\u0644 \u0628\u062e\u0648\u0627\u062f\u0645 \u0639\u0627\u0644\u064a\u0629 \u0627\u0644\u0633\u0631\u0639\u0629 \u0641\u064a \u0628\u0644\u062f\u0627\u0646 \u0645\u062a\u0639\u062f\u062f\u0629 \u0628\u0636\u063a\u0637\u0629 \u0648\u0627\u062d\u062f\u0629.",
|
|
46
|
+
"onboard.subtitle.three-page": "\u064a\u062a\u0635\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642 \u062a\u0644\u0642\u0627\u0626\u064a\u0627\u064b \u0628\u0623\u0641\u0636\u0644 \u062e\u0627\u062f\u0645 \u0644\u0633\u0631\u0639\u0629 \u0648\u062b\u0628\u0627\u062a \u0623\u0639\u0644\u0649.",
|
|
47
|
+
"onboard.subtitle.four-page": "\u0641\u0639\u0651\u0644 \u0627\u0644\u0625\u0634\u0639\u0627\u0631\u0627\u062a \u0644\u0645\u0639\u0631\u0641\u0629 \u062d\u0627\u0644\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0648\u0627\u0644\u062d\u0635\u0648\u0644 \u0639\u0644\u0649 \u0646\u0635\u0627\u0626\u062d \u0627\u0644\u0623\u0645\u0627\u0646.",
|
|
48
|
+
"onboard.next.one-page": "\u0627\u0644\u062a\u0627\u0644\u064a",
|
|
49
|
+
"onboard.next.two-page": "\u0627\u0644\u062a\u0627\u0644\u064a",
|
|
50
|
+
"onboard.next.three-page": "\u0627\u0644\u062a\u0627\u0644\u064a",
|
|
51
|
+
"onboard.skip.one-page": "\u062a\u062e\u0637\u064a",
|
|
52
|
+
"onboard.skip.two-page": "\u062a\u062e\u0637\u064a",
|
|
53
|
+
"onboard.skip.three-page": "\u062a\u062e\u0637\u064a",
|
|
54
|
+
"onboard.allow.four-page": "\u0627\u0644\u0633\u0645\u0627\u062d",
|
|
55
|
+
"view.onboarding.footer.description": "\u0628\u0627\u0644\u0645\u062a\u0627\u0628\u0639\u0629\u060c \u0641\u0625\u0646\u0643 \u062a\u0648\u0627\u0641\u0642 \u0639\u0644\u0649",
|
|
56
|
+
"view.onboarding.btnPrivacy": "\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629",
|
|
57
|
+
"view.onboarding.btnTerms": "\u0634\u0631\u0648\u0637 \u0627\u0644\u062e\u062f\u0645\u0629"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"defaultLanguage": "en"
|
|
@@ -64,7 +64,9 @@
|
|
|
64
64
|
"isMain": true,
|
|
65
65
|
"key": "c92tR8J5wbTb3fav",
|
|
66
66
|
"attributes": {
|
|
67
|
-
"useSafeAreaView": true
|
|
67
|
+
"useSafeAreaView": true,
|
|
68
|
+
"description": "Ekran\u0131n ana kapsay\u0131c\u0131s\u0131. (#1)",
|
|
69
|
+
"title": "Main 1"
|
|
68
70
|
},
|
|
69
71
|
"children": [
|
|
70
72
|
{
|
|
@@ -84,7 +86,9 @@
|
|
|
84
86
|
"color": "#FDFDFD",
|
|
85
87
|
"textAlign": "center",
|
|
86
88
|
"marginTop": 40
|
|
87
|
-
}
|
|
89
|
+
},
|
|
90
|
+
"description": "Sayfa ba\u015fl\u0131\u011f\u0131. (#1)",
|
|
91
|
+
"title": "OnboardTitle 1"
|
|
88
92
|
},
|
|
89
93
|
"children": "onboard.title.one-page"
|
|
90
94
|
},
|
|
@@ -105,11 +109,17 @@
|
|
|
105
109
|
"color": "#C7C7C7",
|
|
106
110
|
"fontSize": 16,
|
|
107
111
|
"textAlign": "center"
|
|
108
|
-
}
|
|
112
|
+
},
|
|
113
|
+
"description": "Sayfa alt ba\u015fl\u0131\u011f\u0131. (#1)",
|
|
114
|
+
"title": "OnboardSubtitle 1"
|
|
109
115
|
},
|
|
110
116
|
"children": "onboard.subtitle.one-page"
|
|
111
117
|
}
|
|
112
|
-
]
|
|
118
|
+
],
|
|
119
|
+
"attributes": {
|
|
120
|
+
"description": "Onboarding sayfas\u0131. (#1)",
|
|
121
|
+
"title": "OnboardItem 1"
|
|
122
|
+
}
|
|
113
123
|
},
|
|
114
124
|
{
|
|
115
125
|
"type": "OnboardItem",
|
|
@@ -122,7 +132,9 @@
|
|
|
122
132
|
"color": "#FDFDFD",
|
|
123
133
|
"textAlign": "center",
|
|
124
134
|
"marginTop": 40
|
|
125
|
-
}
|
|
135
|
+
},
|
|
136
|
+
"description": "Sayfa ba\u015fl\u0131\u011f\u0131. (#2)",
|
|
137
|
+
"title": "OnboardTitle 2"
|
|
126
138
|
},
|
|
127
139
|
"children": "onboard.title.two-page"
|
|
128
140
|
},
|
|
@@ -143,11 +155,17 @@
|
|
|
143
155
|
"color": "#C7C7C7",
|
|
144
156
|
"fontSize": 16,
|
|
145
157
|
"textAlign": "center"
|
|
146
|
-
}
|
|
158
|
+
},
|
|
159
|
+
"description": "Sayfa alt ba\u015fl\u0131\u011f\u0131. (#2)",
|
|
160
|
+
"title": "OnboardSubtitle 2"
|
|
147
161
|
},
|
|
148
162
|
"children": "onboard.subtitle.two-page"
|
|
149
163
|
}
|
|
150
|
-
]
|
|
164
|
+
],
|
|
165
|
+
"attributes": {
|
|
166
|
+
"description": "Onboarding sayfas\u0131. (#2)",
|
|
167
|
+
"title": "OnboardItem 2"
|
|
168
|
+
}
|
|
151
169
|
},
|
|
152
170
|
{
|
|
153
171
|
"type": "OnboardItem",
|
|
@@ -160,7 +178,9 @@
|
|
|
160
178
|
"color": "#FDFDFD",
|
|
161
179
|
"textAlign": "center",
|
|
162
180
|
"marginTop": 40
|
|
163
|
-
}
|
|
181
|
+
},
|
|
182
|
+
"description": "Sayfa ba\u015fl\u0131\u011f\u0131. (#3)",
|
|
183
|
+
"title": "OnboardTitle 3"
|
|
164
184
|
},
|
|
165
185
|
"children": "onboard.title.three-page"
|
|
166
186
|
},
|
|
@@ -181,11 +201,17 @@
|
|
|
181
201
|
"color": "#C7C7C7",
|
|
182
202
|
"fontSize": 16,
|
|
183
203
|
"textAlign": "center"
|
|
184
|
-
}
|
|
204
|
+
},
|
|
205
|
+
"description": "Sayfa alt ba\u015fl\u0131\u011f\u0131. (#3)",
|
|
206
|
+
"title": "OnboardSubtitle 3"
|
|
185
207
|
},
|
|
186
208
|
"children": "onboard.subtitle.three-page"
|
|
187
209
|
}
|
|
188
|
-
]
|
|
210
|
+
],
|
|
211
|
+
"attributes": {
|
|
212
|
+
"description": "Onboarding sayfas\u0131. (#3)",
|
|
213
|
+
"title": "OnboardItem 3"
|
|
214
|
+
}
|
|
189
215
|
},
|
|
190
216
|
{
|
|
191
217
|
"type": "OnboardItem",
|
|
@@ -198,7 +224,9 @@
|
|
|
198
224
|
"color": "#FDFDFD",
|
|
199
225
|
"textAlign": "center",
|
|
200
226
|
"marginTop": 40
|
|
201
|
-
}
|
|
227
|
+
},
|
|
228
|
+
"description": "Sayfa ba\u015fl\u0131\u011f\u0131. (#4)",
|
|
229
|
+
"title": "OnboardTitle 4"
|
|
202
230
|
},
|
|
203
231
|
"children": "onboard.title.four-page"
|
|
204
232
|
},
|
|
@@ -219,13 +247,23 @@
|
|
|
219
247
|
"color": "#C7C7C7",
|
|
220
248
|
"fontSize": 16,
|
|
221
249
|
"textAlign": "center"
|
|
222
|
-
}
|
|
250
|
+
},
|
|
251
|
+
"description": "Sayfa alt ba\u015fl\u0131\u011f\u0131. (#4)",
|
|
252
|
+
"title": "OnboardSubtitle 4"
|
|
223
253
|
},
|
|
224
254
|
"children": "onboard.subtitle.four-page"
|
|
225
255
|
}
|
|
226
|
-
]
|
|
256
|
+
],
|
|
257
|
+
"attributes": {
|
|
258
|
+
"description": "Onboarding sayfas\u0131. (#4)",
|
|
259
|
+
"title": "OnboardItem 4"
|
|
260
|
+
}
|
|
227
261
|
}
|
|
228
|
-
]
|
|
262
|
+
],
|
|
263
|
+
"attributes": {
|
|
264
|
+
"description": "Onboarding ana yap\u0131s\u0131. (#1)",
|
|
265
|
+
"title": "Onboard 1"
|
|
266
|
+
}
|
|
229
267
|
},
|
|
230
268
|
{
|
|
231
269
|
"type": "OnboardDot",
|
|
@@ -240,7 +278,9 @@
|
|
|
240
278
|
"attributes": {
|
|
241
279
|
"buttons_direction": "row",
|
|
242
280
|
"condition": "carousel-index",
|
|
243
|
-
"conditionVariable": 0
|
|
281
|
+
"conditionVariable": 0,
|
|
282
|
+
"description": "Sayfa buton grubu. (#1)",
|
|
283
|
+
"title": "OnboardButtons 1"
|
|
244
284
|
},
|
|
245
285
|
"children": [
|
|
246
286
|
{
|
|
@@ -286,7 +326,9 @@
|
|
|
286
326
|
"attributes": {
|
|
287
327
|
"buttons_direction": "row",
|
|
288
328
|
"condition": "carousel-index",
|
|
289
|
-
"conditionVariable": 1
|
|
329
|
+
"conditionVariable": 1,
|
|
330
|
+
"description": "Sayfa buton grubu. (#2)",
|
|
331
|
+
"title": "OnboardButtons 2"
|
|
290
332
|
},
|
|
291
333
|
"children": [
|
|
292
334
|
{
|
|
@@ -340,7 +382,9 @@
|
|
|
340
382
|
"attributes": {
|
|
341
383
|
"buttons_direction": "row",
|
|
342
384
|
"condition": "carousel-index",
|
|
343
|
-
"conditionVariable": 2
|
|
385
|
+
"conditionVariable": 2,
|
|
386
|
+
"description": "Sayfa buton grubu. (#3)",
|
|
387
|
+
"title": "OnboardButtons 3"
|
|
344
388
|
},
|
|
345
389
|
"children": [
|
|
346
390
|
{
|
|
@@ -390,7 +434,9 @@
|
|
|
390
434
|
"attributes": {
|
|
391
435
|
"buttons_direction": "row",
|
|
392
436
|
"condition": "carousel-index",
|
|
393
|
-
"conditionVariable": 3
|
|
437
|
+
"conditionVariable": 3,
|
|
438
|
+
"description": "Sayfa buton grubu. (#4)",
|
|
439
|
+
"title": "OnboardButtons 4"
|
|
394
440
|
},
|
|
395
441
|
"children": [
|
|
396
442
|
{
|
|
@@ -434,7 +480,9 @@
|
|
|
434
480
|
}
|
|
435
481
|
],
|
|
436
482
|
"attributes": {
|
|
437
|
-
"theme": "dark"
|
|
483
|
+
"theme": "dark",
|
|
484
|
+
"description": "Onboarding sa\u011flay\u0131c\u0131s\u0131. (#1)",
|
|
485
|
+
"title": "OnboardProvider 1"
|
|
438
486
|
}
|
|
439
487
|
}
|
|
440
488
|
]
|