@underverse-ui/underverse 0.2.105 → 0.2.106
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.cjs +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7284,8 +7284,8 @@ function WheelColumn({
|
|
|
7284
7284
|
style: { height: itemHeight }
|
|
7285
7285
|
}
|
|
7286
7286
|
),
|
|
7287
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn("pointer-events-none absolute inset-x-0 top-0 bg-linear-to-b from-
|
|
7288
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn("pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-
|
|
7287
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn("pointer-events-none absolute inset-x-0 top-0 bg-linear-to-b from-muted/20 via-muted/5 to-transparent z-10", ui.fadeHeight) }),
|
|
7288
|
+
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn("pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-muted/20 via-muted/5 to-transparent z-10", ui.fadeHeight) }),
|
|
7289
7289
|
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
7290
7290
|
"div",
|
|
7291
7291
|
{
|
|
@@ -7304,8 +7304,11 @@ function WheelColumn({
|
|
|
7304
7304
|
onScroll: handleScroll,
|
|
7305
7305
|
children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { children: extendedItems.map((n, index) => {
|
|
7306
7306
|
const dist = Math.abs(index - currentVirtual);
|
|
7307
|
-
const
|
|
7308
|
-
const
|
|
7307
|
+
const distForVisual = Math.min(dist, 2);
|
|
7308
|
+
const t = distForVisual / 2;
|
|
7309
|
+
const ease = t * t;
|
|
7310
|
+
const scale = 1 - ease * 0.18;
|
|
7311
|
+
const opacity = 1 - ease * 0.55;
|
|
7309
7312
|
const isSelected = index === currentVirtual;
|
|
7310
7313
|
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
7311
7314
|
"button",
|
|
@@ -7975,7 +7978,7 @@ function TimePicker({
|
|
|
7975
7978
|
contentWidth: matchTriggerWidth ? void 0 : contentWidth,
|
|
7976
7979
|
contentClassName: cn(
|
|
7977
7980
|
panelSz.contentPadding,
|
|
7978
|
-
"rounded-2xl border bg-popover/
|
|
7981
|
+
"rounded-2xl border bg-popover/98 backdrop-blur-md shadow-2xl",
|
|
7979
7982
|
error && "border-destructive/40",
|
|
7980
7983
|
success && "border-success/40",
|
|
7981
7984
|
!error && !success && "border-border/60",
|