@cubejs-client/react 0.31.15 → 0.31.33

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  <p align="center"><a href="https://cube.dev"><img src="https://i.imgur.com/zYHXm4o.png" alt="Cube.js" width="300px"></a></p>
2
2
 
3
- [Website](https://cube.dev) • [Docs](https://cube.dev/docs) • [Blog](https://cube.dev/blog) • [Slack](https://slack.cube.dev) • [Discourse](https://forum.cube.dev/) • [Twitter](https://twitter.com/thecubejs)
3
+ [Website](https://cube.dev) • [Docs](https://cube.dev/docs) • [Blog](https://cube.dev/blog) • [Slack](https://slack.cube.dev) • [Twitter](https://twitter.com/thecubejs)
4
4
 
5
5
  [![npm version](https://badge.fury.io/js/%40cubejs-client%2Freact.svg)](https://badge.fury.io/js/%40cubejs-client%2Freact)
6
6
  [![GitHub Actions](https://github.com/cube-js/cube.js/workflows/Build/badge.svg)](https://github.com/cube-js/cube.js/actions?query=workflow%3ABuild+branch%3Amaster)
@@ -11915,9 +11915,11 @@
11915
11915
 
11916
11916
  return this.seriesNames(pivotConfig).map(function (_ref18) {
11917
11917
  var title = _ref18.title,
11918
+ shortTitle = _ref18.shortTitle,
11918
11919
  key = _ref18.key;
11919
11920
  return {
11920
11921
  title: title,
11922
+ shortTitle: shortTitle,
11921
11923
  key: key,
11922
11924
  series: _this.chartPivot(pivotConfig).map(function (_ref19) {
11923
11925
  var x = _ref19.x,
@@ -12376,6 +12378,9 @@
12376
12378
  title: _this4.axisValuesString(pivotConfig.y.find(function (d) {
12377
12379
  return d === 'measures';
12378
12380
  }) ? dropLast(1, aliasedAxis).concat(measures[ResultSet.measureFromAxis(axisValues)].title) : aliasedAxis, ', '),
12381
+ shortTitle: _this4.axisValuesString(pivotConfig.y.find(function (d) {
12382
+ return d === 'measures';
12383
+ }) ? dropLast(1, aliasedAxis).concat(measures[ResultSet.measureFromAxis(axisValues)].shortTitle) : aliasedAxis, ', '),
12379
12384
  key: _this4.axisValuesString(aliasedAxis, ','),
12380
12385
  yValues: axisValues
12381
12386
  };