@developer_tribe/react-builder 1.0.5 → 1.0.6

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