@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.
@@ -53110,10 +53110,12 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
53110
53110
  safeCall(onClose, { key, reason: CloseReason.CLICK });
53111
53111
  },
53112
53112
  }), [onItemClick, onClose]);
53113
- const onKeyDown = ({ key }) => {
53114
- switch (key) {
53113
+ const onKeyUp = (e) => {
53114
+ switch (e.key) {
53115
53115
  case Keys.ESC:
53116
- safeCall(onClose, { key, reason: CloseReason.CANCEL });
53116
+ e.preventDefault();
53117
+ e.stopPropagation();
53118
+ safeCall(onClose, { key: e.key, reason: CloseReason.CANCEL });
53117
53119
  break;
53118
53120
  }
53119
53121
  };
@@ -53136,7 +53138,7 @@ const ControlledMenuFr = ({ "aria-label": ariaLabel, className, containerProps,
53136
53138
  };
53137
53139
  const itemTransition = getTransition(transition, "item");
53138
53140
  const modifiers = useMemo(() => ({ theme: theming, itemTransition }), [theming, itemTransition]);
53139
- const menuList = (jsx("div", { ...mergeProps({ onKeyDown, onBlur }, containerProps), className: useBEM({
53141
+ const menuList = (jsx("div", { ...mergeProps({ onKeyUp, onBlur }, containerProps), className: useBEM({
53140
53142
  block: menuContainerClass,
53141
53143
  modifiers,
53142
53144
  className,