noph-ui 0.12.19 → 0.13.0

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.
@@ -14,7 +14,7 @@
14
14
  icon,
15
15
  element = $bindable(),
16
16
  ariaLabelRemove = 'Remove',
17
- remove,
17
+ onremove,
18
18
  name,
19
19
  value,
20
20
  group = $bindable(),
@@ -85,6 +85,7 @@
85
85
  {#if removable}
86
86
  <IconButton
87
87
  {disabled}
88
+ type="button"
88
89
  --np-icon-button-container-height="1.75rem"
89
90
  --np-icon-button-container-width="1.75rem"
90
91
  --np-icon-button-icon-size="1.125rem"
@@ -93,7 +94,7 @@
93
94
  if (element === undefined) {
94
95
  return
95
96
  }
96
- remove?.(element)
97
+ onremove?.(element)
97
98
  }}
98
99
  >
99
100
  <CloseIcon />
@@ -13,5 +13,5 @@ export interface FilterChipProps extends HTMLAttributes<HTMLDivElement> {
13
13
  value?: string;
14
14
  group?: (string | number)[] | null;
15
15
  defaultSelected?: boolean | null;
16
- remove?: (chip: HTMLDivElement) => void;
16
+ onremove?: (chip: HTMLDivElement) => void;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.12.19",
3
+ "version": "0.13.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {