@fluentui/react-charting 4.23.24 → 4.23.25

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.
@@ -23362,7 +23362,7 @@ var HorizontalBarChartBase = /** @class */ (function (_super) {
23362
23362
  });
23363
23363
  };
23364
23364
  _this._getChartDataText = function (data) {
23365
- return _this.props.barChartCustomData ? (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { "data-is-focusable": true, role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
23365
+ return _this.props.barChartCustomData ? (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { role: "text" }, _this.props.barChartCustomData(data))) : (_this._getDefaultTextData(data));
23366
23366
  };
23367
23367
  _this._getDefaultTextData = function (data) {
23368
23368
  var culture = _this.props.culture;
@@ -23370,7 +23370,7 @@ var HorizontalBarChartBase = /** @class */ (function (_super) {
23370
23370
  var chartData = data.chartData[0];
23371
23371
  var x = chartData.horizontalBarChartdata.x;
23372
23372
  var y = chartData.horizontalBarChartdata.y;
23373
- var accessibilityData = Object(_utilities_index__WEBPACK_IMPORTED_MODULE_4__["getAccessibleDataObject"])(data.chartDataAccessibilityData);
23373
+ var accessibilityData = Object(_utilities_index__WEBPACK_IMPORTED_MODULE_4__["getAccessibleDataObject"])(data.chartDataAccessibilityData, 'text', false);
23374
23374
  switch (chartDataMode) {
23375
23375
  case 'default':
23376
23376
  return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({ className: _this._classNames.chartDataText }, accessibilityData), Object(_utilities_index__WEBPACK_IMPORTED_MODULE_4__["convertToLocaleString"])(x, culture)));
@@ -23446,7 +23446,7 @@ var HorizontalBarChartBase = /** @class */ (function (_super) {
23446
23446
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: _this._classNames.items },
23447
23447
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZone"], { direction: _fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZoneDirection"].horizontal },
23448
23448
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: _this._classNames.chartTitle },
23449
- points.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({ className: _this._classNames.chartDataText }, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_4__["getAccessibleDataObject"])(points.chartTitleAccessibilityData)), points.chartTitle)),
23449
+ points.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({ className: _this._classNames.chartDataText }, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_4__["getAccessibleDataObject"])(points.chartTitleAccessibilityData, 'text', false)), points.chartTitle)),
23450
23450
  chartDataText)),
23451
23451
  points.chartData[0].data && _this._createBenchmark(points),
23452
23452
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZone"], { direction: _fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZoneDirection"].horizontal },
@@ -25521,14 +25521,14 @@ var MultiStackedBarChartBase = /** @class */ (function (_super) {
25521
25521
  return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.singleChartRoot },
25522
25522
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZone"], { direction: _fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZoneDirection"].horizontal },
25523
25523
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.chartTitle },
25524
- data.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartTitleAccessibilityData)),
25524
+ data.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartTitleAccessibilityData, 'text', false)),
25525
25525
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("strong", null, data.chartTitle))),
25526
- showRatio && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData)),
25526
+ showRatio && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData, 'text', false)),
25527
25527
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("strong", null, getChartData()),
25528
25528
  !hideDenominator && react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("span", null,
25529
25529
  "/",
25530
25530
  Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["convertToLocaleString"])(total, culture)))),
25531
- showNumber && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData)),
25531
+ showNumber && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData, 'text', false)),
25532
25532
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("strong", null, getChartData()))))),
25533
25533
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZone"], { direction: _fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZoneDirection"].horizontal },
25534
25534
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", null,
@@ -25822,14 +25822,14 @@ var StackedBarChartBase = /** @class */ (function (_super) {
25822
25822
  return (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.root, onMouseLeave: this._handleChartMouseLeave },
25823
25823
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"](_fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZone"], { direction: _fluentui_react_focus__WEBPACK_IMPORTED_MODULE_5__["FocusZoneDirection"].horizontal },
25824
25824
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.chartTitle },
25825
- data.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartTitleAccessibilityData)),
25825
+ data.chartTitle && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartTitleAccessibilityData, 'text', false)),
25826
25826
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("strong", null, data.chartTitle))),
25827
- showRatio && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData)),
25827
+ showRatio && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData, 'text', false)),
25828
25828
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("span", { className: this._classNames.ratioNumerator }, getChartData()),
25829
25829
  !this.props.hideDenominator && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("span", null,
25830
25830
  "/",
25831
25831
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("span", { className: this._classNames.ratioDenominator }, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["convertToLocaleString"])(total, culture)))))),
25832
- showNumber && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData)),
25832
+ showNumber && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__assign"])({}, Object(_utilities_index__WEBPACK_IMPORTED_MODULE_6__["getAccessibleDataObject"])(data.chartDataAccessibilityData, 'text', false)),
25833
25833
  react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("strong", null, getChartData())))),
25834
25834
  (benchmarkData || targetData) && (react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.benchmarkContainer },
25835
25835
  benchmarkData && react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("div", { className: this._classNames.benchmark, role: "text" }),
@@ -26255,7 +26255,7 @@ var StandardTree = /** @class */ (function () {
26255
26255
  var ariaLabel = "nodeId: " + nodeId + " \nnodeMainText: " + name + "\nsubText " + subname + " " + parentInfo;
26256
26256
  var xCoordinate = xCenterCoordinate - rectangleWidth / 2;
26257
26257
  if (metricName || nodeId !== 0 || !bodytext) {
26258
- this._nodeElements.push(react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("rect", { width: rectangleWidth, height: rectangleHeight, x: xCoordinate, y: yCoordinate, tabIndex: 0, role: 'text', "data-is-focusable": true, "aria-label": ariaLabel, className: this.styleClassNames.rectNode, stroke: fillColor, key: "" + nodeId + this.styleClassNames.rectNode }));
26258
+ this._nodeElements.push(react__WEBPACK_IMPORTED_MODULE_1__["createElement"]("rect", { width: rectangleWidth, height: rectangleHeight, x: xCoordinate, y: yCoordinate, role: 'text', "aria-label": ariaLabel, className: this.styleClassNames.rectNode, stroke: fillColor, key: "" + nodeId + this.styleClassNames.rectNode }));
26259
26259
  }
26260
26260
  if (subname) {
26261
26261
  subname = this.truncateText(subname, rectangleWidth, rectangleWidth / 4, this.styleClassNames.rectSubText);
@@ -29067,7 +29067,7 @@ __webpack_require__.r(__webpack_exports__);
29067
29067
  // Do not modify this file; it is generated as part of publish.
29068
29068
  // The checked in version is a placeholder only and will not be updated.
29069
29069
 
29070
- Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.23');
29070
+ Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('@uifabric/charting', '4.23.24');
29071
29071
 
29072
29072
 
29073
29073
  /***/ }),
@@ -93062,7 +93062,7 @@ __webpack_require__.r(__webpack_exports__);
93062
93062
  // Do not modify this file; it is generated as part of publish.
93063
93063
  // The checked in version is a placeholder only and will not be updated.
93064
93064
 
93065
- Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('office-ui-fabric-react', '7.203.0');
93065
+ Object(_uifabric_set_version__WEBPACK_IMPORTED_MODULE_0__["setVersion"])('office-ui-fabric-react', '7.204.0');
93066
93066
 
93067
93067
 
93068
93068
  /***/ }),