@likable-hair/svelte 3.1.19 → 3.1.20

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.
@@ -150,7 +150,7 @@ $:
150
150
  $:
151
151
  if (!!input) {
152
152
  if (!disabled && values.length != 0) {
153
- input.style.width = Math.max(searchText?.length || 0, 1) + "ch";
153
+ input.style.width = Math.max(searchText?.length || placeholder?.length, 1) + "ch";
154
154
  } else {
155
155
  input.style.width = "auto";
156
156
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@likable-hair/svelte",
3
3
  "description": "A Svelte component for likablehair and others",
4
- "version": "3.1.19",
4
+ "version": "3.1.20",
5
5
  "scripts": {
6
6
  "host": "vite --host",
7
7
  "dev": "vite dev",