mirror of
https://github.com/spartan-ng/spartan.git
synced 2026-09-22 16:41:38 +08:00
99b05147d1
Address review feedback on the PR. Wire the directive to ngx-scrollbar's real CSS variables at shadcn's values (transparent 10px track, 7px bg-border thumb) and default visibility to hover so the thumb only shows on hover, scroll or focus like shadcn. Move the container radius into the registry per style now that the demo no longer hardcodes it: rounded-md for vega/nova/mira, square for lyra via --radius 0, and rounded-2xl for maia/luma. Replace the dead radix-era marker rules with a single spartan-scroll-area rule. Declare ngx-scrollbar as a helm peer dependency since the directive now imports from it, and mirror the changes in the CLI template.
@spartan-ng/helm/scroll-area
Secondary entry point of @spartan-ng/helm. It can be used by importing from @spartan-ng/helm/scroll-area.