Releases: andreruffert/range-slider-element
Releases · andreruffert/range-slider-element
v2.1.0
What's Changed
Features
- feat: allow opt-out of define() by @andreruffert in #149
- feat(dx): introduce typescript types support by @andreruffert in #173
Other Changes
- chore(deps-dev): bump vite from 6.2.0 to 6.2.1 by @dependabot[bot] in #140
- docs: migrate from unpkg to jsdelivr cdn by @andreruffert in #143
- chore(deps): bump actions/setup-node from 4.2.0 to 4.3.0 by @dependabot[bot] in #144
- chore(deps-dev): bump vite from 6.2.1 to 6.2.2 by @dependabot[bot] in #145
- chore(deps-dev): bump playwright from 1.50.1 to 1.51.0 by @dependabot[bot] in #141
- chore(deps-dev): bump playwright from 1.51.0 to 1.51.1 by @dependabot[bot] in #147
- chore(deps-dev): bump vitest + @vitest/browser from 3.0.7 to 3.0.9 by @andreruffert in #150
- chore(deps-dev): bump vite from 6.2.2 to 6.2.3 by @dependabot[bot] in #151
- chore(deps-dev): bump vite from 6.2.3 to 6.2.5 by @dependabot[bot] in #154
- chore(deps): bump actions/setup-node from 4.3.0 to 4.4.0 by @dependabot[bot] in #156
- chore(deps-dev): bump vite from 6.2.5 to 6.2.6 by @dependabot[bot] in #155
- docs: add jsdelivr badge (monthly hits) by @andreruffert in #157
- chore(deps-dev): bump vite from 6.2.6 to 6.3.2 by @dependabot[bot] in #159
- chore(deps-dev): bump playwright from 1.51.1 to 1.52.0 by @dependabot[bot] in #158
- chore(deps-dev): bump vite from 6.3.2 to 6.3.4 by @dependabot[bot] in #164
- chore(deps-dev): bump vitest from 3.0.9 to 3.1.2 by @dependabot[bot] in #161
- chore(deps-dev): bump vite from 6.3.4 to 6.3.5 by @dependabot[bot] in #165
- chore(deps-dev): bump vitest from 3.1.3 to 3.2.2 by @andreruffert in #172
- chore(deps-dev): bump playwright from 1.52.0 to 1.53.0 by @dependabot[bot] in #174
- chore(deps-dev): bump vitest from 3.2.2 to 3.2.3 by @andreruffert in #179
- chore(deps-dev): bump playwright from 1.53.0 to 1.53.1 by @dependabot[bot] in #183
- chore(deps-dev): bump vite from 6.3.5 to 7.0.0 by @dependabot[bot] in #186
- chore(deps-dev): bump vite from 7.0.0 to 7.0.2 by @dependabot[bot] in #187
- chore(deps-dev): bump playwright from 1.53.1 to 1.53.2 by @dependabot[bot] in #188
- chore(deps-dev): bump @vitest/browser from 3.2.3 to 3.2.4 by @dependabot[bot] in #180
- chore(deps-dev): bump @biomejs/biome from 1.9.4 to 2.0.6 by @dependabot[bot] in #185
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
Features
- Multi thumb support
- Vertical orientation support
- HTML form support
Breaking changes
-
CSS custom properties scoped under the range-slider element
- --value-percent - --element-height - --track-height /* The track size based on the orientation */ + --track-size
With v2 the value percent is automatically applied to the track fill and thumbs.
-
DOM selectors
Track/-fill
- range-slider::before {} + range-slider [data-track] {} + range-slider [data-track-fill] {}
- range-slider .thumb-wrapper {} /* Advanced customization */ + range-slider [data-runnable-track]
Thumb
- range-slider .thumb {} + range-slider [data-thumb] {}
Focus state
- range-slider:focus .thumb {} + range-slider [data-thumb]:focus {}
Instead of the element itself, the thumb is focusable.
Active state
- range-slider.touch-active .thumb-wrapper .thumb {} + range-slider thumb:active {}
Bug fixes
- Fix disabled state
- Fix rtl direction track fill
Full Changelog: v1.1.0...v2.0.0