@total_onion/onion-library 2.0.164 → 2.0.167

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.
@@ -22,7 +22,7 @@
22
22
  <div
23
23
  class="{{blockClassName}}__title">
24
24
  <!-- site-copyright-notice -->
25
- {{options.site_copyright_notice|default('@Total Onion')}}
25
+ {{options.site_copyright_notice_v3|default('@Total Onion')}}
26
26
  <!-- end-site-copyright-notice -->
27
27
  </div>
28
28
  {% endif %}
@@ -1,177 +1,169 @@
1
1
  {
2
- "key": "group_687190b8d26df",
3
- "title": "Block: Video Content v3",
4
- "fields": [
5
- {
6
- "key": "field_687190faf3f3c",
7
- "label": "Video",
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_687190baf3f3b",
27
- "label": "Video fields",
28
- "name": "video_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_6872282f44634"
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_68719139f3f3f",
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_68719142f3f40",
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_689f66f3e26df"
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_6871910af3f3d",
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_6871911af3f3e",
123
- "label": "block settings fields",
124
- "name": "block_settings_fields",
125
- "aria-label": "",
126
- "type": "clone",
127
- "instructions": "",
128
- "required": 0,
129
- "conditional_logic": 0,
130
- "wrapper": {
131
- "width": "",
132
- "class": "",
133
- "id": ""
134
- },
135
- "wpml_cf_preferences": 3,
136
- "clone": [
137
- "group_689f649af2ac4"
138
- ],
139
- "display": "seamless",
140
- "layout": "block",
141
- "prefix_label": 0,
142
- "prefix_name": 0,
143
- "acfe_seamless_style": 0,
144
- "acfe_clone_modal": 0,
145
- "acfe_clone_modal_close": 0,
146
- "acfe_clone_modal_button": "",
147
- "acfe_clone_modal_size": "large"
148
- }
149
- ],
150
- "location": [
151
- [
152
- {
153
- "param": "block",
154
- "operator": "==",
155
- "value": "acf\/video-content-v3"
156
- }
157
- ]
158
- ],
159
- "menu_order": 0,
160
- "position": "normal",
161
- "style": "default",
162
- "label_placement": "left",
163
- "instruction_placement": "label",
164
- "hide_on_screen": "",
165
- "active": true,
166
- "description": "",
167
- "show_in_rest": 0,
168
- "acfe_autosync": [
169
- "json"
170
- ],
171
- "acfml_field_group_mode": "localization",
172
- "acfe_form": 0,
173
- "acfe_display_title": "",
174
- "acfe_meta": "",
175
- "acfe_note": "",
176
- "modified": 1757922289
2
+ "key": "group_687190b8d26df",
3
+ "title": "Block: Video Content v3",
4
+ "fields": [
5
+ {
6
+ "key": "field_687190faf3f3c",
7
+ "label": "Video",
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_687190baf3f3b",
27
+ "label": "Video fields",
28
+ "name": "video_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_6872282f44634"],
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_68719139f3f3f",
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_68719142f3f40",
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_689f66f3e26df"],
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_6871910af3f3d",
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_6871911af3f3e",
119
+ "label": "block settings fields",
120
+ "name": "block_settings_fields",
121
+ "aria-label": "",
122
+ "type": "clone",
123
+ "instructions": "",
124
+ "required": 0,
125
+ "conditional_logic": 0,
126
+ "wrapper": {
127
+ "width": "",
128
+ "class": "",
129
+ "id": ""
130
+ },
131
+ "wpml_cf_preferences": 3,
132
+ "clone": ["group_689f649af2ac4"],
133
+ "display": "seamless",
134
+ "layout": "block",
135
+ "prefix_label": 0,
136
+ "prefix_name": 0,
137
+ "acfe_seamless_style": 0,
138
+ "acfe_clone_modal": 0,
139
+ "acfe_clone_modal_close": 0,
140
+ "acfe_clone_modal_button": "",
141
+ "acfe_clone_modal_size": "large"
142
+ }
143
+ ],
144
+ "location": [
145
+ [
146
+ {
147
+ "param": "block",
148
+ "operator": "==",
149
+ "value": "all"
150
+ }
151
+ ]
152
+ ],
153
+ "menu_order": 0,
154
+ "position": "normal",
155
+ "style": "default",
156
+ "label_placement": "left",
157
+ "instruction_placement": "label",
158
+ "hide_on_screen": "",
159
+ "active": false,
160
+ "description": "",
161
+ "show_in_rest": 0,
162
+ "display_title": "",
163
+ "acfe_autosync": ["json"],
164
+ "acfe_form": 0,
165
+ "acfe_display_title": "",
166
+ "acfe_meta": "",
167
+ "acfe_note": "",
168
+ "modified": 1763475209
177
169
  }
@@ -114,6 +114,52 @@
114
114
  "acfe_layout_col": "auto",
115
115
  "acfe_layout_allowed_col": false
116
116
  },
117
+ "layout_690620751f544": {
118
+ "key": "layout_690620751f544",
119
+ "name": "wysiwyg_editor_classic_v3",
120
+ "label": "Wysiwyg Editor Classic v3",
121
+ "display": "block",
122
+ "sub_fields": [
123
+ {
124
+ "key": "field_690620751f546",
125
+ "label": "Wysiwyg Editor fields",
126
+ "name": "wysiwyg_editor_fields",
127
+ "aria-label": "",
128
+ "type": "clone",
129
+ "instructions": "",
130
+ "required": 0,
131
+ "conditional_logic": 0,
132
+ "wrapper": {
133
+ "width": "",
134
+ "class": "",
135
+ "id": ""
136
+ },
137
+ "clone": ["group_690620a2575ec"],
138
+ "display": "seamless",
139
+ "layout": "block",
140
+ "prefix_label": 0,
141
+ "prefix_name": 0,
142
+ "acfe_seamless_style": 0,
143
+ "acfe_clone_modal": 0,
144
+ "acfe_clone_modal_close": 0,
145
+ "acfe_clone_modal_button": "",
146
+ "acfe_clone_modal_size": "large"
147
+ }
148
+ ],
149
+ "min": "",
150
+ "max": "",
151
+ "acfe_flexible_render_template": false,
152
+ "acfe_flexible_render_style": false,
153
+ "acfe_flexible_render_script": false,
154
+ "acfe_flexible_thumbnail": false,
155
+ "acfe_flexible_settings": false,
156
+ "acfe_flexible_settings_size": "medium",
157
+ "acfe_layout_locations": [],
158
+ "acfe_flexible_modal_edit_size": false,
159
+ "acfe_flexible_category": false,
160
+ "acfe_layout_col": "auto",
161
+ "acfe_layout_allowed_col": false
162
+ },
117
163
  "layout_63e1105ef3e28": {
118
164
  "key": "layout_63e1105ef3e28",
119
165
  "name": "accent_text_v3",
@@ -499,17 +499,17 @@
499
499
  "class": "",
500
500
  "id": ""
501
501
  },
502
- "wpml_cf_preferences": 3,
503
502
  "choices": {
504
- "__flex-start": "Top",
505
- "__center": "Center",
506
- "__flex-end": "Bottom",
507
- "__stretch": "Stretch"
503
+ "flex-start": "Top",
504
+ "center": "Center",
505
+ "flex-end": "Bottom",
506
+ "stretch": "Stretch"
508
507
  },
509
- "default_value": "__stretch",
508
+ "default_value": "stretch",
510
509
  "return_format": "value",
511
510
  "allow_null": 0,
512
511
  "other_choice": 0,
512
+ "allow_in_bindings": 1,
513
513
  "layout": "horizontal",
514
514
  "save_other_choice": 0
515
515
  },
@@ -549,18 +549,18 @@
549
549
  "class": "",
550
550
  "id": ""
551
551
  },
552
- "wpml_cf_preferences": 3,
553
552
  "choices": {
554
- "__flex-start": "Left",
555
- "__center": "Center",
556
- "__flex-end": "Right",
557
- "__stretch": "Stretch",
558
- "__default": "Same as desktop"
553
+ "flex-start": "Left",
554
+ "center": "Center",
555
+ "flex-end": "Right",
556
+ "stretch": "Stretch",
557
+ "default": "Same as desktop"
559
558
  },
560
- "default_value": "__default",
559
+ "default_value": "default",
561
560
  "return_format": "value",
562
561
  "allow_null": 0,
563
562
  "other_choice": 0,
563
+ "allow_in_bindings": 1,
564
564
  "layout": "horizontal",
565
565
  "save_other_choice": 0
566
566
  },
@@ -578,18 +578,18 @@
578
578
  "class": "",
579
579
  "id": ""
580
580
  },
581
- "wpml_cf_preferences": 3,
582
581
  "choices": {
583
- "__flex-start": "Top",
584
- "__center": "Center",
585
- "__flex-end": "Bottom",
586
- "__stretch": "Stretch",
587
- "__default": "Same as desktop"
582
+ "flex-start": "Top",
583
+ "center": "Center",
584
+ "flex-end": "Bottom",
585
+ "stretch": "Stretch",
586
+ "default": "Same as desktop"
588
587
  },
589
- "default_value": "__default",
588
+ "default_value": "default",
590
589
  "return_format": "value",
591
590
  "allow_null": 0,
592
591
  "other_choice": 0,
592
+ "allow_in_bindings": 1,
593
593
  "layout": "horizontal",
594
594
  "save_other_choice": 0
595
595
  }
@@ -631,18 +631,18 @@
631
631
  "class": "",
632
632
  "id": ""
633
633
  },
634
- "wpml_cf_preferences": 3,
635
634
  "choices": {
636
- "__flex-start": "Left",
637
- "__center": "Center",
638
- "__flex-end": "Right",
639
- "__stretch": "Stretch",
640
- "__default": "Same as desktop"
635
+ "flex-start": "Left",
636
+ "center": "Center",
637
+ "flex-end": "Right",
638
+ "stretch": "Stretch",
639
+ "default": "Same as desktop"
641
640
  },
642
- "default_value": "__default",
641
+ "default_value": "default",
643
642
  "return_format": "value",
644
643
  "allow_null": 0,
645
644
  "other_choice": 0,
645
+ "allow_in_bindings": 1,
646
646
  "layout": "horizontal",
647
647
  "save_other_choice": 0
648
648
  },
@@ -660,18 +660,18 @@
660
660
  "class": "",
661
661
  "id": ""
662
662
  },
663
- "wpml_cf_preferences": 3,
664
663
  "choices": {
665
- "__flex-start": "Top",
666
- "__center": "Center",
667
- "__flex-end": "Bottom",
668
- "__stretch": "Stretch",
669
- "__default": "Same as desktop"
664
+ "flex-start": "Top",
665
+ "center": "Center",
666
+ "flex-end": "Bottom",
667
+ "stretch": "Stretch",
668
+ "default": "Same as desktop"
670
669
  },
671
670
  "default_value": "__default",
672
671
  "return_format": "value",
673
672
  "allow_null": 0,
674
673
  "other_choice": 0,
674
+ "allow_in_bindings": 1,
675
675
  "layout": "horizontal",
676
676
  "save_other_choice": 0
677
677
  }
@@ -724,5 +724,5 @@
724
724
  "acfe_display_title": "",
725
725
  "acfe_meta": "",
726
726
  "acfe_note": "",
727
- "modified": 1762784598
727
+ "modified": 1763921626
728
728
  }
@@ -1,4 +1,3 @@
1
- {# Do not edit this file outside of the component library as your changes will be lost with future updates. #}
2
1
  {% set menudata = {} %}
3
2
  {% if fields.acf_fc_layout == 'nav_menu_v3' %}
4
3
  {% if fields.menu|ru == 'primary-menu' %}