@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
@@ -5,10 +5,7 @@
5
5
  "title": "title",
6
6
  "description": "description",
7
7
  "extends": "View",
8
- "children": "node",
9
- "attributes": {
10
- "testID": "string"
11
- }
8
+ "children": "node"
12
9
  },
13
10
  "meta": {
14
11
  "desiredParent": [">PaywallProvider"],
@@ -7,8 +7,7 @@
7
7
  "children": "node",
8
8
  "extends": "View",
9
9
  "attributes": {
10
- "delay": "number",
11
- "testID": "string"
10
+ "delay": "number"
12
11
  }
13
12
  },
14
13
  "defaults": {
@@ -75,8 +75,8 @@ export interface PaywallSubscribeButtonPropsGenerated {
75
75
  child: string;
76
76
  attributes: {
77
77
  styles?: PaywallSubscribeButtonStyleGenerated;
78
- testID?: string;
79
78
  scrollable?: boolean;
79
+ testID?: string;
80
80
  };
81
81
  }
82
82
 
@@ -5,10 +5,7 @@
5
5
  "title": "title",
6
6
  "description": "description",
7
7
  "children": "string",
8
- "extends": "Button",
9
- "attributes": {
10
- "testID": "string"
11
- }
8
+ "extends": "Button"
12
9
  },
13
10
  "defaults": {
14
11
  "styles": {
@@ -73,8 +73,8 @@ export interface PriceTagPropsGenerated {
73
73
  adjustsFontSizeToFit?: boolean;
74
74
  showEllipsis?: boolean;
75
75
  translateCounter?: number;
76
- testID?: string;
77
76
  scrollable?: boolean;
77
+ testID?: string;
78
78
  showOriginalPricePossible?: boolean;
79
79
  hideIfItsNotDiscount?: boolean;
80
80
  };
@@ -11,8 +11,7 @@
11
11
  "hideIfItsNotDiscount": "boolean",
12
12
  "styles": {
13
13
  "textDecorationLine": ["none", "underline", "line-through"]
14
- },
15
- "testID": "string"
14
+ }
16
15
  }
17
16
  },
18
17
  "defaults": {
@@ -68,8 +68,8 @@ export interface PricingPropsGenerated {
68
68
  adjustsFontSizeToFit?: boolean;
69
69
  showEllipsis?: boolean;
70
70
  translateCounter?: number;
71
- testID?: string;
72
71
  scrollable?: boolean;
72
+ testID?: string;
73
73
  };
74
74
  }
75
75
 
@@ -5,10 +5,7 @@
5
5
  "title": "title",
6
6
  "description": "base.builder.paywall.pricing.default.text",
7
7
  "children": "string",
8
- "extends": "Text",
9
- "attributes": {
10
- "testID": "string"
11
- }
8
+ "extends": "Text"
12
9
  },
13
10
  "defaults": {
14
11
  "translateCounter": 2,
@@ -68,8 +68,8 @@ export interface PromoPropsGenerated {
68
68
  adjustsFontSizeToFit?: boolean;
69
69
  showEllipsis?: boolean;
70
70
  translateCounter?: number;
71
- testID?: string;
72
71
  scrollable?: boolean;
72
+ testID?: string;
73
73
  };
74
74
  }
75
75
 
@@ -5,10 +5,7 @@
5
5
  "title": "title",
6
6
  "description": "base.builder.paywall.promo.default.text",
7
7
  "children": "string",
8
- "extends": "Text",
9
- "attributes": {
10
- "testID": "string"
11
- }
8
+ "extends": "Text"
12
9
  },
13
10
  "defaults": {
14
11
  "translateCounter": 2,
@@ -9,8 +9,7 @@
9
9
  "attributes": {
10
10
  "selected": "boolean",
11
11
  "color": "color",
12
- "size": "number",
13
- "testID": "string"
12
+ "size": "number"
14
13
  }
15
14
  },
16
15
  "meta": {
@@ -16,8 +16,7 @@
16
16
  "fontFamily": "fontFamily",
17
17
  "fontWeight": "fontWeight",
18
18
  "textAlign": "string"
19
- },
20
- "testID": "string"
19
+ }
21
20
  },
22
21
  "defaults": {
23
22
  "translateCounter": 1,
@@ -67,8 +67,8 @@ export const patterns = [
67
67
  right: 'size',
68
68
  zIndex: 'number',
69
69
  },
70
- testID: 'string',
71
70
  scrollable: 'boolean',
71
+ testID: 'string',
72
72
  iconType: 'iconType',
73
73
  size: 'number',
74
74
  strokeWidth: 'number',
@@ -3308,8 +3308,8 @@ export const patterns = [
3308
3308
  right: 'size',
3309
3309
  zIndex: 'number',
3310
3310
  },
3311
- testID: 'string',
3312
3311
  scrollable: 'boolean',
3312
+ testID: 'string',
3313
3313
  count: 'number',
3314
3314
  },
3315
3315
  },
@@ -3757,6 +3757,7 @@ export const patterns = [
3757
3757
  },
3758
3758
  testID: 'string',
3759
3759
  src: 'string',
3760
+ fetchStrategy: ['highIfItsAppLaunch', 'normal', 'lazy', 'none'],
3760
3761
  },
3761
3762
  },
3762
3763
  meta: {
@@ -4070,6 +4071,14 @@ export const patterns = [
4070
4071
  specialCategory: null,
4071
4072
  sort: 1,
4072
4073
  },
4074
+ fetchStrategy: {
4075
+ label: 'Fetch Strategy',
4076
+ description:
4077
+ "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ı",
4078
+ category: 'other',
4079
+ specialCategory: null,
4080
+ sort: 2,
4081
+ },
4073
4082
  },
4074
4083
  styles: {
4075
4084
  resizeMode: {
@@ -4091,6 +4100,7 @@ export const patterns = [
4091
4100
  flexShrink: 0,
4092
4101
  resizeMode: 'contain',
4093
4102
  },
4103
+ fetchStrategy: 'normal',
4094
4104
  },
4095
4105
  types: {},
4096
4106
  },
@@ -6640,8 +6650,8 @@ export const patterns = [
6640
6650
  right: 'size',
6641
6651
  zIndex: 'number',
6642
6652
  },
6643
- testID: 'string',
6644
6653
  scrollable: 'boolean',
6654
+ testID: 'string',
6645
6655
  textLocalizationKey: 'string',
6646
6656
  linkedWordFirstLocalizationKey: 'string',
6647
6657
  linkedWordFirstColor: 'color',
@@ -7090,6 +7100,7 @@ export const patterns = [
7090
7100
  children: 'node',
7091
7101
  attributes: {
7092
7102
  src: 'string',
7103
+ fetchStrategy: ['highIfItsAppLaunch', 'normal', 'lazy', 'none'],
7093
7104
  styles: {
7094
7105
  resizeMode: ['cover', 'contain', 'stretch', 'center'],
7095
7106
  flexDirection: ['row', 'column'],
@@ -7140,8 +7151,8 @@ export const patterns = [
7140
7151
  right: 'size',
7141
7152
  zIndex: 'number',
7142
7153
  },
7143
- testID: 'string',
7144
7154
  scrollable: 'boolean',
7155
+ testID: 'string',
7145
7156
  video_url: 'string',
7146
7157
  lottie: 'string',
7147
7158
  },
@@ -7167,6 +7178,14 @@ export const patterns = [
7167
7178
  specialCategory: null,
7168
7179
  sort: 1,
7169
7180
  },
7181
+ fetchStrategy: {
7182
+ label: 'Fetch Strategy',
7183
+ description:
7184
+ "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ı",
7185
+ category: 'other',
7186
+ specialCategory: null,
7187
+ sort: 2,
7188
+ },
7170
7189
  scrollable: {
7171
7190
  label: 'Scrollable',
7172
7191
  description: 'Turns scroll interaction on.',
@@ -7483,6 +7502,7 @@ export const patterns = [
7483
7502
  },
7484
7503
  },
7485
7504
  defaults: {
7505
+ fetchStrategy: 'normal',
7486
7506
  styles: {
7487
7507
  resizeMode: 'contain',
7488
7508
  flexDirection: 'column',
@@ -8337,8 +8357,8 @@ export const patterns = [
8337
8357
  right: 'size',
8338
8358
  zIndex: 'number',
8339
8359
  },
8340
- testID: 'string',
8341
8360
  scrollable: 'boolean',
8361
+ testID: 'string',
8342
8362
  },
8343
8363
  },
8344
8364
  meta: {
@@ -8782,8 +8802,8 @@ export const patterns = [
8782
8802
  right: 'size',
8783
8803
  zIndex: 'number',
8784
8804
  },
8785
- testID: 'string',
8786
8805
  scrollable: 'boolean',
8806
+ testID: 'string',
8787
8807
  },
8788
8808
  },
8789
8809
  meta: {
@@ -9173,7 +9193,6 @@ export const patterns = [
9173
9193
  attributes: {
9174
9194
  src: 'string',
9175
9195
  resizeMode: ['cover', 'contain', 'stretch', 'center'],
9176
- testID: 'string',
9177
9196
  scrollable: 'boolean',
9178
9197
  styles: {
9179
9198
  flexDirection: ['row', 'column'],
@@ -9224,6 +9243,7 @@ export const patterns = [
9224
9243
  right: 'size',
9225
9244
  zIndex: 'number',
9226
9245
  },
9246
+ testID: 'string',
9227
9247
  },
9228
9248
  },
9229
9249
  meta: {
@@ -9577,7 +9597,6 @@ export const patterns = [
9577
9597
  iconType: 'iconType',
9578
9598
  size: 'number',
9579
9599
  strokeWidth: 'number',
9580
- testID: 'string',
9581
9600
  adjustsFontSizeToFit: 'boolean',
9582
9601
  showEllipsis: 'boolean',
9583
9602
  translateCounter: 'number',
@@ -9636,6 +9655,7 @@ export const patterns = [
9636
9655
  zIndex: 'number',
9637
9656
  },
9638
9657
  scrollable: 'boolean',
9658
+ testID: 'string',
9639
9659
  },
9640
9660
  },
9641
9661
  meta: {
@@ -10889,8 +10909,8 @@ export const patterns = [
10889
10909
  right: 'size',
10890
10910
  zIndex: 'number',
10891
10911
  },
10892
- testID: 'string',
10893
10912
  scrollable: 'boolean',
10913
+ testID: 'string',
10894
10914
  },
10895
10915
  },
10896
10916
  meta: {
@@ -11310,8 +11330,8 @@ export const patterns = [
11310
11330
  zIndex: 'number',
11311
11331
  textDecorationLine: ['none', 'underline', 'line-through'],
11312
11332
  },
11313
- testID: 'string',
11314
11333
  scrollable: 'boolean',
11334
+ testID: 'string',
11315
11335
  showOriginalPricePossible: 'boolean',
11316
11336
  hideIfItsNotDiscount: 'boolean',
11317
11337
  },
@@ -11780,8 +11800,8 @@ export const patterns = [
11780
11800
  right: 'size',
11781
11801
  zIndex: 'number',
11782
11802
  },
11783
- testID: 'string',
11784
11803
  scrollable: 'boolean',
11804
+ testID: 'string',
11785
11805
  },
11786
11806
  },
11787
11807
  meta: {
@@ -12227,8 +12247,8 @@ export const patterns = [
12227
12247
  right: 'size',
12228
12248
  zIndex: 'number',
12229
12249
  },
12230
- testID: 'string',
12231
12250
  scrollable: 'boolean',
12251
+ testID: 'string',
12232
12252
  },
12233
12253
  },
12234
12254
  meta: {