@developer_tribe/react-builder 1.0.6 → 1.0.7

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 (63) hide show
  1. package/dist/build-components/patterns.generated.d.ts +56 -56
  2. package/dist/components/AttributesEditorPanel.d.ts +2 -2
  3. package/dist/components/BottomBar.d.ts +6 -2
  4. package/dist/components/Checkbox.d.ts +1 -1
  5. package/dist/index.cjs.js +3 -3
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.d.ts +2 -1
  8. package/dist/index.esm.js +3 -3
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.native.cjs.js +1 -1
  11. package/dist/index.native.cjs.js.map +1 -1
  12. package/dist/index.native.esm.js +4 -4
  13. package/dist/index.native.esm.js.map +1 -1
  14. package/dist/modals/ScreenColorsModal.d.ts +1 -1
  15. package/dist/pages/ProjectPage.d.ts +3 -2
  16. package/dist/pages/tabs/BuilderPanel.d.ts +2 -2
  17. package/dist/pages/tabs/SideTool.d.ts +8 -0
  18. package/dist/store.d.ts +0 -6
  19. package/dist/styles.css +1 -1
  20. package/package.json +5 -2
  21. package/src/RenderPage.tsx +1 -4
  22. package/src/assets/samples/carousel-sample.json +81 -99
  23. package/src/assets/samples/simple-1.json +2 -8
  24. package/src/assets/samples/simple-2.json +9 -36
  25. package/src/assets/samples/vpn-onboard-1.json +23 -27
  26. package/src/assets/samples/vpn-onboard-2.json +275 -279
  27. package/src/assets/samples/vpn-onboard-3.json +246 -247
  28. package/src/assets/samples/vpn-onboard-4.json +246 -247
  29. package/src/assets/samples/vpn-onboard-5.json +369 -375
  30. package/src/assets/samples/vpn-onboard-6.json +248 -252
  31. package/src/build-components/View/pattern.json +2 -2
  32. package/src/build-components/patterns.generated.ts +56 -56
  33. package/src/components/AttributesEditorPanel.tsx +8 -12
  34. package/src/components/BottomBar.tsx +75 -69
  35. package/src/components/EditorHeader.tsx +4 -11
  36. package/src/index.ts +2 -1
  37. package/src/modals/ScreenColorsModal.tsx +57 -51
  38. package/src/pages/ProjectPage.tsx +168 -69
  39. package/src/pages/tabs/BuilderPanel.tsx +8 -14
  40. package/src/pages/tabs/SideTool.tsx +253 -0
  41. package/src/store.ts +6 -10
  42. package/src/styles/base/_global.scss +29 -32
  43. package/src/styles/components/_attributes-editor.scss +27 -33
  44. package/src/styles/components/_bottom-bar.scss +11 -23
  45. package/src/styles/components/_editor-shell.scss +38 -18
  46. package/src/styles/components/_mockos-router.scss +16 -14
  47. package/src/styles/components/_ui-components.scss +14 -15
  48. package/src/styles/foundation/_colors.scss +28 -8
  49. package/src/styles/foundation/_mixins.scss +1 -1
  50. package/src/styles/foundation/_sizes.scss +4 -2
  51. package/src/styles/layout/_builder.scss +1 -1
  52. package/src/styles/modals/_add-component.scss +2 -2
  53. package/src/styles/modals/_color-modal.scss +2 -2
  54. package/src/styles/modals/_modal-shell.scss +1 -1
  55. package/src/utils/analyseNodeByPatterns.ts +0 -15
  56. package/dist/components/MobilePanelToggleButton.d.ts +0 -8
  57. package/dist/hooks/useMinimumDelay.d.ts +0 -7
  58. package/dist/hooks/useMobileEditorPanels.d.ts +0 -12
  59. package/dist/hooks/useSyncProjectPageStore.d.ts +0 -15
  60. package/src/components/MobilePanelToggleButton.tsx +0 -39
  61. package/src/hooks/useMinimumDelay.ts +0 -20
  62. package/src/hooks/useMobileEditorPanels.ts +0 -56
  63. package/src/hooks/useSyncProjectPageStore.ts +0 -40
@@ -92,8 +92,7 @@
92
92
  "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/6c89e0da17a2d6fe2997e97a2b8a00a1.png",
93
93
  "height": 350,
94
94
  "resizeMode": "contain"
95
- },
96
- "children": null
95
+ }
97
96
  },
98
97
  {
99
98
  "type": "OnboardSubtitle",
@@ -125,8 +124,7 @@
125
124
  "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/497a627b30ab4a0daaafa3d648a26b07.png",
126
125
  "height": 350,
127
126
  "resizeMode": "contain"
128
- },
129
- "children": null
127
+ }
130
128
  },
131
129
  {
132
130
  "type": "OnboardSubtitle",
@@ -158,8 +156,7 @@
158
156
  "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/6e2bc370d38695f6845007fd302034c2.png",
159
157
  "height": 350,
160
158
  "resizeMode": "contain"
161
- },
162
- "children": null
159
+ }
163
160
  },
164
161
  {
165
162
  "type": "OnboardSubtitle",
@@ -191,8 +188,7 @@
191
188
  "src": "https://textcall-dev.s3.amazonaws.com/onboard/high/b6e978fe3362e857212163486c22cc7c.png",
192
189
  "height": 350,
193
190
  "resizeMode": "contain"
194
- },
195
- "children": null
191
+ }
196
192
  },
197
193
  {
198
194
  "type": "OnboardSubtitle",
@@ -213,8 +209,7 @@
213
209
  "dotType": "expanding_dot",
214
210
  "expanding_dot_width": 20,
215
211
  "active_dot_color": "#007AFF"
216
- },
217
- "children": null
212
+ }
218
213
  },
219
214
  {
220
215
  "type": "OnboardButtons",
@@ -234,11 +229,11 @@
234
229
  "events": [
235
230
  {
236
231
  "type": "Navigate",
232
+ "navigate_to": null,
237
233
  "targetIndex": 3
238
234
  }
239
235
  ]
240
- },
241
- "children": null
236
+ }
242
237
  },
243
238
  {
244
239
  "type": "OnboardButton",
@@ -250,11 +245,11 @@
250
245
  "events": [
251
246
  {
252
247
  "type": "Navigate",
248
+ "navigate_to": null,
253
249
  "targetIndex": 1
254
250
  }
255
251
  ]
256
- },
257
- "children": null
252
+ }
258
253
  }
259
254
  ]
260
255
  },
@@ -280,11 +275,11 @@
280
275
  },
281
276
  {
282
277
  "type": "Navigate",
278
+ "navigate_to": null,
283
279
  "targetIndex": 3
284
280
  }
285
281
  ]
286
- },
287
- "children": null
282
+ }
288
283
  },
289
284
  {
290
285
  "type": "OnboardButton",
@@ -300,11 +295,11 @@
300
295
  },
301
296
  {
302
297
  "type": "Navigate",
298
+ "navigate_to": null,
303
299
  "targetIndex": 2
304
300
  }
305
301
  ]
306
- },
307
- "children": null
302
+ }
308
303
  }
309
304
  ]
310
305
  },
@@ -326,11 +321,11 @@
326
321
  "events": [
327
322
  {
328
323
  "type": "Navigate",
324
+ "navigate_to": null,
329
325
  "targetIndex": 3
330
326
  }
331
327
  ]
332
- },
333
- "children": null
328
+ }
334
329
  },
335
330
  {
336
331
  "type": "OnboardButton",
@@ -346,11 +341,11 @@
346
341
  },
347
342
  {
348
343
  "type": "Navigate",
344
+ "navigate_to": null,
349
345
  "targetIndex": 3
350
346
  }
351
347
  ]
352
- },
353
- "children": null
348
+ }
354
349
  }
355
350
  ]
356
351
  },
@@ -379,8 +374,7 @@
379
374
  "navigate_to": "home"
380
375
  }
381
376
  ]
382
- },
383
- "children": null
377
+ }
384
378
  }
385
379
  ]
386
380
  },
@@ -396,10 +390,12 @@
396
390
  "linkedWordSecondLocalizationKey": "view.onboarding.btnTerms",
397
391
  "linkedWordSecondColor": "#1778F2",
398
392
  "linkedWordSecondPage": "terms"
399
- },
400
- "children": null
393
+ }
401
394
  }
402
- ]
395
+ ],
396
+ "attributes": {
397
+ "theme": "dark"
398
+ }
403
399
  }
404
400
  ]
405
401
  }