@developer_tribe/react-builder 1.2.19 → 1.2.20

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 (38) hide show
  1. package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +2 -1
  2. package/dist/build-components/patterns.generated.d.ts +23 -8
  3. package/dist/index.cjs.js +3 -3
  4. package/dist/index.cjs.js.map +1 -1
  5. package/dist/index.esm.js +1 -1
  6. package/dist/index.esm.js.map +1 -1
  7. package/dist/index.web.cjs.js +6 -6
  8. package/dist/index.web.cjs.js.map +1 -1
  9. package/dist/index.web.esm.js +3 -3
  10. package/dist/index.web.esm.js.map +1 -1
  11. package/dist/styles.css +1 -1
  12. package/package.json +1 -1
  13. package/src/assets/meta.json +1 -1
  14. package/src/assets/samples/carousel-sample.json +51 -51
  15. package/src/assets/samples/paywall-1.json +77 -77
  16. package/src/assets/samples/paywall-2.json +76 -76
  17. package/src/assets/samples/simple-1.json +13 -13
  18. package/src/assets/samples/simple-2.json +97 -97
  19. package/src/assets/samples/unmigrated-builder-1.1.1.json +25 -25
  20. package/src/assets/samples/unmigrated-builder1.json +1 -1
  21. package/src/assets/samples/unvalidated-builder1.json +15 -15
  22. package/src/assets/samples/unvalidated-crash1.json +4 -4
  23. package/src/assets/samples/vpn-onboard-1.json +100 -78
  24. package/src/assets/samples/vpn-onboard-2.json +97 -75
  25. package/src/assets/samples/vpn-onboard-3.json +103 -79
  26. package/src/assets/samples/vpn-onboard-4.json +103 -79
  27. package/src/assets/samples/vpn-onboard-5.json +139 -108
  28. package/src/assets/samples/vpn-onboard-6.json +100 -81
  29. package/src/build-components/CarouselDots/CarouselDots.tsx +112 -12
  30. package/src/build-components/OnboardDot/OnboardDot.tsx +74 -40
  31. package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +2 -1
  32. package/src/build-components/OnboardDot/pattern.json +28 -10
  33. package/src/build-components/patterns.generated.ts +23 -8
  34. package/src/build-components/useNode.ts +20 -4
  35. package/src/pages/DebugJsonPage.tsx +80 -1
  36. package/src/styles/utilities/_carousel.scss +0 -32
  37. package/src/utils/analyseNodeByPatterns.ts +16 -6
  38. package/src/utils/novaToJson.ts +7 -3
@@ -47,8 +47,9 @@ export interface OnboardDotPropsGenerated {
47
47
  title?: string;
48
48
  description?: string;
49
49
  dotType?: DotTypeOptionType;
50
+ dot_thickness?: string;
50
51
  inactive_dot_opacity?: number;
51
- expanding_dot_width?: string;
52
+ inactive_dot_color?: string;
52
53
  active_dot_color?: string;
53
54
  flexDirection?: never;
54
55
  alignItems?: never;
@@ -5837,8 +5837,9 @@ export declare const patterns: readonly [{
5837
5837
  readonly title: "title";
5838
5838
  readonly description: "description";
5839
5839
  readonly dotType: readonly ["expanding_dot", "normal_dot", "scaling_dot", "sliding_border", "sliding_dot", "liquid_like"];
5840
+ readonly dot_thickness: "size";
5840
5841
  readonly inactive_dot_opacity: "number";
5841
- readonly expanding_dot_width: "size";
5842
+ readonly inactive_dot_color: "color";
5842
5843
  readonly active_dot_color: "color";
5843
5844
  readonly flexDirection: "never";
5844
5845
  readonly alignItems: "never";
@@ -5903,21 +5904,28 @@ export declare const patterns: readonly [{
5903
5904
  readonly description: "Opacity for inactive dots.";
5904
5905
  readonly category: "style";
5905
5906
  readonly specialCategory: null;
5906
- readonly sort: 2;
5907
+ readonly sort: 3;
5907
5908
  };
5908
- readonly expanding_dot_width: {
5909
- readonly label: "Expanding Dot Width";
5910
- readonly description: "Width used while expanding.";
5909
+ readonly inactive_dot_color: {
5910
+ readonly label: "Inactive Dot Color";
5911
+ readonly description: "Color of inactive dots.";
5911
5912
  readonly category: "style";
5912
5913
  readonly specialCategory: null;
5913
- readonly sort: 3;
5914
+ readonly sort: 4;
5915
+ };
5916
+ readonly dot_thickness: {
5917
+ readonly label: "Dot Thickness";
5918
+ readonly description: "Dot size/diameter.";
5919
+ readonly category: "style";
5920
+ readonly specialCategory: null;
5921
+ readonly sort: 2;
5914
5922
  };
5915
5923
  readonly active_dot_color: {
5916
5924
  readonly label: "Active Dot Color";
5917
5925
  readonly description: "Color of the active dot.";
5918
5926
  readonly category: "style";
5919
5927
  readonly specialCategory: null;
5920
- readonly sort: 4;
5928
+ readonly sort: 5;
5921
5929
  };
5922
5930
  };
5923
5931
  readonly attributes: {
@@ -6174,13 +6182,20 @@ export declare const patterns: readonly [{
6174
6182
  };
6175
6183
  readonly defaults: {
6176
6184
  readonly style: {
6177
- readonly flexDirection: "column";
6185
+ readonly flexDirection: "row";
6178
6186
  readonly position: "relative";
6179
6187
  readonly zIndex: 1;
6180
6188
  readonly alignSelf: "flex-start";
6181
6189
  readonly flexGrow: 0;
6182
6190
  readonly flexShrink: 0;
6191
+ readonly alignItems: "center";
6192
+ readonly justifyContent: "center";
6193
+ readonly gap: "12@s";
6183
6194
  };
6195
+ readonly dotType: "expanding_dot";
6196
+ readonly dot_thickness: 10;
6197
+ readonly inactive_dot_opacity: 0.3;
6198
+ readonly active_dot_color: "#007AFF";
6184
6199
  };
6185
6200
  readonly types: {};
6186
6201
  }, {