@developer_tribe/react-builder 1.2.39 → 1.2.40

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.
Files changed (79) hide show
  1. package/dist/build-components/NavigationBarColor/NavigationBarColorProps.generated.d.ts +1 -40
  2. package/dist/build-components/StatusBarColor/StatusBarColorProps.generated.d.ts +1 -1
  3. package/dist/build-components/patterns.generated.d.ts +21 -344
  4. package/dist/components/BuilderProvider.d.ts +1 -0
  5. package/dist/components/DeviceButton.d.ts +4 -1
  6. package/dist/index.cjs.js +1 -1
  7. package/dist/index.cjs.js.map +1 -1
  8. package/dist/index.esm.js +1 -1
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.web.cjs.js +4 -4
  11. package/dist/index.web.cjs.js.map +1 -1
  12. package/dist/index.web.esm.js +4 -4
  13. package/dist/index.web.esm.js.map +1 -1
  14. package/dist/mockOS/context/MockOSContext.d.ts +3 -1
  15. package/dist/size-matters/index.d.ts +1 -1
  16. package/dist/store.d.ts +6 -0
  17. package/dist/styles.css +1 -1
  18. package/dist/types/Device.d.ts +5 -0
  19. package/dist/utils/extractTextStyle/extractTextStyle.d.ts +1 -0
  20. package/dist/utils/extractViewStyle/extractViewStyle.d.ts +1 -0
  21. package/package.json +1 -1
  22. package/scripts/prebuild/assets/prompt_scheme.md +7 -0
  23. package/src/DeviceMockFrame.tsx +8 -0
  24. package/src/RenderPage.tsx +3 -0
  25. package/src/assets/devices.json +747 -183
  26. package/src/assets/meta.json +1 -1
  27. package/src/assets/prompt-scheme-onboard.generated.ts +1 -1
  28. package/src/assets/prompt-scheme-paywall.generated.ts +1 -1
  29. package/src/assets/samples/carousel-sample.json +30 -26
  30. package/src/assets/samples/paywall-1.json +30 -30
  31. package/src/assets/samples/paywall-2.json +26 -26
  32. package/src/assets/samples/paywall-app-delete-offer.json +27 -27
  33. package/src/assets/samples/paywall-app-open-offer.json +27 -27
  34. package/src/assets/samples/paywall-back-offer.json +27 -27
  35. package/src/assets/samples/paywall-notification-offer.json +27 -27
  36. package/src/assets/samples/simple-1.json +4 -4
  37. package/src/assets/samples/simple-2.json +25 -25
  38. package/src/assets/samples/unmigrated-builder-1.1.1.json +7 -7
  39. package/src/assets/samples/unmigrated-builder1.json +4 -4
  40. package/src/assets/samples/unvalidated-builder1.json +4 -4
  41. package/src/assets/samples/unvalidated-crash1.json +2 -2
  42. package/src/assets/samples/unvalidated-crashcomponent1.json +2 -2
  43. package/src/assets/samples/vpn-onboard-1.json +30 -30
  44. package/src/assets/samples/vpn-onboard-2.json +30 -30
  45. package/src/assets/samples/vpn-onboard-3.json +27 -27
  46. package/src/assets/samples/vpn-onboard-4.json +27 -27
  47. package/src/assets/samples/vpn-onboard-5.json +40 -40
  48. package/src/assets/samples/vpn-onboard-6.json +30 -30
  49. package/src/assets/samples/vpn-onboard-7.json +29 -29
  50. package/src/attribute-analyser/style/web/useExtractImageStyle.ts +8 -3
  51. package/src/attribute-analyser/style/web/useExtractViewStyle.ts +8 -3
  52. package/src/build-components/CarouselDots/CarouselDots.tsx +8 -3
  53. package/src/build-components/Main/Main.tsx +3 -1
  54. package/src/build-components/NavigationBarColor/NavigationBarColor.tsx +15 -1
  55. package/src/build-components/NavigationBarColor/NavigationBarColorProps.generated.ts +1 -52
  56. package/src/build-components/NavigationBarColor/pattern.json +11 -2
  57. package/src/build-components/OnboardDot/OnboardDot.tsx +3 -2
  58. package/src/build-components/PaywallCloseButton/pattern.json +1 -0
  59. package/src/build-components/StatusBarColor/StatusBarColor.tsx +15 -1
  60. package/src/build-components/StatusBarColor/StatusBarColorProps.generated.ts +1 -1
  61. package/src/build-components/StatusBarColor/pattern.json +10 -1
  62. package/src/build-components/patterns.generated.ts +25 -364
  63. package/src/components/BuilderProvider.tsx +1 -0
  64. package/src/components/DeviceButton.tsx +35 -0
  65. package/src/components/EditorHeader.tsx +16 -1
  66. package/src/hooks/useSafeAreaViewStyle.ts +24 -4
  67. package/src/mockOS/context/MockOSContext.tsx +41 -13
  68. package/src/modals/DeviceSelectorModal.tsx +94 -10
  69. package/src/product-base/extractAndroidParams.ts +38 -8
  70. package/src/size-matters/index.ts +15 -9
  71. package/src/store.ts +27 -0
  72. package/src/styles/modals/_product-edit-modal.scss +2 -2
  73. package/src/types/Device.ts +5 -0
  74. package/src/utils/analyseNodeByPatterns.ts +6 -2
  75. package/src/utils/extractTextStyle/extractTextStyle.ts +3 -1
  76. package/src/utils/extractTextStyle/extractTextStyleNative.ts +1 -1
  77. package/src/utils/extractViewStyle/extractViewStyle.ts +19 -5
  78. package/src/utils/extractViewStyle/extractViewStyleNative.ts +5 -1
  79. package/src/utils/replaceLocalizationParams.ts +5 -7
@@ -9,7 +9,7 @@
9
9
  "useSafeAreaView": true,
10
10
  "description": "Main container for Notification Offer.",
11
11
  "title": "Main",
12
- "testID": "Main-test-id"
12
+ "testID": "Main-test-id-1"
13
13
  },
14
14
  "children": [
15
15
  {
@@ -20,7 +20,7 @@
20
20
  "styles": {
21
21
  "backgroundColor": "THEME_COLORS.BACKGROUND"
22
22
  },
23
- "testID": "StatusBarColor-test-id"
23
+ "testID": "StatusBarColor-test-id-1"
24
24
  },
25
25
  "children": null
26
26
  },
@@ -32,7 +32,7 @@
32
32
  "styles": {
33
33
  "backgroundColor": "THEME_COLORS.BACKGROUND"
34
34
  },
35
- "testID": "NavigationBarColor-test-id"
35
+ "testID": "NavigationBarColor-test-id-1"
36
36
  },
37
37
  "children": null
38
38
  },
@@ -49,7 +49,7 @@
49
49
  "position": "relative",
50
50
  "backgroundColor": "THEME_COLORS.BACKGROUND"
51
51
  },
52
- "testID": "PaywallProvider-test-id"
52
+ "testID": "PaywallProvider-test-id-1"
53
53
  },
54
54
  "children": [
55
55
  {
@@ -58,7 +58,7 @@
58
58
  "src": "https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=1200&q=80",
59
59
  "description": "Paywall background.",
60
60
  "title": "Paywall Background",
61
- "testID": "PaywallBackground-test-id"
61
+ "testID": "PaywallBackground-test-id-1"
62
62
  },
63
63
  "children": null
64
64
  },
@@ -72,7 +72,7 @@
72
72
  "gap": 16,
73
73
  "flex": 1
74
74
  },
75
- "testID": "View-test-id"
75
+ "testID": "View-test-id-1"
76
76
  },
77
77
  "children": [
78
78
  {
@@ -88,7 +88,7 @@
88
88
  "alignItems": "center",
89
89
  "justifyContent": "center"
90
90
  },
91
- "testID": "PaywallCloseButton-test-id"
91
+ "testID": "PaywallCloseButton-test-id-1"
92
92
  },
93
93
  "children": null
94
94
  },
@@ -103,7 +103,7 @@
103
103
  "fontSize": 28,
104
104
  "textAlign": "center"
105
105
  },
106
- "testID": "text-test-id"
106
+ "testID": "text-test-id-1"
107
107
  },
108
108
  "children": "Notification Offer"
109
109
  },
@@ -117,7 +117,7 @@
117
117
  "gap": 4,
118
118
  "marginTop": "12%"
119
119
  },
120
- "testID": "View-test-id"
120
+ "testID": "View-test-id-2"
121
121
  },
122
122
  "children": [
123
123
  {
@@ -132,7 +132,7 @@
132
132
  "paddingVertical": 8,
133
133
  "paddingHorizontal": 12
134
134
  },
135
- "testID": "View-test-id"
135
+ "testID": "View-test-id-3"
136
136
  },
137
137
  "children": [
138
138
  {
@@ -147,7 +147,7 @@
147
147
  "fontSize": "16",
148
148
  "flex": 0
149
149
  },
150
- "testID": "BIcon-test-id"
150
+ "testID": "BIcon-test-id-1"
151
151
  },
152
152
  "children": null
153
153
  },
@@ -161,7 +161,7 @@
161
161
  "color": "STATIC_COLORS.WHITE",
162
162
  "fontWeight": "700"
163
163
  },
164
- "testID": "text-test-id"
164
+ "testID": "text-test-id-2"
165
165
  },
166
166
  "children": "@benefit1 — Unlimited access"
167
167
  }
@@ -179,7 +179,7 @@
179
179
  "paddingVertical": 8,
180
180
  "paddingHorizontal": 12
181
181
  },
182
- "testID": "View-test-id"
182
+ "testID": "View-test-id-4"
183
183
  },
184
184
  "children": [
185
185
  {
@@ -194,7 +194,7 @@
194
194
  "fontSize": "16",
195
195
  "flex": 0
196
196
  },
197
- "testID": "BIcon-test-id"
197
+ "testID": "BIcon-test-id-2"
198
198
  },
199
199
  "children": null
200
200
  },
@@ -208,7 +208,7 @@
208
208
  "color": "STATIC_COLORS.WHITE",
209
209
  "fontWeight": "700"
210
210
  },
211
- "testID": "text-test-id"
211
+ "testID": "text-test-id-3"
212
212
  },
213
213
  "children": "@benefit2 — 7-day free trial"
214
214
  }
@@ -226,7 +226,7 @@
226
226
  "paddingVertical": 8,
227
227
  "paddingHorizontal": 12
228
228
  },
229
- "testID": "View-test-id"
229
+ "testID": "View-test-id-5"
230
230
  },
231
231
  "children": [
232
232
  {
@@ -241,7 +241,7 @@
241
241
  "fontSize": "16",
242
242
  "flex": 0
243
243
  },
244
- "testID": "BIcon-test-id"
244
+ "testID": "BIcon-test-id-3"
245
245
  },
246
246
  "children": null
247
247
  },
@@ -255,7 +255,7 @@
255
255
  "color": "STATIC_COLORS.WHITE",
256
256
  "fontWeight": "700"
257
257
  },
258
- "testID": "text-test-id"
258
+ "testID": "text-test-id-4"
259
259
  },
260
260
  "children": "@benefit3 — Cancel anytime"
261
261
  }
@@ -272,7 +272,7 @@
272
272
  "borderRadius": 12,
273
273
  "backgroundColor": "THEME_COLORS.BACKGROUND"
274
274
  },
275
- "testID": "PaywallOptions-test-id"
275
+ "testID": "PaywallOptions-test-id-1"
276
276
  },
277
277
  "children": [
278
278
  {
@@ -283,7 +283,7 @@
283
283
  "styles": {
284
284
  "flex": 1
285
285
  },
286
- "testID": "RadioButton-test-id"
286
+ "testID": "RadioButton-test-id-1"
287
287
  },
288
288
  "children": null
289
289
  },
@@ -295,7 +295,7 @@
295
295
  "styles": {
296
296
  "flex": 4
297
297
  },
298
- "testID": "text-test-id"
298
+ "testID": "text-test-id-5"
299
299
  },
300
300
  "children": "@productDescription — Unlock all premium features for a month."
301
301
  },
@@ -308,7 +308,7 @@
308
308
  "flex": 1,
309
309
  "textAlign": "right"
310
310
  },
311
- "testID": "text-test-id"
311
+ "testID": "text-test-id-6"
312
312
  },
313
313
  "children": "@localizedPrice"
314
314
  },
@@ -325,7 +325,7 @@
325
325
  "width": 32,
326
326
  "color": "STATIC_COLORS.BLACK"
327
327
  },
328
- "testID": "BIcon-test-id"
328
+ "testID": "BIcon-test-id-4"
329
329
  },
330
330
  "children": null
331
331
  }
@@ -342,7 +342,7 @@
342
342
  "fontSize": 40,
343
343
  "textAlign": "center"
344
344
  },
345
- "testID": "CountDown-test-id"
345
+ "testID": "CountDown-test-id-1"
346
346
  },
347
347
  "children": null
348
348
  },
@@ -358,7 +358,7 @@
358
358
  "alignItems": "stretch",
359
359
  "paddingBottom": "50px"
360
360
  },
361
- "testID": "View-test-id"
361
+ "testID": "View-test-id-6"
362
362
  },
363
363
  "children": [
364
364
  {
@@ -367,7 +367,7 @@
367
367
  "attributes": {
368
368
  "description": "Subscription confirm button.",
369
369
  "title": "Subscribe",
370
- "testID": "PaywallSubscribeButton-test-id"
370
+ "testID": "PaywallSubscribeButton-test-id-1"
371
371
  }
372
372
  }
373
373
  ]
@@ -379,6 +379,6 @@
379
379
  ]
380
380
  },
381
381
  "attributes": {
382
- "testID": "paywall-test-id"
382
+ "testID": "paywall-test-id-1"
383
383
  }
384
384
  }
@@ -16,7 +16,7 @@
16
16
  "padding": 16,
17
17
  "backgroundColor": "#F5F7FA"
18
18
  },
19
- "testID": "View-test-id"
19
+ "testID": "View-test-id-1"
20
20
  },
21
21
  "children": [
22
22
  {
@@ -30,7 +30,7 @@
30
30
  "fontSize": 24,
31
31
  "fontWeight": "600"
32
32
  },
33
- "testID": "Text-test-id"
33
+ "testID": "Text-test-id-1"
34
34
  }
35
35
  },
36
36
  {
@@ -44,12 +44,12 @@
44
44
  "fontSize": 14,
45
45
  "fontWeight": "400"
46
46
  },
47
- "testID": "Text-test-id"
47
+ "testID": "Text-test-id-2"
48
48
  }
49
49
  }
50
50
  ]
51
51
  },
52
52
  "attributes": {
53
- "testID": "other-test-id"
53
+ "testID": "other-test-id-1"
54
54
  }
55
55
  }
@@ -16,7 +16,7 @@
16
16
  "padding": 16,
17
17
  "backgroundColor": "#F3F4F6"
18
18
  },
19
- "testID": "view-test-id"
19
+ "testID": "view-test-id-1"
20
20
  },
21
21
  "children": [
22
22
  {
@@ -32,7 +32,7 @@
32
32
  "backgroundColor": "#111827",
33
33
  "borderRadius": 12
34
34
  },
35
- "testID": "view-test-id"
35
+ "testID": "view-test-id-2"
36
36
  },
37
37
  "children": [
38
38
  {
@@ -46,7 +46,7 @@
46
46
  "fontSize": 20,
47
47
  "fontWeight": "600"
48
48
  },
49
- "testID": "text-test-id"
49
+ "testID": "text-test-id-1"
50
50
  }
51
51
  },
52
52
  {
@@ -58,7 +58,7 @@
58
58
  "flexDirection": "row",
59
59
  "gap": 8
60
60
  },
61
- "testID": "view-test-id"
61
+ "testID": "view-test-id-3"
62
62
  },
63
63
  "children": [
64
64
  {
@@ -71,7 +71,7 @@
71
71
  "color": "#D1D5DB",
72
72
  "fontSize": 14
73
73
  },
74
- "testID": "text-test-id"
74
+ "testID": "text-test-id-2"
75
75
  }
76
76
  },
77
77
  {
@@ -84,7 +84,7 @@
84
84
  "color": "#D1D5DB",
85
85
  "fontSize": 14
86
86
  },
87
- "testID": "text-test-id"
87
+ "testID": "text-test-id-3"
88
88
  }
89
89
  }
90
90
  ]
@@ -102,7 +102,7 @@
102
102
  "height": 160,
103
103
  "borderRadius": 12
104
104
  },
105
- "testID": "image-test-id"
105
+ "testID": "image-test-id-1"
106
106
  },
107
107
  "children": null
108
108
  },
@@ -118,7 +118,7 @@
118
118
  "backgroundColor": "#FFFFFF",
119
119
  "borderRadius": 12
120
120
  },
121
- "testID": "view-test-id"
121
+ "testID": "view-test-id-4"
122
122
  },
123
123
  "children": [
124
124
  {
@@ -132,7 +132,7 @@
132
132
  "fontSize": 18,
133
133
  "fontWeight": "600"
134
134
  },
135
- "testID": "text-test-id"
135
+ "testID": "text-test-id-4"
136
136
  }
137
137
  },
138
138
  {
@@ -145,7 +145,7 @@
145
145
  "color": "#6B7280",
146
146
  "fontSize": 14
147
147
  },
148
- "testID": "text-test-id"
148
+ "testID": "text-test-id-5"
149
149
  }
150
150
  }
151
151
  ]
@@ -159,7 +159,7 @@
159
159
  "flexDirection": "column",
160
160
  "gap": 12
161
161
  },
162
- "testID": "view-test-id"
162
+ "testID": "view-test-id-5"
163
163
  },
164
164
  "children": [
165
165
  {
@@ -175,7 +175,7 @@
175
175
  "backgroundColor": "#FFFFFF",
176
176
  "borderRadius": 8
177
177
  },
178
- "testID": "view-test-id"
178
+ "testID": "view-test-id-6"
179
179
  },
180
180
  "children": [
181
181
  {
@@ -189,7 +189,7 @@
189
189
  "fontSize": 16,
190
190
  "fontWeight": "500"
191
191
  },
192
- "testID": "text-test-id"
192
+ "testID": "text-test-id-6"
193
193
  }
194
194
  },
195
195
  {
@@ -203,7 +203,7 @@
203
203
  "fontSize": 12,
204
204
  "fontWeight": "600"
205
205
  },
206
- "testID": "text-test-id"
206
+ "testID": "text-test-id-7"
207
207
  }
208
208
  }
209
209
  ]
@@ -221,7 +221,7 @@
221
221
  "backgroundColor": "#FFFFFF",
222
222
  "borderRadius": 8
223
223
  },
224
- "testID": "view-test-id"
224
+ "testID": "view-test-id-7"
225
225
  },
226
226
  "children": [
227
227
  {
@@ -235,7 +235,7 @@
235
235
  "fontSize": 16,
236
236
  "fontWeight": "500"
237
237
  },
238
- "testID": "text-test-id"
238
+ "testID": "text-test-id-8"
239
239
  }
240
240
  },
241
241
  {
@@ -249,7 +249,7 @@
249
249
  "fontSize": 12,
250
250
  "fontWeight": "600"
251
251
  },
252
- "testID": "text-test-id"
252
+ "testID": "text-test-id-9"
253
253
  }
254
254
  }
255
255
  ]
@@ -267,7 +267,7 @@
267
267
  "backgroundColor": "#FFFFFF",
268
268
  "borderRadius": 8
269
269
  },
270
- "testID": "view-test-id"
270
+ "testID": "view-test-id-8"
271
271
  },
272
272
  "children": [
273
273
  {
@@ -281,7 +281,7 @@
281
281
  "fontSize": 16,
282
282
  "fontWeight": "500"
283
283
  },
284
- "testID": "text-test-id"
284
+ "testID": "text-test-id-10"
285
285
  }
286
286
  },
287
287
  {
@@ -295,7 +295,7 @@
295
295
  "fontSize": 12,
296
296
  "fontWeight": "600"
297
297
  },
298
- "testID": "text-test-id"
298
+ "testID": "text-test-id-11"
299
299
  }
300
300
  }
301
301
  ]
@@ -315,7 +315,7 @@
315
315
  "backgroundColor": "#111827",
316
316
  "borderRadius": 12
317
317
  },
318
- "testID": "view-test-id"
318
+ "testID": "view-test-id-9"
319
319
  },
320
320
  "children": [
321
321
  {
@@ -328,7 +328,7 @@
328
328
  "color": "#FFFFFF",
329
329
  "fontSize": 14
330
330
  },
331
- "testID": "text-test-id"
331
+ "testID": "text-test-id-12"
332
332
  }
333
333
  },
334
334
  {
@@ -341,7 +341,7 @@
341
341
  "color": "#9CA3AF",
342
342
  "fontSize": 14
343
343
  },
344
- "testID": "text-test-id"
344
+ "testID": "text-test-id-13"
345
345
  }
346
346
  },
347
347
  {
@@ -354,7 +354,7 @@
354
354
  "color": "#9CA3AF",
355
355
  "fontSize": 14
356
356
  },
357
- "testID": "text-test-id"
357
+ "testID": "text-test-id-14"
358
358
  }
359
359
  }
360
360
  ]
@@ -362,6 +362,6 @@
362
362
  ]
363
363
  },
364
364
  "attributes": {
365
- "testID": "other-test-id"
365
+ "testID": "other-test-id-1"
366
366
  }
367
367
  }
@@ -16,7 +16,7 @@
16
16
  "padding": 24,
17
17
  "backgroundColor": "#F5F7FA"
18
18
  },
19
- "testID": "view-test-id"
19
+ "testID": "view-test-id-1"
20
20
  },
21
21
  "children": [
22
22
  {
@@ -30,7 +30,7 @@
30
30
  "color": "#111827",
31
31
  "textAlign": "center"
32
32
  },
33
- "testID": "text-test-id"
33
+ "testID": "text-test-id-1"
34
34
  },
35
35
  "children": "Intentionally unmigrated sample (for combined 1.1.2)"
36
36
  },
@@ -45,7 +45,7 @@
45
45
  "textAlign": "center",
46
46
  "paddingHorizontal": 8
47
47
  },
48
- "testID": "text-test-id"
48
+ "testID": "text-test-id-2"
49
49
  },
50
50
  "children": "This project has version 1.1.1 so the Migration page should appear. Click “Migrate now” to move component props and non-style flags out of attributes.style (combined 1.1.2)."
51
51
  },
@@ -61,7 +61,7 @@
61
61
  "gap": 12,
62
62
  "marginTop": 16
63
63
  },
64
- "testID": "view-test-id"
64
+ "testID": "view-test-id-2"
65
65
  },
66
66
  "children": [
67
67
  {
@@ -75,7 +75,7 @@
75
75
  "color": "#22c55e",
76
76
  "fontSize": "18"
77
77
  },
78
- "testID": "BIcon-test-id"
78
+ "testID": "BIcon-test-id-1"
79
79
  },
80
80
  "children": null
81
81
  },
@@ -91,7 +91,7 @@
91
91
  "resizeMode": "contain",
92
92
  "borderRadius": 12
93
93
  },
94
- "testID": "image-test-id"
94
+ "testID": "image-test-id-1"
95
95
  },
96
96
  "children": null
97
97
  }
@@ -100,6 +100,6 @@
100
100
  ]
101
101
  },
102
102
  "attributes": {
103
- "testID": "other-test-id"
103
+ "testID": "other-test-id-1"
104
104
  }
105
105
  }
@@ -14,7 +14,7 @@
14
14
  "backgroundColor": "#F5F7FA",
15
15
  "description": "view element 1 in sample.",
16
16
  "title": "view 1",
17
- "testID": "view-test-id"
17
+ "testID": "view-test-id-1"
18
18
  },
19
19
  "children": [
20
20
  {
@@ -26,7 +26,7 @@
26
26
  "textAlign": "center",
27
27
  "description": "text element 1 in sample.",
28
28
  "title": "text 1",
29
- "testID": "text-test-id"
29
+ "testID": "text-test-id-1"
30
30
  },
31
31
  "children": "Intentionally unmigrated sample"
32
32
  },
@@ -39,13 +39,13 @@
39
39
  "paddingHorizontal": 8,
40
40
  "description": "text element 2 in sample.",
41
41
  "title": "text 2",
42
- "testID": "text-test-id"
42
+ "testID": "text-test-id-2"
43
43
  },
44
44
  "children": "This project has version 1.0.0 so the Migration page should appear. Click “Migrate now” to normalize legacy flat style keys into attributes.style and move misplaced props out of style (combined 1.1.2)."
45
45
  }
46
46
  ]
47
47
  },
48
48
  "attributes": {
49
- "testID": "other-test-id"
49
+ "testID": "other-test-id-1"
50
50
  }
51
51
  }
@@ -17,7 +17,7 @@
17
17
  "padding": 24,
18
18
  "backgroundColor": "#F5F7FA"
19
19
  },
20
- "testID": "view-test-id"
20
+ "testID": "view-test-id-1"
21
21
  },
22
22
  "children": [
23
23
  {
@@ -31,7 +31,7 @@
31
31
  "color": "#111827",
32
32
  "textAlign": "center"
33
33
  },
34
- "testID": "text-test-id"
34
+ "testID": "text-test-id-1"
35
35
  },
36
36
  "children": "Intentionally unvalidated sample"
37
37
  },
@@ -46,13 +46,13 @@
46
46
  "textAlign": "center",
47
47
  "paddingHorizontal": 8
48
48
  },
49
- "testID": "text-test-id"
49
+ "testID": "text-test-id-2"
50
50
  },
51
51
  "children": "This project should fail validation (unknown attribute: foo). In the UI, choose “Continue without validation” to load it anyway."
52
52
  }
53
53
  ]
54
54
  },
55
55
  "attributes": {
56
- "testID": "other-test-id"
56
+ "testID": "other-test-id-1"
57
57
  }
58
58
  }
@@ -12,11 +12,11 @@
12
12
  "paddingHorizontal": 24,
13
13
  "paddingVertical": 16
14
14
  },
15
- "testID": "OnboardFooter-test-id"
15
+ "testID": "OnboardFooter-test-id-1"
16
16
  },
17
17
  "children": null
18
18
  },
19
19
  "attributes": {
20
- "testID": "other-test-id"
20
+ "testID": "other-test-id-1"
21
21
  }
22
22
  }
@@ -9,11 +9,11 @@
9
9
  "note": "This component is not in the Add Component modal; it only exists via JSON.",
10
10
  "description": "CrashComponent element 1 in sample.",
11
11
  "title": "CrashComponent 1",
12
- "testID": "CrashComponent-test-id"
12
+ "testID": "CrashComponent-test-id-1"
13
13
  },
14
14
  "children": null
15
15
  },
16
16
  "attributes": {
17
- "testID": "other-test-id"
17
+ "testID": "other-test-id-1"
18
18
  }
19
19
  }