flowbite-svelte 0.17.0 → 0.17.1

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.17.1](https://github.com/themesberg/flowbite-svelte/compare/v0.17.0...v0.17.1) (2022-06-07)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * add {39090props.class || ''} {...39090restProps} to Sidebar components ([7ea5815](https://github.com/themesberg/flowbite-svelte/commit/7ea5815d939dd6041a3a9e965127ea61736d5849))
11
+
5
12
  ## [0.17.0](https://github.com/themesberg/flowbite-svelte/compare/v0.16.14...v0.17.0) (2022-06-07)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.17.0",
3
+ "version": "0.17.1",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -4,7 +4,12 @@ export let spanClass = 'bg-orange-100 text-orange-800 text-sm font-semibold mr-2
4
4
  export let label = '';
5
5
  </script>
6
6
 
7
- <div id="dropdown-cta" class={divWrapperClass} role="alert">
7
+ <div
8
+ id="dropdown-cta"
9
+ class="{divWrapperClass} {$$props.class || ''}"
10
+ {...$$restProps}
11
+ role="alert"
12
+ >
8
13
  <div class={divClass}>
9
14
  <span class={spanClass}>{label}</span>
10
15
  {#if $$slots.icon}
@@ -1,6 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
+ [x: string]: any;
4
5
  divWrapperClass?: string;
5
6
  divClass?: string;
6
7
  spanClass?: string;
@@ -4,5 +4,5 @@ export let label = '';
4
4
  </script>
5
5
 
6
6
  <li>
7
- <a {href} class={aClass}>{label}</a>
7
+ <a {href} class="{aClass} {$$props.class || ''}" {...$$restProps}>{label}</a>
8
8
  </li>
@@ -1,6 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
+ [x: string]: any;
4
5
  aClass?: string;
5
6
  href?: string;
6
7
  label?: string;