-
Notifications
You must be signed in to change notification settings - Fork 209
feat(slider): S2 migration, new precision variant, embedded textfield #3945
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
Merged
castastrophe
merged 21 commits into
spectrum-two
from
aramos-adobe/css1201-s2-slider-handle-variant
Jul 30, 2025
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
a3c388b
feat(slider): wip track height and gap
aramos-adobe 5677eb2
feat(slider): adding precision variant
aramos-adobe 78b50a3
feat(slider): added emphasized mode, updated ticks
aramos-adobe 356dae6
feat(slider): adding changeset description
aramos-adobe 41c7895
feat(slider): adjust WHCM and typography
aramos-adobe 485c4ab
feat(slider): adding more test cases for emphasized range
aramos-adobe 80fd6ec
feat(slider): updating pr
aramos-adobe a27b5e3
feat(slider): cleaning custom tokens, textfield focus state
aramos-adobe eaf6090
feat(slider): update whcm, using dist tokens
aramos-adobe d783755
feat(slider): new reviews update focus states and tokens
aramos-adobe 94bffd9
feat(slider): update metadata
aramos-adobe 40d561c
feat(slider): restoring base project files
aramos-adobe 6fae304
feat(slider): use field label passthrough for top padding
aramos-adobe 21a0177
feat(slider): adding new changes and updates to story and css
aramos-adobe 5c52b84
fix(slider): pr fixes
rise-erpelding 7ca42d7
fix(slider): Update components/slider/dist/metadata.json
rise-erpelding 9fef757
Update components/slider/dist/metadata.json
rise-erpelding 1b1ebec
Update components/slider/dist/metadata.json
rise-erpelding b8e9e4e
Update components/slider/dist/metadata.json
rise-erpelding c1581ee
test(slider): testing breakup & refresh
rise-erpelding ae30fb4
test(slider): combine into 2 testing stories instead of 4
rise-erpelding File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| --- | ||
| @spectrum-css/slider: major | ||
| --- | ||
|
|
||
| ### S2 Slider Migration | ||
|
|
||
| #### New features | ||
|
|
||
| - Emphasized track fill color | ||
| - Precision control handle | ||
| - Large and thin track heights | ||
| - Embedded editable text field component | ||
|
|
||
| #### Visual changes | ||
|
|
||
| - No longer a gap between slider handle and the track | ||
| - Updated dimensions of slider handles for each size variant | ||
| - Updated WHCM for all variants | ||
|
|
||
|
|
||
| #### New tokens | ||
|
|
||
| `--spectrum-slider-control-to-field-label-editable-extra-large` | ||
| `--spectrum-slider-control-to-field-label-editable-large` | ||
| `--spectrum-slider-control-to-field-label-editable-medium` | ||
| `--spectrum-slider-control-to-field-label-editable-small` | ||
| `--spectrum-slider-control-to-side-field-label-extra-large` | ||
| `--spectrum-slider-control-to-side-field-label-large` | ||
| `--spectrum-slider-control-to-side-field-label-medium` | ||
| `--spectrum-slider-control-to-side-field-label-small` | ||
| `--spectrum-slider-control-to-text-field-extra-large` | ||
| `--spectrum-slider-control-to-text-field-large` | ||
| `--spectrum-slider-control-to-text-field-medium` | ||
| `--spectrum-slider-control-to-text-field-small` | ||
| `--spectrum-slider-editable-control-to-field-label` | ||
| `--spectrum-slider-editable-control-to-text-field` | ||
| `--spectrum-slider-editable-field-inline-size-extra-large` | ||
| `--spectrum-slider-editable-field-inline-size-large` | ||
| `--spectrum-slider-editable-field-inline-size-medium` | ||
| `--spectrum-slider-editable-field-inline-size-small` | ||
| `--spectrum-slider-emphasized-track-fill-color` | ||
| `--spectrum-slider-precision-handle-height` | ||
| `--spectrum-slider-precision-handle-height-extra-large` | ||
| `--spectrum-slider-precision-handle-height-large` | ||
| `--spectrum-slider-precision-handle-height-medium` | ||
| `--spectrum-slider-precision-handle-height-small` | ||
| `--spectrum-slider-precision-handle-width` | ||
| `--spectrum-slider-handle-extra-large` | ||
| `--spectrum-slider-handle-large` | ||
| `--spectrum-slider-handle-medium` | ||
| `--spectrum-slider-handle-small` | ||
|
|
||
| #### New mods | ||
|
|
||
| `--mod-slider-editable-control-to-text-field` | ||
| `--mod-slider-editable-field-inline-size` | ||
| `--mod-slider-disabled-border-color` | ||
| `--mod-slider-emphasized-tick-mark-color` | ||
| `--mod-slider-emphasized-track-fill-color` | ||
| `--mod-slider-inline-size` | ||
| `--mod-slider-label-font-style` | ||
| `--mod-slider-label-font-weight` | ||
| `--mod-slider-ramp-track-fill-color` | ||
| `--mod-slider-tick-mark-color-filled-track` | ||
| `--mod-slider-track-height-medium` | ||
|
|
||
| #### Removed mods | ||
|
|
||
| `--mod-disabled-border-color` | ||
| `--mod-sectrum-slider-ramp-handle-border-color-active` | ||
| `--mod-slider-handle-border-width-down` | ||
| `--mod-slider-handle-gap` | ||
| `--mod-slider-ramp-handle-background-color` | ||
| `--mod-slider-tick-handle-background-color` | ||
| `--mod-slider-tick-mark-color-disabled` | ||
| `--mod-slider-track-handleoffset` | ||
| `--mod-slider-track-margin-offset` | ||
| `--mod-slider-track-middle-handleoffset` | ||
Large diffs are not rendered by default.
Oops, something went wrong.
|
aramos-adobe marked this conversation as resolved.
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.