slim-select 4.0.7 → 4.1.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "slim-select",
3
3
  "description": "Slim advanced select dropdown",
4
- "version": "4.0.7",
4
+ "version": "4.1.0",
5
5
  "type": "module",
6
6
  "author": "Brian Voelker <brian@webiswhatido.com> (http://webiswhatido.com)",
7
7
  "homepage": "https://slimselectjs.com",
@@ -76,33 +76,33 @@
76
76
  "release": "node release.js"
77
77
  },
78
78
  "devDependencies": {
79
- "@playwright/test": "^1.61.1",
79
+ "@playwright/test": "^1.62.1",
80
80
  "@testing-library/react": "^16.3.2",
81
81
  "@types/downloadjs": "^1.4.6",
82
- "@types/node": "^26.1.1",
83
- "@types/react": "^19.2.17",
84
- "@types/react-dom": "^19.2.3",
85
- "@vitejs/plugin-react": "^6.0.3",
86
- "@vitejs/plugin-vue": "^6.0.7",
87
- "@vitest/coverage-v8": "^4.1.10",
82
+ "@types/node": "^26.2.0",
83
+ "@types/react": "^19.2.18",
84
+ "@types/react-dom": "^19.2.4",
85
+ "@vitejs/plugin-react": "^6.0.5",
86
+ "@vitejs/plugin-vue": "^6.0.8",
87
+ "@vitest/coverage-v8": "^4.1.11",
88
88
  "@vue/test-utils": "^2.4.11",
89
- "axe-core": "^4.12.1",
89
+ "axe-core": "^4.13.0",
90
90
  "downloadjs": "^1.4.7",
91
- "highlight.js": "^11.0.0",
92
- "jsdom": "^29.1.1",
93
- "pinia": "^3.0.4",
94
- "prettier": "^3.9.5",
95
- "react": "^19.2.7",
96
- "react-dom": "^19.2.7",
91
+ "highlight.js": "^11.12.0",
92
+ "jsdom": "^30.0.1",
93
+ "pinia": "^4.0.3",
94
+ "prettier": "^3.9.6",
95
+ "react": "^19.2.8",
96
+ "react-dom": "^19.2.8",
97
97
  "rimraf": "^6.1.3",
98
- "sass": "^1.101.0",
98
+ "sass": "^1.102.0",
99
99
  "serve": "^14.2.6",
100
100
  "typescript": "^6.0.3",
101
- "vite": "^8.1.4",
101
+ "vite": "^8.2.1",
102
102
  "vite-plugin-dts": "^5.0.3",
103
- "vitest": "^4.1.10",
104
- "vue": "^3.5.39",
105
- "vue-router": "^5.1.0"
103
+ "vitest": "^4.1.11",
104
+ "vue": "^3.5.41",
105
+ "vue-router": "^5.2.0"
106
106
  },
107
107
  "peerDependencies": {
108
108
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
@@ -150,8 +150,7 @@
150
150
  width: 100%;
151
151
  max-width: 100%;
152
152
  margin: 0;
153
- padding: 0 var(--ss-spacing-m) 0
154
- calc(var(--ss-spacing-l) - var(--ss-spacing-s));
153
+ padding: 0 var(--ss-spacing-m) 0 calc(var(--ss-spacing-l) - var(--ss-spacing-s));
155
154
  line-height: 1.2;
156
155
  overflow: hidden;
157
156
  text-overflow: ellipsis;
@@ -201,6 +200,13 @@
201
200
  animation-timing-function: ease-out;
202
201
  }
203
202
 
203
+ // Keyboard highlight while search is focused (Left/Right on empty input)
204
+ &.ss-highlighted {
205
+ box-shadow: inset 0 0 0 2px var(--ss-bg-color);
206
+ outline: 2px solid var(--ss-font-color);
207
+ outline-offset: -2px;
208
+ }
209
+
204
210
  .ss-value-text {
205
211
  flex: 1; // Take up available space in flex container
206
212
  min-width: 0; // Allow text to shrink