- New Feature Show pointer cursor on slider ticks. See here for further details. Thanks to Erik Demaine.
- Bug Fix Allow any value on logarithmic scale. See here for further details. Fixes this bug. Thanks to James Mason.
- Documentation Fix: Adds note about lack of current Bootstrap 4 compatability. See here for further details. Thanks to Anders Olsson.
- Documentation Fix: Increases clarity around when alternate namespace is bound. See here for further details. Thanks to putrefactio.
- New Feature Show pointer cursor on slider handle. See here for further details. Thanks to David Lesieur.
- Bug Fix Fixes an issue when determining mouse coords when pageXOffset >= 0 . See here for further details. Fixes this bug. Thanks to x-yuri.
- Bug Fix Fixing an issue where DOM elements were being selected on slide in FF and IE. See here for further details. Fixes this bug. Thanks to Andreas Wulf.
- Bug Fix Refactoring tooltip CSS to use
transform
for positioning. See here for further details. Fixes this bug. Thanks to wismill.
- Build pipeline change Refactoring bootstrap files to come from
node_modules
instead ofdependencies
directory so latest changes are reflected. See here for further details. Thanks to Sebastiaan ten Pas.
- Bug Fix LESS/CSS: Bug fix for mixin. See here for further details. Thanks to Arman Poghosyan.
- New Feature LESS/CSS: refactor colors into variables file. See here for further details. Thanks to Joseph Marikle.
- Bug Fix Addresses issue where the max value calculation was wrong due to the cutoff when the
max
option value was not a multiple of thestep
option value. See here for further details. Thanks to Thomas Haitzer.
- New Feature: Ability to add a custom class to the ranges of a slider with the
rangeHightlights
option specified. See the PR for further details.. Thanks to jccode.
- Updates grunt dependency from version
0.4.4
to^0.4.5
.
- Bug Fix Resolves PhantomJS error that was occurring while running the unit test suite. See here for further details.
- Tooling Update Updates unit test suite to Jasmine 2.x.x by updating the grunt-contrib-jasmine dependency from version
0.5.2
to1.0.3
.
- Bug Fix Resolves accesibility issue in range sliders. See here for further details. Thanks to Jerry (jerrylow).
- Adds in CodeClimate integration. Thanks to Scott Larkin.
- Examples Page: Fixes code snippet for Example 6. Thanks to Sergey Mezentsev.
- Bug Fix Resolves "'slider' of undefined" error. See here for further details. Thanks to Guto Sanches.
- Examples Page: Adds syntax highlighting to code snippets on Examples page
- Examples Page: Adds anchor tags to each example. For example, navigating to http://seiyria.com/bootstrap-slider/#example-10 will now load the page at Example #10.
- Examples Page: Fixed code snippet in Example #14 based on feedback from this comment.
- Performance Enhancement Use passive event listeners for touch-enabled devices. See here for further details. Thanks to Chris Hallberg.
- Add an explicit
grunt lint
command to run Lint check on all source files and execute it in the NPMpretest
script.
- Updating current year references in license from 2016 -> 2017.
- Adds in linting for SASS and LESS files in order to catch common syntax errors at CI step versus compile time.
- Bug Fix: Resolve issue with SASS file compilation. See here for further details. Thanks to Schepotin for reporting.
- New Feature: Adds ability to set direction (using HTML5
dir
attribute). See here for further details. Thanks to Denis Chenu.
- Bug Fix: Fixes issue where dragging slider handle outside of modal and releasing cursor would close the modal. See original issue for further details. Thanks to ZeVS777.
- Bug Fix: Fixes typo from previous update to SCSS rules. Thanks to Julien Bachmann.
- Bug Fix: Fixes SCSS rules. See original issue for further details. Thanks to Julien Bachmann.
- Bug Fix: Removes
'none'
classes after selection change. See here for further details. Thanks to John Clarke.
- New Feature: Adds
aria-valuetext
attribute to each slider handle element, which is set to be the current formatted value of the slider (based on theformatter
option). See here for further details. Thanks to mediaformat.
- Documentation Fix: Fixing an inconsistency with the licensing information in our source files. See here for further details. Thanks to Tom Yue for identifying this issue.
- New Feature: Adds the ability to set the slider value using stringified numbers. See here for further details. Thanks to Ryan Bruns
- Bug Fix: Fixes reported bug where a slider was unable to be destroyed and re-created if there were event listeners bound to it. See here for further details.
- New Feature: Adds the ability to enable/disable tooltips when hovering over ticks via the
ticks_tooltip
option. See here for further details. Thanks to Ryan Bruns
- Bug Fix: Resolves issue where range highlights were not being applied properly for reversed sliders. See here for further details. Thanks to Bernard Gorman
- New Feature: Adding the ability to target certain ranges of the slider track via CSS in order to highlight them. See here for further details. Thanks to lipoczkit
- Bug Fix: Checks for
window
object before attempting to attachconsole
polyfills. Resolves this issue
- Accidental publish
- Bug Fix: Adds
.npmignore
file to repository. Resolves this issue
- New Feature: Always binding to the
$.fn.bootstrapSlider
namespace and printing a console warning when the$.fn.slider
namespace is already bound. Idea came from discussion in this issue
- New Feature: Wraps all of the ticks within a single container element with the class
.slider-tick-container
as opposed to being within the.slider-track
element. This enables individual ticks to be more easily targeted with CSS selectors such asnth-of-type(n)
. Idea came from discussion in this issue
- Revert: Reverting bug fix made in
7.0.4 - 7.0.5
because it breaks UMD module definition and r.js build tool as reported in this issue. Updated README to address how to stub out optional JQuery dependency for Webpack builds.
- New Feature: Allow LESS/SASS variables to be overridden, but fall back to defaults if needed. See here for further details. Thanks to Jonathan Rehm (jkrehm)
- Bug Fix: Changes webpack AMD build error on define() for optional jQuery dependency to be a warning, which allows webpack builds to be completed. See here for further details. Thanks to Tomi Saarinen (TomiS)
- Bug Fix: Fixes overlap issue with range slider. See here for further details. Thanks to Jerry (jerrylow)
- Breaking Change: Restructured and refactored SASS source files to eliminate compass dependency and be more organized. Thanks to Jacob van Mourik (jcbvm)
- Bug Fix: Fixes issue where slider accidently scrolls when user taps on mobile device. Thanks to Jerry (jerrylow)
- Bug Fix: Call resize() before layout() within relayout() method, which enables intially hidden sliders to be revealed and behave appropriately. Thanks to Peter (MaZderMind)
- Bug Fix: Fixed horizontal centering issue with labels. Thanks to Josh Guffey
- New Feature: Auto-registering/intializing slider via
data-provide="slider"
attribute. Thanks to MaZderMind - Adding Github Templates for Issues, Pull Requests, and Contributions
- Bug Fix: Attempted Bug fix from 6.0.11 was refined to ensure so side effects.
- Bug Fix: _setText() defaults to
.textContent
vs.innerHTML
. Thanks to gio-js
- Reverted Bug fix from prior release
- Bug fix: Slider was not scrolling properly when nested inside of scrollable container. Thanks to serbiant
- Bug fix: Race condition in
setValue()
where slider value was being set afterchange
andslide
events were being triggered. Thanks to glaszig
- Bug fix: When
tooltip_position
option is set to"bottom"
on a slider with multiple split handles, position both tooltips below the slider. Thanks to Martin Hesslund
- bower.json: changing "main" to reference /dist/bootstrap-slider.js
- package.json: changing "main" to point at proper file path
- Moving all source code to
/src
directory - Transpiling JS with Babel
- Adding
Other Guidelines
section to CONTRIBUTING.MD - Updating README with Grunt CLI tasks
- Update postpublish script to reference transpiled code
- Freezing dependency versions (this allows us to ensure the module and grunt tasks always have consistent/repeatable behavior)
- Adding an
.nvmrc
file for Node 5.x.x. This version of node comes with NPM 3.x.x, which creates a flat dependency tree fornode_modules
, which basically eliminates the need for bower as our client-side deps management solution
- Restoring bootstrap depedency to bower.json file (Fixes issue with
grunt prod
task)
- Bug fix: Ticks now reposition themselves during window resize - Thanks to Zachary Siswick