@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/package-lock.json
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@enact/spotlight",
|
|
3
|
-
"version": "3.2.5",
|
|
4
|
-
"lockfileVersion": 1,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"@enact/core": {
|
|
8
|
-
"version": "3.2.5",
|
|
9
|
-
"resolved": "https://registry.npmjs.org/@enact/core/-/core-3.2.5.tgz",
|
|
10
|
-
"integrity": "sha512-BTMQrpClpIXi2RaVPOHT5tc++bnmQj3JVc+xv7kx9fN7jiFRhGkSGbgfgqf3Ai+aPSSKmSUcLqGixi1yri7GFA==",
|
|
11
|
-
"requires": {
|
|
12
|
-
"classnames": "^2.2.5",
|
|
13
|
-
"invariant": "^2.2.2",
|
|
14
|
-
"prop-types": "^15.7.2",
|
|
15
|
-
"ramda": "^0.24.1",
|
|
16
|
-
"react": "^16.8.0",
|
|
17
|
-
"react-dom": "^16.8.0",
|
|
18
|
-
"react-is": "^16.8.3",
|
|
19
|
-
"recompose": "^0.26.0"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
"asap": {
|
|
23
|
-
"version": "2.0.6",
|
|
24
|
-
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
|
|
25
|
-
"integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY="
|
|
26
|
-
},
|
|
27
|
-
"change-emitter": {
|
|
28
|
-
"version": "0.1.6",
|
|
29
|
-
"resolved": "https://registry.npmjs.org/change-emitter/-/change-emitter-0.1.6.tgz",
|
|
30
|
-
"integrity": "sha1-6LL+PX8at9aaMhma/5HqaTFAlRU="
|
|
31
|
-
},
|
|
32
|
-
"classnames": {
|
|
33
|
-
"version": "2.2.6",
|
|
34
|
-
"resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz",
|
|
35
|
-
"integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q=="
|
|
36
|
-
},
|
|
37
|
-
"core-js": {
|
|
38
|
-
"version": "1.2.7",
|
|
39
|
-
"resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz",
|
|
40
|
-
"integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY="
|
|
41
|
-
},
|
|
42
|
-
"encoding": {
|
|
43
|
-
"version": "0.1.12",
|
|
44
|
-
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
|
|
45
|
-
"integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
|
|
46
|
-
"requires": {
|
|
47
|
-
"iconv-lite": "~0.4.13"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"fbjs": {
|
|
51
|
-
"version": "0.8.17",
|
|
52
|
-
"resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz",
|
|
53
|
-
"integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=",
|
|
54
|
-
"requires": {
|
|
55
|
-
"core-js": "^1.0.0",
|
|
56
|
-
"isomorphic-fetch": "^2.1.1",
|
|
57
|
-
"loose-envify": "^1.0.0",
|
|
58
|
-
"object-assign": "^4.1.0",
|
|
59
|
-
"promise": "^7.1.1",
|
|
60
|
-
"setimmediate": "^1.0.5",
|
|
61
|
-
"ua-parser-js": "^0.7.18"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"hoist-non-react-statics": {
|
|
65
|
-
"version": "2.5.5",
|
|
66
|
-
"resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz",
|
|
67
|
-
"integrity": "sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw=="
|
|
68
|
-
},
|
|
69
|
-
"iconv-lite": {
|
|
70
|
-
"version": "0.4.24",
|
|
71
|
-
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
|
72
|
-
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
|
73
|
-
"requires": {
|
|
74
|
-
"safer-buffer": ">= 2.1.2 < 3"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"invariant": {
|
|
78
|
-
"version": "2.2.4",
|
|
79
|
-
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
|
|
80
|
-
"integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
|
|
81
|
-
"requires": {
|
|
82
|
-
"loose-envify": "^1.0.0"
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
"is-stream": {
|
|
86
|
-
"version": "1.1.0",
|
|
87
|
-
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
|
|
88
|
-
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
|
|
89
|
-
},
|
|
90
|
-
"isomorphic-fetch": {
|
|
91
|
-
"version": "2.2.1",
|
|
92
|
-
"resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
|
|
93
|
-
"integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
|
|
94
|
-
"requires": {
|
|
95
|
-
"node-fetch": "^1.0.1",
|
|
96
|
-
"whatwg-fetch": ">=0.10.0"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"js-tokens": {
|
|
100
|
-
"version": "4.0.0",
|
|
101
|
-
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
102
|
-
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
103
|
-
},
|
|
104
|
-
"loose-envify": {
|
|
105
|
-
"version": "1.4.0",
|
|
106
|
-
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
107
|
-
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
108
|
-
"requires": {
|
|
109
|
-
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"node-fetch": {
|
|
113
|
-
"version": "1.7.3",
|
|
114
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
|
|
115
|
-
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
|
|
116
|
-
"requires": {
|
|
117
|
-
"encoding": "^0.1.11",
|
|
118
|
-
"is-stream": "^1.0.1"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"object-assign": {
|
|
122
|
-
"version": "4.1.1",
|
|
123
|
-
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
124
|
-
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
|
|
125
|
-
},
|
|
126
|
-
"promise": {
|
|
127
|
-
"version": "7.3.1",
|
|
128
|
-
"resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz",
|
|
129
|
-
"integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==",
|
|
130
|
-
"requires": {
|
|
131
|
-
"asap": "~2.0.3"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"prop-types": {
|
|
135
|
-
"version": "15.7.2",
|
|
136
|
-
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
|
|
137
|
-
"integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
|
|
138
|
-
"requires": {
|
|
139
|
-
"loose-envify": "^1.4.0",
|
|
140
|
-
"object-assign": "^4.1.1",
|
|
141
|
-
"react-is": "^16.8.1"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"ramda": {
|
|
145
|
-
"version": "0.24.1",
|
|
146
|
-
"resolved": "https://registry.npmjs.org/ramda/-/ramda-0.24.1.tgz",
|
|
147
|
-
"integrity": "sha1-w7d1UZfzW43DUCIoJixMkd22uFc="
|
|
148
|
-
},
|
|
149
|
-
"react": {
|
|
150
|
-
"version": "16.13.0",
|
|
151
|
-
"resolved": "https://registry.npmjs.org/react/-/react-16.13.0.tgz",
|
|
152
|
-
"integrity": "sha512-TSavZz2iSLkq5/oiE7gnFzmURKZMltmi193rm5HEoUDAXpzT9Kzw6oNZnGoai/4+fUnm7FqS5dwgUL34TujcWQ==",
|
|
153
|
-
"requires": {
|
|
154
|
-
"loose-envify": "^1.1.0",
|
|
155
|
-
"object-assign": "^4.1.1",
|
|
156
|
-
"prop-types": "^15.6.2"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
"react-dom": {
|
|
160
|
-
"version": "16.13.0",
|
|
161
|
-
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.0.tgz",
|
|
162
|
-
"integrity": "sha512-y09d2c4cG220DzdlFkPTnVvGTszVvNpC73v+AaLGLHbkpy3SSgvYq8x0rNwPJ/Rk/CicTNgk0hbHNw1gMEZAXg==",
|
|
163
|
-
"requires": {
|
|
164
|
-
"loose-envify": "^1.1.0",
|
|
165
|
-
"object-assign": "^4.1.1",
|
|
166
|
-
"prop-types": "^15.6.2",
|
|
167
|
-
"scheduler": "^0.19.0"
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"react-is": {
|
|
171
|
-
"version": "16.13.0",
|
|
172
|
-
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.0.tgz",
|
|
173
|
-
"integrity": "sha512-GFMtL0vHkiBv9HluwNZTggSn/sCyEt9n02aM0dSAjGGyqyNlAyftYm4phPxdvCigG15JreC5biwxCgTAJZ7yAA=="
|
|
174
|
-
},
|
|
175
|
-
"recompose": {
|
|
176
|
-
"version": "0.26.0",
|
|
177
|
-
"resolved": "https://registry.npmjs.org/recompose/-/recompose-0.26.0.tgz",
|
|
178
|
-
"integrity": "sha512-KwOu6ztO0mN5vy3+zDcc45lgnaUoaQse/a5yLVqtzTK13czSWnFGmXbQVmnoMgDkI5POd1EwIKSbjU1V7xdZog==",
|
|
179
|
-
"requires": {
|
|
180
|
-
"change-emitter": "^0.1.2",
|
|
181
|
-
"fbjs": "^0.8.1",
|
|
182
|
-
"hoist-non-react-statics": "^2.3.1",
|
|
183
|
-
"symbol-observable": "^1.0.4"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"safer-buffer": {
|
|
187
|
-
"version": "2.1.2",
|
|
188
|
-
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
|
189
|
-
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
|
190
|
-
},
|
|
191
|
-
"scheduler": {
|
|
192
|
-
"version": "0.19.0",
|
|
193
|
-
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.0.tgz",
|
|
194
|
-
"integrity": "sha512-xowbVaTPe9r7y7RUejcK73/j8tt2jfiyTednOvHbA8JoClvMYCp+r8QegLwK/n8zWQAtZb1fFnER4XLBZXrCxA==",
|
|
195
|
-
"requires": {
|
|
196
|
-
"loose-envify": "^1.1.0",
|
|
197
|
-
"object-assign": "^4.1.1"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"setimmediate": {
|
|
201
|
-
"version": "1.0.5",
|
|
202
|
-
"resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz",
|
|
203
|
-
"integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU="
|
|
204
|
-
},
|
|
205
|
-
"symbol-observable": {
|
|
206
|
-
"version": "1.2.0",
|
|
207
|
-
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
|
|
208
|
-
"integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ=="
|
|
209
|
-
},
|
|
210
|
-
"ua-parser-js": {
|
|
211
|
-
"version": "0.7.21",
|
|
212
|
-
"resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz",
|
|
213
|
-
"integrity": "sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ=="
|
|
214
|
-
},
|
|
215
|
-
"warning": {
|
|
216
|
-
"version": "3.0.0",
|
|
217
|
-
"resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz",
|
|
218
|
-
"integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=",
|
|
219
|
-
"requires": {
|
|
220
|
-
"loose-envify": "^1.0.0"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
"whatwg-fetch": {
|
|
224
|
-
"version": "3.0.0",
|
|
225
|
-
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",
|
|
226
|
-
"integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
package/build/package.json
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@enact/spotlight",
|
|
3
|
-
"version": "3.4.9-experimental-3",
|
|
4
|
-
"description": "A focus management library",
|
|
5
|
-
"main": "src/spotlight.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"clean": "enact clean",
|
|
8
|
-
"lint": "enact lint --strict",
|
|
9
|
-
"test": "enact test",
|
|
10
|
-
"test-json": "enact test --json",
|
|
11
|
-
"test-watch": "enact test --watch",
|
|
12
|
-
"transpile": "enact transpile"
|
|
13
|
-
},
|
|
14
|
-
"license": "Apache-2.0",
|
|
15
|
-
"enact": {
|
|
16
|
-
"ri": {
|
|
17
|
-
"baseSize": 24
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@enact/core": "^3.4.9-experimental-3",
|
|
22
|
-
"prop-types": "^15.7.2",
|
|
23
|
-
"ramda": "^0.24.1",
|
|
24
|
-
"react": "^16.7.0",
|
|
25
|
-
"react-dom": "^16.7.0",
|
|
26
|
-
"warning": "^3.0.0"
|
|
27
|
-
}
|
|
28
|
-
}
|