flowbite-svelte 0.21.16 → 0.21.17
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 +8 -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,14 @@
|
|
|
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.17](https://github.com/themesberg/flowbite-svelte/compare/v0.21.16...v0.21.17) (2022-07-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Checkbox on:click position ([cfb1c65](https://github.com/themesberg/flowbite-svelte/commit/cfb1c658ae971bb689cd4e01f797ccc5c11db991))
|
|
11
|
+
* on:click for Toggle, Checkbox and Radio ([48710b5](https://github.com/themesberg/flowbite-svelte/commit/48710b59c9a9096ec95dfa26d1764a312552b49e))
|
|
12
|
+
|
|
5
13
|
### [0.21.16](https://github.com/themesberg/flowbite-svelte/compare/v0.21.14...v0.21.16) (2022-07-20)
|
|
6
14
|
|
|
7
15
|
|
package/forms/Checkbox.svelte
CHANGED
package/forms/Radio.svelte
CHANGED
|
@@ -44,7 +44,7 @@ const colorClasses = {
|
|
|
44
44
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
|
45
45
|
<label class={labelClass}>
|
|
46
46
|
<slot name="input">
|
|
47
|
-
<input type="radio" bind:group {value} {...$$restProps} class={inputClass} />
|
|
47
|
+
<input on:click type="radio" bind:group {value} {...$$restProps} class={inputClass} />
|
|
48
48
|
</slot>
|
|
49
49
|
<slot />
|
|
50
50
|
</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