@vizzly/dashboard 0.14.4-dev-a92622560305a2aadfb851574db2d2f43a80cb14 → 0.14.4-dev-8beb4cd0b38350abdd05b93b66f2523ced40aa15

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.
@@ -48,7 +48,6 @@ import { useWindowWidth } from '@react-hook/window-size';
48
48
  import copy from 'copy-to-clipboard';
49
49
  import html2canvas from 'html2canvas';
50
50
  import jsPDF from 'jspdf';
51
- import { BubbleChart as BubbleChart$3 } from './charts/src/BubbleChart';
52
51
  import { RectClipPath } from '@visx/clip-path';
53
52
  import { localPoint } from '@visx/event';
54
53
  import { bisector } from '@visx/vendor/d3-array';
@@ -9331,7 +9330,7 @@ var BubbleChart = function BubbleChart(config) {
9331
9330
 
9332
9331
  var attributesSchema$f = function attributesSchema(config) {
9333
9332
  return Joi.object(_extends({}, baseAttributesSchema(config.attributesSchemaOptions), timeDimensionQuerySchema(config.queryEngineConfig, config.attributesSchemaOptions), {
9334
- stacked: Joi.valid(true, false, '100%'),
9333
+ stacked: Joi.valid(true, false),
9335
9334
  legend: Joi.valid(true, false),
9336
9335
  type: Joi.valid('barChartV2').required(),
9337
9336
  parameters: parametersSchema(config.queryEngineConfig, config.attributesSchemaOptions),
@@ -40784,6 +40783,259 @@ var IconText = function IconText(props) {
40784
40783
  });
40785
40784
  };
40786
40785
 
40786
+ var accessors$1 = function accessors(xAxisIsTime, xKey, yKey, horizontal) {
40787
+ return {
40788
+ xAccessor: function xAccessor(d) {
40789
+ return d ? horizontal ? d[yKey] : xAxisIsTime ? new Date(d[xKey]) : d[xKey] : undefined;
40790
+ },
40791
+ yAccessor: function yAccessor(d) {
40792
+ return d ? horizontal ? xAxisIsTime ? new Date(d[xKey]) : d[xKey] : d[yKey] : undefined;
40793
+ }
40794
+ };
40795
+ };
40796
+ var DEFAULT_Y_AXIS_LABEL_COUNT$1 = 5;
40797
+ var VizzlyBubbleChart = function VizzlyBubbleChart(props) {
40798
+ var _props$height, _theme$axis$stroke, _theme$axis, _ref, _props$lines$data$len, _props$lines, _props$areas, _props$bars, _props$forceXAxisAsTi, _props$bars2, _props$lines2, _theme$grid$stroke, _theme$grid, _props$axisTitles, _props$axisTitles2, _props$axisTitles3, _props$axisTitles4, _props$bars3, _props$bars4, _props$bars5;
40799
+ var height = adjustHeight((_props$height = props == null ? void 0 : props.height) != null ? _props$height : 300, props == null ? void 0 : props.legend);
40800
+ var _props$approxYAxisLab = props.approxYAxisLabelCount,
40801
+ approxYAxisLabelCount = _props$approxYAxisLab === void 0 ? 'auto' : _props$approxYAxisLab,
40802
+ _props$approxXAxisLab = props.approxXAxisLabelCount,
40803
+ approxXAxisLabelCount = _props$approxXAxisLab === void 0 ? 'auto' : _props$approxXAxisLab,
40804
+ _props$removeStroke = props.removeStroke,
40805
+ removeStroke = _props$removeStroke === void 0 ? false : _props$removeStroke,
40806
+ _props$horizontal = props.horizontal,
40807
+ horizontal = _props$horizontal === void 0 ? false : _props$horizontal,
40808
+ theme = props.theme,
40809
+ x = props.x;
40810
+ var xAxisIsTime = isXAxisTime(props.x, props.forceXAxisAsTime, props.bars, props.lines, props.areas);
40811
+ var axisLabelStyles = function axisLabelStyles(horizontal, labelTheme) {
40812
+ var _labelTheme$color, _labelTheme$fontSize, _labelTheme$fontWeigh, _labelTheme$fontFamil;
40813
+ return {
40814
+ fill: (_labelTheme$color = labelTheme == null ? void 0 : labelTheme.color) != null ? _labelTheme$color : 'rgba(0, 0, 0, 0.6)',
40815
+ fontSize: (_labelTheme$fontSize = labelTheme == null ? void 0 : labelTheme.fontSize) != null ? _labelTheme$fontSize : 9,
40816
+ fontWeight: (_labelTheme$fontWeigh = labelTheme == null ? void 0 : labelTheme.fontWeight) != null ? _labelTheme$fontWeigh : 700,
40817
+ fontFamily: (_labelTheme$fontFamil = labelTheme == null ? void 0 : labelTheme.fontFamily) != null ? _labelTheme$fontFamil : DEFAULT_CHART_FONT,
40818
+ textAnchor: horizontal ? 'end' : 'middle',
40819
+ scaleToFit: 'shrink-only'
40820
+ };
40821
+ };
40822
+ var _useXAxisLabelCount = useXAxisLabelCount(approxXAxisLabelCount, !(props != null && props.horizontal) && (props == null ? void 0 : props.forceXAxisAsTime)),
40823
+ widthRef = _useXAxisLabelCount[0],
40824
+ approximateXTickCount = _useXAxisLabelCount[1];
40825
+ var _useState = useState(undefined),
40826
+ nearestDatum = _useState[0];
40827
+ var _useState2 = useState(undefined),
40828
+ nearestTooltipDatums = _useState2[0];
40829
+ var colors = getConcatenatedProperties(props, 'colors');
40830
+ var customTheme = buildChartTheme(_extends({}, lightTheme, {
40831
+ colors: colors,
40832
+ tickLength: 0,
40833
+ gridColor: '',
40834
+ gridColorDark: ''
40835
+ }));
40836
+ var chartData = getConcatenatedProperties(props, 'data');
40837
+ var axisStrokeColor = (_theme$axis$stroke = theme == null || (_theme$axis = theme.axis) == null ? void 0 : _theme$axis.stroke) != null ? _theme$axis$stroke : '#eaeaea';
40838
+ var _getAxisType = getAxisType(approxXAxisLabelCount, approxYAxisLabelCount),
40839
+ xAxisType = _getAxisType.xAxisType,
40840
+ xAxisAttributes = _getAxisType.xAxisAttributes,
40841
+ yAxisType = _getAxisType.yAxisType;
40842
+ var numberOfXAxisPoints = (_ref = (_props$lines$data$len = props == null || (_props$lines = props.lines) == null ? void 0 : _props$lines.data.length) != null ? _props$lines$data$len : props == null || (_props$areas = props.areas) == null || (_props$areas = _props$areas.data) == null ? void 0 : _props$areas.length) != null ? _ref : (_props$bars = props.bars) == null ? void 0 : _props$bars.data.length;
40843
+ var _useMinMaxValue = useMinMaxValue(props),
40844
+ maxValue = _useMinMaxValue.maxValue,
40845
+ minValue = _useMinMaxValue.minValue;
40846
+ var leftWidth = getYAxisWidth(horizontal, (_props$forceXAxisAsTi = props.forceXAxisAsTime) != null ? _props$forceXAxisAsTi : false, props, theme, getConcatenatedProperties(props, 'data'), props.x);
40847
+ var margin = props.sparkline ? NO_MARGIN(props.yAxisOrientation !== 'right') : getDefaultMargins(horizontal, props.yAxisOrientation !== 'right', xAxisType, props == null ? void 0 : props.axisTitles, leftWidth);
40848
+ var getTrendLineStyle = function getTrendLineStyle(datumKey) {
40849
+ if (props.trends) {
40850
+ var _props$trends, _strokeDasharrayToBor, _indicatorProperties$, _indicatorProperties$2, _indicatorProperties$3, _indicatorProperties$4, _indicatorProperties$5, _indicatorProperties$6, _indicatorProperties$7, _indicatorProperties$8, _indicatorProperties$9;
40851
+ var indicatorKeyIndex = (_props$trends = props.trends) == null ? void 0 : _props$trends.keys.indexOf(datumKey);
40852
+ var indicatorProperties = props.trends;
40853
+ return {
40854
+ borderStyle: (_strokeDasharrayToBor = strokeDasharrayToBorderStyle((_indicatorProperties$ = indicatorProperties.strokeDasharray) == null ? void 0 : _indicatorProperties$[indicatorKeyIndex])) != null ? _strokeDasharrayToBor : 'dotted',
40855
+ borderWidth: 0,
40856
+ marginTop: (_indicatorProperties$2 = (_indicatorProperties$3 = indicatorProperties.strokeWidth) == null ? void 0 : _indicatorProperties$3[indicatorKeyIndex]) != null ? _indicatorProperties$2 : 2,
40857
+ borderTopWidth: (_indicatorProperties$4 = (_indicatorProperties$5 = indicatorProperties.strokeWidth) == null ? void 0 : _indicatorProperties$5[indicatorKeyIndex]) != null ? _indicatorProperties$4 : 2,
40858
+ borderColor: (_indicatorProperties$6 = (_indicatorProperties$7 = indicatorProperties.colors) == null ? void 0 : _indicatorProperties$7[indicatorKeyIndex]) != null ? _indicatorProperties$6 : '#1E1D2D',
40859
+ opacity: (_indicatorProperties$8 = (_indicatorProperties$9 = indicatorProperties.opacity) == null ? void 0 : _indicatorProperties$9[indicatorKeyIndex]) != null ? _indicatorProperties$8 : 1
40860
+ };
40861
+ }
40862
+ return undefined;
40863
+ };
40864
+ return jsxs("div", {
40865
+ ref: widthRef,
40866
+ style: {
40867
+ position: 'relative',
40868
+ height: height
40869
+ },
40870
+ className: "vizzly-xy-chart" + (props != null && (_props$bars2 = props.bars) != null && _props$bars2.funnelChart ? ' vizzly-xy-chart-funnel' : ''),
40871
+ "data-testid": "vizzly-" + (props == null ? void 0 : props.uniqueId) + "-chart",
40872
+ children: [jsxs(XYChart, {
40873
+ theme: customTheme,
40874
+ margin: margin,
40875
+ height: height,
40876
+ xScale: getScale('x', horizontal, xAxisIsTime, props == null || (_props$lines2 = props.lines) == null ? void 0 : _props$lines2.scatter, !!(props != null && props.lines) || !!(props != null && props.areas)),
40877
+ yScale: getYScale(props == null ? void 0 : props.goalLine, maxValue, minValue, horizontal, xAxisIsTime),
40878
+ horizontal: horizontal,
40879
+ onPointerUp: function onPointerUp(params) {
40880
+ return props == null ? void 0 : props.onClick(nearestDatum, nearestTooltipDatums, params);
40881
+ },
40882
+ children: [jsx(Grid$1, {
40883
+ columns: horizontal,
40884
+ rows: !horizontal,
40885
+ stroke: "black",
40886
+ strokeDasharray: "0.5 5",
40887
+ strokeWidth: removeStroke ? 0 : 2,
40888
+ lineStyle: {
40889
+ strokeLinecap: 'round',
40890
+ stroke: (_theme$grid$stroke = theme == null || (_theme$grid = theme.grid) == null ? void 0 : _theme$grid.stroke) != null ? _theme$grid$stroke : 'rgba(200, 200, 200, 0.2)'
40891
+ }
40892
+ }), !(props != null && props.sparkline) && jsxs(Fragment$1, {
40893
+ children: [xAxisType !== 'none' && jsx(Axis, _extends({}, xAxisAttributes, {
40894
+ tickLabelProps: function tickLabelProps() {
40895
+ var tickLabelProps = _extends({}, axisLabelStyles(horizontal, theme == null ? void 0 : theme.labels));
40896
+ if (!horizontal) {
40897
+ tickLabelProps['y'] = 15;
40898
+ }
40899
+ return tickLabelProps;
40900
+ },
40901
+ numTicks: xAxisType === 'end2end' ? numberOfXAxisPoints : approximateXTickCount,
40902
+ strokeWidth: removeStroke ? 0 : 1,
40903
+ tickStroke: "#eaeaea",
40904
+ stroke: horizontal ? 'transparent' : axisStrokeColor,
40905
+ orientation: horizontal ? 'left' : 'bottom',
40906
+ tickFormat: handleFormatXAxisLabel(props.formatXAxisLabel, props.forceXAxisAsTime || xAxisIsTime, chartData),
40907
+ label: horizontal ? props == null || (_props$axisTitles = props.axisTitles) == null ? void 0 : _props$axisTitles.y : props == null || (_props$axisTitles2 = props.axisTitles) == null ? void 0 : _props$axisTitles2.x,
40908
+ children: function children(axisProps) {
40909
+ return jsx(XAxis, _extends({}, axisProps, {
40910
+ theme: theme,
40911
+ type: xAxisType,
40912
+ uniqueId: props == null ? void 0 : props.uniqueId,
40913
+ chartWidth: props == null ? void 0 : props.width,
40914
+ xAxisIsTime: !!props.forceXAxisAsTime,
40915
+ leftPanelWidth: leftWidth,
40916
+ axisHorizontal: props == null ? void 0 : props.horizontal
40917
+ }));
40918
+ }
40919
+ })), jsx(Axis, {
40920
+ labelOffset: 50,
40921
+ tickLabelProps: function tickLabelProps() {
40922
+ var tickLabelProps = _extends({}, axisLabelStyles(horizontal, theme == null ? void 0 : theme.labels));
40923
+ if (!horizontal && props.yAxisOrientation !== 'right') {
40924
+ tickLabelProps['width'] = LEFT_PANEL_WIDTH;
40925
+ tickLabelProps['textAnchor'] = 'middle';
40926
+ }
40927
+ return tickLabelProps;
40928
+ },
40929
+ hideAxisLine: true,
40930
+ numTicks: approxYAxisLabelCount === 'auto' ? DEFAULT_Y_AXIS_LABEL_COUNT$1 : approxYAxisLabelCount,
40931
+ strokeWidth: removeStroke ? 0 : 1,
40932
+ hideTicks: true,
40933
+ tickLength: !props.horizontal && props.yAxisOrientation !== 'right' ? LEFT_PANEL_WIDTH / 2 : 10,
40934
+ stroke: axisStrokeColor,
40935
+ orientation: horizontal ? 'bottom' : props.yAxisOrientation || 'left',
40936
+ tickFormat: formatYAxisLabel$1(props),
40937
+ label: horizontal ? props == null || (_props$axisTitles3 = props.axisTitles) == null ? void 0 : _props$axisTitles3.x : props == null || (_props$axisTitles4 = props.axisTitles) == null ? void 0 : _props$axisTitles4.y,
40938
+ children: function children(axisProps) {
40939
+ return jsx(YAxis, _extends({}, axisProps, {
40940
+ theme: theme,
40941
+ type: yAxisType,
40942
+ horizontal: horizontal,
40943
+ maxValueOfYAxis: props != null && props.formatYAxisLabel ? props == null ? void 0 : props.formatYAxisLabel(maxValue) : maxValue,
40944
+ uniqueId: props == null ? void 0 : props.uniqueId
40945
+ }));
40946
+ }
40947
+ })]
40948
+ }), jsx("style", {
40949
+ children: "\n .visx-bar-stack .visx-bar {\n stroke: #fff;\n stroke-width: 2px;\n }\n .vizzly-xy-chart-funnel .visx-bar-stack .visx-bar {\n stroke-width: 0;\n }\n .visx-tooltip-glyph svg {\n max-width: 10px\n height: 10px;\n }\n " + TOOLTIP_ZINDEX + "\n "
40950
+ }), props.lines && props.lines.keys.map(function (key, keyIndex) {
40951
+ var _props$lines3, _props$lines4;
40952
+ return jsx(GlyphSeries, _extends({
40953
+ size: function size(datum) {
40954
+ if (!datum || !datum.bubbleSize) return 5;
40955
+ return datum.bubbleSize;
40956
+ },
40957
+ dataKey: key,
40958
+ data: (_props$lines3 = props.lines) == null ? void 0 : _props$lines3.data
40959
+ }, accessors$1(xAxisIsTime, x, key, horizontal), {
40960
+ colorAccessor: (props == null || (_props$lines4 = props.lines) == null ? void 0 : _props$lines4.formatter) && getColorFromDatum(key, props == null ? void 0 : props.lines.formatter, colors, keyIndex)
40961
+ }), "scatter_chart_" + props.uniqueId + "_" + keyIndex);
40962
+ })]
40963
+ }), (props == null ? void 0 : props.legend) && jsx(Legend, {
40964
+ funnelChart: props == null || (_props$bars3 = props.bars) == null ? void 0 : _props$bars3.funnelChart
40965
+ // groupingCount={props}
40966
+ ,
40967
+ keys: getConcatenatedProperties(props, 'keys'),
40968
+ colors: colors,
40969
+ typeIndex: getTypeIndex(props),
40970
+ formatSeriesName: props == null ? void 0 : props.formatSeriesName,
40971
+ formatter: props == null || (_props$bars4 = props.bars) == null ? void 0 : _props$bars4.formatter,
40972
+ data: (_props$bars5 = props.bars) == null ? void 0 : _props$bars5.data,
40973
+ conditionalFormattingPossibilities: props.conditionalFormattingPossibilities,
40974
+ getIndicatorStyles: getTrendLineStyle
40975
+ })]
40976
+ });
40977
+ };
40978
+
40979
+ var BubbleChart$2 = /*#__PURE__*/forwardRef(function (props, ref) {
40980
+ var zValues = props.z ? props.data.map(function (d) {
40981
+ return d[props.z];
40982
+ }) : [];
40983
+ var normaliseArray = function normaliseArray(array, min, max) {
40984
+ var arrayMin = Math.min.apply(Math, array);
40985
+ var arrayMax = Math.max.apply(Math, array);
40986
+ return array.map(function (value) {
40987
+ return (value - arrayMin) / (arrayMax - arrayMin) * (max - min) + min;
40988
+ });
40989
+ };
40990
+ var scaledSizeValues = normaliseArray(zValues, 1, 30);
40991
+ var data = props.data.map(function (d, i) {
40992
+ return _extends({}, d, {
40993
+ bubbleSize: scaledSizeValues[i]
40994
+ });
40995
+ });
40996
+ var forceRerender = useChartForceRerender(ref);
40997
+ if (forceRerender) return null;
40998
+ return jsx(ParentSize, {
40999
+ children: function children(parent) {
41000
+ var _props$height, _props$width;
41001
+ return jsx(VizzlyBubbleChart, {
41002
+ isBubble: true,
41003
+ approxXAxisLabelCount: props.approxXAxisLabelCount,
41004
+ approxYAxisLabelCount: props.approxYAxisLabelCount,
41005
+ uniqueId: props.uniqueId,
41006
+ formatSeriesName: props.formatSeriesName,
41007
+ forceXAxisAsTime: props.forceXAxisAsTime,
41008
+ sparkline: props.sparkline,
41009
+ lines: {
41010
+ annotate: props.annotate || [],
41011
+ data: data,
41012
+ keys: props.keys,
41013
+ colors: props.colors,
41014
+ scatter: true
41015
+ },
41016
+ x: props.x,
41017
+ z: props.z,
41018
+ sharedTooltip: true,
41019
+ legend: props.legend,
41020
+ removeStroke: props == null ? void 0 : props.removeStroke,
41021
+ formatXAxisLabel: props == null ? void 0 : props.formatXAxisLabel,
41022
+ formatYAxisLabel: props == null ? void 0 : props.formatYAxisLabel,
41023
+ horizontal: props == null ? void 0 : props.horizontal,
41024
+ height: (_props$height = props == null ? void 0 : props.height) != null ? _props$height : parent == null ? void 0 : parent.height,
41025
+ width: (_props$width = props == null ? void 0 : props.width) != null ? _props$width : parent == null ? void 0 : parent.width,
41026
+ theme: props == null ? void 0 : props.theme,
41027
+ onClick: function onClick(datum) {
41028
+ return (props == null ? void 0 : props.onClick) && (props == null ? void 0 : props.onClick(datum));
41029
+ },
41030
+ goalLine: props == null ? void 0 : props.goalLine,
41031
+ axisTitles: props == null ? void 0 : props.axisTitles,
41032
+ idPrefix: props == null ? void 0 : props.idPrefix,
41033
+ popOverMenuStyles: props.popOverMenuStyles
41034
+ });
41035
+ }
41036
+ });
41037
+ });
41038
+
40787
41039
  var defaultProps$6 = {
40788
41040
  type: 'bubbleChart',
40789
41041
  xMeasure: null,
@@ -40871,7 +41123,7 @@ var BubbleChartView = function BubbleChartView(props) {
40871
41123
  queriesAreChanging: props.queriesAreChanging,
40872
41124
  children: [jsx(ViewHeader, _extends({}, headerProps)), jsx(ChartWrapper, {
40873
41125
  disabledFeatures: (_props$library2 = props.library) != null ? _props$library2 : false,
40874
- children: jsx(BubbleChart$3, {
41126
+ children: jsx(BubbleChart$2, {
40875
41127
  ref: ref,
40876
41128
  approxXAxisLabelCount: props.approxXAxisLabelCount,
40877
41129
  approxYAxisLabelCount: props.approxYAxisLabelCount,
@@ -40916,7 +41168,7 @@ var BubbleChartView = function BubbleChartView(props) {
40916
41168
  BubbleChartView.defaultProps = defaultProps$6;
40917
41169
  var memoized$4 = /*#__PURE__*/memo(BubbleChartView, shouldUpdate);
40918
41170
 
40919
- var BubbleChart$2 = function BubbleChart(props) {
41171
+ var BubbleChart$3 = function BubbleChart(props) {
40920
41172
  var _props$dashboardBehav;
40921
41173
  var _props$component = props.component,
40922
41174
  results = _props$component.results,
@@ -48583,7 +48835,7 @@ var Component = function Component(props) {
48583
48835
  });
48584
48836
  },
48585
48837
  onError: dashboardBehaviour.onError,
48586
- children: jsx(BubbleChart$2, {
48838
+ children: jsx(BubbleChart$3, {
48587
48839
  id: props.id,
48588
48840
  setLocalFilters: props.setLocalFilters,
48589
48841
  dataSet: dataSet,
@@ -57046,6 +57298,22 @@ var ChartSettingsSection = function ChartSettingsSection(_ref) {
57046
57298
  }
57047
57299
  return options;
57048
57300
  }();
57301
+ var layoutOptions = function () {
57302
+ var options = [{
57303
+ label: textOverride('grouped', 'Grouped'),
57304
+ value: false
57305
+ }, {
57306
+ label: textOverride('stacked', 'Stacked'),
57307
+ value: true
57308
+ }];
57309
+ if (attributes.type === 'barChart' || attributes.type === 'areaChart') {
57310
+ options.push({
57311
+ label: textOverride('stacked_100prc', 'Stacked (100%)'),
57312
+ value: '100%'
57313
+ });
57314
+ }
57315
+ return options;
57316
+ }();
57049
57317
  return jsx(Section, {
57050
57318
  title: section.title,
57051
57319
  tooltip: section == null ? void 0 : section.description,
@@ -57065,16 +57333,7 @@ var ChartSettingsSection = function ChartSettingsSection(_ref) {
57065
57333
  stacked: stacked
57066
57334
  });
57067
57335
  },
57068
- options: [{
57069
- label: textOverride('grouped', 'Grouped'),
57070
- value: false
57071
- }, {
57072
- label: textOverride('stacked', 'Stacked'),
57073
- value: true
57074
- }, {
57075
- label: textOverride('stacked_100prc', 'Stacked (100%)'),
57076
- value: '100%'
57077
- }]
57336
+ options: layoutOptions
57078
57337
  }), section.type === 'curve' && jsx(FormatSelectInput, {
57079
57338
  label: section.title,
57080
57339
  id: "format-layout-curve",
@@ -9,5 +9,5 @@ interface getAxisFormattingFunctionArgs {
9
9
  };
10
10
  formatFunctionId: FormatType;
11
11
  }
12
- export declare const getAxisFormattingFunction: ({ formatFunctionId, numberFormatOptions, dateTimeFormatOptions, }: getAxisFormattingFunctionArgs) => ((number: number | null | undefined, noValueReplacement?: string | undefined) => string) | ((date: Date) => string) | ((value: string) => string);
12
+ export declare const getAxisFormattingFunction: ({ formatFunctionId, numberFormatOptions, dateTimeFormatOptions, }: getAxisFormattingFunctionArgs) => ((date: Date) => string) | ((number: number | null | undefined, noValueReplacement?: string | undefined) => string) | ((value: string) => string);
13
13
  export {};
@@ -9,5 +9,5 @@ interface getAxisFormattingFunctionArgs {
9
9
  };
10
10
  formatFunctionId: FormatType;
11
11
  }
12
- export declare const getAxisFormattingFunction: ({ formatFunctionId, numberFormatOptions, dateTimeFormatOptions, }: getAxisFormattingFunctionArgs) => ((number: number | null | undefined, noValueReplacement?: string | undefined) => string) | ((date: Date) => string) | ((value: string) => string);
12
+ export declare const getAxisFormattingFunction: ({ formatFunctionId, numberFormatOptions, dateTimeFormatOptions, }: getAxisFormattingFunctionArgs) => ((date: Date) => string) | ((number: number | null | undefined, noValueReplacement?: string | undefined) => string) | ((value: string) => string);
13
13
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vizzly/dashboard",
3
3
  "author": "james@vizzly.co",
4
- "version": "0.14.4-dev-a92622560305a2aadfb851574db2d2f43a80cb14",
4
+ "version": "0.14.4-dev-8beb4cd0b38350abdd05b93b66f2523ced40aa15",
5
5
  "source": "src/index.tsx",
6
6
  "types": "./dist/dashboard/src/index.d.ts",
7
7
  "module": "./dist/dashboard.esm.js",