@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/README.md +4 -0
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/components/drawer/index.d.ts +1 -1
- package/dist/types/components/drawer/index.d.ts.map +1 -1
- package/dist/types/components/inputNumber/InputNumber.d.ts.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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,
|