@likable-hair/svelte 3.1.0 → 3.1.1

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.
@@ -163,7 +163,7 @@ import MenuOrDrawer from "../../composed/common/MenuOrDrawer.svelte";
163
163
  class="selection-container"
164
164
  >
165
165
  {#each (values || []).slice(0, maxVisibleChips) as selection}
166
- <slot name="selection" {selection}>
166
+ <slot name="selection" {selection} {unselect} >
167
167
  <div tabindex="-1">
168
168
  <Chip
169
169
  close={true}
@@ -345,7 +345,17 @@ import MenuOrDrawer from "../../composed/common/MenuOrDrawer.svelte";
345
345
  .selection-container:focus-within {
346
346
  border: var(
347
347
  --autocomplete-focus-border,
348
- var(--autocomplete-default-focus-border)
348
+ var(
349
+ --autocomplete-default-focus-border,
350
+ var(
351
+ --autocomplete-border,
352
+ var(--autocomplete-default-border)
353
+ )
354
+ )
355
+ );
356
+ box-shadow: var(
357
+ --autocomplete-focus-box-shadow,
358
+ var(--autocomplete-default-focus-box-shadow)
349
359
  );
350
360
  }
351
361
 
@@ -56,6 +56,7 @@ declare const __propDef: {
56
56
  };
57
57
  selection: {
58
58
  selection: Item;
59
+ unselect: (item: Item) => void;
59
60
  };
60
61
  'chip-label': {
61
62
  selection: Item;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",