@nordhealth/components 4.6.0-alpha.0 → 4.7.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/README.md +4 -0
- package/custom-elements.json +9442 -9395
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/bundle.js +8 -8
- package/lib/bundle.js.map +1 -1
- package/lib/react.d.ts +5 -0
- package/lib/src/command-menu/CommandMenu.d.ts +14 -1
- package/lib/src/command-menu/ICommandMenuAction.d.ts +1 -1
- package/lib/vue.d.ts +5 -0
- package/package.json +4 -3
package/lib/react.d.ts
CHANGED
|
@@ -40,13 +40,26 @@ export default class CommandMenu extends LitElement {
|
|
|
40
40
|
* Show or hide the command menu.
|
|
41
41
|
*/
|
|
42
42
|
open: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Use external filtering mode. When set to true, the component will not perform
|
|
45
|
+
* internal text-based filtering and expects external filtering logic to be implemented.
|
|
46
|
+
*/
|
|
47
|
+
externalFiltering: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* When enabled, typing in the search input will automatically exit nested views
|
|
50
|
+
* to allow global search across all commands.
|
|
51
|
+
*/
|
|
52
|
+
exitNestedOnSearch: boolean;
|
|
43
53
|
/**
|
|
44
54
|
* Array of commands to be included in the menu.
|
|
45
55
|
* Please see “Commands data” section for more documentation.
|
|
46
56
|
*/
|
|
47
57
|
commands: Array<ICommandMenuAction>;
|
|
58
|
+
/**
|
|
59
|
+
* Current search query in the command menu input.
|
|
60
|
+
*/
|
|
61
|
+
searchQuery: string;
|
|
48
62
|
private parent;
|
|
49
|
-
private search;
|
|
50
63
|
private bump;
|
|
51
64
|
private selectedIndex;
|
|
52
65
|
private filteredCommands;
|
package/lib/vue.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordhealth/components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.7.0",
|
|
4
4
|
"description": "This package includes Nord Design System Web Components",
|
|
5
5
|
"author": "Nordhealth <support@nordhealth.design>",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -91,7 +91,8 @@
|
|
|
91
91
|
"demo/index.html",
|
|
92
92
|
"demo/**/*.js",
|
|
93
93
|
"utils/**/*.js",
|
|
94
|
-
"test-utils/**/*.js"
|
|
94
|
+
"test-utils/**/*.js",
|
|
95
|
+
"**/usage/*.html"
|
|
95
96
|
],
|
|
96
97
|
"parser": "@typescript-eslint/parser",
|
|
97
98
|
"parserOptions": {
|
|
@@ -178,5 +179,5 @@
|
|
|
178
179
|
}
|
|
179
180
|
]
|
|
180
181
|
},
|
|
181
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "9ded0738f437907ddaa5f68066225db9d4211e9b"
|
|
182
183
|
}
|