@onsvisual/svelte-components 1.1.23 → 1.1.24

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.
@@ -29,10 +29,10 @@
29
29
  */
30
30
  export let disabled = false;
31
31
  /**
32
- * Optional: Define the item as an object in the form {id, label, description?}
32
+ * Optional: Define the item as an object in the form {id, label, description?, checked?}
33
33
  * @type {object}
34
34
  */
35
- export let item = { id, label, description, checked, disabled };
35
+ export let item = { id, label, description, checked };
36
36
  /**
37
37
  * Optional: Name of checkbox group
38
38
  * @type {string|null}
@@ -122,8 +122,8 @@
122
122
  value={item}
123
123
  bind:checked={item.checked}
124
124
  class="ons-checkbox__input ons-js-checkbox"
125
- disabled={item.disabled}
126
- aria-disabled={item.disabled}
125
+ {disabled}
126
+ aria-disabled={disabled}
127
127
  on:change={doChange}
128
128
  bind:this={el}
129
129
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onsvisual/svelte-components",
3
- "version": "1.1.23",
3
+ "version": "1.1.24",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "npm run build:package && npm run build:docs",