flowbite-svelte 0.15.27 → 0.15.28
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
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.15.28](https://github.com/themesberg/flowbite-svelte/compare/v0.15.27...v0.15.28) (2022-05-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add slot to EcommerceCard ([d777c87](https://github.com/themesberg/flowbite-svelte/commit/d777c87d3097998e840a9e2ed79cafc036c74713))
|
|
11
|
+
|
|
5
12
|
### [0.15.27](https://github.com/themesberg/flowbite-svelte/compare/v0.15.26...v0.15.27) (2022-05-13)
|
|
6
13
|
|
|
7
14
|
### [0.15.26](https://github.com/themesberg/flowbite-svelte/compare/v0.15.25...v0.15.26) (2022-05-13)
|
|
@@ -60,10 +60,10 @@ else {
|
|
|
60
60
|
{#each { length: stars } as _, i}
|
|
61
61
|
<svg class="w-5 h-5 text-yellow-300" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" /></svg>
|
|
62
62
|
{/each}
|
|
63
|
-
|
|
64
63
|
<span class={spanClass}>{stars}</span>
|
|
65
64
|
{/if}
|
|
66
65
|
</div>
|
|
66
|
+
<slot />
|
|
67
67
|
<div class="flex justify-between items-center">
|
|
68
68
|
{#if price}
|
|
69
69
|
<span class={priceClass}>{price}</span>
|
|
@@ -17,7 +17,9 @@ declare const __propDef: {
|
|
|
17
17
|
events: {
|
|
18
18
|
[evt: string]: CustomEvent<any>;
|
|
19
19
|
};
|
|
20
|
-
slots: {
|
|
20
|
+
slots: {
|
|
21
|
+
default: {};
|
|
22
|
+
};
|
|
21
23
|
};
|
|
22
24
|
export declare type EcommerceCardProps = typeof __propDef.props;
|
|
23
25
|
export declare type EcommerceCardEvents = typeof __propDef.events;
|