@luminati-io/uikit 1.9.5 → 1.9.6

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/dist/uikit.umd.js CHANGED
@@ -21010,7 +21010,7 @@ var AnnotationGroup = function AnnotationGroup(props) {
21010
21010
  width: barWidth,
21011
21011
  height: barHeight,
21012
21012
  fill: (_colorAccessor = colorAccessor === null || colorAccessor === void 0 ? void 0 : colorAccessor(bar, index)) !== null && _colorAccessor !== void 0 ? _colorAccessor : colorScale(key),
21013
- text: formatValue(horizontal ? xAccessor(bar) : yAccessor(bar))
21013
+ text: formatValue(horizontal ? xAccessor(bar) : yAccessor(bar), bar)
21014
21014
  };
21015
21015
  }).filter(Boolean)
21016
21016
  };
@@ -21926,7 +21926,7 @@ var Tooltip = function Tooltip(props) {
21926
21926
  return datum && formatTick(dataByKey[key].accessors.xAccessor(datum));
21927
21927
  };
21928
21928
  var getY = function getY(key, datum) {
21929
- return datum && formatValue(dataByKey[key].accessors.yAccessor(datum));
21929
+ return datum && formatValue(dataByKey[key].accessors.yAccessor(datum), datum);
21930
21930
  };
21931
21931
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TooltipWrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(TooltipHeader, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_typography__WEBPACK_IMPORTED_MODULE_3__.Label, {
21932
21932
  variant: "base",