Releases: andreruffert/range-slider-element
Releases · andreruffert/range-slider-element
v2.2.0
What's Changed
Features
- feat: reflect form-associated disabled state by @andreruffert in #277
Other Changes
- chore(deps-dev): bump playwright from 1.57.0 to 1.58.2 by @dependabot[bot] in #263
- chore(deps): bump actions/setup-node from 6.1.0 to 6.2.0 by @dependabot[bot] in #258
- chore(deps-dev): bump vitest from 4.0.15 to 4.0.18 by @dependabot[bot] in #259
- chore(deps-dev): bump @vitest/browser-playwright from 4.0.15 to 4.0.18 by @dependabot[bot] in #262
- chore(deps): bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #271
- docs: fix css copy code button by @andreruffert in #275
Full Changelog: v2.1.2...v2.2.0
v2.1.2
What's Changed
Bug Fixes
- fix: correctly sync value attributes by @andreruffert in #266
- fix: normalize min/max bounds when min > max by @andreruffert in #267
- fix: use hasAttribute() for disabled getter by @andreruffert in #268
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
- chore(deps-dev): bump vite from 7.1.5 to 7.1.6 by @dependabot[bot] in #211
- chore(deps-dev): bump playwright from 1.55.0 to 1.55.1 by @dependabot[bot] in #213
- chore(deps-dev): bump vite from 7.1.7 to 7.1.9 by @dependabot[bot] in #215
- chore(deps-dev): bump typescript from 5.9.2 to 5.9.3 by @dependabot[bot] in #214
- chore(deps-dev): bump playwright from 1.55.1 to 1.56.0 by @dependabot[bot] in #218
- chore(deps): bump actions/setup-node from 5.0.0 to 6.0.0 by @dependabot[bot] in #222
- chore(deps-dev): bump vite from 7.1.9 to 7.1.10 by @dependabot[bot] in #219
- chore(deps-dev): bump playwright from 1.56.0 to 1.56.1 by @dependabot[bot] in #221
- chore(deps-dev): bump vite from 7.1.10 to 7.1.12 by @dependabot[bot] in #225
- chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #227
- chore(deps-dev): bump vite from 7.1.12 to 7.2.2 by @dependabot[bot] in #231
- chore(deps-dev): bump vitest from 3.2.4 to 4.0.9 by @dependabot[bot] in #237
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #242
- chore(deps-dev): bump vite from 7.2.2 to 7.2.4 by @dependabot[bot] in #239
- chore(deps-dev): bump playwright from 1.56.1 to 1.57.0 by @dependabot[bot] in #246
- chore(deps-dev): bump vitest from 4.0.9 to 4.0.14 by @dependabot[bot] in #243
- chore(deps-dev): bump @vitest/browser-playwright from 4.0.9 to 4.0.14 by @dependabot[bot] in #245
- chore(deps-dev): bump vite from 7.2.4 to 7.2.7 by @dependabot[bot] in #247
- chore(deps): bump actions/setup-node from 6.0.0 to 6.1.0 by @dependabot[bot] in #248
- chore(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #249
- chore(deps-dev): bump vite from 7.2.7 to 7.3.1 by @dependabot[bot] in #255
- refactor: updateValue event dispatch by @andreruffert in #269
Full Changelog: v2.1.1...v2.1.2
v2.1.1
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