@x33025/sveltely 0.0.48 → 0.0.49
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.
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
onclick={handleClick}
|
|
61
61
|
>
|
|
62
62
|
{#if pending}
|
|
63
|
-
<Spinner class="size-4" />
|
|
63
|
+
<Spinner class="async-button-icon size-4" />
|
|
64
64
|
{:else if error}
|
|
65
|
-
<CircleAlertIcon class="size-4" />
|
|
65
|
+
<CircleAlertIcon class="async-button-icon size-4 text-red-600" />
|
|
66
66
|
{:else if icon}
|
|
67
67
|
{@const Icon = icon}
|
|
68
|
-
<Icon class="size-4" />
|
|
68
|
+
<Icon class="async-button-icon size-4" />
|
|
69
69
|
{/if}
|
|
70
70
|
{#if styleMode === 'iconAndLabel'}
|
|
71
|
-
<span>{label}</span>
|
|
71
|
+
<span class="async-button-text">{label}</span>
|
|
72
72
|
{/if}
|
|
73
73
|
</button>
|
|
74
74
|
</Tooltip>
|
package/dist/style/index.css
CHANGED
package/dist/style.css
CHANGED