@linzjs/step-ag-grid 18.1.0 → 19.0.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/step-ag-grid.cjs.js
CHANGED
|
@@ -53112,10 +53112,12 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
|
|
|
53112
53112
|
safeCall(onClose, { key, reason: CloseReason.CLICK });
|
|
53113
53113
|
},
|
|
53114
53114
|
}), [onItemClick, onClose]);
|
|
53115
|
-
const
|
|
53116
|
-
switch (key) {
|
|
53115
|
+
const onKeyUp = (e) => {
|
|
53116
|
+
switch (e.key) {
|
|
53117
53117
|
case Keys.ESC:
|
|
53118
|
-
|
|
53118
|
+
e.preventDefault();
|
|
53119
|
+
e.stopPropagation();
|
|
53120
|
+
safeCall(onClose, { key: e.key, reason: CloseReason.CANCEL });
|
|
53119
53121
|
break;
|
|
53120
53122
|
}
|
|
53121
53123
|
};
|
|
@@ -53138,7 +53140,7 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
|
|
|
53138
53140
|
};
|
|
53139
53141
|
const itemTransition = getTransition(transition, "item");
|
|
53140
53142
|
const modifiers = React.useMemo(() => ({ theme: theming, itemTransition }), [theming, itemTransition]);
|
|
53141
|
-
const menuList = (jsxRuntime.jsx("div", { ...mergeProps({
|
|
53143
|
+
const menuList = (jsxRuntime.jsx("div", { ...mergeProps({ onKeyUp, onBlur }, containerProps), className: useBEM({
|
|
53142
53144
|
block: menuContainerClass,
|
|
53143
53145
|
modifiers,
|
|
53144
53146
|
className,
|