@total_onion/onion-library 1.0.7 → 1.0.9
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.
- package/components/block-section-separator-v3/group_6874c8d79b84b.json +576 -0
- package/components/block-section-separator-v3/section-separator-v3.js +8 -0
- package/components/block-section-separator-v3/section-separator-v3.php +14 -0
- package/components/block-section-separator-v3/section-separator-v3.scss +38 -0
- package/components/block-section-separator-v3/section-separator-v3.twig +46 -0
- package/package.json +1 -1
- package/components/block-post-type-filter-grid-v2/group_64690c62487bc.json +0 -4380
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/better-reviews-widget.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/buy-now-widget.vue +0 -72
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/cocktail-category.vue +0 -54
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/cocktail-tasting-notes.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/divider-widget.vue +0 -11
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/drink-tastes.vue +0 -26
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/featured-post-component.vue +0 -61
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/global-image-widget.vue +0 -23
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/media-widget.vue +0 -23
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/person-email-widget.vue +0 -20
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/person-name-widget.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/person-questionaire-widget.vue +0 -17
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/person-rating-widget.vue +0 -25
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-author-widget.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-category-widget.vue +0 -20
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-component.vue +0 -130
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-headline-widget.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-image-widget.vue +0 -60
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-info-description.vue +0 -14
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-info-subtitle.vue +0 -14
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-link-widget.vue +0 -44
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-publish-widget.vue +0 -44
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-tags-widget.vue +0 -20
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-text-alternative-style.vue +0 -18
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/post-title-widget.vue +0 -20
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/pre-render-posts-html.twig +0 -17
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-abv.vue +0 -18
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-age-statement.vue +0 -17
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-bazaarvoice.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-brand.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-cask-type.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-country.vue +0 -14
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-description.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-details-name.vue +0 -18
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-details-price.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-finish.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-history.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-link.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-logo-widget.vue +0 -22
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-name.vue +0 -17
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-nose.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-price.vue +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-slug.vue +0 -14
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-taste.vue +0 -16
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/product-whisky-type.vue +0 -25
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/ptfg-posts.twig +0 -449
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/ptfg-utils.vue +0 -38
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/shopify-add-to-cart.vue +0 -31
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/social-media-item.vue +0 -58
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/spacer-widget.vue +0 -13
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2/text-search.vue +0 -10
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2-extra.scss +0 -6
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2.js +0 -15
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2.php +0 -48
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2.scss +0 -989
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2.twig +0 -150
- package/components/block-post-type-filter-grid-v2/post-type-filter-grid-v2.vue +0 -893
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
{
|
|
2
|
+
"key": "group_6874c8d79b84b",
|
|
3
|
+
"title": "Block: Section Separator v3",
|
|
4
|
+
"fields": [
|
|
5
|
+
{
|
|
6
|
+
"key": "field_6874c8d7b45e1",
|
|
7
|
+
"label": "Separator Image",
|
|
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
|
+
"user_roles": [
|
|
21
|
+
"all"
|
|
22
|
+
],
|
|
23
|
+
"placement": "top",
|
|
24
|
+
"endpoint": 0,
|
|
25
|
+
"no_preference": 0,
|
|
26
|
+
"selected": 0
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"key": "field_6874c8d7b4a30",
|
|
30
|
+
"label": "Separator Image",
|
|
31
|
+
"name": "separator_image",
|
|
32
|
+
"aria-label": "",
|
|
33
|
+
"type": "image",
|
|
34
|
+
"instructions": "",
|
|
35
|
+
"required": 0,
|
|
36
|
+
"conditional_logic": 0,
|
|
37
|
+
"wrapper": {
|
|
38
|
+
"width": "",
|
|
39
|
+
"class": "",
|
|
40
|
+
"id": ""
|
|
41
|
+
},
|
|
42
|
+
"wpml_cf_preferences": 3,
|
|
43
|
+
"return_format": "array",
|
|
44
|
+
"library": "all",
|
|
45
|
+
"min_width": "",
|
|
46
|
+
"min_height": "",
|
|
47
|
+
"min_size": "",
|
|
48
|
+
"max_width": "",
|
|
49
|
+
"max_height": "",
|
|
50
|
+
"max_size": "",
|
|
51
|
+
"mime_types": "",
|
|
52
|
+
"preview_size": "medium",
|
|
53
|
+
"uploader": "",
|
|
54
|
+
"acfe_thumbnail": 0,
|
|
55
|
+
"upload_folder": ""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "field_6874c8d7b4e47",
|
|
59
|
+
"label": "Secondary Image",
|
|
60
|
+
"name": "",
|
|
61
|
+
"aria-label": "",
|
|
62
|
+
"type": "tab",
|
|
63
|
+
"instructions": "",
|
|
64
|
+
"required": 0,
|
|
65
|
+
"conditional_logic": 0,
|
|
66
|
+
"wrapper": {
|
|
67
|
+
"width": "",
|
|
68
|
+
"class": "",
|
|
69
|
+
"id": ""
|
|
70
|
+
},
|
|
71
|
+
"wpml_cf_preferences": 3,
|
|
72
|
+
"user_roles": [
|
|
73
|
+
"all"
|
|
74
|
+
],
|
|
75
|
+
"placement": "top",
|
|
76
|
+
"endpoint": 0,
|
|
77
|
+
"no_preference": 0,
|
|
78
|
+
"selected": 0
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "field_6874c8d7b5225",
|
|
82
|
+
"label": "Secondary Image",
|
|
83
|
+
"name": "secondary_image",
|
|
84
|
+
"aria-label": "",
|
|
85
|
+
"type": "image",
|
|
86
|
+
"instructions": "",
|
|
87
|
+
"required": 0,
|
|
88
|
+
"conditional_logic": 0,
|
|
89
|
+
"wrapper": {
|
|
90
|
+
"width": "",
|
|
91
|
+
"class": "",
|
|
92
|
+
"id": ""
|
|
93
|
+
},
|
|
94
|
+
"wpml_cf_preferences": 3,
|
|
95
|
+
"return_format": "array",
|
|
96
|
+
"library": "all",
|
|
97
|
+
"min_width": "",
|
|
98
|
+
"min_height": "",
|
|
99
|
+
"min_size": "",
|
|
100
|
+
"max_width": "",
|
|
101
|
+
"max_height": "",
|
|
102
|
+
"max_size": "",
|
|
103
|
+
"mime_types": "",
|
|
104
|
+
"preview_size": "medium",
|
|
105
|
+
"uploader": "",
|
|
106
|
+
"acfe_thumbnail": 0,
|
|
107
|
+
"upload_folder": ""
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"key": "field_6874c8d7b5570",
|
|
111
|
+
"label": "Secondary Image Settings",
|
|
112
|
+
"name": "",
|
|
113
|
+
"aria-label": "",
|
|
114
|
+
"type": "accordion",
|
|
115
|
+
"instructions": "",
|
|
116
|
+
"required": 0,
|
|
117
|
+
"conditional_logic": 0,
|
|
118
|
+
"wrapper": {
|
|
119
|
+
"width": "",
|
|
120
|
+
"class": "",
|
|
121
|
+
"id": ""
|
|
122
|
+
},
|
|
123
|
+
"wpml_cf_preferences": 3,
|
|
124
|
+
"open": 0,
|
|
125
|
+
"multi_expand": 0,
|
|
126
|
+
"endpoint": 0
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"key": "field_6874c8d7b5a2d",
|
|
130
|
+
"label": "Horizontal Position",
|
|
131
|
+
"name": "horizontal_position",
|
|
132
|
+
"aria-label": "",
|
|
133
|
+
"type": "radio",
|
|
134
|
+
"instructions": "",
|
|
135
|
+
"required": 0,
|
|
136
|
+
"conditional_logic": 0,
|
|
137
|
+
"wrapper": {
|
|
138
|
+
"width": "",
|
|
139
|
+
"class": "",
|
|
140
|
+
"id": ""
|
|
141
|
+
},
|
|
142
|
+
"wpml_cf_preferences": 3,
|
|
143
|
+
"choices": {
|
|
144
|
+
"__flex-start": "Left",
|
|
145
|
+
"__center": "Cnt",
|
|
146
|
+
"__flex-end": "Right"
|
|
147
|
+
},
|
|
148
|
+
"allow_null": 0,
|
|
149
|
+
"other_choice": 0,
|
|
150
|
+
"default_value": "",
|
|
151
|
+
"layout": "horizontal",
|
|
152
|
+
"return_format": "value",
|
|
153
|
+
"save_other_choice": 0
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"key": "field_6874c8d7b5de5",
|
|
157
|
+
"label": "Horizontal Offset",
|
|
158
|
+
"name": "horizontal_offset",
|
|
159
|
+
"aria-label": "",
|
|
160
|
+
"type": "range",
|
|
161
|
+
"instructions": "",
|
|
162
|
+
"required": 0,
|
|
163
|
+
"conditional_logic": 0,
|
|
164
|
+
"wrapper": {
|
|
165
|
+
"width": "",
|
|
166
|
+
"class": "",
|
|
167
|
+
"id": ""
|
|
168
|
+
},
|
|
169
|
+
"wpml_cf_preferences": 3,
|
|
170
|
+
"default_value": 3,
|
|
171
|
+
"min": -100,
|
|
172
|
+
"max": "",
|
|
173
|
+
"step": "",
|
|
174
|
+
"prepend": "",
|
|
175
|
+
"append": ""
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"key": "field_6874c8d7b614d",
|
|
179
|
+
"label": "Vertical Offset",
|
|
180
|
+
"name": "vertical_offset",
|
|
181
|
+
"aria-label": "",
|
|
182
|
+
"type": "range",
|
|
183
|
+
"instructions": "",
|
|
184
|
+
"required": 0,
|
|
185
|
+
"conditional_logic": 0,
|
|
186
|
+
"wrapper": {
|
|
187
|
+
"width": "",
|
|
188
|
+
"class": "",
|
|
189
|
+
"id": ""
|
|
190
|
+
},
|
|
191
|
+
"wpml_cf_preferences": 3,
|
|
192
|
+
"default_value": -50,
|
|
193
|
+
"min": -100,
|
|
194
|
+
"max": "",
|
|
195
|
+
"step": "",
|
|
196
|
+
"prepend": "",
|
|
197
|
+
"append": ""
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"key": "field_6874c8d7b65d6",
|
|
201
|
+
"label": "Enable Max Width",
|
|
202
|
+
"name": "enable_max_width",
|
|
203
|
+
"aria-label": "",
|
|
204
|
+
"type": "true_false",
|
|
205
|
+
"instructions": "",
|
|
206
|
+
"required": 0,
|
|
207
|
+
"conditional_logic": 0,
|
|
208
|
+
"wrapper": {
|
|
209
|
+
"width": "",
|
|
210
|
+
"class": "",
|
|
211
|
+
"id": ""
|
|
212
|
+
},
|
|
213
|
+
"wpml_cf_preferences": 3,
|
|
214
|
+
"message": "",
|
|
215
|
+
"default_value": 0,
|
|
216
|
+
"ui": 1,
|
|
217
|
+
"ui_on_text": "",
|
|
218
|
+
"ui_off_text": "",
|
|
219
|
+
"style": ""
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"key": "field_6874c8d7b69b1",
|
|
223
|
+
"label": "Max Width Desktop",
|
|
224
|
+
"name": "max_width_desktop",
|
|
225
|
+
"aria-label": "",
|
|
226
|
+
"type": "range",
|
|
227
|
+
"instructions": "",
|
|
228
|
+
"required": 0,
|
|
229
|
+
"conditional_logic": [
|
|
230
|
+
[
|
|
231
|
+
{
|
|
232
|
+
"field": "field_6874c8d7b65d6",
|
|
233
|
+
"operator": "==",
|
|
234
|
+
"value": "1"
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
],
|
|
238
|
+
"wrapper": {
|
|
239
|
+
"width": "",
|
|
240
|
+
"class": "",
|
|
241
|
+
"id": ""
|
|
242
|
+
},
|
|
243
|
+
"wpml_cf_preferences": 3,
|
|
244
|
+
"default_value": 500,
|
|
245
|
+
"min": 10,
|
|
246
|
+
"max": 500,
|
|
247
|
+
"step": "",
|
|
248
|
+
"prepend": "",
|
|
249
|
+
"append": ""
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"key": "field_6874c8d7b6d78",
|
|
253
|
+
"label": "Max Width Portrait",
|
|
254
|
+
"name": "max_width_portrait",
|
|
255
|
+
"aria-label": "",
|
|
256
|
+
"type": "range",
|
|
257
|
+
"instructions": "",
|
|
258
|
+
"required": 0,
|
|
259
|
+
"conditional_logic": [
|
|
260
|
+
[
|
|
261
|
+
{
|
|
262
|
+
"field": "field_6874c8d7b65d6",
|
|
263
|
+
"operator": "==",
|
|
264
|
+
"value": "1"
|
|
265
|
+
}
|
|
266
|
+
]
|
|
267
|
+
],
|
|
268
|
+
"wrapper": {
|
|
269
|
+
"width": "",
|
|
270
|
+
"class": "",
|
|
271
|
+
"id": ""
|
|
272
|
+
},
|
|
273
|
+
"wpml_cf_preferences": 3,
|
|
274
|
+
"default_value": 500,
|
|
275
|
+
"min": 10,
|
|
276
|
+
"max": 500,
|
|
277
|
+
"step": "",
|
|
278
|
+
"prepend": "",
|
|
279
|
+
"append": ""
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"key": "field_6874c8d7b7168",
|
|
283
|
+
"label": "Max Width Mobile",
|
|
284
|
+
"name": "max_width_mobile",
|
|
285
|
+
"aria-label": "",
|
|
286
|
+
"type": "range",
|
|
287
|
+
"instructions": "",
|
|
288
|
+
"required": 0,
|
|
289
|
+
"conditional_logic": [
|
|
290
|
+
[
|
|
291
|
+
{
|
|
292
|
+
"field": "field_6874c8d7b65d6",
|
|
293
|
+
"operator": "==",
|
|
294
|
+
"value": "1"
|
|
295
|
+
}
|
|
296
|
+
]
|
|
297
|
+
],
|
|
298
|
+
"wrapper": {
|
|
299
|
+
"width": "",
|
|
300
|
+
"class": "",
|
|
301
|
+
"id": ""
|
|
302
|
+
},
|
|
303
|
+
"wpml_cf_preferences": 3,
|
|
304
|
+
"default_value": 500,
|
|
305
|
+
"min": 10,
|
|
306
|
+
"max": 500,
|
|
307
|
+
"step": "",
|
|
308
|
+
"prepend": "",
|
|
309
|
+
"append": ""
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"key": "field_6874c8d7b7564",
|
|
313
|
+
"label": "Secondary Image Settings End",
|
|
314
|
+
"name": "",
|
|
315
|
+
"aria-label": "",
|
|
316
|
+
"type": "accordion",
|
|
317
|
+
"instructions": "",
|
|
318
|
+
"required": 0,
|
|
319
|
+
"conditional_logic": 0,
|
|
320
|
+
"wrapper": {
|
|
321
|
+
"width": "",
|
|
322
|
+
"class": "",
|
|
323
|
+
"id": ""
|
|
324
|
+
},
|
|
325
|
+
"wpml_cf_preferences": 3,
|
|
326
|
+
"open": 0,
|
|
327
|
+
"multi_expand": 0,
|
|
328
|
+
"endpoint": 1
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"key": "field_6874c8d7b7932",
|
|
332
|
+
"label": "Block Settings",
|
|
333
|
+
"name": "",
|
|
334
|
+
"aria-label": "",
|
|
335
|
+
"type": "tab",
|
|
336
|
+
"instructions": "",
|
|
337
|
+
"required": 0,
|
|
338
|
+
"conditional_logic": 0,
|
|
339
|
+
"wrapper": {
|
|
340
|
+
"width": "",
|
|
341
|
+
"class": "",
|
|
342
|
+
"id": ""
|
|
343
|
+
},
|
|
344
|
+
"wpml_cf_preferences": 3,
|
|
345
|
+
"placement": "top",
|
|
346
|
+
"endpoint": 0,
|
|
347
|
+
"no_preference": 0,
|
|
348
|
+
"selected": 0
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"key": "field_6874c8d7b7d21",
|
|
352
|
+
"label": "Block",
|
|
353
|
+
"name": "",
|
|
354
|
+
"aria-label": "",
|
|
355
|
+
"type": "accordion",
|
|
356
|
+
"instructions": "",
|
|
357
|
+
"required": 0,
|
|
358
|
+
"conditional_logic": 0,
|
|
359
|
+
"wrapper": {
|
|
360
|
+
"width": "",
|
|
361
|
+
"class": "",
|
|
362
|
+
"id": ""
|
|
363
|
+
},
|
|
364
|
+
"wpml_cf_preferences": 3,
|
|
365
|
+
"user_roles": [
|
|
366
|
+
"all"
|
|
367
|
+
],
|
|
368
|
+
"open": 0,
|
|
369
|
+
"multi_expand": 0,
|
|
370
|
+
"endpoint": 0
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"key": "field_6874c8d7b811f",
|
|
374
|
+
"label": "Block Settings fields",
|
|
375
|
+
"name": "block_settings_fields",
|
|
376
|
+
"aria-label": "",
|
|
377
|
+
"type": "clone",
|
|
378
|
+
"instructions": "",
|
|
379
|
+
"required": 0,
|
|
380
|
+
"conditional_logic": 0,
|
|
381
|
+
"wrapper": {
|
|
382
|
+
"width": "",
|
|
383
|
+
"class": "",
|
|
384
|
+
"id": ""
|
|
385
|
+
},
|
|
386
|
+
"wpml_cf_preferences": 3,
|
|
387
|
+
"user_roles": [
|
|
388
|
+
"administrator"
|
|
389
|
+
],
|
|
390
|
+
"clone": [
|
|
391
|
+
"group_65a45ada4e128"
|
|
392
|
+
],
|
|
393
|
+
"display": "seamless",
|
|
394
|
+
"layout": "block",
|
|
395
|
+
"prefix_label": 0,
|
|
396
|
+
"prefix_name": 0,
|
|
397
|
+
"acfe_seamless_style": 0,
|
|
398
|
+
"acfe_clone_modal": 0,
|
|
399
|
+
"acfe_clone_modal_close": 0,
|
|
400
|
+
"acfe_clone_modal_button": "",
|
|
401
|
+
"acfe_clone_modal_size": "large"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"key": "field_6874c8d7b84fb",
|
|
405
|
+
"label": "Block end",
|
|
406
|
+
"name": "",
|
|
407
|
+
"aria-label": "",
|
|
408
|
+
"type": "accordion",
|
|
409
|
+
"instructions": "",
|
|
410
|
+
"required": 0,
|
|
411
|
+
"conditional_logic": 0,
|
|
412
|
+
"wrapper": {
|
|
413
|
+
"width": "",
|
|
414
|
+
"class": "",
|
|
415
|
+
"id": ""
|
|
416
|
+
},
|
|
417
|
+
"wpml_cf_preferences": 3,
|
|
418
|
+
"user_roles": [
|
|
419
|
+
"all"
|
|
420
|
+
],
|
|
421
|
+
"open": 0,
|
|
422
|
+
"multi_expand": 0,
|
|
423
|
+
"endpoint": 1
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"key": "field_6874c8d7b88d2",
|
|
427
|
+
"label": "Responsive Show\/Hide",
|
|
428
|
+
"name": "",
|
|
429
|
+
"aria-label": "",
|
|
430
|
+
"type": "accordion",
|
|
431
|
+
"instructions": "",
|
|
432
|
+
"required": 0,
|
|
433
|
+
"conditional_logic": 0,
|
|
434
|
+
"wrapper": {
|
|
435
|
+
"width": "",
|
|
436
|
+
"class": "",
|
|
437
|
+
"id": ""
|
|
438
|
+
},
|
|
439
|
+
"wpml_cf_preferences": 3,
|
|
440
|
+
"open": 0,
|
|
441
|
+
"multi_expand": 0,
|
|
442
|
+
"endpoint": 0
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"key": "field_6874c8d7b8cc9",
|
|
446
|
+
"label": "show hide fields",
|
|
447
|
+
"name": "show_hide_fields",
|
|
448
|
+
"aria-label": "",
|
|
449
|
+
"type": "clone",
|
|
450
|
+
"instructions": "",
|
|
451
|
+
"required": 0,
|
|
452
|
+
"conditional_logic": 0,
|
|
453
|
+
"wrapper": {
|
|
454
|
+
"width": "",
|
|
455
|
+
"class": "",
|
|
456
|
+
"id": ""
|
|
457
|
+
},
|
|
458
|
+
"wpml_cf_preferences": 3,
|
|
459
|
+
"user_roles": [
|
|
460
|
+
"administrator"
|
|
461
|
+
],
|
|
462
|
+
"clone": [
|
|
463
|
+
"group_645a741c8da2e"
|
|
464
|
+
],
|
|
465
|
+
"display": "seamless",
|
|
466
|
+
"layout": "block",
|
|
467
|
+
"prefix_label": 0,
|
|
468
|
+
"prefix_name": 0,
|
|
469
|
+
"acfe_seamless_style": 0,
|
|
470
|
+
"acfe_clone_modal": 0,
|
|
471
|
+
"acfe_clone_modal_close": 0,
|
|
472
|
+
"acfe_clone_modal_button": "",
|
|
473
|
+
"acfe_clone_modal_size": "large"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"key": "field_6874c8d7b90ab",
|
|
477
|
+
"label": "Responsive Show\/Hide End",
|
|
478
|
+
"name": "",
|
|
479
|
+
"aria-label": "",
|
|
480
|
+
"type": "accordion",
|
|
481
|
+
"instructions": "",
|
|
482
|
+
"required": 0,
|
|
483
|
+
"conditional_logic": 0,
|
|
484
|
+
"wrapper": {
|
|
485
|
+
"width": "",
|
|
486
|
+
"class": "",
|
|
487
|
+
"id": ""
|
|
488
|
+
},
|
|
489
|
+
"wpml_cf_preferences": 3,
|
|
490
|
+
"open": 0,
|
|
491
|
+
"multi_expand": 0,
|
|
492
|
+
"endpoint": 1
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"key": "field_6874c8d7b9492",
|
|
496
|
+
"label": "Animations",
|
|
497
|
+
"name": "",
|
|
498
|
+
"aria-label": "",
|
|
499
|
+
"type": "tab",
|
|
500
|
+
"instructions": "",
|
|
501
|
+
"required": 0,
|
|
502
|
+
"conditional_logic": 0,
|
|
503
|
+
"wrapper": {
|
|
504
|
+
"width": "",
|
|
505
|
+
"class": "",
|
|
506
|
+
"id": ""
|
|
507
|
+
},
|
|
508
|
+
"wpml_cf_preferences": 3,
|
|
509
|
+
"user_roles": [
|
|
510
|
+
"administrator"
|
|
511
|
+
],
|
|
512
|
+
"placement": "top",
|
|
513
|
+
"endpoint": 0,
|
|
514
|
+
"no_preference": 0,
|
|
515
|
+
"selected": 0
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"key": "field_6874c8d7b9882",
|
|
519
|
+
"label": "animation fields",
|
|
520
|
+
"name": "animation_fields",
|
|
521
|
+
"aria-label": "",
|
|
522
|
+
"type": "clone",
|
|
523
|
+
"instructions": "",
|
|
524
|
+
"required": 0,
|
|
525
|
+
"conditional_logic": 0,
|
|
526
|
+
"wrapper": {
|
|
527
|
+
"width": "",
|
|
528
|
+
"class": "",
|
|
529
|
+
"id": ""
|
|
530
|
+
},
|
|
531
|
+
"wpml_cf_preferences": 3,
|
|
532
|
+
"user_roles": [
|
|
533
|
+
"administrator"
|
|
534
|
+
],
|
|
535
|
+
"clone": [
|
|
536
|
+
"group_659e9c280bdda"
|
|
537
|
+
],
|
|
538
|
+
"display": "seamless",
|
|
539
|
+
"layout": "block",
|
|
540
|
+
"prefix_label": 0,
|
|
541
|
+
"prefix_name": 0,
|
|
542
|
+
"acfe_seamless_style": 0,
|
|
543
|
+
"acfe_clone_modal": 0,
|
|
544
|
+
"acfe_clone_modal_close": 0,
|
|
545
|
+
"acfe_clone_modal_button": "",
|
|
546
|
+
"acfe_clone_modal_size": "large"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"location": [
|
|
550
|
+
[
|
|
551
|
+
{
|
|
552
|
+
"param": "block",
|
|
553
|
+
"operator": "==",
|
|
554
|
+
"value": "acf\/section-separator-v3"
|
|
555
|
+
}
|
|
556
|
+
]
|
|
557
|
+
],
|
|
558
|
+
"menu_order": 0,
|
|
559
|
+
"position": "normal",
|
|
560
|
+
"style": "default",
|
|
561
|
+
"label_placement": "top",
|
|
562
|
+
"instruction_placement": "label",
|
|
563
|
+
"hide_on_screen": "",
|
|
564
|
+
"active": true,
|
|
565
|
+
"description": "Library version - Do not modify in this project as any changes will be overwritten by future updates.",
|
|
566
|
+
"show_in_rest": 0,
|
|
567
|
+
"acfe_autosync": [
|
|
568
|
+
"json"
|
|
569
|
+
],
|
|
570
|
+
"acfml_field_group_mode": "localization",
|
|
571
|
+
"acfe_form": 0,
|
|
572
|
+
"acfe_display_title": "",
|
|
573
|
+
"acfe_meta": "",
|
|
574
|
+
"acfe_note": "",
|
|
575
|
+
"modified": 1752484082
|
|
576
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
|
+
export default function sectionseparatorv3Js(options = {}) {
|
|
3
|
+
// try {
|
|
4
|
+
// const {block} = options;
|
|
5
|
+
// } catch (error) {
|
|
6
|
+
// console.error(error);
|
|
7
|
+
// }
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
acf_register_block_type(
|
|
4
|
+
array(
|
|
5
|
+
'name' => 'section-separator-v3',
|
|
6
|
+
'title' => __('Section separator v3', 'Global-theme Admin'),
|
|
7
|
+
'render_callback' => 'athena_block_render_post_object',
|
|
8
|
+
'category' => 'common',
|
|
9
|
+
'icon' => get_svg_icon_content('brick.svg'),
|
|
10
|
+
'keywords' => array('content', 'text'),
|
|
11
|
+
'mode' => 'preview',
|
|
12
|
+
'supports' => array('align' => false, 'anchor' => true),
|
|
13
|
+
)
|
|
14
|
+
);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// LIBRARY FILE - Do not modify/override here as your changes will be lost when the package is updated.
|
|
2
|
+
@use 'Assets/scss/modules/library-modules/core-mixins/core-mixins';
|
|
3
|
+
@use 'Assets/scss/modules/library-modules/core-functions/core-functions';
|
|
4
|
+
@use 'Assets/scss/theme/breakpoints';
|
|
5
|
+
|
|
6
|
+
.section-separator-v3 {
|
|
7
|
+
@include core-mixins.responsiveShowHide(grid);
|
|
8
|
+
|
|
9
|
+
&__separator-image {
|
|
10
|
+
width: 100%;
|
|
11
|
+
position: absolute;
|
|
12
|
+
display: block;
|
|
13
|
+
translate: 0 -50%;
|
|
14
|
+
height: auto;
|
|
15
|
+
top: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__secondary-image {
|
|
19
|
+
position: absolute;
|
|
20
|
+
place-self: center var(--horizontal-position);
|
|
21
|
+
translate: var(--horizontal-offset) var(--vertical-offset);
|
|
22
|
+
top: 0;
|
|
23
|
+
max-width: core-functions.fluidSize(var(--max-width-mobile), 'mobile');
|
|
24
|
+
|
|
25
|
+
@include core-mixins.device(breakpoints.$tabPortrait) {
|
|
26
|
+
max-width: core-functions.fluidSize(
|
|
27
|
+
var(--max-width-portrait),
|
|
28
|
+
'portrait'
|
|
29
|
+
);
|
|
30
|
+
@include core-mixins.device(breakpoints.$tabLandscape) {
|
|
31
|
+
max-width: core-functions.fluidSize(
|
|
32
|
+
var(--max-width-desktop),
|
|
33
|
+
'desktop'
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{# Do not edit this file outside of the component library as your changes will be lost with future updates. #}
|
|
2
|
+
{% set blockClassName = "section-separator-v3" %}
|
|
3
|
+
{% set displaytype = 'grid' %}
|
|
4
|
+
|
|
5
|
+
{% set classNameEntryPoint = include('entry-points/entry-point-classes.twig', { fields, block }, with_context = false) %}
|
|
6
|
+
{% set htmlEntryPoint = include('entry-points/entry-point-html.twig', { fields, block, blockClassName, options, environment, is_preview, nav_menus }, with_context = false) %}
|
|
7
|
+
{% set dataAttributeEntryPoint = include('entry-points/entry-point-data-attribute.twig', { fields, block }, with_context = false) %}
|
|
8
|
+
{% set styleEntryPoint = include('entry-points/entry-point-style.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
|
|
9
|
+
{% set previewEntryPoint = include('entry-points/entry-point-preview-info.twig', { fields, block, displaytype, is_preview }, with_context = false) %}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
{% set separatorImage = get_image(fields.separator_image) %}
|
|
13
|
+
{% set secondaryImage = get_image(fields.secondary_image) %}
|
|
14
|
+
|
|
15
|
+
{% set showOnDesktop = '--display-desktop: ' ~ (fields.show_on_desktop ? 'grid' : 'none') ~ ';' %}
|
|
16
|
+
{% set showOnPortrait = '--display-portrait: ' ~ (fields.show_on_tablet_portrait ? 'grid' : 'none') ~ ';' %}
|
|
17
|
+
{% set showOnMobile = '--display-mobile: ' ~ (fields.show_on_mobile ? 'grid' : 'none') ~ ';' %}
|
|
18
|
+
{% set horizontalPosition = '--horizontal-position: ' ~ fields.horizontal_position|ru ~ ';' %}
|
|
19
|
+
{% set horizontalOffset = '--horizontal-offset: ' ~ fields.horizontal_offset ~ '%;' %}
|
|
20
|
+
{% set verticalOffset = '--vertical-offset: ' ~ fields.vertical_offset ~ '%;' %}
|
|
21
|
+
{% set maxWidthDesktop = '--max-width-desktop: ' ~ fields.max_width_desktop ~ ';' %}
|
|
22
|
+
{% set maxWidthPortrait = '--max-width-portrait: ' ~ fields.max_width_portrait ~ ';' %}
|
|
23
|
+
{% set maxWidthMobile = '--max-width-mobile: ' ~ fields.max_width_mobile ~ ';' %}
|
|
24
|
+
|
|
25
|
+
{% set maxWidthVars = maxWidthDesktop ~ maxWidthPortrait ~ maxWidthMobile %}
|
|
26
|
+
{% set positionVars = horizontalPosition ~ horizontalOffset ~ verticalOffset %}
|
|
27
|
+
{% set sectionStyles = styleEntryPoint ~ background ~ sizeMultiplier ~ positionVars ~ maxWidthVars %}
|
|
28
|
+
|
|
29
|
+
{{previewEntryPoint}}
|
|
30
|
+
<style>
|
|
31
|
+
.{{blockClassName}}.{{block.id}}{
|
|
32
|
+
{{sectionStyles}}
|
|
33
|
+
}
|
|
34
|
+
</style>
|
|
35
|
+
|
|
36
|
+
<section {{block.anchor ? "id=" ~ block.anchor : ''}} class="section-separator-v3 {{blockClassName}} {{block.className}} {{classNameEntryPoint}} lazy-fade {{block.id}}" {{dataAttributeEntryPoint}} data-jsload="false" data-assetkey="section-separator-v3">
|
|
37
|
+
{% if separatorImage is defined and separatorImage is not empty %}
|
|
38
|
+
<img loading="lazy" class="section-separator__separator-image" src="{{ separatorImage.src }}" srcset="{{ separatorImage.srcset }}" width="{{ separatorImage.width }}" height="{{ separatorImage.height }}" alt="{{ separatorImage.alt }}"/>
|
|
39
|
+
{% endif %}
|
|
40
|
+
|
|
41
|
+
{% if secondaryImage is defined and secondaryImage is not empty %}
|
|
42
|
+
<img loading="lazy" class="section-separator__secondary-image" src="{{ secondaryImage.src }}" srcset="{{ secondaryImage.srcset }}" width="{{ secondaryImage.width }}" height="{{ secondaryImage.height }}" alt="{{ secondaryImage.alt }}"/>
|
|
43
|
+
{% endif %}
|
|
44
|
+
|
|
45
|
+
{{htmlEntryPoint}}
|
|
46
|
+
</section>
|