poe-svelte-ui-lib 1.0.9 → 1.0.10

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.
@@ -74,14 +74,17 @@
74
74
  }}
75
75
  >
76
76
  <span class="flex flex-row items-center justify-center gap-2">
77
- <span
78
- class={`flex h-8 w-8 shrink-0 items-center justify-center overflow-visible [&_svg]:h-full [&_svg]:max-h-full [&_svg]:w-full [&_svg]:max-w-full`}
79
- >
80
- {#if content?.icon}
81
- {@const IconComponent = content?.icon}
82
- <IconComponent />
83
- {/if}
84
- </span>
77
+ {#if content?.icon}
78
+ <span
79
+ class={`flex h-8 w-8 shrink-0 items-center justify-center overflow-visible [&_svg]:h-full [&_svg]:max-h-full [&_svg]:w-full [&_svg]:max-w-full`}
80
+ >
81
+ {#if content?.icon}
82
+ {@const IconComponent = content?.icon}
83
+ <IconComponent />
84
+ {/if}
85
+ </span>
86
+ {/if}
87
+
85
88
  {#if content.name}
86
89
  <div class="flex-1">
87
90
  {content.name}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-svelte-ui-lib",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {