@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
|
},
|
|
@@ -56,9 +59,10 @@
|
|
|
56
59
|
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
57
60
|
"textAlign": "center",
|
|
58
61
|
"marginTop": 40
|
|
59
|
-
}
|
|
62
|
+
},
|
|
63
|
+
"testID": "OnboardTitle-test-id"
|
|
60
64
|
},
|
|
61
|
-
"children": "onboard.title.one-page"
|
|
65
|
+
"children": "base.onboard.title.one-page"
|
|
62
66
|
},
|
|
63
67
|
{
|
|
64
68
|
"type": "OnboardImage",
|
|
@@ -67,7 +71,9 @@
|
|
|
67
71
|
"resizeMode": "contain",
|
|
68
72
|
"styles": {
|
|
69
73
|
"height": 350
|
|
70
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"testID": "OnboardImage-test-id",
|
|
76
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
71
77
|
}
|
|
72
78
|
},
|
|
73
79
|
{
|
|
@@ -79,14 +85,16 @@
|
|
|
79
85
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
80
86
|
"fontSize": 16,
|
|
81
87
|
"textAlign": "center"
|
|
82
|
-
}
|
|
88
|
+
},
|
|
89
|
+
"testID": "OnboardSubtitle-test-id"
|
|
83
90
|
},
|
|
84
|
-
"children": "onboard.subtitle.one-page"
|
|
91
|
+
"children": "base.onboard.subtitle.one-page"
|
|
85
92
|
}
|
|
86
93
|
],
|
|
87
94
|
"attributes": {
|
|
88
95
|
"description": "Onboarding sayfası. (#1)",
|
|
89
|
-
"title": "OnboardItem 1"
|
|
96
|
+
"title": "OnboardItem 1",
|
|
97
|
+
"testID": "OnboardItem-test-id"
|
|
90
98
|
}
|
|
91
99
|
},
|
|
92
100
|
{
|
|
@@ -102,9 +110,10 @@
|
|
|
102
110
|
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
103
111
|
"textAlign": "center",
|
|
104
112
|
"marginTop": 40
|
|
105
|
-
}
|
|
113
|
+
},
|
|
114
|
+
"testID": "OnboardTitle-test-id"
|
|
106
115
|
},
|
|
107
|
-
"children": "onboard.title.two-page"
|
|
116
|
+
"children": "base.onboard.title.two-page"
|
|
108
117
|
},
|
|
109
118
|
{
|
|
110
119
|
"type": "OnboardImage",
|
|
@@ -113,7 +122,9 @@
|
|
|
113
122
|
"resizeMode": "contain",
|
|
114
123
|
"styles": {
|
|
115
124
|
"height": 350
|
|
116
|
-
}
|
|
125
|
+
},
|
|
126
|
+
"testID": "OnboardImage-test-id",
|
|
127
|
+
"fetchStrategy": "normal"
|
|
117
128
|
}
|
|
118
129
|
},
|
|
119
130
|
{
|
|
@@ -125,14 +136,16 @@
|
|
|
125
136
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
126
137
|
"fontSize": 16,
|
|
127
138
|
"textAlign": "center"
|
|
128
|
-
}
|
|
139
|
+
},
|
|
140
|
+
"testID": "OnboardSubtitle-test-id"
|
|
129
141
|
},
|
|
130
|
-
"children": "onboard.subtitle.two-page"
|
|
142
|
+
"children": "base.onboard.subtitle.two-page"
|
|
131
143
|
}
|
|
132
144
|
],
|
|
133
145
|
"attributes": {
|
|
134
146
|
"description": "Onboarding sayfası. (#2)",
|
|
135
|
-
"title": "OnboardItem 2"
|
|
147
|
+
"title": "OnboardItem 2",
|
|
148
|
+
"testID": "OnboardItem-test-id"
|
|
136
149
|
}
|
|
137
150
|
},
|
|
138
151
|
{
|
|
@@ -148,9 +161,10 @@
|
|
|
148
161
|
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
149
162
|
"textAlign": "center",
|
|
150
163
|
"marginTop": 40
|
|
151
|
-
}
|
|
164
|
+
},
|
|
165
|
+
"testID": "OnboardTitle-test-id"
|
|
152
166
|
},
|
|
153
|
-
"children": "onboard.title.three-page"
|
|
167
|
+
"children": "base.onboard.title.three-page"
|
|
154
168
|
},
|
|
155
169
|
{
|
|
156
170
|
"type": "OnboardImage",
|
|
@@ -159,7 +173,9 @@
|
|
|
159
173
|
"resizeMode": "contain",
|
|
160
174
|
"styles": {
|
|
161
175
|
"height": 350
|
|
162
|
-
}
|
|
176
|
+
},
|
|
177
|
+
"testID": "OnboardImage-test-id",
|
|
178
|
+
"fetchStrategy": "normal"
|
|
163
179
|
}
|
|
164
180
|
},
|
|
165
181
|
{
|
|
@@ -171,14 +187,16 @@
|
|
|
171
187
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
172
188
|
"fontSize": 16,
|
|
173
189
|
"textAlign": "center"
|
|
174
|
-
}
|
|
190
|
+
},
|
|
191
|
+
"testID": "OnboardSubtitle-test-id"
|
|
175
192
|
},
|
|
176
|
-
"children": "onboard.subtitle.three-page"
|
|
193
|
+
"children": "base.onboard.subtitle.three-page"
|
|
177
194
|
}
|
|
178
195
|
],
|
|
179
196
|
"attributes": {
|
|
180
197
|
"description": "Onboarding sayfası. (#3)",
|
|
181
|
-
"title": "OnboardItem 3"
|
|
198
|
+
"title": "OnboardItem 3",
|
|
199
|
+
"testID": "OnboardItem-test-id"
|
|
182
200
|
}
|
|
183
201
|
},
|
|
184
202
|
{
|
|
@@ -194,9 +212,10 @@
|
|
|
194
212
|
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
195
213
|
"textAlign": "center",
|
|
196
214
|
"marginTop": 40
|
|
197
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"testID": "OnboardTitle-test-id"
|
|
198
217
|
},
|
|
199
|
-
"children": "onboard.title.four-page"
|
|
218
|
+
"children": "base.onboard.title.four-page"
|
|
200
219
|
},
|
|
201
220
|
{
|
|
202
221
|
"type": "OnboardImage",
|
|
@@ -205,7 +224,9 @@
|
|
|
205
224
|
"resizeMode": "contain",
|
|
206
225
|
"styles": {
|
|
207
226
|
"height": 350
|
|
208
|
-
}
|
|
227
|
+
},
|
|
228
|
+
"testID": "OnboardImage-test-id",
|
|
229
|
+
"fetchStrategy": "normal"
|
|
209
230
|
}
|
|
210
231
|
},
|
|
211
232
|
{
|
|
@@ -217,14 +238,16 @@
|
|
|
217
238
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
218
239
|
"fontSize": 16,
|
|
219
240
|
"textAlign": "center"
|
|
220
|
-
}
|
|
241
|
+
},
|
|
242
|
+
"testID": "OnboardSubtitle-test-id"
|
|
221
243
|
},
|
|
222
|
-
"children": "onboard.subtitle.four-page"
|
|
244
|
+
"children": "base.onboard.subtitle.four-page"
|
|
223
245
|
}
|
|
224
246
|
],
|
|
225
247
|
"attributes": {
|
|
226
248
|
"description": "Onboarding sayfası. (#4)",
|
|
227
|
-
"title": "OnboardItem 4"
|
|
249
|
+
"title": "OnboardItem 4",
|
|
250
|
+
"testID": "OnboardItem-test-id"
|
|
228
251
|
}
|
|
229
252
|
}
|
|
230
253
|
],
|
|
@@ -233,7 +256,8 @@
|
|
|
233
256
|
"title": "Onboard 1",
|
|
234
257
|
"styles": {
|
|
235
258
|
"flex": 1
|
|
236
|
-
}
|
|
259
|
+
},
|
|
260
|
+
"testID": "Onboard-test-id"
|
|
237
261
|
}
|
|
238
262
|
},
|
|
239
263
|
{
|
|
@@ -246,7 +270,8 @@
|
|
|
246
270
|
"active_dot_color": "STATIC_COLORS.ONBOARD_DOT_ACTIVE",
|
|
247
271
|
"styles": {
|
|
248
272
|
"paddingVertical": 12
|
|
249
|
-
}
|
|
273
|
+
},
|
|
274
|
+
"testID": "OnboardDot-test-id"
|
|
250
275
|
}
|
|
251
276
|
},
|
|
252
277
|
{
|
|
@@ -258,7 +283,8 @@
|
|
|
258
283
|
"width": "100%",
|
|
259
284
|
"height": 2,
|
|
260
285
|
"backgroundColor": "STATIC_COLORS.ONBOARD_SEPARATOR_COLOR"
|
|
261
|
-
}
|
|
286
|
+
},
|
|
287
|
+
"testID": "Separator-test-id"
|
|
262
288
|
}
|
|
263
289
|
},
|
|
264
290
|
{
|
|
@@ -273,13 +299,14 @@
|
|
|
273
299
|
"height": 40,
|
|
274
300
|
"marginVertical": 12,
|
|
275
301
|
"flexShrink": 0
|
|
276
|
-
}
|
|
302
|
+
},
|
|
303
|
+
"testID": "OnboardButtons-test-id"
|
|
277
304
|
},
|
|
278
305
|
"children": [
|
|
279
306
|
{
|
|
280
307
|
"type": "OnboardButton",
|
|
281
308
|
"attributes": {
|
|
282
|
-
"labelKey": "onboard.skip.one-page",
|
|
309
|
+
"labelKey": "base.onboard.skip.one-page",
|
|
283
310
|
"events": [
|
|
284
311
|
{
|
|
285
312
|
"type": "Navigate",
|
|
@@ -291,13 +318,14 @@
|
|
|
291
318
|
"flex": 1,
|
|
292
319
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
293
320
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
294
|
-
}
|
|
321
|
+
},
|
|
322
|
+
"testID": "onboardNext"
|
|
295
323
|
}
|
|
296
324
|
},
|
|
297
325
|
{
|
|
298
326
|
"type": "OnboardButton",
|
|
299
327
|
"attributes": {
|
|
300
|
-
"labelKey": "onboard.next.one-page",
|
|
328
|
+
"labelKey": "base.onboard.next.one-page",
|
|
301
329
|
"events": [
|
|
302
330
|
{
|
|
303
331
|
"type": "Navigate",
|
|
@@ -309,7 +337,8 @@
|
|
|
309
337
|
"flex": 1,
|
|
310
338
|
"color": "STATIC_COLORS.WHITE",
|
|
311
339
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
312
|
-
}
|
|
340
|
+
},
|
|
341
|
+
"testID": "onboardNext"
|
|
313
342
|
}
|
|
314
343
|
}
|
|
315
344
|
]
|
|
@@ -326,13 +355,14 @@
|
|
|
326
355
|
"height": 40,
|
|
327
356
|
"marginVertical": 12,
|
|
328
357
|
"flexShrink": 0
|
|
329
|
-
}
|
|
358
|
+
},
|
|
359
|
+
"testID": "OnboardButtons-test-id"
|
|
330
360
|
},
|
|
331
361
|
"children": [
|
|
332
362
|
{
|
|
333
363
|
"type": "OnboardButton",
|
|
334
364
|
"attributes": {
|
|
335
|
-
"labelKey": "onboard.skip.two-page",
|
|
365
|
+
"labelKey": "base.onboard.skip.two-page",
|
|
336
366
|
"events": [
|
|
337
367
|
{
|
|
338
368
|
"type": "Permission",
|
|
@@ -348,13 +378,14 @@
|
|
|
348
378
|
"flex": 1,
|
|
349
379
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
350
380
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
351
|
-
}
|
|
381
|
+
},
|
|
382
|
+
"testID": "onboardNext"
|
|
352
383
|
}
|
|
353
384
|
},
|
|
354
385
|
{
|
|
355
386
|
"type": "OnboardButton",
|
|
356
387
|
"attributes": {
|
|
357
|
-
"labelKey": "onboard.next.two-page",
|
|
388
|
+
"labelKey": "base.onboard.next.two-page",
|
|
358
389
|
"events": [
|
|
359
390
|
{
|
|
360
391
|
"type": "Permission",
|
|
@@ -370,7 +401,8 @@
|
|
|
370
401
|
"flex": 1,
|
|
371
402
|
"color": "STATIC_COLORS.WHITE",
|
|
372
403
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
373
|
-
}
|
|
404
|
+
},
|
|
405
|
+
"testID": "onboardNext"
|
|
374
406
|
}
|
|
375
407
|
}
|
|
376
408
|
]
|
|
@@ -387,13 +419,14 @@
|
|
|
387
419
|
"height": 40,
|
|
388
420
|
"marginVertical": 12,
|
|
389
421
|
"flexShrink": 0
|
|
390
|
-
}
|
|
422
|
+
},
|
|
423
|
+
"testID": "OnboardButtons-test-id"
|
|
391
424
|
},
|
|
392
425
|
"children": [
|
|
393
426
|
{
|
|
394
427
|
"type": "OnboardButton",
|
|
395
428
|
"attributes": {
|
|
396
|
-
"labelKey": "onboard.skip.three-page",
|
|
429
|
+
"labelKey": "base.onboard.skip.three-page",
|
|
397
430
|
"events": [
|
|
398
431
|
{
|
|
399
432
|
"type": "Navigate",
|
|
@@ -405,13 +438,14 @@
|
|
|
405
438
|
"flex": 1,
|
|
406
439
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
407
440
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
408
|
-
}
|
|
441
|
+
},
|
|
442
|
+
"testID": "onboardNext"
|
|
409
443
|
}
|
|
410
444
|
},
|
|
411
445
|
{
|
|
412
446
|
"type": "OnboardButton",
|
|
413
447
|
"attributes": {
|
|
414
|
-
"labelKey": "onboard.next.three-page",
|
|
448
|
+
"labelKey": "base.onboard.next.three-page",
|
|
415
449
|
"events": [
|
|
416
450
|
{
|
|
417
451
|
"type": "Permission",
|
|
@@ -427,7 +461,8 @@
|
|
|
427
461
|
"flex": 1,
|
|
428
462
|
"color": "STATIC_COLORS.WHITE",
|
|
429
463
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
430
|
-
}
|
|
464
|
+
},
|
|
465
|
+
"testID": "onboardNext"
|
|
431
466
|
}
|
|
432
467
|
}
|
|
433
468
|
]
|
|
@@ -444,13 +479,14 @@
|
|
|
444
479
|
"height": 40,
|
|
445
480
|
"marginVertical": 12,
|
|
446
481
|
"flexShrink": 0
|
|
447
|
-
}
|
|
482
|
+
},
|
|
483
|
+
"testID": "OnboardButtons-test-id"
|
|
448
484
|
},
|
|
449
485
|
"children": [
|
|
450
486
|
{
|
|
451
487
|
"type": "OnboardButton",
|
|
452
488
|
"attributes": {
|
|
453
|
-
"labelKey": "onboard.allow.four-page",
|
|
489
|
+
"labelKey": "base.onboard.allow.four-page",
|
|
454
490
|
"events": [
|
|
455
491
|
{
|
|
456
492
|
"type": "Permission",
|
|
@@ -465,7 +501,8 @@
|
|
|
465
501
|
"flex": 1,
|
|
466
502
|
"color": "STATIC_COLORS.WHITE",
|
|
467
503
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
468
|
-
}
|
|
504
|
+
},
|
|
505
|
+
"testID": "onboardNext"
|
|
469
506
|
}
|
|
470
507
|
}
|
|
471
508
|
]
|
|
@@ -478,7 +515,8 @@
|
|
|
478
515
|
"styles": {
|
|
479
516
|
"marginHorizontal": 25,
|
|
480
517
|
"flexShrink": 0
|
|
481
|
-
}
|
|
518
|
+
},
|
|
519
|
+
"testID": "View-test-id"
|
|
482
520
|
},
|
|
483
521
|
"children": [
|
|
484
522
|
{
|
|
@@ -494,7 +532,8 @@
|
|
|
494
532
|
"styles": {
|
|
495
533
|
"gap": 8,
|
|
496
534
|
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT"
|
|
497
|
-
}
|
|
535
|
+
},
|
|
536
|
+
"testID": "OnboardFooter-test-id"
|
|
498
537
|
}
|
|
499
538
|
}
|
|
500
539
|
]
|
|
@@ -503,9 +542,13 @@
|
|
|
503
542
|
"attributes": {
|
|
504
543
|
"theme": "dark",
|
|
505
544
|
"description": "Onboarding sağlayıcısı. (#1)",
|
|
506
|
-
"title": "OnboardProvider 1"
|
|
545
|
+
"title": "OnboardProvider 1",
|
|
546
|
+
"testID": "OnboardProvider-test-id"
|
|
507
547
|
}
|
|
508
548
|
}
|
|
509
549
|
]
|
|
550
|
+
},
|
|
551
|
+
"attributes": {
|
|
552
|
+
"testID": "onboard-test-id"
|
|
510
553
|
}
|
|
511
554
|
}
|