@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
|
},
|
|
@@ -54,7 +57,9 @@
|
|
|
54
57
|
"resizeMode": "contain",
|
|
55
58
|
"styles": {
|
|
56
59
|
"height": 400
|
|
57
|
-
}
|
|
60
|
+
},
|
|
61
|
+
"testID": "OnboardImage-test-id",
|
|
62
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
58
63
|
}
|
|
59
64
|
},
|
|
60
65
|
{
|
|
@@ -64,9 +69,10 @@
|
|
|
64
69
|
"title": "OnboardTitle 1",
|
|
65
70
|
"styles": {
|
|
66
71
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
67
|
-
}
|
|
72
|
+
},
|
|
73
|
+
"testID": "OnboardTitle-test-id"
|
|
68
74
|
},
|
|
69
|
-
"children": "onboard.title.one-page"
|
|
75
|
+
"children": "base.onboard.title.one-page"
|
|
70
76
|
},
|
|
71
77
|
{
|
|
72
78
|
"type": "OnboardSubtitle",
|
|
@@ -75,14 +81,16 @@
|
|
|
75
81
|
"title": "OnboardSubtitle 1",
|
|
76
82
|
"styles": {
|
|
77
83
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
78
|
-
}
|
|
84
|
+
},
|
|
85
|
+
"testID": "OnboardSubtitle-test-id"
|
|
79
86
|
},
|
|
80
|
-
"children": "onboard.subtitle.one-page"
|
|
87
|
+
"children": "base.onboard.subtitle.one-page"
|
|
81
88
|
}
|
|
82
89
|
],
|
|
83
90
|
"attributes": {
|
|
84
91
|
"description": "Onboarding sayfası. (#1)",
|
|
85
|
-
"title": "OnboardItem 1"
|
|
92
|
+
"title": "OnboardItem 1",
|
|
93
|
+
"testID": "OnboardItem-test-id"
|
|
86
94
|
}
|
|
87
95
|
},
|
|
88
96
|
{
|
|
@@ -96,7 +104,9 @@
|
|
|
96
104
|
"resizeMode": "contain",
|
|
97
105
|
"styles": {
|
|
98
106
|
"height": 400
|
|
99
|
-
}
|
|
107
|
+
},
|
|
108
|
+
"testID": "OnboardImage-test-id",
|
|
109
|
+
"fetchStrategy": "normal"
|
|
100
110
|
}
|
|
101
111
|
},
|
|
102
112
|
{
|
|
@@ -106,9 +116,10 @@
|
|
|
106
116
|
"title": "OnboardTitle 2",
|
|
107
117
|
"styles": {
|
|
108
118
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
109
|
-
}
|
|
119
|
+
},
|
|
120
|
+
"testID": "OnboardTitle-test-id"
|
|
110
121
|
},
|
|
111
|
-
"children": "onboard.title.two-page"
|
|
122
|
+
"children": "base.onboard.title.two-page"
|
|
112
123
|
},
|
|
113
124
|
{
|
|
114
125
|
"type": "OnboardSubtitle",
|
|
@@ -117,14 +128,16 @@
|
|
|
117
128
|
"title": "OnboardSubtitle 2",
|
|
118
129
|
"styles": {
|
|
119
130
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
120
|
-
}
|
|
131
|
+
},
|
|
132
|
+
"testID": "OnboardSubtitle-test-id"
|
|
121
133
|
},
|
|
122
|
-
"children": "onboard.subtitle.two-page"
|
|
134
|
+
"children": "base.onboard.subtitle.two-page"
|
|
123
135
|
}
|
|
124
136
|
],
|
|
125
137
|
"attributes": {
|
|
126
138
|
"description": "Onboarding sayfası. (#2)",
|
|
127
|
-
"title": "OnboardItem 2"
|
|
139
|
+
"title": "OnboardItem 2",
|
|
140
|
+
"testID": "OnboardItem-test-id"
|
|
128
141
|
}
|
|
129
142
|
},
|
|
130
143
|
{
|
|
@@ -138,7 +151,9 @@
|
|
|
138
151
|
"resizeMode": "contain",
|
|
139
152
|
"styles": {
|
|
140
153
|
"height": 400
|
|
141
|
-
}
|
|
154
|
+
},
|
|
155
|
+
"testID": "OnboardImage-test-id",
|
|
156
|
+
"fetchStrategy": "normal"
|
|
142
157
|
}
|
|
143
158
|
},
|
|
144
159
|
{
|
|
@@ -148,9 +163,10 @@
|
|
|
148
163
|
"title": "OnboardTitle 3",
|
|
149
164
|
"styles": {
|
|
150
165
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
151
|
-
}
|
|
166
|
+
},
|
|
167
|
+
"testID": "OnboardTitle-test-id"
|
|
152
168
|
},
|
|
153
|
-
"children": "onboard.title.three-page"
|
|
169
|
+
"children": "base.onboard.title.three-page"
|
|
154
170
|
},
|
|
155
171
|
{
|
|
156
172
|
"type": "OnboardSubtitle",
|
|
@@ -159,14 +175,16 @@
|
|
|
159
175
|
"title": "OnboardSubtitle 3",
|
|
160
176
|
"styles": {
|
|
161
177
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
162
|
-
}
|
|
178
|
+
},
|
|
179
|
+
"testID": "OnboardSubtitle-test-id"
|
|
163
180
|
},
|
|
164
|
-
"children": "onboard.subtitle.three-page"
|
|
181
|
+
"children": "base.onboard.subtitle.three-page"
|
|
165
182
|
}
|
|
166
183
|
],
|
|
167
184
|
"attributes": {
|
|
168
185
|
"description": "Onboarding sayfası. (#3)",
|
|
169
|
-
"title": "OnboardItem 3"
|
|
186
|
+
"title": "OnboardItem 3",
|
|
187
|
+
"testID": "OnboardItem-test-id"
|
|
170
188
|
}
|
|
171
189
|
},
|
|
172
190
|
{
|
|
@@ -180,7 +198,9 @@
|
|
|
180
198
|
"resizeMode": "contain",
|
|
181
199
|
"styles": {
|
|
182
200
|
"height": 400
|
|
183
|
-
}
|
|
201
|
+
},
|
|
202
|
+
"testID": "OnboardImage-test-id",
|
|
203
|
+
"fetchStrategy": "normal"
|
|
184
204
|
}
|
|
185
205
|
},
|
|
186
206
|
{
|
|
@@ -190,9 +210,10 @@
|
|
|
190
210
|
"title": "OnboardTitle 4",
|
|
191
211
|
"styles": {
|
|
192
212
|
"color": "THEME_COLORS.ONBOARD_TITLE"
|
|
193
|
-
}
|
|
213
|
+
},
|
|
214
|
+
"testID": "OnboardTitle-test-id"
|
|
194
215
|
},
|
|
195
|
-
"children": "onboard.title.four-page"
|
|
216
|
+
"children": "base.onboard.title.four-page"
|
|
196
217
|
},
|
|
197
218
|
{
|
|
198
219
|
"type": "OnboardSubtitle",
|
|
@@ -201,14 +222,16 @@
|
|
|
201
222
|
"title": "OnboardSubtitle 4",
|
|
202
223
|
"styles": {
|
|
203
224
|
"color": "THEME_COLORS.ONBOARD_SUBTITLE"
|
|
204
|
-
}
|
|
225
|
+
},
|
|
226
|
+
"testID": "OnboardSubtitle-test-id"
|
|
205
227
|
},
|
|
206
|
-
"children": "onboard.subtitle.four-page"
|
|
228
|
+
"children": "base.onboard.subtitle.four-page"
|
|
207
229
|
}
|
|
208
230
|
],
|
|
209
231
|
"attributes": {
|
|
210
232
|
"description": "Onboarding sayfası. (#4)",
|
|
211
|
-
"title": "OnboardItem 4"
|
|
233
|
+
"title": "OnboardItem 4",
|
|
234
|
+
"testID": "OnboardItem-test-id"
|
|
212
235
|
}
|
|
213
236
|
}
|
|
214
237
|
],
|
|
@@ -217,7 +240,8 @@
|
|
|
217
240
|
"title": "Onboard 1",
|
|
218
241
|
"styles": {
|
|
219
242
|
"flex": 1
|
|
220
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"testID": "Onboard-test-id"
|
|
221
245
|
}
|
|
222
246
|
},
|
|
223
247
|
{
|
|
@@ -230,7 +254,8 @@
|
|
|
230
254
|
"active_dot_color": "STATIC_COLORS.ONBOARD_DOT_ACTIVE",
|
|
231
255
|
"styles": {
|
|
232
256
|
"paddingVertical": 12
|
|
233
|
-
}
|
|
257
|
+
},
|
|
258
|
+
"testID": "OnboardDot-test-id"
|
|
234
259
|
}
|
|
235
260
|
},
|
|
236
261
|
{
|
|
@@ -242,7 +267,8 @@
|
|
|
242
267
|
"width": "100%",
|
|
243
268
|
"height": 2,
|
|
244
269
|
"backgroundColor": "STATIC_COLORS.ONBOARD_SEPARATOR_COLOR"
|
|
245
|
-
}
|
|
270
|
+
},
|
|
271
|
+
"testID": "Separator-test-id"
|
|
246
272
|
}
|
|
247
273
|
},
|
|
248
274
|
{
|
|
@@ -257,13 +283,14 @@
|
|
|
257
283
|
"height": 40,
|
|
258
284
|
"marginVertical": 12,
|
|
259
285
|
"flexShrink": 0
|
|
260
|
-
}
|
|
286
|
+
},
|
|
287
|
+
"testID": "OnboardButtons-test-id"
|
|
261
288
|
},
|
|
262
289
|
"children": [
|
|
263
290
|
{
|
|
264
291
|
"type": "OnboardButton",
|
|
265
292
|
"attributes": {
|
|
266
|
-
"labelKey": "onboard.skip.one-page",
|
|
293
|
+
"labelKey": "base.onboard.skip.one-page",
|
|
267
294
|
"events": [
|
|
268
295
|
{
|
|
269
296
|
"type": "Navigate",
|
|
@@ -275,13 +302,14 @@
|
|
|
275
302
|
"flex": 1,
|
|
276
303
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
277
304
|
"backgroundColor": "THEME_COLORS.TEXT"
|
|
278
|
-
}
|
|
305
|
+
},
|
|
306
|
+
"testID": "onboardNext"
|
|
279
307
|
}
|
|
280
308
|
},
|
|
281
309
|
{
|
|
282
310
|
"type": "OnboardButton",
|
|
283
311
|
"attributes": {
|
|
284
|
-
"labelKey": "onboard.next.one-page",
|
|
312
|
+
"labelKey": "base.onboard.next.one-page",
|
|
285
313
|
"events": [
|
|
286
314
|
{
|
|
287
315
|
"type": "Navigate",
|
|
@@ -293,7 +321,8 @@
|
|
|
293
321
|
"flex": 1,
|
|
294
322
|
"color": "STATIC_COLORS.WHITE",
|
|
295
323
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
296
|
-
}
|
|
324
|
+
},
|
|
325
|
+
"testID": "onboardNext"
|
|
297
326
|
}
|
|
298
327
|
}
|
|
299
328
|
]
|
|
@@ -310,13 +339,14 @@
|
|
|
310
339
|
"height": 40,
|
|
311
340
|
"marginVertical": 12,
|
|
312
341
|
"flexShrink": 0
|
|
313
|
-
}
|
|
342
|
+
},
|
|
343
|
+
"testID": "OnboardButtons-test-id"
|
|
314
344
|
},
|
|
315
345
|
"children": [
|
|
316
346
|
{
|
|
317
347
|
"type": "OnboardButton",
|
|
318
348
|
"attributes": {
|
|
319
|
-
"labelKey": "onboard.skip.two-page",
|
|
349
|
+
"labelKey": "base.onboard.skip.two-page",
|
|
320
350
|
"events": [
|
|
321
351
|
{
|
|
322
352
|
"type": "Navigate",
|
|
@@ -328,13 +358,14 @@
|
|
|
328
358
|
"flex": 1,
|
|
329
359
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
330
360
|
"backgroundColor": "THEME_COLORS.TEXT"
|
|
331
|
-
}
|
|
361
|
+
},
|
|
362
|
+
"testID": "onboardNext"
|
|
332
363
|
}
|
|
333
364
|
},
|
|
334
365
|
{
|
|
335
366
|
"type": "OnboardButton",
|
|
336
367
|
"attributes": {
|
|
337
|
-
"labelKey": "onboard.next.two-page",
|
|
368
|
+
"labelKey": "base.onboard.next.two-page",
|
|
338
369
|
"events": [
|
|
339
370
|
{
|
|
340
371
|
"type": "Navigate",
|
|
@@ -346,7 +377,8 @@
|
|
|
346
377
|
"flex": 1,
|
|
347
378
|
"color": "STATIC_COLORS.WHITE",
|
|
348
379
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
349
|
-
}
|
|
380
|
+
},
|
|
381
|
+
"testID": "onboardNext"
|
|
350
382
|
}
|
|
351
383
|
}
|
|
352
384
|
]
|
|
@@ -363,13 +395,14 @@
|
|
|
363
395
|
"height": 40,
|
|
364
396
|
"marginVertical": 12,
|
|
365
397
|
"flexShrink": 0
|
|
366
|
-
}
|
|
398
|
+
},
|
|
399
|
+
"testID": "OnboardButtons-test-id"
|
|
367
400
|
},
|
|
368
401
|
"children": [
|
|
369
402
|
{
|
|
370
403
|
"type": "OnboardButton",
|
|
371
404
|
"attributes": {
|
|
372
|
-
"labelKey": "onboard.skip.three-page",
|
|
405
|
+
"labelKey": "base.onboard.skip.three-page",
|
|
373
406
|
"events": [
|
|
374
407
|
{
|
|
375
408
|
"type": "Navigate",
|
|
@@ -381,13 +414,14 @@
|
|
|
381
414
|
"flex": 1,
|
|
382
415
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
383
416
|
"backgroundColor": "THEME_COLORS.TEXT"
|
|
384
|
-
}
|
|
417
|
+
},
|
|
418
|
+
"testID": "onboardNext"
|
|
385
419
|
}
|
|
386
420
|
},
|
|
387
421
|
{
|
|
388
422
|
"type": "OnboardButton",
|
|
389
423
|
"attributes": {
|
|
390
|
-
"labelKey": "onboard.next.three-page",
|
|
424
|
+
"labelKey": "base.onboard.next.three-page",
|
|
391
425
|
"events": [
|
|
392
426
|
{
|
|
393
427
|
"type": "Permission",
|
|
@@ -403,7 +437,8 @@
|
|
|
403
437
|
"flex": 1,
|
|
404
438
|
"color": "STATIC_COLORS.WHITE",
|
|
405
439
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
406
|
-
}
|
|
440
|
+
},
|
|
441
|
+
"testID": "onboardNext"
|
|
407
442
|
}
|
|
408
443
|
}
|
|
409
444
|
]
|
|
@@ -420,13 +455,14 @@
|
|
|
420
455
|
"height": 40,
|
|
421
456
|
"marginVertical": 12,
|
|
422
457
|
"flexShrink": 0
|
|
423
|
-
}
|
|
458
|
+
},
|
|
459
|
+
"testID": "OnboardButtons-test-id"
|
|
424
460
|
},
|
|
425
461
|
"children": [
|
|
426
462
|
{
|
|
427
463
|
"type": "OnboardButton",
|
|
428
464
|
"attributes": {
|
|
429
|
-
"labelKey": "onboard.allow.four-page",
|
|
465
|
+
"labelKey": "base.onboard.allow.four-page",
|
|
430
466
|
"events": [
|
|
431
467
|
{
|
|
432
468
|
"type": "Permission",
|
|
@@ -441,7 +477,8 @@
|
|
|
441
477
|
"flex": 1,
|
|
442
478
|
"color": "STATIC_COLORS.WHITE",
|
|
443
479
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
444
|
-
}
|
|
480
|
+
},
|
|
481
|
+
"testID": "onboardNext"
|
|
445
482
|
}
|
|
446
483
|
}
|
|
447
484
|
]
|
|
@@ -454,7 +491,8 @@
|
|
|
454
491
|
"styles": {
|
|
455
492
|
"marginHorizontal": 25,
|
|
456
493
|
"flexShrink": 0
|
|
457
|
-
}
|
|
494
|
+
},
|
|
495
|
+
"testID": "View-test-id"
|
|
458
496
|
},
|
|
459
497
|
"children": [
|
|
460
498
|
{
|
|
@@ -470,7 +508,8 @@
|
|
|
470
508
|
"styles": {
|
|
471
509
|
"gap": 8,
|
|
472
510
|
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT"
|
|
473
|
-
}
|
|
511
|
+
},
|
|
512
|
+
"testID": "OnboardFooter-test-id"
|
|
474
513
|
}
|
|
475
514
|
}
|
|
476
515
|
]
|
|
@@ -479,9 +518,13 @@
|
|
|
479
518
|
"attributes": {
|
|
480
519
|
"theme": "dark",
|
|
481
520
|
"description": "Onboarding sağlayıcısı. (#1)",
|
|
482
|
-
"title": "OnboardProvider 1"
|
|
521
|
+
"title": "OnboardProvider 1",
|
|
522
|
+
"testID": "OnboardProvider-test-id"
|
|
483
523
|
}
|
|
484
524
|
}
|
|
485
525
|
]
|
|
526
|
+
},
|
|
527
|
+
"attributes": {
|
|
528
|
+
"testID": "onboard-test-id"
|
|
486
529
|
}
|
|
487
530
|
}
|