@total_onion/onion-library 1.0.128 → 1.0.130

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.
@@ -1815,11 +1815,11 @@
1815
1815
  "selected": 0
1816
1816
  },
1817
1817
  {
1818
- "key": "field_686644fafc821",
1819
- "label": "Grid layout container fields",
1820
- "name": "grid_layout_container_fields",
1818
+ "key": "field_6891e100bd186",
1819
+ "label": "Grid Layout",
1820
+ "name": "grid_layout",
1821
1821
  "aria-label": "",
1822
- "type": "clone",
1822
+ "type": "group",
1823
1823
  "instructions": "",
1824
1824
  "required": 0,
1825
1825
  "conditional_logic": 0,
@@ -1829,18 +1829,42 @@
1829
1829
  "id": ""
1830
1830
  },
1831
1831
  "wpml_cf_preferences": 3,
1832
- "clone": [
1833
- "group_6504a88c17463"
1834
- ],
1835
- "display": "seamless",
1836
1832
  "layout": "block",
1837
- "prefix_label": 0,
1838
- "prefix_name": 0,
1839
1833
  "acfe_seamless_style": 0,
1840
- "acfe_clone_modal": 0,
1841
- "acfe_clone_modal_close": 0,
1842
- "acfe_clone_modal_button": "",
1843
- "acfe_clone_modal_size": "large"
1834
+ "acfe_group_modal": 0,
1835
+ "sub_fields": [
1836
+ {
1837
+ "key": "field_686644fafc821",
1838
+ "label": "Grid layout container fields",
1839
+ "name": "grid_layout_container_fields",
1840
+ "aria-label": "",
1841
+ "type": "clone",
1842
+ "instructions": "",
1843
+ "required": 0,
1844
+ "conditional_logic": 0,
1845
+ "wrapper": {
1846
+ "width": "",
1847
+ "class": "",
1848
+ "id": ""
1849
+ },
1850
+ "wpml_cf_preferences": 3,
1851
+ "clone": [
1852
+ "group_6882282e65bf2"
1853
+ ],
1854
+ "display": "seamless",
1855
+ "layout": "block",
1856
+ "prefix_label": 0,
1857
+ "prefix_name": 0,
1858
+ "acfe_seamless_style": 0,
1859
+ "acfe_clone_modal": 0,
1860
+ "acfe_clone_modal_close": 0,
1861
+ "acfe_clone_modal_button": "",
1862
+ "acfe_clone_modal_size": "large"
1863
+ }
1864
+ ],
1865
+ "acfe_group_modal_close": 0,
1866
+ "acfe_group_modal_button": "",
1867
+ "acfe_group_modal_size": "large"
1844
1868
  },
1845
1869
  {
1846
1870
  "key": "field_686642954506e",
@@ -1942,5 +1966,5 @@
1942
1966
  "acfe_display_title": "",
1943
1967
  "acfe_meta": "",
1944
1968
  "acfe_note": "",
1945
- "modified": 1754317399
1969
+ "modified": 1754390803
1946
1970
  }
@@ -8,7 +8,7 @@
8
8
  {{textEditorStyleVars}}
9
9
  }
10
10
  </style>
11
- <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}}">
12
- <{{elementType|default('p')}} data-pattern-post-info="post_info_description" class="{{blockClassName}}__post-info-description {{blockClassName}}__info-item {{textEditorElementClasses}} {{block.id}}">
11
+ <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}} {{blockClassName}}__info-item">
12
+ <{{elementType|default('p')}} data-pattern-post-info="post_info_description" class="{{blockClassName}}__post-info-description {{textEditorElementClasses}} {{block.id}}">
13
13
  {{post.post_info_description}}</{{elementType|default('p')}}>
14
14
  </div>
@@ -8,6 +8,6 @@
8
8
  {{textEditorStyleVars}}
9
9
  }
10
10
  </style>
11
- <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}}">
12
- <{{elementType|default('p')}} class="{{blockClassName}}__post-info-subtitle {{blockClassName}}__info-item {{field.text_style.typography_style|ru}} {{block.id}}">{{post.post_info_subtitle}}</{{elementType|default('p')}}>
11
+ <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}} {{blockClassName}}__info-item">
12
+ <{{elementType|default('p')}} class="{{blockClassName}}__post-info-subtitle {{field.text_style.typography_style|ru}} {{block.id}}">{{post.post_info_subtitle}}</{{elementType|default('p')}}>
13
13
  </div>
@@ -6,7 +6,7 @@
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
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') %}
9
+ {% set gridLayoutContainer = include('components/grid-layout-container-v3.twig') %}
10
10
  {% set sectionStyles = styleEntryPoint ~ gridGapMults ~ gridLayoutContainer %}
11
11
 
12
12
  {% if fields.post_info_type|ru == 'post-info' %}
@@ -478,15 +478,15 @@
478
478
  line-height: var(--sh-s--line-height);
479
479
  }
480
480
  @mixin sh-s {
481
- letter-spacing: var(--sh-s--letter-spacing);
482
- line-height: var(--sh-s--line-height);
483
- font-family: var(--sh-s--font-family);
484
- --default-font-weight: var(--sh-s--default-font-weight);
481
+ letter-spacing: var(--sh-s-letter-spacing);
482
+ line-height: var(--sh-s-line-height);
483
+ font-family: var(--sh-s-font-family);
484
+ --default-font-weight: var(--sh-s-default-font-weight);
485
485
  font-weight: var(--default-font-weight);
486
486
 
487
487
  strong,
488
488
  b {
489
- font-weight: var(--sh-s--bold-font-weight);
489
+ font-weight: var(--sh-s-bold-font-weight);
490
490
  }
491
491
 
492
492
  font-size: clamp(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.128",
3
+ "version": "1.0.130",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {