flowbite-svelte 0.28.1 → 0.28.3

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,22 @@
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.28.3](https://github.com/themesberg/flowbite-svelte/compare/v0.28.2...v0.28.3) (2022-11-28)
6
+
7
+
8
+ ### Features
9
+
10
+ * make tr and td clickable ([#452](https://github.com/themesberg/flowbite-svelte/issues/452)) ([3bc7f9e](https://github.com/themesberg/flowbite-svelte/commit/3bc7f9e227e3bfe70b0c184eae132abafd071760))
11
+
12
+ ### [0.28.2](https://github.com/themesberg/flowbite-svelte/compare/v0.28.1...v0.28.2) (2022-11-28)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * add rel external to sidebar menu datepicker ([d9693e8](https://github.com/themesberg/flowbite-svelte/commit/d9693e88528e27b408f4380f40e4a18c79aa169c))
18
+ * double scrollbar in docs ([#447](https://github.com/themesberg/flowbite-svelte/issues/447)) ([75efab3](https://github.com/themesberg/flowbite-svelte/commit/75efab37b6057469a35ec592c659438c3cf8047c))
19
+ * show the top of page after navigation ([b3be37b](https://github.com/themesberg/flowbite-svelte/commit/b3be37b761a8a656413e1b34da73c6a251ab4010))
20
+
5
21
  ### [0.28.1](https://github.com/themesberg/flowbite-svelte/compare/v0.28.0...v0.28.1) (2022-11-23)
6
22
 
7
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowbite-svelte",
3
- "version": "0.28.1",
3
+ "version": "0.28.3",
4
4
  "description": "Flowbite components for Svelte",
5
5
  "main": "index.js",
6
6
  "author": {
@@ -9,6 +9,6 @@ $: tdClassfinal = classNames(tdClass, color === 'default'
9
9
  : 'text-blue-50 whitespace-nowrap dark:text-blue-100', $$props.class);
10
10
  </script>
11
11
 
12
- <td {...$$restProps} class={tdClassfinal}>
13
- <slot />
12
+ <td {...$$restProps} class={tdClassfinal} on:click>
13
+ <slot />
14
14
  </td>
@@ -5,6 +5,8 @@ declare const __propDef: {
5
5
  tdClass?: string | undefined;
6
6
  };
7
7
  events: {
8
+ click: MouseEvent;
9
+ } & {
8
10
  [evt: string]: CustomEvent<any>;
9
11
  };
10
12
  slots: {
@@ -34,6 +34,6 @@ let trClassfinal;
34
34
  $: trClassfinal = classNames(getContext('noborder') ? 'bg-white dark:bg-gray-800' : trClass, colors[color], getContext('hoverable') && hoverColors[color], getContext('striped') && stripColors[color], $$props.class);
35
35
  </script>
36
36
 
37
- <tr {...$$restProps} class={trClassfinal}>
38
- <slot />
37
+ <tr {...$$restProps} class={trClassfinal} on:click>
38
+ <slot />
39
39
  </tr>
@@ -5,6 +5,8 @@ declare const __propDef: {
5
5
  trClass?: string | undefined;
6
6
  };
7
7
  events: {
8
+ click: MouseEvent;
9
+ } & {
8
10
  [evt: string]: CustomEvent<any>;
9
11
  };
10
12
  slots: {
@@ -31,7 +31,7 @@ $: theadClassfinal = classNames(theadClass, textColor, striped && borderColors,
31
31
  </script>
32
32
 
33
33
  <thead {...$$restProps} class={theadClassfinal}>
34
- <tr>
35
- <slot />
36
- </tr>
34
+ <tr>
35
+ <slot />
36
+ </tr>
37
37
  </thead>