@total_onion/onion-library 2.0.196 → 2.0.197
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.
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"id": ""
|
|
60
60
|
},
|
|
61
61
|
"acfe_repeater_stylised_button": 1,
|
|
62
|
-
"layout": "
|
|
62
|
+
"layout": "block",
|
|
63
63
|
"pagination": 0,
|
|
64
64
|
"min": 0,
|
|
65
65
|
"max": 0,
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"required": 0,
|
|
78
78
|
"conditional_logic": 0,
|
|
79
79
|
"wrapper": {
|
|
80
|
-
"width": "",
|
|
80
|
+
"width": "40",
|
|
81
81
|
"class": "",
|
|
82
82
|
"id": ""
|
|
83
83
|
},
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"required": 0,
|
|
101
101
|
"conditional_logic": 0,
|
|
102
102
|
"wrapper": {
|
|
103
|
-
"width": "",
|
|
103
|
+
"width": "20",
|
|
104
104
|
"class": "",
|
|
105
105
|
"id": ""
|
|
106
106
|
},
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"required": 0,
|
|
119
119
|
"conditional_logic": 0,
|
|
120
120
|
"wrapper": {
|
|
121
|
-
"width": "",
|
|
121
|
+
"width": "20",
|
|
122
122
|
"class": "",
|
|
123
123
|
"id": ""
|
|
124
124
|
},
|
|
@@ -137,6 +137,29 @@
|
|
|
137
137
|
"allow_in_bindings": 0,
|
|
138
138
|
"preview_size": "medium",
|
|
139
139
|
"parent_repeater": "field_62647331056f3"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"key": "field_69610723c5a0e",
|
|
143
|
+
"label": "Single Separator Image Width",
|
|
144
|
+
"name": "single_separator_image_width",
|
|
145
|
+
"aria-label": "",
|
|
146
|
+
"type": "range",
|
|
147
|
+
"instructions": "in ems",
|
|
148
|
+
"required": 0,
|
|
149
|
+
"conditional_logic": 0,
|
|
150
|
+
"wrapper": {
|
|
151
|
+
"width": "20",
|
|
152
|
+
"class": "",
|
|
153
|
+
"id": ""
|
|
154
|
+
},
|
|
155
|
+
"default_value": 1,
|
|
156
|
+
"min": "0.1",
|
|
157
|
+
"max": 10,
|
|
158
|
+
"allow_in_bindings": 0,
|
|
159
|
+
"step": "0.1",
|
|
160
|
+
"prepend": "",
|
|
161
|
+
"append": "",
|
|
162
|
+
"parent_repeater": "field_62647331056f3"
|
|
140
163
|
}
|
|
141
164
|
]
|
|
142
165
|
},
|
|
@@ -637,5 +660,5 @@
|
|
|
637
660
|
"acfe_display_title": "",
|
|
638
661
|
"acfe_meta": "",
|
|
639
662
|
"acfe_note": "",
|
|
640
|
-
"modified":
|
|
663
|
+
"modified": 1767966858
|
|
641
664
|
}
|
|
@@ -45,7 +45,13 @@
|
|
|
45
45
|
{% for item in fields.scrolling_banner_texts %}
|
|
46
46
|
{% if item.single_separator_image != null %}
|
|
47
47
|
{% set singleSeparatorImage = get_image(item.single_separator_image) %}
|
|
48
|
-
|
|
48
|
+
{% set singleSeparatorImageWidth = '--separator-image-width: ' ~ item.single_separator_image_width ~ 'em;' %}
|
|
49
|
+
<style>
|
|
50
|
+
.{{blockClassName}}__separator--image-single-{{loop.index}}{
|
|
51
|
+
{{singleSeparatorImageWidth}}
|
|
52
|
+
}
|
|
53
|
+
</style>
|
|
54
|
+
<img class="{{blockClassName}}__separator {{blockClassName}}__separator--image {{blockClassName}}__separator--image-single-{{loop.index}}" src="{{gt_image_mainsrc(singleSeparatorImage)}}">
|
|
49
55
|
{% elseif separatorAsImage != null %}
|
|
50
56
|
<img class="{{blockClassName}}__separator {{blockClassName}}__separator--image" src="{{gt_image_mainsrc(separatorImage)}}">
|
|
51
57
|
{% else %}
|