flowbite-svelte 0.15.0 → 0.15.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,8 @@
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.1](https://github.com/themesberg/flowbite-svelte/compare/v0.15.0...v0.15.1) (2022-04-26)
6
+
5
7
  ## [0.15.0](https://github.com/themesberg/flowbite-svelte/compare/v0.14.17...v0.15.0) (2022-04-25)
6
8
 
7
9
 
@@ -1,6 +1,6 @@
1
1
  <script>import { getContext } from 'svelte';
2
2
  import collapse from 'svelte-collapse';
3
- import { ChevronDownIconSolid, ChevronUpIconSolid } from '@codewithshin/svelte-heroicons';
3
+ import { ChevronDownSolid, ChevronUpSolid } from 'svelte-heros';
4
4
  export let id = '';
5
5
  export let btnClass = 'flex items-center focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-800 justify-between p-5 w-full font-medium border border-gray-200 dark:border-gray-700 text-left text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800';
6
6
  export let slotClass = 'p-5 border border-t-0 border-gray-200 dark:border-gray-700';
@@ -24,9 +24,9 @@ const handleToggle = () => {
24
24
  <button on:click={handleToggle} type="button" class:rounded-t-xl={id === '1'} class:border-t-0={id !== '1'} class={btnClass}>
25
25
  <span><slot name="header" /></span>
26
26
  {#if params.open}
27
- <ChevronUpIconSolid />
27
+ <ChevronUpSolid />
28
28
  {:else}
29
- <ChevronDownIconSolid />
29
+ <ChevronDownSolid />
30
30
  {/if}
31
31
  </button>
32
32
  </h2>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "./package/index.js",
6
6
  "author": {
@@ -78,9 +78,9 @@
78
78
  "url": "https://github.com/themesberg/flowbite-svelte"
79
79
  },
80
80
  "dependencies": {
81
- "@codewithshin/svelte-heroicons": "^1.2.0",
82
81
  "flowbite": "^1.4.2",
83
- "svelte-collapse": "^0.0.4"
82
+ "svelte-collapse": "^0.0.4",
83
+ "svelte-heros": "^2.0.0"
84
84
  },
85
85
  "exports": {
86
86
  "./package.json": "./package.json",
@@ -1,4 +1,4 @@
1
- <script>import { StarIconSolid } from '@codewithshin/svelte-heroicons';
1
+ <script>import { StarSolid } from 'svelte-heros';
2
2
  export let divClass = 'flex items-center';
3
3
  export let total = 5;
4
4
  export let rating = 4;
@@ -11,12 +11,12 @@ let grayStars = total - roundedRating;
11
11
  <div class={divClass}>
12
12
  {#each Array(roundedRating) as _, star}
13
13
  <slot name="ratingUp">
14
- <StarIconSolid class="text-yellow-300 dark:text-yellow-200" />
14
+ <StarSolid class="text-yellow-300 dark:text-yellow-200" />
15
15
  </slot>
16
16
  {/each}
17
17
  {#each Array(grayStars) as _, star}
18
18
  <slot name="ratingDown">
19
- <StarIconSolid class="text-gray-300 dark:text-gray-500" />
19
+ <StarSolid class="text-gray-300 dark:text-gray-500" />
20
20
  </slot>
21
21
  {/each}
22
22
  {#if $$slots.text}