@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
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"attributes": {
|
|
9
9
|
"useSafeAreaView": true,
|
|
10
10
|
"description": "Main container for Back Offer.",
|
|
11
|
-
"title": "Main"
|
|
11
|
+
"title": "Main",
|
|
12
|
+
"testID": "Main-test-id"
|
|
12
13
|
},
|
|
13
14
|
"children": [
|
|
14
15
|
{
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
"description": "Status bar background color.",
|
|
19
20
|
"styles": {
|
|
20
21
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
21
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"testID": "StatusBarColor-test-id"
|
|
22
24
|
},
|
|
23
25
|
"children": null
|
|
24
26
|
},
|
|
@@ -29,7 +31,8 @@
|
|
|
29
31
|
"description": "Navigation bar background color.",
|
|
30
32
|
"styles": {
|
|
31
33
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
32
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"testID": "NavigationBarColor-test-id"
|
|
33
36
|
},
|
|
34
37
|
"children": null
|
|
35
38
|
},
|
|
@@ -45,7 +48,8 @@
|
|
|
45
48
|
"justifyContent": "flex-start",
|
|
46
49
|
"position": "relative",
|
|
47
50
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
48
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"testID": "PaywallProvider-test-id"
|
|
49
53
|
},
|
|
50
54
|
"children": [
|
|
51
55
|
{
|
|
@@ -53,7 +57,8 @@
|
|
|
53
57
|
"attributes": {
|
|
54
58
|
"src": "https://images.unsplash.com/photo-1470770903676-69b98201ea1c?auto=format&fit=crop&w=1200&q=80",
|
|
55
59
|
"description": "Paywall background.",
|
|
56
|
-
"title": "Paywall Background"
|
|
60
|
+
"title": "Paywall Background",
|
|
61
|
+
"testID": "PaywallBackground-test-id"
|
|
57
62
|
},
|
|
58
63
|
"children": null
|
|
59
64
|
},
|
|
@@ -66,7 +71,8 @@
|
|
|
66
71
|
"paddingBottom": 16,
|
|
67
72
|
"gap": 16,
|
|
68
73
|
"flex": 1
|
|
69
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"testID": "View-test-id"
|
|
70
76
|
},
|
|
71
77
|
"children": [
|
|
72
78
|
{
|
|
@@ -81,7 +87,8 @@
|
|
|
81
87
|
"zIndex": 10,
|
|
82
88
|
"alignItems": "center",
|
|
83
89
|
"justifyContent": "center"
|
|
84
|
-
}
|
|
90
|
+
},
|
|
91
|
+
"testID": "PaywallCloseButton-test-id"
|
|
85
92
|
},
|
|
86
93
|
"children": null
|
|
87
94
|
},
|
|
@@ -95,7 +102,8 @@
|
|
|
95
102
|
"fontWeight": "700",
|
|
96
103
|
"fontSize": 28,
|
|
97
104
|
"textAlign": "center"
|
|
98
|
-
}
|
|
105
|
+
},
|
|
106
|
+
"testID": "text-test-id"
|
|
99
107
|
},
|
|
100
108
|
"children": "Back Offer"
|
|
101
109
|
},
|
|
@@ -108,7 +116,8 @@
|
|
|
108
116
|
"flexDirection": "column",
|
|
109
117
|
"gap": 4,
|
|
110
118
|
"marginTop": "12%"
|
|
111
|
-
}
|
|
119
|
+
},
|
|
120
|
+
"testID": "View-test-id"
|
|
112
121
|
},
|
|
113
122
|
"children": [
|
|
114
123
|
{
|
|
@@ -122,7 +131,8 @@
|
|
|
122
131
|
"gap": 8,
|
|
123
132
|
"paddingVertical": 8,
|
|
124
133
|
"paddingHorizontal": 12
|
|
125
|
-
}
|
|
134
|
+
},
|
|
135
|
+
"testID": "View-test-id"
|
|
126
136
|
},
|
|
127
137
|
"children": [
|
|
128
138
|
{
|
|
@@ -136,7 +146,8 @@
|
|
|
136
146
|
"color": "THEME_COLORS.ICON",
|
|
137
147
|
"fontSize": "16",
|
|
138
148
|
"flex": 0
|
|
139
|
-
}
|
|
149
|
+
},
|
|
150
|
+
"testID": "BIcon-test-id"
|
|
140
151
|
},
|
|
141
152
|
"children": null
|
|
142
153
|
},
|
|
@@ -149,7 +160,8 @@
|
|
|
149
160
|
"flex": 1,
|
|
150
161
|
"color": "STATIC_COLORS.WHITE",
|
|
151
162
|
"fontWeight": "700"
|
|
152
|
-
}
|
|
163
|
+
},
|
|
164
|
+
"testID": "text-test-id"
|
|
153
165
|
},
|
|
154
166
|
"children": "@benefit1 — Unlimited access"
|
|
155
167
|
}
|
|
@@ -166,7 +178,8 @@
|
|
|
166
178
|
"gap": 8,
|
|
167
179
|
"paddingVertical": 8,
|
|
168
180
|
"paddingHorizontal": 12
|
|
169
|
-
}
|
|
181
|
+
},
|
|
182
|
+
"testID": "View-test-id"
|
|
170
183
|
},
|
|
171
184
|
"children": [
|
|
172
185
|
{
|
|
@@ -180,7 +193,8 @@
|
|
|
180
193
|
"color": "THEME_COLORS.ICON",
|
|
181
194
|
"fontSize": "16",
|
|
182
195
|
"flex": 0
|
|
183
|
-
}
|
|
196
|
+
},
|
|
197
|
+
"testID": "BIcon-test-id"
|
|
184
198
|
},
|
|
185
199
|
"children": null
|
|
186
200
|
},
|
|
@@ -193,7 +207,8 @@
|
|
|
193
207
|
"flex": 1,
|
|
194
208
|
"color": "STATIC_COLORS.WHITE",
|
|
195
209
|
"fontWeight": "700"
|
|
196
|
-
}
|
|
210
|
+
},
|
|
211
|
+
"testID": "text-test-id"
|
|
197
212
|
},
|
|
198
213
|
"children": "@benefit2 — 7-day free trial"
|
|
199
214
|
}
|
|
@@ -210,7 +225,8 @@
|
|
|
210
225
|
"gap": 8,
|
|
211
226
|
"paddingVertical": 8,
|
|
212
227
|
"paddingHorizontal": 12
|
|
213
|
-
}
|
|
228
|
+
},
|
|
229
|
+
"testID": "View-test-id"
|
|
214
230
|
},
|
|
215
231
|
"children": [
|
|
216
232
|
{
|
|
@@ -224,7 +240,8 @@
|
|
|
224
240
|
"color": "THEME_COLORS.ICON",
|
|
225
241
|
"fontSize": "16",
|
|
226
242
|
"flex": 0
|
|
227
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"testID": "BIcon-test-id"
|
|
228
245
|
},
|
|
229
246
|
"children": null
|
|
230
247
|
},
|
|
@@ -237,7 +254,8 @@
|
|
|
237
254
|
"flex": 1,
|
|
238
255
|
"color": "STATIC_COLORS.WHITE",
|
|
239
256
|
"fontWeight": "700"
|
|
240
|
-
}
|
|
257
|
+
},
|
|
258
|
+
"testID": "text-test-id"
|
|
241
259
|
},
|
|
242
260
|
"children": "@benefit3 — Cancel anytime"
|
|
243
261
|
}
|
|
@@ -253,7 +271,8 @@
|
|
|
253
271
|
"styles": {
|
|
254
272
|
"borderRadius": 12,
|
|
255
273
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
256
|
-
}
|
|
274
|
+
},
|
|
275
|
+
"testID": "PaywallOptions-test-id"
|
|
257
276
|
},
|
|
258
277
|
"children": [
|
|
259
278
|
{
|
|
@@ -263,7 +282,8 @@
|
|
|
263
282
|
"title": "Product Radio(s)",
|
|
264
283
|
"styles": {
|
|
265
284
|
"flex": 1
|
|
266
|
-
}
|
|
285
|
+
},
|
|
286
|
+
"testID": "RadioButton-test-id"
|
|
267
287
|
},
|
|
268
288
|
"children": null
|
|
269
289
|
},
|
|
@@ -274,7 +294,8 @@
|
|
|
274
294
|
"title": "Product Desc(s)",
|
|
275
295
|
"styles": {
|
|
276
296
|
"flex": 4
|
|
277
|
-
}
|
|
297
|
+
},
|
|
298
|
+
"testID": "text-test-id"
|
|
278
299
|
},
|
|
279
300
|
"children": "@productDescription — Unlock all premium features for a month."
|
|
280
301
|
},
|
|
@@ -286,7 +307,8 @@
|
|
|
286
307
|
"styles": {
|
|
287
308
|
"flex": 1,
|
|
288
309
|
"textAlign": "right"
|
|
289
|
-
}
|
|
310
|
+
},
|
|
311
|
+
"testID": "text-test-id"
|
|
290
312
|
},
|
|
291
313
|
"children": "@localizedPrice"
|
|
292
314
|
},
|
|
@@ -302,7 +324,8 @@
|
|
|
302
324
|
"flex": 0,
|
|
303
325
|
"width": 32,
|
|
304
326
|
"color": "STATIC_COLORS.BLACK"
|
|
305
|
-
}
|
|
327
|
+
},
|
|
328
|
+
"testID": "BIcon-test-id"
|
|
306
329
|
},
|
|
307
330
|
"children": null
|
|
308
331
|
}
|
|
@@ -318,7 +341,8 @@
|
|
|
318
341
|
"fontWeight": "700",
|
|
319
342
|
"fontSize": 40,
|
|
320
343
|
"textAlign": "center"
|
|
321
|
-
}
|
|
344
|
+
},
|
|
345
|
+
"testID": "CountDown-test-id"
|
|
322
346
|
},
|
|
323
347
|
"children": null
|
|
324
348
|
},
|
|
@@ -333,7 +357,8 @@
|
|
|
333
357
|
"justifyContent": "flex-end",
|
|
334
358
|
"alignItems": "stretch",
|
|
335
359
|
"paddingBottom": "50px"
|
|
336
|
-
}
|
|
360
|
+
},
|
|
361
|
+
"testID": "View-test-id"
|
|
337
362
|
},
|
|
338
363
|
"children": [
|
|
339
364
|
{
|
|
@@ -341,7 +366,8 @@
|
|
|
341
366
|
"children": "Subscribe Now",
|
|
342
367
|
"attributes": {
|
|
343
368
|
"description": "Subscription confirm button.",
|
|
344
|
-
"title": "Subscribe"
|
|
369
|
+
"title": "Subscribe",
|
|
370
|
+
"testID": "PaywallSubscribeButton-test-id"
|
|
345
371
|
}
|
|
346
372
|
}
|
|
347
373
|
]
|
|
@@ -351,5 +377,8 @@
|
|
|
351
377
|
]
|
|
352
378
|
}
|
|
353
379
|
]
|
|
380
|
+
},
|
|
381
|
+
"attributes": {
|
|
382
|
+
"testID": "paywall-test-id"
|
|
354
383
|
}
|
|
355
384
|
}
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"attributes": {
|
|
9
9
|
"useSafeAreaView": true,
|
|
10
10
|
"description": "Main container for Notification Offer.",
|
|
11
|
-
"title": "Main"
|
|
11
|
+
"title": "Main",
|
|
12
|
+
"testID": "Main-test-id"
|
|
12
13
|
},
|
|
13
14
|
"children": [
|
|
14
15
|
{
|
|
@@ -18,7 +19,8 @@
|
|
|
18
19
|
"description": "Status bar background color.",
|
|
19
20
|
"styles": {
|
|
20
21
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
21
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"testID": "StatusBarColor-test-id"
|
|
22
24
|
},
|
|
23
25
|
"children": null
|
|
24
26
|
},
|
|
@@ -29,7 +31,8 @@
|
|
|
29
31
|
"description": "Navigation bar background color.",
|
|
30
32
|
"styles": {
|
|
31
33
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
32
|
-
}
|
|
34
|
+
},
|
|
35
|
+
"testID": "NavigationBarColor-test-id"
|
|
33
36
|
},
|
|
34
37
|
"children": null
|
|
35
38
|
},
|
|
@@ -45,7 +48,8 @@
|
|
|
45
48
|
"justifyContent": "flex-start",
|
|
46
49
|
"position": "relative",
|
|
47
50
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
48
|
-
}
|
|
51
|
+
},
|
|
52
|
+
"testID": "PaywallProvider-test-id"
|
|
49
53
|
},
|
|
50
54
|
"children": [
|
|
51
55
|
{
|
|
@@ -53,7 +57,8 @@
|
|
|
53
57
|
"attributes": {
|
|
54
58
|
"src": "https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1200&q=80",
|
|
55
59
|
"description": "Paywall background.",
|
|
56
|
-
"title": "Paywall Background"
|
|
60
|
+
"title": "Paywall Background",
|
|
61
|
+
"testID": "PaywallBackground-test-id"
|
|
57
62
|
},
|
|
58
63
|
"children": null
|
|
59
64
|
},
|
|
@@ -66,7 +71,8 @@
|
|
|
66
71
|
"paddingBottom": 16,
|
|
67
72
|
"gap": 16,
|
|
68
73
|
"flex": 1
|
|
69
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"testID": "View-test-id"
|
|
70
76
|
},
|
|
71
77
|
"children": [
|
|
72
78
|
{
|
|
@@ -81,7 +87,8 @@
|
|
|
81
87
|
"zIndex": 10,
|
|
82
88
|
"alignItems": "center",
|
|
83
89
|
"justifyContent": "center"
|
|
84
|
-
}
|
|
90
|
+
},
|
|
91
|
+
"testID": "PaywallCloseButton-test-id"
|
|
85
92
|
},
|
|
86
93
|
"children": null
|
|
87
94
|
},
|
|
@@ -95,7 +102,8 @@
|
|
|
95
102
|
"fontWeight": "700",
|
|
96
103
|
"fontSize": 28,
|
|
97
104
|
"textAlign": "center"
|
|
98
|
-
}
|
|
105
|
+
},
|
|
106
|
+
"testID": "text-test-id"
|
|
99
107
|
},
|
|
100
108
|
"children": "Notification Offer"
|
|
101
109
|
},
|
|
@@ -108,7 +116,8 @@
|
|
|
108
116
|
"flexDirection": "column",
|
|
109
117
|
"gap": 4,
|
|
110
118
|
"marginTop": "12%"
|
|
111
|
-
}
|
|
119
|
+
},
|
|
120
|
+
"testID": "View-test-id"
|
|
112
121
|
},
|
|
113
122
|
"children": [
|
|
114
123
|
{
|
|
@@ -122,7 +131,8 @@
|
|
|
122
131
|
"gap": 8,
|
|
123
132
|
"paddingVertical": 8,
|
|
124
133
|
"paddingHorizontal": 12
|
|
125
|
-
}
|
|
134
|
+
},
|
|
135
|
+
"testID": "View-test-id"
|
|
126
136
|
},
|
|
127
137
|
"children": [
|
|
128
138
|
{
|
|
@@ -136,7 +146,8 @@
|
|
|
136
146
|
"color": "THEME_COLORS.ICON",
|
|
137
147
|
"fontSize": "16",
|
|
138
148
|
"flex": 0
|
|
139
|
-
}
|
|
149
|
+
},
|
|
150
|
+
"testID": "BIcon-test-id"
|
|
140
151
|
},
|
|
141
152
|
"children": null
|
|
142
153
|
},
|
|
@@ -149,7 +160,8 @@
|
|
|
149
160
|
"flex": 1,
|
|
150
161
|
"color": "STATIC_COLORS.WHITE",
|
|
151
162
|
"fontWeight": "700"
|
|
152
|
-
}
|
|
163
|
+
},
|
|
164
|
+
"testID": "text-test-id"
|
|
153
165
|
},
|
|
154
166
|
"children": "@benefit1 — Unlimited access"
|
|
155
167
|
}
|
|
@@ -166,7 +178,8 @@
|
|
|
166
178
|
"gap": 8,
|
|
167
179
|
"paddingVertical": 8,
|
|
168
180
|
"paddingHorizontal": 12
|
|
169
|
-
}
|
|
181
|
+
},
|
|
182
|
+
"testID": "View-test-id"
|
|
170
183
|
},
|
|
171
184
|
"children": [
|
|
172
185
|
{
|
|
@@ -180,7 +193,8 @@
|
|
|
180
193
|
"color": "THEME_COLORS.ICON",
|
|
181
194
|
"fontSize": "16",
|
|
182
195
|
"flex": 0
|
|
183
|
-
}
|
|
196
|
+
},
|
|
197
|
+
"testID": "BIcon-test-id"
|
|
184
198
|
},
|
|
185
199
|
"children": null
|
|
186
200
|
},
|
|
@@ -193,7 +207,8 @@
|
|
|
193
207
|
"flex": 1,
|
|
194
208
|
"color": "STATIC_COLORS.WHITE",
|
|
195
209
|
"fontWeight": "700"
|
|
196
|
-
}
|
|
210
|
+
},
|
|
211
|
+
"testID": "text-test-id"
|
|
197
212
|
},
|
|
198
213
|
"children": "@benefit2 — 7-day free trial"
|
|
199
214
|
}
|
|
@@ -210,7 +225,8 @@
|
|
|
210
225
|
"gap": 8,
|
|
211
226
|
"paddingVertical": 8,
|
|
212
227
|
"paddingHorizontal": 12
|
|
213
|
-
}
|
|
228
|
+
},
|
|
229
|
+
"testID": "View-test-id"
|
|
214
230
|
},
|
|
215
231
|
"children": [
|
|
216
232
|
{
|
|
@@ -224,7 +240,8 @@
|
|
|
224
240
|
"color": "THEME_COLORS.ICON",
|
|
225
241
|
"fontSize": "16",
|
|
226
242
|
"flex": 0
|
|
227
|
-
}
|
|
243
|
+
},
|
|
244
|
+
"testID": "BIcon-test-id"
|
|
228
245
|
},
|
|
229
246
|
"children": null
|
|
230
247
|
},
|
|
@@ -237,7 +254,8 @@
|
|
|
237
254
|
"flex": 1,
|
|
238
255
|
"color": "STATIC_COLORS.WHITE",
|
|
239
256
|
"fontWeight": "700"
|
|
240
|
-
}
|
|
257
|
+
},
|
|
258
|
+
"testID": "text-test-id"
|
|
241
259
|
},
|
|
242
260
|
"children": "@benefit3 — Cancel anytime"
|
|
243
261
|
}
|
|
@@ -253,7 +271,8 @@
|
|
|
253
271
|
"styles": {
|
|
254
272
|
"borderRadius": 12,
|
|
255
273
|
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
256
|
-
}
|
|
274
|
+
},
|
|
275
|
+
"testID": "PaywallOptions-test-id"
|
|
257
276
|
},
|
|
258
277
|
"children": [
|
|
259
278
|
{
|
|
@@ -263,7 +282,8 @@
|
|
|
263
282
|
"title": "Product Radio(s)",
|
|
264
283
|
"styles": {
|
|
265
284
|
"flex": 1
|
|
266
|
-
}
|
|
285
|
+
},
|
|
286
|
+
"testID": "RadioButton-test-id"
|
|
267
287
|
},
|
|
268
288
|
"children": null
|
|
269
289
|
},
|
|
@@ -274,7 +294,8 @@
|
|
|
274
294
|
"title": "Product Desc(s)",
|
|
275
295
|
"styles": {
|
|
276
296
|
"flex": 4
|
|
277
|
-
}
|
|
297
|
+
},
|
|
298
|
+
"testID": "text-test-id"
|
|
278
299
|
},
|
|
279
300
|
"children": "@productDescription — Unlock all premium features for a month."
|
|
280
301
|
},
|
|
@@ -286,7 +307,8 @@
|
|
|
286
307
|
"styles": {
|
|
287
308
|
"flex": 1,
|
|
288
309
|
"textAlign": "right"
|
|
289
|
-
}
|
|
310
|
+
},
|
|
311
|
+
"testID": "text-test-id"
|
|
290
312
|
},
|
|
291
313
|
"children": "@localizedPrice"
|
|
292
314
|
},
|
|
@@ -302,7 +324,8 @@
|
|
|
302
324
|
"flex": 0,
|
|
303
325
|
"width": 32,
|
|
304
326
|
"color": "STATIC_COLORS.BLACK"
|
|
305
|
-
}
|
|
327
|
+
},
|
|
328
|
+
"testID": "BIcon-test-id"
|
|
306
329
|
},
|
|
307
330
|
"children": null
|
|
308
331
|
}
|
|
@@ -318,7 +341,8 @@
|
|
|
318
341
|
"fontWeight": "700",
|
|
319
342
|
"fontSize": 40,
|
|
320
343
|
"textAlign": "center"
|
|
321
|
-
}
|
|
344
|
+
},
|
|
345
|
+
"testID": "CountDown-test-id"
|
|
322
346
|
},
|
|
323
347
|
"children": null
|
|
324
348
|
},
|
|
@@ -333,7 +357,8 @@
|
|
|
333
357
|
"justifyContent": "flex-end",
|
|
334
358
|
"alignItems": "stretch",
|
|
335
359
|
"paddingBottom": "50px"
|
|
336
|
-
}
|
|
360
|
+
},
|
|
361
|
+
"testID": "View-test-id"
|
|
337
362
|
},
|
|
338
363
|
"children": [
|
|
339
364
|
{
|
|
@@ -341,7 +366,8 @@
|
|
|
341
366
|
"children": "Subscribe Now",
|
|
342
367
|
"attributes": {
|
|
343
368
|
"description": "Subscription confirm button.",
|
|
344
|
-
"title": "Subscribe"
|
|
369
|
+
"title": "Subscribe",
|
|
370
|
+
"testID": "PaywallSubscribeButton-test-id"
|
|
345
371
|
}
|
|
346
372
|
}
|
|
347
373
|
]
|
|
@@ -351,5 +377,8 @@
|
|
|
351
377
|
]
|
|
352
378
|
}
|
|
353
379
|
]
|
|
380
|
+
},
|
|
381
|
+
"attributes": {
|
|
382
|
+
"testID": "paywall-test-id"
|
|
354
383
|
}
|
|
355
384
|
}
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"gap": 12,
|
|
16
16
|
"padding": 16,
|
|
17
17
|
"backgroundColor": "#F5F7FA"
|
|
18
|
-
}
|
|
18
|
+
},
|
|
19
|
+
"testID": "View-test-id"
|
|
19
20
|
},
|
|
20
21
|
"children": [
|
|
21
22
|
{
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
"color": "#111827",
|
|
29
30
|
"fontSize": 24,
|
|
30
31
|
"fontWeight": "600"
|
|
31
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"testID": "Text-test-id"
|
|
32
34
|
}
|
|
33
35
|
},
|
|
34
36
|
{
|
|
@@ -41,9 +43,13 @@
|
|
|
41
43
|
"color": "#6B7280",
|
|
42
44
|
"fontSize": 14,
|
|
43
45
|
"fontWeight": "400"
|
|
44
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"testID": "Text-test-id"
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
]
|
|
51
|
+
},
|
|
52
|
+
"attributes": {
|
|
53
|
+
"testID": "other-test-id"
|
|
48
54
|
}
|
|
49
55
|
}
|