eleventy-plugin-uncharted 0.9.0 → 0.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-uncharted",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "An Eleventy plugin that renders CSS-based charts from CSV data using shortcodes",
5
5
  "main": "eleventy.config.js",
6
6
  "type": "module",
@@ -22,7 +22,7 @@ export function renderDot(config) {
22
22
  if (chartType === 'dot') {
23
23
  console.warn(
24
24
  '[uncharted] Chart type "dot" is deprecated. ' +
25
- 'Migrate to "line" with showLines: false, or use "bubble" for sized dots.'
25
+ 'Migrate to "line" with lines: false, or use "bubble" for sized dots.'
26
26
  );
27
27
  }
28
28
 
@@ -1,6 +1,6 @@
1
1
  import { renderDot } from './dot.js';
2
2
 
3
3
  export function renderLine(config) {
4
- const connectDots = config.showLines !== false; // default true
4
+ const connectDots = config.lines !== false; // default true
5
5
  return renderDot({ ...config, connectDots, chartType: 'line' });
6
6
  }