|
525
|
1 |
Slider Change History |
|
|
2 |
===================== |
|
|
3 |
|
|
|
4 |
3.10.3 |
|
|
5 |
------ |
|
|
6 |
|
|
|
7 |
* No changes. |
|
|
8 |
|
|
|
9 |
3.10.2 |
|
|
10 |
------ |
|
|
11 |
|
|
|
12 |
* No changes. |
|
|
13 |
|
|
|
14 |
3.10.1 |
|
|
15 |
------ |
|
|
16 |
|
|
|
17 |
* No changes. |
|
|
18 |
|
|
|
19 |
3.10.0 |
|
|
20 |
------ |
|
|
21 |
|
|
|
22 |
* No changes. |
|
|
23 |
|
|
|
24 |
3.9.1 |
|
|
25 |
----- |
|
|
26 |
|
|
|
27 |
* No changes. |
|
|
28 |
|
|
|
29 |
3.9.0 |
|
|
30 |
----- |
|
|
31 |
* No changes. |
|
|
32 |
|
|
|
33 |
3.8.1 |
|
|
34 |
----- |
|
|
35 |
|
|
|
36 |
* No changes. |
|
|
37 |
|
|
|
38 |
3.8.0 |
|
|
39 |
----- |
|
|
40 |
|
|
|
41 |
* No changes. |
|
|
42 |
|
|
|
43 |
3.7.3 |
|
|
44 |
----- |
|
|
45 |
|
|
|
46 |
* No changes. |
|
|
47 |
|
|
|
48 |
3.7.2 |
|
|
49 |
----- |
|
|
50 |
|
|
|
51 |
* No changes. |
|
|
52 |
|
|
|
53 |
3.7.1 |
|
|
54 |
----- |
|
|
55 |
|
|
|
56 |
* No changes. |
|
|
57 |
|
|
|
58 |
3.7.0 |
|
|
59 |
----- |
|
|
60 |
|
|
|
61 |
* No changes. |
|
|
62 |
|
|
|
63 |
3.6.0 |
|
|
64 |
----- |
|
|
65 |
|
|
|
66 |
* `new Y.Slider({ disabled: true })` now locks thumb [#2532100] |
|
|
67 |
|
|
|
68 |
3.5.1 |
|
|
69 |
----- |
|
|
70 |
|
|
|
71 |
* No Changes. |
|
|
72 |
|
|
|
73 |
3.5.1 |
|
|
74 |
----- |
|
|
75 |
|
|
|
76 |
* No changes. |
|
|
77 |
|
|
|
78 |
3.5.0 |
|
|
79 |
----- |
|
|
80 |
|
|
|
81 |
* Added ARIA roles and states [#2528788] |
|
|
82 |
* Added keyboard support. Arrows, pageUp/Down, home/end [#2528788] |
|
|
83 |
* Fixed a bug where set('value', x) could be ignored if the max - min was |
|
|
84 |
less than the configured length. [#2531498] |
|
|
85 |
* Added click on thumb or clickable rail gives the thumb focus, allowing |
|
|
86 |
keyboard access. [#2531569] |
|
|
87 |
|
|
|
88 |
3.4.1 |
|
|
89 |
----- |
|
|
90 |
|
|
|
91 |
* No changes. |
|
|
92 |
|
|
|
93 |
3.4.0 |
|
|
94 |
----- |
|
|
95 |
|
|
|
96 |
* No changes. |
|
|
97 |
|
|
|
98 |
3.3.0 |
|
|
99 |
----- |
|
|
100 |
|
|
|
101 |
* Default `thumbUrl` no longer broken when using the seed file from the combo |
|
|
102 |
service. |
|
|
103 |
|
|
|
104 |
3.2.0 |
|
|
105 |
----- |
|
|
106 |
|
|
|
107 |
* Leverages touch events when the UA supports them. |
|
|
108 |
|
|
|
109 |
* (un)Swapped skin files for `audio` and `audio-light` skins. |
|
|
110 |
|
|
|
111 |
3.1.1 |
|
|
112 |
----- |
|
|
113 |
|
|
|
114 |
* No changes. |
|
|
115 |
|
|
|
116 |
3.1.0 |
|
|
117 |
----- |
|
|
118 |
|
|
|
119 |
* [!] Major refactoring. Broken into `SliderBase`, `ClickableRail`, and |
|
|
120 |
`SliderValueRange` classes, and `Y.Slider` is the product of |
|
|
121 |
`Y.Base.build(…)` of these. `SliderBase` is responsible for rendering the UI |
|
|
122 |
and broadcasting `slideStart`, `slideEnd`, and `thumbMove` events. |
|
|
123 |
`ClickableRail` adds support for clicking on the `rail` to move the `thumb`. |
|
|
124 |
`SliderValueRange` adds support for `min`, `max`, and `value` attributes. |
|
|
125 |
Values are integers ranging from 0 to 100 by default. `Base.build()` in |
|
|
126 |
different value algorithms or extensions to specialize from `SliderBase`. |
|
|
127 |
|
|
|
128 |
* [!] `railSize` attribute renamed to `length`. |
|
|
129 |
|
|
|
130 |
* [!] `maxGutter` and `minGutter` attributes removed. Use CSS and/or apply |
|
|
131 |
manually via `slider._dd.con.set('gutter', …);`. |
|
|
132 |
|
|
|
133 |
* [!] `rail`, `thumb`, `thumbImg` `Node` attributes removed, as well as |
|
|
134 |
`HTML_PARSER` support. Progressive enhancement stems from a value source, |
|
|
135 |
not a markup source. Various progressive enhancement extensions will arrive |
|
|
136 |
in future versions. |
|
|
137 |
|
|
|
138 |
* Sam skin updated and 7 new skins added (`sam-dark`, `round`, `round-dark`, |
|
|
139 |
`capsule`, `capsule-dark`, `audio`, `audio-light`). |
|
|
140 |
|
|
|
141 |
* New markup and CSS structure including separate shadow image (set to same |
|
|
142 |
image as thumb, positioned via CSS ala sprite. |
|
|
143 |
|
|
|
144 |
* Thumb placement method changed from `setXY()` and `DD` positioning methods |
|
|
145 |
to simpler `setStyle('left', x)` or `top` for vertical Sliders. Allows |
|
|
146 |
rendering and modifying in hidden containers without the need to `syncUI()` |
|
|
147 |
when making visible. Still recommended to call `syncUI()` if rendered off |
|
|
148 |
DOM, but may not be necessary if using Sam skin. YMMV. |
|
|
149 |
|
|
|
150 |
3.0.0 |
|
|
151 |
----- |
|
|
152 |
|
|
|
153 |
* Removed noop `_setValueFn()` and the setter config for the `value` |
|
|
154 |
attribute. |
|
|
155 |
|
|
|
156 |
* Renamed static protected `AXIS_KEYS` to `_AXIS_KEYS`. |
|
|
157 |
|
|
|
158 |
* Renamed `_defUpdateValueFromDD` to `_defThumbDragFn` per naming conventions. |
|
|
159 |
|
|
|
160 |
* Added `_convertOffsetToValue` to mirror `_convertValueToOffset`. |
|
|
161 |
|
|
|
162 |
3.0.0beta1 |
|
|
163 |
---------- |
|
|
164 |
|
|
|
165 |
* Renamed the `valueSet` custom event to `positionThumb` and rejiggered the |
|
|
166 |
logic of the default function and support methods. |
|
|
167 |
|
|
|
168 |
* renamed `_defSyncUI` to `_defSyncFn` for library nomenclature consistency. |
|
|
169 |
|
|
|
170 |
* Added protected `_convertValueToOffset` to help position the thumb. |
|
|
171 |
|
|
|
172 |
* Set `bubble: false` on the `DD.Drag` instance. |
|
|
173 |
|
|
|
174 |
3.0.0pr2 |
|
|
175 |
-------- |
|
|
176 |
|
|
|
177 |
* Initial release. |