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