6881d31650
When displayValue:true, the input shows the selected option's value (e.g. a
state code "TX") while the dropdown stays label-searchable ("Texas") — for a
field searched by name but displayed compactly. Backward-compatible
(default false). 20/20 tests pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
37 lines
838 B
JSON
37 lines
838 B
JSON
{
|
|
"name": "@switchev/web-shared",
|
|
"version": "0.5.0",
|
|
"description": "Shared browser helpers (formatters, markdown, image polling, combobox) for the SwitchEV frontends",
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./format": "./src/format.js",
|
|
"./markdown": "./src/markdown.js",
|
|
"./wait-image": "./src/wait-image.js",
|
|
"./combobox": "./src/combobox.js"
|
|
},
|
|
"files": [
|
|
"src"
|
|
],
|
|
"sideEffects": [
|
|
"./src/markdown.js"
|
|
],
|
|
"dependencies": {
|
|
"fuzzysort": "^3.1.0"
|
|
},
|
|
"peerDependencies": {
|
|
"dompurify": ">=3",
|
|
"marked": ">=12"
|
|
},
|
|
"scripts": {
|
|
"test": "node --test"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://git.debyl.io/api/packages/SwitchEV/npm/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.debyl.io/SwitchEV/shared.git"
|
|
}
|
|
}
|