@keenmate/web-multiselect 2.0.0-rc05 → 2.0.0-rc07
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/README.md +10 -28
- package/custom-elements.json +161 -9
- package/dist/index.d.ts +83 -3
- package/dist/multiselect.js +966 -841
- package/dist/multiselect.umd.js +13 -13
- package/dist/style.css +1 -1
- package/docs/examples.md +22 -1
- package/docs/usage.md +2 -1
- package/package.json +2 -2
- package/src/css/floating.css +61 -1
- package/src/css/options.css +21 -3
- package/src/css/variables.css +32 -3
- package/vscode.html-custom-data.json +6 -1
- package/web-types.json +15 -5
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@keenmate/web-multiselect",
|
|
4
|
-
"version": "2.0.0-
|
|
4
|
+
"version": "2.0.0-rc07",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"name": "search-placeholder",
|
|
21
|
-
"description": "Placeholder text for the search input.",
|
|
22
|
-
"value": { "type": "string
|
|
21
|
+
"description": "Placeholder text for the search input. When unset it defaults to \"Search...\"; if `show-search-mode-toggle` is on, the default instead becomes mode-aware (\"Search…\" in navigate, \"Filter…\" in filter). An explicit value always wins and stays fixed.",
|
|
22
|
+
"value": { "type": "string | null" }
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"name": "select-placeholder",
|
|
@@ -402,6 +402,11 @@
|
|
|
402
402
|
"description": "Make option tooltips follow the pointer.",
|
|
403
403
|
"value": { "type": "boolean" }
|
|
404
404
|
},
|
|
405
|
+
{
|
|
406
|
+
"name": "show-search-mode-toggle",
|
|
407
|
+
"description": "Show a clickable toggle in the phone fullscreen overlay search header that flips `search-mode` between `filter` and `navigate` live. Fullscreen-only; no effect in the floating presentation or when search is disabled.",
|
|
408
|
+
"value": { "type": "boolean" }
|
|
409
|
+
},
|
|
405
410
|
{
|
|
406
411
|
"name": "initial-values",
|
|
407
412
|
"description": "Values selected on first render. Accepts a JSON array (`[\"a\",\"b\"]`) or a bare CSV (`a,b,c`).",
|
|
@@ -481,8 +486,8 @@
|
|
|
481
486
|
},
|
|
482
487
|
{
|
|
483
488
|
"name": "searchPlaceholder",
|
|
484
|
-
"description": "Placeholder text for the search input.",
|
|
485
|
-
"type": "string"
|
|
489
|
+
"description": "Placeholder text for the search input. When unset it defaults to \"Search...\"; if `show-search-mode-toggle` is on, the default instead becomes mode-aware (\"Search…\" in navigate, \"Filter…\" in filter). An explicit value always wins and stays fixed.",
|
|
490
|
+
"type": "string | null"
|
|
486
491
|
},
|
|
487
492
|
{
|
|
488
493
|
"name": "selectPlaceholder",
|
|
@@ -834,6 +839,11 @@
|
|
|
834
839
|
"description": "Make option tooltips follow the pointer.",
|
|
835
840
|
"type": "boolean"
|
|
836
841
|
},
|
|
842
|
+
{
|
|
843
|
+
"name": "isSearchModeToggleShown",
|
|
844
|
+
"description": "Show a clickable toggle in the phone fullscreen overlay search header that flips `search-mode` between `filter` and `navigate` live. Fullscreen-only; no effect in the floating presentation or when search is disabled.",
|
|
845
|
+
"type": "boolean"
|
|
846
|
+
},
|
|
837
847
|
{
|
|
838
848
|
"name": "initialValues",
|
|
839
849
|
"description": "Values selected on first render. Accepts a JSON array (`[\"a\",\"b\"]`) or a bare CSV (`a,b,c`).",
|