@total_onion/onion-library 2.0.164 → 2.0.166
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-back-to-top-button-v3/back-to-top-button-v3.twig +6 -5
- package/components/block-carousel-multi-layout-v3/carousel-multi-layout-v3.twig +1 -2
- package/components/block-post-info-v3/group_6866429531436.json +1087 -3048
- package/components/block-post-type-filter-grid-v3/group_64690c62487bc.json +4387 -4216
- package/components/block-video-content-v3/group_687190b8d26df.json +167 -175
- package/components/component-content-box-v3/group_686b8a4f1fe5d.json +46 -0
- package/components/component-grid-layout-element-v3/group_68822860bda9f.json +34 -34
- package/components/component-nav-menu-v3/nav-menu-v3.twig +0 -1
- package/components/component-video-fields-v3/group_6872282f44634.json +981 -952
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
{% set blockClassName = "back-to-top-button" %}
|
|
1
|
+
{% set blockClassName = "back-to-top-button-v3" %}
|
|
2
|
+
|
|
2
3
|
{% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
|
|
3
4
|
{% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, environment, is_preview, nav_menus }, with_context = false) %}
|
|
4
5
|
{% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields, block }, with_context = false) %}
|
|
@@ -23,12 +24,12 @@
|
|
|
23
24
|
</style>
|
|
24
25
|
|
|
25
26
|
{% if enabled %}
|
|
26
|
-
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="
|
|
27
|
-
<button aria-label="back to the top button" class="
|
|
27
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade {{block.id}}" {{dataAttributeEntryPoint}} data-assetkey="{{blockClassName}}">
|
|
28
|
+
<button aria-label="back to the top button" class="{{blockClassName}}__button {{blockClassName}}__button--{{position}}" style="--bg-colour: {{bgColour}}">
|
|
28
29
|
{% if fields.enable_custom_image %}
|
|
29
|
-
<img class="
|
|
30
|
+
<img class="{{blockClassName}}__image" width="{{buttonImage.width}}" height="{{buttonImage.height}}" src="{{ buttonImage.src }}" alt="{{buttonImage.alt}}">
|
|
30
31
|
{% else %}
|
|
31
|
-
<span class="
|
|
32
|
+
<span class="{{blockClassName}}__arrow" style="--arrow-colour: {{arrowColour}}"></span>
|
|
32
33
|
{% endif %}
|
|
33
34
|
</button>
|
|
34
35
|
{{htmlEntryPoint}}
|
|
@@ -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 = "carousel-multi-layout-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, nav_menus }, with_context = false) %}
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
}
|
|
107
106
|
</style>
|
|
108
107
|
|
|
109
|
-
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class=" {{ blockClassName }} lazy-fade {{block.id}} {{block.
|
|
108
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class=" {{ blockClassName }} lazy-fade {{block.id}} {{block.section_class}} {{classNameEntryPoint}}" {{sectionDataAttributes}} data-mobileslidesoffsetbefore="{{carousel_slides_offset_before_mobile}}" data-mobileslidesoffsetafter="{{carousel_slides_offset_after_mobile}}" data-tabletslidesoffsetbefore="{{carousel_slides_offset_before_tablet}}" data-tabletslidesoffsetafter="{{carousel_slides_offset_after_tablet}}" data-desktopslidesoffsetbefore="{{carousel_slides_offset_before_desktop}}" data-desktopslidesoffsetafter="{{carousel_slides_offset_after_desktop}}" data-desktopfullspacebetweenslides="{{fields.space_between_slides_desktop_full}}" data-desktopspacebetweenslides="{{fields.carousel_space_between_slides_desktop}}" data-mobilespacebetweenslides="{{fields.carousel_space_between_slides_mobile}}" data-tabletspacebetweenslides="{{fields.carousel_space_between_slides_tablet}}" data-centeractiveslide="{{fields.carousel_center_active_slide}}" data-centeractiveslideportrait="{{fields.center_active_slide_portrait}}" data-centeractiveslidemobile="{{fields.center_active_slide_mobile}}" data-centerslidesbounds="{{fields.center_slides_bounds}}" data-centerslidesboundsportrait="{{fields.center_slides_bounds_portrait}}" data-centerslidesboundsmobile="{{fields.center_slides_bounds_mobile}}" data-loopslides="{{fields.loop_slides}}" data-loopslidesportrait="{{fields.loop_slides_portrait}}" data-loopslidesmobile="{{fields.loop_slides_mobile}}" data-paginationstyle="{{carouselPaginationStyle}}" data-assetkey="{{ blockClassName }}">
|
|
110
109
|
|
|
111
110
|
{% set arrowData = fields %}
|
|
112
111
|
<div class="{{ blockClassName }}__inner-container">
|