@underverse-ui/underverse 0.2.52 → 0.2.53

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 CHANGED
@@ -5552,33 +5552,15 @@ var variantClasses = {
5552
5552
  primary: "bg-primary/5",
5553
5553
  accent: "bg-accent/10"
5554
5554
  };
5555
- var spacingClasses2 = {
5556
- none: "",
5557
- sm: "p-2",
5558
- md: "p-4",
5559
- lg: "p-6",
5560
- xl: "p-8"
5561
- };
5562
5555
  var ScrollArea = (0, import_react14.forwardRef)(
5563
- ({ className, contentClassName, children, variant = "default", spacing = "none", fullWidth = true, outlined = false, ...props }, ref) => {
5556
+ ({ className, contentClassName, children, variant = "default", outlined = false, ...props }, ref) => {
5564
5557
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5565
5558
  "div",
5566
5559
  {
5567
5560
  ref,
5568
5561
  className: cn("relative overflow-hidden", variantClasses[variant], outlined && "rounded-lg border border-border/60", className),
5569
5562
  ...props,
5570
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
5571
- "div",
5572
- {
5573
- className: cn(
5574
- "h-full w-full overflow-y-auto scroll-area-viewport",
5575
- spacingClasses2[spacing],
5576
- !fullWidth && "container mx-auto px-4 md:px-6",
5577
- contentClassName
5578
- ),
5579
- children
5580
- }
5581
- )
5563
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport", contentClassName), children })
5582
5564
  }
5583
5565
  );
5584
5566
  }