@total_onion/onion-library 2.0.195 → 2.0.196

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.
@@ -107,6 +107,36 @@
107
107
  "return_format": "array",
108
108
  "allow_in_bindings": 0,
109
109
  "parent_repeater": "field_62647331056f3"
110
+ },
111
+ {
112
+ "key": "field_6960fd9d394e7",
113
+ "label": "Single Separator Image",
114
+ "name": "single_separator_image",
115
+ "aria-label": "",
116
+ "type": "image",
117
+ "instructions": "",
118
+ "required": 0,
119
+ "conditional_logic": 0,
120
+ "wrapper": {
121
+ "width": "",
122
+ "class": "",
123
+ "id": ""
124
+ },
125
+ "uploader": "",
126
+ "return_format": "id",
127
+ "library": "all",
128
+ "upload_folder": "",
129
+ "acfe_thumbnail": 0,
130
+ "min_width": "",
131
+ "min_height": "",
132
+ "min_size": "",
133
+ "max_width": "",
134
+ "max_height": "",
135
+ "max_size": "",
136
+ "mime_types": "",
137
+ "allow_in_bindings": 0,
138
+ "preview_size": "medium",
139
+ "parent_repeater": "field_62647331056f3"
110
140
  }
111
141
  ]
112
142
  },
@@ -607,5 +637,5 @@
607
637
  "acfe_display_title": "",
608
638
  "acfe_meta": "",
609
639
  "acfe_note": "",
610
- "modified": 1767907938
640
+ "modified": 1767965204
611
641
  }
@@ -43,7 +43,10 @@
43
43
  <div class="{{blockClassName}}__container">
44
44
  <div class="{{blockClassName}}__inner">
45
45
  {% for item in fields.scrolling_banner_texts %}
46
- {% if separatorAsImage %}
46
+ {% if item.single_separator_image != null %}
47
+ {% set singleSeparatorImage = get_image(item.single_separator_image) %}
48
+ <img class="{{blockClassName}}__separator {{blockClassName}}__separator--image" src="{{gt_image_mainsrc(singleSeparatorImage)}}">
49
+ {% elseif separatorAsImage != null %}
47
50
  <img class="{{blockClassName}}__separator {{blockClassName}}__separator--image" src="{{gt_image_mainsrc(separatorImage)}}">
48
51
  {% else %}
49
52
  <span class="{{blockClassName}}__separator"></span>
@@ -57,4 +60,3 @@
57
60
  </div>
58
61
  {% endif %}
59
62
  </section>
60
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@total_onion/onion-library",
3
- "version": "2.0.195",
3
+ "version": "2.0.196",
4
4
  "description": "Component library",
5
5
  "main": "index.js",
6
6
  "scripts": {