@total_onion/onion-library 1.0.150 → 1.0.151

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.
@@ -23,11 +23,11 @@
23
23
  "selected": 0
24
24
  },
25
25
  {
26
- "key": "field_689212874031d",
27
- "label": "Enable Title",
28
- "name": "enable_title",
26
+ "key": "field_689380ea15836",
27
+ "label": "Wysiwyg editor fields",
28
+ "name": "wysiwyg_editor_fields",
29
29
  "aria-label": "",
30
- "type": "true_false",
30
+ "type": "clone",
31
31
  "instructions": "",
32
32
  "required": 0,
33
33
  "conditional_logic": 0,
@@ -37,56 +37,18 @@
37
37
  "id": ""
38
38
  },
39
39
  "wpml_cf_preferences": 3,
40
- "message": "",
41
- "default_value": 0,
42
- "ui_on_text": "",
43
- "ui_off_text": "",
44
- "ui": 1,
45
- "style": ""
46
- },
47
- {
48
- "key": "field_689212a24031e",
49
- "label": "Title",
50
- "name": "title",
51
- "aria-label": "",
52
- "type": "wysiwyg",
53
- "instructions": "",
54
- "required": 0,
55
- "conditional_logic": [
56
- [
57
- {
58
- "field": "field_689212874031d",
59
- "operator": "==",
60
- "value": "1"
61
- }
62
- ]
40
+ "clone": [
41
+ "group_6867e153af466"
63
42
  ],
64
- "wrapper": {
65
- "width": "",
66
- "class": "",
67
- "id": ""
68
- },
69
- "wpml_cf_preferences": 2,
70
- "default_value": "",
71
- "acfe_wysiwyg_auto_init": 0,
72
- "acfe_wysiwyg_height": 300,
73
- "acfe_wysiwyg_max_height": "",
74
- "acfe_wysiwyg_valid_elements": "",
75
- "acfe_wysiwyg_custom_style": "",
76
- "acfe_wysiwyg_disable_wp_style": 0,
77
- "acfe_wysiwyg_autoresize": 0,
78
- "acfe_wysiwyg_disable_resize": 0,
79
- "acfe_wysiwyg_remove_path": 0,
80
- "acfe_wysiwyg_menubar": 0,
81
- "acfe_wysiwyg_transparent": 0,
82
- "acfe_wysiwyg_merge_toolbar": 0,
83
- "acfe_wysiwyg_custom_toolbar": 0,
84
- "tabs": "visual",
85
- "toolbar": "formatselect_align_bold_italic_underline_link_removeformat",
86
- "media_upload": 0,
87
- "delay": 0,
88
- "acfe_wysiwyg_min_height": 300,
89
- "acfe_wysiwyg_toolbar_buttons": []
43
+ "display": "seamless",
44
+ "layout": "block",
45
+ "prefix_label": 0,
46
+ "prefix_name": 0,
47
+ "acfe_seamless_style": 0,
48
+ "acfe_clone_modal": 0,
49
+ "acfe_clone_modal_close": 0,
50
+ "acfe_clone_modal_button": "",
51
+ "acfe_clone_modal_size": "large"
90
52
  },
91
53
  {
92
54
  "key": "field_6891d4da7c7e2",
@@ -143,5 +105,5 @@
143
105
  "acfe_display_title": "",
144
106
  "acfe_meta": "",
145
107
  "acfe_note": "",
146
- "modified": 1754404344
108
+ "modified": 1754505513
147
109
  }
@@ -1,8 +1,10 @@
1
- // @use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
1
+ @use 'Assets/scss/modules/library-modules/core-mixins-v3/core-mixins-v3';
2
2
  @use 'Assets/scss/modules/library-modules/core-functions-v3/core-functions-v3';
3
- // @use 'Assets/scss/theme/breakpoints';
3
+ @use 'Assets/scss/theme/breakpoints';
4
4
  @use 'Assets/scss/blocks/social-networks-v3/social-networks-v3-extra';
5
+ @use 'Assets/scss/modules/library-modules/content-container-settings-v3/content-container-settings-v3';
5
6
  .social-networks-v3 {
7
+ @include content-container-settings-v3.contentContainerSettingsV3();
6
8
  pointer-events: all;
7
9
  display: flex;
8
10
  flex-direction: column;
@@ -9,10 +9,16 @@
9
9
  {% set sectionStyles = styleEntryPoint %}
10
10
 
11
11
  {{previewEntryPoint}}
12
+ <style>
13
+ .{{blockClassName}}.{{block.id}}{
14
+ {{sectionStyles}}
15
+ }
16
+ </style>
12
17
  <section {{block.anchor ? "id=" ~ block.anchor : ''}} class="{{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade" {{dataAttributeEntryPoint}} data-blockid="{{block.id}}" style="{{sectionStyles}}" data-assetkey="{{blockClassName}}">
13
- {% if fields.enable_title and fields.title is not empty %}
14
- {{fields.title}}
18
+ {% if fields.wysiwyg_editor is not empty %}
19
+ {{ include('components/wysiwyg-editor-v3.twig', { fields, block, blockClassName}, with_context = false, ignore_missing = true) }}
15
20
  {% endif %}
21
+
16
22
  {{ include('components/social-networks.twig', {fields, block, blockClassName, is_preview, market_settings}, with_context = false, ignore_missing = true) }}
17
23
  {{htmlEntryPoint}}
18
- </section>
24
+ </section>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {