@d3fc/d3fc-chart
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="2.3.0"></a> | ||
# [2.3.0](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-chart@2.2.0...@d3fc/d3fc-chart@2.3.0) (2019-03-07) | ||
### Features | ||
* export cartesian/element css variables as part of package ([17f8a4b](https://github.com/d3fc/d3fc/commit/17f8a4b)) | ||
<a name="2.2.0"></a> | ||
@@ -8,0 +19,0 @@ # [2.2.0](https://github.com/d3fc/d3fc/compare/@d3fc/d3fc-chart@2.1.6...@d3fc/d3fc-chart@2.2.0) (2019-03-07) |
{ | ||
"name": "@d3fc/d3fc-chart", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "A simple Cartesian chart component that renders to canvas or SVG.", | ||
@@ -33,3 +33,3 @@ "license": "MIT", | ||
"@d3fc/d3fc-data-join": "^5.0.7", | ||
"@d3fc/d3fc-element": "^5.1.6", | ||
"@d3fc/d3fc-element": "^5.2.0", | ||
"@d3fc/d3fc-rebind": "^5.0.6", | ||
@@ -36,0 +36,0 @@ "@d3fc/d3fc-series": "^4.0.15", |
// Adapted from https://github.com/substack/insert-css | ||
const css = `d3fc-group.cartesian-chart{width:100%;height:100%;overflow:hidden;display:grid;display:-ms-grid;grid-template-columns:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);-ms-grid-columns:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);grid-template-rows:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);-ms-grid-rows:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);} | ||
export const css = `d3fc-group.cartesian-chart{width:100%;height:100%;overflow:hidden;display:grid;display:-ms-grid;grid-template-columns:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);-ms-grid-columns:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);grid-template-rows:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);-ms-grid-rows:minmax(1em,max-content) auto 1fr auto minmax(1em,max-content);} | ||
d3fc-group.cartesian-chart>.top-label{align-self:center;-ms-grid-column-align:center;justify-self:center;-ms-grid-row-align:center;grid-column:3;-ms-grid-column:3;-ms-grid-row:1;-ms-grid-row:1;} | ||
@@ -4,0 +4,0 @@ d3fc-group.cartesian-chart>.top-axis{height:2em;grid-column:3;-ms-grid-column:3;grid-row:2;-ms-grid-row:2;} |
123736
Updated@d3fc/d3fc-element@^5.2.0