salt-ds icon indicating copy to clipboard operation
salt-ds copied to clipboard

Slider

Open lukeac123 opened this issue 10 months ago • 5 comments

Updates Slider component to new designs and behaviours.

Highlights:

Integration with Input

Screenshot 2024-07-25 at 11 39 30

Support for custom step amount

Screenshot 2024-07-25 at 11 39 36

Full "range" support

Screenshot 2024-07-25 at 11 39 55

lukeac123 avatar Apr 24 '24 15:04 lukeac123

🦋 Changeset detected

Latest commit: c2dcfde811e9d5db2e6ed990c955a74c29dca97f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@salt-ds/lab Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Apr 24 '24 15:04 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 10, 2024 9:10pm

vercel[bot] avatar Apr 24 '24 15:04 vercel[bot]

Storybook Preview Link https://402bc2d1.saltdesignsystem-storybook.pages.dev

github-actions[bot] avatar Apr 24 '24 15:04 github-actions[bot]

Converted to draft with Luke OOO.

origami-z avatar May 14 '24 11:05 origami-z

With latest change, tooltip will not show when 1) mouse on the exact middle of the bar 2) off the track, is this intended behavior change? Previously i heard the tooltip needs to be visible after drag begins

origami-z avatar Jun 21 '24 09:06 origami-z

@tomhazledine Design review complete. Can be found here: https://www.figma.com/design/JedClmXUirW6MG7OluTRGN/Slider?node-id=3180-461&t=5NCWiKeSlCexyPBT-1

bhoppers2008 avatar Jun 21 '24 11:06 bhoppers2008

A few comments, mostly on content. But just wanted to raise them so they're not lost.

There's a minor annoyance for me when using slider. Having to keep the mouse over the slider when dragging isn't a great UX cc @navkaur76

Have address most of the content questions/updates. Will defer to @navkaur76's expertise re: the a11y wording

Made a change to allow the mouse drag to continue without needing to be over the actual element. Led to a dev question that I've raised in the FED teams chat

tomhazledine avatar Aug 22 '24 11:08 tomhazledine

#4076 will be tackled in a follow up

joshwooding avatar Sep 11 '24 07:09 joshwooding