Skip to content

Commit

Permalink
noUiSlider 14.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
leongersen committed May 6, 2020
1 parent 452a990 commit a3c2b42
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### 14.4.0 (*2020-05-06*)
- Added: `getOrigins` and `getTooltips` methods;
- Added: Default styling to support merging overlapping tooltips (#1032);

### 14.3.0 (*2020-05-05*)
- Added: Default `cssClasses` are now exposed and can be modified;
- Fixed: Destroying sliders with multiple classes in `cssClasses` fails (#1069);
Expand Down
14 changes: 13 additions & 1 deletion distribute/nouislider.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! nouislider - 14.3.0 - 5/5/2020 */
/*! nouislider - 14.4.0 - 5/6/2020 */
/* 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 @@ -296,3 +296,15 @@
top: 50%;
right: 120%;
}
.noUi-horizontal .noUi-origin > .noUi-tooltip {
-webkit-transform: translate(50%, 0);
transform: translate(50%, 0);
left: auto;
bottom: 10px;
}
.noUi-vertical .noUi-origin > .noUi-tooltip {
-webkit-transform: translate(0, -18px);
transform: translate(0, -18px);
top: auto;
right: 28px;
}
10 changes: 8 additions & 2 deletions distribute/nouislider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! nouislider - 14.3.0 - 5/5/2020 */
/*! nouislider - 14.4.0 - 5/6/2020 */
(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD. Register as an anonymous module.
Expand All @@ -13,7 +13,7 @@
})(function() {
"use strict";

var VERSION = "14.3.0";
var VERSION = "14.4.0";

//region Helper Methods

Expand Down Expand Up @@ -2490,6 +2490,12 @@
target: scope_Target, // Issue #597
removePips: removePips,
removeTooltips: removeTooltips,
getTooltips: function() {
return scope_Tooltips;
},
getOrigins: function() {
return scope_Handles;
},
pips: pips // Issue #594
};

Expand Down
4 changes: 2 additions & 2 deletions distribute/nouislider.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 distribute/nouislider.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": "nouislider",
"version": "14.3.0",
"version": "14.4.0",
"main": "distribute/nouislider.js",
"style": "distribute/nouislider.min.css",
"license": "MIT",
Expand Down

0 comments on commit a3c2b42

Please sign in to comment.