flowbite-svelte 0.17.4 → 0.17.5

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,8 +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.5](https://github.com/themesberg/flowbite-svelte/compare/v0.17.4...v0.17.5) (2022-06-16)
6
+
5
7
  ### [0.17.4](https://github.com/themesberg/flowbite-svelte/compare/v0.17.3...v0.17.4) (2022-06-14)
6
8
 
9
+ ### Breaking Change
10
+
11
+ * Tooltip component has different structures.
7
12
 
8
13
  ### Bug Fixes
9
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -2,21 +2,22 @@
2
2
  export let divClass = 'relative overflow-x-auto shadow-md sm:rounded-lg';
3
3
  export let tableClass = 'w-full text-sm text-left text-gray-500 dark:text-gray-400';
4
4
  export let theadClass = 'text-xs text-gray-700 uppercase bg-gray-50 dark:bg-gray-700 dark:text-gray-400';
5
+ export let thClass = 'px-6 py-3';
5
6
  </script>
6
7
 
7
8
  <div class={divClass}>
8
- <table class={tableClass}>
9
- <thead class={theadClass}>
10
- <tr>
11
- {#each header as column}
12
- <th scope="col" class="px-6 py-3">
13
- {column}
14
- </th>
15
- {/each}
16
- </tr>
17
- </thead>
18
- <tbody>
19
- <slot />
20
- </tbody>
21
- </table>
9
+ <table class={tableClass}>
10
+ <thead class={theadClass}>
11
+ <tr>
12
+ {#each header as column}
13
+ <th scope="col" class={thClass}>
14
+ {column}
15
+ </th>
16
+ {/each}
17
+ </tr>
18
+ </thead>
19
+ <tbody>
20
+ <slot />
21
+ </tbody>
22
+ </table>
22
23
  </div>
@@ -5,6 +5,7 @@ declare const __propDef: {
5
5
  divClass?: string;
6
6
  tableClass?: string;
7
7
  theadClass?: string;
8
+ thClass?: string;
8
9
  };
9
10
  events: {
10
11
  [evt: string]: CustomEvent<any>;