@enact/webos 4.9.0-alpha.3 → 4.9.0

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,16 @@
2
2
 
3
3
  The following is a curated list of changes in the Enact webos module, newest changes on the top.
4
4
 
5
+ ## [4.9.0] - 2024-07-17
6
+
7
+ ### Fixed
8
+
9
+ - `webos/speech.VoiceControlDecorator` to not remount its children when it rerenders
10
+
11
+ ## [4.9.0-beta.1] - 2024-06-17
12
+
13
+ No significant changes.
14
+
5
15
  ## [4.9.0-alpha.3] - 2024-06-05
6
16
 
7
17
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enact/webos",
3
- "version": "4.9.0-alpha.3",
3
+ "version": "4.9.0",
4
4
  "description": "webOS support library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@enact/core": "^4.9.0-alpha.3",
35
+ "@enact/core": "^4.9.0",
36
36
  "prop-types": "^15.8.1",
37
37
  "react": "^18.3.1",
38
38
  "react-dom": "^18.3.1"
@@ -77,6 +77,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
77
77
  */
78
78
  var VoiceControlDecorator = exports.VoiceControlDecorator = (0, _hoc["default"])(function (config, Wrapped) {
79
79
  var _class;
80
+ var WithRefComponent = (0, _WithRef.WithRef)(Wrapped);
80
81
  return _class = /*#__PURE__*/function (_Component) {
81
82
  _inherits(_class, _Component);
82
83
  var _super = _createSuper(_class);
@@ -107,7 +108,6 @@ var VoiceControlDecorator = exports.VoiceControlDecorator = (0, _hoc["default"])
107
108
  value: function render() {
108
109
  var props = _objectSpread({}, this.props);
109
110
  delete props.onVoice;
110
- var WithRefComponent = (0, _WithRef.WithRef)(Wrapped);
111
111
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(WithRefComponent, _objectSpread(_objectSpread({}, props), {}, {
112
112
  outermostRef: this.nodeRef,
113
113
  referrerName: "VoiceControlDecorator"