flowbite-svelte 0.16.3 → 0.16.6

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,17 @@
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.16.6](https://github.com/themesberg/flowbite-svelte/compare/v0.16.5...v0.16.6) (2022-06-02)
6
+
7
+
8
+ ### Features
9
+
10
+ * add 66464props.class and 66464restProps to all Badge components ([e466faf](https://github.com/themesberg/flowbite-svelte/commit/e466faf85b3cdba5f125866ee71b1308ce223d4b))
11
+
12
+ ### [0.16.5](https://github.com/themesberg/flowbite-svelte/compare/v0.16.4...v0.16.5) (2022-06-02)
13
+
14
+ ### [0.16.4](https://github.com/themesberg/flowbite-svelte/compare/v0.16.3...v0.16.4) (2022-06-01)
15
+
5
16
  ### [0.16.3](https://github.com/themesberg/flowbite-svelte/compare/v0.16.2...v0.16.3) (2022-06-01)
6
17
 
7
18
 
@@ -28,4 +28,4 @@ else {
28
28
  }
29
29
  </script>
30
30
 
31
- <span class={badgeClass}>{name}</span>
31
+ <span class="{badgeClass} {$$props.class || ''}" {...$$restProps}>{name}</span>
@@ -2,6 +2,7 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import type { Colors, Textsize } from '../types';
3
3
  declare const __propDef: {
4
4
  props: {
5
+ [x: string]: any;
5
6
  textSize?: Textsize;
6
7
  name?: string;
7
8
  color?: Colors;
@@ -28,7 +28,7 @@ else {
28
28
  }
29
29
  </script>
30
30
 
31
- <span class={badgeClass}>
31
+ <span class="{badgeClass} {$$props.class || ''}" {...$$restProps}>
32
32
  <slot />
33
33
  {name}
34
34
  </span>
@@ -2,6 +2,7 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import type { Colors, Textsize } from '../types';
3
3
  declare const __propDef: {
4
4
  props: {
5
+ [x: string]: any;
5
6
  textSize?: Textsize;
6
7
  name?: string;
7
8
  color?: Colors;
@@ -29,4 +29,4 @@ else {
29
29
  }
30
30
  </script>
31
31
 
32
- <a {href} class={badgeClass}>{name}</a>
32
+ <a {href} class="{badgeClass} {$$props.class || ''}" {...$$restProps}>{name}</a>
@@ -2,6 +2,7 @@ import { SvelteComponentTyped } from "svelte";
2
2
  import type { Colors, Textsize } from '../types';
3
3
  declare const __propDef: {
4
4
  props: {
5
+ [x: string]: any;
5
6
  textSize?: Textsize;
6
7
  name?: string;
7
8
  color?: Colors;
@@ -3,7 +3,7 @@ export let href = '/';
3
3
  export let btnColor = 'blue';
4
4
  export let rel = '';
5
5
  export let title = 'Apple Watch Series 7 GPS, Aluminium Case, Starlight Sport';
6
- export let stars;
6
+ export let stars = 0;
7
7
  export let price = '';
8
8
  export let btnText = '';
9
9
  export let headerClass = 'text-xl font-semibold tracking-tight text-gray-900 dark:text-white';
@@ -7,7 +7,7 @@ declare const __propDef: {
7
7
  btnColor?: Colors;
8
8
  rel?: string;
9
9
  title?: string;
10
- stars: number;
10
+ stars?: number;
11
11
  price?: string;
12
12
  btnText?: string;
13
13
  headerClass?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.16.3",
3
+ "version": "0.16.6",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {