@mcurros2/microm 1.1.75-0 → 1.1.77-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/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33372,7 +33372,15 @@ function $9e0f0f7fb3fe1bb5$export$4a22575e2f542f1f(props) {
|
|
|
33372
33372
|
if (key_code === "Escape") {
|
|
33373
33373
|
const dropdown = (_a = filterInputRef.current) === null || _a === void 0 ? void 0 : _a.querySelector("[data-mantine-multiselect-dropdown]");
|
|
33374
33374
|
const isMyDropdownOpen = !!dropdown;
|
|
33375
|
-
if (!isMyDropdownOpen)
|
|
33375
|
+
if (!isMyDropdownOpen) {
|
|
33376
|
+
// refire escape so it can be captured by the parent component
|
|
33377
|
+
const escapeEvent = new KeyboardEvent("keydown", {
|
|
33378
|
+
key: "Escape",
|
|
33379
|
+
bubbles: true
|
|
33380
|
+
});
|
|
33381
|
+
document.dispatchEvent(escapeEvent);
|
|
33382
|
+
return;
|
|
33383
|
+
}
|
|
33376
33384
|
}
|
|
33377
33385
|
if (key_code !== "Enter" && key_code !== "NumpadEnter") return;
|
|
33378
33386
|
// Ensure queryText is not empty
|
|
@@ -46145,6 +46153,10 @@ const $fd210d71b523c65e$export$4fef1edbf0f012ef = /*#__PURE__*/ (0, $b4te3$react
|
|
|
46145
46153
|
const theme = (0, $b4te3$mantinecore.useMantineTheme)();
|
|
46146
46154
|
return (0, $b4te3$reactjsxruntime.jsx)("div", {
|
|
46147
46155
|
ref: ref,
|
|
46156
|
+
style: {
|
|
46157
|
+
display: "flex",
|
|
46158
|
+
flex: 1
|
|
46159
|
+
},
|
|
46148
46160
|
children: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$mantinecore.MultiSelect), Object.assign({
|
|
46149
46161
|
icon: (0, $b4te3$reactjsxruntime.jsx)((0, $b4te3$tablericonsreact.IconSearch), {
|
|
46150
46162
|
size: "1.1rem",
|