@total_onion/onion-library 1.0.235 → 1.0.237

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.
@@ -2,6 +2,112 @@
2
2
  "key": "group_6866429531436",
3
3
  "title": "Block: Post Info v3",
4
4
  "fields": [
5
+ {
6
+ "key": "field_686642954313e",
7
+ "label": "Layout",
8
+ "name": "",
9
+ "aria-label": "",
10
+ "type": "tab",
11
+ "instructions": "",
12
+ "required": 0,
13
+ "conditional_logic": 0,
14
+ "wrapper": {
15
+ "width": "",
16
+ "class": "",
17
+ "id": ""
18
+ },
19
+ "wpml_cf_preferences": 3,
20
+ "placement": "top",
21
+ "endpoint": 0,
22
+ "no_preference": 0,
23
+ "selected": 0
24
+ },
25
+ {
26
+ "key": "field_68b30f66d6499",
27
+ "label": "Layout type",
28
+ "name": "layout_type",
29
+ "aria-label": "",
30
+ "type": "radio",
31
+ "instructions": "",
32
+ "required": 0,
33
+ "conditional_logic": 0,
34
+ "wrapper": {
35
+ "width": "",
36
+ "class": "",
37
+ "id": ""
38
+ },
39
+ "wpml_cf_preferences": 3,
40
+ "choices": {
41
+ "__grid": "Grid",
42
+ "__flex": "Flex"
43
+ },
44
+ "default_value": "",
45
+ "return_format": "value",
46
+ "allow_null": 0,
47
+ "other_choice": 0,
48
+ "layout": "vertical",
49
+ "save_other_choice": 0
50
+ },
51
+ {
52
+ "key": "field_6891e100bd186",
53
+ "label": "Grid Layout",
54
+ "name": "grid_layout",
55
+ "aria-label": "",
56
+ "type": "group",
57
+ "instructions": "",
58
+ "required": 0,
59
+ "conditional_logic": [
60
+ [
61
+ {
62
+ "field": "field_68b30f66d6499",
63
+ "operator": "==",
64
+ "value": "__grid"
65
+ }
66
+ ]
67
+ ],
68
+ "wrapper": {
69
+ "width": "",
70
+ "class": "",
71
+ "id": ""
72
+ },
73
+ "wpml_cf_preferences": 3,
74
+ "layout": "block",
75
+ "acfe_seamless_style": 0,
76
+ "acfe_group_modal": 0,
77
+ "sub_fields": [
78
+ {
79
+ "key": "field_686644fafc821",
80
+ "label": "Grid layout container fields",
81
+ "name": "grid_layout_container_fields",
82
+ "aria-label": "",
83
+ "type": "clone",
84
+ "instructions": "",
85
+ "required": 0,
86
+ "conditional_logic": 0,
87
+ "wrapper": {
88
+ "width": "",
89
+ "class": "",
90
+ "id": ""
91
+ },
92
+ "wpml_cf_preferences": 3,
93
+ "clone": [
94
+ "group_6882282e65bf2"
95
+ ],
96
+ "display": "seamless",
97
+ "layout": "block",
98
+ "prefix_label": 0,
99
+ "prefix_name": 0,
100
+ "acfe_seamless_style": 0,
101
+ "acfe_clone_modal": 0,
102
+ "acfe_clone_modal_close": 0,
103
+ "acfe_clone_modal_button": "",
104
+ "acfe_clone_modal_size": "large"
105
+ }
106
+ ],
107
+ "acfe_group_modal_close": 0,
108
+ "acfe_group_modal_button": "",
109
+ "acfe_group_modal_size": "large"
110
+ },
5
111
  {
6
112
  "key": "field_686642953d7a0",
7
113
  "label": "Content",
@@ -1250,9 +1356,29 @@
1250
1356
  "display": "block",
1251
1357
  "sub_fields": [
1252
1358
  {
1253
- "key": "field_6866429550424",
1254
- "label": "Post tags fields",
1255
- "name": "post_tags_fields",
1359
+ "key": "field_68b30ac06e514",
1360
+ "label": "Grid Layout",
1361
+ "name": "",
1362
+ "aria-label": "",
1363
+ "type": "tab",
1364
+ "instructions": "",
1365
+ "required": 0,
1366
+ "conditional_logic": 0,
1367
+ "wrapper": {
1368
+ "width": "",
1369
+ "class": "",
1370
+ "id": ""
1371
+ },
1372
+ "wpml_cf_preferences": 3,
1373
+ "placement": "top",
1374
+ "endpoint": 0,
1375
+ "no_preference": 0,
1376
+ "selected": 0
1377
+ },
1378
+ {
1379
+ "key": "field_686642955080c",
1380
+ "label": "Grid layout",
1381
+ "name": "grid_layout",
1256
1382
  "aria-label": "",
1257
1383
  "type": "clone",
1258
1384
  "instructions": "",
@@ -1265,7 +1391,7 @@
1265
1391
  },
1266
1392
  "wpml_cf_preferences": 3,
1267
1393
  "clone": [
1268
- "group_67090920e08e5"
1394
+ "group_6504a81a0623c"
1269
1395
  ],
1270
1396
  "display": "seamless",
1271
1397
  "layout": "block",
@@ -1278,9 +1404,29 @@
1278
1404
  "acfe_clone_modal_size": "large"
1279
1405
  },
1280
1406
  {
1281
- "key": "field_686642955080c",
1282
- "label": "Grid layout",
1283
- "name": "grid_layout",
1407
+ "key": "field_68b30aca6e515",
1408
+ "label": "Tag Settings",
1409
+ "name": "",
1410
+ "aria-label": "",
1411
+ "type": "tab",
1412
+ "instructions": "",
1413
+ "required": 0,
1414
+ "conditional_logic": 0,
1415
+ "wrapper": {
1416
+ "width": "",
1417
+ "class": "",
1418
+ "id": ""
1419
+ },
1420
+ "wpml_cf_preferences": 3,
1421
+ "placement": "top",
1422
+ "endpoint": 0,
1423
+ "no_preference": 0,
1424
+ "selected": 0
1425
+ },
1426
+ {
1427
+ "key": "field_6866429550424",
1428
+ "label": "Post tags fields",
1429
+ "name": "post_tags_fields",
1284
1430
  "aria-label": "",
1285
1431
  "type": "clone",
1286
1432
  "instructions": "",
@@ -1293,7 +1439,7 @@
1293
1439
  },
1294
1440
  "wpml_cf_preferences": 3,
1295
1441
  "clone": [
1296
- "group_6504a81a0623c"
1442
+ "group_67090920e08e5"
1297
1443
  ],
1298
1444
  "display": "seamless",
1299
1445
  "layout": "block",
@@ -1327,9 +1473,29 @@
1327
1473
  "display": "block",
1328
1474
  "sub_fields": [
1329
1475
  {
1330
- "key": "field_6866429550c40",
1331
- "label": "Global image fields",
1332
- "name": "global_image_fields",
1476
+ "key": "field_68b30ae76e516",
1477
+ "label": "Grid Layout",
1478
+ "name": "",
1479
+ "aria-label": "",
1480
+ "type": "tab",
1481
+ "instructions": "",
1482
+ "required": 0,
1483
+ "conditional_logic": 0,
1484
+ "wrapper": {
1485
+ "width": "",
1486
+ "class": "",
1487
+ "id": ""
1488
+ },
1489
+ "wpml_cf_preferences": 3,
1490
+ "placement": "top",
1491
+ "endpoint": 0,
1492
+ "no_preference": 0,
1493
+ "selected": 0
1494
+ },
1495
+ {
1496
+ "key": "field_6866429550ff7",
1497
+ "label": "Grid layout",
1498
+ "name": "grid_layout",
1333
1499
  "aria-label": "",
1334
1500
  "type": "clone",
1335
1501
  "instructions": "",
@@ -1342,7 +1508,7 @@
1342
1508
  },
1343
1509
  "wpml_cf_preferences": 3,
1344
1510
  "clone": [
1345
- "group_65b7c7e412941"
1511
+ "group_68822860bda9f"
1346
1512
  ],
1347
1513
  "display": "seamless",
1348
1514
  "layout": "block",
@@ -1355,9 +1521,29 @@
1355
1521
  "acfe_clone_modal_size": "large"
1356
1522
  },
1357
1523
  {
1358
- "key": "field_6866429550ff7",
1359
- "label": "Grid layout",
1360
- "name": "grid_layout",
1524
+ "key": "field_68b30af76e517",
1525
+ "label": "Global image settings",
1526
+ "name": "",
1527
+ "aria-label": "",
1528
+ "type": "tab",
1529
+ "instructions": "",
1530
+ "required": 0,
1531
+ "conditional_logic": 0,
1532
+ "wrapper": {
1533
+ "width": "",
1534
+ "class": "",
1535
+ "id": ""
1536
+ },
1537
+ "wpml_cf_preferences": 3,
1538
+ "placement": "top",
1539
+ "endpoint": 0,
1540
+ "no_preference": 0,
1541
+ "selected": 0
1542
+ },
1543
+ {
1544
+ "key": "field_6866429550c40",
1545
+ "label": "Global image fields",
1546
+ "name": "global_image_fields",
1361
1547
  "aria-label": "",
1362
1548
  "type": "clone",
1363
1549
  "instructions": "",
@@ -1370,7 +1556,7 @@
1370
1556
  },
1371
1557
  "wpml_cf_preferences": 3,
1372
1558
  "clone": [
1373
- "group_6504a81a0623c"
1559
+ "group_65b7c7e412941"
1374
1560
  ],
1375
1561
  "display": "seamless",
1376
1562
  "layout": "block",
@@ -1403,6 +1589,74 @@
1403
1589
  "label": "Post Publish Date",
1404
1590
  "display": "block",
1405
1591
  "sub_fields": [
1592
+ {
1593
+ "key": "field_68b30b1a6e518",
1594
+ "label": "Grid Layout",
1595
+ "name": "",
1596
+ "aria-label": "",
1597
+ "type": "tab",
1598
+ "instructions": "",
1599
+ "required": 0,
1600
+ "conditional_logic": 0,
1601
+ "wrapper": {
1602
+ "width": "",
1603
+ "class": "",
1604
+ "id": ""
1605
+ },
1606
+ "wpml_cf_preferences": 3,
1607
+ "placement": "top",
1608
+ "endpoint": 0,
1609
+ "no_preference": 0,
1610
+ "selected": 0
1611
+ },
1612
+ {
1613
+ "key": "field_6866429557d91",
1614
+ "label": "Grid layout",
1615
+ "name": "grid_layout",
1616
+ "aria-label": "",
1617
+ "type": "clone",
1618
+ "instructions": "",
1619
+ "required": 0,
1620
+ "conditional_logic": 0,
1621
+ "wrapper": {
1622
+ "width": "",
1623
+ "class": "",
1624
+ "id": ""
1625
+ },
1626
+ "wpml_cf_preferences": 3,
1627
+ "clone": [
1628
+ "group_68822860bda9f"
1629
+ ],
1630
+ "display": "seamless",
1631
+ "layout": "block",
1632
+ "prefix_label": 0,
1633
+ "prefix_name": 0,
1634
+ "acfe_seamless_style": 0,
1635
+ "acfe_clone_modal": 0,
1636
+ "acfe_clone_modal_close": 0,
1637
+ "acfe_clone_modal_button": "",
1638
+ "acfe_clone_modal_size": "large"
1639
+ },
1640
+ {
1641
+ "key": "field_68b30b256e519",
1642
+ "label": "Settings",
1643
+ "name": "",
1644
+ "aria-label": "",
1645
+ "type": "tab",
1646
+ "instructions": "",
1647
+ "required": 0,
1648
+ "conditional_logic": 0,
1649
+ "wrapper": {
1650
+ "width": "",
1651
+ "class": "",
1652
+ "id": ""
1653
+ },
1654
+ "wpml_cf_preferences": 3,
1655
+ "placement": "top",
1656
+ "endpoint": 0,
1657
+ "no_preference": 0,
1658
+ "selected": 0
1659
+ },
1406
1660
  {
1407
1661
  "key": "field_6866429557182",
1408
1662
  "label": "Enable label",
@@ -1481,34 +1735,6 @@
1481
1735
  "acfe_clone_modal_close": 0,
1482
1736
  "acfe_clone_modal_button": "",
1483
1737
  "acfe_clone_modal_size": "large"
1484
- },
1485
- {
1486
- "key": "field_6866429557d91",
1487
- "label": "Grid layout",
1488
- "name": "grid_layout",
1489
- "aria-label": "",
1490
- "type": "clone",
1491
- "instructions": "",
1492
- "required": 0,
1493
- "conditional_logic": 0,
1494
- "wrapper": {
1495
- "width": "",
1496
- "class": "",
1497
- "id": ""
1498
- },
1499
- "wpml_cf_preferences": 3,
1500
- "clone": [
1501
- "group_6504a81a0623c"
1502
- ],
1503
- "display": "seamless",
1504
- "layout": "block",
1505
- "prefix_label": 0,
1506
- "prefix_name": 0,
1507
- "acfe_seamless_style": 0,
1508
- "acfe_clone_modal": 0,
1509
- "acfe_clone_modal_close": 0,
1510
- "acfe_clone_modal_button": "",
1511
- "acfe_clone_modal_size": "large"
1512
1738
  }
1513
1739
  ],
1514
1740
  "min": "",
@@ -1532,11 +1758,11 @@
1532
1758
  "display": "block",
1533
1759
  "sub_fields": [
1534
1760
  {
1535
- "key": "field_6866429558107",
1536
- "label": "Headline Text",
1537
- "name": "headline_text",
1761
+ "key": "field_68b30b3b6e51a",
1762
+ "label": "Grid Layout",
1763
+ "name": "",
1538
1764
  "aria-label": "",
1539
- "type": "text",
1765
+ "type": "tab",
1540
1766
  "instructions": "",
1541
1767
  "required": 0,
1542
1768
  "conditional_logic": 0,
@@ -1545,17 +1771,16 @@
1545
1771
  "class": "",
1546
1772
  "id": ""
1547
1773
  },
1548
- "wpml_cf_preferences": 2,
1549
- "default_value": "Headline text!",
1550
- "maxlength": "",
1551
- "placeholder": "",
1552
- "prepend": "",
1553
- "append": ""
1774
+ "wpml_cf_preferences": 3,
1775
+ "placement": "top",
1776
+ "endpoint": 0,
1777
+ "no_preference": 0,
1778
+ "selected": 0
1554
1779
  },
1555
1780
  {
1556
- "key": "field_686642955850c",
1557
- "label": "Text style",
1558
- "name": "text_style",
1781
+ "key": "field_68664295588ec",
1782
+ "label": "Grid layout",
1783
+ "name": "grid_layout",
1559
1784
  "aria-label": "",
1560
1785
  "type": "clone",
1561
1786
  "instructions": "",
@@ -1568,7 +1793,7 @@
1568
1793
  },
1569
1794
  "wpml_cf_preferences": 3,
1570
1795
  "clone": [
1571
- "group_687a4e2334e37"
1796
+ "group_68822860bda9f"
1572
1797
  ],
1573
1798
  "display": "seamless",
1574
1799
  "layout": "block",
@@ -1581,9 +1806,50 @@
1581
1806
  "acfe_clone_modal_size": "large"
1582
1807
  },
1583
1808
  {
1584
- "key": "field_68664295588ec",
1585
- "label": "Grid layout",
1586
- "name": "grid_layout",
1809
+ "key": "field_68b30b466e51b",
1810
+ "label": "Headline Settings",
1811
+ "name": "",
1812
+ "aria-label": "",
1813
+ "type": "tab",
1814
+ "instructions": "",
1815
+ "required": 0,
1816
+ "conditional_logic": 0,
1817
+ "wrapper": {
1818
+ "width": "",
1819
+ "class": "",
1820
+ "id": ""
1821
+ },
1822
+ "wpml_cf_preferences": 3,
1823
+ "placement": "top",
1824
+ "endpoint": 0,
1825
+ "no_preference": 0,
1826
+ "selected": 0
1827
+ },
1828
+ {
1829
+ "key": "field_6866429558107",
1830
+ "label": "Headline Text",
1831
+ "name": "headline_text",
1832
+ "aria-label": "",
1833
+ "type": "text",
1834
+ "instructions": "",
1835
+ "required": 0,
1836
+ "conditional_logic": 0,
1837
+ "wrapper": {
1838
+ "width": "",
1839
+ "class": "",
1840
+ "id": ""
1841
+ },
1842
+ "wpml_cf_preferences": 2,
1843
+ "default_value": "Headline text!",
1844
+ "maxlength": "",
1845
+ "placeholder": "",
1846
+ "prepend": "",
1847
+ "append": ""
1848
+ },
1849
+ {
1850
+ "key": "field_686642955850c",
1851
+ "label": "Text style",
1852
+ "name": "text_style",
1587
1853
  "aria-label": "",
1588
1854
  "type": "clone",
1589
1855
  "instructions": "",
@@ -1596,7 +1862,7 @@
1596
1862
  },
1597
1863
  "wpml_cf_preferences": 3,
1598
1864
  "clone": [
1599
- "group_6504a81a0623c"
1865
+ "group_687a4e2334e37"
1600
1866
  ],
1601
1867
  "display": "seamless",
1602
1868
  "layout": "block",
@@ -1665,7 +1931,7 @@
1665
1931
  },
1666
1932
  "wpml_cf_preferences": 3,
1667
1933
  "clone": [
1668
- "group_6882282e65bf2"
1934
+ "group_68822860bda9f"
1669
1935
  ],
1670
1936
  "display": "seamless",
1671
1937
  "layout": "block",
@@ -1790,7 +2056,7 @@
1790
2056
  },
1791
2057
  "wpml_cf_preferences": 3,
1792
2058
  "clone": [
1793
- "group_6504a81a0623c"
2059
+ "group_68822860bda9f"
1794
2060
  ],
1795
2061
  "display": "seamless",
1796
2062
  "layout": "block",
@@ -1826,78 +2092,6 @@
1826
2092
  "acfe_flexible_layouts_previews": false,
1827
2093
  "acfe_flexible_grid_container": false
1828
2094
  },
1829
- {
1830
- "key": "field_686642954313e",
1831
- "label": "Layout",
1832
- "name": "",
1833
- "aria-label": "",
1834
- "type": "tab",
1835
- "instructions": "",
1836
- "required": 0,
1837
- "conditional_logic": 0,
1838
- "wrapper": {
1839
- "width": "",
1840
- "class": "",
1841
- "id": ""
1842
- },
1843
- "wpml_cf_preferences": 3,
1844
- "placement": "top",
1845
- "endpoint": 0,
1846
- "no_preference": 0,
1847
- "selected": 0
1848
- },
1849
- {
1850
- "key": "field_6891e100bd186",
1851
- "label": "Grid Layout",
1852
- "name": "grid_layout",
1853
- "aria-label": "",
1854
- "type": "group",
1855
- "instructions": "",
1856
- "required": 0,
1857
- "conditional_logic": 0,
1858
- "wrapper": {
1859
- "width": "",
1860
- "class": "",
1861
- "id": ""
1862
- },
1863
- "wpml_cf_preferences": 3,
1864
- "layout": "block",
1865
- "acfe_seamless_style": 0,
1866
- "acfe_group_modal": 0,
1867
- "acfe_group_modal_close": 0,
1868
- "acfe_group_modal_button": "",
1869
- "acfe_group_modal_size": "large",
1870
- "sub_fields": [
1871
- {
1872
- "key": "field_686644fafc821",
1873
- "label": "Grid layout container fields",
1874
- "name": "grid_layout_container_fields",
1875
- "aria-label": "",
1876
- "type": "clone",
1877
- "instructions": "",
1878
- "required": 0,
1879
- "conditional_logic": 0,
1880
- "wrapper": {
1881
- "width": "",
1882
- "class": "",
1883
- "id": ""
1884
- },
1885
- "wpml_cf_preferences": 3,
1886
- "clone": [
1887
- "group_6882282e65bf2"
1888
- ],
1889
- "display": "seamless",
1890
- "layout": "block",
1891
- "prefix_label": 0,
1892
- "prefix_name": 0,
1893
- "acfe_seamless_style": 0,
1894
- "acfe_clone_modal": 0,
1895
- "acfe_clone_modal_close": 0,
1896
- "acfe_clone_modal_button": "",
1897
- "acfe_clone_modal_size": "large"
1898
- }
1899
- ]
1900
- },
1901
2095
  {
1902
2096
  "key": "field_689f3979772e6",
1903
2097
  "label": "Animations",
@@ -2193,5 +2387,5 @@
2193
2387
  "acfe_display_title": "",
2194
2388
  "acfe_meta": "",
2195
2389
  "acfe_note": "",
2196
- "modified": 1755277182
2390
+ "modified": 1756565391
2197
2391
  }
@@ -1,8 +1,3 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
2
- // @use 'Assets/scss/modules/library-modules/core-functions/core-functions';
3
- // @use 'Assets/scss/modules/library-modules/grid-layout-element/grid-layout-element';
4
- // @use 'Assets/scss/theme/breakpoints';
5
-
6
1
  @mixin additionalStyles {
7
2
  .post-info-v3 {
8
3
  }
@@ -5,8 +5,18 @@
5
5
  {% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields, block }, with_context = false) %}
6
6
  {% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
7
7
  {% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
8
- {% set gridLayoutContainer = include('components/grid-layout-container-v3.twig') %}
9
- {% set sectionStyles = styleEntryPoint ~ gridGapMults ~ gridLayoutContainer %}
8
+
9
+ {% set layoutType = fields.layout_type|ru|default('grid') %}
10
+ {% set layoutStyles = '' %}
11
+ {% if layoutType == 'flex' %}
12
+ {% set layoutStyles = include('components/flex-layout-container-v3.twig', { fields, block }, with_context = false) %}
13
+ {% set layoutClass = 'flex-layout-container' %}
14
+ {% elseif layoutType == 'grid' %}
15
+ {% set layoutStyles = include('components/grid-layout-container-v3.twig', { fields, block }, with_context = false) %}
16
+ {% set layoutClass = 'grid-layout-container' %}
17
+ {% endif %}
18
+
19
+ {% set sectionStyles = styleEntryPoint ~ gridGapMults ~ layoutStyles %}
10
20
 
11
21
  {% if fields.post_info_type|ru == 'post-info' %}
12
22
  {% set post = get_post(fields.post) %}
@@ -150,9 +150,9 @@
150
150
  "location": [
151
151
  [
152
152
  {
153
- "param": "post_type",
153
+ "param": "block",
154
154
  "operator": "==",
155
- "value": "post"
155
+ "value": "acf\/video-content-v3"
156
156
  }
157
157
  ]
158
158
  ],
@@ -173,5 +173,5 @@
173
173
  "acfe_display_title": "",
174
174
  "acfe_meta": "",
175
175
  "acfe_note": "",
176
- "modified": 1752311923
176
+ "modified": 1756554563
177
177
  }
@@ -1,4 +1,5 @@
1
1
  {% set displayType = '--display-type: grid;' %}
2
+
2
3
  {% set gridGapMults = include('components/grid-gap-mults-v3.twig', {fields: fields.grid_layout}, with_context = false) %}
3
4
 
4
5
  {# Grid Container Settings #}
@@ -25,6 +26,7 @@
25
26
  {% set gridAutoFlowMobile = '--grid-auto-flow-mobile: ' ~ fields.grid_layout.grid_auto_flow_mobile|ru ~ ';' %}
26
27
  {% set gridAutoFlow = gridAutoFlowDesktop ~ gridAutoFlowPortrait ~ gridAutoFlowMobile %}
27
28
 
29
+
28
30
  {# Grid Auto Columns #}
29
31
  {% set gridAutoColumnsDesktop = '--grid-auto-columns-desktop: ' ~ fields.grid_layout.grid_auto_columns_desktop|ru|default('1fr') ~ ';' %}
30
32
  {% set gridAutoColumnsPortrait = '--grid-auto-columns-portrait: ' ~ fields.grid_layout.grid_auto_columns_portrait|ru|default('1fr') ~ ';' %}
@@ -41,6 +43,12 @@
41
43
  {% endif %}
42
44
  {% set gridAutoColumns = gridAutoColumnsDesktop ~ gridAutoColumnsPortrait ~ gridAutoColumnsMobile %}
43
45
 
46
+ {# Grid Template Columns #}
47
+ {% set gridTemplateColumnsDesktop = '--grid-template-columns-desktop: ' ~ fields.grid_layout.grid_columns_desktop|ru|default('1fr') ~ ';' %}
48
+ {% set gridTemplateColumnsPortrait = '--grid-template-columns-portrait: ' ~ fields.grid_layout.grid_columns_portrait|ru|default('1fr') ~ ';' %}
49
+ {% set gridTemplateColumnsMobile = '--grid-template-columns-mobile: ' ~ fields.grid_layout.grid_columns_mobile|ru|default('1fr') ~ ';' %}
50
+ {% set gridTemplateColumns = gridTemplateColumnsDesktop ~ gridTemplateColumnsPortrait ~ gridTemplateColumnsMobile %}
51
+
44
52
  {# Template Columns Custom #}
45
53
  {% if fields.grid_layout.grid_template_columns_custom_desktop is not empty %}
46
54
  {% set gridTemplateColumnsCustomDesktop = '--grid-template-columns-custom-desktop: ' ~ fields.grid_layout.grid_template_columns_custom_desktop ~ ';' %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.235",
3
+ "version": "1.0.237",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {