Skip to content

Commit

Permalink
5.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinH committed Oct 22, 2016
1 parent d19a4dd commit c39e7e7
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 5.8.0 (2016-10-22)
## Features
- Handle Date object in stepsArray (#424 )

## Fixes
- Fix style for disabled range slider and ticks (#394)
- Fix slider goes back when moved and scaled (#346)

# 5.7.0 (2016-10-16)
## Features
- Add a `logScale` option to display the slider using a logarithmic scale (#280).
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,12 +301,14 @@ $scope.slider = {
**stepsArray** - _Array_: If you want to display a slider with non linear/number steps.
Just pass an array with each slider value and that's it; the floor, ceil and step settings of the slider will be computed automatically. By default, the `rz-slider-model` and `rz-slider-high` values will be the value of the selected item in the stepsArray. They can also be bound to the index of the selected item by setting the `bindIndexForStepsArray` option to `true`.

`stepsArray` can also be an array of objects like:
`stepsArray` can also be an array of objects or Dates like:

```js
[
{value: 'A'}, // the display value will be *A*
{value: 10, legend: 'Legend for 10'} // the display value will be 10 and a legend will be displayed under the corresponding tick.
{value: 10, legend: 'Legend for 10'}, // the display value will be 10 and a legend will be displayed under the corresponding tick.
new Date(2016, 7, 12), // the display value will be the default format of Date. To customize it, use the `translate` option
{value: new Date(2016, 7, 12), legend: 'Legend for 10'} // same as above but with a legend
]
````

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angularjs-slider",
"version": "5.7.0",
"version": "5.8.0",
"homepage": "https://github.com/angular-slider/angularjs-slider",
"authors": [
"Rafal Zajac <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion dist/rzslider.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! angularjs-slider - v5.7.0 -
/*! angularjs-slider - v5.8.0 -
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
https://github.com/angular-slider/angularjs-slider -
2016-10-22 */
Expand Down
2 changes: 1 addition & 1 deletion dist/rzslider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! angularjs-slider - v5.7.0 -
/*! angularjs-slider - v5.8.0 -
(c) Rafal Zajac <[email protected]>, Valentin Hervieu <[email protected]>, Jussi Saarivirta <[email protected]>, Angelin Sirbu <[email protected]> -
https://github.com/angular-slider/angularjs-slider -
2016-10-22 */
Expand Down
2 changes: 1 addition & 1 deletion dist/rzslider.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/rzslider.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angularjs-slider",
"version": "5.7.0",
"version": "5.8.0",
"description": "AngularJS slider directive with no external dependencies. Mobile friendly!.",
"main": "dist/rzslider.js",
"repository": {
Expand Down

0 comments on commit c39e7e7

Please sign in to comment.