@total_onion/onion-library 1.0.9 → 1.0.11

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.
@@ -1044,14 +1044,14 @@
1044
1044
  "acfe_layout_col": "auto",
1045
1045
  "acfe_layout_allowed_col": false
1046
1046
  },
1047
- "layout_6787e2b8719fd": {
1048
- "key": "layout_6787e2b8719fd",
1049
- "name": "gradient_layer_v3",
1050
- "label": "Gradient Layer v3",
1047
+ "layout_65d295051676d": {
1048
+ "key": "layout_65d295051676d",
1049
+ "name": "nav_menu_container",
1050
+ "label": "Nav Menu Container",
1051
1051
  "display": "block",
1052
1052
  "sub_fields": [
1053
1053
  {
1054
- "key": "field_6865578b1cc0f",
1054
+ "key": "field_6865578b16e30",
1055
1055
  "label": "Grid Layout",
1056
1056
  "name": "",
1057
1057
  "aria-label": "",
@@ -1071,7 +1071,7 @@
1071
1071
  "selected": 0
1072
1072
  },
1073
1073
  {
1074
- "key": "field_6865578b1df72",
1074
+ "key": "field_6865578b17213",
1075
1075
  "label": "grid layout",
1076
1076
  "name": "grid_layout_copy",
1077
1077
  "aria-label": "",
@@ -1099,9 +1099,9 @@
1099
1099
  "acfe_clone_modal_size": "large"
1100
1100
  },
1101
1101
  {
1102
- "key": "field_6865578b1e360",
1103
- "label": "Gradient layer fields",
1104
- "name": "gradient_layer_fields",
1102
+ "key": "field_6865578b175f7",
1103
+ "label": "Nav menu container fields",
1104
+ "name": "nav_menu_container_fields",
1105
1105
  "aria-label": "",
1106
1106
  "type": "clone",
1107
1107
  "instructions": "",
@@ -1114,7 +1114,7 @@
1114
1114
  },
1115
1115
  "wpml_cf_preferences": 3,
1116
1116
  "clone": [
1117
- "group_686fd9ca50b63"
1117
+ "group_65d29435959e5"
1118
1118
  ],
1119
1119
  "display": "seamless",
1120
1120
  "layout": "block",
@@ -1141,14 +1141,14 @@
1141
1141
  "acfe_layout_col": "auto",
1142
1142
  "acfe_layout_allowed_col": false
1143
1143
  },
1144
- "layout_65dda8f965f8c": {
1145
- "key": "layout_65dda8f965f8c",
1146
- "name": "site_title_and_tagline",
1147
- "label": "Site Title and Tagline",
1144
+ "layout_687523cc7159b": {
1145
+ "key": "layout_687523cc7159b",
1146
+ "name": "market_selector_v3",
1147
+ "label": "Market Selector v3",
1148
1148
  "display": "block",
1149
1149
  "sub_fields": [
1150
1150
  {
1151
- "key": "field_6865578b02605",
1151
+ "key": "field_687523cc7159e",
1152
1152
  "label": "Grid Layout",
1153
1153
  "name": "",
1154
1154
  "aria-label": "",
@@ -1168,9 +1168,9 @@
1168
1168
  "selected": 0
1169
1169
  },
1170
1170
  {
1171
- "key": "field_6865578b029f3",
1171
+ "key": "field_687523cc7159f",
1172
1172
  "label": "grid layout",
1173
- "name": "grid_layout",
1173
+ "name": "grid_layout_copy",
1174
1174
  "aria-label": "",
1175
1175
  "type": "clone",
1176
1176
  "instructions": "",
@@ -1196,9 +1196,9 @@
1196
1196
  "acfe_clone_modal_size": "large"
1197
1197
  },
1198
1198
  {
1199
- "key": "field_6865578b02dd8",
1200
- "label": "Site title and tagline fields",
1201
- "name": "site_title_and_tagline_fields",
1199
+ "key": "field_687523cc715a0",
1200
+ "label": "Market Selector v3 fields",
1201
+ "name": "market_selector_v3_fields",
1202
1202
  "aria-label": "",
1203
1203
  "type": "clone",
1204
1204
  "instructions": "",
@@ -1211,7 +1211,7 @@
1211
1211
  },
1212
1212
  "wpml_cf_preferences": 3,
1213
1213
  "clone": [
1214
- "group_65d258a4d4ee1"
1214
+ "group_68752075dd831"
1215
1215
  ],
1216
1216
  "display": "seamless",
1217
1217
  "layout": "block",
@@ -1238,18 +1238,18 @@
1238
1238
  "acfe_layout_col": "auto",
1239
1239
  "acfe_layout_allowed_col": false
1240
1240
  },
1241
- "layout_66296ce99eb03": {
1242
- "key": "layout_66296ce99eb03",
1243
- "name": "site_copyright_notice",
1244
- "label": "Site Copyright Notice",
1241
+ "layout_6787e2b8719fd": {
1242
+ "key": "layout_6787e2b8719fd",
1243
+ "name": "gradient_layer_v3",
1244
+ "label": "Gradient Layer v3",
1245
1245
  "display": "block",
1246
1246
  "sub_fields": [
1247
1247
  {
1248
- "key": "field_6865578b031c4",
1249
- "label": "Site Copyright Notice",
1250
- "name": "site_copyright_notice",
1248
+ "key": "field_6865578b1cc0f",
1249
+ "label": "Grid Layout",
1250
+ "name": "",
1251
1251
  "aria-label": "",
1252
- "type": "clone",
1252
+ "type": "tab",
1253
1253
  "instructions": "",
1254
1254
  "required": 0,
1255
1255
  "conditional_logic": 0,
@@ -1259,25 +1259,17 @@
1259
1259
  "id": ""
1260
1260
  },
1261
1261
  "wpml_cf_preferences": 3,
1262
- "clone": [
1263
- "group_66296c3716b4f"
1264
- ],
1265
- "display": "seamless",
1266
- "layout": "block",
1267
- "prefix_label": 0,
1268
- "prefix_name": 0,
1269
- "acfe_seamless_style": 0,
1270
- "acfe_clone_modal": 0,
1271
- "acfe_clone_modal_close": 0,
1272
- "acfe_clone_modal_button": "",
1273
- "acfe_clone_modal_size": "large"
1262
+ "placement": "top",
1263
+ "endpoint": 0,
1264
+ "no_preference": 0,
1265
+ "selected": 0
1274
1266
  },
1275
1267
  {
1276
- "key": "field_6865578b04553",
1277
- "label": "Grid Layout",
1278
- "name": "",
1268
+ "key": "field_6865578b1df72",
1269
+ "label": "grid layout",
1270
+ "name": "grid_layout_copy",
1279
1271
  "aria-label": "",
1280
- "type": "tab",
1272
+ "type": "clone",
1281
1273
  "instructions": "",
1282
1274
  "required": 0,
1283
1275
  "conditional_logic": 0,
@@ -1287,15 +1279,23 @@
1287
1279
  "id": ""
1288
1280
  },
1289
1281
  "wpml_cf_preferences": 3,
1290
- "placement": "top",
1291
- "endpoint": 0,
1292
- "no_preference": 0,
1293
- "selected": 0
1282
+ "clone": [
1283
+ "group_6504a81a0623c"
1284
+ ],
1285
+ "display": "seamless",
1286
+ "layout": "block",
1287
+ "prefix_label": 0,
1288
+ "prefix_name": 0,
1289
+ "acfe_seamless_style": 0,
1290
+ "acfe_clone_modal": 0,
1291
+ "acfe_clone_modal_close": 0,
1292
+ "acfe_clone_modal_button": "",
1293
+ "acfe_clone_modal_size": "large"
1294
1294
  },
1295
1295
  {
1296
- "key": "field_6865578b0492e",
1297
- "label": "grid layout",
1298
- "name": "grid_layout",
1296
+ "key": "field_6865578b1e360",
1297
+ "label": "Gradient layer fields",
1298
+ "name": "gradient_layer_fields",
1299
1299
  "aria-label": "",
1300
1300
  "type": "clone",
1301
1301
  "instructions": "",
@@ -1308,7 +1308,7 @@
1308
1308
  },
1309
1309
  "wpml_cf_preferences": 3,
1310
1310
  "clone": [
1311
- "group_6504a81a0623c"
1311
+ "group_686fd9ca50b63"
1312
1312
  ],
1313
1313
  "display": "seamless",
1314
1314
  "layout": "block",
@@ -1335,14 +1335,14 @@
1335
1335
  "acfe_layout_col": "auto",
1336
1336
  "acfe_layout_allowed_col": false
1337
1337
  },
1338
- "layout_65ddac9f98296": {
1339
- "key": "layout_65ddac9f98296",
1340
- "name": "site_logo_container",
1341
- "label": "Site Logo container",
1338
+ "layout_65dda8f965f8c": {
1339
+ "key": "layout_65dda8f965f8c",
1340
+ "name": "site_title_and_tagline",
1341
+ "label": "Site Title and Tagline",
1342
1342
  "display": "block",
1343
1343
  "sub_fields": [
1344
1344
  {
1345
- "key": "field_6865578b05cb6",
1345
+ "key": "field_6865578b02605",
1346
1346
  "label": "Grid Layout",
1347
1347
  "name": "",
1348
1348
  "aria-label": "",
@@ -1362,7 +1362,7 @@
1362
1362
  "selected": 0
1363
1363
  },
1364
1364
  {
1365
- "key": "field_6865578b060ae",
1365
+ "key": "field_6865578b029f3",
1366
1366
  "label": "grid layout",
1367
1367
  "name": "grid_layout",
1368
1368
  "aria-label": "",
@@ -1390,9 +1390,9 @@
1390
1390
  "acfe_clone_modal_size": "large"
1391
1391
  },
1392
1392
  {
1393
- "key": "field_6865578b06489",
1394
- "label": "Site logo container",
1395
- "name": "site_logo_container",
1393
+ "key": "field_6865578b02dd8",
1394
+ "label": "Site title and tagline fields",
1395
+ "name": "site_title_and_tagline_fields",
1396
1396
  "aria-label": "",
1397
1397
  "type": "clone",
1398
1398
  "instructions": "",
@@ -1405,7 +1405,7 @@
1405
1405
  },
1406
1406
  "wpml_cf_preferences": 3,
1407
1407
  "clone": [
1408
- "group_65dda9cbda1a0"
1408
+ "group_65d258a4d4ee1"
1409
1409
  ],
1410
1410
  "display": "seamless",
1411
1411
  "layout": "block",
@@ -1432,14 +1432,42 @@
1432
1432
  "acfe_layout_col": "auto",
1433
1433
  "acfe_layout_allowed_col": false
1434
1434
  },
1435
- "layout_65eb0b972b031": {
1436
- "key": "layout_65eb0b972b031",
1437
- "name": "iframe_container",
1438
- "label": "Iframe Container",
1435
+ "layout_66296ce99eb03": {
1436
+ "key": "layout_66296ce99eb03",
1437
+ "name": "site_copyright_notice",
1438
+ "label": "Site Copyright Notice",
1439
1439
  "display": "block",
1440
1440
  "sub_fields": [
1441
1441
  {
1442
- "key": "field_6865578b0aecc",
1442
+ "key": "field_6865578b031c4",
1443
+ "label": "Site Copyright Notice",
1444
+ "name": "site_copyright_notice",
1445
+ "aria-label": "",
1446
+ "type": "clone",
1447
+ "instructions": "",
1448
+ "required": 0,
1449
+ "conditional_logic": 0,
1450
+ "wrapper": {
1451
+ "width": "",
1452
+ "class": "",
1453
+ "id": ""
1454
+ },
1455
+ "wpml_cf_preferences": 3,
1456
+ "clone": [
1457
+ "group_66296c3716b4f"
1458
+ ],
1459
+ "display": "seamless",
1460
+ "layout": "block",
1461
+ "prefix_label": 0,
1462
+ "prefix_name": 0,
1463
+ "acfe_seamless_style": 0,
1464
+ "acfe_clone_modal": 0,
1465
+ "acfe_clone_modal_close": 0,
1466
+ "acfe_clone_modal_button": "",
1467
+ "acfe_clone_modal_size": "large"
1468
+ },
1469
+ {
1470
+ "key": "field_6865578b04553",
1443
1471
  "label": "Grid Layout",
1444
1472
  "name": "",
1445
1473
  "aria-label": "",
@@ -1459,7 +1487,7 @@
1459
1487
  "selected": 0
1460
1488
  },
1461
1489
  {
1462
- "key": "field_6865578b0b2a5",
1490
+ "key": "field_6865578b0492e",
1463
1491
  "label": "grid layout",
1464
1492
  "name": "grid_layout",
1465
1493
  "aria-label": "",
@@ -1485,11 +1513,52 @@
1485
1513
  "acfe_clone_modal_close": 0,
1486
1514
  "acfe_clone_modal_button": "",
1487
1515
  "acfe_clone_modal_size": "large"
1516
+ }
1517
+ ],
1518
+ "min": "",
1519
+ "max": "",
1520
+ "acfe_flexible_render_template": false,
1521
+ "acfe_flexible_render_style": false,
1522
+ "acfe_flexible_render_script": false,
1523
+ "acfe_flexible_thumbnail": false,
1524
+ "acfe_flexible_settings": false,
1525
+ "acfe_flexible_settings_size": "medium",
1526
+ "acfe_layout_locations": [],
1527
+ "acfe_flexible_modal_edit_size": false,
1528
+ "acfe_flexible_category": false,
1529
+ "acfe_layout_col": "auto",
1530
+ "acfe_layout_allowed_col": false
1531
+ },
1532
+ "layout_65ddac9f98296": {
1533
+ "key": "layout_65ddac9f98296",
1534
+ "name": "site_logo_container",
1535
+ "label": "Site Logo container",
1536
+ "display": "block",
1537
+ "sub_fields": [
1538
+ {
1539
+ "key": "field_6865578b05cb6",
1540
+ "label": "Grid Layout",
1541
+ "name": "",
1542
+ "aria-label": "",
1543
+ "type": "tab",
1544
+ "instructions": "",
1545
+ "required": 0,
1546
+ "conditional_logic": 0,
1547
+ "wrapper": {
1548
+ "width": "",
1549
+ "class": "",
1550
+ "id": ""
1551
+ },
1552
+ "wpml_cf_preferences": 3,
1553
+ "placement": "top",
1554
+ "endpoint": 0,
1555
+ "no_preference": 0,
1556
+ "selected": 0
1488
1557
  },
1489
1558
  {
1490
- "key": "field_6865578b0b692",
1491
- "label": "Iframe container fields",
1492
- "name": "iframe_container_fields",
1559
+ "key": "field_6865578b060ae",
1560
+ "label": "grid layout",
1561
+ "name": "grid_layout",
1493
1562
  "aria-label": "",
1494
1563
  "type": "clone",
1495
1564
  "instructions": "",
@@ -1502,7 +1571,35 @@
1502
1571
  },
1503
1572
  "wpml_cf_preferences": 3,
1504
1573
  "clone": [
1505
- "group_645d4a0c3e5ca"
1574
+ "group_6504a81a0623c"
1575
+ ],
1576
+ "display": "seamless",
1577
+ "layout": "block",
1578
+ "prefix_label": 0,
1579
+ "prefix_name": 0,
1580
+ "acfe_seamless_style": 0,
1581
+ "acfe_clone_modal": 0,
1582
+ "acfe_clone_modal_close": 0,
1583
+ "acfe_clone_modal_button": "",
1584
+ "acfe_clone_modal_size": "large"
1585
+ },
1586
+ {
1587
+ "key": "field_6865578b06489",
1588
+ "label": "Site logo container",
1589
+ "name": "site_logo_container",
1590
+ "aria-label": "",
1591
+ "type": "clone",
1592
+ "instructions": "",
1593
+ "required": 0,
1594
+ "conditional_logic": 0,
1595
+ "wrapper": {
1596
+ "width": "",
1597
+ "class": "",
1598
+ "id": ""
1599
+ },
1600
+ "wpml_cf_preferences": 3,
1601
+ "clone": [
1602
+ "group_65dda9cbda1a0"
1506
1603
  ],
1507
1604
  "display": "seamless",
1508
1605
  "layout": "block",
@@ -1529,14 +1626,14 @@
1529
1626
  "acfe_layout_col": "auto",
1530
1627
  "acfe_layout_allowed_col": false
1531
1628
  },
1532
- "layout_6710f495eab1b": {
1533
- "key": "layout_6710f495eab1b",
1534
- "name": "map_container",
1535
- "label": "Map Container",
1629
+ "layout_65eb0b972b031": {
1630
+ "key": "layout_65eb0b972b031",
1631
+ "name": "iframe_container",
1632
+ "label": "Iframe Container",
1536
1633
  "display": "block",
1537
1634
  "sub_fields": [
1538
1635
  {
1539
- "key": "field_6865578b0ca32",
1636
+ "key": "field_6865578b0aecc",
1540
1637
  "label": "Grid Layout",
1541
1638
  "name": "",
1542
1639
  "aria-label": "",
@@ -1556,7 +1653,7 @@
1556
1653
  "selected": 0
1557
1654
  },
1558
1655
  {
1559
- "key": "field_6865578b0cdf8",
1656
+ "key": "field_6865578b0b2a5",
1560
1657
  "label": "grid layout",
1561
1658
  "name": "grid_layout",
1562
1659
  "aria-label": "",
@@ -1584,9 +1681,9 @@
1584
1681
  "acfe_clone_modal_size": "large"
1585
1682
  },
1586
1683
  {
1587
- "key": "field_6865578b0d1ef",
1588
- "label": "Map container fields",
1589
- "name": "map_container_fields",
1684
+ "key": "field_6865578b0b692",
1685
+ "label": "Iframe container fields",
1686
+ "name": "iframe_container_fields",
1590
1687
  "aria-label": "",
1591
1688
  "type": "clone",
1592
1689
  "instructions": "",
@@ -1599,7 +1696,7 @@
1599
1696
  },
1600
1697
  "wpml_cf_preferences": 3,
1601
1698
  "clone": [
1602
- "group_670fe49f73f13"
1699
+ "group_645d4a0c3e5ca"
1603
1700
  ],
1604
1701
  "display": "seamless",
1605
1702
  "layout": "block",
@@ -1626,14 +1723,14 @@
1626
1723
  "acfe_layout_col": "auto",
1627
1724
  "acfe_layout_allowed_col": false
1628
1725
  },
1629
- "layout_65d295051676d": {
1630
- "key": "layout_65d295051676d",
1631
- "name": "nav_menu_container",
1632
- "label": "Nav Menu Container",
1726
+ "layout_6710f495eab1b": {
1727
+ "key": "layout_6710f495eab1b",
1728
+ "name": "map_container",
1729
+ "label": "Map Container",
1633
1730
  "display": "block",
1634
1731
  "sub_fields": [
1635
1732
  {
1636
- "key": "field_6865578b16e30",
1733
+ "key": "field_6865578b0ca32",
1637
1734
  "label": "Grid Layout",
1638
1735
  "name": "",
1639
1736
  "aria-label": "",
@@ -1653,9 +1750,9 @@
1653
1750
  "selected": 0
1654
1751
  },
1655
1752
  {
1656
- "key": "field_6865578b17213",
1753
+ "key": "field_6865578b0cdf8",
1657
1754
  "label": "grid layout",
1658
- "name": "grid_layout_copy",
1755
+ "name": "grid_layout",
1659
1756
  "aria-label": "",
1660
1757
  "type": "clone",
1661
1758
  "instructions": "",
@@ -1681,9 +1778,9 @@
1681
1778
  "acfe_clone_modal_size": "large"
1682
1779
  },
1683
1780
  {
1684
- "key": "field_6865578b175f7",
1685
- "label": "Nav menu container fields",
1686
- "name": "nav_menu_container_fields",
1781
+ "key": "field_6865578b0d1ef",
1782
+ "label": "Map container fields",
1783
+ "name": "map_container_fields",
1687
1784
  "aria-label": "",
1688
1785
  "type": "clone",
1689
1786
  "instructions": "",
@@ -1696,7 +1793,7 @@
1696
1793
  },
1697
1794
  "wpml_cf_preferences": 3,
1698
1795
  "clone": [
1699
- "group_65d29435959e5"
1796
+ "group_670fe49f73f13"
1700
1797
  ],
1701
1798
  "display": "seamless",
1702
1799
  "layout": "block",
@@ -2094,5 +2191,5 @@
2094
2191
  "acfe_display_title": "",
2095
2192
  "acfe_meta": "",
2096
2193
  "acfe_note": "",
2097
- "modified": 1752276129
2194
+ "modified": 1752507401
2098
2195
  }
@@ -0,0 +1,59 @@
1
+ {
2
+ "key": "group_68752075dd831",
3
+ "title": "Block: Market Selector v3",
4
+ "fields": [
5
+ {
6
+ "key": "field_6875207709d8d",
7
+ "label": "Selector Type",
8
+ "name": "selector_type",
9
+ "aria-label": "",
10
+ "type": "radio",
11
+ "instructions": "",
12
+ "required": 0,
13
+ "conditional_logic": 0,
14
+ "wrapper": {
15
+ "width": "",
16
+ "class": "",
17
+ "id": ""
18
+ },
19
+ "wpml_cf_preferences": 0,
20
+ "choices": {
21
+ "__pop-up": "Pop Up",
22
+ "__inline": "Inline"
23
+ },
24
+ "default_value": "__pop-up : Pop Up",
25
+ "return_format": "value",
26
+ "allow_null": 0,
27
+ "other_choice": 0,
28
+ "layout": "vertical",
29
+ "save_other_choice": 0
30
+ }
31
+ ],
32
+ "location": [
33
+ [
34
+ {
35
+ "param": "post_type",
36
+ "operator": "==",
37
+ "value": "post"
38
+ }
39
+ ]
40
+ ],
41
+ "menu_order": 0,
42
+ "position": "normal",
43
+ "style": "default",
44
+ "label_placement": "left",
45
+ "instruction_placement": "label",
46
+ "hide_on_screen": "",
47
+ "active": true,
48
+ "description": "",
49
+ "show_in_rest": 0,
50
+ "acfe_autosync": [
51
+ "json"
52
+ ],
53
+ "acfml_field_group_mode": "localization",
54
+ "acfe_form": 0,
55
+ "acfe_display_title": "",
56
+ "acfe_meta": "",
57
+ "acfe_note": "",
58
+ "modified": 1752507313
59
+ }
@@ -0,0 +1,6 @@
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/theme/breakpoints';
4
+ @mixin additionalStyles() {
5
+
6
+ }
@@ -0,0 +1,7 @@
1
+ export default function marketselectorv3Js ( options = {} ) {
2
+ try {
3
+ const { block } = options;
4
+ } catch ( error ) {
5
+ console.error( error );
6
+ }
7
+ }
@@ -0,0 +1,14 @@
1
+ <?php
2
+
3
+ acf_register_block_type(
4
+ array(
5
+ 'name' => 'market-selector-v3',
6
+ 'title' => __( 'Market selector v3', 'Global-theme Admin' ),
7
+ 'render_callback' => 'athena_block_render_post_object',
8
+ 'category' => 'common',
9
+ 'icon' => get_svg_icon_content('brick.svg'),
10
+ 'keywords' => array('content', 'text' ),
11
+ 'mode' => 'preview',
12
+ 'supports' => array( 'align' => false, 'anchor' => true ),
13
+ )
14
+ );
@@ -0,0 +1,7 @@
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/theme/breakpoints';
4
+ @use 'Assets/scss/blocks/market-selector-v3/market-selector-v3-extra';
5
+ .market-selector-v3 {
6
+ @include market-selector-v3-extra.additionalStyles();
7
+ }
@@ -0,0 +1,17 @@
1
+
2
+ {% set blockClassName = "market-selector-v3" %}
3
+ {% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields: fields, block: block }, with_context = false) %}
4
+ {% set htmlEntryPoint = include('entry-points/entry-point-html.twig', { fields: fields, block: block, blockClassName, blockClassName }, with_context = false) %}
5
+ {% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields: fields, block: block }, with_context = false) %}
6
+ {% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields: fields, block: block, is_preview }, with_context = false) %}
7
+ {% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
8
+
9
+ {% set sectionStyles = styleEntryPoint %}
10
+
11
+ {{previewEntryPoint}}
12
+ <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-assetkey="{{blockClassName}}">
13
+
14
+
15
+
16
+ {{htmlEntryPoint}}
17
+ </section>
@@ -0,0 +1,115 @@
1
+ {
2
+ "key": "group_68751257883ad",
3
+ "title": "Fields: Drink Responsibly Notice v3",
4
+ "fields": [
5
+ {
6
+ "key": "field_687512b51fa35",
7
+ "label": "Drink Responsibly Image",
8
+ "name": "drink_responsibly_image",
9
+ "aria-label": "",
10
+ "type": "image",
11
+ "instructions": "",
12
+ "required": 0,
13
+ "conditional_logic": 0,
14
+ "wrapper": {
15
+ "width": "50",
16
+ "class": "",
17
+ "id": ""
18
+ },
19
+ "hide_field": "",
20
+ "hide_label": "",
21
+ "hide_instructions": "",
22
+ "hide_required": "",
23
+ "wpml_cf_preferences": 1,
24
+ "uploader": "",
25
+ "return_format": "id",
26
+ "library": "all",
27
+ "upload_folder": "",
28
+ "acfe_thumbnail": 0,
29
+ "acfe_settings": "",
30
+ "acfe_validate": "",
31
+ "min_width": "",
32
+ "min_height": "",
33
+ "min_size": "",
34
+ "max_width": "",
35
+ "max_height": "",
36
+ "max_size": "",
37
+ "mime_types": "",
38
+ "instruction_placement": "",
39
+ "acfe_permissions": "",
40
+ "preview_size": "medium"
41
+ },
42
+ {
43
+ "key": "field_687512579da98",
44
+ "label": "Drink Responsibly Notice",
45
+ "name": "drink_responsibly_notice",
46
+ "aria-label": "",
47
+ "type": "wysiwyg",
48
+ "instructions": "",
49
+ "required": 0,
50
+ "conditional_logic": 0,
51
+ "wrapper": {
52
+ "width": "50",
53
+ "class": "",
54
+ "id": ""
55
+ },
56
+ "hide_field": "",
57
+ "hide_label": "",
58
+ "hide_instructions": "",
59
+ "hide_required": "",
60
+ "wpml_cf_preferences": 2,
61
+ "default_value": "",
62
+ "acfe_wysiwyg_height": 300,
63
+ "acfe_wysiwyg_max_height": "",
64
+ "acfe_wysiwyg_valid_elements": "",
65
+ "acfe_wysiwyg_custom_style": "",
66
+ "acfe_wysiwyg_disable_wp_style": 0,
67
+ "acfe_wysiwyg_autoresize": 0,
68
+ "acfe_wysiwyg_disable_resize": 0,
69
+ "acfe_wysiwyg_remove_path": 0,
70
+ "acfe_wysiwyg_menubar": 0,
71
+ "acfe_wysiwyg_transparent": 0,
72
+ "acfe_wysiwyg_merge_toolbar": 0,
73
+ "acfe_wysiwyg_custom_toolbar": 0,
74
+ "acfe_settings": "",
75
+ "acfe_validate": "",
76
+ "instruction_placement": "",
77
+ "acfe_permissions": "",
78
+ "tabs": "visual",
79
+ "toolbar": "bold_italic_underline_link",
80
+ "media_upload": 0,
81
+ "delay": 1,
82
+ "acfe_wysiwyg_auto_init": 0,
83
+ "acfe_wysiwyg_min_height": 300,
84
+ "acfe_wysiwyg_toolbar_buttons": []
85
+ }
86
+ ],
87
+ "location": [
88
+ [
89
+ {
90
+ "param": "options_page",
91
+ "operator": "==",
92
+ "value": "market-settings"
93
+ }
94
+ ]
95
+ ],
96
+ "menu_order": 0,
97
+ "position": "normal",
98
+ "style": "default",
99
+ "label_placement": "left",
100
+ "instruction_placement": "label",
101
+ "hide_on_screen": "",
102
+ "active": true,
103
+ "description": "",
104
+ "show_in_rest": 0,
105
+ "acfe_autosync": [
106
+ "json"
107
+ ],
108
+ "acfml_field_group_mode": "translation",
109
+ "acfe_form": 1,
110
+ "acfe_display_title": "",
111
+ "acfe_permissions": "",
112
+ "acfe_meta": "",
113
+ "acfe_note": "",
114
+ "modified": 1752503156
115
+ }
@@ -4,7 +4,7 @@ const yargs = require('yargs');
4
4
 
5
5
  let projectName = 'Global Theme';
6
6
  const libraryPath =
7
- './node_modules/@pernod-ricard-global-cms/cbl-component-library';
7
+ './node_modules/@total_onion/onion-library'
8
8
  const projectJson = JSON.parse(fs.readFileSync('./package.json'));
9
9
  if (projectJson) {
10
10
  projectName = projectJson.name;
@@ -1,6 +1,6 @@
1
1
  const glob = require('glob');
2
2
  const libraryPath =
3
- './node_modules/@pernod-ricard-global-cms/cbl-component-library';
3
+ './node_modules/@total_onion/onion-library'
4
4
 
5
5
  const componentsList = glob.sync(`${libraryPath}/components/*`).map((path) => {
6
6
  const assetKey = path.replace(`${libraryPath}/components/`, '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -473,8 +473,7 @@ const copySeopressComponent = (componentName) => {
473
473
 
474
474
 
475
475
  const updateComponent = () => {
476
- const libraryPath =
477
- './node_modules/@pernod-ricard-global-cms/cbl-component-library'
476
+
478
477
 
479
478
  projectName = getProjectName()
480
479