@enact/spotlight 4.9.0-alpha.1 → 4.9.0-alpha.2
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
The following is a curated list of changes in the Enact spotlight module, newest changes on the top.
|
|
4
4
|
|
|
5
|
+
## [4.9.0-alpha.2] - 2024-05-24
|
|
6
|
+
|
|
7
|
+
No significant changes.
|
|
8
|
+
|
|
9
|
+
## [4.0.14] - 2024-05-14
|
|
10
|
+
|
|
11
|
+
No significant changes.
|
|
12
|
+
|
|
13
|
+
## [4.7.11] - 2024-05-13
|
|
14
|
+
|
|
15
|
+
No significant changes.
|
|
16
|
+
|
|
5
17
|
## [4.9.0-alpha.1] - 2024-04-09
|
|
6
18
|
|
|
7
19
|
### Fixed
|
|
@@ -200,10 +200,13 @@ var SpotlightContainerDecorator = exports.SpotlightContainerDecorator = (0, _hoc
|
|
|
200
200
|
|
|
201
201
|
// eslint-disable-next-line no-shadow
|
|
202
202
|
function SpotlightContainerDecorator(props) {
|
|
203
|
-
var
|
|
203
|
+
var _props$spotlightDisab = props.spotlightDisabled,
|
|
204
|
+
spotlightDisabled = _props$spotlightDisab === void 0 ? false : _props$spotlightDisab,
|
|
204
205
|
spotlightId = props.spotlightId,
|
|
205
|
-
spotlightMuted = props.spotlightMuted,
|
|
206
|
-
|
|
206
|
+
_props$spotlightMuted = props.spotlightMuted,
|
|
207
|
+
spotlightMuted = _props$spotlightMuted === void 0 ? false : _props$spotlightMuted,
|
|
208
|
+
_props$spotlightRestr = props.spotlightRestrict,
|
|
209
|
+
spotlightRestrict = _props$spotlightRestr === void 0 ? 'self-first' : _props$spotlightRestr,
|
|
207
210
|
rest = _objectWithoutProperties(props, _excluded2);
|
|
208
211
|
var spotlightContainer = (0, _useSpotlightContainer["default"])({
|
|
209
212
|
id: spotlightId,
|
|
@@ -265,11 +268,6 @@ var SpotlightContainerDecorator = exports.SpotlightContainerDecorator = (0, _hoc
|
|
|
265
268
|
*/
|
|
266
269
|
spotlightRestrict: _propTypes["default"].oneOf(['none', 'self-first', 'self-only'])
|
|
267
270
|
};
|
|
268
|
-
SpotlightContainerDecorator.defaultProps = {
|
|
269
|
-
spotlightDisabled: false,
|
|
270
|
-
spotlightMuted: false,
|
|
271
|
-
spotlightRestrict: 'self-first'
|
|
272
|
-
};
|
|
273
271
|
|
|
274
272
|
// Wrapping with a React.Component to maintain ref support
|
|
275
273
|
return /*#__PURE__*/function (_Component) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enact/spotlight",
|
|
3
|
-
"version": "4.9.0-alpha.
|
|
3
|
+
"version": "4.9.0-alpha.2",
|
|
4
4
|
"description": "A focus management library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@enact/core": "^4.9.0-alpha.
|
|
28
|
+
"@enact/core": "^4.9.0-alpha.2",
|
|
29
29
|
"classnames": "^2.5.1",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
31
|
"ramda": "^0.29.1",
|
|
32
|
-
"react": "^18.
|
|
33
|
-
"react-dom": "^18.
|
|
32
|
+
"react": "^18.3.1",
|
|
33
|
+
"react-dom": "^18.3.1",
|
|
34
34
|
"warning": "^4.0.3"
|
|
35
35
|
}
|
|
36
36
|
}
|