@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.d.cts CHANGED
@@ -714,9 +714,6 @@ interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
714
714
  /** Content area class name */
715
715
  contentClassName?: string;
716
716
  variant?: "default" | "muted" | "primary" | "accent";
717
- spacing?: "none" | "sm" | "md" | "lg" | "xl";
718
- /** Full width mode (no container constraints) */
719
- fullWidth?: boolean;
720
717
  /** Show thin border like Card */
721
718
  outlined?: boolean;
722
719
  }
package/dist/index.d.ts CHANGED
@@ -714,9 +714,6 @@ interface ScrollAreaProps extends HTMLAttributes<HTMLDivElement> {
714
714
  /** Content area class name */
715
715
  contentClassName?: string;
716
716
  variant?: "default" | "muted" | "primary" | "accent";
717
- spacing?: "none" | "sm" | "md" | "lg" | "xl";
718
- /** Full width mode (no container constraints) */
719
- fullWidth?: boolean;
720
717
  /** Show thin border like Card */
721
718
  outlined?: boolean;
722
719
  }
package/dist/index.js CHANGED
@@ -5380,33 +5380,15 @@ var variantClasses = {
5380
5380
  primary: "bg-primary/5",
5381
5381
  accent: "bg-accent/10"
5382
5382
  };
5383
- var spacingClasses2 = {
5384
- none: "",
5385
- sm: "p-2",
5386
- md: "p-4",
5387
- lg: "p-6",
5388
- xl: "p-8"
5389
- };
5390
5383
  var ScrollArea = forwardRef7(
5391
- ({ className, contentClassName, children, variant = "default", spacing = "none", fullWidth = true, outlined = false, ...props }, ref) => {
5384
+ ({ className, contentClassName, children, variant = "default", outlined = false, ...props }, ref) => {
5392
5385
  return /* @__PURE__ */ jsx28(
5393
5386
  "div",
5394
5387
  {
5395
5388
  ref,
5396
5389
  className: cn("relative overflow-hidden", variantClasses[variant], outlined && "rounded-lg border border-border/60", className),
5397
5390
  ...props,
5398
- children: /* @__PURE__ */ jsx28(
5399
- "div",
5400
- {
5401
- className: cn(
5402
- "h-full w-full overflow-y-auto scroll-area-viewport",
5403
- spacingClasses2[spacing],
5404
- !fullWidth && "container mx-auto px-4 md:px-6",
5405
- contentClassName
5406
- ),
5407
- children
5408
- }
5409
- )
5391
+ children: /* @__PURE__ */ jsx28("div", { className: cn("h-full w-full overflow-y-auto scroll-area-viewport", contentClassName), children })
5410
5392
  }
5411
5393
  );
5412
5394
  }