@underverse-ui/underverse 1.0.30 → 1.0.31

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@underverse-ui/underverse",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "sourceEntry": "src/index.ts",
5
5
  "totalExports": 206,
6
6
  "exports": [
package/dist/index.cjs CHANGED
@@ -5828,7 +5828,7 @@ var ScrollArea = (0, import_react14.forwardRef)(
5828
5828
  className
5829
5829
  ),
5830
5830
  ...props,
5831
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport", contentClassName), children })
5831
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport custom-scrollbar", contentClassName), "data-os-scrollbar": true, children })
5832
5832
  }
5833
5833
  );
5834
5834
  }
@@ -7098,7 +7098,6 @@ function WheelColumn({
7098
7098
  ref: scrollRef,
7099
7099
  className: cn(
7100
7100
  "h-full overflow-y-auto overscroll-contain snap-y snap-mandatory",
7101
- "scrollbar-none",
7102
7101
  "select-none cursor-grab active:cursor-grabbing",
7103
7102
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2 focus-visible:ring-offset-background rounded-xl"
7104
7103
  ),
@@ -8522,7 +8521,6 @@ function WheelColumn2({
8522
8521
  ref: scrollRef,
8523
8522
  className: cn(
8524
8523
  "h-full overflow-y-auto overscroll-contain snap-y snap-mandatory",
8525
- "scrollbar-none",
8526
8524
  "select-none cursor-grab active:cursor-grabbing",
8527
8525
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2 focus-visible:ring-offset-background rounded-xl"
8528
8526
  ),
@@ -10283,7 +10281,7 @@ function CalendarTimelineHeader(props) {
10283
10281
  ]
10284
10282
  }
10285
10283
  ) : null,
10286
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref: headerRef, className: "flex-1 min-w-0 overflow-x-auto overflow-y-hidden scrollbar-none", children: slotHeaderNodes })
10284
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref: headerRef, className: "flex-1 min-w-0 overflow-x-auto overflow-y-hidden", children: slotHeaderNodes })
10287
10285
  ] })
10288
10286
  ] });
10289
10287
  }
@@ -11874,7 +11872,7 @@ function CalendarTimeline({
11874
11872
  "div",
11875
11873
  {
11876
11874
  ref: leftRef,
11877
- className: "shrink-0 overflow-y-auto overflow-x-hidden scrollbar-none",
11875
+ className: "shrink-0 overflow-y-auto overflow-x-hidden",
11878
11876
  style: { width: effectiveResourceColumnWidth, minWidth: effectiveResourceColumnWidth },
11879
11877
  children: [
11880
11878
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { style: { height: topSpacer } }),
@@ -11904,7 +11902,8 @@ function CalendarTimeline({
11904
11902
  "div",
11905
11903
  {
11906
11904
  ref: bodyRef,
11907
- className: "relative flex-1 overflow-auto scrollbar-thin scrollbar-thumb-muted scrollbar-track-transparent",
11905
+ className: "relative flex-1 overflow-auto custom-scrollbar",
11906
+ "data-os-scrollbar": true,
11908
11907
  onPointerMove,
11909
11908
  onPointerUp,
11910
11909
  onPointerLeave: () => setHoverCell(null),
@@ -14117,12 +14116,13 @@ function CategoryTreeSelect(props) {
14117
14116
  "div",
14118
14117
  {
14119
14118
  className: cn(
14120
- "absolute z-20 mt-2 w-full max-h-80 overflow-auto",
14119
+ "absolute z-20 mt-2 w-full max-h-80 overflow-auto custom-scrollbar",
14121
14120
  "rounded-2xl md:rounded-3xl border border-border/40 bg-popover/95 text-popover-foreground",
14122
14121
  "shadow-2xl backdrop-blur-xl",
14123
14122
  "p-2",
14124
14123
  "animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
14125
14124
  ),
14125
+ "data-os-scrollbar": true,
14126
14126
  children: [
14127
14127
  renderSearch(),
14128
14128
  renderTreeContent()
@@ -19043,7 +19043,7 @@ function OverlayScrollbarProvider() {
19043
19043
  const instances = /* @__PURE__ */ new Map();
19044
19044
  const shouldSkip = (element) => {
19045
19045
  if (element === document.body) return true;
19046
- if (element.classList.contains("scrollbar-none")) return true;
19046
+ if (element.hasAttribute("data-os-ignore")) return true;
19047
19047
  if (element.hasAttribute("data-overlayscrollbars")) return true;
19048
19048
  return false;
19049
19049
  };
@@ -19125,12 +19125,13 @@ var Table = import_react34.default.forwardRef(({ className, containerClassName,
19125
19125
  "div",
19126
19126
  {
19127
19127
  className: cn(
19128
- "relative w-full overflow-auto",
19128
+ "relative w-full overflow-auto custom-scrollbar",
19129
19129
  "rounded-2xl md:rounded-3xl border border-border",
19130
19130
  "bg-card text-card-foreground shadow-sm",
19131
19131
  "backdrop-blur-sm transition-all duration-300",
19132
19132
  containerClassName
19133
19133
  ),
19134
+ "data-os-scrollbar": true,
19134
19135
  children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("table", { ref, className: cn("w-full caption-bottom text-sm", className), ...props })
19135
19136
  }
19136
19137
  );
@@ -20062,7 +20063,7 @@ function DataTable({
20062
20063
  children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
20063
20064
  "div",
20064
20065
  {
20065
- className: "thin-scrollbar custom-scrollbar w-full",
20066
+ className: "custom-scrollbar w-full",
20066
20067
  "data-os-scrollbar": true,
20067
20068
  style: stickyHeader ? {
20068
20069
  maxHeight: typeof maxHeight === "number" ? `${maxHeight}px` : maxHeight,