flowbite-svelte 0.21.14 → 0.21.15
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 +7 -0
- package/forms/Checkbox.svelte +1 -0
- package/forms/Checkbox.svelte.d.ts +2 -0
- package/forms/Radio.svelte +1 -1
- package/forms/Radio.svelte.d.ts +2 -0
- package/forms/Toggle.svelte +1 -1
- package/forms/Toggle.svelte.d.ts +2 -0
- package/package.json +1 -1
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.21.15](https://github.com/themesberg/flowbite-svelte/compare/v0.21.14...v0.21.15) (2022-07-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* add on:click to Toggle, Radio, and Checkbox component ([82cb3f0](https://github.com/themesberg/flowbite-svelte/commit/82cb3f032e85ba91015a545ee1ff325c08962855))
|
|
11
|
+
|
|
5
12
|
### [0.21.14](https://github.com/themesberg/flowbite-svelte/compare/v0.21.13...v0.21.14) (2022-07-19)
|
|
6
13
|
|
|
7
14
|
|
package/forms/Checkbox.svelte
CHANGED
package/forms/Radio.svelte
CHANGED
|
@@ -43,7 +43,7 @@ const colorClasses = {
|
|
|
43
43
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
|
44
44
|
<label class={labelClass}>
|
|
45
45
|
<slot name="input">
|
|
46
|
-
<input type="radio" bind:group {value} {...$$restProps} class={inputClass} />
|
|
46
|
+
<input type="radio" bind:group {value} {...$$restProps} class={inputClass} on:click />
|
|
47
47
|
</slot>
|
|
48
48
|
<slot />
|
|
49
49
|
</label>
|
package/forms/Radio.svelte.d.ts
CHANGED
package/forms/Toggle.svelte
CHANGED
|
@@ -18,7 +18,7 @@ const sizes = {
|
|
|
18
18
|
};
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
|
-
<Checkbox custom class="relative {$$restProps.class}" {...$$restProps}>
|
|
21
|
+
<Checkbox on:click custom class="relative {$$restProps.class}" {...$$restProps}>
|
|
22
22
|
<div class={classNames(common, colors[$$restProps.color ?? 'blue'], sizes[size])} />
|
|
23
23
|
<slot />
|
|
24
24
|
</Checkbox>
|
package/forms/Toggle.svelte.d.ts
CHANGED