@fluentui/react-charting 4.23.13 → 4.23.14

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.
@@ -22944,7 +22944,7 @@ __webpack_require__.r(__webpack_exports__);
22944
22944
  // Do not modify this file; it is generated as part of publish.
22945
22945
  // The checked in version is a placeholder only and will not be updated.
22946
22946
 
22947
- Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.12');
22947
+ Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.13');
22948
22948
 
22949
22949
 
22950
22950
  /***/ }),
@@ -27040,6 +27040,7 @@ var Stylesheet = /** @class */ (function () {
27040
27040
  Stylesheet.prototype._createStyleElement = function () {
27041
27041
  var head = document.head;
27042
27042
  var styleElement = document.createElement('style');
27043
+ var nodeToInsertBefore = null;
27043
27044
  styleElement.setAttribute('data-merge-styles', 'true');
27044
27045
  var cspSettings = this._config.cspSettings;
27045
27046
  if (cspSettings) {
@@ -27050,17 +27051,18 @@ var Stylesheet = /** @class */ (function () {
27050
27051
  if (this._lastStyleElement) {
27051
27052
  // If the `nextElementSibling` is null, then the insertBefore will act as a regular append.
27052
27053
  // https://developer.mozilla.org/en-US/docs/Web/API/Node/insertBefore#Syntax
27053
- head.insertBefore(styleElement, this._lastStyleElement.nextElementSibling);
27054
+ nodeToInsertBefore = this._lastStyleElement.nextElementSibling;
27054
27055
  }
27055
27056
  else {
27056
27057
  var placeholderStyleTag = this._findPlaceholderStyleTag();
27057
27058
  if (placeholderStyleTag) {
27058
- head.insertBefore(styleElement, placeholderStyleTag.nextElementSibling);
27059
+ nodeToInsertBefore = placeholderStyleTag.nextElementSibling;
27059
27060
  }
27060
27061
  else {
27061
- head.insertBefore(styleElement, head.childNodes[0]);
27062
+ nodeToInsertBefore = head.childNodes[0];
27062
27063
  }
27063
27064
  }
27065
+ head.insertBefore(styleElement, head.contains(nodeToInsertBefore) ? nodeToInsertBefore : null);
27064
27066
  this._lastStyleElement = styleElement;
27065
27067
  return styleElement;
27066
27068
  };
@@ -86217,7 +86219,7 @@ __webpack_require__.r(__webpack_exports__);
86217
86219
  // Do not modify this file; it is generated as part of publish.
86218
86220
  // The checked in version is a placeholder only and will not be updated.
86219
86221
 
86220
- Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('office-ui-fabric-react', '7.199.3');
86222
+ Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('office-ui-fabric-react', '7.199.4');
86221
86223
 
86222
86224
 
86223
86225
  /***/ }),