Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sparkle] - enh(ScrollArea): active state #10544

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

JulesBelveze
Copy link
Contributor

Description

This PR aims at enhancing the ScrollArea component to feature an "active" state. It picks up work from #10539 and tweaks the state to be synchronized with the Scrollbar leveraging the group class from tailwind.

Risk

Low, no breaking changes introduced

Deploy Plan

  • Publish sparkle

Duncid and others added 20 commits February 4, 2025 15:59
 - Replace bespoke styling with `cva` to standardize variant management
 - Introduce `appearance` variant with default and unstyled options
 - Streamline props by removing unused callback functions
 - Enhance scrollbar visibility and interactivity with new hover effects
…stories

- Removed the state management and conditional shadow styling based on scroll position in `SheetContainer`
- Simplified scroll area styling by removing dynamic border and shadow effects in `ScrollWithActiveState` story
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants