@total_onion/onion-library 2.0.24 → 2.0.25

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.
@@ -554,14 +554,21 @@
554
554
  "class": "",
555
555
  "id": ""
556
556
  },
557
+ "hide_field": "",
558
+ "hide_label": "",
559
+ "hide_instructions": "",
560
+ "hide_required": "",
557
561
  "wpml_cf_preferences": 3,
558
562
  "clone": [
559
- "group_638f4148bc10b"
563
+ "group_689f66f3e26df"
560
564
  ],
561
565
  "display": "seamless",
562
566
  "layout": "block",
563
567
  "prefix_label": 0,
564
568
  "prefix_name": 0,
569
+ "acfe_settings": "",
570
+ "instruction_placement": "",
571
+ "acfe_permissions": "",
565
572
  "acfe_seamless_style": 0,
566
573
  "acfe_clone_modal": 0,
567
574
  "acfe_clone_modal_close": 0,
@@ -682,5 +689,5 @@
682
689
  "acfe_permissions": "",
683
690
  "acfe_meta": "",
684
691
  "acfe_note": "",
685
- "modified": 1756312087
692
+ "modified": 1759416263
686
693
  }
@@ -1,5 +1,5 @@
1
1
  import {getSwiperAssetsV2} from '@total_onion/onion-utils/onion-utils.mjs';
2
- import { Navigation, Pagination } from 'swiper/modules';
2
+ import {Navigation, Pagination, Autoplay} from 'swiper/modules';
3
3
  // import Swiper and modules styles
4
4
  import 'swiper/css';
5
5
  import 'swiper/css/navigation';
@@ -10,9 +10,7 @@ export default function carouselmultilayoutv3Js(options = {}) {
10
10
  const {block} = options;
11
11
  const totalSlides = block.querySelectorAll('.swiper-slide').length || 1;
12
12
  Promise.all([getSwiperAssetsV2()]).then((values) => {
13
- const {
14
- Swiper
15
- } = values[0][0];
13
+ const {Swiper} = values[0][0];
16
14
 
17
15
  const dataAttributes = block.dataset;
18
16
  const slidesDesktop = Number(dataAttributes.desktopslides);
@@ -115,8 +113,8 @@ export default function carouselmultilayoutv3Js(options = {}) {
115
113
  modules: [
116
114
  Navigation,
117
115
  Pagination,
116
+ Autoplay
118
117
  // Lazy,
119
- // Autoplay,
120
118
  // EffectFade,
121
119
  // EffectCoverflow,
122
120
  // EffectCreative,
@@ -203,6 +201,13 @@ export default function carouselmultilayoutv3Js(options = {}) {
203
201
  }
204
202
  }
205
203
  );
204
+ if (true) {
205
+ import(
206
+ 'Assets/js/blocks/carousel-multi-layout-v3/carousel-multi-layout-v3-extra.js'
207
+ ).then((result) => {
208
+ result.default()
209
+ });
210
+ }
206
211
  });
207
212
  } catch (error) {
208
213
  console.error(error);
@@ -409,11 +409,8 @@
409
409
  "id": ""
410
410
  },
411
411
  "wpml_cf_preferences": 3,
412
- "user_roles": [
413
- "administrator"
414
- ],
415
412
  "clone": [
416
- "group_638f4148bc10b"
413
+ "group_689f66f3e26df"
417
414
  ],
418
415
  "display": "seamless",
419
416
  "layout": "block",
@@ -574,5 +571,5 @@
574
571
  "acfe_display_title": "",
575
572
  "acfe_meta": "",
576
573
  "acfe_note": "",
577
- "modified": 1755276781
574
+ "modified": 1759787683
578
575
  }
@@ -1,4 +1,4 @@
1
- {% set gridLayoutElement = include('components/grid-layout-element.twig', { fields: field, block: block }, with_context = false) %}
1
+ {% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
2
2
  {% set postColour = '--post-colour: ' ~ post.post_colour|ru ~ ';' %}
3
3
  {% set postTextColourStyle = '--post-text-colour-style: ' ~ post.post_text_colour_style|ru ~ ';' %}
4
4
  {% set ctaStyle = field.cta_style|ru %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.24",
3
+ "version": "2.0.25",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {