@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.js CHANGED
@@ -7109,8 +7109,8 @@ function WheelColumn({
7109
7109
  style: { height: itemHeight }
7110
7110
  }
7111
7111
  ),
7112
- /* @__PURE__ */ jsx31("div", { className: cn("pointer-events-none absolute inset-x-0 top-0 bg-linear-to-b from-background/95 via-background/60 to-transparent z-10", ui.fadeHeight) }),
7113
- /* @__PURE__ */ jsx31("div", { className: cn("pointer-events-none absolute inset-x-0 bottom-0 bg-linear-to-t from-background/95 via-background/60 to-transparent z-10", ui.fadeHeight) }),
7112
+ /* @__PURE__ */ jsx31("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) }),
7113
+ /* @__PURE__ */ jsx31("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) }),
7114
7114
  /* @__PURE__ */ jsx31(
7115
7115
  "div",
7116
7116
  {
@@ -7129,8 +7129,11 @@ function WheelColumn({
7129
7129
  onScroll: handleScroll,
7130
7130
  children: /* @__PURE__ */ jsx31("div", { children: extendedItems.map((n, index) => {
7131
7131
  const dist = Math.abs(index - currentVirtual);
7132
- const scale = 1 - Math.min(dist * 0.12, 0.36);
7133
- const opacity = 1 - Math.min(dist * 0.22, 0.75);
7132
+ const distForVisual = Math.min(dist, 2);
7133
+ const t = distForVisual / 2;
7134
+ const ease = t * t;
7135
+ const scale = 1 - ease * 0.18;
7136
+ const opacity = 1 - ease * 0.55;
7134
7137
  const isSelected = index === currentVirtual;
7135
7138
  return /* @__PURE__ */ jsx31(
7136
7139
  "button",
@@ -7800,7 +7803,7 @@ function TimePicker({
7800
7803
  contentWidth: matchTriggerWidth ? void 0 : contentWidth,
7801
7804
  contentClassName: cn(
7802
7805
  panelSz.contentPadding,
7803
- "rounded-2xl border bg-popover/95 backdrop-blur-xl shadow-2xl",
7806
+ "rounded-2xl border bg-popover/98 backdrop-blur-md shadow-2xl",
7804
7807
  error && "border-destructive/40",
7805
7808
  success && "border-success/40",
7806
7809
  !error && !success && "border-border/60",