layerchart 1.0.6 → 1.0.8

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.
@@ -346,6 +346,7 @@
346
346
  getAreaProps,
347
347
  getLabelsProps,
348
348
  getPointsProps,
349
+ highlightSeriesKey,
349
350
  setHighlightSeriesKey,
350
351
  }}
351
352
 
@@ -353,6 +353,7 @@
353
353
  visibleSeries,
354
354
  getBarsProps,
355
355
  getLabelsProps,
356
+ highlightSeriesKey,
356
357
  setHighlightSeriesKey,
357
358
  }}
358
359
  <slot {...slotProps}>
@@ -277,6 +277,7 @@
277
277
  getLabelsProps,
278
278
  getPointsProps,
279
279
  getSplineProps,
280
+ highlightSeriesKey,
280
281
  setHighlightSeriesKey,
281
282
  }}
282
283
  <slot {...slotProps}>
@@ -221,6 +221,7 @@
221
221
  tooltip,
222
222
  series,
223
223
  visibleData,
224
+ highlightKey,
224
225
  setHighlightKey,
225
226
  }}
226
227
  <slot {...slotProps}>
@@ -240,6 +240,7 @@
240
240
  visibleSeries,
241
241
  getLabelsProps,
242
242
  getPointsProps,
243
+ highlightSeriesKey,
243
244
  setHighlightSeriesKey,
244
245
  }}
245
246
  {@const activeSeries = tooltip.data
@@ -1,4 +1,5 @@
1
- import { extent as d3extent, type Numeric } from 'd3-array';
1
+ import type { Numeric } from 'd3-array';
2
+ import { extent as d3extent } from 'd3-array';
2
3
  /**
3
4
  * Wrapper around d3-array's `extent()` but remove [undefined, undefined] return type
4
5
  */
@@ -1,6 +1,5 @@
1
- import { stackOffsetNone, stackOrderNone } from 'd3-shape';
2
- type OrderType = typeof stackOrderNone;
3
- type OffsetType = typeof stackOffsetNone;
1
+ type OrderType = typeof import('d3-shape').stackOrderNone;
2
+ type OffsetType = typeof import('d3-shape').stackOffsetNone;
4
3
  export declare function groupStackData<TData>(data: TData[], options: {
5
4
  xKey: string;
6
5
  groupBy?: string;
@@ -1,5 +1,5 @@
1
1
  import { flatGroup, group, max, rollup, sum } from 'd3-array';
2
- import { stack, stackOffsetNone, stackOrderNone } from 'd3-shape';
2
+ import { stack } from 'd3-shape';
3
3
  import { pivotWider } from './pivot.js';
4
4
  export function groupStackData(data, options) {
5
5
  const dataByKey = group(data, (d) => d[options.xKey]);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "Sean Lynch <techniq35@gmail.com>",
5
5
  "license": "MIT",
6
6
  "repository": "techniq/layerchart",
7
- "version": "1.0.6",
7
+ "version": "1.0.8",
8
8
  "devDependencies": {
9
9
  "@changesets/cli": "^2.28.1",
10
10
  "@mdi/js": "^7.4.47",
@@ -93,9 +93,7 @@
93
93
  "d3-time": "^3.1.0",
94
94
  "date-fns": "^4.1.0",
95
95
  "layercake": "^8.4.2",
96
- "lodash-es": "^4.17.21",
97
- "shapefile": "^0.6.6",
98
- "topojson-client": "^3.1.0"
96
+ "lodash-es": "^4.17.21"
99
97
  },
100
98
  "peerDependencies": {
101
99
  "svelte": "^3.56.0 || ^4.0.0 || ^5.0.0"