Skip to content

Commit

Permalink
Merge branch 'keyboard'
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed Feb 6, 2019
2 parents 3b92b58 + 0a88701 commit a14d717
Show file tree
Hide file tree
Showing 32 changed files with 625 additions and 289 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ root = true
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ noUiSlider is a lightweight JavaScript range slider.
- All modern browsers and IE > 9 are supported
- Fully **responsive**
- **Multi-touch support** on Android, iOS and Windows devices
- Accessible with `aria` and keyboard support
- Tons of [examples](https://refreshless.com/nouislider/examples) and answered [Stack Overflow questions](https://stackoverflow.com/questions/tagged/nouislider)

License
Expand All @@ -19,6 +20,15 @@ An extensive documentation, including **examples**, **options** and **configurat
Changelog
---------

### 13.0.0 (*???*)
noUiSlider 13 does not include any breaking API changes.
Keyboard support is now built-in, so any custom implementations should be removed when upgrading.
Alternatively, built-in keyboard support can be disabled using `keyboardSupport: false`.
- Added: Built-in keyboard support (#724)
- Added: `.noUi-touch-area` element (#924)
- Fixed: Dragging a range does not check for handle disabled state (#938)
- Fixed: Incorrect CSS transform in pips (#931)

### 12.1.0 (*2018-10-25*)
- Added: `unconstrained` behaviour (#747, #815, #913)
- Added: `setHandle` API (#917)
Expand Down Expand Up @@ -159,4 +169,5 @@ is enough:

```
import 'nouislider';
import 'nouislider/distribute/nouislider.css';
```
8 changes: 6 additions & 2 deletions distribute/nouislider.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! nouislider - 12.1.0 - 10/25/2018 */
/*! nouislider - 12.1.0 - 2/6/2019 */
/* Functional styling;
* These styles are required for noUiSlider to function.
* You don't need to change these rules to apply your design.
Expand Down Expand Up @@ -64,6 +64,10 @@ html:not([dir="rtl"]) .noUi-horizontal .noUi-origin {
.noUi-handle {
position: absolute;
}
.noUi-touch-area {
height: 100%;
width: 100%;
}
.noUi-state-tap .noUi-connect,
.noUi-state-tap .noUi-origin {
-webkit-transition: transform 0.3s;
Expand Down Expand Up @@ -242,7 +246,7 @@ html:not([dir="rtl"]) .noUi-horizontal .noUi-handle {
}
.noUi-value-vertical {
-webkit-transform: translate(0, -50%);
transform: translate(0, -50%, 0);
transform: translate(0, -50%);
padding-left: 25px;
}
.noUi-rtl .noUi-value-vertical {
Expand Down
Loading

0 comments on commit a14d717

Please sign in to comment.