@total_onion/onion-library 1.0.113 → 1.0.114
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.
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
var(--block-min-height-mobile),
|
|
9
9
|
'mobile'
|
|
10
10
|
);
|
|
11
|
+
height: var(--block-height-mobile, auto);
|
|
11
12
|
overflow: var(--block-overflow, hidden);
|
|
12
13
|
border-radius: var(--block-border-radius);
|
|
13
14
|
place-items: center;
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
29
|
+
height: var(--block-height-portrait, auto);
|
|
28
30
|
aspect-ratio: var(--block-aspect-ratio-portrait);
|
|
29
31
|
min-height: core-functions.fluidSize(
|
|
30
32
|
var(--block-min-height-portrait),
|
|
@@ -32,6 +34,7 @@
|
|
|
32
34
|
);
|
|
33
35
|
}
|
|
34
36
|
@include core-mixins.device(breakpoints.$tabLandscape) {
|
|
37
|
+
height: var(--block-height-desktop, auto);
|
|
35
38
|
aspect-ratio: var(--block-aspect-ratio);
|
|
36
39
|
min-height: core-functions.fluidSize(
|
|
37
40
|
var(--block-min-height-desktop),
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
{% set blockMinHeightMobile = '--block-min-height-mobile: ' ~ fields.block_min_height.mobile_min_height|default(0) ~ ';' %}
|
|
13
13
|
{% set blockMinHeightPortrait = '--block-min-height-portrait: ' ~ fields.block_min_height.portrait_min_height|default(0) ~ ';' %}
|
|
14
14
|
{% set blockMinHeightDesktop = '--block-min-height-desktop: ' ~ fields.block_min_height.desktop_min_height|default(0) ~ ';' %}
|
|
15
|
+
{% set blockHeightMobile = '--block-height-mobile: ' ~ fields.block_height.mobile_height|ru|default('auto') ~ ';' %}
|
|
16
|
+
{% set blockHeightPortrait = '--block-height-portrait: ' ~ fields.block_height.portrait_height|ru ~ ';' %}
|
|
17
|
+
{% set blockHeightDesktop = '--block-height-desktop: ' ~ fields.block_height.desktop_height|ru ~ ';' %}
|
|
15
18
|
{% set blockPositionType = '--block-position-type:' ~ fields.block_position_type|ru|default('relative') ~ ';' %}
|
|
16
19
|
{% set blockPositionTypeTabletPortrait = '--block-position-type-tablet-portrait:' ~ fields.block_position_type_tablet_portrait|ru|default('relative') ~ ';' %}
|
|
17
20
|
{% set blockPositionTypeMobile = '--block-position-type-mobile:' ~ fields.block_position_type_mobile|ru|default('relative') ~ ';' %}
|
|
@@ -25,7 +28,7 @@
|
|
|
25
28
|
{% set blockPositionBottom = '--block-position-bottom: ' ~ fields.block_inset_value ~ ';' %}
|
|
26
29
|
{% set blockPositionLeft = '--block-position-left: ' ~ fields.block_inset_value ~ ';' %}
|
|
27
30
|
{% endif %}
|
|
28
|
-
{% set blockSettingsString = blockBorderRadius ~ blockAspectRatio ~ blockAspectRatioPortrait ~ blockAspectRatioMobile ~ blockZIndex ~ blockOverflow ~ blockBgColour ~ blockPointerEvents ~ blockPosition ~ blockInset ~ blockPositionTop ~ blockPositionRight ~ blockPositionBottom ~ blockPositionLeft ~ blockPositionType ~ blockPositionTypeTabletPortrait ~ blockPositionTypeMobile ~ blockMinHeightMobile ~ blockMinHeightPortrait ~ blockMinHeightDesktop %}
|
|
31
|
+
{% set blockSettingsString = blockBorderRadius ~ blockAspectRatio ~ blockAspectRatioPortrait ~ blockAspectRatioMobile ~ blockZIndex ~ blockOverflow ~ blockBgColour ~ blockPointerEvents ~ blockPosition ~ blockInset ~ blockPositionTop ~ blockPositionRight ~ blockPositionBottom ~ blockPositionLeft ~ blockPositionType ~ blockPositionTypeTabletPortrait ~ blockPositionTypeMobile ~ blockMinHeightMobile ~ blockMinHeightPortrait ~ blockMinHeightDesktop ~ blockHeightMobile ~ blockHeightPortrait ~ blockHeightDesktop %}
|
|
29
32
|
|
|
30
33
|
|
|
31
34
|
{{blockSettingsString}}
|
|
@@ -219,6 +219,138 @@
|
|
|
219
219
|
}
|
|
220
220
|
]
|
|
221
221
|
},
|
|
222
|
+
{
|
|
223
|
+
"key": "field_6890929777da9",
|
|
224
|
+
"label": "Block height",
|
|
225
|
+
"name": "block_height",
|
|
226
|
+
"aria-label": "",
|
|
227
|
+
"type": "group",
|
|
228
|
+
"instructions": "",
|
|
229
|
+
"required": 0,
|
|
230
|
+
"conditional_logic": 0,
|
|
231
|
+
"wrapper": {
|
|
232
|
+
"width": "",
|
|
233
|
+
"class": "hidden",
|
|
234
|
+
"id": ""
|
|
235
|
+
},
|
|
236
|
+
"wpml_cf_preferences": 3,
|
|
237
|
+
"layout": "block",
|
|
238
|
+
"acfe_seamless_style": 0,
|
|
239
|
+
"acfe_group_modal": 0,
|
|
240
|
+
"sub_fields": [
|
|
241
|
+
{
|
|
242
|
+
"key": "field_6890929777daa",
|
|
243
|
+
"label": "Desktop height",
|
|
244
|
+
"name": "desktop_height",
|
|
245
|
+
"aria-label": "",
|
|
246
|
+
"type": "select",
|
|
247
|
+
"instructions": "",
|
|
248
|
+
"required": 0,
|
|
249
|
+
"conditional_logic": 0,
|
|
250
|
+
"wrapper": {
|
|
251
|
+
"width": "33",
|
|
252
|
+
"class": "",
|
|
253
|
+
"id": ""
|
|
254
|
+
},
|
|
255
|
+
"wpml_cf_preferences": 3,
|
|
256
|
+
"choices": {
|
|
257
|
+
"__max-content": "max-content",
|
|
258
|
+
"__min-content": "min-content",
|
|
259
|
+
"__fit-content": "fit-content",
|
|
260
|
+
"__auto": "auto",
|
|
261
|
+
"__unset": "unset"
|
|
262
|
+
},
|
|
263
|
+
"default_value": "__auto",
|
|
264
|
+
"return_format": "value",
|
|
265
|
+
"multiple": 0,
|
|
266
|
+
"max": "",
|
|
267
|
+
"prepend": "",
|
|
268
|
+
"append": "",
|
|
269
|
+
"allow_null": 0,
|
|
270
|
+
"ui": 0,
|
|
271
|
+
"ajax": 0,
|
|
272
|
+
"placeholder": "",
|
|
273
|
+
"allow_custom": 0,
|
|
274
|
+
"search_placeholder": "",
|
|
275
|
+
"min": ""
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"key": "field_6890944cb2579",
|
|
279
|
+
"label": "Portrait height",
|
|
280
|
+
"name": "portrait_height",
|
|
281
|
+
"aria-label": "",
|
|
282
|
+
"type": "select",
|
|
283
|
+
"instructions": "",
|
|
284
|
+
"required": 0,
|
|
285
|
+
"conditional_logic": 0,
|
|
286
|
+
"wrapper": {
|
|
287
|
+
"width": "33",
|
|
288
|
+
"class": "",
|
|
289
|
+
"id": ""
|
|
290
|
+
},
|
|
291
|
+
"wpml_cf_preferences": 3,
|
|
292
|
+
"choices": {
|
|
293
|
+
"__max-content": "max-content",
|
|
294
|
+
"__min-content": "min-content",
|
|
295
|
+
"__fit-content": "fit-content",
|
|
296
|
+
"__auto": "auto",
|
|
297
|
+
"__unset": "unset"
|
|
298
|
+
},
|
|
299
|
+
"default_value": "__auto",
|
|
300
|
+
"return_format": "value",
|
|
301
|
+
"multiple": 0,
|
|
302
|
+
"max": "",
|
|
303
|
+
"prepend": "",
|
|
304
|
+
"append": "",
|
|
305
|
+
"allow_null": 0,
|
|
306
|
+
"ui": 0,
|
|
307
|
+
"ajax": 0,
|
|
308
|
+
"placeholder": "",
|
|
309
|
+
"allow_custom": 0,
|
|
310
|
+
"search_placeholder": "",
|
|
311
|
+
"min": ""
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"key": "field_68909454b257a",
|
|
315
|
+
"label": "Mobile height",
|
|
316
|
+
"name": "mobile_height",
|
|
317
|
+
"aria-label": "",
|
|
318
|
+
"type": "select",
|
|
319
|
+
"instructions": "",
|
|
320
|
+
"required": 0,
|
|
321
|
+
"conditional_logic": 0,
|
|
322
|
+
"wrapper": {
|
|
323
|
+
"width": "33",
|
|
324
|
+
"class": "",
|
|
325
|
+
"id": ""
|
|
326
|
+
},
|
|
327
|
+
"wpml_cf_preferences": 3,
|
|
328
|
+
"choices": {
|
|
329
|
+
"__max-content": "max-content",
|
|
330
|
+
"__min-content": "min-content",
|
|
331
|
+
"__fit-content": "fit-content",
|
|
332
|
+
"__auto": "auto",
|
|
333
|
+
"__unset": "unset"
|
|
334
|
+
},
|
|
335
|
+
"default_value": "__auto",
|
|
336
|
+
"return_format": "value",
|
|
337
|
+
"multiple": 0,
|
|
338
|
+
"max": "",
|
|
339
|
+
"prepend": "",
|
|
340
|
+
"append": "",
|
|
341
|
+
"allow_null": 0,
|
|
342
|
+
"ui": 0,
|
|
343
|
+
"ajax": 0,
|
|
344
|
+
"placeholder": "",
|
|
345
|
+
"allow_custom": 0,
|
|
346
|
+
"search_placeholder": "",
|
|
347
|
+
"min": ""
|
|
348
|
+
}
|
|
349
|
+
],
|
|
350
|
+
"acfe_group_modal_close": 0,
|
|
351
|
+
"acfe_group_modal_button": "",
|
|
352
|
+
"acfe_group_modal_size": "large"
|
|
353
|
+
},
|
|
222
354
|
{
|
|
223
355
|
"key": "field_64f1fb9b2d3df",
|
|
224
356
|
"label": "Block aspect ratio desktop",
|
|
@@ -432,7 +564,6 @@
|
|
|
432
564
|
"__relative": "Relative",
|
|
433
565
|
"__absolute": "Absolute",
|
|
434
566
|
"__sticky": "Sticky",
|
|
435
|
-
"__fixed": "Fixed",
|
|
436
567
|
"__static": "Static"
|
|
437
568
|
},
|
|
438
569
|
"default_value": "__relative",
|
|
@@ -475,6 +606,9 @@
|
|
|
475
606
|
"layout": "block",
|
|
476
607
|
"acfe_seamless_style": 0,
|
|
477
608
|
"acfe_group_modal": 0,
|
|
609
|
+
"acfe_group_modal_close": 0,
|
|
610
|
+
"acfe_group_modal_button": "",
|
|
611
|
+
"acfe_group_modal_size": "large",
|
|
478
612
|
"sub_fields": [
|
|
479
613
|
{
|
|
480
614
|
"key": "field_6836b81fed41b",
|
|
@@ -560,10 +694,7 @@
|
|
|
560
694
|
"prepend": "",
|
|
561
695
|
"append": ""
|
|
562
696
|
}
|
|
563
|
-
]
|
|
564
|
-
"acfe_group_modal_close": 0,
|
|
565
|
-
"acfe_group_modal_button": "",
|
|
566
|
-
"acfe_group_modal_size": "large"
|
|
697
|
+
]
|
|
567
698
|
},
|
|
568
699
|
{
|
|
569
700
|
"key": "field_65d28f09ca104",
|
|
@@ -696,5 +827,5 @@
|
|
|
696
827
|
"acfe_display_title": "",
|
|
697
828
|
"acfe_meta": "",
|
|
698
829
|
"acfe_note": "",
|
|
699
|
-
"modified":
|
|
830
|
+
"modified": 1754305763
|
|
700
831
|
}
|