@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.
- package/dist/build-components/BIcon/BIconProps.generated.d.ts +1 -1
- package/dist/build-components/CountDown/CountDownProps.generated.d.ts +1 -1
- package/dist/build-components/Image/ImageProps.generated.d.ts +2 -0
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +1 -1
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +3 -1
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +1 -1
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +1 -1
- package/dist/build-components/PaywallBackground/PaywallBackgroundProps.generated.d.ts +1 -1
- package/dist/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.d.ts +1 -1
- package/dist/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.d.ts +1 -1
- package/dist/build-components/PriceTag/PriceTagProps.generated.d.ts +1 -1
- package/dist/build-components/Pricing/PricingProps.generated.d.ts +1 -1
- package/dist/build-components/Promo/PromoProps.generated.d.ts +1 -1
- package/dist/build-components/patterns.generated.d.ts +30 -12
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.web.cjs.js +4 -4
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +2 -2
- package/dist/index.web.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/meta.json +1 -1
- package/src/assets/prompt-scheme-onboard.generated.ts +1 -1
- package/src/assets/prompt-scheme-paywall.generated.ts +1 -1
- package/src/assets/samples/vpn-onboard-1.json +8 -4
- package/src/assets/samples/vpn-onboard-2.json +8 -4
- package/src/assets/samples/vpn-onboard-3.json +2 -1
- package/src/assets/samples/vpn-onboard-4.json +2 -1
- package/src/assets/samples/vpn-onboard-5.json +12 -6
- package/src/assets/samples/vpn-onboard-6.json +8 -4
- package/src/assets/samples/vpn-onboard-7.json +8 -4
- package/src/build-components/BIcon/BIconProps.generated.ts +1 -1
- package/src/build-components/BIcon/pattern.json +1 -2
- package/src/build-components/BackgroundImage/pattern.json +1 -2
- package/src/build-components/Button/pattern.json +1 -2
- package/src/build-components/Carousel/pattern.json +1 -2
- package/src/build-components/CarouselButtons/pattern.json +1 -2
- package/src/build-components/CarouselDots/pattern.json +1 -2
- package/src/build-components/CarouselItem/pattern.json +1 -4
- package/src/build-components/CarouselProvider/pattern.json +0 -3
- package/src/build-components/CountDown/CountDownProps.generated.ts +1 -1
- package/src/build-components/CountDown/pattern.json +1 -2
- package/src/build-components/Image/ImageProps.generated.ts +6 -0
- package/src/build-components/Image/pattern.json +10 -2
- package/src/build-components/Main/pattern.json +1 -2
- package/src/build-components/NavigationBarColor/pattern.json +1 -2
- package/src/build-components/Onboard/pattern.json +1 -4
- package/src/build-components/OnboardButtons/pattern.json +1 -2
- package/src/build-components/OnboardDot/pattern.json +1 -2
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +1 -1
- package/src/build-components/OnboardFooter/pattern.json +1 -2
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +7 -1
- package/src/build-components/OnboardImage/pattern.json +1 -2
- package/src/build-components/OnboardItem/pattern.json +1 -2
- package/src/build-components/OnboardProvider/pattern.json +1 -2
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +1 -1
- package/src/build-components/OnboardSubtitle/pattern.json +1 -4
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +1 -1
- package/src/build-components/OnboardTitle/pattern.json +1 -4
- package/src/build-components/PaywallBackground/PaywallBackgroundProps.generated.ts +1 -1
- package/src/build-components/PaywallBackground/pattern.json +0 -3
- package/src/build-components/PaywallCloseButton/PaywallCloseButtonProps.generated.ts +1 -1
- package/src/build-components/PaywallCloseButton/pattern.json +1 -4
- package/src/build-components/PaywallOptions/pattern.json +1 -4
- package/src/build-components/PaywallProvider/pattern.json +1 -2
- package/src/build-components/PaywallSubscribeButton/PaywallSubscribeButtonProps.generated.ts +1 -1
- package/src/build-components/PaywallSubscribeButton/pattern.json +1 -4
- package/src/build-components/PriceTag/PriceTagProps.generated.ts +1 -1
- package/src/build-components/PriceTag/pattern.json +1 -2
- package/src/build-components/Pricing/PricingProps.generated.ts +1 -1
- package/src/build-components/Pricing/pattern.json +1 -4
- package/src/build-components/Promo/PromoProps.generated.ts +1 -1
- package/src/build-components/Promo/pattern.json +1 -4
- package/src/build-components/RadioButton/pattern.json +1 -2
- package/src/build-components/Text/pattern.json +1 -2
- package/src/build-components/patterns.generated.ts +32 -12
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"styles": {
|
|
73
73
|
"height": 350
|
|
74
74
|
},
|
|
75
|
-
"testID": "OnboardImage-test-id"
|
|
75
|
+
"testID": "OnboardImage-test-id",
|
|
76
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
{
|
|
@@ -122,7 +123,8 @@
|
|
|
122
123
|
"styles": {
|
|
123
124
|
"height": 350
|
|
124
125
|
},
|
|
125
|
-
"testID": "OnboardImage-test-id"
|
|
126
|
+
"testID": "OnboardImage-test-id",
|
|
127
|
+
"fetchStrategy": "normal"
|
|
126
128
|
}
|
|
127
129
|
},
|
|
128
130
|
{
|
|
@@ -172,7 +174,8 @@
|
|
|
172
174
|
"styles": {
|
|
173
175
|
"height": 350
|
|
174
176
|
},
|
|
175
|
-
"testID": "OnboardImage-test-id"
|
|
177
|
+
"testID": "OnboardImage-test-id",
|
|
178
|
+
"fetchStrategy": "normal"
|
|
176
179
|
}
|
|
177
180
|
},
|
|
178
181
|
{
|
|
@@ -222,7 +225,8 @@
|
|
|
222
225
|
"styles": {
|
|
223
226
|
"height": 350
|
|
224
227
|
},
|
|
225
|
-
"testID": "OnboardImage-test-id"
|
|
228
|
+
"testID": "OnboardImage-test-id",
|
|
229
|
+
"fetchStrategy": "normal"
|
|
226
230
|
}
|
|
227
231
|
},
|
|
228
232
|
{
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"styles": {
|
|
73
73
|
"height": 350
|
|
74
74
|
},
|
|
75
|
-
"testID": "OnboardImage-test-id"
|
|
75
|
+
"testID": "OnboardImage-test-id",
|
|
76
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
{
|
|
@@ -122,7 +123,8 @@
|
|
|
122
123
|
"styles": {
|
|
123
124
|
"height": 350
|
|
124
125
|
},
|
|
125
|
-
"testID": "OnboardImage-test-id"
|
|
126
|
+
"testID": "OnboardImage-test-id",
|
|
127
|
+
"fetchStrategy": "normal"
|
|
126
128
|
}
|
|
127
129
|
},
|
|
128
130
|
{
|
|
@@ -172,7 +174,8 @@
|
|
|
172
174
|
"styles": {
|
|
173
175
|
"height": 350
|
|
174
176
|
},
|
|
175
|
-
"testID": "OnboardImage-test-id"
|
|
177
|
+
"testID": "OnboardImage-test-id",
|
|
178
|
+
"fetchStrategy": "normal"
|
|
176
179
|
}
|
|
177
180
|
},
|
|
178
181
|
{
|
|
@@ -222,7 +225,8 @@
|
|
|
222
225
|
"styles": {
|
|
223
226
|
"height": 350
|
|
224
227
|
},
|
|
225
|
-
"testID": "OnboardImage-test-id"
|
|
228
|
+
"testID": "OnboardImage-test-id",
|
|
229
|
+
"fetchStrategy": "normal"
|
|
226
230
|
}
|
|
227
231
|
},
|
|
228
232
|
{
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"styles": {
|
|
60
60
|
"height": 400
|
|
61
61
|
},
|
|
62
|
-
"testID": "OnboardImage-test-id"
|
|
62
|
+
"testID": "OnboardImage-test-id",
|
|
63
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
{
|
|
@@ -106,7 +107,8 @@
|
|
|
106
107
|
"styles": {
|
|
107
108
|
"height": 400
|
|
108
109
|
},
|
|
109
|
-
"testID": "OnboardImage-test-id"
|
|
110
|
+
"testID": "OnboardImage-test-id",
|
|
111
|
+
"fetchStrategy": "normal"
|
|
110
112
|
}
|
|
111
113
|
},
|
|
112
114
|
{
|
|
@@ -152,7 +154,8 @@
|
|
|
152
154
|
"styles": {
|
|
153
155
|
"height": 400
|
|
154
156
|
},
|
|
155
|
-
"testID": "OnboardImage-test-id"
|
|
157
|
+
"testID": "OnboardImage-test-id",
|
|
158
|
+
"fetchStrategy": "normal"
|
|
156
159
|
}
|
|
157
160
|
},
|
|
158
161
|
{
|
|
@@ -198,7 +201,8 @@
|
|
|
198
201
|
"styles": {
|
|
199
202
|
"height": 400
|
|
200
203
|
},
|
|
201
|
-
"testID": "OnboardImage-test-id"
|
|
204
|
+
"testID": "OnboardImage-test-id",
|
|
205
|
+
"fetchStrategy": "normal"
|
|
202
206
|
}
|
|
203
207
|
},
|
|
204
208
|
{
|
|
@@ -244,7 +248,8 @@
|
|
|
244
248
|
"styles": {
|
|
245
249
|
"height": 400
|
|
246
250
|
},
|
|
247
|
-
"testID": "OnboardImage-test-id"
|
|
251
|
+
"testID": "OnboardImage-test-id",
|
|
252
|
+
"fetchStrategy": "normal"
|
|
248
253
|
}
|
|
249
254
|
},
|
|
250
255
|
{
|
|
@@ -290,7 +295,8 @@
|
|
|
290
295
|
"styles": {
|
|
291
296
|
"height": 400
|
|
292
297
|
},
|
|
293
|
-
"testID": "OnboardImage-test-id"
|
|
298
|
+
"testID": "OnboardImage-test-id",
|
|
299
|
+
"fetchStrategy": "normal"
|
|
294
300
|
}
|
|
295
301
|
},
|
|
296
302
|
{
|
|
@@ -58,7 +58,8 @@
|
|
|
58
58
|
"styles": {
|
|
59
59
|
"height": 400
|
|
60
60
|
},
|
|
61
|
-
"testID": "OnboardImage-test-id"
|
|
61
|
+
"testID": "OnboardImage-test-id",
|
|
62
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
62
63
|
}
|
|
63
64
|
},
|
|
64
65
|
{
|
|
@@ -104,7 +105,8 @@
|
|
|
104
105
|
"styles": {
|
|
105
106
|
"height": 400
|
|
106
107
|
},
|
|
107
|
-
"testID": "OnboardImage-test-id"
|
|
108
|
+
"testID": "OnboardImage-test-id",
|
|
109
|
+
"fetchStrategy": "normal"
|
|
108
110
|
}
|
|
109
111
|
},
|
|
110
112
|
{
|
|
@@ -150,7 +152,8 @@
|
|
|
150
152
|
"styles": {
|
|
151
153
|
"height": 400
|
|
152
154
|
},
|
|
153
|
-
"testID": "OnboardImage-test-id"
|
|
155
|
+
"testID": "OnboardImage-test-id",
|
|
156
|
+
"fetchStrategy": "normal"
|
|
154
157
|
}
|
|
155
158
|
},
|
|
156
159
|
{
|
|
@@ -196,7 +199,8 @@
|
|
|
196
199
|
"styles": {
|
|
197
200
|
"height": 400
|
|
198
201
|
},
|
|
199
|
-
"testID": "OnboardImage-test-id"
|
|
202
|
+
"testID": "OnboardImage-test-id",
|
|
203
|
+
"fetchStrategy": "normal"
|
|
200
204
|
}
|
|
201
205
|
},
|
|
202
206
|
{
|
|
@@ -76,7 +76,8 @@
|
|
|
76
76
|
"styles": {
|
|
77
77
|
"height": 350
|
|
78
78
|
},
|
|
79
|
-
"testID": "OnboardImage-test-id"
|
|
79
|
+
"testID": "OnboardImage-test-id",
|
|
80
|
+
"fetchStrategy": "highIfItsAppLaunch"
|
|
80
81
|
}
|
|
81
82
|
},
|
|
82
83
|
{
|
|
@@ -130,7 +131,8 @@
|
|
|
130
131
|
"styles": {
|
|
131
132
|
"height": 350
|
|
132
133
|
},
|
|
133
|
-
"testID": "OnboardImage-test-id"
|
|
134
|
+
"testID": "OnboardImage-test-id",
|
|
135
|
+
"fetchStrategy": "normal"
|
|
134
136
|
}
|
|
135
137
|
},
|
|
136
138
|
{
|
|
@@ -184,7 +186,8 @@
|
|
|
184
186
|
"styles": {
|
|
185
187
|
"height": 350
|
|
186
188
|
},
|
|
187
|
-
"testID": "OnboardImage-test-id"
|
|
189
|
+
"testID": "OnboardImage-test-id",
|
|
190
|
+
"fetchStrategy": "normal"
|
|
188
191
|
}
|
|
189
192
|
},
|
|
190
193
|
{
|
|
@@ -238,7 +241,8 @@
|
|
|
238
241
|
"styles": {
|
|
239
242
|
"height": 350
|
|
240
243
|
},
|
|
241
|
-
"testID": "OnboardImage-test-id"
|
|
244
|
+
"testID": "OnboardImage-test-id",
|
|
245
|
+
"fetchStrategy": "normal"
|
|
242
246
|
}
|
|
243
247
|
},
|
|
244
248
|
{
|
|
@@ -68,8 +68,8 @@ export interface BIconPropsGenerated {
|
|
|
68
68
|
adjustsFontSizeToFit?: boolean;
|
|
69
69
|
showEllipsis?: boolean;
|
|
70
70
|
translateCounter?: number;
|
|
71
|
-
testID?: string;
|
|
72
71
|
scrollable?: boolean;
|
|
72
|
+
testID?: string;
|
|
73
73
|
iconType?: string;
|
|
74
74
|
size?: number;
|
|
75
75
|
strokeWidth?: number;
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import type { NodeData } from '../../types/Node';
|
|
4
4
|
|
|
5
|
+
export type FetchStrategyOptionType =
|
|
6
|
+
| 'highIfItsAppLaunch'
|
|
7
|
+
| 'normal'
|
|
8
|
+
| 'lazy'
|
|
9
|
+
| 'none';
|
|
5
10
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
6
11
|
export type FlexWrapOptionType = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
7
12
|
export type AlignItemsOptionType =
|
|
@@ -65,6 +70,7 @@ export interface ImagePropsGenerated {
|
|
|
65
70
|
scrollable?: boolean;
|
|
66
71
|
testID?: string;
|
|
67
72
|
src?: string;
|
|
73
|
+
fetchStrategy?: FetchStrategyOptionType;
|
|
68
74
|
};
|
|
69
75
|
}
|
|
70
76
|
|
|
@@ -8,12 +8,13 @@
|
|
|
8
8
|
"extends": "View",
|
|
9
9
|
"attributes": {
|
|
10
10
|
"src": "string",
|
|
11
|
+
"fetchStrategy": ["highIfItsAppLaunch", "normal", "lazy", "none"],
|
|
11
12
|
"styles": {
|
|
12
13
|
"resizeMode": ["cover", "contain", "stretch", "center"]
|
|
13
|
-
}
|
|
14
|
-
"testID": "string"
|
|
14
|
+
}
|
|
15
15
|
},
|
|
16
16
|
"defaults": {
|
|
17
|
+
"fetchStrategy": "normal",
|
|
17
18
|
"styles": {
|
|
18
19
|
"resizeMode": "contain"
|
|
19
20
|
}
|
|
@@ -39,6 +40,13 @@
|
|
|
39
40
|
"category": "other",
|
|
40
41
|
"specialCategory": null,
|
|
41
42
|
"sort": 1
|
|
43
|
+
},
|
|
44
|
+
"fetchStrategy": {
|
|
45
|
+
"label": "Fetch Strategy",
|
|
46
|
+
"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ı",
|
|
47
|
+
"category": "other",
|
|
48
|
+
"specialCategory": null,
|
|
49
|
+
"sort": 2
|
|
42
50
|
}
|
|
43
51
|
}
|
|
44
52
|
}
|
|
@@ -68,8 +68,8 @@ export interface OnboardFooterPropsGenerated {
|
|
|
68
68
|
adjustsFontSizeToFit?: boolean;
|
|
69
69
|
showEllipsis?: boolean;
|
|
70
70
|
translateCounter?: number;
|
|
71
|
-
testID?: string;
|
|
72
71
|
scrollable?: boolean;
|
|
72
|
+
testID?: string;
|
|
73
73
|
textLocalizationKey?: string;
|
|
74
74
|
linkedWordFirstLocalizationKey?: string;
|
|
75
75
|
linkedWordFirstColor?: string;
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import type { NodeData } from '../../types/Node';
|
|
4
4
|
|
|
5
|
+
export type FetchStrategyOptionType =
|
|
6
|
+
| 'highIfItsAppLaunch'
|
|
7
|
+
| 'normal'
|
|
8
|
+
| 'lazy'
|
|
9
|
+
| 'none';
|
|
5
10
|
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
6
11
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
7
12
|
export type FlexWrapOptionType = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
@@ -63,8 +68,9 @@ export interface OnboardImagePropsGenerated {
|
|
|
63
68
|
attributes: {
|
|
64
69
|
styles?: OnboardImageStyleGenerated;
|
|
65
70
|
src?: string;
|
|
66
|
-
|
|
71
|
+
fetchStrategy?: FetchStrategyOptionType;
|
|
67
72
|
scrollable?: boolean;
|
|
73
|
+
testID?: string;
|
|
68
74
|
video_url?: string;
|
|
69
75
|
lottie?: string;
|
|
70
76
|
};
|
|
@@ -68,11 +68,11 @@ export interface PaywallCloseButtonPropsGenerated {
|
|
|
68
68
|
iconType?: string;
|
|
69
69
|
size?: number;
|
|
70
70
|
strokeWidth?: number;
|
|
71
|
-
testID?: string;
|
|
72
71
|
adjustsFontSizeToFit?: boolean;
|
|
73
72
|
showEllipsis?: boolean;
|
|
74
73
|
translateCounter?: number;
|
|
75
74
|
scrollable?: boolean;
|
|
75
|
+
testID?: string;
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|