svelteplot 0.10.3-pr-398.3 → 0.10.3-pr-402.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 +12 -1
- package/dist/helpers/autoTicks.js +1 -3
- package/dist/helpers/facets.js +0 -1
- package/dist/helpers/mergeDeep.d.ts +1 -3
- package/dist/helpers/mergeDeep.js +15 -16
- package/dist/marks/Area.svelte +1 -1
- package/dist/marks/Area.svelte.d.ts +13 -2
- package/dist/marks/AreaX.svelte.d.ts +13 -2
- package/dist/marks/AreaY.svelte.d.ts +13 -2
- package/dist/marks/Arrow.svelte.d.ts +12 -1
- package/dist/marks/AxisX.svelte.d.ts +12 -1
- package/dist/marks/AxisY.svelte.d.ts +12 -1
- package/dist/marks/BarX.svelte.d.ts +12 -1
- package/dist/marks/BarY.svelte.d.ts +12 -1
- package/dist/marks/BollingerX.svelte.d.ts +12 -1
- package/dist/marks/BollingerY.svelte.d.ts +12 -1
- package/dist/marks/BoxY.svelte +5 -5
- package/dist/marks/BoxY.svelte.d.ts +17 -6
- package/dist/marks/Brush.svelte.d.ts +12 -1
- package/dist/marks/Cell.svelte.d.ts +12 -1
- package/dist/marks/CellX.svelte.d.ts +12 -1
- package/dist/marks/CellY.svelte.d.ts +12 -1
- package/dist/marks/CustomMark.svelte.d.ts +12 -1
- package/dist/marks/DifferenceY.svelte +8 -7
- package/dist/marks/DifferenceY.svelte.d.ts +36 -25
- package/dist/marks/Dot.svelte +3 -3
- package/dist/marks/Dot.svelte.d.ts +15 -4
- package/dist/marks/DotX.svelte.d.ts +15 -4
- package/dist/marks/DotY.svelte.d.ts +15 -4
- package/dist/marks/Frame.svelte.d.ts +12 -1
- package/dist/marks/Geo.svelte.d.ts +12 -1
- package/dist/marks/GridX.svelte.d.ts +12 -1
- package/dist/marks/GridY.svelte.d.ts +12 -1
- package/dist/marks/Image.svelte.d.ts +12 -1
- package/dist/marks/Line.svelte.d.ts +12 -1
- package/dist/marks/LineX.svelte.d.ts +12 -1
- package/dist/marks/LineY.svelte.d.ts +12 -1
- package/dist/marks/Link.svelte +21 -7
- package/dist/marks/Link.svelte.d.ts +28 -7
- package/dist/marks/Rect.svelte +1 -1
- package/dist/marks/Rect.svelte.d.ts +13 -2
- package/dist/marks/RuleX.svelte.d.ts +12 -1
- package/dist/marks/RuleY.svelte.d.ts +12 -1
- package/dist/marks/Spike.svelte +3 -3
- package/dist/marks/Spike.svelte.d.ts +15 -4
- package/dist/marks/Text.svelte +4 -1
- package/dist/marks/Text.svelte.d.ts +30 -4
- package/dist/marks/TickX.svelte.d.ts +12 -1
- package/dist/marks/TickY.svelte.d.ts +12 -1
- package/dist/marks/Trail.svelte.d.ts +12 -1
- package/dist/marks/Vector.svelte.d.ts +12 -1
- package/dist/marks/WaffleX.svelte.d.ts +12 -1
- package/dist/marks/WaffleY.svelte.d.ts +12 -1
- package/dist/marks/helpers/Box.svelte.d.ts +12 -1
- package/dist/marks/helpers/MarkerPath.svelte.d.ts +12 -1
- package/dist/transforms/density.d.ts +3 -4
- package/dist/transforms/density.js +5 -2
- package/dist/transforms/group.d.ts +11 -0
- package/dist/transforms/interval.d.ts +24 -2
- package/dist/transforms/jitter.d.ts +36 -3
- package/dist/transforms/select.d.ts +84 -7
- package/dist/transforms/sort.d.ts +48 -4
- package/dist/transforms/window.d.ts +28 -6
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/mark.d.ts +24 -2
- package/package.json +1 -1
package/dist/Mark.svelte.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { ScaledChannelName, MarkType, DataRecord, ChannelAccessor, ScaleNam
|
|
|
3
3
|
import { getUsedScales } from './helpers/scales.js';
|
|
4
4
|
declare function $$render<Datum extends DataRecord>(): {
|
|
5
5
|
props: Partial<Partial<{
|
|
6
|
-
filter: import("./types/index.js").ConstantAccessor<boolean,
|
|
6
|
+
filter: import("./types/index.js").ConstantAccessor<boolean, any>;
|
|
7
7
|
facet: "auto" | "include" | "exclude";
|
|
8
8
|
fx: ChannelAccessor<Datum>;
|
|
9
9
|
fy: ChannelAccessor<Datum>;
|
|
@@ -13,6 +13,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
13
13
|
dodgeY: import("./transforms/dodge.js").DodgeYOptions;
|
|
14
14
|
fill: ChannelAccessor<Datum>;
|
|
15
15
|
fillOpacity: import("./types/index.js").ConstantAccessor<number, Datum>;
|
|
16
|
+
fontFamily: import("./types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
17
|
+
fontSize: import("./types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
18
|
+
fontStyle: import("./types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
19
|
+
fontVariant: import("./types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
20
|
+
fontWeight: import("./types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
21
|
+
letterSpacing: import("./types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
wordSpacing: import("./types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
23
|
+
textAnchor: import("./types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
24
|
+
textTransform: import("./types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
25
|
+
textDecoration: import("./types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
16
26
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
17
27
|
channel: string;
|
|
18
28
|
order?: "ascending" | "descending";
|
|
@@ -26,6 +36,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
26
36
|
opacity: ChannelAccessor<Datum>;
|
|
27
37
|
strokeDasharray: import("./types/index.js").ConstantAccessor<string, Datum>;
|
|
28
38
|
strokeDashoffset: import("./types/index.js").ConstantAccessor<number, Datum>;
|
|
39
|
+
blend: import("./types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
40
|
mixBlendMode: import("./types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
30
41
|
clipPath: string;
|
|
31
42
|
mask: string;
|
|
@@ -39,9 +39,7 @@ export function autoTicks(type, ticks, interval, domain, scaleFn, count) {
|
|
|
39
39
|
const I = maybeInterval(interval);
|
|
40
40
|
if (!I)
|
|
41
41
|
return [];
|
|
42
|
-
return I
|
|
43
|
-
.range(lo, I.offset(hi))
|
|
44
|
-
.filter((d) => d >= lo && d <= hi);
|
|
42
|
+
return I.range(lo, I.offset(hi)).filter((d) => d >= lo && d <= hi);
|
|
45
43
|
}
|
|
46
44
|
return typeof scaleFn.ticks === 'function' ? scaleFn.ticks(count) : [];
|
|
47
45
|
}
|
package/dist/helpers/facets.js
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
function isObject(item) {
|
|
2
|
-
return item && typeof item === 'object' && !Array.isArray(item);
|
|
2
|
+
return item != null && typeof item === 'object' && !Array.isArray(item);
|
|
3
3
|
}
|
|
4
4
|
export default function mergeDeep(target, ...sources) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
for (const source of sources) {
|
|
6
|
+
if (isObject(target) && isObject(source)) {
|
|
7
|
+
for (const key in source) {
|
|
8
|
+
if (isObject(source[key])) {
|
|
9
|
+
if (!target[key]) {
|
|
10
|
+
Object.assign(target, { [key]: {} });
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
target[key] = Object.assign({}, target[key]);
|
|
14
|
+
}
|
|
15
|
+
mergeDeep(target[key], source[key]);
|
|
13
16
|
}
|
|
14
|
-
else {
|
|
15
|
-
|
|
17
|
+
else if (source[key] !== null) {
|
|
18
|
+
Object.assign(target, { [key]: source[key] });
|
|
16
19
|
}
|
|
17
|
-
mergeDeep(target[key], source[key]);
|
|
18
|
-
}
|
|
19
|
-
else if (source[key] !== null) {
|
|
20
|
-
Object.assign(target, { [key]: source[key] });
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
|
-
return
|
|
23
|
+
return target;
|
|
25
24
|
}
|
package/dist/marks/Area.svelte
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<script lang="ts" generics="Datum extends DataRecord">
|
|
5
5
|
interface AreaMarkProps extends BaseMarkProps<Datum>, LinkableMarkProps<Datum> {
|
|
6
6
|
/** the input data array; each element becomes one point in the area */
|
|
7
|
-
data
|
|
7
|
+
data?: Datum[];
|
|
8
8
|
/** the starting horizontal position channel for the area baseline */
|
|
9
9
|
x1?: ChannelAccessor<Datum>;
|
|
10
10
|
/** the ending horizontal position channel for the area topline */
|
|
@@ -3,7 +3,7 @@ import type { CurveName, DataRecord, ConstantAccessor, ChannelAccessor, Linkable
|
|
|
3
3
|
import type { StackOptions } from '../transforms/stack.js';
|
|
4
4
|
declare function $$render<Datum extends DataRecord>(): {
|
|
5
5
|
props: Partial<{
|
|
6
|
-
filter: ConstantAccessor<boolean,
|
|
6
|
+
filter: ConstantAccessor<boolean, any>;
|
|
7
7
|
facet: "auto" | "include" | "exclude";
|
|
8
8
|
fx: ChannelAccessor<Datum>;
|
|
9
9
|
fy: ChannelAccessor<Datum>;
|
|
@@ -13,6 +13,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
13
13
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
14
14
|
fill: ChannelAccessor<Datum>;
|
|
15
15
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
16
|
+
fontFamily: ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
17
|
+
fontSize: ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
18
|
+
fontStyle: ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
19
|
+
fontVariant: ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
20
|
+
fontWeight: ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
21
|
+
letterSpacing: ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
wordSpacing: ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
23
|
+
textAnchor: ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
24
|
+
textTransform: ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
25
|
+
textDecoration: ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
16
26
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
17
27
|
channel: string;
|
|
18
28
|
order?: "ascending" | "descending";
|
|
@@ -26,6 +36,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
26
36
|
opacity: ChannelAccessor<Datum>;
|
|
27
37
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
28
38
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
39
|
+
blend: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
40
|
mixBlendMode: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
30
41
|
clipPath: string;
|
|
31
42
|
mask: string;
|
|
@@ -127,7 +138,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
127
138
|
cursor: ConstantAccessor<import("csstype").Property.Cursor, Datum>;
|
|
128
139
|
}> & LinkableMarkProps<Datum> & {
|
|
129
140
|
/** the input data array; each element becomes one point in the area */
|
|
130
|
-
data
|
|
141
|
+
data?: Datum[];
|
|
131
142
|
/** the starting horizontal position channel for the area baseline */
|
|
132
143
|
x1?: ChannelAccessor<Datum>;
|
|
133
144
|
/** the ending horizontal position channel for the area topline */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends DataRow>(): {
|
|
3
3
|
props: Omit<Partial<{
|
|
4
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
7
7
|
fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
12
|
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
13
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Record<string | symbol, import("../types/data").RawValue>>;
|
|
15
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Record<string | symbol, import("../types/data").RawValue>>;
|
|
16
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Record<string | symbol, import("../types/data").RawValue>>;
|
|
17
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
22
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Record<string | symbol, import("../types/data").RawValue>>;
|
|
23
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
24
|
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
24
34
|
opacity: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
25
35
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
26
36
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
37
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/data").RawValue>>;
|
|
27
38
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/data").RawValue>>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
|
@@ -124,7 +135,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
124
135
|
style: string;
|
|
125
136
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
126
137
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
127
|
-
data
|
|
138
|
+
data?: Record<string | symbol, import("../types/data").RawValue>[] | undefined;
|
|
128
139
|
x1?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
129
140
|
x2?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
130
141
|
y1?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRow } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends DataRow>(): {
|
|
3
3
|
props: Omit<Partial<{
|
|
4
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
7
7
|
fy: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
12
|
fill: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
13
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Record<string | symbol, import("../types/data").RawValue>>;
|
|
15
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Record<string | symbol, import("../types/data").RawValue>>;
|
|
16
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Record<string | symbol, import("../types/data").RawValue>>;
|
|
17
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Record<string | symbol, import("../types/data").RawValue>>;
|
|
18
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Record<string | symbol, import("../types/data").RawValue>>;
|
|
19
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
20
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
21
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
22
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Record<string | symbol, import("../types/data").RawValue>>;
|
|
23
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Record<string | symbol, import("../types/data").RawValue>>;
|
|
14
24
|
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
24
34
|
opacity: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
25
35
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/data").RawValue>>;
|
|
26
36
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/data").RawValue>>;
|
|
37
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/data").RawValue>>;
|
|
27
38
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/data").RawValue>>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
|
@@ -124,7 +135,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
124
135
|
style: string;
|
|
125
136
|
cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/data").RawValue>>;
|
|
126
137
|
}> & import("../types/mark").LinkableMarkProps<Record<string | symbol, import("../types/data").RawValue>> & {
|
|
127
|
-
data
|
|
138
|
+
data?: Record<string | symbol, import("../types/data").RawValue>[] | undefined;
|
|
128
139
|
x1?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
129
140
|
x2?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
130
141
|
y1?: ChannelAccessor<Record<string | symbol, import("../types/data").RawValue>>;
|
|
@@ -2,7 +2,7 @@ import type { DataRecord, ConstantAccessor, ChannelAccessor, RawValue } from '..
|
|
|
2
2
|
import { type SweepOption } from '../helpers/arrowPath.js';
|
|
3
3
|
declare function $$render<Datum extends DataRecord>(): {
|
|
4
4
|
props: Omit<Partial<{
|
|
5
|
-
filter: ConstantAccessor<boolean,
|
|
5
|
+
filter: ConstantAccessor<boolean, any>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
8
8
|
fy: ChannelAccessor<Datum>;
|
|
@@ -12,6 +12,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
12
12
|
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
13
13
|
fill: ChannelAccessor<Datum>;
|
|
14
14
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
+
fontFamily: ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
16
|
+
fontSize: ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
17
|
+
fontStyle: ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
18
|
+
fontVariant: ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
19
|
+
fontWeight: ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
20
|
+
letterSpacing: ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
wordSpacing: ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
textAnchor: ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
23
|
+
textTransform: ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
24
|
+
textDecoration: ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
15
25
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
16
26
|
channel: string;
|
|
17
27
|
order?: "ascending" | "descending";
|
|
@@ -25,6 +35,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
25
35
|
opacity: ChannelAccessor<Datum>;
|
|
26
36
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
27
37
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
38
|
+
blend: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
mixBlendMode: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
40
|
clipPath: string;
|
|
30
41
|
mask: string;
|
|
@@ -2,7 +2,7 @@ import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
|
2
2
|
import type * as CSS from 'csstype';
|
|
3
3
|
declare function $$render<Datum extends RawValue>(): {
|
|
4
4
|
props: Omit<Partial<{
|
|
5
|
-
filter: ConstantAccessor<boolean,
|
|
5
|
+
filter: ConstantAccessor<boolean, any>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: import("../types/channel").ChannelAccessor<Datum>;
|
|
8
8
|
fy: import("../types/channel").ChannelAccessor<Datum>;
|
|
@@ -12,6 +12,16 @@ declare function $$render<Datum extends RawValue>(): {
|
|
|
12
12
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
13
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
14
14
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
15
|
+
fontFamily: ConstantAccessor<CSS.Property.FontFamily, Datum>;
|
|
16
|
+
fontSize: ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
17
|
+
fontStyle: ConstantAccessor<CSS.Property.FontStyle, Datum>;
|
|
18
|
+
fontVariant: ConstantAccessor<CSS.Property.FontVariant, Datum>;
|
|
19
|
+
fontWeight: ConstantAccessor<CSS.Property.FontWeight, Datum>;
|
|
20
|
+
letterSpacing: ConstantAccessor<CSS.Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
wordSpacing: ConstantAccessor<CSS.Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
textAnchor: ConstantAccessor<CSS.Property.TextAnchor, Datum>;
|
|
23
|
+
textTransform: ConstantAccessor<CSS.Property.TextTransform, Datum>;
|
|
24
|
+
textDecoration: ConstantAccessor<CSS.Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
15
25
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
16
26
|
channel: string;
|
|
17
27
|
order?: "ascending" | "descending";
|
|
@@ -25,6 +35,7 @@ declare function $$render<Datum extends RawValue>(): {
|
|
|
25
35
|
opacity: import("../types/channel").ChannelAccessor<Datum>;
|
|
26
36
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
27
37
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
38
|
+
blend: ConstantAccessor<CSS.Property.MixBlendMode, Datum>;
|
|
28
39
|
mixBlendMode: ConstantAccessor<CSS.Property.MixBlendMode, Datum>;
|
|
29
40
|
clipPath: string;
|
|
30
41
|
mask: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RawValue, ConstantAccessor } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends RawValue>(): {
|
|
3
3
|
props: Omit<Partial<{
|
|
4
|
-
filter: ConstantAccessor<boolean,
|
|
4
|
+
filter: ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: import("../types/channel").ChannelAccessor<Datum>;
|
|
7
7
|
fy: import("../types/channel").ChannelAccessor<Datum>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends RawValue>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
12
12
|
fill: import("../types/channel").ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: ConstantAccessor<number, Datum>;
|
|
14
|
+
fontFamily: ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
15
|
+
fontSize: ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
16
|
+
fontStyle: ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
17
|
+
fontVariant: ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
18
|
+
fontWeight: ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
19
|
+
letterSpacing: ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
20
|
+
wordSpacing: ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
textAnchor: ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
22
|
+
textTransform: ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
23
|
+
textDecoration: ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
14
24
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends RawValue>(): {
|
|
|
24
34
|
opacity: import("../types/channel").ChannelAccessor<Datum>;
|
|
25
35
|
strokeDasharray: ConstantAccessor<string, Datum>;
|
|
26
36
|
strokeDashoffset: ConstantAccessor<number, Datum>;
|
|
37
|
+
blend: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
38
|
mixBlendMode: ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
|
@@ -3,7 +3,7 @@ import type { DataRow } from '../types/index.js';
|
|
|
3
3
|
import type { BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
|
|
4
4
|
declare function $$render<Datum extends DataRow>(): {
|
|
5
5
|
props: Partial<{
|
|
6
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
6
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
7
7
|
facet: "auto" | "include" | "exclude";
|
|
8
8
|
fx: ChannelAccessor<Datum>;
|
|
9
9
|
fy: ChannelAccessor<Datum>;
|
|
@@ -13,6 +13,16 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
13
13
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
14
14
|
fill: ChannelAccessor<Datum>;
|
|
15
15
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
16
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
17
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
18
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
19
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
20
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
21
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
23
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
24
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
25
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
16
26
|
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
17
27
|
channel: string;
|
|
18
28
|
order?: "ascending" | "descending";
|
|
@@ -26,6 +36,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
26
36
|
opacity: ChannelAccessor<Datum>;
|
|
27
37
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
28
38
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
39
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
40
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
30
41
|
clipPath: string;
|
|
31
42
|
mask: string;
|
|
@@ -2,7 +2,7 @@ import type { StackOptions } from '../transforms/stack.js';
|
|
|
2
2
|
import type { BaseRectMarkProps, ChannelAccessor, DataRow, LinkableMarkProps } from '../types/index.js';
|
|
3
3
|
declare function $$render<Datum extends DataRow>(): {
|
|
4
4
|
props: Partial<{
|
|
5
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
5
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
6
6
|
facet: "auto" | "include" | "exclude";
|
|
7
7
|
fx: ChannelAccessor<Datum>;
|
|
8
8
|
fy: ChannelAccessor<Datum>;
|
|
@@ -12,6 +12,16 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
12
12
|
dodgeY: import("../transforms/dodge").DodgeYOptions;
|
|
13
13
|
fill: ChannelAccessor<Datum>;
|
|
14
14
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
15
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
16
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
17
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
18
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
19
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
20
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
22
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
23
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
24
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
15
25
|
sort: ((a: import("../types/data").RawValue, b: import("../types/data").RawValue) => number) | {
|
|
16
26
|
channel: string;
|
|
17
27
|
order?: "ascending" | "descending";
|
|
@@ -25,6 +35,7 @@ declare function $$render<Datum extends DataRow>(): {
|
|
|
25
35
|
opacity: ChannelAccessor<Datum>;
|
|
26
36
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
27
37
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
38
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
29
40
|
clipPath: string;
|
|
30
41
|
mask: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
3
|
props: Partial<{
|
|
4
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: ChannelAccessor<Datum>;
|
|
7
7
|
fy: ChannelAccessor<Datum>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
15
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
16
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
17
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
18
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
19
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
20
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
22
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
23
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
14
24
|
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
24
34
|
opacity: ChannelAccessor<Datum>;
|
|
25
35
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
26
36
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
37
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
38
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord } from '../types/index.js';
|
|
2
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
3
|
props: Partial<{
|
|
4
|
-
filter: import("../types/index.js").ConstantAccessor<boolean,
|
|
4
|
+
filter: import("../types/index.js").ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: ChannelAccessor<Datum>;
|
|
7
7
|
fy: ChannelAccessor<Datum>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
14
|
+
fontFamily: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
15
|
+
fontSize: import("../types/index.js").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
16
|
+
fontStyle: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
17
|
+
fontVariant: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
18
|
+
fontWeight: import("../types/index.js").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
19
|
+
letterSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
20
|
+
wordSpacing: import("../types/index.js").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
textAnchor: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
22
|
+
textTransform: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
23
|
+
textDecoration: import("../types/index.js").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
14
24
|
sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
24
34
|
opacity: ChannelAccessor<Datum>;
|
|
25
35
|
strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
|
|
26
36
|
strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
|
|
37
|
+
blend: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
38
|
mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
package/dist/marks/BoxY.svelte
CHANGED
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
/**
|
|
31
31
|
* Options for the rule marks that represent the min/max range
|
|
32
32
|
*/
|
|
33
|
-
rule
|
|
33
|
+
rule?: Record<string, ChannelAccessor<Datum>>;
|
|
34
34
|
/**
|
|
35
35
|
* Options for the bar marks that represent the IQR range
|
|
36
36
|
*/
|
|
37
|
-
bar
|
|
37
|
+
bar?: Record<string, ChannelAccessor<Datum>>;
|
|
38
38
|
/**
|
|
39
39
|
* Options for the tick marks that represent the median
|
|
40
40
|
*/
|
|
41
|
-
tickMedian
|
|
41
|
+
tickMedian?: Record<string, ChannelAccessor<Datum>> | boolean;
|
|
42
42
|
/**
|
|
43
43
|
* Options for the tick marks that represent the min/max range
|
|
44
44
|
*/
|
|
45
|
-
tickMinMax
|
|
45
|
+
tickMinMax?: Record<string, ChannelAccessor<Datum>> | boolean;
|
|
46
46
|
/**
|
|
47
47
|
* Options for the dot marks that represent the outliers
|
|
48
48
|
*/
|
|
49
|
-
dot
|
|
49
|
+
dot?: Record<string, ChannelAccessor<Datum>>;
|
|
50
50
|
}
|
|
51
51
|
import { getPlotDefaults } from '../hooks/plotDefaults.js';
|
|
52
52
|
import Box from './helpers/Box.svelte';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChannelAccessor, DataRecord, RawValue } from '../types';
|
|
2
2
|
declare function $$render<Datum extends DataRecord>(): {
|
|
3
3
|
props: Pick<Partial<{
|
|
4
|
-
filter: import("../types").ConstantAccessor<boolean,
|
|
4
|
+
filter: import("../types").ConstantAccessor<boolean, any>;
|
|
5
5
|
facet: "auto" | "include" | "exclude";
|
|
6
6
|
fx: ChannelAccessor<Datum>;
|
|
7
7
|
fy: ChannelAccessor<Datum>;
|
|
@@ -11,6 +11,16 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
11
11
|
dodgeY: import("../transforms/dodge.js").DodgeYOptions;
|
|
12
12
|
fill: ChannelAccessor<Datum>;
|
|
13
13
|
fillOpacity: import("../types").ConstantAccessor<number, Datum>;
|
|
14
|
+
fontFamily: import("../types").ConstantAccessor<import("csstype").Property.FontFamily, Datum>;
|
|
15
|
+
fontSize: import("../types").ConstantAccessor<number | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "math" | (string & {}) | "large" | "medium" | "small" | "x-large" | "x-small" | "xx-large" | "xx-small" | "xxx-large" | "larger" | "smaller", Datum>;
|
|
16
|
+
fontStyle: import("../types").ConstantAccessor<import("csstype").Property.FontStyle, Datum>;
|
|
17
|
+
fontVariant: import("../types").ConstantAccessor<import("csstype").Property.FontVariant, Datum>;
|
|
18
|
+
fontWeight: import("../types").ConstantAccessor<import("csstype").Property.FontWeight, Datum>;
|
|
19
|
+
letterSpacing: import("../types").ConstantAccessor<import("csstype").Property.LetterSpacing<0 | (string & {})>, Datum>;
|
|
20
|
+
wordSpacing: import("../types").ConstantAccessor<import("csstype").Property.WordSpacing<0 | (string & {})>, Datum>;
|
|
21
|
+
textAnchor: import("../types").ConstantAccessor<import("csstype").Property.TextAnchor, Datum>;
|
|
22
|
+
textTransform: import("../types").ConstantAccessor<import("csstype").Property.TextTransform, Datum>;
|
|
23
|
+
textDecoration: import("../types").ConstantAccessor<import("csstype").Property.TextDecoration<0 | (string & {})>, Datum>;
|
|
14
24
|
sort: ((a: RawValue, b: RawValue) => number) | {
|
|
15
25
|
channel: string;
|
|
16
26
|
order?: "ascending" | "descending";
|
|
@@ -24,6 +34,7 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
24
34
|
opacity: ChannelAccessor<Datum>;
|
|
25
35
|
strokeDasharray: import("../types").ConstantAccessor<string, Datum>;
|
|
26
36
|
strokeDashoffset: import("../types").ConstantAccessor<number, Datum>;
|
|
37
|
+
blend: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
27
38
|
mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
|
|
28
39
|
clipPath: string;
|
|
29
40
|
mask: string;
|
|
@@ -137,23 +148,23 @@ declare function $$render<Datum extends DataRecord>(): {
|
|
|
137
148
|
/**
|
|
138
149
|
* Options for the rule marks that represent the min/max range
|
|
139
150
|
*/
|
|
140
|
-
rule
|
|
151
|
+
rule?: Record<string, ChannelAccessor<Datum>>;
|
|
141
152
|
/**
|
|
142
153
|
* Options for the bar marks that represent the IQR range
|
|
143
154
|
*/
|
|
144
|
-
bar
|
|
155
|
+
bar?: Record<string, ChannelAccessor<Datum>>;
|
|
145
156
|
/**
|
|
146
157
|
* Options for the tick marks that represent the median
|
|
147
158
|
*/
|
|
148
|
-
tickMedian
|
|
159
|
+
tickMedian?: Record<string, ChannelAccessor<Datum>> | boolean;
|
|
149
160
|
/**
|
|
150
161
|
* Options for the tick marks that represent the min/max range
|
|
151
162
|
*/
|
|
152
|
-
tickMinMax
|
|
163
|
+
tickMinMax?: Record<string, ChannelAccessor<Datum>> | boolean;
|
|
153
164
|
/**
|
|
154
165
|
* Options for the dot marks that represent the outliers
|
|
155
166
|
*/
|
|
156
|
-
dot
|
|
167
|
+
dot?: Record<string, ChannelAccessor<Datum>>;
|
|
157
168
|
};
|
|
158
169
|
exports: {};
|
|
159
170
|
bindings: "";
|