@total_onion/onion-library 1.0.151 → 1.0.152

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.
@@ -37,6 +37,10 @@
37
37
  }
38
38
  }
39
39
 
40
+ &__content-container {
41
+ padding: core-functions-v3.fluidSize(10,'static') core-functions-v3.fluidSize(50,'static') core-functions-v3.fluidSize(10,'static') 0;
42
+ }
43
+
40
44
  &-image-wrapper {
41
45
  grid-area: icon;
42
46
  position: absolute;
@@ -10,7 +10,7 @@
10
10
  {% set iconBackgroundColor = '--icon-background-color: ' ~ fields.accordion_title.icon_background_color ~ ';' %}
11
11
  {% set textPaddingHorizontal = '--text-padding-horizontal: ' ~ fields.accordion_text.text_padding_horizontal ~ ';' %}
12
12
  {% set enableCustomIcon = fields.accordion_title.enable_custom_icon %}
13
- {% set imageIcon = get_image(fields.accordion_title.image_icon) %}
13
+ {% set imageIcon = get_image(options.theme_cta_icons.cta_accordion_icon) %}
14
14
  {% set imageIconSize = '--image-icon-size: ' ~ fields.accordion_title.image_icon_size ~ ';' %}
15
15
  {% set imageIconRotationDeg = '--image-icon-rotation-deg: ' ~ fields.accordion_title.image_icon_rotation_deg ~ 'deg;' %}
16
16
 
@@ -245,11 +245,11 @@
245
245
  "style": ""
246
246
  },
247
247
  {
248
- "key": "field_6888f3e868459",
249
- "label": "Image Icon",
250
- "name": "image_icon",
248
+ "key": "field_6893c44fd23e3",
249
+ "label": "",
250
+ "name": "",
251
251
  "aria-label": "",
252
- "type": "image",
252
+ "type": "message",
253
253
  "instructions": "",
254
254
  "required": 0,
255
255
  "conditional_logic": [
@@ -266,21 +266,10 @@
266
266
  "class": "",
267
267
  "id": ""
268
268
  },
269
- "wpml_cf_preferences": 3,
270
- "uploader": "",
271
- "return_format": "id",
272
- "library": "all",
273
- "upload_folder": "",
274
- "acfe_thumbnail": 0,
275
- "min_width": "",
276
- "min_height": "",
277
- "min_size": "",
278
- "max_width": "",
279
- "max_height": "",
280
- "max_size": "",
281
- "mime_types": "",
282
- "allow_in_bindings": 1,
283
- "preview_size": "medium"
269
+ "wpml_cf_preferences": 2,
270
+ "message": "Please upload this icon in:\r\nGlobal Settings → CTA Icons → CTA Accordion Icon",
271
+ "new_lines": "wpautop",
272
+ "esc_html": 0
284
273
  },
285
274
  {
286
275
  "key": "field_6888f4166845a",
@@ -465,5 +454,5 @@
465
454
  "acfe_display_title": "",
466
455
  "acfe_meta": "",
467
456
  "acfe_note": "",
468
- "modified": 1753912871
457
+ "modified": 1754514693
469
458
  }
@@ -5,9 +5,9 @@
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 gridGapMults = include('components/grid-gap-mults.twig', { fields: fields, block: block }, with_context = false) %}
9
- {% set gridLayoutContainer = include('components/grid-layout-container.twig') %}
10
- {% set sectionStyles = styleEntryPoint ~ gridGapMults ~ gridLayoutContainer %}
8
+
9
+ {% set gridLayoutContainer = include('components/grid-layout-container-v3.twig') %}
10
+ {% set sectionStyles = styleEntryPoint ~ gridLayoutContainer %}
11
11
 
12
12
  {% set post = get_post(fields.post) %}
13
13
 
@@ -712,7 +712,7 @@
712
712
  "required": 0,
713
713
  "conditional_logic": 0,
714
714
  "wrapper": {
715
- "width": "",
715
+ "width": "20",
716
716
  "class": "",
717
717
  "id": ""
718
718
  },
@@ -741,7 +741,36 @@
741
741
  "required": 0,
742
742
  "conditional_logic": 0,
743
743
  "wrapper": {
744
- "width": "",
744
+ "width": "20",
745
+ "class": "",
746
+ "id": ""
747
+ },
748
+ "wpml_cf_preferences": 1,
749
+ "uploader": "",
750
+ "return_format": "id",
751
+ "library": "all",
752
+ "upload_folder": "",
753
+ "acfe_thumbnail": 0,
754
+ "min_width": "",
755
+ "min_height": "",
756
+ "min_size": "",
757
+ "max_width": "",
758
+ "max_height": "",
759
+ "max_size": "",
760
+ "mime_types": "",
761
+ "preview_size": "medium"
762
+ },
763
+ {
764
+ "key": "field_6893c2c959a26",
765
+ "label": "CTA accordion icon",
766
+ "name": "cta_accordion_icon",
767
+ "aria-label": "",
768
+ "type": "image",
769
+ "instructions": "",
770
+ "required": 0,
771
+ "conditional_logic": 0,
772
+ "wrapper": {
773
+ "width": "20",
745
774
  "class": "",
746
775
  "id": ""
747
776
  },
@@ -789,5 +818,5 @@
789
818
  "acfe_display_title": "",
790
819
  "acfe_meta": "",
791
820
  "acfe_note": "",
792
- "modified": 1754406563
821
+ "modified": 1754514489
793
822
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.151",
3
+ "version": "1.0.152",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {