@developer_tribe/react-builder 1.2.21 → 1.2.23
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/attribute-analyser/style/native/useExtractImageStyle.d.ts +2 -2
- package/dist/build-components/Image/ImageProps.generated.d.ts +2 -4
- package/dist/build-components/NavigationBarColor/NavigationBarColor.d.ts +5 -0
- package/dist/build-components/NavigationBarColor/NavigationBarColorProps.generated.d.ts +54 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +1 -3
- package/dist/build-components/Separator/Separator.d.ts +5 -0
- package/dist/build-components/Separator/SeparatorProps.generated.d.ts +21 -0
- package/dist/build-components/StatusBarColor/StatusBarColor.d.ts +5 -0
- package/dist/build-components/StatusBarColor/StatusBarColorProps.generated.d.ts +54 -0
- package/dist/build-components/index.d.ts +4 -1
- package/dist/build-components/patterns.generated.d.ts +2105 -1253
- package/dist/components/AttributesEditorPanel.d.ts +1 -1
- package/dist/components/BuilderProvider.d.ts +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.web.cjs.js +6 -6
- package/dist/index.web.cjs.js.map +1 -1
- package/dist/index.web.esm.js +4 -4
- package/dist/index.web.esm.js.map +1 -1
- package/dist/store.d.ts +4 -0
- package/dist/styles.css +1 -1
- package/dist/utils/attributeStyle.d.ts +9 -0
- package/dist/utils/extractImageStyle.d.ts +1 -1
- package/dist/utils/extractViewStyle/extractViewStyleNative.d.ts +1 -1
- package/package.json +2 -2
- package/src/DeviceMockFrame.tsx +8 -2
- package/src/assets/meta.json +1 -1
- package/src/assets/samples/paywall-1.json +39 -34
- package/src/assets/samples/paywall-2.json +39 -20
- package/src/assets/samples/paywall-app-delete-offer.json +40 -21
- package/src/assets/samples/paywall-app-open-offer.json +40 -21
- package/src/assets/samples/paywall-back-offer.json +40 -21
- package/src/assets/samples/paywall-notification-offer.json +40 -21
- package/src/assets/samples/vpn-onboard-1.json +84 -39
- package/src/assets/samples/vpn-onboard-2.json +85 -40
- package/src/assets/samples/vpn-onboard-3.json +84 -39
- package/src/assets/samples/vpn-onboard-4.json +84 -39
- package/src/assets/samples/vpn-onboard-5.json +102 -55
- package/src/assets/samples/vpn-onboard-6.json +87 -38
- package/src/attribute-analyser/style/native/useExtractImageStyle.ts +24 -22
- package/src/attribute-analyser/style/native/useExtractTextStyle.ts +9 -4
- package/src/attribute-analyser/style/native/useExtractViewStyle.ts +19 -7
- package/src/attributes-editor/useAttributesEditorModel.ts +23 -17
- package/src/build-components/BackgroundImage/pattern.json +9 -7
- package/src/build-components/CarouselDots/CarouselDots.tsx +12 -11
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +3 -1
- package/src/build-components/Image/ImageProps.generated.ts +2 -4
- package/src/build-components/Image/pattern.json +12 -25
- package/src/build-components/NavigationBarColor/NavigationBarColor.tsx +39 -0
- package/src/build-components/NavigationBarColor/NavigationBarColorProps.generated.ts +71 -0
- package/src/build-components/NavigationBarColor/pattern.json +34 -0
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +8 -10
- package/src/build-components/OnboardDot/OnboardDot.tsx +12 -10
- package/src/build-components/OnboardImage/OnboardImage.tsx +1 -1
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +1 -3
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +3 -1
- package/src/build-components/RenderNode.generated.tsx +15 -0
- package/src/build-components/Separator/Separator.tsx +41 -0
- package/src/build-components/Separator/SeparatorProps.generated.ts +26 -0
- package/src/build-components/Separator/pattern.json +59 -0
- package/src/build-components/StatusBarColor/StatusBarColor.tsx +39 -0
- package/src/build-components/StatusBarColor/StatusBarColorProps.generated.ts +71 -0
- package/src/build-components/StatusBarColor/pattern.json +34 -0
- package/src/build-components/Text/pattern.json +45 -38
- package/src/build-components/index.ts +15 -0
- package/src/build-components/patterns.generated.ts +2149 -1272
- package/src/build-components/useNode.ts +24 -25
- package/src/components/AttributesEditorPanel.tsx +4 -5
- package/src/components/Builder.tsx +1 -2
- package/src/components/BuilderProvider.tsx +40 -3
- package/src/components/JsonTextEditor.tsx +2 -2
- package/src/components/LoadingComponent.tsx +1 -1
- package/src/components/RenderErrorBoundary.tsx +1 -3
- package/src/migrations/migrations/1.1.2_extract_component_attributes_from_style.ts +3 -3
- package/src/modals/BenefitPresetsModal.tsx +1 -1
- package/src/modals/ProductPresetsModal.tsx +1 -1
- package/src/pages/DebugJsonPage.tsx +7 -4
- package/src/pages/ProjectDebug.tsx +1 -1
- package/src/pages/ProjectPage.tsx +31 -32
- package/src/pages/ProjectValidationPage.tsx +2 -2
- package/src/store.ts +13 -0
- package/src/styles/layout/_builder.scss +6 -0
- package/src/utils/__special_exceptions.ts +5 -5
- package/src/utils/analyseNode.ts +2 -2
- package/src/utils/analyseNodeByPatterns.ts +10 -9
- package/src/utils/analyseNodeStructural.ts +1 -1
- package/src/utils/attributeStyle.ts +26 -0
- package/src/utils/extractImageStyle.ts +17 -13
- package/src/utils/extractTextStyle/extractTextStyle.ts +7 -7
- package/src/utils/extractTextStyle/extractTextStyleNative.ts +10 -10
- package/src/utils/extractViewStyle/extractViewStyle.ts +8 -11
- package/src/utils/extractViewStyle/extractViewStyleNative.ts +19 -19
- package/src/utils/loadFontFamily.ts +14 -19
- package/src/utils/logRenderStore.ts +5 -4
- package/src/utils/nodeTree.ts +1 -1
- package/src/utils/patterns.ts +26 -31
- package/src/utils/repairNodeKeys.ts +5 -7
- package/src/utils/wrapNodeInMain.ts +3 -3
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"isRtl": false,
|
|
8
8
|
"screenStyle": {
|
|
9
9
|
"light": {
|
|
10
|
-
"backgroundColor": "
|
|
11
|
-
"color": "
|
|
10
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND",
|
|
11
|
+
"color": "THEME_COLORS.TEXT"
|
|
12
12
|
},
|
|
13
13
|
"dark": {
|
|
14
|
-
"backgroundColor": "
|
|
15
|
-
"color": "
|
|
14
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND",
|
|
15
|
+
"color": "THEME_COLORS.TEXT"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"defaultLanguage": "en"
|
|
@@ -26,6 +26,28 @@
|
|
|
26
26
|
"title": "Main"
|
|
27
27
|
},
|
|
28
28
|
"children": [
|
|
29
|
+
{
|
|
30
|
+
"type": "StatusBarColor",
|
|
31
|
+
"attributes": {
|
|
32
|
+
"title": "Status Bar Color",
|
|
33
|
+
"description": "Status bar background color.",
|
|
34
|
+
"styles": {
|
|
35
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"children": null
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"type": "NavigationBarColor",
|
|
42
|
+
"attributes": {
|
|
43
|
+
"title": "Navigation Bar Color",
|
|
44
|
+
"description": "Navigation bar background color.",
|
|
45
|
+
"styles": {
|
|
46
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"children": null
|
|
50
|
+
},
|
|
29
51
|
{
|
|
30
52
|
"type": "PaywallProvider",
|
|
31
53
|
"attributes": {
|
|
@@ -38,7 +60,7 @@
|
|
|
38
60
|
"alignItems": "stretch",
|
|
39
61
|
"justifyContent": "flex-start",
|
|
40
62
|
"position": "relative",
|
|
41
|
-
"backgroundColor": "
|
|
63
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
42
64
|
}
|
|
43
65
|
},
|
|
44
66
|
"children": [
|
|
@@ -71,8 +93,8 @@
|
|
|
71
93
|
"width": 32,
|
|
72
94
|
"height": 32,
|
|
73
95
|
"borderRadius": 16,
|
|
74
|
-
"backgroundColor": "
|
|
75
|
-
"color": "
|
|
96
|
+
"backgroundColor": "STATIC_COLORS.WHITE",
|
|
97
|
+
"color": "STATIC_COLORS.BLACK",
|
|
76
98
|
"zIndex": 10,
|
|
77
99
|
"alignItems": "center",
|
|
78
100
|
"justifyContent": "center"
|
|
@@ -86,7 +108,7 @@
|
|
|
86
108
|
"description": "Title text.",
|
|
87
109
|
"title": "Paywall Title",
|
|
88
110
|
"styles": {
|
|
89
|
-
"color": "
|
|
111
|
+
"color": "STATIC_COLORS.WHITE",
|
|
90
112
|
"fontWeight": "700",
|
|
91
113
|
"fontSize": 28,
|
|
92
114
|
"textAlign": "center"
|
|
@@ -128,7 +150,7 @@
|
|
|
128
150
|
"description": "Icon item.",
|
|
129
151
|
"title": "BIcon 1",
|
|
130
152
|
"styles": {
|
|
131
|
-
"color": "
|
|
153
|
+
"color": "THEME_COLORS.ICON",
|
|
132
154
|
"fontSize": "16",
|
|
133
155
|
"flex": 0
|
|
134
156
|
}
|
|
@@ -142,7 +164,7 @@
|
|
|
142
164
|
"title": "text 1",
|
|
143
165
|
"styles": {
|
|
144
166
|
"flex": 1,
|
|
145
|
-
"color": "
|
|
167
|
+
"color": "STATIC_COLORS.WHITE",
|
|
146
168
|
"fontWeight": "700"
|
|
147
169
|
}
|
|
148
170
|
},
|
|
@@ -172,7 +194,7 @@
|
|
|
172
194
|
"description": "Icon item.",
|
|
173
195
|
"title": "BIcon 2",
|
|
174
196
|
"styles": {
|
|
175
|
-
"color": "
|
|
197
|
+
"color": "THEME_COLORS.ICON",
|
|
176
198
|
"fontSize": "16",
|
|
177
199
|
"flex": 0
|
|
178
200
|
}
|
|
@@ -186,7 +208,7 @@
|
|
|
186
208
|
"title": "text 2",
|
|
187
209
|
"styles": {
|
|
188
210
|
"flex": 1,
|
|
189
|
-
"color": "
|
|
211
|
+
"color": "STATIC_COLORS.WHITE",
|
|
190
212
|
"fontWeight": "700"
|
|
191
213
|
}
|
|
192
214
|
},
|
|
@@ -216,7 +238,7 @@
|
|
|
216
238
|
"description": "Icon item.",
|
|
217
239
|
"title": "BIcon 3",
|
|
218
240
|
"styles": {
|
|
219
|
-
"color": "
|
|
241
|
+
"color": "THEME_COLORS.ICON",
|
|
220
242
|
"fontSize": "16",
|
|
221
243
|
"flex": 0
|
|
222
244
|
}
|
|
@@ -230,7 +252,7 @@
|
|
|
230
252
|
"title": "text 3",
|
|
231
253
|
"styles": {
|
|
232
254
|
"flex": 1,
|
|
233
|
-
"color": "
|
|
255
|
+
"color": "STATIC_COLORS.WHITE",
|
|
234
256
|
"fontWeight": "700"
|
|
235
257
|
}
|
|
236
258
|
},
|
|
@@ -247,7 +269,7 @@
|
|
|
247
269
|
"title": "Option(s)",
|
|
248
270
|
"styles": {
|
|
249
271
|
"borderRadius": 12,
|
|
250
|
-
"backgroundColor": "
|
|
272
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
251
273
|
}
|
|
252
274
|
},
|
|
253
275
|
"children": [
|
|
@@ -268,8 +290,7 @@
|
|
|
268
290
|
"description": "Product description.",
|
|
269
291
|
"title": "Product Desc(s)",
|
|
270
292
|
"styles": {
|
|
271
|
-
"flex": 4
|
|
272
|
-
"color": "#000"
|
|
293
|
+
"flex": 4
|
|
273
294
|
}
|
|
274
295
|
},
|
|
275
296
|
"children": "@productDescription — Unlock all premium features for a month."
|
|
@@ -281,8 +302,7 @@
|
|
|
281
302
|
"title": "Product Price(s)",
|
|
282
303
|
"styles": {
|
|
283
304
|
"flex": 1,
|
|
284
|
-
"textAlign": "right"
|
|
285
|
-
"color": "#000"
|
|
305
|
+
"textAlign": "right"
|
|
286
306
|
}
|
|
287
307
|
},
|
|
288
308
|
"children": "@localizedPrice"
|
|
@@ -298,7 +318,7 @@
|
|
|
298
318
|
"marginRight": 4,
|
|
299
319
|
"flex": 0,
|
|
300
320
|
"width": 32,
|
|
301
|
-
"color": "
|
|
321
|
+
"color": "STATIC_COLORS.BLACK"
|
|
302
322
|
}
|
|
303
323
|
},
|
|
304
324
|
"children": null
|
|
@@ -312,7 +332,6 @@
|
|
|
312
332
|
"description": "Countdown timer (5 seconds).",
|
|
313
333
|
"title": "Countdown",
|
|
314
334
|
"styles": {
|
|
315
|
-
"color": "#FF0000",
|
|
316
335
|
"fontWeight": "700",
|
|
317
336
|
"fontSize": 40,
|
|
318
337
|
"textAlign": "center"
|
|
@@ -66,9 +66,34 @@
|
|
|
66
66
|
"attributes": {
|
|
67
67
|
"useSafeAreaView": true,
|
|
68
68
|
"description": "Ekranın ana kapsayıcısı. (#1)",
|
|
69
|
-
"title": "Main 1"
|
|
69
|
+
"title": "Main 1",
|
|
70
|
+
"styles": {
|
|
71
|
+
"paddingBottom": 16
|
|
72
|
+
}
|
|
70
73
|
},
|
|
71
74
|
"children": [
|
|
75
|
+
{
|
|
76
|
+
"type": "StatusBarColor",
|
|
77
|
+
"attributes": {
|
|
78
|
+
"title": "Status Bar Color",
|
|
79
|
+
"description": "Status bar background color.",
|
|
80
|
+
"styles": {
|
|
81
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"children": null
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"type": "NavigationBarColor",
|
|
88
|
+
"attributes": {
|
|
89
|
+
"title": "Navigation Bar Color",
|
|
90
|
+
"description": "Navigation bar background color.",
|
|
91
|
+
"styles": {
|
|
92
|
+
"backgroundColor": "THEME_COLORS.BACKGROUND"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"children": null
|
|
96
|
+
},
|
|
72
97
|
{
|
|
73
98
|
"type": "OnboardProvider",
|
|
74
99
|
"children": [
|
|
@@ -85,7 +110,7 @@
|
|
|
85
110
|
"description": "Sayfa başlığı. (#1)",
|
|
86
111
|
"title": "OnboardTitle 1",
|
|
87
112
|
"styles": {
|
|
88
|
-
"color": "
|
|
113
|
+
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
89
114
|
"textAlign": "center",
|
|
90
115
|
"marginTop": 40
|
|
91
116
|
}
|
|
@@ -108,7 +133,7 @@
|
|
|
108
133
|
"description": "Sayfa alt başlığı. (#1)",
|
|
109
134
|
"title": "OnboardSubtitle 1",
|
|
110
135
|
"styles": {
|
|
111
|
-
"color": "
|
|
136
|
+
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
112
137
|
"fontSize": 16,
|
|
113
138
|
"textAlign": "center"
|
|
114
139
|
}
|
|
@@ -131,7 +156,7 @@
|
|
|
131
156
|
"description": "Sayfa başlığı. (#2)",
|
|
132
157
|
"title": "OnboardTitle 2",
|
|
133
158
|
"styles": {
|
|
134
|
-
"color": "
|
|
159
|
+
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
135
160
|
"textAlign": "center",
|
|
136
161
|
"marginTop": 40
|
|
137
162
|
}
|
|
@@ -154,7 +179,7 @@
|
|
|
154
179
|
"description": "Sayfa alt başlığı. (#2)",
|
|
155
180
|
"title": "OnboardSubtitle 2",
|
|
156
181
|
"styles": {
|
|
157
|
-
"color": "
|
|
182
|
+
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
158
183
|
"fontSize": 16,
|
|
159
184
|
"textAlign": "center"
|
|
160
185
|
}
|
|
@@ -177,7 +202,7 @@
|
|
|
177
202
|
"description": "Sayfa başlığı. (#3)",
|
|
178
203
|
"title": "OnboardTitle 3",
|
|
179
204
|
"styles": {
|
|
180
|
-
"color": "
|
|
205
|
+
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
181
206
|
"textAlign": "center",
|
|
182
207
|
"marginTop": 40
|
|
183
208
|
}
|
|
@@ -200,7 +225,7 @@
|
|
|
200
225
|
"description": "Sayfa alt başlığı. (#3)",
|
|
201
226
|
"title": "OnboardSubtitle 3",
|
|
202
227
|
"styles": {
|
|
203
|
-
"color": "
|
|
228
|
+
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
204
229
|
"fontSize": 16,
|
|
205
230
|
"textAlign": "center"
|
|
206
231
|
}
|
|
@@ -223,7 +248,7 @@
|
|
|
223
248
|
"description": "Sayfa başlığı. (#4)",
|
|
224
249
|
"title": "OnboardTitle 4",
|
|
225
250
|
"styles": {
|
|
226
|
-
"color": "
|
|
251
|
+
"color": "THEME_COLORS.ONBOARD_TITLE",
|
|
227
252
|
"textAlign": "center",
|
|
228
253
|
"marginTop": 40
|
|
229
254
|
}
|
|
@@ -246,7 +271,7 @@
|
|
|
246
271
|
"description": "Sayfa alt başlığı. (#4)",
|
|
247
272
|
"title": "OnboardSubtitle 4",
|
|
248
273
|
"styles": {
|
|
249
|
-
"color": "
|
|
274
|
+
"color": "THEME_COLORS.ONBOARD_SUBTITLE",
|
|
250
275
|
"fontSize": 16,
|
|
251
276
|
"textAlign": "center"
|
|
252
277
|
}
|
|
@@ -262,7 +287,10 @@
|
|
|
262
287
|
],
|
|
263
288
|
"attributes": {
|
|
264
289
|
"description": "Onboarding ana yapısı. (#1)",
|
|
265
|
-
"title": "Onboard 1"
|
|
290
|
+
"title": "Onboard 1",
|
|
291
|
+
"styles": {
|
|
292
|
+
"flex": 1
|
|
293
|
+
}
|
|
266
294
|
}
|
|
267
295
|
},
|
|
268
296
|
{
|
|
@@ -271,10 +299,22 @@
|
|
|
271
299
|
"dotType": "expanding_dot",
|
|
272
300
|
"dot_thickness": 20,
|
|
273
301
|
"inactive_dot_opacity": 0.3,
|
|
274
|
-
"inactive_dot_color": "
|
|
275
|
-
"active_dot_color": "
|
|
302
|
+
"inactive_dot_color": "STATIC_COLORS.ONBOARD_DOT_INACTIVE",
|
|
303
|
+
"active_dot_color": "STATIC_COLORS.ONBOARD_DOT_ACTIVE",
|
|
304
|
+
"styles": {
|
|
305
|
+
"paddingVertical": 12
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "Separator",
|
|
311
|
+
"attributes": {
|
|
312
|
+
"title": "Separator",
|
|
313
|
+
"description": "Horizontal separator line",
|
|
276
314
|
"styles": {
|
|
277
|
-
"
|
|
315
|
+
"width": "100%",
|
|
316
|
+
"height": 2,
|
|
317
|
+
"backgroundColor": "STATIC_COLORS.SEPARATOR_COLOR"
|
|
278
318
|
}
|
|
279
319
|
}
|
|
280
320
|
},
|
|
@@ -287,8 +327,9 @@
|
|
|
287
327
|
"description": "Sayfa buton grubu. (#1)",
|
|
288
328
|
"title": "OnboardButtons 1",
|
|
289
329
|
"styles": {
|
|
290
|
-
"
|
|
291
|
-
"
|
|
330
|
+
"height": 40,
|
|
331
|
+
"marginVertical": 12,
|
|
332
|
+
"flexShrink": 0
|
|
292
333
|
}
|
|
293
334
|
},
|
|
294
335
|
"children": [
|
|
@@ -296,8 +337,8 @@
|
|
|
296
337
|
"type": "OnboardButton",
|
|
297
338
|
"attributes": {
|
|
298
339
|
"labelKey": "onboard.skip.one-page",
|
|
299
|
-
"button_text_color": "
|
|
300
|
-
"button_background_color": "
|
|
340
|
+
"button_text_color": "THEME_COLORS.BUTTON_SECONDARY_TEXT",
|
|
341
|
+
"button_background_color": "STATIC_COLORS.TRANSPARENT",
|
|
301
342
|
"events": [
|
|
302
343
|
{
|
|
303
344
|
"type": "Navigate",
|
|
@@ -314,8 +355,8 @@
|
|
|
314
355
|
"type": "OnboardButton",
|
|
315
356
|
"attributes": {
|
|
316
357
|
"labelKey": "onboard.next.one-page",
|
|
317
|
-
"button_text_color": "
|
|
318
|
-
"button_background_color": "
|
|
358
|
+
"button_text_color": "STATIC_COLORS.BUTTON_PRIMARY_TEXT",
|
|
359
|
+
"button_background_color": "STATIC_COLORS.BUTTON_PRIMARY_BACKGROUND",
|
|
319
360
|
"events": [
|
|
320
361
|
{
|
|
321
362
|
"type": "Navigate",
|
|
@@ -339,8 +380,9 @@
|
|
|
339
380
|
"description": "Sayfa buton grubu. (#2)",
|
|
340
381
|
"title": "OnboardButtons 2",
|
|
341
382
|
"styles": {
|
|
342
|
-
"
|
|
343
|
-
"
|
|
383
|
+
"height": 40,
|
|
384
|
+
"marginVertical": 12,
|
|
385
|
+
"flexShrink": 0
|
|
344
386
|
}
|
|
345
387
|
},
|
|
346
388
|
"children": [
|
|
@@ -348,8 +390,8 @@
|
|
|
348
390
|
"type": "OnboardButton",
|
|
349
391
|
"attributes": {
|
|
350
392
|
"labelKey": "onboard.skip.two-page",
|
|
351
|
-
"button_text_color": "
|
|
352
|
-
"button_background_color": "
|
|
393
|
+
"button_text_color": "THEME_COLORS.BUTTON_SECONDARY_TEXT",
|
|
394
|
+
"button_background_color": "STATIC_COLORS.TRANSPARENT",
|
|
353
395
|
"events": [
|
|
354
396
|
{
|
|
355
397
|
"type": "Permission",
|
|
@@ -370,8 +412,8 @@
|
|
|
370
412
|
"type": "OnboardButton",
|
|
371
413
|
"attributes": {
|
|
372
414
|
"labelKey": "onboard.next.two-page",
|
|
373
|
-
"button_text_color": "
|
|
374
|
-
"button_background_color": "
|
|
415
|
+
"button_text_color": "STATIC_COLORS.BUTTON_PRIMARY_TEXT",
|
|
416
|
+
"button_background_color": "STATIC_COLORS.BUTTON_PRIMARY_BACKGROUND",
|
|
375
417
|
"events": [
|
|
376
418
|
{
|
|
377
419
|
"type": "Permission",
|
|
@@ -399,8 +441,9 @@
|
|
|
399
441
|
"description": "Sayfa buton grubu. (#3)",
|
|
400
442
|
"title": "OnboardButtons 3",
|
|
401
443
|
"styles": {
|
|
402
|
-
"
|
|
403
|
-
"
|
|
444
|
+
"height": 40,
|
|
445
|
+
"marginVertical": 12,
|
|
446
|
+
"flexShrink": 0
|
|
404
447
|
}
|
|
405
448
|
},
|
|
406
449
|
"children": [
|
|
@@ -408,8 +451,8 @@
|
|
|
408
451
|
"type": "OnboardButton",
|
|
409
452
|
"attributes": {
|
|
410
453
|
"labelKey": "onboard.skip.three-page",
|
|
411
|
-
"button_text_color": "
|
|
412
|
-
"button_background_color": "
|
|
454
|
+
"button_text_color": "THEME_COLORS.BUTTON_SECONDARY_TEXT",
|
|
455
|
+
"button_background_color": "STATIC_COLORS.TRANSPARENT",
|
|
413
456
|
"events": [
|
|
414
457
|
{
|
|
415
458
|
"type": "Navigate",
|
|
@@ -426,8 +469,8 @@
|
|
|
426
469
|
"type": "OnboardButton",
|
|
427
470
|
"attributes": {
|
|
428
471
|
"labelKey": "onboard.next.three-page",
|
|
429
|
-
"button_text_color": "
|
|
430
|
-
"button_background_color": "
|
|
472
|
+
"button_text_color": "STATIC_COLORS.BUTTON_PRIMARY_TEXT",
|
|
473
|
+
"button_background_color": "STATIC_COLORS.BUTTON_PRIMARY_BACKGROUND",
|
|
431
474
|
"events": [
|
|
432
475
|
{
|
|
433
476
|
"type": "Permission",
|
|
@@ -455,8 +498,9 @@
|
|
|
455
498
|
"description": "Sayfa buton grubu. (#4)",
|
|
456
499
|
"title": "OnboardButtons 4",
|
|
457
500
|
"styles": {
|
|
458
|
-
"
|
|
459
|
-
"
|
|
501
|
+
"height": 40,
|
|
502
|
+
"marginVertical": 12,
|
|
503
|
+
"flexShrink": 0
|
|
460
504
|
}
|
|
461
505
|
},
|
|
462
506
|
"children": [
|
|
@@ -464,8 +508,8 @@
|
|
|
464
508
|
"type": "OnboardButton",
|
|
465
509
|
"attributes": {
|
|
466
510
|
"labelKey": "onboard.allow.four-page",
|
|
467
|
-
"button_text_color": "
|
|
468
|
-
"button_background_color": "
|
|
511
|
+
"button_text_color": "STATIC_COLORS.BUTTON_PRIMARY_TEXT",
|
|
512
|
+
"button_background_color": "STATIC_COLORS.BUTTON_PRIMARY_BACKGROUND",
|
|
469
513
|
"events": [
|
|
470
514
|
{
|
|
471
515
|
"type": "Permission",
|
|
@@ -489,7 +533,8 @@
|
|
|
489
533
|
"title": "Onboard Footer Wrap",
|
|
490
534
|
"description": "Wrapper for OnboardFooter component",
|
|
491
535
|
"styles": {
|
|
492
|
-
"
|
|
536
|
+
"marginHorizontal": 25,
|
|
537
|
+
"flexShrink": 0
|
|
493
538
|
}
|
|
494
539
|
},
|
|
495
540
|
"children": [
|
|
@@ -498,14 +543,14 @@
|
|
|
498
543
|
"attributes": {
|
|
499
544
|
"textLocalizationKey": "view.onboarding.footer.description",
|
|
500
545
|
"linkedWordFirstLocalizationKey": "view.onboarding.btnPrivacy",
|
|
501
|
-
"linkedWordFirstColor": "
|
|
546
|
+
"linkedWordFirstColor": "STATIC_COLORS.LINK_COLOR",
|
|
502
547
|
"linkedWordFirstPage": "privacy",
|
|
503
548
|
"linkedWordSecondLocalizationKey": "view.onboarding.btnTerms",
|
|
504
|
-
"linkedWordSecondColor": "
|
|
549
|
+
"linkedWordSecondColor": "STATIC_COLORS.LINK_COLOR",
|
|
505
550
|
"linkedWordSecondPage": "terms",
|
|
506
551
|
"styles": {
|
|
507
552
|
"gap": 8,
|
|
508
|
-
"color": "
|
|
553
|
+
"color": "THEME_COLORS.FOOTER_TEXT"
|
|
509
554
|
}
|
|
510
555
|
}
|
|
511
556
|
}
|