@developer_tribe/react-builder 1.2.37 → 1.2.39
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 +1 -0
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +1 -0
- package/dist/build-components/Button/ButtonProps.generated.d.ts +1 -0
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +1 -0
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +1 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +1 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +1 -0
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +1 -0
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +1 -0
- package/dist/build-components/Image/ImageProps.generated.d.ts +3 -0
- package/dist/build-components/Main/MainProps.generated.d.ts +1 -0
- package/dist/build-components/NavigationBarColor/NavigationBarColorProps.generated.d.ts +1 -0
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +3 -0
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -0
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -0
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +1 -0
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -0
- package/dist/build-components/PaywallOptions/PaywallOptionsProps.generated.d.ts +1 -0
- package/dist/build-components/PaywallProvider/PaywallProviderProps.generated.d.ts +1 -0
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +1 -0
- package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +1 -0
- package/dist/build-components/Pricing/PricingProps.generated.d.ts +1 -0
- package/dist/build-components/Promo/PromoProps.generated.d.ts +1 -0
- package/dist/build-components/RadioButton/RadioButtonProps.generated.d.ts +1 -0
- package/dist/build-components/Separator/SeparatorProps.generated.d.ts +1 -0
- package/dist/build-components/StatusBarColor/StatusBarColorProps.generated.d.ts +1 -39
- package/dist/build-components/Text/TextProps.generated.d.ts +1 -0
- package/dist/build-components/View/ViewProps.generated.d.ts +1 -0
- package/dist/build-components/patterns.generated.d.ts +1455 -1007
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- 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 +4 -4
- package/dist/index.web.esm.js.map +1 -1
- package/dist/mockOS/context/MockOSContextBase.d.ts +1 -0
- package/dist/mockOS/managers/mockPermissionManager.d.ts +1 -1
- package/dist/types/PreviewConfig.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +18 -0
- package/src/assets/meta.json +1 -1
- package/src/assets/prompt-scheme-onboard.generated.ts +1 -1
- package/src/assets/prompt-scheme-paywall.generated.ts +1 -1
- package/src/assets/samples/carousel-sample.json +49 -23
- package/src/assets/samples/paywall-1.json +61 -29
- package/src/assets/samples/paywall-2.json +53 -25
- package/src/assets/samples/paywall-app-delete-offer.json +55 -26
- package/src/assets/samples/paywall-app-open-offer.json +55 -26
- package/src/assets/samples/paywall-back-offer.json +55 -26
- package/src/assets/samples/paywall-notification-offer.json +55 -26
- package/src/assets/samples/simple-1.json +9 -3
- package/src/assets/samples/simple-2.json +51 -24
- package/src/assets/samples/unmigrated-builder-1.1.1.json +15 -6
- package/src/assets/samples/unmigrated-builder1.json +9 -3
- package/src/assets/samples/unvalidated-builder1.json +9 -3
- package/src/assets/samples/unvalidated-crash1.json +5 -1
- package/src/assets/samples/unvalidated-crashcomponent1.json +5 -1
- package/src/assets/samples/vpn-onboard-1.json +94 -51
- package/src/assets/samples/vpn-onboard-2.json +94 -51
- package/src/assets/samples/vpn-onboard-3.json +85 -48
- package/src/assets/samples/vpn-onboard-4.json +85 -48
- package/src/assets/samples/vpn-onboard-5.json +132 -73
- package/src/assets/samples/vpn-onboard-6.json +94 -51
- package/src/assets/samples/vpn-onboard-7.json +92 -50
- package/src/build-components/BIcon/BIconProps.generated.ts +1 -0
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +1 -0
- package/src/build-components/Button/ButtonProps.generated.ts +1 -0
- package/src/build-components/Carousel/CarouselProps.generated.ts +1 -0
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +1 -0
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +1 -0
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +1 -0
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +1 -0
- package/src/build-components/CountDown/CountDownProps.generated.ts +1 -0
- package/src/build-components/Image/ImageProps.generated.ts +7 -0
- package/src/build-components/Image/pattern.json +9 -0
- package/src/build-components/Main/MainProps.generated.ts +1 -0
- package/src/build-components/NavigationBarColor/NavigationBarColorProps.generated.ts +1 -0
- package/src/build-components/Onboard/OnboardProps.generated.ts +1 -0
- package/src/build-components/OnboardButton/OnboardButton.tsx +6 -6
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +2 -0
- package/src/build-components/OnboardButton/pattern.json +2 -1
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +1 -0
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +1 -0
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +3 -3
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -0
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +7 -0
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +1 -0
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +1 -0
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -0
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -0
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +1 -0
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -0
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +1 -0
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +1 -0
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +1 -0
- package/src/build-components/PriceTag/PriceTagProps.generated.ts +1 -0
- package/src/build-components/Pricing/PricingProps.generated.ts +1 -0
- package/src/build-components/Promo/PromoProps.generated.ts +1 -0
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +1 -0
- package/src/build-components/Separator/SeparatorProps.generated.ts +1 -0
- package/src/build-components/Separator/pattern.json +2 -1
- package/src/build-components/StatusBarColor/StatusBarColorProps.generated.ts +1 -51
- package/src/build-components/StatusBarColor/pattern.json +2 -2
- package/src/build-components/Text/TextProps.generated.ts +1 -0
- package/src/build-components/Text/pattern.json +1 -1
- package/src/build-components/View/ViewProps.generated.ts +1 -0
- package/src/build-components/View/pattern.json +2 -1
- package/src/build-components/patterns.generated.ts +1567 -1139
- package/src/mockOS/context/MockOSContext.tsx +32 -0
- package/src/mockOS/context/MockOSContextBase.ts +3 -0
- package/src/mockOS/managers/mockPermissionManager.ts +9 -3
- package/src/modals/InspectModal.tsx +37 -8
- package/src/product-base/buildPaywallLocalizationParams.ts +12 -3
- package/src/types/PreviewConfig.ts +70 -46
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"title": "Main 1",
|
|
13
13
|
"styles": {
|
|
14
14
|
"paddingBottom": 16
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"testID": "Main-test-id"
|
|
16
17
|
},
|
|
17
18
|
"children": [
|
|
18
19
|
{
|
|
@@ -22,7 +23,8 @@
|
|
|
22
23
|
"description": "Status bar background color.",
|
|
23
24
|
"styles": {
|
|
24
25
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
25
|
-
}
|
|
26
|
+
},
|
|
27
|
+
"testID": "StatusBarColor-test-id"
|
|
26
28
|
},
|
|
27
29
|
"children": null
|
|
28
30
|
},
|
|
@@ -33,7 +35,8 @@
|
|
|
33
35
|
"description": "Navigation bar background color.",
|
|
34
36
|
"styles": {
|
|
35
37
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
36
|
-
}
|
|
38
|
+
},
|
|
39
|
+
"testID": "NavigationBarColor-test-id"
|
|
37
40
|
},
|
|
38
41
|
"children": null
|
|
39
42
|
},
|
|
@@ -55,7 +58,9 @@
|
|
|
55
58
|
"lottie": "https://vpn111-stage.s3.eu-central-1.amazonaws.com/onboard/lottie/0be045f9fe44c790a4525a1a6bc4b837.json",
|
|
56
59
|
"styles": {
|
|
57
60
|
"height": 400
|
|
58
|
-
}
|
|
61
|
+
},
|
|
62
|
+
"testID": "OnboardImage-test-id",
|
|
63
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
59
64
|
}
|
|
60
65
|
},
|
|
61
66
|
{
|
|
@@ -65,9 +70,10 @@
|
|
|
65
70
|
"title": "OnboardTitle 1",
|
|
66
71
|
"styles": {
|
|
67
72
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
68
|
-
}
|
|
73
|
+
},
|
|
74
|
+
"testID": "OnboardTitle-test-id"
|
|
69
75
|
},
|
|
70
|
-
"children": "onboard.title.one-page"
|
|
76
|
+
"children": "base.onboard.title.one-page"
|
|
71
77
|
},
|
|
72
78
|
{
|
|
73
79
|
"type": "OnboardSubtitle",
|
|
@@ -76,14 +82,16 @@
|
|
|
76
82
|
"title": "OnboardSubtitle 1",
|
|
77
83
|
"styles": {
|
|
78
84
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
79
|
-
}
|
|
85
|
+
},
|
|
86
|
+
"testID": "OnboardSubtitle-test-id"
|
|
80
87
|
},
|
|
81
|
-
"children": "onboard.subtitle.one-page"
|
|
88
|
+
"children": "base.onboard.subtitle.one-page"
|
|
82
89
|
}
|
|
83
90
|
],
|
|
84
91
|
"attributes": {
|
|
85
92
|
"description": "Onboarding sayfası. (#1)",
|
|
86
|
-
"title": "OnboardItem 1"
|
|
93
|
+
"title": "OnboardItem 1",
|
|
94
|
+
"testID": "OnboardItem-test-id"
|
|
87
95
|
}
|
|
88
96
|
},
|
|
89
97
|
{
|
|
@@ -98,7 +106,9 @@
|
|
|
98
106
|
"video_url": "https://vpn111-stage.s3.eu-central-1.amazonaws.com/onboard/video/440346112d02e65be3767c39b96cd7c0.mp4",
|
|
99
107
|
"styles": {
|
|
100
108
|
"height": 400
|
|
101
|
-
}
|
|
109
|
+
},
|
|
110
|
+
"testID": "OnboardImage-test-id",
|
|
111
|
+
"fetchStrategy": "normal"
|
|
102
112
|
}
|
|
103
113
|
},
|
|
104
114
|
{
|
|
@@ -108,9 +118,10 @@
|
|
|
108
118
|
"title": "OnboardTitle 2",
|
|
109
119
|
"styles": {
|
|
110
120
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
111
|
-
}
|
|
121
|
+
},
|
|
122
|
+
"testID": "OnboardTitle-test-id"
|
|
112
123
|
},
|
|
113
|
-
"children": "onboard.title.two-page"
|
|
124
|
+
"children": "base.onboard.title.two-page"
|
|
114
125
|
},
|
|
115
126
|
{
|
|
116
127
|
"type": "OnboardSubtitle",
|
|
@@ -119,14 +130,16 @@
|
|
|
119
130
|
"title": "OnboardSubtitle 2",
|
|
120
131
|
"styles": {
|
|
121
132
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
122
|
-
}
|
|
133
|
+
},
|
|
134
|
+
"testID": "OnboardSubtitle-test-id"
|
|
123
135
|
},
|
|
124
|
-
"children": "onboard.subtitle.two-page"
|
|
136
|
+
"children": "base.onboard.subtitle.two-page"
|
|
125
137
|
}
|
|
126
138
|
],
|
|
127
139
|
"attributes": {
|
|
128
140
|
"description": "Onboarding sayfası. (#2)",
|
|
129
|
-
"title": "OnboardItem 2"
|
|
141
|
+
"title": "OnboardItem 2",
|
|
142
|
+
"testID": "OnboardItem-test-id"
|
|
130
143
|
}
|
|
131
144
|
},
|
|
132
145
|
{
|
|
@@ -140,7 +153,9 @@
|
|
|
140
153
|
"resizeMode": "contain",
|
|
141
154
|
"styles": {
|
|
142
155
|
"height": 400
|
|
143
|
-
}
|
|
156
|
+
},
|
|
157
|
+
"testID": "OnboardImage-test-id",
|
|
158
|
+
"fetchStrategy": "normal"
|
|
144
159
|
}
|
|
145
160
|
},
|
|
146
161
|
{
|
|
@@ -150,9 +165,10 @@
|
|
|
150
165
|
"title": "OnboardTitle 3",
|
|
151
166
|
"styles": {
|
|
152
167
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
153
|
-
}
|
|
168
|
+
},
|
|
169
|
+
"testID": "OnboardTitle-test-id"
|
|
154
170
|
},
|
|
155
|
-
"children": "onboard.title.three-page"
|
|
171
|
+
"children": "base.onboard.title.three-page"
|
|
156
172
|
},
|
|
157
173
|
{
|
|
158
174
|
"type": "OnboardSubtitle",
|
|
@@ -161,14 +177,16 @@
|
|
|
161
177
|
"title": "OnboardSubtitle 3",
|
|
162
178
|
"styles": {
|
|
163
179
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
164
|
-
}
|
|
180
|
+
},
|
|
181
|
+
"testID": "OnboardSubtitle-test-id"
|
|
165
182
|
},
|
|
166
|
-
"children": "onboard.subtitle.three-page"
|
|
183
|
+
"children": "base.onboard.subtitle.three-page"
|
|
167
184
|
}
|
|
168
185
|
],
|
|
169
186
|
"attributes": {
|
|
170
187
|
"description": "Onboarding sayfası. (#3)",
|
|
171
|
-
"title": "OnboardItem 3"
|
|
188
|
+
"title": "OnboardItem 3",
|
|
189
|
+
"testID": "OnboardItem-test-id"
|
|
172
190
|
}
|
|
173
191
|
},
|
|
174
192
|
{
|
|
@@ -182,7 +200,9 @@
|
|
|
182
200
|
"resizeMode": "contain",
|
|
183
201
|
"styles": {
|
|
184
202
|
"height": 400
|
|
185
|
-
}
|
|
203
|
+
},
|
|
204
|
+
"testID": "OnboardImage-test-id",
|
|
205
|
+
"fetchStrategy": "normal"
|
|
186
206
|
}
|
|
187
207
|
},
|
|
188
208
|
{
|
|
@@ -192,9 +212,10 @@
|
|
|
192
212
|
"title": "OnboardTitle 4",
|
|
193
213
|
"styles": {
|
|
194
214
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
195
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"testID": "OnboardTitle-test-id"
|
|
196
217
|
},
|
|
197
|
-
"children": "onboard.title.five-page"
|
|
218
|
+
"children": "base.onboard.title.five-page"
|
|
198
219
|
},
|
|
199
220
|
{
|
|
200
221
|
"type": "OnboardSubtitle",
|
|
@@ -203,14 +224,16 @@
|
|
|
203
224
|
"title": "OnboardSubtitle 4",
|
|
204
225
|
"styles": {
|
|
205
226
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
206
|
-
}
|
|
227
|
+
},
|
|
228
|
+
"testID": "OnboardSubtitle-test-id"
|
|
207
229
|
},
|
|
208
|
-
"children": "onboard.subtitle.five-page"
|
|
230
|
+
"children": "base.onboard.subtitle.five-page"
|
|
209
231
|
}
|
|
210
232
|
],
|
|
211
233
|
"attributes": {
|
|
212
234
|
"description": "Onboarding sayfası. (#4)",
|
|
213
|
-
"title": "OnboardItem 4"
|
|
235
|
+
"title": "OnboardItem 4",
|
|
236
|
+
"testID": "OnboardItem-test-id"
|
|
214
237
|
}
|
|
215
238
|
},
|
|
216
239
|
{
|
|
@@ -224,7 +247,9 @@
|
|
|
224
247
|
"resizeMode": "contain",
|
|
225
248
|
"styles": {
|
|
226
249
|
"height": 400
|
|
227
|
-
}
|
|
250
|
+
},
|
|
251
|
+
"testID": "OnboardImage-test-id",
|
|
252
|
+
"fetchStrategy": "normal"
|
|
228
253
|
}
|
|
229
254
|
},
|
|
230
255
|
{
|
|
@@ -234,9 +259,10 @@
|
|
|
234
259
|
"title": "OnboardTitle 5",
|
|
235
260
|
"styles": {
|
|
236
261
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
237
|
-
}
|
|
262
|
+
},
|
|
263
|
+
"testID": "OnboardTitle-test-id"
|
|
238
264
|
},
|
|
239
|
-
"children": "onboard.title.six-page"
|
|
265
|
+
"children": "base.onboard.title.six-page"
|
|
240
266
|
},
|
|
241
267
|
{
|
|
242
268
|
"type": "OnboardSubtitle",
|
|
@@ -245,14 +271,16 @@
|
|
|
245
271
|
"title": "OnboardSubtitle 5",
|
|
246
272
|
"styles": {
|
|
247
273
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
248
|
-
}
|
|
274
|
+
},
|
|
275
|
+
"testID": "OnboardSubtitle-test-id"
|
|
249
276
|
},
|
|
250
|
-
"children": "onboard.subtitle.six-page"
|
|
277
|
+
"children": "base.onboard.subtitle.six-page"
|
|
251
278
|
}
|
|
252
279
|
],
|
|
253
280
|
"attributes": {
|
|
254
281
|
"description": "Onboarding sayfası. (#5)",
|
|
255
|
-
"title": "OnboardItem 5"
|
|
282
|
+
"title": "OnboardItem 5",
|
|
283
|
+
"testID": "OnboardItem-test-id"
|
|
256
284
|
}
|
|
257
285
|
},
|
|
258
286
|
{
|
|
@@ -266,7 +294,9 @@
|
|
|
266
294
|
"resizeMode": "contain",
|
|
267
295
|
"styles": {
|
|
268
296
|
"height": 400
|
|
269
|
-
}
|
|
297
|
+
},
|
|
298
|
+
"testID": "OnboardImage-test-id",
|
|
299
|
+
"fetchStrategy": "normal"
|
|
270
300
|
}
|
|
271
301
|
},
|
|
272
302
|
{
|
|
@@ -276,9 +306,10 @@
|
|
|
276
306
|
"title": "OnboardTitle 6",
|
|
277
307
|
"styles": {
|
|
278
308
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
279
|
-
}
|
|
309
|
+
},
|
|
310
|
+
"testID": "OnboardTitle-test-id"
|
|
280
311
|
},
|
|
281
|
-
"children": "onboard.title.four-page"
|
|
312
|
+
"children": "base.onboard.title.four-page"
|
|
282
313
|
},
|
|
283
314
|
{
|
|
284
315
|
"type": "OnboardSubtitle",
|
|
@@ -287,14 +318,16 @@
|
|
|
287
318
|
"title": "OnboardSubtitle 6",
|
|
288
319
|
"styles": {
|
|
289
320
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
290
|
-
}
|
|
321
|
+
},
|
|
322
|
+
"testID": "OnboardSubtitle-test-id"
|
|
291
323
|
},
|
|
292
|
-
"children": "onboard.subtitle.four-page"
|
|
324
|
+
"children": "base.onboard.subtitle.four-page"
|
|
293
325
|
}
|
|
294
326
|
],
|
|
295
327
|
"attributes": {
|
|
296
328
|
"description": "Onboarding sayfası. (#6)",
|
|
297
|
-
"title": "OnboardItem 6"
|
|
329
|
+
"title": "OnboardItem 6",
|
|
330
|
+
"testID": "OnboardItem-test-id"
|
|
298
331
|
}
|
|
299
332
|
}
|
|
300
333
|
],
|
|
@@ -303,7 +336,8 @@
|
|
|
303
336
|
"title": "Onboard 1",
|
|
304
337
|
"styles": {
|
|
305
338
|
"flex": 1
|
|
306
|
-
}
|
|
339
|
+
},
|
|
340
|
+
"testID": "Onboard-test-id"
|
|
307
341
|
}
|
|
308
342
|
},
|
|
309
343
|
{
|
|
@@ -316,7 +350,8 @@
|
|
|
316
350
|
"active_dot_color": "STATIC_COLORS.ONBOARD_DOT_ACTIVE",
|
|
317
351
|
"styles": {
|
|
318
352
|
"paddingVertical": 12
|
|
319
|
-
}
|
|
353
|
+
},
|
|
354
|
+
"testID": "OnboardDot-test-id"
|
|
320
355
|
}
|
|
321
356
|
},
|
|
322
357
|
{
|
|
@@ -328,7 +363,8 @@
|
|
|
328
363
|
"width": "100%",
|
|
329
364
|
"height": 2,
|
|
330
365
|
"backgroundColor": "STATIC_COLORS.ONBOARD_SEPARATOR_COLOR"
|
|
331
|
-
}
|
|
366
|
+
},
|
|
367
|
+
"testID": "Separator-test-id"
|
|
332
368
|
}
|
|
333
369
|
},
|
|
334
370
|
{
|
|
@@ -343,13 +379,14 @@
|
|
|
343
379
|
"height": 40,
|
|
344
380
|
"marginVertical": 12,
|
|
345
381
|
"flexShrink": 0
|
|
346
|
-
}
|
|
382
|
+
},
|
|
383
|
+
"testID": "OnboardButtons-test-id"
|
|
347
384
|
},
|
|
348
385
|
"children": [
|
|
349
386
|
{
|
|
350
387
|
"type": "OnboardButton",
|
|
351
388
|
"attributes": {
|
|
352
|
-
"labelKey": "onboard.skip.one-page",
|
|
389
|
+
"labelKey": "base.onboard.skip.one-page",
|
|
353
390
|
"events": [
|
|
354
391
|
{
|
|
355
392
|
"type": "Navigate",
|
|
@@ -361,13 +398,14 @@
|
|
|
361
398
|
"flex": 1,
|
|
362
399
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
363
400
|
"backgroundColor": "THEME_COLORS.LINE"
|
|
364
|
-
}
|
|
401
|
+
},
|
|
402
|
+
"testID": "onboardNext"
|
|
365
403
|
}
|
|
366
404
|
},
|
|
367
405
|
{
|
|
368
406
|
"type": "OnboardButton",
|
|
369
407
|
"attributes": {
|
|
370
|
-
"labelKey": "onboard.next.one-page",
|
|
408
|
+
"labelKey": "base.onboard.next.one-page",
|
|
371
409
|
"events": [
|
|
372
410
|
{
|
|
373
411
|
"type": "Navigate",
|
|
@@ -379,7 +417,8 @@
|
|
|
379
417
|
"flex": 1,
|
|
380
418
|
"color": "STATIC_COLORS.WHITE",
|
|
381
419
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
382
|
-
}
|
|
420
|
+
},
|
|
421
|
+
"testID": "onboardNext"
|
|
383
422
|
}
|
|
384
423
|
}
|
|
385
424
|
]
|
|
@@ -396,13 +435,14 @@
|
|
|
396
435
|
"height": 40,
|
|
397
436
|
"marginVertical": 12,
|
|
398
437
|
"flexShrink": 0
|
|
399
|
-
}
|
|
438
|
+
},
|
|
439
|
+
"testID": "OnboardButtons-test-id"
|
|
400
440
|
},
|
|
401
441
|
"children": [
|
|
402
442
|
{
|
|
403
443
|
"type": "OnboardButton",
|
|
404
444
|
"attributes": {
|
|
405
|
-
"labelKey": "onboard.skip.two-page",
|
|
445
|
+
"labelKey": "base.onboard.skip.two-page",
|
|
406
446
|
"events": [
|
|
407
447
|
{
|
|
408
448
|
"type": "Navigate",
|
|
@@ -414,13 +454,14 @@
|
|
|
414
454
|
"flex": 1,
|
|
415
455
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
416
456
|
"backgroundColor": "THEME_COLORS.LINE"
|
|
417
|
-
}
|
|
457
|
+
},
|
|
458
|
+
"testID": "onboardNext"
|
|
418
459
|
}
|
|
419
460
|
},
|
|
420
461
|
{
|
|
421
462
|
"type": "OnboardButton",
|
|
422
463
|
"attributes": {
|
|
423
|
-
"labelKey": "onboard.next.two-page",
|
|
464
|
+
"labelKey": "base.onboard.next.two-page",
|
|
424
465
|
"events": [
|
|
425
466
|
{
|
|
426
467
|
"type": "Navigate",
|
|
@@ -432,7 +473,8 @@
|
|
|
432
473
|
"flex": 1,
|
|
433
474
|
"color": "STATIC_COLORS.WHITE",
|
|
434
475
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
435
|
-
}
|
|
476
|
+
},
|
|
477
|
+
"testID": "onboardNext"
|
|
436
478
|
}
|
|
437
479
|
}
|
|
438
480
|
]
|
|
@@ -449,13 +491,14 @@
|
|
|
449
491
|
"height": 40,
|
|
450
492
|
"marginVertical": 12,
|
|
451
493
|
"flexShrink": 0
|
|
452
|
-
}
|
|
494
|
+
},
|
|
495
|
+
"testID": "OnboardButtons-test-id"
|
|
453
496
|
},
|
|
454
497
|
"children": [
|
|
455
498
|
{
|
|
456
499
|
"type": "OnboardButton",
|
|
457
500
|
"attributes": {
|
|
458
|
-
"labelKey": "onboard.skip.three-page",
|
|
501
|
+
"labelKey": "base.onboard.skip.three-page",
|
|
459
502
|
"events": [
|
|
460
503
|
{
|
|
461
504
|
"type": "Navigate",
|
|
@@ -467,13 +510,14 @@
|
|
|
467
510
|
"flex": 1,
|
|
468
511
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
469
512
|
"backgroundColor": "THEME_COLORS.LINE"
|
|
470
|
-
}
|
|
513
|
+
},
|
|
514
|
+
"testID": "onboardNext"
|
|
471
515
|
}
|
|
472
516
|
},
|
|
473
517
|
{
|
|
474
518
|
"type": "OnboardButton",
|
|
475
519
|
"attributes": {
|
|
476
|
-
"labelKey": "onboard.next.three-page",
|
|
520
|
+
"labelKey": "base.onboard.next.three-page",
|
|
477
521
|
"events": [
|
|
478
522
|
{
|
|
479
523
|
"type": "Navigate",
|
|
@@ -485,7 +529,8 @@
|
|
|
485
529
|
"flex": 1,
|
|
486
530
|
"color": "STATIC_COLORS.WHITE",
|
|
487
531
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
488
|
-
}
|
|
532
|
+
},
|
|
533
|
+
"testID": "onboardNext"
|
|
489
534
|
}
|
|
490
535
|
}
|
|
491
536
|
]
|
|
@@ -502,13 +547,14 @@
|
|
|
502
547
|
"height": 40,
|
|
503
548
|
"marginVertical": 12,
|
|
504
549
|
"flexShrink": 0
|
|
505
|
-
}
|
|
550
|
+
},
|
|
551
|
+
"testID": "OnboardButtons-test-id"
|
|
506
552
|
},
|
|
507
553
|
"children": [
|
|
508
554
|
{
|
|
509
555
|
"type": "OnboardButton",
|
|
510
556
|
"attributes": {
|
|
511
|
-
"labelKey": "onboard.skip.five-page",
|
|
557
|
+
"labelKey": "base.onboard.skip.five-page",
|
|
512
558
|
"events": [
|
|
513
559
|
{
|
|
514
560
|
"type": "Navigate",
|
|
@@ -520,13 +566,14 @@
|
|
|
520
566
|
"flex": 1,
|
|
521
567
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
522
568
|
"backgroundColor": "THEME_COLORS.LINE"
|
|
523
|
-
}
|
|
569
|
+
},
|
|
570
|
+
"testID": "onboardNext"
|
|
524
571
|
}
|
|
525
572
|
},
|
|
526
573
|
{
|
|
527
574
|
"type": "OnboardButton",
|
|
528
575
|
"attributes": {
|
|
529
|
-
"labelKey": "onboard.next.five-page",
|
|
576
|
+
"labelKey": "base.onboard.next.five-page",
|
|
530
577
|
"events": [
|
|
531
578
|
{
|
|
532
579
|
"type": "Permission",
|
|
@@ -542,7 +589,8 @@
|
|
|
542
589
|
"flex": 1,
|
|
543
590
|
"color": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_TEXT",
|
|
544
591
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
545
|
-
}
|
|
592
|
+
},
|
|
593
|
+
"testID": "onboardNext"
|
|
546
594
|
}
|
|
547
595
|
}
|
|
548
596
|
]
|
|
@@ -559,13 +607,14 @@
|
|
|
559
607
|
"height": 40,
|
|
560
608
|
"marginVertical": 12,
|
|
561
609
|
"flexShrink": 0
|
|
562
|
-
}
|
|
610
|
+
},
|
|
611
|
+
"testID": "OnboardButtons-test-id"
|
|
563
612
|
},
|
|
564
613
|
"children": [
|
|
565
614
|
{
|
|
566
615
|
"type": "OnboardButton",
|
|
567
616
|
"attributes": {
|
|
568
|
-
"labelKey": "onboard.skip.five-page",
|
|
617
|
+
"labelKey": "base.onboard.skip.five-page",
|
|
569
618
|
"events": [
|
|
570
619
|
{
|
|
571
620
|
"type": "Navigate",
|
|
@@ -577,13 +626,14 @@
|
|
|
577
626
|
"flex": 1,
|
|
578
627
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
579
628
|
"backgroundColor": "THEME_COLORS.LINE"
|
|
580
|
-
}
|
|
629
|
+
},
|
|
630
|
+
"testID": "onboardNext"
|
|
581
631
|
}
|
|
582
632
|
},
|
|
583
633
|
{
|
|
584
634
|
"type": "OnboardButton",
|
|
585
635
|
"attributes": {
|
|
586
|
-
"labelKey": "onboard.next.five-page",
|
|
636
|
+
"labelKey": "base.onboard.next.five-page",
|
|
587
637
|
"events": [
|
|
588
638
|
{
|
|
589
639
|
"type": "Permission",
|
|
@@ -599,7 +649,8 @@
|
|
|
599
649
|
"flex": 1,
|
|
600
650
|
"color": "STATIC_COLORS.WHITE",
|
|
601
651
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
602
|
-
}
|
|
652
|
+
},
|
|
653
|
+
"testID": "onboardNext"
|
|
603
654
|
}
|
|
604
655
|
}
|
|
605
656
|
]
|
|
@@ -616,13 +667,14 @@
|
|
|
616
667
|
"height": 40,
|
|
617
668
|
"marginVertical": 12,
|
|
618
669
|
"flexShrink": 0
|
|
619
|
-
}
|
|
670
|
+
},
|
|
671
|
+
"testID": "OnboardButtons-test-id"
|
|
620
672
|
},
|
|
621
673
|
"children": [
|
|
622
674
|
{
|
|
623
675
|
"type": "OnboardButton",
|
|
624
676
|
"attributes": {
|
|
625
|
-
"labelKey": "onboard.allow.four-page",
|
|
677
|
+
"labelKey": "base.onboard.allow.four-page",
|
|
626
678
|
"events": [
|
|
627
679
|
{
|
|
628
680
|
"type": "Permission",
|
|
@@ -637,7 +689,8 @@
|
|
|
637
689
|
"flex": 1,
|
|
638
690
|
"color": "STATIC_COLORS.WHITE",
|
|
639
691
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
640
|
-
}
|
|
692
|
+
},
|
|
693
|
+
"testID": "onboardNext"
|
|
641
694
|
}
|
|
642
695
|
}
|
|
643
696
|
]
|
|
@@ -650,7 +703,8 @@
|
|
|
650
703
|
"styles": {
|
|
651
704
|
"marginHorizontal": 25,
|
|
652
705
|
"flexShrink": 0
|
|
653
|
-
}
|
|
706
|
+
},
|
|
707
|
+
"testID": "View-test-id"
|
|
654
708
|
},
|
|
655
709
|
"children": [
|
|
656
710
|
{
|
|
@@ -666,7 +720,8 @@
|
|
|
666
720
|
"styles": {
|
|
667
721
|
"gap": 8,
|
|
668
722
|
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT"
|
|
669
|
-
}
|
|
723
|
+
},
|
|
724
|
+
"testID": "OnboardFooter-test-id"
|
|
670
725
|
}
|
|
671
726
|
}
|
|
672
727
|
]
|
|
@@ -675,9 +730,13 @@
|
|
|
675
730
|
"attributes": {
|
|
676
731
|
"theme": "all",
|
|
677
732
|
"description": "Onboarding sağlayıcısı. (#1)",
|
|
678
|
-
"title": "OnboardProvider 1"
|
|
733
|
+
"title": "OnboardProvider 1",
|
|
734
|
+
"testID": "OnboardProvider-test-id"
|
|
679
735
|
}
|
|
680
736
|
}
|
|
681
737
|
]
|
|
738
|
+
},
|
|
739
|
+
"attributes": {
|
|
740
|
+
"testID": "onboard-test-id"
|
|
682
741
|
}
|
|
683
742
|
}
|