@shopify/polaris-viz
Advanced tools
Comparing version 0.7.3 to 0.8.0
# Changelog | ||
## [0.8.0] — 2021-04-14 | ||
### Added | ||
- `background`, `border`, `border-radius`, and `padding` to each `TooltipContent` styles | ||
- Added `emptyStateText` and empty state handling to `<LineChart />` | ||
### Removed | ||
- `background`, `border`, `border-radius`, and `padding` from `TooltipContainer` styles | ||
## [0.7.3] - 2021-04-07 | ||
@@ -4,0 +15,0 @@ |
{ | ||
"name": "@shopify/polaris-viz", | ||
"description": "Shopify’s viz component library", | ||
"version": "0.7.3", | ||
"version": "0.8.0", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "license": "SEE LICENSE IN LICENSE.md", |
@@ -13,4 +13,5 @@ import React from 'react'; | ||
hasSpline: boolean; | ||
emptyStateText?: string; | ||
} | ||
export declare function Chart({ series, dimensions, xAxisLabels, formatXAxisLabel, formatYAxisLabel, renderTooltipContent, hideXAxisLabels, hasSpline, }: Props): JSX.Element | null; | ||
export declare function Chart({ series, dimensions, xAxisLabels, formatXAxisLabel, formatYAxisLabel, renderTooltipContent, hideXAxisLabels, hasSpline, emptyStateText, }: Props): JSX.Element | null; | ||
export {}; |
@@ -13,4 +13,5 @@ import React from 'react'; | ||
skipLinkText?: string; | ||
emptyStateText?: string; | ||
hasSpline?: boolean; | ||
} | ||
export declare function LineChart({ series, xAxisLabels, formatXAxisLabel, formatYAxisLabel, hideXAxisLabels, renderTooltipContent, skipLinkText, hasSpline, }: LineChartProps): JSX.Element | null; | ||
export declare function LineChart({ series, xAxisLabels, formatXAxisLabel, formatYAxisLabel, hideXAxisLabels, renderTooltipContent, skipLinkText, emptyStateText, hasSpline, }: LineChartProps): JSX.Element; |
@@ -32,2 +32,4 @@ export declare const CROSSHAIR_WIDTH = 5; | ||
export declare const MIN_BAR_HEIGHT = 5; | ||
export declare const EMPTY_STATE_CHART_MIN = 0; | ||
export declare const EMPTY_STATE_CHART_MAX = 10; | ||
export declare enum Margin { | ||
@@ -34,0 +36,0 @@ Top, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
539764
7736