@studiometa/ui 0.2.49 → 0.2.51

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.
@@ -40,7 +40,7 @@
40
40
  {% set icon_attributes = merge_html_attributes(icon_attr ?? null, { attr: { class: 'inline-block mb-2 s:mb-8' }, name: item.icon }) %}
41
41
  <div {{ html_attributes(item_attributes) }}>
42
42
  {% block icon %}
43
- {% if icon %}
43
+ {% if item.icon %}
44
44
  {% include '@ui/atoms/Icon/IconInlineImg.twig' with icon_attributes only %}
45
45
  {% endif %}
46
46
  {% endblock %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studiometa/ui",
3
- "version": "0.2.49",
3
+ "version": "0.2.51",
4
4
  "description": "A set of opiniated, unstyled and accessible components",
5
5
  "publishConfig": {
6
6
  "access": "public"