@sproutsocial/racine 25.9.1 → 25.9.3

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
@@ -1,5 +1,28 @@
1
1
  # Change Log
2
2
 
3
+ ## 25.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 1cf5097: Upgrade seeds-react dependencies to the latest
8
+ - Updated dependencies [f78ba19]
9
+ - Updated dependencies [1cf5097]
10
+ - @sproutsocial/seeds-react-token-input@1.4.0
11
+ - @sproutsocial/seeds-react-token@1.2.0
12
+ - @sproutsocial/seeds-react-input@1.4.2
13
+ - @sproutsocial/seeds-react-portal@1.1.3
14
+
15
+ ## 25.9.2
16
+
17
+ ### Patch Changes
18
+
19
+ - 08c1c43: Updated Token to latest version that fixes a bug with it's types
20
+ - f5956b9: Swallow uncaught errors from container.removeChild
21
+ - Updated dependencies [08c1c43]
22
+ - Updated dependencies [f5956b9]
23
+ - @sproutsocial/seeds-react-token-input@1.0.2
24
+ - @sproutsocial/seeds-react-portal@1.1.2
25
+
3
26
  ## 25.9.1
4
27
 
5
28
  ### Patch Changes
@@ -196,7 +196,8 @@ var Input = /*#__PURE__*/function (_React$Component) {
196
196
  ariaLabel = _this$props8.ariaLabel,
197
197
  ariaDescribedby = _this$props8.ariaDescribedby,
198
198
  clearButtonLabel = _this$props8.clearButtonLabel,
199
- innerRef = _this$props8.innerRef,
199
+ _this$props8$innerRef = _this$props8.innerRef,
200
+ innerRef = _this$props8$innerRef === void 0 ? null : _this$props8$innerRef,
200
201
  onBlur = _this$props8.onBlur,
201
202
  onChange = _this$props8.onChange,
202
203
  onClear = _this$props8.onClear,
@@ -267,7 +268,7 @@ var Input = /*#__PURE__*/function (_React$Component) {
267
268
  onKeyDown: this.handleKeyDown,
268
269
  onKeyUp: this.handleKeyUp,
269
270
  onPaste: this.handlePaste,
270
- ref: (0, _seedsReactUtilities.mergeRefs)([innerRef !== null && innerRef !== void 0 ? innerRef : null, this.inputRef]),
271
+ ref: (0, _seedsReactUtilities.mergeRefs)(innerRef, this.inputRef),
271
272
  "data-qa-input": name || "",
272
273
  "data-qa-input-isdisabled": disabled === true,
273
274
  "data-qa-input-isrequired": required === true
@@ -62,8 +62,11 @@ var Portal = exports.default = /*#__PURE__*/function (_React$Component) {
62
62
  var _this$props$container2 = this.props.container,
63
63
  container = _this$props$container2 === void 0 ? document.body : _this$props$container2;
64
64
  if (container) {
65
- // for flow
66
- container.removeChild(this.el);
65
+ try {
66
+ container.removeChild(this.el);
67
+ } catch (_unused) {
68
+ // Prevent an uncaught error from surfacing to users
69
+ }
67
70
  }
68
71
  }
69
72
  }