Skip to content

Commit a1ca5fe

Browse files
author
Brian Stone
committed
chore(release): 1.0.0
1 parent 5a2c970 commit a1ca5fe

File tree

3 files changed

+54
-2
lines changed

3 files changed

+54
-2
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
# [1.0.0](https://github.com/zillow/react-slider/compare/v0.11.2...v1.0.0) (2019-09-27)
6+
7+
8+
### Bug Fixes
9+
10+
* `onAfterChange` was not being fired ([71746b2](https://github.com/zillow/react-slider/commit/71746b2)), closes [#3](https://github.com/zillow/react-slider/issues/3)
11+
* add IE11 arrow key support ([20afb9e](https://github.com/zillow/react-slider/commit/20afb9e))
12+
* aria keyboard support corrected so that left and down decreases and right and up increases ([1739606](https://github.com/zillow/react-slider/commit/1739606)), closes [#144](https://github.com/zillow/react-slider/issues/144)
13+
* do nothing when right clicking on the slider ([9fa9eb4](https://github.com/zillow/react-slider/commit/9fa9eb4))
14+
* Home and End keys no longer scroll the page when setting the value ([e8c8e1f](https://github.com/zillow/react-slider/commit/e8c8e1f))
15+
* remove active state on thumb on blur ([f05c7b1](https://github.com/zillow/react-slider/commit/f05c7b1))
16+
* the active thumb should get focus when a value is selected ([f1cc0cc](https://github.com/zillow/react-slider/commit/f1cc0cc))
17+
18+
19+
### Code Refactoring
20+
21+
* remove support for custom thumbs via `children` ([3cb3413](https://github.com/zillow/react-slider/commit/3cb3413))
22+
23+
24+
### Features
25+
26+
* "handle" and "bar" are now "thumb" and "track" to follow `input[type=range]` nomenclature ([e4e8ff8](https://github.com/zillow/react-slider/commit/e4e8ff8))
27+
* `ariaValuetext` now supports a function for dynamic value text ([021a547](https://github.com/zillow/react-slider/commit/021a547))
28+
* `renderThumb` now renders the entire thumb node rather than just the thumb content ([669dcdb](https://github.com/zillow/react-slider/commit/669dcdb))
29+
* `withTracks` is now true by default ([a450420](https://github.com/zillow/react-slider/commit/a450420))
30+
* add `renderBar` render prop for customizing bar content ([0de9013](https://github.com/zillow/react-slider/commit/0de9013))
31+
* add `renderHandle` render prop for dynamic handle content ([c87ed4b](https://github.com/zillow/react-slider/commit/c87ed4b))
32+
* add `valueNow` to state objects of `ariaValuetext` and `renderThumb` for easier access to the current value ([94712f2](https://github.com/zillow/react-slider/commit/94712f2))
33+
* add aria-orientation to slider ([5125a98](https://github.com/zillow/react-slider/commit/5125a98))
34+
* add support for Page Up and Page Down keys ([ed67408](https://github.com/zillow/react-slider/commit/ed67408))
35+
* pass `value` state to render props ([8b0615d](https://github.com/zillow/react-slider/commit/8b0615d))
36+
* remove dependency on create-react-class ([648512e](https://github.com/zillow/react-slider/commit/648512e))
37+
* the paging value is now configurable via the `pageFn` prop ([de75419](https://github.com/zillow/react-slider/commit/de75419))
38+
39+
40+
### BREAKING CHANGES
41+
42+
* The render props `renderThumb` and `renderTrack` are now passed two arguments
43+
instead of one, `props` and `state`. This makes it easier to just spread props when using
44+
a render function.
45+
* `renderThumb` was previously given the indexed handle value
46+
which now needs to be derived from `value` and `index.
47+
* custom thumbs via `children` is no longer supported.
48+
To customize thumbs, use the `renderThumb` render prop instead.
49+
* `withTracks` is more commonly true than false,
50+
so we are making that the default
51+
* "handle" and "bar" props have been renamed to "thumb" and "track",
52+
e.g. `withBars` is now `withTracks`, and `handleClassName` is now `thumbClassName`

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-slider",
3-
"version": "0.11.2",
3+
"version": "1.0.0",
44
"description": "Slider component for React",
55
"main": "lib/components/ReactSlider/ReactSlider.js",
66
"module": "es/components/ReactSlider/ReactSlider.js",

0 commit comments

Comments
 (0)