@total_onion/onion-library 2.0.84 → 2.0.87

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.
Files changed (38) hide show
  1. package/components/block-form-selection-v3/form-selection-v3.twig +1 -1
  2. package/components/block-group-container-v3/group-container-v3.twig +3 -2
  3. package/components/block-group-container-v3/group_6865578ada499.json +98 -1
  4. package/components/block-market-selector-v3/market-selector-v3.twig +1 -1
  5. package/components/block-nav-menu-container-v3/nav-menu-container-v3.twig +0 -4
  6. package/components/block-post-info-v3/post-info-v3.twig +0 -1
  7. package/components/block-post-type-filter-grid-v3/group_64690c62487bc.json +437 -71
  8. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/post-title-widget.vue +2 -2
  9. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3/ptfg-utils.vue +4 -1
  10. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.js +3 -3
  11. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.scss +12 -6
  12. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.twig +14 -39
  13. package/components/block-post-type-filter-grid-v3/post-type-filter-grid-v3.vue +9 -136
  14. package/components/block-single-responsive-image-v3/group_6867bcf24c2fc.json +5 -14
  15. package/components/block-social-networks-v3/social-networks-v3.twig +1 -1
  16. package/components/block-standard-content-v3/group_68655756737c9.json +2 -3
  17. package/components/block-standard-content-v3/standard-content-v3.twig +2 -3
  18. package/components/block-sub-group-container-v3/sub-group-container-v3.twig +1 -1
  19. package/components/component-animations-v3/group_689f39c37980a.json +10 -2
  20. package/components/component-block-padding-v3/block-padding-v3.twig +12 -32
  21. package/components/component-block-padding-v3/group_689f66f3e26df.json +15 -369
  22. package/components/component-block-settings-v3/group_689f649af2ac4.json +182 -52
  23. package/components/component-content-box-v3/content-box-v3.twig +2 -2
  24. package/components/component-content-image-v3/content-image-v3.twig +3 -4
  25. package/components/component-core-head-v3/core-head-v3.twig +12 -13
  26. package/components/component-e-shop-settings-v3/e-shop-settings-v3.twig +93 -66
  27. package/components/component-responsive-image-v3/responsive-image-v3.twig +6 -8
  28. package/components/entrypoint-entry-point-html-v3/entry-point-html-v3.twig +1 -1
  29. package/components/fields-archive-pages-v3/group_635e777ce46d4.json +150 -0
  30. package/components/fields-modal-popup-content-v3/modal-popup-content-v3.twig +3 -3
  31. package/package.json +1 -1
  32. package/components/block-standard-content-v3/standard-content-v3.js +0 -39
  33. package/components/block-standard-content-v3/standard-content-v3.scss +0 -9
  34. package/components/block-sub-group-container-v3/sub-group-container-v3.js +0 -9
  35. package/components/block-sub-group-container-v3/sub-group-container-v3.scss +0 -27
  36. package/components/component-athena-body-close-v3/athena-body-close-v3.twig +0 -2
  37. package/components/component-athena-body-open-v3/athena-body-open-v3.twig +0 -32
  38. package/components/component-athena-head-v3/athena-head-v3.twig +0 -63
@@ -39,7 +39,7 @@
39
39
  <div class="{{ blockClassName }}__inner">
40
40
  <div class="{{ blockClassName }}__wrapper">
41
41
  {% if fields.enable_title %}
42
- {{ include('blocks/standard-content-v3.twig', { fields: fields.form_title, options, block, is_preview, current_post, nav_menus, site, market_settings, market_slug, cta_styles, languages, imageSizes}, with_context = false, ignore_missing = true) }}
42
+ {{ include('blocks/standard-content-v3.twig', { fields: fields.form_title, options, block, is_preview, post, nav_menus, site, market_slug, cta_styles, languages, imageSizes}, with_context = false, ignore_missing = true) }}
43
43
  {% endif %}
44
44
  {% if fields.title %}
45
45
  <h2 class="{{ blockClassName }}__title">{{ fields.title }}</h2>
@@ -32,7 +32,8 @@
32
32
  {{sectionStyles}}
33
33
  }
34
34
  </style>
35
- <{{blockElementType}} {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} cmpl-core-group-container-styles {{classNameEntryPoint}} lazy-fade {{block.id}}" data-blockid="{{block.id}}" {{dataAttributeEntryPoint}} data-assetkey="group-container-v3" data-render-dynamic="{{renderDynamic}}" data-render-dynamic-suffix="{{renderDynamicSuffix}}">
35
+ <{{blockElementType}} {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{fields.section_class}} cmpl-core-group-container-styles {{classNameEntryPoint}} lazy-fade {{block.id}}" data-blockid="{{block.id}}" {{dataAttributeEntryPoint}} data-assetkey="{{blockClassName}}" data-render-dynamic="{{renderDynamic}}" data-render-dynamic-suffix="{{renderDynamicSuffix}}">
36
+
36
37
 
37
38
  {% if block %}
38
39
  {% set block = block|merge({'videoIdPrefix' : block.id }) %}
@@ -58,7 +59,7 @@
58
59
  {% if fields.show_block_numbers and is_preview %}
59
60
  <div class="{{blockClassName}}__block-number">{{ loop.index }}</div>
60
61
  {% endif %}
61
- {{ include('blocks/' ~ (section.acf_fc_layout|replace({ '_': '-' })) ~ '.twig', { fields: section, options, block, is_preview, current_post, nav_menus, site, global_settings, market_settings, market_slug, cta_styles, languages, imageSizes, loop: loop.index}, with_context = false, ignore_missing = true) }}
62
+ {{ include('blocks/' ~ (section.acf_fc_layout|replace({ '_': '-' })) ~ '.twig', { fields: section, options, block, post, is_preview, site, market_slug, cta_styles, languages, imageSizes, loop: loop.index}, with_context = false, ignore_missing = true) }}
62
63
  </div>
63
64
  {% endfor %}
64
65
  </div>
@@ -2460,6 +2460,103 @@
2460
2460
  "acfe_layout_col": "auto",
2461
2461
  "acfe_layout_allowed_col": false
2462
2462
  },
2463
+ "layout_68f8ff0dd6568": {
2464
+ "key": "layout_68f8ff0dd6568",
2465
+ "name": "spotify_embed_v3",
2466
+ "label": "Spotify Embed v3",
2467
+ "display": "block",
2468
+ "sub_fields": [
2469
+ {
2470
+ "key": "field_68f8ff0dd656b",
2471
+ "label": "Grid Layout",
2472
+ "name": "",
2473
+ "aria-label": "",
2474
+ "type": "tab",
2475
+ "instructions": "",
2476
+ "required": 0,
2477
+ "conditional_logic": 0,
2478
+ "wrapper": {
2479
+ "width": "",
2480
+ "class": "",
2481
+ "id": ""
2482
+ },
2483
+ "wpml_cf_preferences": 3,
2484
+ "placement": "top",
2485
+ "endpoint": 0,
2486
+ "no_preference": 0,
2487
+ "selected": 0
2488
+ },
2489
+ {
2490
+ "key": "field_68f8ff0dd656c",
2491
+ "label": "grid layout",
2492
+ "name": "grid_layout",
2493
+ "aria-label": "",
2494
+ "type": "clone",
2495
+ "instructions": "",
2496
+ "required": 0,
2497
+ "conditional_logic": 0,
2498
+ "wrapper": {
2499
+ "width": "",
2500
+ "class": "",
2501
+ "id": ""
2502
+ },
2503
+ "wpml_cf_preferences": 3,
2504
+ "clone": [
2505
+ "group_68822860bda9f"
2506
+ ],
2507
+ "display": "seamless",
2508
+ "layout": "block",
2509
+ "prefix_label": 0,
2510
+ "prefix_name": 0,
2511
+ "acfe_seamless_style": 0,
2512
+ "acfe_clone_modal": 0,
2513
+ "acfe_clone_modal_close": 0,
2514
+ "acfe_clone_modal_button": "",
2515
+ "acfe_clone_modal_size": "large"
2516
+ },
2517
+ {
2518
+ "key": "field_68f8ff0dd656d",
2519
+ "label": "Spotify Embed fields",
2520
+ "name": "spotify_embed_fields",
2521
+ "aria-label": "",
2522
+ "type": "clone",
2523
+ "instructions": "",
2524
+ "required": 0,
2525
+ "conditional_logic": 0,
2526
+ "wrapper": {
2527
+ "width": "",
2528
+ "class": "",
2529
+ "id": ""
2530
+ },
2531
+ "wpml_cf_preferences": 3,
2532
+ "clone": [
2533
+ "group_67d04c4c4cf78"
2534
+ ],
2535
+ "display": "seamless",
2536
+ "layout": "block",
2537
+ "prefix_label": 0,
2538
+ "prefix_name": 0,
2539
+ "acfe_seamless_style": 0,
2540
+ "acfe_clone_modal": 0,
2541
+ "acfe_clone_modal_close": 0,
2542
+ "acfe_clone_modal_button": "",
2543
+ "acfe_clone_modal_size": "large"
2544
+ }
2545
+ ],
2546
+ "min": "",
2547
+ "max": "",
2548
+ "acfe_flexible_render_template": false,
2549
+ "acfe_flexible_render_style": false,
2550
+ "acfe_flexible_render_script": false,
2551
+ "acfe_flexible_thumbnail": false,
2552
+ "acfe_flexible_settings": false,
2553
+ "acfe_flexible_settings_size": "medium",
2554
+ "acfe_layout_locations": [],
2555
+ "acfe_flexible_modal_edit_size": false,
2556
+ "acfe_flexible_category": false,
2557
+ "acfe_layout_col": "auto",
2558
+ "acfe_layout_allowed_col": false
2559
+ },
2463
2560
  "layout_65eb0b972b031": {
2464
2561
  "key": "layout_65eb0b972b031",
2465
2562
  "name": "iframe_container_v3",
@@ -3304,5 +3401,5 @@
3304
3401
  "acfe_display_title": "",
3305
3402
  "acfe_meta": "",
3306
3403
  "acfe_note": "",
3307
- "modified": 1760532096
3404
+ "modified": 1761148761
3308
3405
  }
@@ -1,7 +1,7 @@
1
1
  {% set blockClassName = "market-selector-v3" %}
2
2
 
3
3
  {% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
4
- {% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, cta_styles, environment, market_settings, is_preview, nav_menus, imageSizes }, with_context = false) %}
4
+ {% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, cta_styles, environment, is_preview, nav_menus, imageSizes }, with_context = false) %}
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-v3.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) %}
@@ -17,11 +17,7 @@
17
17
  {% if menuType == 'inline_nav_menu' %}
18
18
  {{ include( 'components/inline-nav-menu.twig', { fields, block, blockClassName, options, nav_menus, current_post}, with_context = false, ignore_missing = true) }}
19
19
  {% elseif menuType == 'slide_in_nav_panel'%}
20
- {# {{ include( 'components/slide-in-nav-panel.twig', { fields, block, blockClassName, options, nav_menus, current_post}, with_context = false, ignore_missing = true) }} #}
21
- <!-- nav-menu-slide-in-panel -->
22
20
  {{ include( 'components/nav-menu-slide-in-panel.twig', { fields, block, blockClassName, options, nav_menus, current_post}, with_context = false, ignore_missing = true) }}
23
- <!-- end-nav-menu-slide-in-panel -->
24
- {% elseif menuType == 'nav_menu_slide_in_panel' %}
25
21
  {% endif %}
26
22
  {{htmlEntryPoint}}
27
23
  </section>
@@ -1,4 +1,3 @@
1
- {# Do not edit this file outside of the component library as your changes will be lost with future updates. #}
2
1
  {% set blockClassName = "post-info-v3" %}
3
2
  {% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
4
3
  {% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, environment, is_preview, cta_styles, nav_menus }, with_context = false) %}