17
* Default `thumbUrl` no longer broken when using the seed file from the combo
23
* Leverages touch events when the UA supports them.
25
* (un)Swapped skin files for `audio` and `audio-light` skins.
35
* [!] Major refactoring. Broken into `SliderBase`, `ClickableRail`, and
36
`SliderValueRange` classes, and `Y.Slider` is the product of
37
`Y.Base.build(…)` of these. `SliderBase` is responsible for rendering the UI
38
and broadcasting `slideStart`, `slideEnd`, and `thumbMove` events.
39
`ClickableRail` adds support for clicking on the `rail` to move the `thumb`.
40
`SliderValueRange` adds support for `min`, `max`, and `value` attributes.
41
Values are integers ranging from 0 to 100 by default. `Base.build()` in
42
different value algorithms or extensions to specialize from `SliderBase`.
44
* [!] `railSize` attribute renamed to `length`.
46
* [!] `maxGutter` and `minGutter` attributes removed. Use CSS and/or apply
47
manually via `slider._dd.con.set('gutter', …);`.
49
* [!] `rail`, `thumb`, `thumbImg` `Node` attributes removed, as well as
50
`HTML_PARSER` support. Progressive enhancement stems from a value source,
51
not a markup source. Various progressive enhancement extensions will arrive
54
* Sam skin updated and 7 new skins added (`sam-dark`, `round`, `round-dark`,
55
`capsule`, `capsule-dark`, `audio`, `audio-light`).
57
* New markup and CSS structure including separate shadow image (set to same
58
image as thumb, positioned via CSS ala sprite.
60
* Thumb placement method changed from `setXY()` and `DD` positioning methods
61
to simpler `setStyle('left', x)` or `top` for vertical Sliders. Allows
62
rendering and modifying in hidden containers without the need to `syncUI()`
63
when making visible. Still recommended to call `syncUI()` if rendered off
64
DOM, but may not be necessary if using Sam skin. YMMV.
69
* Removed noop `_setValueFn()` and the setter config for the `value`
72
* Renamed static protected `AXIS_KEYS` to `_AXIS_KEYS`.
74
* Renamed `_defUpdateValueFromDD` to `_defThumbDragFn` per naming conventions.
76
* Added `_convertOffsetToValue` to mirror `_convertValueToOffset`.
81
* Renamed the `valueSet` custom event to `positionThumb` and rejiggered the
82
logic of the default function and support methods.
84
* renamed `_defSyncUI` to `_defSyncFn` for library nomenclature consistency.
86
* Added protected `_convertValueToOffset` to help position the thumb.
88
* Set `bubble: false` on the `DD.Drag` instance.