@cloudparker/moldex.js 0.0.96 → 0.0.97

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.
@@ -1,5 +1,4 @@
1
- <script lang="ts">import ColorField from "../../../input/components/color-field/color-field.svelte";
2
- let {
1
+ <script lang="ts">let {
3
2
  path,
4
3
  className = "",
5
4
  size = 24,
@@ -65,6 +65,7 @@ let {
65
65
  uncheckboxIconClassName = "",
66
66
  checkboxClassName = "",
67
67
  itemTileSnippet,
68
+ onChange,
68
69
  ...props
69
70
  } = $props();
70
71
  let searchFieldRef = $state(null);
@@ -246,6 +247,7 @@ function handleItemClick(ev, item, index) {
246
247
  if (!multiple) {
247
248
  closeDropdown();
248
249
  }
250
+ onChange && onChange(value);
249
251
  }
250
252
  </script>
251
253
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudparker/moldex.js",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "author": "cloudparker.com",
5
5
  "license": "MIT",
6
6
  "keywords": [