flowbite-svelte 0.26.22 → 0.26.24

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,21 @@
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.26.24](https://github.com/themesberg/flowbite-svelte/compare/v0.26.23...v0.26.24) (2022-09-19)
6
+
7
+
8
+ ### Features
9
+
10
+ * mdsvexamples ([fc542a0](https://github.com/themesberg/flowbite-svelte/commit/fc542a0b6d09067fa62ae92ed44cb08408c19ad0))
11
+ * wrapper added ([024b8e6](https://github.com/themesberg/flowbite-svelte/commit/024b8e6a8db1e4961b1d26df67728cc0fb8b3025))
12
+
13
+ ### [0.26.23](https://github.com/themesberg/flowbite-svelte/compare/v0.26.22...v0.26.23) (2022-09-18)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * **DropdownItem:** remove redundant part after else ([4182d5c](https://github.com/themesberg/flowbite-svelte/commit/4182d5c970b3a683b47e228f4881585f4ca77d3b))
19
+
5
20
  ### [0.26.22](https://github.com/themesberg/flowbite-svelte/compare/v0.26.21...v0.26.22) (2022-09-17)
6
21
 
7
22
 
@@ -8,26 +8,20 @@ const colors = {
8
8
  };
9
9
  </script>
10
10
 
11
- {#if href}
12
- <li>
13
- <svelte:element
14
- this={href ? 'a' : 'div'}
15
- {href}
16
- {...$$restProps}
17
- class={classNames(liClass, colors[color] ?? colors.default, $$props.class)}
18
- on:click
19
- on:change
20
- on:keydown
21
- on:keyup
22
- on:focus
23
- on:blur
24
- on:mouseenter
25
- on:mouseleave>
26
- <slot />
27
- </svelte:element>
28
- </li>
29
- {:else}
30
- <li class={classNames(liClass, colors[color] ?? colors.default, $$props.class)}>
11
+ <li>
12
+ <svelte:element
13
+ this={href ? 'a' : 'div'}
14
+ {href}
15
+ {...$$restProps}
16
+ class={classNames(liClass, colors[color] ?? colors.default, $$props.class)}
17
+ on:click
18
+ on:change
19
+ on:keydown
20
+ on:keyup
21
+ on:focus
22
+ on:blur
23
+ on:mouseenter
24
+ on:mouseleave>
31
25
  <slot />
32
- </li>
33
- {/if}
26
+ </svelte:element>
27
+ </li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.26.22",
3
+ "version": "0.26.24",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -24,6 +24,7 @@
24
24
  "eslint-config-prettier": "^8.3.0",
25
25
  "eslint-plugin-svelte3": "^4.0.0",
26
26
  "mdsvex": "^0.10.6",
27
+ "mdsvexamples": "^0.3.2",
27
28
  "postcss": "^8.4.14",
28
29
  "postcss-load-config": "^4.0.1",
29
30
  "prettier": "^2.6.2",