@acrool/react-picker 0.0.1 → 0.0.2-alpha.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.
|
@@ -5412,6 +5412,7 @@ const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
|
|
|
5412
5412
|
return /* @__PURE__ */ O.jsx(
|
|
5413
5413
|
Ah.div,
|
|
5414
5414
|
{
|
|
5415
|
+
ref: n,
|
|
5415
5416
|
transition: { type: "spring", duration: 0.2 },
|
|
5416
5417
|
style: i,
|
|
5417
5418
|
className: kh.motionAnimationWrapper,
|
|
@@ -5434,7 +5435,11 @@ const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
|
|
|
5434
5435
|
onPickerHide: t
|
|
5435
5436
|
}) => (Vt(() => () => {
|
|
5436
5437
|
t();
|
|
5437
|
-
}, []), null), _h =
|
|
5438
|
+
}, []), null), _h = "acrool-react-picker__root", Bh = "acrool-react-picker__main-el", Ws = {
|
|
5439
|
+
root: _h,
|
|
5440
|
+
"main-el": "acrool-react-picker__main-el",
|
|
5441
|
+
mainEl: Bh
|
|
5442
|
+
}, Ih = (t) => {
|
|
5438
5443
|
if (!t)
|
|
5439
5444
|
return {
|
|
5440
5445
|
vertical: "bottom",
|
|
@@ -5445,10 +5450,6 @@ const Dh = ({ children: t, exitBeforeEnter: e, custom: n, initial: i = !0, onExi
|
|
|
5445
5450
|
vertical: r,
|
|
5446
5451
|
horizontal: a
|
|
5447
5452
|
};
|
|
5448
|
-
}, Bh = "acrool-react-picker__root", Ih = "acrool-react-picker__main-el", Ws = {
|
|
5449
|
-
root: Bh,
|
|
5450
|
-
"main-el": "acrool-react-picker__main-el",
|
|
5451
|
-
mainEl: Ih
|
|
5452
5453
|
};
|
|
5453
5454
|
function Gh(t, e) {
|
|
5454
5455
|
return (i) => {
|
|
@@ -5487,7 +5488,7 @@ function Gh(t, e) {
|
|
|
5487
5488
|
Oh,
|
|
5488
5489
|
{
|
|
5489
5490
|
ref: c,
|
|
5490
|
-
position:
|
|
5491
|
+
position: Ih(h.current),
|
|
5491
5492
|
children: /* @__PURE__ */ O.jsx(e, { ...i })
|
|
5492
5493
|
}
|
|
5493
5494
|
) }),
|