@workokay/atom 0.2.33 → 0.2.34

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.js CHANGED
@@ -12890,7 +12890,16 @@ const Oa = te(
12890
12890
  }
12891
12891
  }, [l, r, t, a, s, d, o]), y = g.useCallback(
12892
12892
  (C) => {
12893
- l || (C.key === "ArrowUp" ? (C.preventDefault(), b()) : C.key === "ArrowDown" && (C.preventDefault(), p()), f.onKeyDown?.(C));
12893
+ if (!l) {
12894
+ if (C.key === "ArrowUp") {
12895
+ C.preventDefault(), b();
12896
+ return;
12897
+ } else if (C.key === "ArrowDown") {
12898
+ C.preventDefault(), p();
12899
+ return;
12900
+ }
12901
+ f.onKeyDown?.(C);
12902
+ }
12894
12903
  },
12895
12904
  [l, b, p, f]
12896
12905
  ), v = g.useCallback(
@@ -19380,6 +19389,7 @@ export {
19380
19389
  gE as DialogTrigger,
19381
19390
  ux as Drawer,
19382
19391
  hx as DrawerBody,
19392
+ gx as DrawerClose,
19383
19393
  mx as DrawerDescription,
19384
19394
  px as DrawerFooter,
19385
19395
  dx as DrawerHeader,