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

[Slider] New Slider components and hook #373

Merged
merged 73 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
3116377
New Slider components and hook
mj12albert Apr 24, 2024
20bf2a8
Add useSliderOutput and SliderOutput
mj12albert May 1, 2024
7708204
Move pointerDown from root to track
mj12albert May 1, 2024
cf4579c
Gradient slider demo
mj12albert May 2, 2024
1369a1c
Fix thumb shift
mj12albert May 8, 2024
65e5d6e
Vertical slider demo
mj12albert May 8, 2024
68d3ebb
Clean up CSS
colmtuite May 8, 2024
32a90f4
Fix vertical slider & eslint
mj12albert May 9, 2024
52e046a
Extract useSliderTrack and account for offset in getFingerNewValue
mj12albert May 9, 2024
ba3cecb
Reorganize
mj12albert May 10, 2024
b52bf79
Add tests and demos
mj12albert May 13, 2024
25d0289
Skip old test
mj12albert May 22, 2024
5834ac2
Swap tabIndex of thumb and input
mj12albert May 22, 2024
6243780
Increase track area in demos
mj12albert May 22, 2024
d0d0514
Dont use context in hooks
mj12albert May 22, 2024
a865de7
Set z-index on active thumb
mj12albert May 24, 2024
e044c80
Slider with marks demo
mj12albert May 24, 2024
ddd6489
Fix thumb shift once drag begins
mj12albert May 27, 2024
015cdf9
Support Home and End keys
mj12albert May 28, 2024
f070558
Refactor track ref
mj12albert Jun 3, 2024
df60810
WIP refactor 1
mj12albert May 30, 2024
9102f38
WIP refactor 2 - add sort prop
mj12albert May 30, 2024
5888040
Revert "WIP refactor 2 - add sort prop"
mj12albert Jun 4, 2024
5fb735e
Revert "WIP refactor 1"
mj12albert Jun 4, 2024
c751582
Add minDistanceBetweenValues prop
mj12albert Jun 5, 2024
1497edd
Special case Thumb render fn
mj12albert Jun 5, 2024
b7e33c7
Add docs & demos
mj12albert Jun 6, 2024
15b3c51
Add data-orientation
mj12albert Jun 11, 2024
e4a7b41
Update demos
mj12albert Jun 12, 2024
6b569e6
Move v5 slider
mj12albert Jun 12, 2024
398a82b
Fix root aria-labelledby
mj12albert Jun 12, 2024
6ca09da
Rename minDistance to minDifference and default to 0
mj12albert Jun 12, 2024
f97628d
Set default aria-label for range slider thumbs
mj12albert Jun 12, 2024
977840e
Change root to div
mj12albert Jun 12, 2024
0b0e045
Remove thumb swapping and disableSwap
mj12albert Jun 13, 2024
8e7bac4
Use useComponentRenderer
mj12albert Jun 13, 2024
e8eed16
Change isRtl prop
mj12albert Jun 13, 2024
cd98458
Add output to defaultRenderFns
mj12albert Jun 13, 2024
960732b
Misc fixes
mj12albert Jun 14, 2024
3dcc31a
Account for offset direction for RTL
mj12albert Jun 14, 2024
5678b26
Add vo aria valuetext demo
mj12albert Jun 14, 2024
a6d980c
Change to minStepsBetweenValues
mj12albert Jun 17, 2024
0ce48e6
Set default aria-valuetext instead of aria-label
mj12albert Jun 17, 2024
2e8daf7
Add more built-in thumb styles
mj12albert Jun 17, 2024
20044f8
Update experiments
mj12albert Jun 17, 2024
f0dbf64
Add Indicator component
mj12albert Jun 17, 2024
76e998a
Update demos
mj12albert Jun 17, 2024
d0f09f9
Rename Slider.Track to Slider.Control
mj12albert Jun 17, 2024
357b751
Add new Track component representing the rail
mj12albert Jun 17, 2024
a765bbc
SSR improvements
mj12albert Jun 18, 2024
b4314b8
Clean up experiments pages
mj12albert Jun 18, 2024
6167fe5
Remove legacy slider
mj12albert Jun 18, 2024
88b296e
Misc docs fixes
mj12albert Jun 18, 2024
1d1f779
PR review fixes
mj12albert Jun 19, 2024
ada992e
Remove marks
mj12albert Jun 19, 2024
d87176f
Remove legacy useSlider
mj12albert Jun 19, 2024
c29b69f
More review fixes
mj12albert Jun 20, 2024
e4da263
Remove internal open state
mj12albert Jun 20, 2024
70339a3
Update thumb render function
mj12albert Jun 20, 2024
2122858
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jun 24, 2024
2797c1d
Fix component renderer params
mj12albert Jun 24, 2024
e4e2118
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jun 25, 2024
4211af7
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jun 25, 2024
20012fd
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jun 28, 2024
55a30f7
Update range slider default aria-valuetext
mj12albert Jun 28, 2024
4495a10
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jul 2, 2024
dc1aeb2
Update types
mj12albert Jul 2, 2024
1f865dd
Return native events instead of synthetic
mj12albert Jul 2, 2024
fbe5ef1
Rename directories
mj12albert Jul 2, 2024
8556c03
Revert "Update thumb render function"
mj12albert Jul 2, 2024
d07a34b
Update Thumb render shorthand
mj12albert Jul 2, 2024
c6b4565
Remove scale prop
mj12albert Jul 2, 2024
37059b8
Merge remote-tracking branch 'upstream/master' into feat/slider-rewrite
mj12albert Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 0 additions & 163 deletions docs/data/base/components/slider/DiscreteSlider.js

This file was deleted.

162 changes: 0 additions & 162 deletions docs/data/base/components/slider/DiscreteSlider.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions docs/data/base/components/slider/DiscreteSlider.tsx.preview

This file was deleted.

Loading