@developer_tribe/react-builder 1.2.36 → 1.2.38
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 +1 -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 +1 -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 +1445 -1015
- 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/pages/tabs/SideTool.d.ts +8 -1
- package/dist/types/PreviewConfig.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +18 -0
- package/src/RenderPage.tsx +1 -4
- 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 +90 -51
- package/src/assets/samples/vpn-onboard-2.json +90 -51
- package/src/assets/samples/vpn-onboard-3.json +84 -48
- package/src/assets/samples/vpn-onboard-4.json +84 -48
- package/src/assets/samples/vpn-onboard-5.json +126 -73
- package/src/assets/samples/vpn-onboard-6.json +90 -51
- package/src/assets/samples/vpn-onboard-7.json +88 -50
- package/src/build-components/BIcon/BIconProps.generated.ts +1 -0
- package/src/build-components/BIcon/pattern.json +2 -1
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +1 -0
- package/src/build-components/BackgroundImage/pattern.json +2 -1
- package/src/build-components/Button/ButtonProps.generated.ts +1 -0
- package/src/build-components/Button/pattern.json +2 -1
- package/src/build-components/Carousel/CarouselProps.generated.ts +1 -0
- package/src/build-components/Carousel/pattern.json +2 -1
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +1 -0
- package/src/build-components/CarouselButtons/pattern.json +2 -1
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +1 -0
- package/src/build-components/CarouselDots/pattern.json +2 -1
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +1 -0
- package/src/build-components/CarouselItem/pattern.json +4 -1
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +1 -0
- package/src/build-components/CarouselProvider/pattern.json +3 -0
- package/src/build-components/CountDown/CountDownProps.generated.ts +1 -0
- package/src/build-components/CountDown/pattern.json +2 -1
- package/src/build-components/Image/ImageProps.generated.ts +1 -0
- package/src/build-components/Image/pattern.json +2 -1
- package/src/build-components/Main/MainProps.generated.ts +1 -0
- package/src/build-components/Main/pattern.json +2 -1
- package/src/build-components/NavigationBarColor/NavigationBarColorProps.generated.ts +1 -0
- package/src/build-components/NavigationBarColor/pattern.json +2 -1
- package/src/build-components/Onboard/OnboardProps.generated.ts +1 -0
- package/src/build-components/Onboard/pattern.json +4 -1
- 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/OnboardButtons/pattern.json +2 -1
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +1 -0
- package/src/build-components/OnboardDot/pattern.json +2 -1
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +2 -3
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -0
- package/src/build-components/OnboardFooter/pattern.json +2 -1
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +1 -0
- package/src/build-components/OnboardImage/pattern.json +2 -1
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +1 -0
- package/src/build-components/OnboardItem/pattern.json +2 -1
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +1 -0
- package/src/build-components/OnboardProvider/pattern.json +2 -1
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -0
- package/src/build-components/OnboardSubtitle/pattern.json +4 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -0
- package/src/build-components/OnboardTitle/pattern.json +4 -1
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +1 -0
- package/src/build-components/PaywallBackground/pattern.json +3 -0
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -0
- package/src/build-components/PaywallCloseButton/pattern.json +4 -1
- package/src/build-components/PaywallOptions/PaywallOptionsProps.generated.ts +1 -0
- package/src/build-components/PaywallOptions/pattern.json +4 -1
- package/src/build-components/PaywallProvider/PaywallProvider.tsx +0 -10
- package/src/build-components/PaywallProvider/PaywallProviderProps.generated.ts +1 -0
- package/src/build-components/PaywallProvider/pattern.json +2 -1
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +1 -0
- package/src/build-components/PaywallSubscribeButton/pattern.json +4 -1
- package/src/build-components/PriceTag/PriceTagProps.generated.ts +1 -0
- package/src/build-components/PriceTag/pattern.json +2 -1
- package/src/build-components/Pricing/PricingProps.generated.ts +1 -0
- package/src/build-components/Pricing/pattern.json +4 -1
- package/src/build-components/Promo/PromoProps.generated.ts +1 -0
- package/src/build-components/Promo/pattern.json +4 -1
- package/src/build-components/RadioButton/RadioButtonProps.generated.ts +1 -0
- package/src/build-components/RadioButton/pattern.json +2 -1
- 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 +3 -2
- 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 +1544 -1136
- 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/pages/tabs/SideTool.tsx +2 -0
- package/src/product-base/buildPaywallLocalizationParams.ts +12 -3
- package/src/types/PreviewConfig.ts +70 -46
- package/src/utils/useMergedStyle.ts +1 -1
|
@@ -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
|
"key": "StatusBarColor-sxj19suwkrn"
|
|
@@ -34,7 +36,8 @@
|
|
|
34
36
|
"description": "Navigation bar background color.",
|
|
35
37
|
"styles": {
|
|
36
38
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
37
|
-
}
|
|
39
|
+
},
|
|
40
|
+
"testID": "NavigationBarColor-test-id"
|
|
38
41
|
},
|
|
39
42
|
"children": null,
|
|
40
43
|
"key": "NavigationBarColor-rhzn570dc5o"
|
|
@@ -59,9 +62,10 @@
|
|
|
59
62
|
"textAlign": "center",
|
|
60
63
|
"marginTop": 40,
|
|
61
64
|
"fontSize": "28@fs"
|
|
62
|
-
}
|
|
65
|
+
},
|
|
66
|
+
"testID": "OnboardTitle-test-id"
|
|
63
67
|
},
|
|
64
|
-
"children": "onboard.title.one-page",
|
|
68
|
+
"children": "base.onboard.title.one-page",
|
|
65
69
|
"key": "OnboardTitle-5t0p86nj13m"
|
|
66
70
|
},
|
|
67
71
|
{
|
|
@@ -71,7 +75,8 @@
|
|
|
71
75
|
"resizeMode": "contain",
|
|
72
76
|
"styles": {
|
|
73
77
|
"height": 350
|
|
74
|
-
}
|
|
78
|
+
},
|
|
79
|
+
"testID": "OnboardImage-test-id"
|
|
75
80
|
}
|
|
76
81
|
},
|
|
77
82
|
{
|
|
@@ -84,15 +89,17 @@
|
|
|
84
89
|
"fontSize": 16,
|
|
85
90
|
"textAlign": "center",
|
|
86
91
|
"paddingTop": "30@vs"
|
|
87
|
-
}
|
|
92
|
+
},
|
|
93
|
+
"testID": "OnboardSubtitle-test-id"
|
|
88
94
|
},
|
|
89
|
-
"children": "onboard.subtitle.one-page",
|
|
95
|
+
"children": "base.onboard.subtitle.one-page",
|
|
90
96
|
"key": "OnboardSubtitle-0max8wno7l5b"
|
|
91
97
|
}
|
|
92
98
|
],
|
|
93
99
|
"attributes": {
|
|
94
100
|
"description": "Onboarding sayfası. (#1)",
|
|
95
|
-
"title": "OnboardItem 1"
|
|
101
|
+
"title": "OnboardItem 1",
|
|
102
|
+
"testID": "OnboardItem-test-id"
|
|
96
103
|
}
|
|
97
104
|
},
|
|
98
105
|
{
|
|
@@ -109,9 +116,10 @@
|
|
|
109
116
|
"textAlign": "center",
|
|
110
117
|
"marginTop": 40,
|
|
111
118
|
"fontSize": "28@fs"
|
|
112
|
-
}
|
|
119
|
+
},
|
|
120
|
+
"testID": "OnboardTitle-test-id"
|
|
113
121
|
},
|
|
114
|
-
"children": "onboard.title.two-page",
|
|
122
|
+
"children": "base.onboard.title.two-page",
|
|
115
123
|
"key": "OnboardTitle-ne9iihu925k"
|
|
116
124
|
},
|
|
117
125
|
{
|
|
@@ -121,7 +129,8 @@
|
|
|
121
129
|
"resizeMode": "contain",
|
|
122
130
|
"styles": {
|
|
123
131
|
"height": 350
|
|
124
|
-
}
|
|
132
|
+
},
|
|
133
|
+
"testID": "OnboardImage-test-id"
|
|
125
134
|
}
|
|
126
135
|
},
|
|
127
136
|
{
|
|
@@ -134,15 +143,17 @@
|
|
|
134
143
|
"fontSize": 16,
|
|
135
144
|
"textAlign": "center",
|
|
136
145
|
"paddingTop": "30@vs"
|
|
137
|
-
}
|
|
146
|
+
},
|
|
147
|
+
"testID": "OnboardSubtitle-test-id"
|
|
138
148
|
},
|
|
139
|
-
"children": "onboard.subtitle.two-page",
|
|
149
|
+
"children": "base.onboard.subtitle.two-page",
|
|
140
150
|
"key": "OnboardSubtitle-jq9469r7c2"
|
|
141
151
|
}
|
|
142
152
|
],
|
|
143
153
|
"attributes": {
|
|
144
154
|
"description": "Onboarding sayfası. (#2)",
|
|
145
|
-
"title": "OnboardItem 2"
|
|
155
|
+
"title": "OnboardItem 2",
|
|
156
|
+
"testID": "OnboardItem-test-id"
|
|
146
157
|
}
|
|
147
158
|
},
|
|
148
159
|
{
|
|
@@ -159,9 +170,10 @@
|
|
|
159
170
|
"textAlign": "center",
|
|
160
171
|
"marginTop": 40,
|
|
161
172
|
"fontSize": "28@fs"
|
|
162
|
-
}
|
|
173
|
+
},
|
|
174
|
+
"testID": "OnboardTitle-test-id"
|
|
163
175
|
},
|
|
164
|
-
"children": "onboard.title.three-page",
|
|
176
|
+
"children": "base.onboard.title.three-page",
|
|
165
177
|
"key": "OnboardTitle-hczvlbg7gqj"
|
|
166
178
|
},
|
|
167
179
|
{
|
|
@@ -171,7 +183,8 @@
|
|
|
171
183
|
"resizeMode": "contain",
|
|
172
184
|
"styles": {
|
|
173
185
|
"height": 350
|
|
174
|
-
}
|
|
186
|
+
},
|
|
187
|
+
"testID": "OnboardImage-test-id"
|
|
175
188
|
}
|
|
176
189
|
},
|
|
177
190
|
{
|
|
@@ -184,15 +197,17 @@
|
|
|
184
197
|
"fontSize": 16,
|
|
185
198
|
"textAlign": "center",
|
|
186
199
|
"paddingTop": "30@vs"
|
|
187
|
-
}
|
|
200
|
+
},
|
|
201
|
+
"testID": "OnboardSubtitle-test-id"
|
|
188
202
|
},
|
|
189
|
-
"children": "onboard.subtitle.three-page",
|
|
203
|
+
"children": "base.onboard.subtitle.three-page",
|
|
190
204
|
"key": "OnboardSubtitle-rufjwid9yug"
|
|
191
205
|
}
|
|
192
206
|
],
|
|
193
207
|
"attributes": {
|
|
194
208
|
"description": "Onboarding sayfası. (#3)",
|
|
195
|
-
"title": "OnboardItem 3"
|
|
209
|
+
"title": "OnboardItem 3",
|
|
210
|
+
"testID": "OnboardItem-test-id"
|
|
196
211
|
}
|
|
197
212
|
},
|
|
198
213
|
{
|
|
@@ -209,9 +224,10 @@
|
|
|
209
224
|
"textAlign": "center",
|
|
210
225
|
"marginTop": 40,
|
|
211
226
|
"fontSize": "28@fs"
|
|
212
|
-
}
|
|
227
|
+
},
|
|
228
|
+
"testID": "OnboardTitle-test-id"
|
|
213
229
|
},
|
|
214
|
-
"children": "onboard.title.four-page",
|
|
230
|
+
"children": "base.onboard.title.four-page",
|
|
215
231
|
"key": "OnboardTitle-f2ekfc0wcbl"
|
|
216
232
|
},
|
|
217
233
|
{
|
|
@@ -221,7 +237,8 @@
|
|
|
221
237
|
"resizeMode": "contain",
|
|
222
238
|
"styles": {
|
|
223
239
|
"height": 350
|
|
224
|
-
}
|
|
240
|
+
},
|
|
241
|
+
"testID": "OnboardImage-test-id"
|
|
225
242
|
}
|
|
226
243
|
},
|
|
227
244
|
{
|
|
@@ -234,15 +251,17 @@
|
|
|
234
251
|
"fontSize": 16,
|
|
235
252
|
"textAlign": "center",
|
|
236
253
|
"paddingTop": "30@vs"
|
|
237
|
-
}
|
|
254
|
+
},
|
|
255
|
+
"testID": "OnboardSubtitle-test-id"
|
|
238
256
|
},
|
|
239
|
-
"children": "onboard.subtitle.four-page",
|
|
257
|
+
"children": "base.onboard.subtitle.four-page",
|
|
240
258
|
"key": "OnboardSubtitle-qkw2jn84xem"
|
|
241
259
|
}
|
|
242
260
|
],
|
|
243
261
|
"attributes": {
|
|
244
262
|
"description": "Onboarding sayfası. (#4)",
|
|
245
|
-
"title": "OnboardItem 4"
|
|
263
|
+
"title": "OnboardItem 4",
|
|
264
|
+
"testID": "OnboardItem-test-id"
|
|
246
265
|
}
|
|
247
266
|
}
|
|
248
267
|
],
|
|
@@ -251,7 +270,8 @@
|
|
|
251
270
|
"title": "Onboard 1",
|
|
252
271
|
"styles": {
|
|
253
272
|
"flex": 1
|
|
254
|
-
}
|
|
273
|
+
},
|
|
274
|
+
"testID": "Onboard-test-id"
|
|
255
275
|
},
|
|
256
276
|
"key": "Onboard-dg1zmwdawmg"
|
|
257
277
|
},
|
|
@@ -265,7 +285,8 @@
|
|
|
265
285
|
"styles": {
|
|
266
286
|
"paddingVertical": 12,
|
|
267
287
|
"dot_thickness": "10@s"
|
|
268
|
-
}
|
|
288
|
+
},
|
|
289
|
+
"testID": "OnboardDot-test-id"
|
|
269
290
|
}
|
|
270
291
|
},
|
|
271
292
|
{
|
|
@@ -281,13 +302,14 @@
|
|
|
281
302
|
"marginVertical": 12,
|
|
282
303
|
"flexShrink": 0,
|
|
283
304
|
"paddingBottom": "5@s"
|
|
284
|
-
}
|
|
305
|
+
},
|
|
306
|
+
"testID": "OnboardButtons-test-id"
|
|
285
307
|
},
|
|
286
308
|
"children": [
|
|
287
309
|
{
|
|
288
310
|
"type": "OnboardButton",
|
|
289
311
|
"attributes": {
|
|
290
|
-
"labelKey": "onboard.skip.one-page",
|
|
312
|
+
"labelKey": "base.onboard.skip.one-page",
|
|
291
313
|
"events": [
|
|
292
314
|
{
|
|
293
315
|
"type": "Navigate",
|
|
@@ -299,13 +321,14 @@
|
|
|
299
321
|
"flex": 1,
|
|
300
322
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
301
323
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
302
|
-
}
|
|
324
|
+
},
|
|
325
|
+
"testID": "onboardNext"
|
|
303
326
|
}
|
|
304
327
|
},
|
|
305
328
|
{
|
|
306
329
|
"type": "OnboardButton",
|
|
307
330
|
"attributes": {
|
|
308
|
-
"labelKey": "onboard.next.one-page",
|
|
331
|
+
"labelKey": "base.onboard.next.one-page",
|
|
309
332
|
"events": [
|
|
310
333
|
{
|
|
311
334
|
"type": "Navigate",
|
|
@@ -317,7 +340,8 @@
|
|
|
317
340
|
"flex": 1,
|
|
318
341
|
"color": "STATIC_COLORS.WHITE",
|
|
319
342
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
320
|
-
}
|
|
343
|
+
},
|
|
344
|
+
"testID": "onboardNext"
|
|
321
345
|
}
|
|
322
346
|
}
|
|
323
347
|
],
|
|
@@ -336,13 +360,14 @@
|
|
|
336
360
|
"marginVertical": 12,
|
|
337
361
|
"flexShrink": 0,
|
|
338
362
|
"paddingBottom": "5@s"
|
|
339
|
-
}
|
|
363
|
+
},
|
|
364
|
+
"testID": "OnboardButtons-test-id"
|
|
340
365
|
},
|
|
341
366
|
"children": [
|
|
342
367
|
{
|
|
343
368
|
"type": "OnboardButton",
|
|
344
369
|
"attributes": {
|
|
345
|
-
"labelKey": "onboard.skip.two-page",
|
|
370
|
+
"labelKey": "base.onboard.skip.two-page",
|
|
346
371
|
"events": [
|
|
347
372
|
{
|
|
348
373
|
"type": "Permission",
|
|
@@ -358,13 +383,14 @@
|
|
|
358
383
|
"flex": 1,
|
|
359
384
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
360
385
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
361
|
-
}
|
|
386
|
+
},
|
|
387
|
+
"testID": "onboardNext"
|
|
362
388
|
}
|
|
363
389
|
},
|
|
364
390
|
{
|
|
365
391
|
"type": "OnboardButton",
|
|
366
392
|
"attributes": {
|
|
367
|
-
"labelKey": "onboard.next.two-page",
|
|
393
|
+
"labelKey": "base.onboard.next.two-page",
|
|
368
394
|
"events": [
|
|
369
395
|
{
|
|
370
396
|
"type": "Permission",
|
|
@@ -380,7 +406,8 @@
|
|
|
380
406
|
"flex": 1,
|
|
381
407
|
"color": "STATIC_COLORS.WHITE",
|
|
382
408
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
383
|
-
}
|
|
409
|
+
},
|
|
410
|
+
"testID": "onboardNext"
|
|
384
411
|
}
|
|
385
412
|
}
|
|
386
413
|
],
|
|
@@ -399,13 +426,14 @@
|
|
|
399
426
|
"marginVertical": 12,
|
|
400
427
|
"flexShrink": 0,
|
|
401
428
|
"paddingBottom": "5@s"
|
|
402
|
-
}
|
|
429
|
+
},
|
|
430
|
+
"testID": "OnboardButtons-test-id"
|
|
403
431
|
},
|
|
404
432
|
"children": [
|
|
405
433
|
{
|
|
406
434
|
"type": "OnboardButton",
|
|
407
435
|
"attributes": {
|
|
408
|
-
"labelKey": "onboard.skip.three-page",
|
|
436
|
+
"labelKey": "base.onboard.skip.three-page",
|
|
409
437
|
"events": [
|
|
410
438
|
{
|
|
411
439
|
"type": "Navigate",
|
|
@@ -417,13 +445,14 @@
|
|
|
417
445
|
"flex": 1,
|
|
418
446
|
"color": "THEME_COLORS.ONBOARD_BUTTON_SECONDARY_TEXT",
|
|
419
447
|
"backgroundColor": "STATIC_COLORS.TRANSPARENT"
|
|
420
|
-
}
|
|
448
|
+
},
|
|
449
|
+
"testID": "onboardNext"
|
|
421
450
|
}
|
|
422
451
|
},
|
|
423
452
|
{
|
|
424
453
|
"type": "OnboardButton",
|
|
425
454
|
"attributes": {
|
|
426
|
-
"labelKey": "onboard.next.three-page",
|
|
455
|
+
"labelKey": "base.onboard.next.three-page",
|
|
427
456
|
"events": [
|
|
428
457
|
{
|
|
429
458
|
"type": "Permission",
|
|
@@ -439,7 +468,8 @@
|
|
|
439
468
|
"flex": 1,
|
|
440
469
|
"color": "STATIC_COLORS.WHITE",
|
|
441
470
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
442
|
-
}
|
|
471
|
+
},
|
|
472
|
+
"testID": "onboardNext"
|
|
443
473
|
}
|
|
444
474
|
}
|
|
445
475
|
],
|
|
@@ -458,13 +488,14 @@
|
|
|
458
488
|
"marginVertical": 12,
|
|
459
489
|
"flexShrink": 0,
|
|
460
490
|
"paddingBottom": "5@s"
|
|
461
|
-
}
|
|
491
|
+
},
|
|
492
|
+
"testID": "OnboardButtons-test-id"
|
|
462
493
|
},
|
|
463
494
|
"children": [
|
|
464
495
|
{
|
|
465
496
|
"type": "OnboardButton",
|
|
466
497
|
"attributes": {
|
|
467
|
-
"labelKey": "onboard.allow.four-page",
|
|
498
|
+
"labelKey": "base.onboard.allow.four-page",
|
|
468
499
|
"events": [
|
|
469
500
|
{
|
|
470
501
|
"type": "Permission",
|
|
@@ -479,7 +510,8 @@
|
|
|
479
510
|
"flex": 1,
|
|
480
511
|
"color": "STATIC_COLORS.WHITE",
|
|
481
512
|
"backgroundColor": "STATIC_COLORS.ONBOARD_BUTTON_PRIMARY_BACKGROUND"
|
|
482
|
-
}
|
|
513
|
+
},
|
|
514
|
+
"testID": "onboardNext"
|
|
483
515
|
}
|
|
484
516
|
}
|
|
485
517
|
],
|
|
@@ -493,7 +525,8 @@
|
|
|
493
525
|
"styles": {
|
|
494
526
|
"marginHorizontal": 25,
|
|
495
527
|
"flexShrink": 0
|
|
496
|
-
}
|
|
528
|
+
},
|
|
529
|
+
"testID": "View-test-id"
|
|
497
530
|
},
|
|
498
531
|
"children": [
|
|
499
532
|
{
|
|
@@ -510,7 +543,8 @@
|
|
|
510
543
|
"gap": 8,
|
|
511
544
|
"color": "THEME_COLORS.ONBOARD_FOOTER_TEXT",
|
|
512
545
|
"fontSize": "12@fs"
|
|
513
|
-
}
|
|
546
|
+
},
|
|
547
|
+
"testID": "OnboardFooter-test-id"
|
|
514
548
|
}
|
|
515
549
|
}
|
|
516
550
|
],
|
|
@@ -520,10 +554,14 @@
|
|
|
520
554
|
"attributes": {
|
|
521
555
|
"theme": "dark",
|
|
522
556
|
"description": "Onboarding sağlayıcısı. (#1)",
|
|
523
|
-
"title": "OnboardProvider 1"
|
|
557
|
+
"title": "OnboardProvider 1",
|
|
558
|
+
"testID": "OnboardProvider-test-id"
|
|
524
559
|
},
|
|
525
560
|
"key": "OnboardProvider-pvc5b6o5gu"
|
|
526
561
|
}
|
|
527
562
|
]
|
|
563
|
+
},
|
|
564
|
+
"attributes": {
|
|
565
|
+
"testID": "onboard-test-id"
|
|
528
566
|
}
|
|
529
567
|
}
|