carbon-components-svelte 0.89.2 → 0.89.4
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
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
}}
|
|
77
77
|
on:keydown|stopPropagation={(e) => {
|
|
78
|
-
if (!disabled && e.key === "Enter") {
|
|
78
|
+
if (!disabled && (e.key === "Enter" || e.key === " ")) {
|
|
79
79
|
dispatch("clear", e);
|
|
80
80
|
}
|
|
81
81
|
}}
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
}}
|
|
105
105
|
on:keydown|stopPropagation={(e) => {
|
|
106
|
-
if (!disabled && e.key === "Enter") {
|
|
106
|
+
if (!disabled && (e.key === "Enter" || e.key === " ")) {
|
|
107
107
|
dispatch("clear", e);
|
|
108
108
|
}
|
|
109
109
|
}}
|
|
@@ -255,6 +255,7 @@ export default class MultiSelect extends SvelteComponentTyped<
|
|
|
255
255
|
clear: CustomEvent<null>;
|
|
256
256
|
blur: FocusEvent | CustomEvent<FocusEvent>;
|
|
257
257
|
keydown: WindowEventMap["keydown"];
|
|
258
|
+
input: WindowEventMap["input"];
|
|
258
259
|
keyup: WindowEventMap["keyup"];
|
|
259
260
|
focus: WindowEventMap["focus"];
|
|
260
261
|
paste: WindowEventMap["paste"];
|