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

Demos for Slider doc #121

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

Demos for Slider doc #121

wants to merge 6 commits into from

Conversation

laurenic0l
Copy link
Contributor

Here are the demos for the new Slider doc!

- Added toggle buttons for enabling/disabling tick visibility and
snapping functionality.
- Enhanced label demonstration to showcase labels on tick values and
non-tick values.
- Simplified layout and interactivity for improved user experience in
demos.
Slider Tick Spacing Demo:
  - Created a dedicated demo for configuring major and minor tick
spacing.
  - Ensured inputs are validated to be positive, non-zero values with
error handling for invalid inputs.

Slider Tick vs Non-Tick Demo:
  - Added interactive checkboxes to toggle between displaying tick,
non-tick, or both values.

General Improvements:
  - Simplified demos by separating major/minor tick spacing and
tick/non-tick functionalities.
  - Enhanced validation to prevent invalid configurations (e.g.,
negative or zero tick spacing).
  - Improved error handling with user feedback via toast messages.
@MatthewHawkins
Copy link
Member

@hyyan Ready for your review :)

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