@total_onion/onion-library 1.0.183 → 1.0.185
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/components/block-group-container-v3/group-container-v3.twig +3 -1
- package/components/block-group-container-v3/group_6865578ada499.json +55 -3
- package/components/block-post-info-v3/post-info-v3/post-video.twig +2 -2
- package/components/block-post-info-v3/post-info-v3.twig +3 -2
- package/components/block-sub-group-container-v3/group_686ceba7d6066.json +52 -2
- package/components/block-sub-group-container-v3/sub-group-container-v3.twig +4 -1
- package/components/component-grid-layout-container-v3/grid-layout-container-v3.scss +10 -8
- package/components/component-grid-layout-container-v3/grid-layout-container-v3.twig +6 -7
- package/components/component-grid-layout-container-v3/group_6882282e65bf2.json +10 -10
- package/package.json +1 -1
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
{% set imageSizes = '(min-width: 1440px) ' ~ (100 / fields.grid_layout.grid_columns_desktop|default(1))|round ~ 'vw, (min-width: 1024px) ' ~ (100 / fields.grid_layout.grid_columns_desktop|default(1))|round ~ 'vw, (min-width: 768px) ' ~ (100 / fields.grid_layout.grid_columns_portrait|default(1))|round ~ 'vw, (min-width: 300px) ' ~(100 / fields.grid_layout.grid_columns_mobile|default(1))|round ~ 'vw, 100vw' %}
|
|
20
20
|
|
|
21
21
|
{% set sectionStyles = styleEntryPoint ~ fallbackBackgroundColour ~ containerOverflowType ~ blockPosition %}
|
|
22
|
+
{% set renderDynamic = fields.render_dynamic %}
|
|
23
|
+
{% set renderDynamicSuffix = fields.render_dynamic_suffix %}
|
|
22
24
|
|
|
23
25
|
{{previewEntryPoint}}
|
|
24
26
|
<style>
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
{{sectionStyles}}
|
|
27
29
|
}
|
|
28
30
|
</style>
|
|
29
|
-
<{{blockElementType}} {{block.anchor ? "id=" ~ block.anchor : ''}} class="group-container-v3 {{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade {{block.id}}" data-blockid="{{block.id}}" {{dataAttributeEntryPoint}} data-jsload="false" data-assetkey="group-container-v3">
|
|
31
|
+
<{{blockElementType}} {{block.anchor ? "id=" ~ block.anchor : ''}} class="group-container-v3 {{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade {{block.id}}" data-blockid="{{block.id}}" {{dataAttributeEntryPoint}} data-jsload="false" data-assetkey="group-container-v3" data-render-dynamic="{{renderDynamic}}" data-render-dynamic-suffix="{{renderDynamicSuffix}}">
|
|
30
32
|
|
|
31
33
|
{% if block %}
|
|
32
34
|
{% set block = block|merge({'videoIdPrefix' : block.id }) %}
|
|
@@ -2449,6 +2449,57 @@
|
|
|
2449
2449
|
"acfe_flexible_layouts_previews": false,
|
|
2450
2450
|
"acfe_flexible_grid_container": false
|
|
2451
2451
|
},
|
|
2452
|
+
{
|
|
2453
|
+
"key": "field_689e0054d0f18",
|
|
2454
|
+
"label": "Render Dynamic",
|
|
2455
|
+
"name": "render_dynamic",
|
|
2456
|
+
"aria-label": "",
|
|
2457
|
+
"type": "true_false",
|
|
2458
|
+
"instructions": "",
|
|
2459
|
+
"required": 0,
|
|
2460
|
+
"conditional_logic": 0,
|
|
2461
|
+
"wrapper": {
|
|
2462
|
+
"width": "",
|
|
2463
|
+
"class": "",
|
|
2464
|
+
"id": ""
|
|
2465
|
+
},
|
|
2466
|
+
"message": "",
|
|
2467
|
+
"default_value": 0,
|
|
2468
|
+
"allow_in_bindings": 0,
|
|
2469
|
+
"ui_on_text": "",
|
|
2470
|
+
"ui_off_text": "",
|
|
2471
|
+
"ui": 1,
|
|
2472
|
+
"style": ""
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"key": "field_689e0a6a78ef8",
|
|
2476
|
+
"label": "Render Dynamic Suffix",
|
|
2477
|
+
"name": "render_dynamic_suffix",
|
|
2478
|
+
"aria-label": "",
|
|
2479
|
+
"type": "text",
|
|
2480
|
+
"instructions": "",
|
|
2481
|
+
"required": 0,
|
|
2482
|
+
"conditional_logic": [
|
|
2483
|
+
[
|
|
2484
|
+
{
|
|
2485
|
+
"field": "field_689e0054d0f18",
|
|
2486
|
+
"operator": "==",
|
|
2487
|
+
"value": "1"
|
|
2488
|
+
}
|
|
2489
|
+
]
|
|
2490
|
+
],
|
|
2491
|
+
"wrapper": {
|
|
2492
|
+
"width": "",
|
|
2493
|
+
"class": "",
|
|
2494
|
+
"id": ""
|
|
2495
|
+
},
|
|
2496
|
+
"default_value": "",
|
|
2497
|
+
"maxlength": "",
|
|
2498
|
+
"allow_in_bindings": 0,
|
|
2499
|
+
"placeholder": "",
|
|
2500
|
+
"prepend": "",
|
|
2501
|
+
"append": ""
|
|
2502
|
+
},
|
|
2452
2503
|
{
|
|
2453
2504
|
"key": "field_6865578ae85b0",
|
|
2454
2505
|
"label": "Layout",
|
|
@@ -2875,7 +2926,9 @@
|
|
|
2875
2926
|
"allow_null": 0,
|
|
2876
2927
|
"ui": 0,
|
|
2877
2928
|
"ajax": 0,
|
|
2878
|
-
"min": ""
|
|
2929
|
+
"min": "",
|
|
2930
|
+
"create_options": 0,
|
|
2931
|
+
"save_options": 0
|
|
2879
2932
|
},
|
|
2880
2933
|
{
|
|
2881
2934
|
"key": "field_6865578aeb4b3",
|
|
@@ -2921,10 +2974,9 @@
|
|
|
2921
2974
|
"acfe_autosync": [
|
|
2922
2975
|
"json"
|
|
2923
2976
|
],
|
|
2924
|
-
"acfml_field_group_mode": "localization",
|
|
2925
2977
|
"acfe_form": 0,
|
|
2926
2978
|
"acfe_display_title": "",
|
|
2927
2979
|
"acfe_meta": "",
|
|
2928
2980
|
"acfe_note": "",
|
|
2929
|
-
"modified":
|
|
2981
|
+
"modified": 1755187841
|
|
2930
2982
|
}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
{% set videoSelect = field.video_select|ru %}
|
|
16
16
|
{% set videoDesktop = attribute(post, videoSelect) %}
|
|
17
17
|
|
|
18
|
-
<div class="{{blockClassName}}__post-video-container {{blockClassName}}__info-item {{block.id}}" data-pattern-
|
|
19
|
-
<video class="{{blockClassName}}__post-video {{block.id}}" playsinline width=
|
|
18
|
+
<div class="{{blockClassName}}__post-video-container {{blockClassName}}__info-item {{block.id}}" data-pattern-post-info="post_video" data-video-select={{videoSelect}}>
|
|
19
|
+
<video class="{{blockClassName}}__post-video {{block.id}}" playsinline width="{{videoDesktop.width}}" height="{{videoDesktop.height}}" autoplay loop muted>
|
|
20
20
|
<source src="{{gt_video_mainsrc(videoDesktop['url'])}}" type="video/mp4">
|
|
21
21
|
</video>
|
|
22
22
|
</div>
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{% set post = get_term(fields.taxonomy) %}
|
|
16
16
|
{% endif %}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
{% set postInfoType = fields.post_info_type %}
|
|
19
19
|
{% set postTypeFields = fields.post_fields %}
|
|
20
20
|
{% set layout = fields.layout|ru %}
|
|
21
21
|
{% set imageSizes = imageSizes %}
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
{{sectionStyles}}
|
|
27
27
|
}
|
|
28
28
|
</style>
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{loop ? block.className.index ~ '-' ~ loop.index : ''}} {{postType}}-type {{classNameEntryPoint}} {{block.className}} lazy-fade {{block.id}}" {{dataAttributeEntryPoint}} data-assetkey="post-info-v3" data-post-info-type={{fields.post_info_type}}>
|
|
30
31
|
|
|
31
32
|
{% for field in postTypeFields %}
|
|
32
33
|
{% if block %}
|
|
@@ -1740,6 +1740,57 @@
|
|
|
1740
1740
|
"acfe_flexible_layouts_previews": false,
|
|
1741
1741
|
"acfe_flexible_grid_container": false
|
|
1742
1742
|
},
|
|
1743
|
+
{
|
|
1744
|
+
"key": "field_689e00b51905f",
|
|
1745
|
+
"label": "Render Dynamic",
|
|
1746
|
+
"name": "render_dynamic",
|
|
1747
|
+
"aria-label": "",
|
|
1748
|
+
"type": "true_false",
|
|
1749
|
+
"instructions": "",
|
|
1750
|
+
"required": 0,
|
|
1751
|
+
"conditional_logic": 0,
|
|
1752
|
+
"wrapper": {
|
|
1753
|
+
"width": "",
|
|
1754
|
+
"class": "",
|
|
1755
|
+
"id": ""
|
|
1756
|
+
},
|
|
1757
|
+
"message": "",
|
|
1758
|
+
"default_value": 0,
|
|
1759
|
+
"allow_in_bindings": 0,
|
|
1760
|
+
"ui_on_text": "",
|
|
1761
|
+
"ui_off_text": "",
|
|
1762
|
+
"ui": 1,
|
|
1763
|
+
"style": ""
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"key": "field_689e0dd38bc8d",
|
|
1767
|
+
"label": "Render Dynamic Suffix",
|
|
1768
|
+
"name": "render_dynamic_suffix",
|
|
1769
|
+
"aria-label": "",
|
|
1770
|
+
"type": "text",
|
|
1771
|
+
"instructions": "",
|
|
1772
|
+
"required": 0,
|
|
1773
|
+
"conditional_logic": [
|
|
1774
|
+
[
|
|
1775
|
+
{
|
|
1776
|
+
"field": "field_689e00b51905f",
|
|
1777
|
+
"operator": "==",
|
|
1778
|
+
"value": "1"
|
|
1779
|
+
}
|
|
1780
|
+
]
|
|
1781
|
+
],
|
|
1782
|
+
"wrapper": {
|
|
1783
|
+
"width": "",
|
|
1784
|
+
"class": "",
|
|
1785
|
+
"id": ""
|
|
1786
|
+
},
|
|
1787
|
+
"default_value": "",
|
|
1788
|
+
"maxlength": "",
|
|
1789
|
+
"allow_in_bindings": 0,
|
|
1790
|
+
"placeholder": "",
|
|
1791
|
+
"prepend": "",
|
|
1792
|
+
"append": ""
|
|
1793
|
+
},
|
|
1743
1794
|
{
|
|
1744
1795
|
"key": "field_686ceba7e73ac",
|
|
1745
1796
|
"label": "Animations",
|
|
@@ -1999,10 +2050,9 @@
|
|
|
1999
2050
|
"acfe_autosync": [
|
|
2000
2051
|
"json"
|
|
2001
2052
|
],
|
|
2002
|
-
"acfml_field_group_mode": "localization",
|
|
2003
2053
|
"acfe_form": 0,
|
|
2004
2054
|
"acfe_display_title": "",
|
|
2005
2055
|
"acfe_meta": "",
|
|
2006
2056
|
"acfe_note": "",
|
|
2007
|
-
"modified":
|
|
2057
|
+
"modified": 1755188713
|
|
2008
2058
|
}
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
{% set blockElementType = fields.block_element_type|default('section')|ru %}
|
|
18
18
|
|
|
19
19
|
{% set sectionStyles = styleEntryPoint ~ backgroundColour ~ gridLayoutContainer ~ containerOverflowType ~ blockPosition %}
|
|
20
|
+
{% set renderDynamic = fields.render_dynamic %}
|
|
21
|
+
{% set renderDynamicSuffix = fields.render_dynamic_suffix %}
|
|
20
22
|
|
|
21
23
|
{{previewEntryPoint}}
|
|
22
24
|
<style>
|
|
@@ -24,7 +26,8 @@
|
|
|
24
26
|
{{sectionStyles}}
|
|
25
27
|
}
|
|
26
28
|
</style>
|
|
27
|
-
|
|
29
|
+
|
|
30
|
+
<{{blockElementType}} {{block.anchor ? "id=" ~ block.anchor : ''}} class="sub-group-container-v3 {{blockClassName}} {{block.className}} {{loop ? block.className.index ~ '-' ~ loop.index : ''}} {{classNameEntryPoint}} {{block.id}} lazy-fade" {{dataAttributeEntryPoint}} data-jsload="false" data-assetkey="sub-group-container-v3" data-render-dynamic="{{renderDynamic}}" data-render-dynamic-suffix="{{renderDynamicSuffix}}">
|
|
28
31
|
{% if block %}
|
|
29
32
|
{% set block = block|merge({'videoIdPrefix' : block.id }) %}
|
|
30
33
|
{% endif %}
|
|
@@ -13,12 +13,8 @@
|
|
|
13
13
|
grid-gap: calc(var(--global-inline-spacing) * var(--row-gap-mult-mobile, 0))
|
|
14
14
|
calc(var(--global-inline-spacing) * var(--column-gap-mult-mobile, 0));
|
|
15
15
|
grid-auto-flow: var(--grid-auto-flow-mobile, row);
|
|
16
|
-
--grid-auto-columns-custom-size: #{core-functions-v3.fluidSize(
|
|
17
|
-
var(--grid-auto-columns-custom),
|
|
18
|
-
'static'
|
|
19
|
-
)};
|
|
20
16
|
grid-auto-columns: var(--grid-auto-columns-mobile, 1fr);
|
|
21
|
-
grid-auto-rows: var(--grid-auto-rows-mobile,
|
|
17
|
+
grid-auto-rows: var(--grid-auto-rows-mobile, auto);
|
|
22
18
|
grid-template-columns: var(
|
|
23
19
|
--grid-template-columns-custom-mobile,
|
|
24
20
|
repeat(
|
|
@@ -37,7 +33,7 @@
|
|
|
37
33
|
@include core-mixins-v3.device(breakpoints.$tabPortrait) {
|
|
38
34
|
grid-auto-flow: var(--grid-auto-flow-portrait, row);
|
|
39
35
|
grid-auto-columns: var(--grid-auto-columns-portrait, 1fr);
|
|
40
|
-
grid-auto-rows: var(--grid-auto-rows-portrait,
|
|
36
|
+
grid-auto-rows: var(--grid-auto-rows-portrait, auto);
|
|
41
37
|
grid-gap: calc(
|
|
42
38
|
var(--global-inline-spacing) * var(--row-gap-mult-portrait, 0)
|
|
43
39
|
)
|
|
@@ -69,7 +65,7 @@
|
|
|
69
65
|
var(--global-inline-spacing) * var(--column-gap-mult-desktop, 0)
|
|
70
66
|
);
|
|
71
67
|
grid-auto-flow: var(--grid-auto-flow-desktop, row);
|
|
72
|
-
grid-auto-columns: var(--grid-auto-columns,
|
|
68
|
+
grid-auto-columns: var(--grid-auto-columns, 1fr);
|
|
73
69
|
grid-auto-rows: var(--grid-auto-rows, auto);
|
|
74
70
|
grid-template-columns: var(
|
|
75
71
|
--grid-template-columns-custom-desktop,
|
|
@@ -78,6 +74,12 @@
|
|
|
78
74
|
var(--grid-auto-columns-desktop, 1fr)
|
|
79
75
|
)
|
|
80
76
|
);
|
|
81
|
-
grid-template-rows: var(
|
|
77
|
+
grid-template-rows: var(
|
|
78
|
+
--grid-template-rows-custom-desktop,
|
|
79
|
+
repeat(
|
|
80
|
+
var(--grid-template-rows-desktop),
|
|
81
|
+
var(--grid-auto-rows-desktop, 1fr)
|
|
82
|
+
)
|
|
83
|
+
);
|
|
82
84
|
}
|
|
83
85
|
}
|
|
@@ -12,24 +12,23 @@
|
|
|
12
12
|
{% set gridAutoFlowPortrait = '--grid-auto-flow-portrait: ' ~ fields.grid_layout.grid_auto_flow_portrait|ru ~ ';' %}
|
|
13
13
|
{% set gridAutoFlowMobile = '--grid-auto-flow-mobile: ' ~ fields.grid_layout.grid_auto_flow_mobile|ru ~ ';' %}
|
|
14
14
|
|
|
15
|
-
{% set gridAutoColumnsDesktop = '--grid-auto-columns-desktop: ' ~ fields.grid_layout.grid_auto_columns|ru ~ ';' %}
|
|
16
|
-
{% set gridAutoColumnsPortrait = '--grid-auto-columns-portrait: ' ~ fields.grid_layout.grid_auto_columns_portrait|ru ~ ';' %}
|
|
17
|
-
{% set gridAutoColumnsMobile = '--grid-auto-columns-mobile: ' ~ fields.grid_layout.grid_auto_columns_mobile|ru ~ ';' %}
|
|
15
|
+
{% set gridAutoColumnsDesktop = '--grid-auto-columns-desktop: ' ~ fields.grid_layout.grid_auto_columns|ru|default('1fr') ~ ';' %}
|
|
16
|
+
{% set gridAutoColumnsPortrait = '--grid-auto-columns-portrait: ' ~ fields.grid_layout.grid_auto_columns_portrait|ru|default('1fr') ~ ';' %}
|
|
17
|
+
{% set gridAutoColumnsMobile = '--grid-auto-columns-mobile: ' ~ fields.grid_layout.grid_auto_columns_mobile|ru|default('1fr') ~ ';' %}
|
|
18
18
|
|
|
19
19
|
{% set gridAutoRows = '--grid-auto-rows: ' ~ fields.grid_layout.grid_auto_rows|ru ~ ';' %}
|
|
20
20
|
{% set gridAutoRowsPortrait = '--grid-auto-rows-portrait: ' ~ fields.grid_layout.grid_auto_rows_portrait|ru ~ ';' %}
|
|
21
21
|
{% set gridAutoRowsMobile = '--grid-auto-rows-mobile: ' ~ fields.grid_layout.grid_auto_rows_mobile|ru ~ ';' %}
|
|
22
22
|
|
|
23
23
|
{% if fields.grid_layout.grid_auto_columns_desktop|ru == 'custom' %}
|
|
24
|
-
{% set gridAutoColumnsDesktop = '--grid-auto-columns-desktop: ' ~ fields.grid_layout.
|
|
24
|
+
{% set gridAutoColumnsDesktop = '--grid-auto-columns-desktop: ' ~ fields.grid_layout.grid_auto_columns_desktop_custom ~ ';' %}
|
|
25
25
|
{% endif %}
|
|
26
26
|
{% if fields.grid_layout.grid_auto_columns_portrait|ru == 'custom' %}
|
|
27
|
-
{% set gridAutoColumnsPortrait = '--grid-auto-columns-portrait: ' ~ fields.grid_layout.
|
|
27
|
+
{% set gridAutoColumnsPortrait = '--grid-auto-columns-portrait: ' ~ fields.grid_layout.grid_auto_columns_portrait_custom ~ ';' %}
|
|
28
28
|
{% endif %}
|
|
29
29
|
{% if fields.grid_layout.grid_auto_columns_mobile|ru == 'custom' %}
|
|
30
|
-
{% set gridAutoColumnsMobile = '--grid-auto-columns-mobile: ' ~ fields.grid_layout.
|
|
30
|
+
{% set gridAutoColumnsMobile = '--grid-auto-columns-mobile: ' ~ fields.grid_layout.grid_auto_columns_mobile_custom ~ ';' %}
|
|
31
31
|
{% endif %}
|
|
32
|
-
|
|
33
32
|
{% if fields.grid_layout.grid_template_columns_custom_desktop is not empty %}
|
|
34
33
|
{% set gridTemplateColumnsCustomDesktop = '--grid-template-columns-custom-desktop: ' ~ fields.grid_layout.grid_template_columns_custom_desktop ~ ';' %}
|
|
35
34
|
{% endif %}
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
"__max-content": "Max Content",
|
|
474
474
|
"__custom": "Custom"
|
|
475
475
|
},
|
|
476
|
-
"default_value": "
|
|
476
|
+
"default_value": "__1fr",
|
|
477
477
|
"return_format": "value",
|
|
478
478
|
"multiple": 0,
|
|
479
479
|
"max": "",
|
|
@@ -538,9 +538,10 @@
|
|
|
538
538
|
"__max-content": "Max Content",
|
|
539
539
|
"__custom": "Custom"
|
|
540
540
|
},
|
|
541
|
-
"default_value": "
|
|
541
|
+
"default_value": "__1fr",
|
|
542
542
|
"return_format": "value",
|
|
543
543
|
"multiple": 0,
|
|
544
|
+
"max": "",
|
|
544
545
|
"prepend": "",
|
|
545
546
|
"append": "",
|
|
546
547
|
"allow_null": 0,
|
|
@@ -549,8 +550,7 @@
|
|
|
549
550
|
"placeholder": "",
|
|
550
551
|
"allow_custom": 0,
|
|
551
552
|
"search_placeholder": "",
|
|
552
|
-
"min": ""
|
|
553
|
-
"max": ""
|
|
553
|
+
"min": ""
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
556
|
"key": "field_689d9c824d261",
|
|
@@ -601,9 +601,10 @@
|
|
|
601
601
|
"__1fr": "1fr",
|
|
602
602
|
"__custom": "Custom"
|
|
603
603
|
},
|
|
604
|
-
"default_value": "
|
|
604
|
+
"default_value": "__1fr",
|
|
605
605
|
"return_format": "value",
|
|
606
606
|
"multiple": 0,
|
|
607
|
+
"max": "",
|
|
607
608
|
"prepend": "",
|
|
608
609
|
"append": "",
|
|
609
610
|
"allow_null": 0,
|
|
@@ -612,13 +613,12 @@
|
|
|
612
613
|
"placeholder": "",
|
|
613
614
|
"allow_custom": 0,
|
|
614
615
|
"search_placeholder": "",
|
|
615
|
-
"min": ""
|
|
616
|
-
"max": ""
|
|
616
|
+
"min": ""
|
|
617
617
|
},
|
|
618
618
|
{
|
|
619
619
|
"key": "field_689ce400636e5",
|
|
620
|
-
"label": "Grid auto columns custom
|
|
621
|
-
"name": "
|
|
620
|
+
"label": "Grid auto columns mobile custom",
|
|
621
|
+
"name": "grid_auto_columns_mobile_custom",
|
|
622
622
|
"aria-label": "",
|
|
623
623
|
"type": "text",
|
|
624
624
|
"instructions": "",
|
|
@@ -1185,5 +1185,5 @@
|
|
|
1185
1185
|
"acfe_display_title": "",
|
|
1186
1186
|
"acfe_meta": "",
|
|
1187
1187
|
"acfe_note": "",
|
|
1188
|
-
"modified":
|
|
1188
|
+
"modified": 1755195019
|
|
1189
1189
|
}
|