@total_onion/onion-library 1.0.157 → 1.0.159

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.
@@ -19,7 +19,6 @@
19
19
  }
20
20
  }
21
21
  &__block-container {
22
- z-index: var(--container-z-index, 5);
23
22
  pointer-events: none;
24
23
  position: relative;
25
24
  &.grid-layout-container {
@@ -2003,7 +2003,7 @@
2003
2003
  "class": "",
2004
2004
  "id": ""
2005
2005
  },
2006
- "wpml_cf_preferences": 0,
2006
+ "wpml_cf_preferences": 3,
2007
2007
  "placement": "top",
2008
2008
  "endpoint": 0,
2009
2009
  "no_preference": 0,
@@ -2342,6 +2342,103 @@
2342
2342
  "acfe_flexible_category": false,
2343
2343
  "acfe_layout_col": "auto",
2344
2344
  "acfe_layout_allowed_col": false
2345
+ },
2346
+ "layout_68961544e759d": {
2347
+ "key": "layout_68961544e759d",
2348
+ "name": "raw_html_v3",
2349
+ "label": "Raw HTML v3",
2350
+ "display": "block",
2351
+ "sub_fields": [
2352
+ {
2353
+ "key": "field_68961544e75a0",
2354
+ "label": "Grid Layout",
2355
+ "name": "",
2356
+ "aria-label": "",
2357
+ "type": "tab",
2358
+ "instructions": "",
2359
+ "required": 0,
2360
+ "conditional_logic": 0,
2361
+ "wrapper": {
2362
+ "width": "",
2363
+ "class": "",
2364
+ "id": ""
2365
+ },
2366
+ "wpml_cf_preferences": 3,
2367
+ "placement": "top",
2368
+ "endpoint": 0,
2369
+ "no_preference": 0,
2370
+ "selected": 0
2371
+ },
2372
+ {
2373
+ "key": "field_68961544e75a1",
2374
+ "label": "grid layout",
2375
+ "name": "grid_layout",
2376
+ "aria-label": "",
2377
+ "type": "clone",
2378
+ "instructions": "",
2379
+ "required": 0,
2380
+ "conditional_logic": 0,
2381
+ "wrapper": {
2382
+ "width": "",
2383
+ "class": "",
2384
+ "id": ""
2385
+ },
2386
+ "wpml_cf_preferences": 3,
2387
+ "clone": [
2388
+ "group_68822860bda9f"
2389
+ ],
2390
+ "display": "seamless",
2391
+ "layout": "block",
2392
+ "prefix_label": 0,
2393
+ "prefix_name": 0,
2394
+ "acfe_seamless_style": 0,
2395
+ "acfe_clone_modal": 0,
2396
+ "acfe_clone_modal_close": 0,
2397
+ "acfe_clone_modal_button": "",
2398
+ "acfe_clone_modal_size": "large"
2399
+ },
2400
+ {
2401
+ "key": "field_68961544e75a2",
2402
+ "label": "Raw HTML",
2403
+ "name": "raw_html",
2404
+ "aria-label": "",
2405
+ "type": "clone",
2406
+ "instructions": "",
2407
+ "required": 0,
2408
+ "conditional_logic": 0,
2409
+ "wrapper": {
2410
+ "width": "",
2411
+ "class": "",
2412
+ "id": ""
2413
+ },
2414
+ "wpml_cf_preferences": 3,
2415
+ "clone": [
2416
+ "group_686ba68d603a2"
2417
+ ],
2418
+ "display": "seamless",
2419
+ "layout": "block",
2420
+ "prefix_label": 0,
2421
+ "prefix_name": 0,
2422
+ "acfe_seamless_style": 0,
2423
+ "acfe_clone_modal": 0,
2424
+ "acfe_clone_modal_close": 0,
2425
+ "acfe_clone_modal_button": "",
2426
+ "acfe_clone_modal_size": "large"
2427
+ }
2428
+ ],
2429
+ "min": "",
2430
+ "max": "",
2431
+ "acfe_flexible_render_template": false,
2432
+ "acfe_flexible_render_style": false,
2433
+ "acfe_flexible_render_script": false,
2434
+ "acfe_flexible_thumbnail": false,
2435
+ "acfe_flexible_settings": false,
2436
+ "acfe_flexible_settings_size": "medium",
2437
+ "acfe_layout_locations": [],
2438
+ "acfe_flexible_modal_edit_size": false,
2439
+ "acfe_flexible_category": false,
2440
+ "acfe_layout_col": "auto",
2441
+ "acfe_layout_allowed_col": false
2345
2442
  }
2346
2443
  },
2347
2444
  "min": "",
@@ -2829,5 +2926,5 @@
2829
2926
  "acfe_display_title": "",
2830
2927
  "acfe_meta": "",
2831
2928
  "acfe_note": "",
2832
- "modified": 1754664939
2929
+ "modified": 1754666342
2833
2930
  }
@@ -3,6 +3,7 @@
3
3
 
4
4
  @mixin gridLayoutElement() {
5
5
  display: grid;
6
+ z-index: var(--element-z-index, 5);
6
7
  grid-row: var(--grid-row-start-mobile) / span var(--grid-row-span-mobile);
7
8
  grid-column: var(--grid-column-start-mobile) / span
8
9
  var(--grid-column-span-mobile);
@@ -1,4 +1,4 @@
1
- {% set containerZindex = '--container-z-index:' ~ fields.grid_layout_element.container_z_index ~ ';' %}
1
+ {% set elementZindex = '--element-z-index:' ~ fields.grid_layout_element.element_z_index ~ ';' %}
2
2
  {% set gridColumnStart = '--grid-column-start:' ~ fields.grid_layout_element.grid_column_start ~ ';' %}
3
3
  {% set gridColumnSpan = '--grid-column-span:' ~ fields.grid_layout_element.grid_column_span ~ ';' %}
4
4
  {% set gridRowStart = '--grid-row-start:' ~ fields.grid_layout_element.grid_row_start ~ ';' %}
@@ -17,6 +17,7 @@
17
17
  {% set gridVerticalPlacementPortrait = '--grid-vertical-placement-portrait:' ~ ((fields.grid_layout_element.grid_layout_portrait.grid_vertical_placement_portrait == '__default') ? fields.grid_layout_element.grid_vertical_placement|ru : fields.grid_layout_element.grid_layout_portrait.grid_vertical_placement_portrait|ru) ~ ';' %}
18
18
  {% set gridHorizontalPlacementMobile = '--grid-horizontal-placement-mobile:' ~ ((fields.grid_layout_element.grid_layout_mobile.grid_horizontal_placement_mobile == '__default') ? fields.grid_layout_element.grid_horizontal_placement|ru : fields.grid_layout_element.grid_layout_mobile.grid_horizontal_placement_mobile|ru) ~ ';' %}
19
19
  {% set gridVerticalPlacementMobile = '--grid-vertical-placement-mobile:' ~ ((fields.grid_layout_element.grid_layout_mobile.grid_vertical_placement_mobile == '__default') ? fields.grid_layout_element.grid_vertical_placement|ru : fields.grid_layout_element.grid_layout_mobile.grid_vertical_placement_mobile|ru) ~ ';' %}
20
- {% set gridLayoutElement = containerZindex ~ gridColumnStartMobile ~ gridColumnSpanMobile ~ gridRowStartMobile ~ gridRowSpanMobile ~ gridColumnStartPortrait ~ gridColumnSpanPortrait ~ gridRowStartPortrait ~ gridRowSpanPortrait ~ gridColumnStart ~ gridColumnSpan ~ gridRowStart ~ gridRowSpan ~ gridHorizontalPlacement ~ gridVerticalPlacement ~ gridHorizontalPlacementPortrait ~ gridVerticalPlacementPortrait ~ gridHorizontalPlacementMobile ~ gridVerticalPlacementMobile %}
20
+ {% set gridLayoutElement = elementZindex ~ gridColumnStartMobile ~ gridColumnSpanMobile ~ gridRowStartMobile ~ gridRowSpanMobile ~ gridColumnStartPortrait ~ gridColumnSpanPortrait ~ gridRowStartPortrait ~ gridRowSpanPortrait ~ gridColumnStart ~ gridColumnSpan ~ gridRowStart ~ gridRowSpan ~ gridHorizontalPlacement ~ gridVerticalPlacement ~ gridHorizontalPlacementPortrait ~ gridVerticalPlacementPortrait ~ gridHorizontalPlacementMobile ~ gridVerticalPlacementMobile %}
21
+
21
22
 
22
23
  {{gridLayoutElement}}
@@ -438,8 +438,8 @@
438
438
  },
439
439
  {
440
440
  "key": "field_689601b410e13",
441
- "label": "Container Z index",
442
- "name": "container_z_index",
441
+ "label": "Element Z index",
442
+ "name": "element_z_index",
443
443
  "aria-label": "",
444
444
  "type": "number",
445
445
  "instructions": "",
@@ -786,5 +786,5 @@
786
786
  "acfe_display_title": "",
787
787
  "acfe_meta": "",
788
788
  "acfe_note": "",
789
- "modified": 1754665099
789
+ "modified": 1754680191
790
790
  }
@@ -88,7 +88,7 @@
88
88
  "acfe_wysiwyg_transparent": 0,
89
89
  "acfe_wysiwyg_merge_toolbar": 0,
90
90
  "acfe_wysiwyg_custom_toolbar": 0,
91
- "tabs": "visual",
91
+ "tabs": "all",
92
92
  "toolbar": "colour_bold_italic_underline_link",
93
93
  "media_upload": 0,
94
94
  "delay": 1,
@@ -123,5 +123,5 @@
123
123
  "acfe_display_title": "",
124
124
  "acfe_meta": "",
125
125
  "acfe_note": "",
126
- "modified": 1753351837
126
+ "modified": 1754663460
127
127
  }
@@ -11,7 +11,7 @@
11
11
  <div class="{{blockClassName}}__content-container {{textEditorContainerClasses}} standard-content-box-wysiwyg-editor cmpl-text-editor-settings {{block.id}}">
12
12
  {% if fields.wysiwyg_editor is not empty %}
13
13
  <{{elementType}} class="{{textEditorElementClasses}}">
14
- {{fields.wysiwyg_editor|striptags('<br>, <a>, <em>, <i>, <span>, <strong>')|raw}}
14
+ {{fields.wysiwyg_editor|raw}}
15
15
  </{{elementType}}>
16
16
  {% endif %}
17
17
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.157",
3
+ "version": "1.0.159",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {