@coyalabs/bts-style 1.1.16 → 1.1.18

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,9 +74,11 @@
74
74
  <BaseIcon variant={iconToned ? "toned" : "default"} svg={icon} size={iconSize} />
75
75
  </div>
76
76
  {/if}
77
- <BaseText variant="button">
78
- <slot />
79
- </BaseText>
77
+ {#if $$slots.default}
78
+ <BaseText variant="button">
79
+ <slot />
80
+ </BaseText>
81
+ {/if}
80
82
  </div>
81
83
  {#if actionIcon}
82
84
  <div class="icon-wrapper" style="transform: rotate({actionIconRotation}deg)">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coyalabs/bts-style",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "BTS Theme Svelte component templates",
5
5
  "type": "module",
6
6
  "exports": {