@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
|
"animation": "line-animation",
|
|
284
311
|
"animation_color": "STATIC_COLORS.WHITE",
|
|
285
312
|
"events": [
|
|
@@ -293,13 +320,14 @@
|
|
|
293
320
|
"flex": 1,
|
|
294
321
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
295
322
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
296
|
-
}
|
|
323
|
+
},
|
|
324
|
+
"testID": "onboardNext"
|
|
297
325
|
}
|
|
298
326
|
},
|
|
299
327
|
{
|
|
300
328
|
"type": "OnboardButton",
|
|
301
329
|
"attributes": {
|
|
302
|
-
"labelKey": "onboard.next.one-page",
|
|
330
|
+
"labelKey": "base.onboard.next.one-page",
|
|
303
331
|
"animation": "simple-animation",
|
|
304
332
|
"events": [
|
|
305
333
|
{
|
|
@@ -312,7 +340,8 @@
|
|
|
312
340
|
"flex": 1,
|
|
313
341
|
"color": "STATIC_COLORS.WHITE",
|
|
314
342
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
315
|
-
}
|
|
343
|
+
},
|
|
344
|
+
"testID": "onboardNext"
|
|
316
345
|
}
|
|
317
346
|
}
|
|
318
347
|
]
|
|
@@ -329,13 +358,14 @@
|
|
|
329
358
|
"height": 40,
|
|
330
359
|
"marginVertical": 12,
|
|
331
360
|
"flexShrink": 0
|
|
332
|
-
}
|
|
361
|
+
},
|
|
362
|
+
"testID": "OnboardButtons-test-id"
|
|
333
363
|
},
|
|
334
364
|
"children": [
|
|
335
365
|
{
|
|
336
366
|
"type": "OnboardButton",
|
|
337
367
|
"attributes": {
|
|
338
|
-
"labelKey": "onboard.skip.two-page",
|
|
368
|
+
"labelKey": "base.onboard.skip.two-page",
|
|
339
369
|
"events": [
|
|
340
370
|
{
|
|
341
371
|
"type": "Permission",
|
|
@@ -351,13 +381,14 @@
|
|
|
351
381
|
"flex": 1,
|
|
352
382
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
353
383
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
354
|
-
}
|
|
384
|
+
},
|
|
385
|
+
"testID": "onboardNext"
|
|
355
386
|
}
|
|
356
387
|
},
|
|
357
388
|
{
|
|
358
389
|
"type": "OnboardButton",
|
|
359
390
|
"attributes": {
|
|
360
|
-
"labelKey": "onboard.next.two-page",
|
|
391
|
+
"labelKey": "base.onboard.next.two-page",
|
|
361
392
|
"events": [
|
|
362
393
|
{
|
|
363
394
|
"type": "Permission",
|
|
@@ -373,7 +404,8 @@
|
|
|
373
404
|
"flex": 1,
|
|
374
405
|
"color": "STATIC_COLORS.WHITE",
|
|
375
406
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
376
|
-
}
|
|
407
|
+
},
|
|
408
|
+
"testID": "onboardNext"
|
|
377
409
|
}
|
|
378
410
|
}
|
|
379
411
|
]
|
|
@@ -390,13 +422,14 @@
|
|
|
390
422
|
"height": 40,
|
|
391
423
|
"marginVertical": 12,
|
|
392
424
|
"flexShrink": 0
|
|
393
|
-
}
|
|
425
|
+
},
|
|
426
|
+
"testID": "OnboardButtons-test-id"
|
|
394
427
|
},
|
|
395
428
|
"children": [
|
|
396
429
|
{
|
|
397
430
|
"type": "OnboardButton",
|
|
398
431
|
"attributes": {
|
|
399
|
-
"labelKey": "onboard.skip.three-page",
|
|
432
|
+
"labelKey": "base.onboard.skip.three-page",
|
|
400
433
|
"events": [
|
|
401
434
|
{
|
|
402
435
|
"type": "Navigate",
|
|
@@ -408,13 +441,14 @@
|
|
|
408
441
|
"flex": 1,
|
|
409
442
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
410
443
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
411
|
-
}
|
|
444
|
+
},
|
|
445
|
+
"testID": "onboardNext"
|
|
412
446
|
}
|
|
413
447
|
},
|
|
414
448
|
{
|
|
415
449
|
"type": "OnboardButton",
|
|
416
450
|
"attributes": {
|
|
417
|
-
"labelKey": "onboard.next.three-page",
|
|
451
|
+
"labelKey": "base.onboard.next.three-page",
|
|
418
452
|
"events": [
|
|
419
453
|
{
|
|
420
454
|
"type": "Permission",
|
|
@@ -430,7 +464,8 @@
|
|
|
430
464
|
"flex": 1,
|
|
431
465
|
"color": "STATIC_COLORS.WHITE",
|
|
432
466
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
433
|
-
}
|
|
467
|
+
},
|
|
468
|
+
"testID": "onboardNext"
|
|
434
469
|
}
|
|
435
470
|
}
|
|
436
471
|
]
|
|
@@ -447,13 +482,14 @@
|
|
|
447
482
|
"height": 40,
|
|
448
483
|
"marginVertical": 12,
|
|
449
484
|
"flexShrink": 0
|
|
450
|
-
}
|
|
485
|
+
},
|
|
486
|
+
"testID": "OnboardButtons-test-id"
|
|
451
487
|
},
|
|
452
488
|
"children": [
|
|
453
489
|
{
|
|
454
490
|
"type": "OnboardButton",
|
|
455
491
|
"attributes": {
|
|
456
|
-
"labelKey": "onboard.allow.four-page",
|
|
492
|
+
"labelKey": "base.onboard.allow.four-page",
|
|
457
493
|
"events": [
|
|
458
494
|
{
|
|
459
495
|
"type": "Permission",
|
|
@@ -468,7 +504,8 @@
|
|
|
468
504
|
"flex": 1,
|
|
469
505
|
"color": "STATIC_COLORS.WHITE",
|
|
470
506
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
471
|
-
}
|
|
507
|
+
},
|
|
508
|
+
"testID": "onboardNext"
|
|
472
509
|
}
|
|
473
510
|
}
|
|
474
511
|
]
|
|
@@ -481,7 +518,8 @@
|
|
|
481
518
|
"styles": {
|
|
482
519
|
"marginHorizontal": 25,
|
|
483
520
|
"flexShrink": 0
|
|
484
|
-
}
|
|
521
|
+
},
|
|
522
|
+
"testID": "View-test-id"
|
|
485
523
|
},
|
|
486
524
|
"children": [
|
|
487
525
|
{
|
|
@@ -497,7 +535,8 @@
|
|
|
497
535
|
"styles": {
|
|
498
536
|
"gap": 8,
|
|
499
537
|
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT"
|
|
500
|
-
}
|
|
538
|
+
},
|
|
539
|
+
"testID": "OnboardFooter-test-id"
|
|
501
540
|
}
|
|
502
541
|
}
|
|
503
542
|
]
|
|
@@ -506,9 +545,13 @@
|
|
|
506
545
|
"attributes": {
|
|
507
546
|
"theme": "light",
|
|
508
547
|
"description": "Onboarding sağlayıcısı. (#1)",
|
|
509
|
-
"title": "OnboardProvider 1"
|
|
548
|
+
"title": "OnboardProvider 1",
|
|
549
|
+
"testID": "OnboardProvider-test-id"
|
|
510
550
|
}
|
|
511
551
|
}
|
|
512
552
|
]
|
|
553
|
+
},
|
|
554
|
+
"attributes": {
|
|
555
|
+
"testID": "onboard-test-id"
|
|
513
556
|
}
|
|
514
557
|
}
|