flowbite-svelte 0.21.3 → 0.21.4
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.
- package/CHANGELOG.md +7 -0
- package/alerts/Alert.svelte +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.21.4](https://github.com/themesberg/flowbite-svelte/compare/v0.21.3...v0.21.4) (2022-07-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* alerts dismissable button color ([779e863](https://github.com/themesberg/flowbite-svelte/commit/779e863a6b321ea84ae65484b05ed6cd7d73ccd9))
|
|
11
|
+
|
|
5
12
|
### [0.21.3](https://github.com/themesberg/flowbite-svelte/compare/v0.21.2...v0.21.3) (2022-07-14)
|
|
6
13
|
|
|
7
14
|
### [0.21.2](https://github.com/themesberg/flowbite-svelte/compare/v0.21.1...v0.21.2) (2022-07-13)
|
package/alerts/Alert.svelte
CHANGED
|
@@ -54,12 +54,12 @@ $: textColor = textColors[color] ?? textColors.blue;
|
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
56
|
<div id={$$props.id} class:hidden class={divClass} role="alert">
|
|
57
|
-
<div class="flex items-center">
|
|
57
|
+
<div class="flex items-center {textColor}">
|
|
58
58
|
{#if icon}
|
|
59
|
-
<svelte:component this={icon} class="flex-shrink-0 w-5 h-5
|
|
59
|
+
<svelte:component this={icon} class="flex-shrink-0 w-5 h-5 mr-3" />
|
|
60
60
|
{/if}
|
|
61
61
|
|
|
62
|
-
<div class="text-sm
|
|
62
|
+
<div class="text-sm">
|
|
63
63
|
<slot />
|
|
64
64
|
</div>
|
|
65
65
|
|