y200subcontrols 0.0.341 → 0.0.342

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.
@@ -6,7 +6,7 @@ export let theme = "teal";
6
6
  </script>
7
7
 
8
8
  <label class="flex cursor-pointer">
9
- <input type="checkbox" bind:checked class="hidden peer" {id} {name} />
9
+ <input type="checkbox" bind:checked class="hidden peer" {id} {name} on:change />
10
10
  <div
11
11
  class=" rounded-full h-5 w-10 flex my-auto bg-slate-300
12
12
  {theme==='teal' ? 'peer-checked:bg-teal-600' : ''}
@@ -9,6 +9,8 @@ declare const __propDef: {
9
9
  theme?: ColorThemes;
10
10
  };
11
11
  events: {
12
+ change: Event;
13
+ } & {
12
14
  [evt: string]: CustomEvent<any>;
13
15
  };
14
16
  slots: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "y200subcontrols",
3
- "version": "0.0.341",
3
+ "version": "0.0.342",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",