layerchart 0.43.7 → 0.44.0
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/LICENSE +2 -2
- package/dist/components/Arc.svelte.d.ts +8 -8
- package/dist/components/Area.svelte.d.ts +2 -2
- package/dist/components/Bar.svelte.d.ts +7 -7
- package/dist/components/Bars.svelte.d.ts +6 -6
- package/dist/components/Brush.svelte.d.ts +6 -6
- package/dist/components/Calendar.svelte.d.ts +1 -1
- package/dist/components/Chart.svelte +2 -2
- package/dist/components/Chart.svelte.d.ts +1 -0
- package/dist/components/ChartClipPath.svelte.d.ts +1 -1
- package/dist/components/ChartContext.svelte +17 -2
- package/dist/components/ChartContext.svelte.d.ts +10 -0
- package/dist/components/Circle.svelte.d.ts +6 -6
- package/dist/components/CircleClipPath.svelte.d.ts +3 -3
- package/dist/components/ClipPath.svelte.d.ts +2 -2
- package/dist/components/ColorRamp.svelte.d.ts +3 -3
- package/dist/components/Frame.svelte.d.ts +1 -1
- package/dist/components/GeoCircle.svelte.d.ts +3 -3
- package/dist/components/GeoPath.svelte +3 -1
- package/dist/components/GeoPath.svelte.d.ts +1 -1
- package/dist/components/GeoPoint.svelte.d.ts +2 -2
- package/dist/components/GeoSpline.svelte.d.ts +1 -1
- package/dist/components/Graticule.svelte.d.ts +1 -1
- package/dist/components/Group.svelte.d.ts +2 -2
- package/dist/components/Highlight.svelte +15 -8
- package/dist/components/Highlight.svelte.d.ts +7 -7
- package/dist/components/Hull.svelte.d.ts +1 -1
- package/dist/components/Labels.svelte.d.ts +4 -4
- package/dist/components/Legend.svelte.d.ts +7 -7
- package/dist/components/Line.svelte.d.ts +4 -4
- package/dist/components/LinearGradient.svelte.d.ts +8 -8
- package/dist/components/Link.svelte.d.ts +7 -7
- package/dist/components/Points.svelte.d.ts +3 -3
- package/dist/components/RadialGradient.svelte.d.ts +9 -9
- package/dist/components/Rect.svelte.d.ts +6 -6
- package/dist/components/RectClipPath.svelte.d.ts +3 -3
- package/dist/components/Rule.svelte.d.ts +2 -2
- package/dist/components/Spline.svelte.d.ts +1 -1
- package/dist/components/Text.svelte.d.ts +12 -12
- package/dist/components/Tooltip.svelte.d.ts +7 -7
- package/dist/components/TooltipItem.svelte.d.ts +2 -2
- package/dist/components/TransformControls.svelte.d.ts +3 -3
- package/dist/components/Voronoi.svelte.d.ts +1 -1
- package/dist/components/layout/Canvas.svelte.d.ts +3 -3
- package/dist/docs/Code.svelte.d.ts +4 -4
- package/dist/docs/Json.svelte.d.ts +1 -1
- package/dist/docs/Preview.svelte.d.ts +3 -3
- package/package.json +16 -16
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2024 Sean Lynch
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -6,18 +6,18 @@ declare const __propDef: {
|
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
8
8
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
9
|
-
value?: number;
|
|
10
|
-
initialValue?: number;
|
|
11
|
-
domain?: number[];
|
|
12
|
-
range?: number[];
|
|
9
|
+
value?: number | undefined;
|
|
10
|
+
initialValue?: number | undefined;
|
|
11
|
+
domain?: number[] | undefined;
|
|
12
|
+
range?: number[] | undefined;
|
|
13
13
|
startAngle?: number | undefined;
|
|
14
14
|
endAngle?: number | undefined;
|
|
15
15
|
innerRadius?: number | undefined;
|
|
16
16
|
outerRadius?: number | undefined;
|
|
17
|
-
cornerRadius?: number;
|
|
18
|
-
padAngle?: number;
|
|
19
|
-
track?: boolean | SVGAttributes<SVGPathElement
|
|
20
|
-
offset?: number;
|
|
17
|
+
cornerRadius?: number | undefined;
|
|
18
|
+
padAngle?: number | undefined;
|
|
19
|
+
track?: (boolean | SVGAttributes<SVGPathElement>) | undefined;
|
|
20
|
+
offset?: number | undefined;
|
|
21
21
|
};
|
|
22
22
|
events: {
|
|
23
23
|
click: MouseEvent;
|
|
@@ -9,7 +9,7 @@ declare const __propDef: {
|
|
|
9
9
|
[x: string]: any;
|
|
10
10
|
data?: any;
|
|
11
11
|
pathData?: string | undefined | null;
|
|
12
|
-
radial?: boolean;
|
|
12
|
+
radial?: boolean | undefined;
|
|
13
13
|
x?: Accessor;
|
|
14
14
|
y0?: Accessor;
|
|
15
15
|
y1?: Accessor;
|
|
@@ -17,7 +17,7 @@ declare const __propDef: {
|
|
|
17
17
|
clipPath?: string | undefined;
|
|
18
18
|
curve?: CurveFactory | undefined;
|
|
19
19
|
defined?: Parameters<Area<any>["defined"]>[0] | undefined;
|
|
20
|
-
line?: boolean | Partial<ComponentProps<Spline
|
|
20
|
+
line?: (boolean | Partial<ComponentProps<Spline>>) | undefined;
|
|
21
21
|
};
|
|
22
22
|
events: {
|
|
23
23
|
click: MouseEvent;
|
|
@@ -9,14 +9,14 @@ declare const __propDef: {
|
|
|
9
9
|
x?: Accessor;
|
|
10
10
|
y?: Accessor;
|
|
11
11
|
fill?: string | undefined;
|
|
12
|
-
stroke?: string;
|
|
13
|
-
strokeWidth?: number;
|
|
14
|
-
radius?: number;
|
|
15
|
-
rounded?: "all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
16
|
-
inset?: number;
|
|
12
|
+
stroke?: string | undefined;
|
|
13
|
+
strokeWidth?: number | undefined;
|
|
14
|
+
radius?: number | undefined;
|
|
15
|
+
rounded?: ("all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
16
|
+
inset?: number | undefined;
|
|
17
17
|
groupBy?: string | undefined;
|
|
18
|
-
groupPaddingInner?: number;
|
|
19
|
-
groupPaddingOuter?: number;
|
|
18
|
+
groupPaddingInner?: number | undefined;
|
|
19
|
+
groupPaddingOuter?: number | undefined;
|
|
20
20
|
spring?: ComponentProps<Rect>["spring"];
|
|
21
21
|
tweened?: ComponentProps<Rect>["tweened"];
|
|
22
22
|
};
|
|
@@ -7,15 +7,15 @@ declare const __propDef: {
|
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
x?: Accessor;
|
|
9
9
|
y?: Accessor;
|
|
10
|
-
stroke?: string;
|
|
11
|
-
strokeWidth?: number;
|
|
12
|
-
radius?: number;
|
|
13
|
-
inset?: number;
|
|
10
|
+
stroke?: string | undefined;
|
|
11
|
+
strokeWidth?: number | undefined;
|
|
12
|
+
radius?: number | undefined;
|
|
13
|
+
inset?: number | undefined;
|
|
14
14
|
spring?: ComponentProps<Rect>["spring"];
|
|
15
15
|
tweened?: ComponentProps<Rect>["tweened"];
|
|
16
16
|
groupBy?: string | undefined;
|
|
17
|
-
groupPaddingInner?: number;
|
|
18
|
-
groupPaddingOuter?: number;
|
|
17
|
+
groupPaddingInner?: number | undefined;
|
|
18
|
+
groupPaddingOuter?: number | undefined;
|
|
19
19
|
};
|
|
20
20
|
events: {
|
|
21
21
|
[evt: string]: CustomEvent<any>;
|
|
@@ -3,11 +3,11 @@ import type { SVGAttributes } from 'svelte/elements';
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
axis?: "x" | "y" | "both";
|
|
7
|
-
handleSize?: number;
|
|
8
|
-
resetOnEnd?: boolean;
|
|
9
|
-
xDomain?: [number | Date | null, number | Date | null];
|
|
10
|
-
yDomain?: [number | Date | null, number | Date | null];
|
|
6
|
+
axis?: ("x" | "y" | "both") | undefined;
|
|
7
|
+
handleSize?: number | undefined;
|
|
8
|
+
resetOnEnd?: boolean | undefined;
|
|
9
|
+
xDomain?: [number | Date | null, number | Date | null] | undefined;
|
|
10
|
+
yDomain?: [number | Date | null, number | Date | null] | undefined;
|
|
11
11
|
range?: SVGAttributes<SVGRectElement> | undefined;
|
|
12
12
|
handle?: SVGAttributes<SVGRectElement> | undefined;
|
|
13
13
|
classes?: {
|
|
@@ -15,7 +15,7 @@ declare const __propDef: {
|
|
|
15
15
|
frame?: string;
|
|
16
16
|
range?: string;
|
|
17
17
|
handle?: string;
|
|
18
|
-
};
|
|
18
|
+
} | undefined;
|
|
19
19
|
};
|
|
20
20
|
events: {
|
|
21
21
|
change: CustomEvent<{
|
|
@@ -8,7 +8,7 @@ declare const __propDef: {
|
|
|
8
8
|
start: Date;
|
|
9
9
|
end: Date;
|
|
10
10
|
cellSize?: number | [number, number] | undefined;
|
|
11
|
-
monthPath?: boolean | Partial<ComponentProps<MonthPath
|
|
11
|
+
monthPath?: (boolean | Partial<ComponentProps<MonthPath>>) | undefined;
|
|
12
12
|
tooltip?: TooltipContextValue | undefined;
|
|
13
13
|
};
|
|
14
14
|
events: {
|
|
@@ -102,11 +102,11 @@ onMount(() => {
|
|
|
102
102
|
? geoFitObjectTransform(geo.projection(), [width, height], geo.fitGeojson)
|
|
103
103
|
: undefined}
|
|
104
104
|
|
|
105
|
-
<ChartContext {data} let:data let:flatData>
|
|
105
|
+
<ChartContext {data} let:data let:flatData on:resize>
|
|
106
106
|
{#key isMounted}
|
|
107
107
|
<TransformContext
|
|
108
108
|
bind:this={transformContext}
|
|
109
|
-
mode={transform?.mode ?? geo?.applyTransform?.length ? 'manual' : 'none'}
|
|
109
|
+
mode={(transform?.mode ?? geo?.applyTransform?.length) ? 'manual' : 'none'}
|
|
110
110
|
initialTranslate={initialTransform?.translate}
|
|
111
111
|
initialScale={initialTransform?.scale}
|
|
112
112
|
processTranslate={geo
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- Wrapper to allow getting LayerCake context from <Chart> and exposing with a strongly type context getter -->
|
|
2
|
-
<script context="module">import { getContext, setContext } from 'svelte';
|
|
2
|
+
<script context="module">import { createEventDispatcher, getContext, onMount, setContext } from 'svelte';
|
|
3
3
|
import {} from 'svelte/store';
|
|
4
4
|
export const chartContextKey = Symbol();
|
|
5
5
|
export function chartContext() {
|
|
@@ -10,8 +10,23 @@ function setChartContext(context) {
|
|
|
10
10
|
}
|
|
11
11
|
</script>
|
|
12
12
|
|
|
13
|
-
<script generics="TData">const
|
|
13
|
+
<script generics="TData">const dispatch = createEventDispatcher();
|
|
14
|
+
const layerCakeContext = getContext('LayerCake');
|
|
14
15
|
setChartContext(layerCakeContext);
|
|
16
|
+
const { width, height, containerWidth, containerHeight } = layerCakeContext;
|
|
17
|
+
$: if (isMounted) {
|
|
18
|
+
dispatch('resize', {
|
|
19
|
+
width: $width,
|
|
20
|
+
height: $height,
|
|
21
|
+
containerWidth: $containerWidth,
|
|
22
|
+
containerHeight: $containerHeight,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
// Track when mounted since LayerCake initializes width/height with `100` until binded `clientWidth`/`clientWidth` can run
|
|
26
|
+
let isMounted = false;
|
|
27
|
+
onMount(() => {
|
|
28
|
+
isMounted = true;
|
|
29
|
+
});
|
|
15
30
|
// Added to try to pass TData downward
|
|
16
31
|
export let data = []; // Same as `ComponentProps<Chart<TData>>` but causes circular reference
|
|
17
32
|
</script>
|
|
@@ -64,6 +64,16 @@ type LayerCakeContext<TData> = {
|
|
|
64
64
|
rScale: Readable<AnyScale>;
|
|
65
65
|
rGet: Readable<any>;
|
|
66
66
|
};
|
|
67
|
+
export type ChartEvents = {
|
|
68
|
+
resize: ChartResizeDetail;
|
|
69
|
+
};
|
|
70
|
+
export type ChartResizeDetail = {
|
|
71
|
+
width: number;
|
|
72
|
+
height: number;
|
|
73
|
+
containerWidth: number;
|
|
74
|
+
containerHeight: number;
|
|
75
|
+
};
|
|
76
|
+
export type ChartResizeEvent = CustomEvent<ChartResizeDetail>;
|
|
67
77
|
export type ChartContext<TData> = LayerCakeContext<TData> & {};
|
|
68
78
|
export declare function chartContext<TData = any>(): ChartContext<TData>;
|
|
69
79
|
import type { SankeyGraph } from 'd3-sankey';
|
|
@@ -3,12 +3,12 @@ import type { spring as springStore, tweened as tweenedStore } from 'svelte/moti
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
cx?: number;
|
|
7
|
-
initialCx?: number;
|
|
8
|
-
cy?: number;
|
|
9
|
-
initialCy?: number;
|
|
10
|
-
r?: number;
|
|
11
|
-
initialR?: number;
|
|
6
|
+
cx?: number | undefined;
|
|
7
|
+
initialCx?: number | undefined;
|
|
8
|
+
cy?: number | undefined;
|
|
9
|
+
initialCy?: number | undefined;
|
|
10
|
+
r?: number | undefined;
|
|
11
|
+
initialR?: number | undefined;
|
|
12
12
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
13
13
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
14
14
|
};
|
|
@@ -3,9 +3,9 @@ import type { spring as springStore, tweened as tweenedStore } from 'svelte/moti
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
id?: string;
|
|
7
|
-
cx?: number;
|
|
8
|
-
cy?: number;
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
cx?: number | undefined;
|
|
8
|
+
cy?: number | undefined;
|
|
9
9
|
r: number;
|
|
10
10
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
11
11
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
@@ -2,9 +2,9 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
id?: string;
|
|
5
|
+
id?: string | undefined;
|
|
6
6
|
useId?: string | undefined;
|
|
7
|
-
disabled?: boolean;
|
|
7
|
+
disabled?: boolean | undefined;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
click: MouseEvent;
|
|
@@ -3,9 +3,9 @@ declare const __propDef: {
|
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
interpolator: (t: number) => string;
|
|
6
|
-
steps?: number;
|
|
7
|
-
height?: string | number;
|
|
8
|
-
width?: string | number;
|
|
6
|
+
steps?: number | undefined;
|
|
7
|
+
height?: (string | number) | undefined;
|
|
8
|
+
width?: (string | number) | undefined;
|
|
9
9
|
};
|
|
10
10
|
events: {
|
|
11
11
|
[evt: string]: CustomEvent<any>;
|
|
@@ -2,9 +2,9 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
radius?: number;
|
|
6
|
-
center?: [number, number];
|
|
7
|
-
precision?: number;
|
|
5
|
+
radius?: number | undefined;
|
|
6
|
+
center?: [number, number] | undefined;
|
|
7
|
+
precision?: number | undefined;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
pointermove: PointerEvent;
|
|
@@ -69,7 +69,9 @@ $: if (renderContext === 'canvas' && $ctx) {
|
|
|
69
69
|
$ctx.fill();
|
|
70
70
|
$ctx.lineWidth = Number(strokeWidth ?? 0);
|
|
71
71
|
$ctx.strokeStyle =
|
|
72
|
-
stroke ?? computedStyles.stroke === 'none'
|
|
72
|
+
(stroke ?? computedStyles.stroke === 'none')
|
|
73
|
+
? 'transparent'
|
|
74
|
+
: (computedStyles.stroke ?? '');
|
|
73
75
|
$ctx.stroke();
|
|
74
76
|
}
|
|
75
77
|
}
|
|
@@ -14,7 +14,7 @@ declare const __propDef: {
|
|
|
14
14
|
stroke?: string | undefined;
|
|
15
15
|
strokeWidth?: number | string | undefined;
|
|
16
16
|
tooltip?: TooltipContextValue | undefined;
|
|
17
|
-
curve?: CurveFactory | CurveFactoryLineOnly;
|
|
17
|
+
curve?: (CurveFactory | CurveFactoryLineOnly) | undefined;
|
|
18
18
|
class?: string | undefined;
|
|
19
19
|
geoTransform?: ((projection: GeoProjection | GeoIdentityTransform) => GeoTransformPrototype) | undefined;
|
|
20
20
|
};
|
|
@@ -4,10 +4,10 @@ declare const __propDef: {
|
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
lat: number;
|
|
6
6
|
long: number;
|
|
7
|
-
render?: (ctx: CanvasRenderingContext2D, coords: {
|
|
7
|
+
render?: ((ctx: CanvasRenderingContext2D, coords: {
|
|
8
8
|
x: number;
|
|
9
9
|
y: number;
|
|
10
|
-
}) => any;
|
|
10
|
+
}) => any) | undefined;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
|
@@ -6,7 +6,7 @@ declare const __propDef: {
|
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
lines?: Partial<ComponentProps<GeoPath>> | boolean | undefined;
|
|
8
8
|
outline?: Partial<ComponentProps<GeoPath>> | boolean | undefined;
|
|
9
|
-
step?: [number, number];
|
|
9
|
+
step?: [number, number] | undefined;
|
|
10
10
|
};
|
|
11
11
|
events: {
|
|
12
12
|
[evt: string]: CustomEvent<any>;
|
|
@@ -7,8 +7,8 @@ declare const __propDef: {
|
|
|
7
7
|
initialX?: number | undefined;
|
|
8
8
|
y?: number | undefined;
|
|
9
9
|
initialY?: number | undefined;
|
|
10
|
-
center?: boolean | "x" | "y";
|
|
11
|
-
preventTouchMove?: boolean;
|
|
10
|
+
center?: (boolean | "x" | "y") | undefined;
|
|
11
|
+
preventTouchMove?: boolean | undefined;
|
|
12
12
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
13
13
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
14
14
|
};
|
|
@@ -163,17 +163,22 @@ $: if (highlightData) {
|
|
|
163
163
|
// Ignore non-array data such as hierarchy and graph (make Typescript happy)
|
|
164
164
|
if (Array.isArray($contextData)) {
|
|
165
165
|
// For each series, find the related data point
|
|
166
|
-
const seriesPointsData = $contextData
|
|
166
|
+
const seriesPointsData = $contextData
|
|
167
|
+
.map((series) => {
|
|
167
168
|
return {
|
|
168
169
|
series,
|
|
169
170
|
point: series.find((d) => _y(d) === _y(highlightSeriesPoint)),
|
|
170
171
|
};
|
|
172
|
+
})
|
|
173
|
+
.filter((d) => d.point); // remove if no point found (ex. Histogram);
|
|
174
|
+
_points = seriesPointsData.map((seriesPoint, i) => {
|
|
175
|
+
console.log({ seriesPoint });
|
|
176
|
+
return {
|
|
177
|
+
x: $xScale(seriesPoint.point[1]) + xOffset,
|
|
178
|
+
y: yCoord + yOffset,
|
|
179
|
+
fill: $config.r ? $rGet(seriesPoint.series) : null,
|
|
180
|
+
};
|
|
171
181
|
});
|
|
172
|
-
_points = seriesPointsData.map((seriesPoint, i) => ({
|
|
173
|
-
x: $xScale(seriesPoint.point[1]) + xOffset,
|
|
174
|
-
y: yCoord + yOffset,
|
|
175
|
-
fill: $config.r ? $rGet(seriesPoint.series) : null,
|
|
176
|
-
}));
|
|
177
182
|
}
|
|
178
183
|
}
|
|
179
184
|
else {
|
|
@@ -198,12 +203,14 @@ $: if (highlightData) {
|
|
|
198
203
|
// Ignore non-array data such as hierarchy and graph (make Typescript happy)
|
|
199
204
|
if (Array.isArray($contextData)) {
|
|
200
205
|
// For each series, find the related data point
|
|
201
|
-
const seriesPointsData = $contextData
|
|
206
|
+
const seriesPointsData = $contextData
|
|
207
|
+
.map((series) => {
|
|
202
208
|
return {
|
|
203
209
|
series,
|
|
204
210
|
point: series.find((d) => _x(d) === _x(highlightSeriesPoint)),
|
|
205
211
|
};
|
|
206
|
-
})
|
|
212
|
+
})
|
|
213
|
+
.filter((d) => d.point); // remove if no point found (ex. Histogram)
|
|
207
214
|
_points = seriesPointsData.map((seriesPoint, i) => ({
|
|
208
215
|
x: xCoord + xOffset,
|
|
209
216
|
y: $yScale(seriesPoint.point[1]) + yOffset,
|
|
@@ -42,14 +42,14 @@ declare const __propDef: {
|
|
|
42
42
|
x?: Accessor;
|
|
43
43
|
y?: Accessor;
|
|
44
44
|
fill?: string | undefined;
|
|
45
|
-
stroke?: string;
|
|
46
|
-
strokeWidth?: number;
|
|
47
|
-
radius?: number;
|
|
48
|
-
rounded?: "all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
49
|
-
inset?: number;
|
|
45
|
+
stroke?: string | undefined;
|
|
46
|
+
strokeWidth?: number | undefined;
|
|
47
|
+
radius?: number | undefined;
|
|
48
|
+
rounded?: ("all" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
49
|
+
inset?: number | undefined;
|
|
50
50
|
groupBy?: string | undefined;
|
|
51
|
-
groupPaddingInner?: number;
|
|
52
|
-
groupPaddingOuter?: number;
|
|
51
|
+
groupPaddingInner?: number | undefined;
|
|
52
|
+
groupPaddingOuter?: number | undefined;
|
|
53
53
|
spring?: ComponentProps<Rect>["spring"];
|
|
54
54
|
tweened?: ComponentProps<Rect>["tweened"];
|
|
55
55
|
}>;
|
|
@@ -3,12 +3,12 @@ import { type FormatType } from 'svelte-ux';
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
placement?: "inside" | "outside";
|
|
7
|
-
offset?: number;
|
|
6
|
+
placement?: ("inside" | "outside") | undefined;
|
|
7
|
+
offset?: number | undefined;
|
|
8
8
|
format?: FormatType | undefined;
|
|
9
9
|
groupBy?: string | undefined;
|
|
10
|
-
groupPaddingInner?: number;
|
|
11
|
-
groupPaddingOuter?: number;
|
|
10
|
+
groupPaddingInner?: number | undefined;
|
|
11
|
+
groupPaddingOuter?: number | undefined;
|
|
12
12
|
};
|
|
13
13
|
events: {
|
|
14
14
|
[evt: string]: CustomEvent<any>;
|
|
@@ -4,21 +4,21 @@ declare const __propDef: {
|
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
scale?: any;
|
|
7
|
-
title?: string;
|
|
8
|
-
width?: number;
|
|
9
|
-
height?: number;
|
|
10
|
-
ticks?: number;
|
|
7
|
+
title?: string | undefined;
|
|
8
|
+
width?: number | undefined;
|
|
9
|
+
height?: number | undefined;
|
|
10
|
+
ticks?: number | undefined;
|
|
11
11
|
tickFormat?: FormatType | undefined;
|
|
12
12
|
tickValues?: any[] | undefined;
|
|
13
|
-
tickFontSize?: number;
|
|
14
|
-
tickLength?: number;
|
|
13
|
+
tickFontSize?: number | undefined;
|
|
14
|
+
tickLength?: number | undefined;
|
|
15
15
|
placement?: ("center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
16
16
|
classes?: {
|
|
17
17
|
root?: string;
|
|
18
18
|
title?: string;
|
|
19
19
|
label?: string;
|
|
20
20
|
tick?: string;
|
|
21
|
-
};
|
|
21
|
+
} | undefined;
|
|
22
22
|
};
|
|
23
23
|
events: {
|
|
24
24
|
[evt: string]: CustomEvent<any>;
|
|
@@ -4,13 +4,13 @@ declare const __propDef: {
|
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
x1: number;
|
|
7
|
-
initialX1?: number;
|
|
7
|
+
initialX1?: number | undefined;
|
|
8
8
|
y1: number;
|
|
9
|
-
initialY1?: number;
|
|
9
|
+
initialY1?: number | undefined;
|
|
10
10
|
x2: number;
|
|
11
|
-
initialX2?: number;
|
|
11
|
+
initialX2?: number | undefined;
|
|
12
12
|
y2: number;
|
|
13
|
-
initialY2?: number;
|
|
13
|
+
initialY2?: number | undefined;
|
|
14
14
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
15
15
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
16
16
|
};
|
|
@@ -2,15 +2,15 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
id?: string;
|
|
6
|
-
stops?: string[] | [string | number, string][];
|
|
7
|
-
vertical?: boolean;
|
|
8
|
-
x1?: string;
|
|
9
|
-
y1?: string;
|
|
10
|
-
x2?: string;
|
|
11
|
-
y2?: string;
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
stops?: (string[] | [string | number, string][]) | undefined;
|
|
7
|
+
vertical?: boolean | undefined;
|
|
8
|
+
x1?: string | undefined;
|
|
9
|
+
y1?: string | undefined;
|
|
10
|
+
x2?: string | undefined;
|
|
11
|
+
y2?: string | undefined;
|
|
12
12
|
rotate?: number | undefined;
|
|
13
|
-
units?: "objectBoundingBox" | "userSpaceOnUse";
|
|
13
|
+
units?: ("objectBoundingBox" | "userSpaceOnUse") | undefined;
|
|
14
14
|
};
|
|
15
15
|
events: {
|
|
16
16
|
[evt: string]: CustomEvent<any>;
|
|
@@ -4,13 +4,13 @@ declare const __propDef: {
|
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
data?: any;
|
|
7
|
-
sankey?: boolean;
|
|
8
|
-
source?: (d: any) => any;
|
|
9
|
-
target?: (d: any) => any;
|
|
10
|
-
orientation?: "vertical" | "horizontal";
|
|
11
|
-
x?: (d: any) => any;
|
|
12
|
-
y?: (d: any) => any;
|
|
13
|
-
curve?: import("d3-shape").CurveFactory;
|
|
7
|
+
sankey?: boolean | undefined;
|
|
8
|
+
source?: ((d: any) => any) | undefined;
|
|
9
|
+
target?: ((d: any) => any) | undefined;
|
|
10
|
+
orientation?: ("vertical" | "horizontal") | undefined;
|
|
11
|
+
x?: ((d: any) => any) | undefined;
|
|
12
|
+
y?: ((d: any) => any) | undefined;
|
|
13
|
+
curve?: import("d3-shape").CurveFactory | undefined;
|
|
14
14
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
15
15
|
};
|
|
16
16
|
events: {
|
|
@@ -5,11 +5,11 @@ declare const __propDef: {
|
|
|
5
5
|
props: {
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
data?: any;
|
|
8
|
-
r?: number;
|
|
8
|
+
r?: number | undefined;
|
|
9
9
|
offsetX?: number | ((value: number, context: any) => number) | undefined;
|
|
10
10
|
offsetY?: number | ((value: number, context: any) => number) | undefined;
|
|
11
|
-
radial?: boolean;
|
|
12
|
-
links?: boolean | Partial<ComponentProps<Link
|
|
11
|
+
radial?: boolean | undefined;
|
|
12
|
+
links?: (boolean | Partial<ComponentProps<Link>>) | undefined;
|
|
13
13
|
};
|
|
14
14
|
events: {
|
|
15
15
|
[evt: string]: CustomEvent<any>;
|
|
@@ -2,16 +2,16 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
id?: string;
|
|
6
|
-
stops?: string[] | [string | number, string][];
|
|
7
|
-
cx?: string;
|
|
8
|
-
cy?: string;
|
|
9
|
-
fx?: string;
|
|
10
|
-
fy?: string;
|
|
11
|
-
r?: string;
|
|
12
|
-
spreadMethod?: "pad" | "reflect" | "repeat";
|
|
5
|
+
id?: string | undefined;
|
|
6
|
+
stops?: (string[] | [string | number, string][]) | undefined;
|
|
7
|
+
cx?: string | undefined;
|
|
8
|
+
cy?: string | undefined;
|
|
9
|
+
fx?: string | undefined;
|
|
10
|
+
fy?: string | undefined;
|
|
11
|
+
r?: string | undefined;
|
|
12
|
+
spreadMethod?: ("pad" | "reflect" | "repeat") | undefined;
|
|
13
13
|
transform?: string | null | undefined;
|
|
14
|
-
units?: "objectBoundingBox" | "userSpaceOnUse";
|
|
14
|
+
units?: ("objectBoundingBox" | "userSpaceOnUse") | undefined;
|
|
15
15
|
};
|
|
16
16
|
events: {
|
|
17
17
|
[evt: string]: CustomEvent<any>;
|
|
@@ -3,14 +3,14 @@ import { type SpringOptions, type TweenedOptions } from '../stores/motionStore.j
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
x?: number;
|
|
7
|
-
initialX?: number;
|
|
8
|
-
y?: number;
|
|
9
|
-
initialY?: number;
|
|
6
|
+
x?: number | undefined;
|
|
7
|
+
initialX?: number | undefined;
|
|
8
|
+
y?: number | undefined;
|
|
9
|
+
initialY?: number | undefined;
|
|
10
10
|
width: number;
|
|
11
|
-
initialWidth?: number;
|
|
11
|
+
initialWidth?: number | undefined;
|
|
12
12
|
height: number;
|
|
13
|
-
initialHeight?: number;
|
|
13
|
+
initialHeight?: number | undefined;
|
|
14
14
|
spring?: boolean | SpringOptions | {
|
|
15
15
|
[prop: string]: SpringOptions;
|
|
16
16
|
};
|
|
@@ -4,9 +4,9 @@ import Rect from './Rect.svelte';
|
|
|
4
4
|
declare const __propDef: {
|
|
5
5
|
props: {
|
|
6
6
|
[x: string]: any;
|
|
7
|
-
id?: string;
|
|
8
|
-
x?: number;
|
|
9
|
-
y?: number;
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
x?: number | undefined;
|
|
9
|
+
y?: number | undefined;
|
|
10
10
|
width: number;
|
|
11
11
|
height: number;
|
|
12
12
|
spring?: ComponentProps<Rect>["spring"];
|
|
@@ -2,8 +2,8 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
x?: number | Date | boolean | "left" | "right";
|
|
6
|
-
y?: number | Date | boolean | "top" | "bottom";
|
|
5
|
+
x?: (number | Date | boolean | "left" | "right") | undefined;
|
|
6
|
+
y?: (number | Date | boolean | "top" | "bottom") | undefined;
|
|
7
7
|
};
|
|
8
8
|
events: {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
@@ -3,19 +3,19 @@ import type { spring as springStore, tweened as tweenedStore } from 'svelte/moti
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
value?: string | number;
|
|
6
|
+
value?: (string | number) | undefined;
|
|
7
7
|
width?: number | undefined;
|
|
8
|
-
x?: string | number;
|
|
9
|
-
initialX?: string | number;
|
|
10
|
-
y?: string | number;
|
|
11
|
-
initialY?: string | number;
|
|
12
|
-
dx?: string | number;
|
|
13
|
-
dy?: string | number;
|
|
14
|
-
lineHeight?: string;
|
|
15
|
-
capHeight?: string;
|
|
16
|
-
scaleToFit?: boolean;
|
|
17
|
-
textAnchor?: "start" | "middle" | "end" | "inherit";
|
|
18
|
-
verticalAnchor?: "start" | "middle" | "end" | "inherit";
|
|
8
|
+
x?: (string | number) | undefined;
|
|
9
|
+
initialX?: (string | number) | undefined;
|
|
10
|
+
y?: (string | number) | undefined;
|
|
11
|
+
initialY?: (string | number) | undefined;
|
|
12
|
+
dx?: (string | number) | undefined;
|
|
13
|
+
dy?: (string | number) | undefined;
|
|
14
|
+
lineHeight?: string | undefined;
|
|
15
|
+
capHeight?: string | undefined;
|
|
16
|
+
scaleToFit?: boolean | undefined;
|
|
17
|
+
textAnchor?: ("start" | "middle" | "end" | "inherit") | undefined;
|
|
18
|
+
verticalAnchor?: ("start" | "middle" | "end" | "inherit") | undefined;
|
|
19
19
|
rotate?: number | undefined;
|
|
20
20
|
spring?: boolean | Parameters<typeof springStore>[1];
|
|
21
21
|
tweened?: boolean | Parameters<typeof tweenedStore>[1];
|
|
@@ -4,19 +4,19 @@ declare const __propDef: {
|
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
x?: "pointer" | "data" | number | undefined;
|
|
6
6
|
y?: "pointer" | "data" | number | undefined;
|
|
7
|
-
xOffset?: number;
|
|
8
|
-
yOffset?: number;
|
|
9
|
-
anchor?: "center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
10
|
-
contained?: "container" | false;
|
|
11
|
-
variant?: "default" | "invert" | "none";
|
|
12
|
-
motion?: boolean;
|
|
7
|
+
xOffset?: number | undefined;
|
|
8
|
+
yOffset?: number | undefined;
|
|
9
|
+
anchor?: ("center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
10
|
+
contained?: ("container" | false) | undefined;
|
|
11
|
+
variant?: ("default" | "invert" | "none") | undefined;
|
|
12
|
+
motion?: boolean | undefined;
|
|
13
13
|
header?: ((data: any) => any) | undefined;
|
|
14
14
|
classes?: {
|
|
15
15
|
root?: string;
|
|
16
16
|
container?: string;
|
|
17
17
|
header?: string;
|
|
18
18
|
content?: string;
|
|
19
|
-
};
|
|
19
|
+
} | undefined;
|
|
20
20
|
};
|
|
21
21
|
events: {
|
|
22
22
|
[evt: string]: CustomEvent<any>;
|
|
@@ -6,11 +6,11 @@ declare const __propDef: {
|
|
|
6
6
|
label: any;
|
|
7
7
|
value?: any;
|
|
8
8
|
format?: FormatType | undefined;
|
|
9
|
-
valueAlign?: "left" | "right" | "center";
|
|
9
|
+
valueAlign?: ("left" | "right" | "center") | undefined;
|
|
10
10
|
classes?: {
|
|
11
11
|
label?: string;
|
|
12
12
|
value?: string;
|
|
13
|
-
};
|
|
13
|
+
} | undefined;
|
|
14
14
|
};
|
|
15
15
|
events: {
|
|
16
16
|
[evt: string]: CustomEvent<any>;
|
|
@@ -2,9 +2,9 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
2
2
|
declare const __propDef: {
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
|
-
placement?: "center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
6
|
-
orientation?: "horizontal" | "vertical";
|
|
7
|
-
show?: ("reset" | "center" | "scrollMode" | "zoomIn" | "zoomOut")[];
|
|
5
|
+
placement?: ("center" | "left" | "right" | "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right") | undefined;
|
|
6
|
+
orientation?: ("horizontal" | "vertical") | undefined;
|
|
7
|
+
show?: ("reset" | "center" | "scrollMode" | "zoomIn" | "zoomOut")[] | undefined;
|
|
8
8
|
};
|
|
9
9
|
events: {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
@@ -3,11 +3,11 @@ declare const __propDef: {
|
|
|
3
3
|
props: {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
element?: HTMLCanvasElement | undefined;
|
|
6
|
-
context?: CanvasRenderingContext2D;
|
|
7
|
-
willReadFrequently?: boolean;
|
|
6
|
+
context?: CanvasRenderingContext2D | undefined;
|
|
7
|
+
willReadFrequently?: boolean | undefined;
|
|
8
8
|
zIndex?: undefined;
|
|
9
9
|
pointerEvents?: boolean | undefined;
|
|
10
|
-
fallback?: string;
|
|
10
|
+
fallback?: string | undefined;
|
|
11
11
|
label?: string | undefined;
|
|
12
12
|
labelledBy?: string | undefined;
|
|
13
13
|
describedBy?: string | undefined;
|
|
@@ -3,14 +3,14 @@ import 'prism-svelte';
|
|
|
3
3
|
declare const __propDef: {
|
|
4
4
|
props: {
|
|
5
5
|
[x: string]: any;
|
|
6
|
-
source?: string | null;
|
|
7
|
-
language?: string;
|
|
8
|
-
highlightedSource?: string;
|
|
6
|
+
source?: (string | null) | undefined;
|
|
7
|
+
language?: string | undefined;
|
|
8
|
+
highlightedSource?: string | undefined;
|
|
9
9
|
classes?: {
|
|
10
10
|
root?: string;
|
|
11
11
|
pre?: string;
|
|
12
12
|
code?: string;
|
|
13
|
-
};
|
|
13
|
+
} | undefined;
|
|
14
14
|
};
|
|
15
15
|
events: {
|
|
16
16
|
[evt: string]: CustomEvent<any>;
|
|
@@ -5,9 +5,9 @@ declare const __propDef: {
|
|
|
5
5
|
[x: string]: any;
|
|
6
6
|
code?: string | undefined;
|
|
7
7
|
data?: any | undefined;
|
|
8
|
-
language?: string;
|
|
9
|
-
highlightedCode?: string;
|
|
10
|
-
showCode?: boolean;
|
|
8
|
+
language?: string | undefined;
|
|
9
|
+
highlightedCode?: string | undefined;
|
|
10
|
+
showCode?: boolean | undefined;
|
|
11
11
|
};
|
|
12
12
|
events: {
|
|
13
13
|
[evt: string]: CustomEvent<any>;
|
package/package.json
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
"author": "Sean Lynch <techniq35@gmail.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "techniq/layerchart",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.44.0",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@changesets/cli": "^2.27.7",
|
|
10
10
|
"@mdi/js": "^7.4.47",
|
|
11
11
|
"@rollup/plugin-dsv": "^3.0.4",
|
|
12
|
-
"@sveltejs/adapter-
|
|
13
|
-
"@sveltejs/kit": "^2.5.
|
|
14
|
-
"@sveltejs/package": "^2.3.
|
|
12
|
+
"@sveltejs/adapter-cloudflare": "^4.7.2",
|
|
13
|
+
"@sveltejs/kit": "^2.5.22",
|
|
14
|
+
"@sveltejs/package": "^2.3.4",
|
|
15
15
|
"@sveltejs/vite-plugin-svelte": "^3.1.1",
|
|
16
16
|
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
|
|
17
|
-
"@tailwindcss/typography": "^0.5.
|
|
17
|
+
"@tailwindcss/typography": "^0.5.14",
|
|
18
18
|
"@types/d3-array": "^3.2.1",
|
|
19
19
|
"@types/d3-color": "^3.1.3",
|
|
20
20
|
"@types/d3-delaunay": "^6.0.4",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@types/topojson-client": "^3.1.4",
|
|
39
39
|
"@types/topojson-simplify": "^3.0.3",
|
|
40
40
|
"@types/topojson-specification": "^1.0.5",
|
|
41
|
-
"autoprefixer": "^10.4.
|
|
42
|
-
"marked": "^
|
|
41
|
+
"autoprefixer": "^10.4.20",
|
|
42
|
+
"marked": "^14.0.0",
|
|
43
43
|
"mdsvex": "^0.11.2",
|
|
44
44
|
"posthog-js": "^1.95.1",
|
|
45
|
-
"prettier": "^3.3.
|
|
46
|
-
"prettier-plugin-svelte": "^3.2.
|
|
45
|
+
"prettier": "^3.3.3",
|
|
46
|
+
"prettier-plugin-svelte": "^3.2.6",
|
|
47
47
|
"prism-svelte": "^0.5.0",
|
|
48
48
|
"prism-themes": "^1.9.0",
|
|
49
49
|
"prismjs": "^1.29.0",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"shapefile": "^0.6.6",
|
|
52
52
|
"solar-calculator": "^0.3.0",
|
|
53
53
|
"svelte": "^4.2.18",
|
|
54
|
-
"svelte-check": "^3.8.
|
|
54
|
+
"svelte-check": "^3.8.5",
|
|
55
55
|
"svelte-json-tree": "^2.2.0",
|
|
56
56
|
"svelte-preprocess": "^6.0.2",
|
|
57
|
-
"svelte2tsx": "^0.7.
|
|
58
|
-
"tailwindcss": "^3.4.
|
|
57
|
+
"svelte2tsx": "^0.7.15",
|
|
58
|
+
"tailwindcss": "^3.4.10",
|
|
59
59
|
"topojson-client": "^3.1.0",
|
|
60
60
|
"topojson-simplify": "^3.0.3",
|
|
61
61
|
"tslib": "^2.6.3",
|
|
62
|
-
"typescript": "^5.5.
|
|
62
|
+
"typescript": "^5.5.4",
|
|
63
63
|
"unist-util-visit": "^5.0.0",
|
|
64
64
|
"us-atlas": "^3.0.1",
|
|
65
|
-
"vite": "^5.
|
|
65
|
+
"vite": "^5.4.0"
|
|
66
66
|
},
|
|
67
67
|
"type": "module",
|
|
68
68
|
"dependencies": {
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"date-fns": "^3.6.0",
|
|
89
89
|
"layercake": "^8.3.4",
|
|
90
90
|
"lodash-es": "^4.17.21",
|
|
91
|
-
"posthog-js": "^1.
|
|
91
|
+
"posthog-js": "^1.155.4",
|
|
92
92
|
"shapefile": "^0.6.6",
|
|
93
|
-
"svelte-ux": "^0.
|
|
93
|
+
"svelte-ux": "^0.74.4",
|
|
94
94
|
"topojson-client": "^3.1.0"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|