@total_onion/onion-library 2.0.154 → 2.0.155

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.
@@ -1,9 +1,8 @@
1
- {# Do not edit this file outside of the component library as your changes will be lost with future updates. #}
2
1
  {% set blockClassName = "back-to-top-button" %}
3
2
  {% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
4
- {% set htmlEntryPoint = include('entry-points/entry-point-html.twig', { fields, block, blockClassName, options, environment, is_preview, nav_menus }, with_context = false) %}
3
+ {% set htmlEntryPoint = include('entry-points/entry-point-html-v3.twig', { fields, block, blockClassName, options, environment, is_preview, nav_menus }, with_context = false) %}
5
4
  {% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields, block }, with_context = false) %}
6
- {% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
5
+ {% set styleEntryPoint = include('entry-points/entry-point-style-v3.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
7
6
  {% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
8
7
 
9
8
 
@@ -1,215 +1,206 @@
1
1
  {
2
- "key": "group_686fdadc85df4",
3
- "title": "Block: Gradient Layer v3",
4
- "fields": [
5
- {
6
- "key": "field_686fdadc9e074",
7
- "label": "Gradient Layer",
8
- "name": "",
9
- "aria-label": "",
10
- "type": "tab",
11
- "instructions": "",
12
- "required": 0,
13
- "conditional_logic": 0,
14
- "wrapper": {
15
- "width": "",
16
- "class": "",
17
- "id": ""
18
- },
19
- "wpml_cf_preferences": 3,
20
- "placement": "top",
21
- "endpoint": 0,
22
- "no_preference": 0,
23
- "selected": 0
24
- },
25
- {
26
- "key": "field_686fdadc9e57f",
27
- "label": "Gradient layer fields",
28
- "name": "gradient_layer_fields",
29
- "aria-label": "",
30
- "type": "clone",
31
- "instructions": "",
32
- "required": 0,
33
- "conditional_logic": 0,
34
- "wrapper": {
35
- "width": "",
36
- "class": "",
37
- "id": ""
38
- },
39
- "wpml_cf_preferences": 3,
40
- "clone": [
41
- "group_686fd9ca50b63"
42
- ],
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"
52
- },
53
- {
54
- "key": "field_686fdadc9e7c8",
55
- "label": "Block Padding",
56
- "name": "",
57
- "aria-label": "",
58
- "type": "tab",
59
- "instructions": "",
60
- "required": 0,
61
- "conditional_logic": 0,
62
- "wrapper": {
63
- "width": "",
64
- "class": "",
65
- "id": ""
66
- },
67
- "wpml_cf_preferences": 3,
68
- "placement": "top",
69
- "endpoint": 0,
70
- "no_preference": 0,
71
- "selected": 0
72
- },
73
- {
74
- "key": "field_686fdadc9ecec",
75
- "label": "Block padding fields",
76
- "name": "block_padding_fields",
77
- "aria-label": "",
78
- "type": "clone",
79
- "instructions": "",
80
- "required": 0,
81
- "conditional_logic": 0,
82
- "wrapper": {
83
- "width": "",
84
- "class": "",
85
- "id": ""
86
- },
87
- "wpml_cf_preferences": 3,
88
- "clone": [
89
- "group_638f4148bc10b"
90
- ],
91
- "display": "seamless",
92
- "layout": "block",
93
- "prefix_label": 0,
94
- "prefix_name": 0,
95
- "acfe_seamless_style": 0,
96
- "acfe_clone_modal": 0,
97
- "acfe_clone_modal_close": 0,
98
- "acfe_clone_modal_button": "",
99
- "acfe_clone_modal_size": "large"
100
- },
101
- {
102
- "key": "field_686fdadc9efe1",
103
- "label": "Block Settings",
104
- "name": "",
105
- "aria-label": "",
106
- "type": "tab",
107
- "instructions": "",
108
- "required": 0,
109
- "conditional_logic": 0,
110
- "wrapper": {
111
- "width": "",
112
- "class": "",
113
- "id": ""
114
- },
115
- "wpml_cf_preferences": 3,
116
- "placement": "top",
117
- "endpoint": 0,
118
- "no_preference": 0,
119
- "selected": 0
120
- },
121
- {
122
- "key": "field_686fdadc9f30b",
123
- "label": "Block",
124
- "name": "",
125
- "aria-label": "",
126
- "type": "accordion",
127
- "instructions": "",
128
- "required": 0,
129
- "conditional_logic": 0,
130
- "wrapper": {
131
- "width": "",
132
- "class": "",
133
- "id": ""
134
- },
135
- "wpml_cf_preferences": 3,
136
- "open": 0,
137
- "multi_expand": 0,
138
- "endpoint": 0
139
- },
140
- {
141
- "key": "field_686fdadc9f71e",
142
- "label": "Block settings fields",
143
- "name": "block_settings_fields",
144
- "aria-label": "",
145
- "type": "clone",
146
- "instructions": "",
147
- "required": 0,
148
- "conditional_logic": 0,
149
- "wrapper": {
150
- "width": "",
151
- "class": "",
152
- "id": ""
153
- },
154
- "wpml_cf_preferences": 3,
155
- "clone": [
156
- "group_65a45ada4e128"
157
- ],
158
- "display": "seamless",
159
- "layout": "block",
160
- "prefix_label": 0,
161
- "prefix_name": 0,
162
- "acfe_seamless_style": 0,
163
- "acfe_clone_modal": 0,
164
- "acfe_clone_modal_close": 0,
165
- "acfe_clone_modal_button": "",
166
- "acfe_clone_modal_size": "large"
167
- },
168
- {
169
- "key": "field_6880ebefd268b",
170
- "label": "Block end",
171
- "name": "",
172
- "aria-label": "",
173
- "type": "accordion",
174
- "instructions": "",
175
- "required": 0,
176
- "conditional_logic": 0,
177
- "wrapper": {
178
- "width": "",
179
- "class": "",
180
- "id": ""
181
- },
182
- "wpml_cf_preferences": 3,
183
- "open": 0,
184
- "multi_expand": 0,
185
- "endpoint": 1
186
- }
187
- ],
188
- "location": [
189
- [
190
- {
191
- "param": "block",
192
- "operator": "==",
193
- "value": "all"
194
- }
195
- ]
196
- ],
197
- "menu_order": 0,
198
- "position": "normal",
199
- "style": "default",
200
- "label_placement": "left",
201
- "instruction_placement": "label",
202
- "hide_on_screen": "",
203
- "active": false,
204
- "description": "",
205
- "show_in_rest": 0,
206
- "display_title": "",
207
- "acfe_autosync": [
208
- "json"
209
- ],
210
- "acfe_form": 0,
211
- "acfe_display_title": "",
212
- "acfe_meta": "",
213
- "acfe_note": "",
214
- "modified": 1762794526
2
+ "key": "group_686fdadc85df4",
3
+ "title": "Block: Gradient Layer v3",
4
+ "fields": [
5
+ {
6
+ "key": "field_686fdadc9e074",
7
+ "label": "Gradient Layer",
8
+ "name": "",
9
+ "aria-label": "",
10
+ "type": "tab",
11
+ "instructions": "",
12
+ "required": 0,
13
+ "conditional_logic": 0,
14
+ "wrapper": {
15
+ "width": "",
16
+ "class": "",
17
+ "id": ""
18
+ },
19
+ "wpml_cf_preferences": 3,
20
+ "placement": "top",
21
+ "endpoint": 0,
22
+ "no_preference": 0,
23
+ "selected": 0
24
+ },
25
+ {
26
+ "key": "field_686fdadc9e57f",
27
+ "label": "Gradient layer fields",
28
+ "name": "gradient_layer_fields",
29
+ "aria-label": "",
30
+ "type": "clone",
31
+ "instructions": "",
32
+ "required": 0,
33
+ "conditional_logic": 0,
34
+ "wrapper": {
35
+ "width": "",
36
+ "class": "",
37
+ "id": ""
38
+ },
39
+ "wpml_cf_preferences": 3,
40
+ "clone": ["group_686fd9ca50b63"],
41
+ "display": "seamless",
42
+ "layout": "block",
43
+ "prefix_label": 0,
44
+ "prefix_name": 0,
45
+ "acfe_seamless_style": 0,
46
+ "acfe_clone_modal": 0,
47
+ "acfe_clone_modal_close": 0,
48
+ "acfe_clone_modal_button": "",
49
+ "acfe_clone_modal_size": "large"
50
+ },
51
+ {
52
+ "key": "field_686fdadc9e7c8",
53
+ "label": "Block Padding",
54
+ "name": "",
55
+ "aria-label": "",
56
+ "type": "tab",
57
+ "instructions": "",
58
+ "required": 0,
59
+ "conditional_logic": 0,
60
+ "wrapper": {
61
+ "width": "",
62
+ "class": "",
63
+ "id": ""
64
+ },
65
+ "wpml_cf_preferences": 3,
66
+ "placement": "top",
67
+ "endpoint": 0,
68
+ "no_preference": 0,
69
+ "selected": 0
70
+ },
71
+ {
72
+ "key": "field_686fdadc9ecec",
73
+ "label": "Block padding fields",
74
+ "name": "block_padding_fields",
75
+ "aria-label": "",
76
+ "type": "clone",
77
+ "instructions": "",
78
+ "required": 0,
79
+ "conditional_logic": 0,
80
+ "wrapper": {
81
+ "width": "",
82
+ "class": "",
83
+ "id": ""
84
+ },
85
+ "wpml_cf_preferences": 3,
86
+ "clone": ["group_638f4148bc10b"],
87
+ "display": "seamless",
88
+ "layout": "block",
89
+ "prefix_label": 0,
90
+ "prefix_name": 0,
91
+ "acfe_seamless_style": 0,
92
+ "acfe_clone_modal": 0,
93
+ "acfe_clone_modal_close": 0,
94
+ "acfe_clone_modal_button": "",
95
+ "acfe_clone_modal_size": "large"
96
+ },
97
+ {
98
+ "key": "field_686fdadc9efe1",
99
+ "label": "Block Settings",
100
+ "name": "",
101
+ "aria-label": "",
102
+ "type": "tab",
103
+ "instructions": "",
104
+ "required": 0,
105
+ "conditional_logic": 0,
106
+ "wrapper": {
107
+ "width": "",
108
+ "class": "",
109
+ "id": ""
110
+ },
111
+ "wpml_cf_preferences": 3,
112
+ "placement": "top",
113
+ "endpoint": 0,
114
+ "no_preference": 0,
115
+ "selected": 0
116
+ },
117
+ {
118
+ "key": "field_686fdadc9f30b",
119
+ "label": "Block",
120
+ "name": "",
121
+ "aria-label": "",
122
+ "type": "accordion",
123
+ "instructions": "",
124
+ "required": 0,
125
+ "conditional_logic": 0,
126
+ "wrapper": {
127
+ "width": "",
128
+ "class": "",
129
+ "id": ""
130
+ },
131
+ "wpml_cf_preferences": 3,
132
+ "open": 0,
133
+ "multi_expand": 0,
134
+ "endpoint": 0
135
+ },
136
+ {
137
+ "key": "field_686fdadc9f71e",
138
+ "label": "Block settings fields",
139
+ "name": "block_settings_fields",
140
+ "aria-label": "",
141
+ "type": "clone",
142
+ "instructions": "",
143
+ "required": 0,
144
+ "conditional_logic": 0,
145
+ "wrapper": {
146
+ "width": "",
147
+ "class": "",
148
+ "id": ""
149
+ },
150
+ "clone": ["group_689f649af2ac4"],
151
+ "display": "seamless",
152
+ "layout": "block",
153
+ "prefix_label": 0,
154
+ "prefix_name": 0,
155
+ "acfe_seamless_style": 0,
156
+ "acfe_clone_modal": 0,
157
+ "acfe_clone_modal_close": 0,
158
+ "acfe_clone_modal_button": "",
159
+ "acfe_clone_modal_size": "large"
160
+ },
161
+ {
162
+ "key": "field_6880ebefd268b",
163
+ "label": "Block end",
164
+ "name": "",
165
+ "aria-label": "",
166
+ "type": "accordion",
167
+ "instructions": "",
168
+ "required": 0,
169
+ "conditional_logic": 0,
170
+ "wrapper": {
171
+ "width": "",
172
+ "class": "",
173
+ "id": ""
174
+ },
175
+ "wpml_cf_preferences": 3,
176
+ "open": 0,
177
+ "multi_expand": 0,
178
+ "endpoint": 1
179
+ }
180
+ ],
181
+ "location": [
182
+ [
183
+ {
184
+ "param": "block",
185
+ "operator": "==",
186
+ "value": "all"
187
+ }
188
+ ]
189
+ ],
190
+ "menu_order": 0,
191
+ "position": "normal",
192
+ "style": "default",
193
+ "label_placement": "left",
194
+ "instruction_placement": "label",
195
+ "hide_on_screen": "",
196
+ "active": false,
197
+ "description": "",
198
+ "show_in_rest": 0,
199
+ "display_title": "",
200
+ "acfe_autosync": ["json"],
201
+ "acfe_form": 0,
202
+ "acfe_display_title": "",
203
+ "acfe_meta": "",
204
+ "acfe_note": "",
205
+ "modified": 1764600109
215
206
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.154",
3
+ "version": "2.0.155",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {