@enact/spotlight 3.4.9-experimental-3 → 3.4.9-experimental-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{build/Accelerator → Accelerator}/Accelerator.d.ts +0 -0
- package/Accelerator/Accelerator.js +149 -156
- package/CHANGELOG.md +22 -0
- package/{build/Pause → Pause}/Pause.d.ts +0 -0
- package/Pause/Pause.js +102 -80
- package/Pause/tests/Pause-specs.js +65 -97
- package/SpotlightContainerDecorator/SpotlightContainer.js +175 -140
- package/{build/SpotlightContainerDecorator → SpotlightContainerDecorator}/SpotlightContainerDecorator.d.ts +0 -0
- package/SpotlightContainerDecorator/SpotlightContainerDecorator.js +222 -176
- package/SpotlightContainerDecorator/tests/Element.prototype.closest.js +44 -40
- package/SpotlightContainerDecorator/tests/SpotlightContainerDecorator-specs.js +221 -210
- package/SpotlightContainerDecorator/tests/useSpotlightContainer-specs.js +150 -243
- package/SpotlightContainerDecorator/useSpotlightContainer.js +47 -28
- package/{build/SpotlightRootDecorator → SpotlightRootDecorator}/SpotlightRootDecorator.d.ts +0 -0
- package/SpotlightRootDecorator/SpotlightRootDecorator.js +206 -111
- package/{build/Spottable → Spottable}/Spottable.d.ts +0 -0
- package/Spottable/Spottable.js +448 -410
- package/Spottable/tests/Spottable-specs.js +90 -117
- package/package.json +3 -2
- package/src/container.js +718 -653
- package/src/navigate.js +406 -491
- package/src/pointer.js +86 -78
- package/{build/src → src}/spotlight.d.ts +0 -0
- package/src/spotlight.js +846 -885
- package/src/target.js +448 -474
- package/src/tests/container-specs.js +643 -1251
- package/src/tests/navigate-specs.js +77 -134
- package/src/tests/pointer-specs.js +126 -182
- package/src/tests/spotlight-specs.js +103 -133
- package/src/tests/target-specs.js +597 -960
- package/src/tests/utils.js +89 -67
- package/src/utils.js +155 -158
- package/build/Accelerator/Accelerator.js +0 -162
- package/build/Accelerator/package.json +0 -3
- package/build/CHANGELOG.md +0 -838
- package/build/Pause/Pause.js +0 -164
- package/build/Pause/package.json +0 -3
- package/build/Pause/tests/Pause-specs.js +0 -65
- package/build/README.md +0 -61
- package/build/SpotlightContainerDecorator/SpotlightContainer.js +0 -176
- package/build/SpotlightContainerDecorator/SpotlightContainerDecorator.js +0 -282
- package/build/SpotlightContainerDecorator/package.json +0 -3
- package/build/SpotlightContainerDecorator/tests/Element.prototype.closest.js +0 -45
- package/build/SpotlightContainerDecorator/tests/SpotlightContainerDecorator-specs.js +0 -221
- package/build/SpotlightContainerDecorator/tests/useSpotlightContainer-specs.js +0 -160
- package/build/SpotlightContainerDecorator/useSpotlightContainer.js +0 -133
- package/build/SpotlightRootDecorator/SpotlightRootDecorator.js +0 -189
- package/build/SpotlightRootDecorator/package.json +0 -3
- package/build/Spottable/Spottable.js +0 -491
- package/build/Spottable/package.json +0 -3
- package/build/Spottable/tests/Spottable-specs.js +0 -90
- package/build/package-lock.json +0 -229
- package/build/package.json +0 -28
- package/build/src/container.js +0 -1201
- package/build/src/navigate.js +0 -419
- package/build/src/pointer.js +0 -183
- package/build/src/spotlight.js +0 -896
- package/build/src/target.js +0 -507
- package/build/src/tests/container-specs.js +0 -653
- package/build/src/tests/navigate-specs.js +0 -87
- package/build/src/tests/pointer-specs.js +0 -130
- package/build/src/tests/spotlight-specs.js +0 -112
- package/build/src/tests/target-specs.js +0 -614
- package/build/src/tests/utils.js +0 -104
- package/build/src/utils.js +0 -180
- package/build/styles/debug.less +0 -97
- package/build/styles/mixins.less +0 -63
- package/docs/index.md +0 -364
package/build/CHANGELOG.md
DELETED
|
@@ -1,838 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
The following is a curated list of changes in the Enact spotlight module, newest changes on the top.
|
|
4
|
-
|
|
5
|
-
## [3.4.9-experimental-3] - 2021-01-26
|
|
6
|
-
|
|
7
|
-
### Fixed
|
|
8
|
-
|
|
9
|
-
- `spotlight/SpotlightRootDecorator` to show focus effect when `enter` key is pressed in touch mode
|
|
10
|
-
|
|
11
|
-
## [3.4.9-experimental-2] - 2020-12-03
|
|
12
|
-
|
|
13
|
-
### Fixed
|
|
14
|
-
|
|
15
|
-
- `spotlight/SpotlightRootDecorator` to ignore `enter` key in touch mode
|
|
16
|
-
|
|
17
|
-
## [3.4.9-experimental-1] - 2020-11-19
|
|
18
|
-
|
|
19
|
-
### Changed
|
|
20
|
-
|
|
21
|
-
- `spotlight/SpotlightRootDecorator` to remove focus effect when touching up
|
|
22
|
-
|
|
23
|
-
## [3.4.9] - 2020-10-30
|
|
24
|
-
|
|
25
|
-
No significant changes.
|
|
26
|
-
|
|
27
|
-
## [3.4.8] - 2020-10-08
|
|
28
|
-
|
|
29
|
-
No significant changes.
|
|
30
|
-
|
|
31
|
-
## [3.4.7] - 2020-09-01
|
|
32
|
-
|
|
33
|
-
No significant changes.
|
|
34
|
-
|
|
35
|
-
## [3.4.6] - 2020-08-24
|
|
36
|
-
|
|
37
|
-
### Fixed
|
|
38
|
-
|
|
39
|
-
- `spotlight` to correctly prioritize next spottable elements when wrapped by a container that does not also wrap the currently focused element
|
|
40
|
-
- `spotlight` to restore focus to last focused elements in an overflow container if they are visible
|
|
41
|
-
|
|
42
|
-
## [3.4.5] - 2020-08-18
|
|
43
|
-
|
|
44
|
-
### Fixed
|
|
45
|
-
|
|
46
|
-
- `spotlight/SpotlightContainerDecorator` to allow use of `ref`
|
|
47
|
-
|
|
48
|
-
## [3.4.4] - 2020-08-17
|
|
49
|
-
|
|
50
|
-
No significant changes.
|
|
51
|
-
|
|
52
|
-
## [3.4.3] - 2020-08-10
|
|
53
|
-
|
|
54
|
-
No significant changes.
|
|
55
|
-
|
|
56
|
-
## [3.4.2] - 2020-08-05
|
|
57
|
-
|
|
58
|
-
No significant changes.
|
|
59
|
-
|
|
60
|
-
## [3.4.1] - 2020-08-05
|
|
61
|
-
|
|
62
|
-
No significant changes.
|
|
63
|
-
|
|
64
|
-
## [3.4.0] - 2020-07-29
|
|
65
|
-
|
|
66
|
-
No significant changes.
|
|
67
|
-
|
|
68
|
-
## [3.3.1] - 2020-07-20
|
|
69
|
-
|
|
70
|
-
### Fixed
|
|
71
|
-
|
|
72
|
-
- `spotlight/Spottable` to correctly control focus when elements move under a stationary pointer
|
|
73
|
-
|
|
74
|
-
## [3.3.0] - 2020-07-13
|
|
75
|
-
|
|
76
|
-
No significant changes.
|
|
77
|
-
|
|
78
|
-
## [3.3.0-alpha.15] - 2020-07-07
|
|
79
|
-
|
|
80
|
-
No significant changes.
|
|
81
|
-
|
|
82
|
-
## [3.3.0-alpha.14] - 2020-06-29
|
|
83
|
-
|
|
84
|
-
No significant changes.
|
|
85
|
-
|
|
86
|
-
## [3.3.0-alpha.13] - 2020-06-22
|
|
87
|
-
|
|
88
|
-
### Fixed
|
|
89
|
-
|
|
90
|
-
- `spotlight` to trigger `onLeaveContainerFail` when `leaveFor` prevents navigation
|
|
91
|
-
- `spotlight` to correctly maintain pointer mode on webOS
|
|
92
|
-
|
|
93
|
-
## [3.3.0-alpha.12] - 2020-06-15
|
|
94
|
-
|
|
95
|
-
No significant changes.
|
|
96
|
-
|
|
97
|
-
## [3.3.0-alpha.11] - 2020-06-08
|
|
98
|
-
|
|
99
|
-
No significant changes.
|
|
100
|
-
|
|
101
|
-
## [3.3.0-alpha.10] - 2020-05-26
|
|
102
|
-
|
|
103
|
-
No significant changes.
|
|
104
|
-
|
|
105
|
-
## [3.3.0-alpha.9] - 2020-05-11
|
|
106
|
-
|
|
107
|
-
No significant changes.
|
|
108
|
-
|
|
109
|
-
## [3.3.0-alpha.8] - 2020-05-04
|
|
110
|
-
|
|
111
|
-
No significant changes.
|
|
112
|
-
|
|
113
|
-
## [3.3.0-alpha.7] - 2020-04-27
|
|
114
|
-
|
|
115
|
-
No significant changes.
|
|
116
|
-
|
|
117
|
-
## [3.3.0-alpha.6] - 2020-04-14
|
|
118
|
-
|
|
119
|
-
No significant changes.
|
|
120
|
-
|
|
121
|
-
## [3.3.0-alpha.5] - 2020-04-06
|
|
122
|
-
|
|
123
|
-
No significant changes.
|
|
124
|
-
|
|
125
|
-
## [3.3.0-alpha.4] - 2020-03-30
|
|
126
|
-
|
|
127
|
-
No significant changes.
|
|
128
|
-
|
|
129
|
-
## [3.3.0-alpha.3] - 2020-03-17
|
|
130
|
-
|
|
131
|
-
No significant changes.
|
|
132
|
-
|
|
133
|
-
## [3.3.0-alpha.2] - 2020-03-09
|
|
134
|
-
|
|
135
|
-
No significant changes.
|
|
136
|
-
|
|
137
|
-
## [3.3.0-alpha.1] - 2020-02-26
|
|
138
|
-
|
|
139
|
-
No significant changes.
|
|
140
|
-
|
|
141
|
-
## [3.2.6] - 2020-03-26
|
|
142
|
-
|
|
143
|
-
No significant changes.
|
|
144
|
-
|
|
145
|
-
## [3.2.5] - 2019-11-14
|
|
146
|
-
|
|
147
|
-
No significant changes.
|
|
148
|
-
|
|
149
|
-
## [3.2.4] - 2019-11-07
|
|
150
|
-
|
|
151
|
-
No significant changes.
|
|
152
|
-
|
|
153
|
-
## [3.2.3] - 2019-11-01
|
|
154
|
-
|
|
155
|
-
No significant changes.
|
|
156
|
-
|
|
157
|
-
## [3.2.2] - 2019-10-24
|
|
158
|
-
|
|
159
|
-
No significant changes.
|
|
160
|
-
|
|
161
|
-
## [3.2.1] - 2019-10-22
|
|
162
|
-
|
|
163
|
-
No significant changes.
|
|
164
|
-
|
|
165
|
-
## [3.2.0] - 2019-10-18
|
|
166
|
-
|
|
167
|
-
No significant changes.
|
|
168
|
-
|
|
169
|
-
## [3.1.3] - 2019-10-09
|
|
170
|
-
|
|
171
|
-
No significant changes.
|
|
172
|
-
|
|
173
|
-
## [3.1.2] - 2019-09-30
|
|
174
|
-
|
|
175
|
-
No significant changes.
|
|
176
|
-
|
|
177
|
-
## [3.1.1] - 2019-09-23
|
|
178
|
-
|
|
179
|
-
No significant changes.
|
|
180
|
-
|
|
181
|
-
## [3.1.0] - 2019-09-16
|
|
182
|
-
|
|
183
|
-
### Added
|
|
184
|
-
|
|
185
|
-
- `spotlight` support for passing a spottable node or a container node or selector to `Spotlight.focus()`
|
|
186
|
-
|
|
187
|
-
## [3.0.1] - 2019-09-09
|
|
188
|
-
|
|
189
|
-
No significant changes.
|
|
190
|
-
|
|
191
|
-
## [3.0.0] - 2019-09-03
|
|
192
|
-
|
|
193
|
-
### Fixed
|
|
194
|
-
|
|
195
|
-
- `spotlight` TypeScript signatures
|
|
196
|
-
|
|
197
|
-
## [3.0.0-rc.4] - 2019-08-22
|
|
198
|
-
|
|
199
|
-
No significant changes.
|
|
200
|
-
|
|
201
|
-
## [3.0.0-rc.3] - 2019-08-15
|
|
202
|
-
|
|
203
|
-
### Fixed
|
|
204
|
-
|
|
205
|
-
- `spotlight` to attempt to restore focus to an element nearest the pointer position when the pointer hides within an overflow container
|
|
206
|
-
|
|
207
|
-
## [3.0.0-rc.2] - 2019-08-08
|
|
208
|
-
|
|
209
|
-
No significant changes.
|
|
210
|
-
|
|
211
|
-
## [3.0.0-rc.1] - 2019-07-31
|
|
212
|
-
|
|
213
|
-
### Changed
|
|
214
|
-
|
|
215
|
-
- `spotlight` containers to include nodes identified on the `aria-owns` attribute of the container node as candidates within that container
|
|
216
|
-
|
|
217
|
-
### Fixed
|
|
218
|
-
|
|
219
|
-
- `spotlight` to attempt to restore focus through ancestor containers when the pointer hides
|
|
220
|
-
|
|
221
|
-
## [3.0.0-beta.2] - 2019-07-23
|
|
222
|
-
|
|
223
|
-
No significant changes.
|
|
224
|
-
|
|
225
|
-
## [3.0.0-beta.1] - 2019-07-15
|
|
226
|
-
|
|
227
|
-
### Fixed
|
|
228
|
-
|
|
229
|
-
- `spotlight/SpotlightContainerDecorator` to correctly forward `onFocusCapture` and `onBlurCapture` events
|
|
230
|
-
|
|
231
|
-
## [3.0.0-alpha.7] - 2019-06-24
|
|
232
|
-
|
|
233
|
-
No significant changes.
|
|
234
|
-
|
|
235
|
-
## [3.0.0-alpha.6] - 2019-06-17
|
|
236
|
-
|
|
237
|
-
No significant changes.
|
|
238
|
-
|
|
239
|
-
## [3.0.0-alpha.5] - 2019-06-10
|
|
240
|
-
|
|
241
|
-
No significant changes.
|
|
242
|
-
|
|
243
|
-
## [3.0.0-alpha.4] - 2019-06-03
|
|
244
|
-
|
|
245
|
-
No significant changes.
|
|
246
|
-
|
|
247
|
-
## [3.0.0-alpha.3] - 2019-05-29
|
|
248
|
-
|
|
249
|
-
No significant changes.
|
|
250
|
-
|
|
251
|
-
## [3.0.0-alpha.2] - 2019-05-20
|
|
252
|
-
|
|
253
|
-
No significant changes.
|
|
254
|
-
|
|
255
|
-
## [3.0.0-alpha.1] - 2019-05-15
|
|
256
|
-
|
|
257
|
-
### Changed
|
|
258
|
-
|
|
259
|
-
- `spotlight/Spottable` to allow disabled items to be focused
|
|
260
|
-
|
|
261
|
-
## [2.6.0] - ???
|
|
262
|
-
|
|
263
|
-
### Fixed
|
|
264
|
-
|
|
265
|
-
- `spotlight` to unspot the current element when tapping on non-spottable target on touch platforms
|
|
266
|
-
|
|
267
|
-
## [2.5.3] - 2019-06-06
|
|
268
|
-
|
|
269
|
-
No significant changes.
|
|
270
|
-
|
|
271
|
-
## [2.5.2] - 2019-04-23
|
|
272
|
-
|
|
273
|
-
No significant changes.
|
|
274
|
-
|
|
275
|
-
## [2.5.1] - 2019-04-09
|
|
276
|
-
|
|
277
|
-
No significant changes.
|
|
278
|
-
|
|
279
|
-
## [2.5.0] - 2019-04-01
|
|
280
|
-
|
|
281
|
-
### Fixed
|
|
282
|
-
|
|
283
|
-
- `spotlight` to guard against runtime errors caused by attempting to access containers that do not exist
|
|
284
|
-
- `spotlight/Spottable` to prevent unnecessary updates due to focus and blur changes
|
|
285
|
-
|
|
286
|
-
## [2.4.1] - 2019-03-11
|
|
287
|
-
|
|
288
|
-
### Fixed
|
|
289
|
-
|
|
290
|
-
- `spotlight` to remain in pointer mode when any 'cancel' key (e.g. Escape or back button) is pressed
|
|
291
|
-
|
|
292
|
-
## [2.4.0] - 2019-03-04
|
|
293
|
-
|
|
294
|
-
### Fixed
|
|
295
|
-
|
|
296
|
-
- `spotlight/Spottable` to prevent unnecessary updates due to focus changes
|
|
297
|
-
|
|
298
|
-
## [2.3.0] - 2019-02-11
|
|
299
|
-
|
|
300
|
-
### Added
|
|
301
|
-
|
|
302
|
-
- `spotlight/Spottable` property `selectionKeys`
|
|
303
|
-
|
|
304
|
-
### Fixed
|
|
305
|
-
|
|
306
|
-
- `spotlight` to improve prioritization of the contents of spotlight containers within overflow containers
|
|
307
|
-
- `spotlight/Spottable` and `spotlight/SpotlightContainerDecorator` to prevent focus when `spotlightDisabled` is set
|
|
308
|
-
- `spotlight/Spottable` to prevent emitting multiple click events when certain node types are selected via 5-way enter
|
|
309
|
-
|
|
310
|
-
## [2.2.9] - 2019-01-11
|
|
311
|
-
|
|
312
|
-
No significant changes.
|
|
313
|
-
|
|
314
|
-
## [2.2.8] - 2018-12-06
|
|
315
|
-
|
|
316
|
-
### Fixed
|
|
317
|
-
|
|
318
|
-
- `spotlight` to focus correctly within an overflow container in which the first element is another container without spottable children
|
|
319
|
-
|
|
320
|
-
## [2.2.7] - 2018-11-21
|
|
321
|
-
|
|
322
|
-
No significant changes.
|
|
323
|
-
|
|
324
|
-
## [2.2.6] - 2018-11-15
|
|
325
|
-
|
|
326
|
-
No significant changes.
|
|
327
|
-
|
|
328
|
-
## [2.2.5] - 2018-11-05
|
|
329
|
-
|
|
330
|
-
No significant changes.
|
|
331
|
-
|
|
332
|
-
## [2.2.4] - 2018-10-29
|
|
333
|
-
|
|
334
|
-
No significant changes.
|
|
335
|
-
|
|
336
|
-
## [2.2.3] - 2018-10-22
|
|
337
|
-
|
|
338
|
-
### Fixed
|
|
339
|
-
|
|
340
|
-
- `spotlight` selection of elements clipped by an overflow container
|
|
341
|
-
|
|
342
|
-
## [2.2.2] - 2018-10-15
|
|
343
|
-
|
|
344
|
-
No significant changes.
|
|
345
|
-
|
|
346
|
-
## [2.2.1] - 2018-10-09
|
|
347
|
-
|
|
348
|
-
### Fixed
|
|
349
|
-
|
|
350
|
-
- `spotlight` navigation into an overflow container which contains elements or containers larger than the container's bounds
|
|
351
|
-
|
|
352
|
-
## [2.2.0] - 2018-10-02
|
|
353
|
-
|
|
354
|
-
### Changed
|
|
355
|
-
|
|
356
|
-
- `spotlight` to not explicitly `blur()` the currently focused element when focusing another, allowing the platform to manage blurring before focus
|
|
357
|
-
|
|
358
|
-
### Fixed
|
|
359
|
-
|
|
360
|
-
- `spotlight` to correctly set focus when the window is activated
|
|
361
|
-
- `spotlight` to correctly set focus when entering a restricted container
|
|
362
|
-
|
|
363
|
-
## [2.1.4] - 2018-09-17
|
|
364
|
-
|
|
365
|
-
### Fixed
|
|
366
|
-
|
|
367
|
-
- `spotlight/Spottable` to respect paused state when it becomes enabled
|
|
368
|
-
|
|
369
|
-
## [2.1.3] - 2018-09-10
|
|
370
|
-
|
|
371
|
-
No significant changes.
|
|
372
|
-
|
|
373
|
-
## [2.1.2] - 2018-09-04
|
|
374
|
-
|
|
375
|
-
### Fixed
|
|
376
|
-
|
|
377
|
-
- `spotlight` to prevent default browser scrolling behavior when focusing elements within a spotlight container configured with `overflow: true`
|
|
378
|
-
|
|
379
|
-
## [2.1.1] - 2018-08-27
|
|
380
|
-
|
|
381
|
-
### Fixed
|
|
382
|
-
|
|
383
|
-
- `spotlight` to correctly handle focus with `'self-only'` containers
|
|
384
|
-
- `spotlight/SpotlightContainerDecorator` to unmount config instead of remove when spotlightId is changed if it preserves id
|
|
385
|
-
|
|
386
|
-
## [2.1.0] - 2018-08-20
|
|
387
|
-
|
|
388
|
-
No significant changes.
|
|
389
|
-
|
|
390
|
-
## [2.0.2] - 2018-08-13
|
|
391
|
-
|
|
392
|
-
### Fixed
|
|
393
|
-
|
|
394
|
-
- `spotlight` to update pointer mode after hiding webOS VKB
|
|
395
|
-
|
|
396
|
-
## [2.0.1] - 2018-08-01
|
|
397
|
-
|
|
398
|
-
### Fixed
|
|
399
|
-
|
|
400
|
-
- `spotlight` to not blur when pointer leaves floating webOS app while paused
|
|
401
|
-
|
|
402
|
-
## [2.0.0] - 2018-07-30
|
|
403
|
-
|
|
404
|
-
### Changed
|
|
405
|
-
|
|
406
|
-
- `spotlight` to default to 5-way mode on initialization
|
|
407
|
-
|
|
408
|
-
### Fixed
|
|
409
|
-
|
|
410
|
-
- `spotlight` to blur when pointer leaves floating webOS app
|
|
411
|
-
- `spotlight` to prevent changing the active container when the currently active container is restricted is "self-only"
|
|
412
|
-
|
|
413
|
-
## [2.0.0-rc.3] - 2018-07-23
|
|
414
|
-
|
|
415
|
-
### Fixed
|
|
416
|
-
|
|
417
|
-
- `spotlight` to track pointer mode while paused
|
|
418
|
-
|
|
419
|
-
## [2.0.0-rc.2] - 2018-07-16
|
|
420
|
-
|
|
421
|
-
### Added
|
|
422
|
-
|
|
423
|
-
- `spotlight` debugging to visualize which components will be targeted as the next component for any 5-way direction
|
|
424
|
-
|
|
425
|
-
## [2.0.0-rc.1] - 2018-07-09
|
|
426
|
-
|
|
427
|
-
No significant changes.
|
|
428
|
-
|
|
429
|
-
## [2.0.0-beta.9] - 2018-07-02
|
|
430
|
-
|
|
431
|
-
No significant changes.
|
|
432
|
-
|
|
433
|
-
## [2.0.0-beta.8] - 2018-06-25
|
|
434
|
-
|
|
435
|
-
### Fixed
|
|
436
|
-
|
|
437
|
-
- `spotlight/Spottable` to retain focus for disabled component after updates
|
|
438
|
-
- `spotlight/Spottable` to emulate `onMouseUp` events that occur immediately after a non-enter key press
|
|
439
|
-
- `spotlight/Spottable` to prevent scroll on focus on webOS
|
|
440
|
-
|
|
441
|
-
## [2.0.0-beta.7] - 2018-06-11
|
|
442
|
-
|
|
443
|
-
No significant changes.
|
|
444
|
-
|
|
445
|
-
## [2.0.0-beta.6] - 2018-06-04
|
|
446
|
-
|
|
447
|
-
### Fixed
|
|
448
|
-
|
|
449
|
-
- `spotlight` to provide more natural 5-way behavior
|
|
450
|
-
- `spotlight` to handle pointer events only when pointer has moved
|
|
451
|
-
- `spotlight` to update the last focused container when unable to set focus within that container
|
|
452
|
-
- `spotlight/Spottable` to not trigger a scroll on focus on webOS
|
|
453
|
-
|
|
454
|
-
## [2.0.0-beta.5] - 2018-05-29
|
|
455
|
-
|
|
456
|
-
No significant changes.
|
|
457
|
-
|
|
458
|
-
## [2.0.0-beta.4] - 2018-05-21
|
|
459
|
-
|
|
460
|
-
### Fixed
|
|
461
|
-
|
|
462
|
-
- `spotlight/Spottable` to not make components spottable when `spotlightDisabled` is set
|
|
463
|
-
|
|
464
|
-
## [2.0.0-beta.3] - 2018-05-14
|
|
465
|
-
|
|
466
|
-
### Fixed
|
|
467
|
-
|
|
468
|
-
- `spotlight` to retry setting focus when the window is activated
|
|
469
|
-
- `spotlight` handling of 5-way events after the pointer hides
|
|
470
|
-
|
|
471
|
-
## [2.0.0-beta.2] - 2018-05-07
|
|
472
|
-
|
|
473
|
-
### Fixed
|
|
474
|
-
|
|
475
|
-
- `spotlight/Spottable` to not add a focused state when a component had already been set as disabled
|
|
476
|
-
|
|
477
|
-
## [2.0.0-beta.1] - 2018-04-29
|
|
478
|
-
|
|
479
|
-
### Changed
|
|
480
|
-
|
|
481
|
-
- `spotlight/Spottable` to retain focus on a component when it becomes disabled while focused
|
|
482
|
-
|
|
483
|
-
## [2.0.0-alpha.8] - 2018-04-17
|
|
484
|
-
|
|
485
|
-
No significant changes.
|
|
486
|
-
|
|
487
|
-
## [2.0.0-alpha.7 - 2018-04-03]
|
|
488
|
-
|
|
489
|
-
### Fixed
|
|
490
|
-
|
|
491
|
-
- `spotlight` to partition and prioritize next spottable elements for more natural 5-way behavior
|
|
492
|
-
|
|
493
|
-
## [2.0.0-alpha.6] - 2018-03-22
|
|
494
|
-
|
|
495
|
-
### Removed
|
|
496
|
-
|
|
497
|
-
- `spotlight/SpotlightContainerDecorator` prop `containerId`, to be replaced by `spotlightId`
|
|
498
|
-
|
|
499
|
-
### Added
|
|
500
|
-
|
|
501
|
-
- `spotlight/Pause` module which acts as a semaphore for spotlight pause state
|
|
502
|
-
- `spotlight/Spottable` prop `spotlightId` to simplify focusing components
|
|
503
|
-
|
|
504
|
-
### Changed
|
|
505
|
-
|
|
506
|
-
- `spotlight/Spotlight.focus` to support focusing by `spotlightId`
|
|
507
|
-
- `spotlight` container attributes `data-container-disabled` and `data-container-muted` to be `data-spotlight-container-disabled` and `data-spotlight-container-muted`, respectively
|
|
508
|
-
|
|
509
|
-
## [2.0.0-alpha.5] - 2018-03-07
|
|
510
|
-
|
|
511
|
-
No significant changes.
|
|
512
|
-
|
|
513
|
-
## [2.0.0-alpha.4] - 2018-02-13
|
|
514
|
-
|
|
515
|
-
### Fixed
|
|
516
|
-
|
|
517
|
-
- `spotlight/Spottable` to not remove `tabindex` from unspottable components to allow blur events to propagate as expected when a component becomes disabled
|
|
518
|
-
- `spotlight/Spottable` to prevent unnecessary updates due to focus changes
|
|
519
|
-
|
|
520
|
-
## [2.0.0-alpha.3] - 2018-01-18
|
|
521
|
-
|
|
522
|
-
No significant changes.
|
|
523
|
-
|
|
524
|
-
## [2.0.0-alpha.2] - 2017-08-29
|
|
525
|
-
|
|
526
|
-
No significant changes.
|
|
527
|
-
|
|
528
|
-
## [2.0.0-alpha.1] - 2017-08-27
|
|
529
|
-
|
|
530
|
-
No significant changes.
|
|
531
|
-
|
|
532
|
-
## [1.15.0] - 2018-02-28
|
|
533
|
-
|
|
534
|
-
No significant changes.
|
|
535
|
-
|
|
536
|
-
## [1.14.0] - 2018-02-23
|
|
537
|
-
|
|
538
|
-
No significant changes.
|
|
539
|
-
|
|
540
|
-
## [1.13.4] - 2018-07-30
|
|
541
|
-
|
|
542
|
-
No significant changes.
|
|
543
|
-
|
|
544
|
-
## [1.13.3] - 2018-01-16
|
|
545
|
-
|
|
546
|
-
No significant changes.
|
|
547
|
-
|
|
548
|
-
## [1.13.2] - 2017-12-14
|
|
549
|
-
|
|
550
|
-
### Fixed
|
|
551
|
-
|
|
552
|
-
- `spotlight` to guard against accessing unconfigured container configurations
|
|
553
|
-
|
|
554
|
-
## [1.13.1] - 2017-12-06
|
|
555
|
-
|
|
556
|
-
No significant changes.
|
|
557
|
-
|
|
558
|
-
## [1.13.0] - 2017-11-28
|
|
559
|
-
|
|
560
|
-
No significant changes.
|
|
561
|
-
|
|
562
|
-
## [1.12.2] - 2017-11-15
|
|
563
|
-
|
|
564
|
-
### Fixed
|
|
565
|
-
|
|
566
|
-
- `spotlight` to handle non-5-way keys correctly to focus on next 5-way keys
|
|
567
|
-
- `spotlight/Spottable` to forward `onMouseEnter` and `onMouseLeave`
|
|
568
|
-
|
|
569
|
-
## [1.12.1] - 2017-11-07
|
|
570
|
-
|
|
571
|
-
No significant changes.
|
|
572
|
-
|
|
573
|
-
## [1.12.0] - 2017-10-27
|
|
574
|
-
|
|
575
|
-
### Fixed
|
|
576
|
-
|
|
577
|
-
- `spotlight` to focus enabled items that were hovered while disabled
|
|
578
|
-
- `spotlight` to not access non-existent container configurations
|
|
579
|
-
- `spotlight/Spottable` to not block next enter key when focus is moved while pressing enter
|
|
580
|
-
|
|
581
|
-
## [1.11.0] - 2017-10-24
|
|
582
|
-
|
|
583
|
-
### Changed
|
|
584
|
-
|
|
585
|
-
- `spotlight` to handle key events to preserve pointer mode for specific keys
|
|
586
|
-
|
|
587
|
-
### Fixed
|
|
588
|
-
|
|
589
|
-
- `spotlight` to not require multiple 5-way key presses in order to change focus after the window regains focus
|
|
590
|
-
|
|
591
|
-
## [1.10.1] - 2017-10-16
|
|
592
|
-
|
|
593
|
-
### Fixed
|
|
594
|
-
|
|
595
|
-
- `spotlight.Spotlight` method `focus()` to prevent focusing components within containers that are being removed
|
|
596
|
-
|
|
597
|
-
## [1.10.0] - 2017-10-09
|
|
598
|
-
|
|
599
|
-
### Fixed
|
|
600
|
-
|
|
601
|
-
- `spotlight.Spotlight` method `focus()` to verify that the target element matches its container's selector rules prior to setting focus
|
|
602
|
-
|
|
603
|
-
## [1.9.3] - 2017-10-03
|
|
604
|
-
|
|
605
|
-
- `spotlight.Spotlight` method `focus()` to verify that the target element matches its container's selector rules prior to setting focus
|
|
606
|
-
|
|
607
|
-
## [1.9.2] - 2017-09-26
|
|
608
|
-
|
|
609
|
-
No significant changes.
|
|
610
|
-
|
|
611
|
-
## [1.9.1] - 2017-09-25
|
|
612
|
-
|
|
613
|
-
No significant changes.
|
|
614
|
-
|
|
615
|
-
## [1.9.0] - 2017-09-22
|
|
616
|
-
|
|
617
|
-
### Changed
|
|
618
|
-
|
|
619
|
-
- `spotlight` to block handling repeated key down events that were interrupted by a pointer event
|
|
620
|
-
|
|
621
|
-
### Fixed
|
|
622
|
-
|
|
623
|
-
- `spotlight` to not try to focus something when the window is activated unless the window has been previously blurred
|
|
624
|
-
- `spotlight` to prevent containers that have been unmounted from being considered potential targets
|
|
625
|
-
|
|
626
|
-
## [1.8.0] - 2017-09-07
|
|
627
|
-
|
|
628
|
-
### Fixed
|
|
629
|
-
|
|
630
|
-
- `spotlight/Spottable` to clean up internal spotted state when blurred within `onSpotlightDisappear` handler
|
|
631
|
-
|
|
632
|
-
## [1.7.0] - 2017-08-23
|
|
633
|
-
|
|
634
|
-
### Added
|
|
635
|
-
|
|
636
|
-
- `spotlight/SpotlightContainerDecorator` config option `continue5WayHold` to support moving focus to the next spottable element on 5-way hold key
|
|
637
|
-
- `spotlight/Spottable` ability to restore focus when an initially disabled component becomes enabled
|
|
638
|
-
|
|
639
|
-
### Fixed
|
|
640
|
-
|
|
641
|
-
- `spotlight` to correctly restore focus to a spotlight container in another container
|
|
642
|
-
- `spotlight` to not try to focus something when the window is activated if focus is already set
|
|
643
|
-
|
|
644
|
-
## [1.6.1] - 2017-08-07
|
|
645
|
-
|
|
646
|
-
No significant changes.
|
|
647
|
-
|
|
648
|
-
## [1.6.0] - 2017-08-04
|
|
649
|
-
|
|
650
|
-
### Changed
|
|
651
|
-
|
|
652
|
-
- `spotlight` containers using a `restrict` value of `'self-only'` will ignore `leaveFor` directives when attempting to leave the container via 5-way
|
|
653
|
-
|
|
654
|
-
### Fixed
|
|
655
|
-
|
|
656
|
-
- `spotlight` to not blur and re-focus an element that is already focused
|
|
657
|
-
|
|
658
|
-
## [1.5.0] - 2017-07-19
|
|
659
|
-
|
|
660
|
-
### Changed
|
|
661
|
-
|
|
662
|
-
- `spotlight` 5-way target selection to ignore empty containers
|
|
663
|
-
- `spotlight` containers to support an array of selectors for `defaultElement`
|
|
664
|
-
|
|
665
|
-
## [1.4.1] - 2017-07-05
|
|
666
|
-
|
|
667
|
-
### Changed
|
|
668
|
-
|
|
669
|
-
- `spotlight/Spottable` to remove focus from a component when it becomes disabled and move it to another component if not explicitly moved during the `onSpotlightDisappear` event callback
|
|
670
|
-
|
|
671
|
-
## [1.4.0] - 2017-06-29
|
|
672
|
-
|
|
673
|
-
### Added
|
|
674
|
-
|
|
675
|
-
- `spotlight` handlers for window focus events
|
|
676
|
-
|
|
677
|
-
### Fixed
|
|
678
|
-
|
|
679
|
-
- `spotlight` navigation through spottable components while holding down a directional key
|
|
680
|
-
- `spotlight` support for preventing 5-way navigation out of a container using an empty selector
|
|
681
|
-
- `spotlight` container support for default elements within subcontainers
|
|
682
|
-
|
|
683
|
-
## [1.3.1] - 2017-06-14
|
|
684
|
-
|
|
685
|
-
### Fixed
|
|
686
|
-
|
|
687
|
-
- `spotlight` incorrectly focusing components within spotlight containers with `data-container-disabled` set to `false`
|
|
688
|
-
- `spotlight` failing to focus the default element configured for a container
|
|
689
|
-
|
|
690
|
-
## [1.3.0] - 2017-06-12
|
|
691
|
-
|
|
692
|
-
### Added
|
|
693
|
-
|
|
694
|
-
- `spotlight/styles/mixins.less` mixins which allow state-selector-rules (muted, spottable, focus, disabled) to be applied to the parent instead of the component's self. This provides much more flexibility without extra mixins to memorize.
|
|
695
|
-
|
|
696
|
-
### Changed
|
|
697
|
-
|
|
698
|
-
- `spotlight` submodules to significantly improve testability
|
|
699
|
-
|
|
700
|
-
### Fixed
|
|
701
|
-
|
|
702
|
-
- `spotlight` navigation to elements that are hidden within an overflow container (e.g. a `Scroller`)
|
|
703
|
-
|
|
704
|
-
## [1.2.2] - 2017-05-31
|
|
705
|
-
|
|
706
|
-
No significant changes.
|
|
707
|
-
|
|
708
|
-
## [1.2.1] - 2017-05-25
|
|
709
|
-
|
|
710
|
-
No significant changes.
|
|
711
|
-
|
|
712
|
-
## [1.2.0] - 2017-05-17
|
|
713
|
-
|
|
714
|
-
### Deprecated
|
|
715
|
-
|
|
716
|
-
- `spotlight/SpotlightRootDecorator.spotlightRootContainerName` to be removed in 2.0.0
|
|
717
|
-
|
|
718
|
-
### Added
|
|
719
|
-
|
|
720
|
-
- `spotlight/styles/mixins.less` which includes several mixins (`.focus`, `.disabled`, `.muted`, and `.mutedFocus`) to make it a little easier to target specific spotlight states
|
|
721
|
-
|
|
722
|
-
### Changed
|
|
723
|
-
|
|
724
|
-
- `spotlight/SpotlightContainerDecorator` config property, `enterTo`, default value to be `null` rather than `'last-focused'`
|
|
725
|
-
- `spotlight` container handling to address known issues and improve testability
|
|
726
|
-
|
|
727
|
-
## [1.1.0] - 2017-04-21
|
|
728
|
-
|
|
729
|
-
### Added
|
|
730
|
-
|
|
731
|
-
- `spotlight/SpotlightRootDecorator` config option: `noAutoFocus` to support prevention of setting automatic focus after render
|
|
732
|
-
- `spotlight.Spotlight` method `getSpottableDescendants()`
|
|
733
|
-
|
|
734
|
-
### Changed
|
|
735
|
-
|
|
736
|
-
- `spotlight/SpotlightContainerDecorator` to have no default for `spotlightRestrict`
|
|
737
|
-
|
|
738
|
-
### Fixed
|
|
739
|
-
|
|
740
|
-
- `spotlight.Spotlight` to consider nested containers when adjusting focus
|
|
741
|
-
|
|
742
|
-
## [1.0.0] - 2017-03-31
|
|
743
|
-
|
|
744
|
-
### Removed
|
|
745
|
-
|
|
746
|
-
- `spotlight.Spottable` replaced by `spotlight/Spottable`
|
|
747
|
-
- `spotlight.spottableClass` replaced by `spotlight/Spottable.spottableClass`
|
|
748
|
-
- `spotlight.SpotlightContainerDecorator` replaced by `spotlight/SpotlightContainerDecorator`
|
|
749
|
-
- `spotlight.spotlightDefaultClass` replaced by `spotlight/SpotlightContainerDecorator.spotlightDefaultClass`
|
|
750
|
-
- `spotlight.SpotlightRootDecorator` replaced by `spotlight/SpotlightRootDecorator`
|
|
751
|
-
|
|
752
|
-
### Fixed
|
|
753
|
-
|
|
754
|
-
- `spotlight.Spotlight` `set()` to properly update the container config
|
|
755
|
-
- `spotlight.Spotlight` to properly save the last-focused element for nested containers
|
|
756
|
-
|
|
757
|
-
## [1.0.0-beta.4] - 2017-03-10
|
|
758
|
-
|
|
759
|
-
### Changed
|
|
760
|
-
|
|
761
|
-
- `spotlight.Spottable` to prevent emulating mouse events for repeated key events
|
|
762
|
-
|
|
763
|
-
### Fixed
|
|
764
|
-
|
|
765
|
-
- `spotlight.Spotlight` pointer behavior where upon immediately entering pointer-mode, hovering over a spottable component may result in the component not receiving focus
|
|
766
|
-
|
|
767
|
-
## [1.0.0-beta.3] - 2017-02-21
|
|
768
|
-
|
|
769
|
-
### Fixed
|
|
770
|
-
|
|
771
|
-
- `spotlight.Spotlight` behavior to follow container config rules when navigating between containers
|
|
772
|
-
- `spotlight.Spotlight` behavior to not set focus on spottable components animating past the pointer when not in pointer-mode
|
|
773
|
-
- `spotlight.Spotlight` 5-way behavior where selecting a spottable component may require multiple attempts before performing actions
|
|
774
|
-
- `spotlight.Spotlight` to not unfocus elements on scroll
|
|
775
|
-
|
|
776
|
-
## [1.0.0-beta.2] - 2017-01-30
|
|
777
|
-
|
|
778
|
-
### Added
|
|
779
|
-
|
|
780
|
-
- `spotlight.SpotlightContainerDecorator` support for `spotlightDisabled` prop
|
|
781
|
-
- `spotlight.Spottable` support for `onSpotlightDown`, `onSpotlightLeft`, `onSpotlightRight`, and `onSpotlightUp` properties
|
|
782
|
-
- `spotlight.Spotlight` method `getDirection()` to replace `spotlightDirections`
|
|
783
|
-
|
|
784
|
-
### Removed
|
|
785
|
-
|
|
786
|
-
- `spotlight.Spotlight` `spotlightDirections`
|
|
787
|
-
|
|
788
|
-
## [1.0.0-beta.1] - 2016-12-30
|
|
789
|
-
|
|
790
|
-
### Added
|
|
791
|
-
|
|
792
|
-
- `spotlight.Spotlight` methods `isPaused()`, `isSpottable()`, `getCurrent()`, and `isMuted()`
|
|
793
|
-
- `spotlight.SpotlightContainerDecorator` property `spotlightMuted`
|
|
794
|
-
- `spotlight.spotlightDirections` export
|
|
795
|
-
|
|
796
|
-
## [1.0.0-alpha.5] - 2016-12-16
|
|
797
|
-
|
|
798
|
-
No changes.
|
|
799
|
-
|
|
800
|
-
## [1.0.0-alpha.4] - 2016-12-2
|
|
801
|
-
|
|
802
|
-
### Added
|
|
803
|
-
|
|
804
|
-
- `setPointerMode()` and `setActiveContainer()` methods
|
|
805
|
-
|
|
806
|
-
## [1.0.0-alpha.3] - 2016-11-8
|
|
807
|
-
|
|
808
|
-
### Added
|
|
809
|
-
|
|
810
|
-
- `spotlightDefaultClass` to `@enact/spotlight` export. Applying this class to an item in a
|
|
811
|
-
container will cause it to be the default spotted item in that container.
|
|
812
|
-
|
|
813
|
-
### Changed
|
|
814
|
-
|
|
815
|
-
- Spotlight containers to spot the last focused element by default
|
|
816
|
-
|
|
817
|
-
### Removed
|
|
818
|
-
|
|
819
|
-
- `decorated` prop from `@enact/spotlight/focusable` as this relationship is managed
|
|
820
|
-
implicitly by the component decorated by `@enact/spotlight/focusable`.
|
|
821
|
-
|
|
822
|
-
### Fixed
|
|
823
|
-
|
|
824
|
-
- Spotlight stops at container boundaries when 5-way key held down
|
|
825
|
-
- Several issues related to spotting controls in edge cases
|
|
826
|
-
|
|
827
|
-
## [1.0.0-alpha.2] - 2016-10-21
|
|
828
|
-
|
|
829
|
-
This version includes a lot of refactoring from the previous release. Developers need to switch to the new enact-dev command-line tool.
|
|
830
|
-
|
|
831
|
-
### Fixed
|
|
832
|
-
|
|
833
|
-
- Update spotlight container handling
|
|
834
|
-
- Inline docs updated to be more consistent and comprehensive
|
|
835
|
-
|
|
836
|
-
## [1.0.0-alpha.1] - 2016-09-26
|
|
837
|
-
|
|
838
|
-
Initial release
|