svelteplot 0.4.3-pr-199.11 → 0.4.4-pr-205.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/dist/Mark.svelte.d.ts +2 -1
- package/dist/marks/Area.svelte.d.ts +2 -1
- package/dist/marks/AreaX.svelte.d.ts +2 -1
- package/dist/marks/AreaY.svelte.d.ts +2 -1
- package/dist/marks/Arrow.svelte.d.ts +2 -1
- package/dist/marks/AxisX.svelte +5 -1
- package/dist/marks/AxisX.svelte.d.ts +11 -7
- package/dist/marks/AxisY.svelte +3 -2
- package/dist/marks/AxisY.svelte.d.ts +9 -7
- package/dist/marks/BarX.svelte.d.ts +2 -1
- package/dist/marks/BarY.svelte.d.ts +2 -1
- package/dist/marks/Cell.svelte.d.ts +2 -1
- package/dist/marks/Dot.svelte.d.ts +2 -1
- package/dist/marks/DotX.svelte.d.ts +2 -1
- package/dist/marks/DotY.svelte.d.ts +2 -1
- package/dist/marks/Geo.svelte.d.ts +2 -1
- package/dist/marks/GridX.svelte.d.ts +2 -1
- package/dist/marks/GridY.svelte.d.ts +2 -1
- package/dist/marks/Line.svelte.d.ts +2 -1
- package/dist/marks/LineX.svelte.d.ts +2 -1
- package/dist/marks/LineY.svelte.d.ts +2 -1
- package/dist/marks/Link.svelte.d.ts +2 -1
- package/dist/marks/Rect.svelte.d.ts +2 -1
- package/dist/marks/RuleX.svelte.d.ts +2 -1
- package/dist/marks/RuleY.svelte.d.ts +2 -1
- package/dist/marks/Spike.svelte.d.ts +2 -1
- package/dist/marks/Text.svelte.d.ts +2 -1
- package/dist/marks/TickX.svelte.d.ts +2 -1
- package/dist/marks/TickY.svelte.d.ts +2 -1
- package/dist/marks/Vector.svelte.d.ts +2 -1
- package/dist/types/mark.d.ts +5 -1
- package/package.json +1 -1
package/dist/Mark.svelte.d.ts
CHANGED
|
@@ -59,7 +59,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
59
59
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
61
61
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
class
|
|
62
|
+
class?: string;
|
|
63
|
+
style?: string;
|
|
63
64
|
cursor: import("./types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
64
65
|
}>> & {
|
|
65
66
|
data?: Datum[] | undefined;
|
|
@@ -59,7 +59,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
59
59
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
61
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
class
|
|
62
|
+
class?: string;
|
|
63
|
+
style?: string;
|
|
63
64
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
64
65
|
}> & LinkableMarkProps<Datum> & {
|
|
65
66
|
data: Datum[];
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
63
64
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
64
65
|
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
63
64
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
64
65
|
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
64
|
}>, "fill" | "fillOpacity"> & {
|
|
64
65
|
data: Datum[];
|
package/dist/marks/AxisX.svelte
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
PlotDefaults,
|
|
15
15
|
ChannelName
|
|
16
16
|
} from '../types/index.js';
|
|
17
|
+
import type * as CSS from 'csstype';
|
|
17
18
|
import autoTimeFormat from '../helpers/autoTimeFormat.js';
|
|
18
19
|
import { derived } from 'svelte/store';
|
|
19
20
|
import { autoTicks } from '../helpers/autoTicks.js';
|
|
@@ -22,7 +23,7 @@
|
|
|
22
23
|
interface AxisXMarkProps
|
|
23
24
|
extends Omit<
|
|
24
25
|
BaseMarkProps<Datum>,
|
|
25
|
-
'
|
|
26
|
+
'fillOpacity' | 'paintOrder' | 'title' | 'href' | 'target'
|
|
26
27
|
> {
|
|
27
28
|
data?: Datum[];
|
|
28
29
|
automatic?: boolean;
|
|
@@ -49,6 +50,8 @@
|
|
|
49
50
|
tickCount?: number;
|
|
50
51
|
/** approximate number of pixels between generated ticks */
|
|
51
52
|
tickSpacing?: number;
|
|
53
|
+
/** text anchor for axis labels */
|
|
54
|
+
textAnchor?: ConstantAccessor<CSS.Property.TextAnchor, Datum>;
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
let markProps: AxisXMarkProps = $props();
|
|
@@ -58,6 +61,7 @@
|
|
|
58
61
|
tickPadding: 3,
|
|
59
62
|
tickFontSize: 11,
|
|
60
63
|
titleFontSize: 11,
|
|
64
|
+
textAnchor: 'middle',
|
|
61
65
|
opacity: 0.8,
|
|
62
66
|
anchor: 'bottom',
|
|
63
67
|
...getContext<PlotDefaults>('svelteplot/_defaults').axis,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
2
|
+
import type * as CSS from 'csstype';
|
|
2
3
|
declare class __sveltets_Render<Datum extends RawValue> {
|
|
3
4
|
props(): Omit<Partial<{
|
|
4
5
|
filter?: ConstantAccessor<boolean, Datum>;
|
|
@@ -16,16 +17,16 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
16
17
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
17
18
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
18
19
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
19
|
-
strokeLinejoin: ConstantAccessor<
|
|
20
|
-
strokeLinecap: ConstantAccessor<
|
|
20
|
+
strokeLinejoin: ConstantAccessor<CSS.Property.StrokeLinejoin, Datum>;
|
|
21
|
+
strokeLinecap: ConstantAccessor<CSS.Property.StrokeLinecap, Datum>;
|
|
21
22
|
strokeMiterlimit: ConstantAccessor<number, Datum>;
|
|
22
23
|
opacity: import("../types/channel").ChannelAccessor<Datum>;
|
|
23
24
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
24
25
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
25
|
-
mixBlendMode: ConstantAccessor<
|
|
26
|
+
mixBlendMode: ConstantAccessor<CSS.Property.MixBlendMode, Datum>;
|
|
26
27
|
clipPath: string;
|
|
27
28
|
imageFilter: ConstantAccessor<string, Datum>;
|
|
28
|
-
shapeRendering: ConstantAccessor<
|
|
29
|
+
shapeRendering: ConstantAccessor<CSS.Property.ShapeRendering, Datum>;
|
|
29
30
|
paintOrder: ConstantAccessor<string, Datum>;
|
|
30
31
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
32
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -57,9 +58,10 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
57
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
63
|
+
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
64
|
+
}>, "fillOpacity" | "href" | "target" | "title" | "paintOrder"> & {
|
|
63
65
|
data?: Datum[] | undefined;
|
|
64
66
|
automatic?: boolean;
|
|
65
67
|
title?: string | false | null;
|
|
@@ -81,6 +83,8 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
81
83
|
tickCount?: number;
|
|
82
84
|
/** approximate number of pixels between generated ticks */
|
|
83
85
|
tickSpacing?: number;
|
|
86
|
+
/** text anchor for axis labels */
|
|
87
|
+
textAnchor?: ConstantAccessor<CSS.Property.TextAnchor, Datum>;
|
|
84
88
|
};
|
|
85
89
|
events(): {};
|
|
86
90
|
slots(): {};
|
package/dist/marks/AxisY.svelte
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
ChannelName,
|
|
15
15
|
ConstantAccessor
|
|
16
16
|
} from '../types/index.js';
|
|
17
|
+
import type * as CSS from 'csstype';
|
|
17
18
|
import autoTimeFormat from '../helpers/autoTimeFormat.js';
|
|
18
19
|
import { autoTicks } from '../helpers/autoTicks.js';
|
|
19
20
|
import { resolveScaledStyles } from '../helpers/resolve.js';
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
interface AxisYMarkProps
|
|
22
23
|
extends Omit<
|
|
23
24
|
BaseMarkProps<Datum>,
|
|
24
|
-
'
|
|
25
|
+
'fillOpacity' | 'paintOrder' | 'title' | 'href' | 'target'
|
|
25
26
|
> {
|
|
26
27
|
data?: Datum[];
|
|
27
28
|
automatic?: boolean;
|
|
@@ -196,7 +197,7 @@
|
|
|
196
197
|
)}
|
|
197
198
|
x={anchor === 'left' ? 0 : plot.width}
|
|
198
199
|
y={5}
|
|
199
|
-
class="axis-
|
|
200
|
+
class="axis-y-title"
|
|
200
201
|
dominant-baseline="hanging">{useTitle}</text>
|
|
201
202
|
{/if}
|
|
202
203
|
{#if showAxis}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
2
|
+
import type * as CSS from 'csstype';
|
|
2
3
|
declare class __sveltets_Render<Datum extends RawValue> {
|
|
3
4
|
props(): Omit<Partial<{
|
|
4
5
|
filter?: ConstantAccessor<boolean, Datum>;
|
|
@@ -16,16 +17,16 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
16
17
|
stroke: import("../types/channel").ChannelAccessor<Datum>;
|
|
17
18
|
strokeWidth: ConstantAccessor<number, Datum>;
|
|
18
19
|
strokeOpacity: ConstantAccessor<number, Datum>;
|
|
19
|
-
strokeLinejoin: ConstantAccessor<
|
|
20
|
-
strokeLinecap: ConstantAccessor<
|
|
20
|
+
strokeLinejoin: ConstantAccessor<CSS.Property.StrokeLinejoin, Datum>;
|
|
21
|
+
strokeLinecap: ConstantAccessor<CSS.Property.StrokeLinecap, Datum>;
|
|
21
22
|
strokeMiterlimit: ConstantAccessor<number, Datum>;
|
|
22
23
|
opacity: import("../types/channel").ChannelAccessor<Datum>;
|
|
23
24
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
24
25
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
25
|
-
mixBlendMode: ConstantAccessor<
|
|
26
|
+
mixBlendMode: ConstantAccessor<CSS.Property.MixBlendMode, Datum>;
|
|
26
27
|
clipPath: string;
|
|
27
28
|
imageFilter: ConstantAccessor<string, Datum>;
|
|
28
|
-
shapeRendering: ConstantAccessor<
|
|
29
|
+
shapeRendering: ConstantAccessor<CSS.Property.ShapeRendering, Datum>;
|
|
29
30
|
paintOrder: ConstantAccessor<string, Datum>;
|
|
30
31
|
onclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
31
32
|
ondblclick?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
@@ -57,9 +58,10 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
57
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
63
|
+
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
64
|
+
}>, "fillOpacity" | "href" | "target" | "title" | "paintOrder"> & {
|
|
63
65
|
data?: Datum[] | undefined;
|
|
64
66
|
automatic?: boolean;
|
|
65
67
|
title?: string | false | null;
|
|
@@ -59,7 +59,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
59
59
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
61
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
class
|
|
62
|
+
class?: string;
|
|
63
|
+
style?: string;
|
|
63
64
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
64
65
|
}> & LinkableMarkProps<Datum> & BaseRectMarkProps<Datum> & {
|
|
65
66
|
data: Datum[];
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
64
|
}> & LinkableMarkProps<Datum> & BaseRectMarkProps<Datum> & {
|
|
64
65
|
data: Datum[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}> & LinkableMarkProps<Datum> & BaseRectMarkProps<Datum> & {
|
|
63
64
|
data: Datum[];
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
64
|
}> & LinkableMarkProps<Datum> & {
|
|
64
65
|
data: Datum[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
62
63
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
63
64
|
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
62
63
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
63
64
|
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum = DataRecord | GeoJSON.GeoJsonObject> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}> & LinkableMarkProps<Datum> & {
|
|
63
64
|
data?: Datum[] | {
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum = RawValue> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data?: Datum[] | undefined;
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum = RawValue> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data?: Datum[] | undefined;
|
|
@@ -59,7 +59,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
59
59
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
61
61
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
class
|
|
62
|
+
class?: string;
|
|
63
|
+
style?: string;
|
|
63
64
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
64
65
|
}> & {
|
|
65
66
|
data?: Datum[] | undefined;
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
63
64
|
}> & {
|
|
64
65
|
data?: Record<string | symbol, import("../types").RawValue>[] | undefined;
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
|
|
63
64
|
}> & {
|
|
64
65
|
data?: Record<string | symbol, import("../types").RawValue>[] | undefined;
|
|
@@ -58,7 +58,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
58
58
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
61
|
-
class
|
|
61
|
+
class?: string;
|
|
62
|
+
style?: string;
|
|
62
63
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
63
64
|
}> & MarkerOptions & {
|
|
64
65
|
data: Datum[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}> & LinkableMarkProps<Datum> & BaseRectMarkProps<Datum> & {
|
|
63
64
|
data: Datum[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum = DataRecord | RawValue> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data?: Datum[] | undefined;
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum = DataRecord> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data?: Datum[] | undefined;
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
62
63
|
}> & {
|
|
63
64
|
data: Record<string | symbol, import("../types/data").RawValue>[];
|
|
@@ -59,7 +59,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
59
59
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
60
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
61
61
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
62
|
-
class
|
|
62
|
+
class?: string;
|
|
63
|
+
style?: string;
|
|
63
64
|
cursor: ConstantAccessor<CSS.Property.Cursor, Datum>;
|
|
64
65
|
}> & LinkableMarkProps<Datum> & {
|
|
65
66
|
data?: Datum[] | undefined;
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data: Datum[];
|
|
@@ -57,7 +57,8 @@ declare class __sveltets_Render<Datum extends DataRow> {
|
|
|
57
57
|
ontouchcancel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
58
58
|
oncontextmenu?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
59
59
|
onwheel?: import("svelte/elements").MouseEventHandler<SVGPathElement>;
|
|
60
|
-
class
|
|
60
|
+
class?: string;
|
|
61
|
+
style?: string;
|
|
61
62
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
62
63
|
}>, "fill" | "fillOpacity"> & {
|
|
63
64
|
data: Datum[];
|
|
@@ -62,7 +62,8 @@ declare class __sveltets_Render<Datum extends DataRecord> {
|
|
|
62
62
|
ontouchcancel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
63
63
|
oncontextmenu?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
64
64
|
onwheel?: import("svelte/elements.js").MouseEventHandler<SVGPathElement>;
|
|
65
|
-
class
|
|
65
|
+
class?: string;
|
|
66
|
+
style?: string;
|
|
66
67
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
67
68
|
}> & {
|
|
68
69
|
data: Datum[];
|
package/dist/types/mark.d.ts
CHANGED
|
@@ -77,7 +77,11 @@ export type BaseMarkProps<T> = Partial<{
|
|
|
77
77
|
/**
|
|
78
78
|
* if you want to give your mark element an extra CSS class
|
|
79
79
|
*/
|
|
80
|
-
class
|
|
80
|
+
class?: string;
|
|
81
|
+
/**
|
|
82
|
+
* if you want to give your mark element an extra inline style
|
|
83
|
+
*/
|
|
84
|
+
style?: string;
|
|
81
85
|
cursor: ConstantAccessor<CSS.Property.Cursor, T>;
|
|
82
86
|
}>;
|
|
83
87
|
export type LinkableMarkProps<T> = {
|