@developer_tribe/react-builder 1.2.38 → 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.
Files changed (78) hide show
  1. package/dist/build-components/BIcon/BIconProps.generated.d.ts +1 -1
  2. package/dist/build-components/CountDown/CountDownProps.generated.d.ts +1 -1
  3. package/dist/build-components/Image/ImageProps.generated.d.ts +2 -0
  4. package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -1
  5. package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +3 -1
  6. package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -1
  7. package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -1
  8. package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +1 -1
  9. package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -1
  10. package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +1 -1
  11. package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +1 -1
  12. package/dist/build-components/Pricing/PricingProps.generated.d.ts +1 -1
  13. package/dist/build-components/Promo/PromoProps.generated.d.ts +1 -1
  14. package/dist/build-components/patterns.generated.d.ts +30 -12
  15. package/dist/index.cjs.js +1 -1
  16. package/dist/index.cjs.js.map +1 -1
  17. package/dist/index.esm.js +1 -1
  18. package/dist/index.esm.js.map +1 -1
  19. package/dist/index.web.cjs.js +4 -4
  20. package/dist/index.web.cjs.js.map +1 -1
  21. package/dist/index.web.esm.js +2 -2
  22. package/dist/index.web.esm.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/assets/meta.json +1 -1
  25. package/src/assets/prompt-scheme-onboard.generated.ts +1 -1
  26. package/src/assets/prompt-scheme-paywall.generated.ts +1 -1
  27. package/src/assets/samples/vpn-onboard-1.json +8 -4
  28. package/src/assets/samples/vpn-onboard-2.json +8 -4
  29. package/src/assets/samples/vpn-onboard-3.json +2 -1
  30. package/src/assets/samples/vpn-onboard-4.json +2 -1
  31. package/src/assets/samples/vpn-onboard-5.json +12 -6
  32. package/src/assets/samples/vpn-onboard-6.json +8 -4
  33. package/src/assets/samples/vpn-onboard-7.json +8 -4
  34. package/src/build-components/BIcon/BIconProps.generated.ts +1 -1
  35. package/src/build-components/BIcon/pattern.json +1 -2
  36. package/src/build-components/BackgroundImage/pattern.json +1 -2
  37. package/src/build-components/Button/pattern.json +1 -2
  38. package/src/build-components/Carousel/pattern.json +1 -2
  39. package/src/build-components/CarouselButtons/pattern.json +1 -2
  40. package/src/build-components/CarouselDots/pattern.json +1 -2
  41. package/src/build-components/CarouselItem/pattern.json +1 -4
  42. package/src/build-components/CarouselProvider/pattern.json +0 -3
  43. package/src/build-components/CountDown/CountDownProps.generated.ts +1 -1
  44. package/src/build-components/CountDown/pattern.json +1 -2
  45. package/src/build-components/Image/ImageProps.generated.ts +6 -0
  46. package/src/build-components/Image/pattern.json +10 -2
  47. package/src/build-components/Main/pattern.json +1 -2
  48. package/src/build-components/NavigationBarColor/pattern.json +1 -2
  49. package/src/build-components/Onboard/pattern.json +1 -4
  50. package/src/build-components/OnboardButtons/pattern.json +1 -2
  51. package/src/build-components/OnboardDot/pattern.json +1 -2
  52. package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -1
  53. package/src/build-components/OnboardFooter/pattern.json +1 -2
  54. package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +7 -1
  55. package/src/build-components/OnboardImage/pattern.json +1 -2
  56. package/src/build-components/OnboardItem/pattern.json +1 -2
  57. package/src/build-components/OnboardProvider/pattern.json +1 -2
  58. package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -1
  59. package/src/build-components/OnboardSubtitle/pattern.json +1 -4
  60. package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -1
  61. package/src/build-components/OnboardTitle/pattern.json +1 -4
  62. package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +1 -1
  63. package/src/build-components/PaywallBackground/pattern.json +0 -3
  64. package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -1
  65. package/src/build-components/PaywallCloseButton/pattern.json +1 -4
  66. package/src/build-components/PaywallOptions/pattern.json +1 -4
  67. package/src/build-components/PaywallProvider/pattern.json +1 -2
  68. package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +1 -1
  69. package/src/build-components/PaywallSubscribeButton/pattern.json +1 -4
  70. package/src/build-components/PriceTag/PriceTagProps.generated.ts +1 -1
  71. package/src/build-components/PriceTag/pattern.json +1 -2
  72. package/src/build-components/Pricing/PricingProps.generated.ts +1 -1
  73. package/src/build-components/Pricing/pattern.json +1 -4
  74. package/src/build-components/Promo/PromoProps.generated.ts +1 -1
  75. package/src/build-components/Promo/pattern.json +1 -4
  76. package/src/build-components/RadioButton/pattern.json +1 -2
  77. package/src/build-components/Text/pattern.json +1 -2
  78. package/src/build-components/patterns.generated.ts +32 -12
@@ -52,8 +52,8 @@ export interface BIconPropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  iconType?: string;
58
58
  size?: number;
59
59
  strokeWidth?: number;
@@ -52,8 +52,8 @@ export interface CountDownPropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  count?: number;
58
58
  };
59
59
  }
@@ -1,4 +1,5 @@
1
1
  import type { NodeData } from '../../types/Node';
2
+ export type FetchStrategyOptionType = 'highIfItsAppLaunch' | 'normal' | 'lazy' | 'none';
2
3
  export type FlexDirectionOptionType = 'row' | 'column';
3
4
  export type FlexWrapOptionType = 'nowrap' | 'wrap' | 'wrap-reverse';
4
5
  export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
@@ -49,6 +50,7 @@ export interface ImagePropsGenerated {
49
50
  scrollable?: boolean;
50
51
  testID?: string;
51
52
  src?: string;
53
+ fetchStrategy?: FetchStrategyOptionType;
52
54
  };
53
55
  }
54
56
  export interface ImageComponentProps {
@@ -52,8 +52,8 @@ export interface OnboardFooterPropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  textLocalizationKey?: string;
58
58
  linkedWordFirstLocalizationKey?: string;
59
59
  linkedWordFirstColor?: string;
@@ -1,4 +1,5 @@
1
1
  import type { NodeData } from '../../types/Node';
2
+ export type FetchStrategyOptionType = 'highIfItsAppLaunch' | 'normal' | 'lazy' | 'none';
2
3
  export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
3
4
  export type FlexDirectionOptionType = 'row' | 'column';
4
5
  export type FlexWrapOptionType = 'nowrap' | 'wrap' | 'wrap-reverse';
@@ -47,8 +48,9 @@ export interface OnboardImagePropsGenerated {
47
48
  attributes: {
48
49
  styles?: OnboardImageStyleGenerated;
49
50
  src?: string;
50
- testID?: string;
51
+ fetchStrategy?: FetchStrategyOptionType;
51
52
  scrollable?: boolean;
53
+ testID?: string;
52
54
  video_url?: string;
53
55
  lottie?: string;
54
56
  };
@@ -52,8 +52,8 @@ export interface OnboardSubtitlePropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  };
58
58
  }
59
59
  export interface OnboardSubtitleComponentProps {
@@ -52,8 +52,8 @@ export interface OnboardTitlePropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  };
58
58
  }
59
59
  export interface OnboardTitleComponentProps {
@@ -47,8 +47,8 @@ export interface PaywallBackgroundPropsGenerated {
47
47
  styles?: PaywallBackgroundStyleGenerated;
48
48
  src?: string;
49
49
  resizeMode?: ResizeModeOptionType;
50
- testID?: string;
51
50
  scrollable?: boolean;
51
+ testID?: string;
52
52
  };
53
53
  }
54
54
  export interface PaywallBackgroundComponentProps {
@@ -52,11 +52,11 @@ export interface PaywallCloseButtonPropsGenerated {
52
52
  iconType?: string;
53
53
  size?: number;
54
54
  strokeWidth?: number;
55
- testID?: string;
56
55
  adjustsFontSizeToFit?: boolean;
57
56
  showEllipsis?: boolean;
58
57
  translateCounter?: number;
59
58
  scrollable?: boolean;
59
+ testID?: string;
60
60
  };
61
61
  }
62
62
  export interface PaywallCloseButtonComponentProps {
@@ -48,8 +48,8 @@ export interface PaywallSubscribeButtonPropsGenerated {
48
48
  child: string;
49
49
  attributes: {
50
50
  styles?: PaywallSubscribeButtonStyleGenerated;
51
- testID?: string;
52
51
  scrollable?: boolean;
52
+ testID?: string;
53
53
  };
54
54
  }
55
55
  export interface PaywallSubscribeButtonComponentProps {
@@ -54,8 +54,8 @@ export interface PriceTagPropsGenerated {
54
54
  adjustsFontSizeToFit?: boolean;
55
55
  showEllipsis?: boolean;
56
56
  translateCounter?: number;
57
- testID?: string;
58
57
  scrollable?: boolean;
58
+ testID?: string;
59
59
  showOriginalPricePossible?: boolean;
60
60
  hideIfItsNotDiscount?: boolean;
61
61
  };
@@ -52,8 +52,8 @@ export interface PricingPropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  };
58
58
  }
59
59
  export interface PricingComponentProps {
@@ -52,8 +52,8 @@ export interface PromoPropsGenerated {
52
52
  adjustsFontSizeToFit?: boolean;
53
53
  showEllipsis?: boolean;
54
54
  translateCounter?: number;
55
- testID?: string;
56
55
  scrollable?: boolean;
56
+ testID?: string;
57
57
  };
58
58
  }
59
59
  export interface PromoComponentProps {
@@ -50,8 +50,8 @@ export declare const patterns: readonly [{
50
50
  readonly right: "size";
51
51
  readonly zIndex: "number";
52
52
  };
53
- readonly testID: "string";
54
53
  readonly scrollable: "boolean";
54
+ readonly testID: "string";
55
55
  readonly iconType: "iconType";
56
56
  readonly size: "number";
57
57
  readonly strokeWidth: "number";
@@ -3158,8 +3158,8 @@ export declare const patterns: readonly [{
3158
3158
  readonly right: "size";
3159
3159
  readonly zIndex: "number";
3160
3160
  };
3161
- readonly testID: "string";
3162
3161
  readonly scrollable: "boolean";
3162
+ readonly testID: "string";
3163
3163
  readonly count: "number";
3164
3164
  };
3165
3165
  };
@@ -3591,6 +3591,7 @@ export declare const patterns: readonly [{
3591
3591
  };
3592
3592
  readonly testID: "string";
3593
3593
  readonly src: "string";
3594
+ readonly fetchStrategy: readonly ["highIfItsAppLaunch", "normal", "lazy", "none"];
3594
3595
  };
3595
3596
  };
3596
3597
  readonly meta: {
@@ -3904,6 +3905,13 @@ export declare const patterns: readonly [{
3904
3905
  readonly specialCategory: null;
3905
3906
  readonly sort: 1;
3906
3907
  };
3908
+ readonly fetchStrategy: {
3909
+ readonly label: "Fetch Strategy";
3910
+ readonly description: "highIfItsAppLaunch ilk başta yükleniyor eğer app_launch placeholder'i ile gelirse\nnormal sonra bütün hepsi toplanıp prefetch ediniyor\nlazy builder açılır açılmaz\nnone ise os'a bırakıldı";
3911
+ readonly category: "other";
3912
+ readonly specialCategory: null;
3913
+ readonly sort: 2;
3914
+ };
3907
3915
  };
3908
3916
  readonly styles: {
3909
3917
  readonly resizeMode: {
@@ -3925,6 +3933,7 @@ export declare const patterns: readonly [{
3925
3933
  readonly flexShrink: 0;
3926
3934
  readonly resizeMode: "contain";
3927
3935
  };
3936
+ readonly fetchStrategy: "normal";
3928
3937
  };
3929
3938
  readonly types: {};
3930
3939
  }, {
@@ -6362,8 +6371,8 @@ export declare const patterns: readonly [{
6362
6371
  readonly right: "size";
6363
6372
  readonly zIndex: "number";
6364
6373
  };
6365
- readonly testID: "string";
6366
6374
  readonly scrollable: "boolean";
6375
+ readonly testID: "string";
6367
6376
  readonly textLocalizationKey: "string";
6368
6377
  readonly linkedWordFirstLocalizationKey: "string";
6369
6378
  readonly linkedWordFirstColor: "color";
@@ -6809,6 +6818,7 @@ export declare const patterns: readonly [{
6809
6818
  readonly children: "node";
6810
6819
  readonly attributes: {
6811
6820
  readonly src: "string";
6821
+ readonly fetchStrategy: readonly ["highIfItsAppLaunch", "normal", "lazy", "none"];
6812
6822
  readonly styles: {
6813
6823
  readonly resizeMode: readonly ["cover", "contain", "stretch", "center"];
6814
6824
  readonly flexDirection: readonly ["row", "column"];
@@ -6846,8 +6856,8 @@ export declare const patterns: readonly [{
6846
6856
  readonly right: "size";
6847
6857
  readonly zIndex: "number";
6848
6858
  };
6849
- readonly testID: "string";
6850
6859
  readonly scrollable: "boolean";
6860
+ readonly testID: "string";
6851
6861
  readonly video_url: "string";
6852
6862
  readonly lottie: "string";
6853
6863
  };
@@ -6873,6 +6883,13 @@ export declare const patterns: readonly [{
6873
6883
  readonly specialCategory: null;
6874
6884
  readonly sort: 1;
6875
6885
  };
6886
+ readonly fetchStrategy: {
6887
+ readonly label: "Fetch Strategy";
6888
+ readonly description: "highIfItsAppLaunch ilk başta yükleniyor eğer app_launch placeholder'i ile gelirse\nnormal sonra bütün hepsi toplanıp prefetch ediniyor\nlazy builder açılır açılmaz\nnone ise os'a bırakıldı";
6889
+ readonly category: "other";
6890
+ readonly specialCategory: null;
6891
+ readonly sort: 2;
6892
+ };
6876
6893
  readonly scrollable: {
6877
6894
  readonly label: "Scrollable";
6878
6895
  readonly description: "Turns scroll interaction on.";
@@ -7189,6 +7206,7 @@ export declare const patterns: readonly [{
7189
7206
  };
7190
7207
  };
7191
7208
  readonly defaults: {
7209
+ readonly fetchStrategy: "normal";
7192
7210
  readonly styles: {
7193
7211
  readonly resizeMode: "contain";
7194
7212
  readonly flexDirection: "column";
@@ -8000,8 +8018,8 @@ export declare const patterns: readonly [{
8000
8018
  readonly right: "size";
8001
8019
  readonly zIndex: "number";
8002
8020
  };
8003
- readonly testID: "string";
8004
8021
  readonly scrollable: "boolean";
8022
+ readonly testID: "string";
8005
8023
  };
8006
8024
  };
8007
8025
  readonly meta: {
@@ -8429,8 +8447,8 @@ export declare const patterns: readonly [{
8429
8447
  readonly right: "size";
8430
8448
  readonly zIndex: "number";
8431
8449
  };
8432
- readonly testID: "string";
8433
8450
  readonly scrollable: "boolean";
8451
+ readonly testID: "string";
8434
8452
  };
8435
8453
  };
8436
8454
  readonly meta: {
@@ -8817,7 +8835,6 @@ export declare const patterns: readonly [{
8817
8835
  readonly attributes: {
8818
8836
  readonly src: "string";
8819
8837
  readonly resizeMode: readonly ["cover", "contain", "stretch", "center"];
8820
- readonly testID: "string";
8821
8838
  readonly scrollable: "boolean";
8822
8839
  readonly styles: {
8823
8840
  readonly flexDirection: readonly ["row", "column"];
@@ -8855,6 +8872,7 @@ export declare const patterns: readonly [{
8855
8872
  readonly right: "size";
8856
8873
  readonly zIndex: "number";
8857
8874
  };
8875
+ readonly testID: "string";
8858
8876
  };
8859
8877
  };
8860
8878
  readonly meta: {
@@ -9207,7 +9225,6 @@ export declare const patterns: readonly [{
9207
9225
  readonly iconType: "iconType";
9208
9226
  readonly size: "number";
9209
9227
  readonly strokeWidth: "number";
9210
- readonly testID: "string";
9211
9228
  readonly adjustsFontSizeToFit: "boolean";
9212
9229
  readonly showEllipsis: "boolean";
9213
9230
  readonly translateCounter: "number";
@@ -9253,6 +9270,7 @@ export declare const patterns: readonly [{
9253
9270
  readonly zIndex: "number";
9254
9271
  };
9255
9272
  readonly scrollable: "boolean";
9273
+ readonly testID: "string";
9256
9274
  };
9257
9275
  };
9258
9276
  readonly meta: {
@@ -10452,8 +10470,8 @@ export declare const patterns: readonly [{
10452
10470
  readonly right: "size";
10453
10471
  readonly zIndex: "number";
10454
10472
  };
10455
- readonly testID: "string";
10456
10473
  readonly scrollable: "boolean";
10474
+ readonly testID: "string";
10457
10475
  };
10458
10476
  };
10459
10477
  readonly meta: {
@@ -10859,8 +10877,8 @@ export declare const patterns: readonly [{
10859
10877
  readonly zIndex: "number";
10860
10878
  readonly textDecorationLine: readonly ["none", "underline", "line-through"];
10861
10879
  };
10862
- readonly testID: "string";
10863
10880
  readonly scrollable: "boolean";
10881
+ readonly testID: "string";
10864
10882
  readonly showOriginalPricePossible: "boolean";
10865
10883
  readonly hideIfItsNotDiscount: "boolean";
10866
10884
  };
@@ -11311,8 +11329,8 @@ export declare const patterns: readonly [{
11311
11329
  readonly right: "size";
11312
11330
  readonly zIndex: "number";
11313
11331
  };
11314
- readonly testID: "string";
11315
11332
  readonly scrollable: "boolean";
11333
+ readonly testID: "string";
11316
11334
  };
11317
11335
  };
11318
11336
  readonly meta: {
@@ -11741,8 +11759,8 @@ export declare const patterns: readonly [{
11741
11759
  readonly right: "size";
11742
11760
  readonly zIndex: "number";
11743
11761
  };
11744
- readonly testID: "string";
11745
11762
  readonly scrollable: "boolean";
11763
+ readonly testID: "string";
11746
11764
  };
11747
11765
  };
11748
11766
  readonly meta: {