@total_onion/onion-library 2.0.107 → 2.0.109

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.
@@ -0,0 +1,17 @@
1
+ {% set gridLayoutElement = include('components/grid-layout-element-v3.twig', { fields: field, block: block }, with_context = false) %}
2
+ {% set textEditorStyleVars = include('components/text-editor-settings-variables-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
3
+ {% set textEditorContainerClasses = include('components/text-editor-settings-container-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
4
+ {% set textEditorElementClasses = include('components/text-editor-settings-element-classes-v3.twig', { fields: field, block, blockClassName, is_preview }, with_context = false) %}
5
+ {% set elementType = field.element_type|ru %}
6
+
7
+ <style>
8
+ .{{blockClassName}}__post-title.{{block.id}}, .{{blockClassName}}__content-container.{{block.id}}{
9
+ {{textEditorStyleVars}}
10
+ {{gridLayoutElement}}
11
+ }
12
+ </style>
13
+
14
+ <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} {{block.id}} {{blockClassName}}__info-item">
15
+ <span class="{{blockClassName}}__post-author-label" data-pattern-post-info="label_text">{{field.label_text}}</span>
16
+ <{{elementType|default('p')}} data-pattern-post-info="post_author" class="{{blockClassName}}__post-author {{textEditorElementClasses}} {{block.id}}">{{post.author.name}}</{{elementType|default('p')}}>
17
+ </div>
@@ -140,6 +140,9 @@
140
140
  object-fit: var(--image-fit-style);
141
141
  margin: auto;
142
142
  }
143
+ &__post-author-label {
144
+ display: flex;
145
+ }
143
146
  &__global-image {
144
147
  z-index: var(--global-image-zindex);
145
148
  max-width: var(--global-image-max-width);
@@ -166,24 +169,6 @@
166
169
  );
167
170
  }
168
171
  }
169
- &__person-rating {
170
- display: flex;
171
- gap: 1em;
172
- }
173
- &__person-rating-star {
174
- --rating-star-colour: gold;
175
- width: core-functions-v3.fluidSize(20, 'static');
176
- }
177
- &__person-questionaire-list {
178
- list-style-type: none;
179
- }
180
- &__person-email {
181
- display: flex;
182
- gap: 1em;
183
- }
184
- &__person-email-icon {
185
- width: 1em;
186
- }
187
172
  &__post-text-alternative-style {
188
173
  width: auto;
189
174
  @include grid-layout-element-v3.gridLayoutElement();
@@ -143,7 +143,7 @@
143
143
  },
144
144
  "wpml_cf_preferences": 3,
145
145
  "clone": [
146
- "group_64060dc280525"
146
+ "group_686b8cb48c708"
147
147
  ],
148
148
  "display": "seamless",
149
149
  "layout": "block",
@@ -477,5 +477,5 @@
477
477
  "acfe_display_title": "",
478
478
  "acfe_meta": "",
479
479
  "acfe_note": "",
480
- "modified": 1753705398
480
+ "modified": 1761601663
481
481
  }
@@ -1965,6 +1965,131 @@
1965
1965
  "acfe_flexible_category": false,
1966
1966
  "acfe_layout_col": "auto",
1967
1967
  "acfe_layout_allowed_col": false
1968
+ },
1969
+ "layout_69051f2410e66": {
1970
+ "key": "layout_69051f2410e66",
1971
+ "name": "cocktail_recipe_v3",
1972
+ "label": "Cocktail Recipe V3",
1973
+ "display": "block",
1974
+ "sub_fields": [
1975
+ {
1976
+ "key": "field_69051f2410e69",
1977
+ "label": "Grid Layout",
1978
+ "name": "",
1979
+ "aria-label": "",
1980
+ "type": "tab",
1981
+ "instructions": "",
1982
+ "required": 0,
1983
+ "conditional_logic": 0,
1984
+ "wrapper": {
1985
+ "width": "",
1986
+ "class": "",
1987
+ "id": ""
1988
+ },
1989
+ "wpml_cf_preferences": 3,
1990
+ "placement": "top",
1991
+ "endpoint": 0,
1992
+ "no_preference": 0,
1993
+ "selected": 0
1994
+ },
1995
+ {
1996
+ "key": "field_69051f2410e6a",
1997
+ "label": "grid layout",
1998
+ "name": "grid_layout",
1999
+ "aria-label": "",
2000
+ "type": "clone",
2001
+ "instructions": "",
2002
+ "required": 0,
2003
+ "conditional_logic": 0,
2004
+ "wrapper": {
2005
+ "width": "",
2006
+ "class": "",
2007
+ "id": ""
2008
+ },
2009
+ "wpml_cf_preferences": 3,
2010
+ "clone": [
2011
+ "group_68822860bda9f"
2012
+ ],
2013
+ "display": "seamless",
2014
+ "layout": "block",
2015
+ "prefix_label": 0,
2016
+ "prefix_name": 0,
2017
+ "acfe_seamless_style": 0,
2018
+ "acfe_clone_modal": 0,
2019
+ "acfe_clone_modal_close": 0,
2020
+ "acfe_clone_modal_button": "",
2021
+ "acfe_clone_modal_size": "large"
2022
+ },
2023
+ {
2024
+ "key": "field_69051f2410e6b",
2025
+ "label": "Cocktail Recipe V3",
2026
+ "name": "cocktail_recipe_v3",
2027
+ "aria-label": "",
2028
+ "type": "clone",
2029
+ "instructions": "",
2030
+ "required": 0,
2031
+ "conditional_logic": 0,
2032
+ "wrapper": {
2033
+ "width": "",
2034
+ "class": "",
2035
+ "id": ""
2036
+ },
2037
+ "wpml_cf_preferences": 3,
2038
+ "clone": [
2039
+ "group_68fff19fa4dd0"
2040
+ ],
2041
+ "display": "seamless",
2042
+ "layout": "block",
2043
+ "prefix_label": 0,
2044
+ "prefix_name": 0,
2045
+ "acfe_seamless_style": 0,
2046
+ "acfe_clone_modal": 0,
2047
+ "acfe_clone_modal_close": 0,
2048
+ "acfe_clone_modal_button": "",
2049
+ "acfe_clone_modal_size": "large"
2050
+ },
2051
+ {
2052
+ "key": "field_69051f5910e6c",
2053
+ "label": "Block Padding fields",
2054
+ "name": "block_padding_fields",
2055
+ "aria-label": "",
2056
+ "type": "clone",
2057
+ "instructions": "",
2058
+ "required": 0,
2059
+ "conditional_logic": 0,
2060
+ "wrapper": {
2061
+ "width": "",
2062
+ "class": "",
2063
+ "id": ""
2064
+ },
2065
+ "wpml_cf_preferences": 0,
2066
+ "clone": [
2067
+ "group_689f66f3e26df"
2068
+ ],
2069
+ "display": "seamless",
2070
+ "layout": "block",
2071
+ "prefix_label": 0,
2072
+ "prefix_name": 0,
2073
+ "acfe_seamless_style": 0,
2074
+ "acfe_clone_modal": 0,
2075
+ "acfe_clone_modal_close": 0,
2076
+ "acfe_clone_modal_button": "",
2077
+ "acfe_clone_modal_size": "large"
2078
+ }
2079
+ ],
2080
+ "min": "",
2081
+ "max": "",
2082
+ "acfe_flexible_render_template": false,
2083
+ "acfe_flexible_render_style": false,
2084
+ "acfe_flexible_render_script": false,
2085
+ "acfe_flexible_thumbnail": false,
2086
+ "acfe_flexible_settings": false,
2087
+ "acfe_flexible_settings_size": "medium",
2088
+ "acfe_layout_locations": [],
2089
+ "acfe_flexible_modal_edit_size": false,
2090
+ "acfe_flexible_category": false,
2091
+ "acfe_layout_col": "auto",
2092
+ "acfe_layout_allowed_col": false
1968
2093
  }
1969
2094
  },
1970
2095
  "min": "",
@@ -2285,9 +2410,10 @@
2285
2410
  "acfe_autosync": [
2286
2411
  "json"
2287
2412
  ],
2413
+ "acfml_field_group_mode": "advanced",
2288
2414
  "acfe_form": 0,
2289
2415
  "acfe_display_title": "",
2290
2416
  "acfe_meta": "",
2291
2417
  "acfe_note": "",
2292
- "modified": 1761760296
2418
+ "modified": 1761943410
2293
2419
  }