noph-ui 0.11.0 → 0.11.2

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.
@@ -12,6 +12,7 @@
12
12
  disabled = false,
13
13
  label = '',
14
14
  icon,
15
+ ariaLabelRemove = 'Remove',
15
16
  ...attributes
16
17
  }: FilterChipProps = $props()
17
18
 
@@ -56,6 +57,7 @@
56
57
  --np-icon-button-container-height="1.75rem"
57
58
  --np-icon-button-container-width="1.75rem"
58
59
  --np-icon-button-icon-size="1.125rem"
60
+ aria-label={ariaLabelRemove}
59
61
  onclick={(event: Event) => {
60
62
  event.stopPropagation()
61
63
  }}
@@ -113,6 +115,7 @@
113
115
  inset: 0;
114
116
  border-radius: inherit;
115
117
  pointer-events: none;
118
+ background-color: var(--np-color-surface-container-low);
116
119
  }
117
120
  .np-filter-chip-default::before {
118
121
  border-width: 1px;
@@ -7,4 +7,5 @@ export interface FilterChipProps extends HTMLAttributes<HTMLDivElement> {
7
7
  elevated?: boolean;
8
8
  label?: string;
9
9
  icon?: Snippet;
10
+ ariaLabelRemove?: string;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.11.0",
3
+ "version": "0.11.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {