svelteplot 0.10.2 → 0.10.3-pr-370.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/LICENSE.md +1 -1
  2. package/dist/Mark.svelte.d.ts +4 -4
  3. package/dist/constants.d.ts +1 -1
  4. package/dist/helpers/colors.d.ts +8 -11
  5. package/dist/helpers/curves.d.ts +2 -2
  6. package/dist/helpers/facets.d.ts +1 -1
  7. package/dist/helpers/getBaseStyles.d.ts +2 -4
  8. package/dist/helpers/index.d.ts +1 -1
  9. package/dist/helpers/reduce.d.ts +1 -1
  10. package/dist/helpers/scales.d.ts +7 -7
  11. package/dist/helpers/symbols.d.ts +1 -1
  12. package/dist/helpers/time.d.ts +3 -3
  13. package/dist/helpers/typeChecks.d.ts +4 -4
  14. package/dist/marks/Area.svelte.d.ts +5 -4
  15. package/dist/marks/AreaX.svelte.d.ts +4 -4
  16. package/dist/marks/AreaY.svelte.d.ts +4 -4
  17. package/dist/marks/Arrow.svelte.d.ts +5 -4
  18. package/dist/marks/AxisX.svelte +13 -0
  19. package/dist/marks/AxisX.svelte.d.ts +19 -5
  20. package/dist/marks/AxisY.svelte +15 -0
  21. package/dist/marks/AxisY.svelte.d.ts +21 -5
  22. package/dist/marks/BarX.svelte.d.ts +4 -4
  23. package/dist/marks/BarY.svelte.d.ts +5 -4
  24. package/dist/marks/BollingerX.svelte +3 -0
  25. package/dist/marks/BollingerX.svelte.d.ts +2 -77
  26. package/dist/marks/BollingerY.svelte +3 -0
  27. package/dist/marks/BollingerY.svelte.d.ts +2 -77
  28. package/dist/marks/BoxY.svelte +3 -0
  29. package/dist/marks/BoxY.svelte.d.ts +4 -64
  30. package/dist/marks/Brush.svelte +4 -0
  31. package/dist/marks/Brush.svelte.d.ts +5 -64
  32. package/dist/marks/Cell.svelte.d.ts +5 -4
  33. package/dist/marks/CellX.svelte.d.ts +30 -30
  34. package/dist/marks/CellY.svelte.d.ts +30 -30
  35. package/dist/marks/ColorLegend.svelte +1 -0
  36. package/dist/marks/ColorLegend.svelte.d.ts +1 -0
  37. package/dist/marks/CustomMark.svelte +11 -0
  38. package/dist/marks/CustomMark.svelte.d.ts +2 -85
  39. package/dist/marks/CustomMarkHTML.svelte +6 -0
  40. package/dist/marks/CustomMarkHTML.svelte.d.ts +6 -0
  41. package/dist/marks/DifferenceY.svelte +5 -1
  42. package/dist/marks/DifferenceY.svelte.d.ts +8 -64
  43. package/dist/marks/Dot.svelte.d.ts +5 -4
  44. package/dist/marks/DotX.svelte.d.ts +5 -5
  45. package/dist/marks/DotY.svelte.d.ts +5 -5
  46. package/dist/marks/Frame.svelte +11 -0
  47. package/dist/marks/Frame.svelte.d.ts +17 -5
  48. package/dist/marks/Geo.svelte +3 -0
  49. package/dist/marks/Geo.svelte.d.ts +8 -4
  50. package/dist/marks/Graticule.svelte +3 -0
  51. package/dist/marks/Graticule.svelte.d.ts +3 -0
  52. package/dist/marks/GridX.svelte +4 -0
  53. package/dist/marks/GridX.svelte.d.ts +9 -4
  54. package/dist/marks/GridY.svelte +4 -0
  55. package/dist/marks/GridY.svelte.d.ts +9 -4
  56. package/dist/marks/HTMLTooltip.svelte +7 -0
  57. package/dist/marks/HTMLTooltip.svelte.d.ts +7 -0
  58. package/dist/marks/Image.svelte.d.ts +5 -4
  59. package/dist/marks/Line.svelte.d.ts +4 -4
  60. package/dist/marks/LineX.svelte.d.ts +6 -6
  61. package/dist/marks/LineY.svelte.d.ts +6 -6
  62. package/dist/marks/Link.svelte +3 -1
  63. package/dist/marks/Link.svelte.d.ts +8 -4
  64. package/dist/marks/Pointer.svelte +7 -0
  65. package/dist/marks/Pointer.svelte.d.ts +7 -0
  66. package/dist/marks/Rect.svelte.d.ts +5 -4
  67. package/dist/marks/RuleX.svelte.d.ts +5 -4
  68. package/dist/marks/RuleY.svelte.d.ts +5 -4
  69. package/dist/marks/Spike.svelte +6 -0
  70. package/dist/marks/Spike.svelte.d.ts +11 -5
  71. package/dist/marks/Text.svelte.d.ts +9 -8
  72. package/dist/marks/TickX.svelte +2 -0
  73. package/dist/marks/TickX.svelte.d.ts +7 -4
  74. package/dist/marks/TickY.svelte +5 -3
  75. package/dist/marks/TickY.svelte.d.ts +10 -7
  76. package/dist/marks/Trail.svelte +11 -0
  77. package/dist/marks/Trail.svelte.d.ts +12 -64
  78. package/dist/marks/Vector.svelte +9 -0
  79. package/dist/marks/Vector.svelte.d.ts +14 -4
  80. package/dist/marks/WaffleX.svelte +6 -4
  81. package/dist/marks/WaffleX.svelte.d.ts +2 -86
  82. package/dist/marks/WaffleY.svelte +5 -4
  83. package/dist/marks/WaffleY.svelte.d.ts +10 -8
  84. package/dist/marks/helpers/Box.svelte.d.ts +1 -64
  85. package/dist/marks/helpers/MarkerPath.svelte.d.ts +2 -107
  86. package/dist/marks/helpers/Regression.svelte +6 -3
  87. package/dist/marks/helpers/Regression.svelte.d.ts +6 -0
  88. package/dist/transforms/bollinger.d.ts +8 -0
  89. package/dist/transforms/bollinger.js +8 -0
  90. package/dist/transforms/centroid.d.ts +5 -4
  91. package/dist/transforms/centroid.js +4 -0
  92. package/dist/transforms/dodge.d.ts +11 -0
  93. package/dist/transforms/dodge.js +6 -0
  94. package/dist/transforms/interval.d.ts +8 -8
  95. package/dist/transforms/jitter.d.ts +9 -0
  96. package/dist/transforms/jitter.js +9 -0
  97. package/dist/transforms/recordize.d.ts +16 -7
  98. package/dist/transforms/recordize.js +10 -6
  99. package/dist/transforms/rename.d.ts +5 -1
  100. package/dist/transforms/rename.js +4 -0
  101. package/dist/transforms/select.d.ts +36 -28
  102. package/dist/transforms/select.js +8 -0
  103. package/dist/transforms/shift.d.ts +8 -0
  104. package/dist/transforms/shift.js +6 -0
  105. package/dist/transforms/sort.d.ts +18 -19
  106. package/dist/transforms/sort.js +4 -0
  107. package/dist/transforms/stack.d.ts +32 -12
  108. package/dist/transforms/stack.js +14 -0
  109. package/dist/transforms/window.d.ts +13 -136
  110. package/dist/transforms/window.js +6 -0
  111. package/dist/types/channel.d.ts +12 -0
  112. package/dist/types/data.d.ts +13 -0
  113. package/dist/types/facet.d.ts +5 -0
  114. package/dist/types/index.d.ts +18 -0
  115. package/dist/types/mark.d.ts +62 -0
  116. package/dist/types/plot.d.ts +31 -0
  117. package/dist/types/scale.d.ts +98 -0
  118. package/package.json +13 -5
@@ -1,81 +1,6 @@
1
- import type { ChannelAccessor, DataRecord } from '../types/index.js';
1
+ import type { DataRecord } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Partial<{
4
- filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
5
- facet: "auto" | "include" | "exclude";
6
- fx: ChannelAccessor<Datum>;
7
- fy: ChannelAccessor<Datum>;
8
- dx: import("../types/index.js").ConstantAccessor<number, Datum>;
9
- dy: import("../types/index.js").ConstantAccessor<number, Datum>;
10
- dodgeX: import("../transforms/dodge.js").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge.js").DodgeYOptions;
12
- fill: ChannelAccessor<Datum>;
13
- fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
14
- sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
15
- channel: string;
16
- order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
18
- stroke: ChannelAccessor<Datum>;
19
- strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
20
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
21
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
22
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
23
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
24
- opacity: ChannelAccessor<Datum>;
25
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
26
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
27
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
28
- clipPath: string;
29
- mask: string;
30
- imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
31
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
32
- paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
33
- onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
- ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
- onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
36
- onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
37
- onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
38
- onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
39
- onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
40
- onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
41
- onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
42
- onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
43
- onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
44
- onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
45
- onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
46
- onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
47
- onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
48
- onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
49
- onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
50
- ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
51
- ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
52
- ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
53
- ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
54
- ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
55
- ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
56
- ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
57
- ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
58
- ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
59
- ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
60
- ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
61
- oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
62
- onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
- class: string;
64
- style: string;
65
- cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
66
- }> & {
67
- data: Datum[];
68
- x?: ChannelAccessor<Datum>;
69
- y?: ChannelAccessor<Datum>;
70
- /**
71
- * the window size (the window transform's k option), an integer; defaults to 20
72
- */
73
- n?: number;
74
- /**
75
- * the band radius, a number representing a multiple of standard deviations; defaults to 2
76
- */
77
- k?: number;
78
- };
3
+ props: any;
79
4
  exports: {};
80
5
  bindings: "";
81
6
  slots: {};
@@ -13,8 +13,11 @@
13
13
  import { pick } from 'es-toolkit';
14
14
 
15
15
  interface BollingerYMarkProps extends BaseMarkProps<Datum> {
16
+ /** the input data array */
16
17
  data: Datum[];
18
+ /** the horizontal position channel; used for grouping */
17
19
  x?: ChannelAccessor<Datum>;
20
+ /** the vertical position channel; the dependent variable for the moving average */
18
21
  y?: ChannelAccessor<Datum>;
19
22
  /**
20
23
  * the window size (the window transform's k option), an integer; defaults to 20
@@ -1,81 +1,6 @@
1
- import type { ChannelAccessor, DataRecord } from '../types/index.js';
1
+ import type { DataRecord } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Partial<{
4
- filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
5
- facet: "auto" | "include" | "exclude";
6
- fx: ChannelAccessor<Datum>;
7
- fy: ChannelAccessor<Datum>;
8
- dx: import("../types/index.js").ConstantAccessor<number, Datum>;
9
- dy: import("../types/index.js").ConstantAccessor<number, Datum>;
10
- dodgeX: import("../transforms/dodge.js").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge.js").DodgeYOptions;
12
- fill: ChannelAccessor<Datum>;
13
- fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
14
- sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
15
- channel: string;
16
- order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
18
- stroke: ChannelAccessor<Datum>;
19
- strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
20
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
21
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
22
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
23
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
24
- opacity: ChannelAccessor<Datum>;
25
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
26
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
27
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
28
- clipPath: string;
29
- mask: string;
30
- imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
31
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
32
- paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
33
- onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
- ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
- onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
36
- onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
37
- onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
38
- onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
39
- onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
40
- onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
41
- onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
42
- onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
43
- onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
44
- onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
45
- onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
46
- onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
47
- onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
48
- onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
49
- onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
50
- ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
51
- ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
52
- ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
53
- ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
54
- ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
55
- ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
56
- ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
57
- ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
58
- ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
59
- ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
60
- ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
61
- oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
62
- onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
- class: string;
64
- style: string;
65
- cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
66
- }> & {
67
- data: Datum[];
68
- x?: ChannelAccessor<Datum>;
69
- y?: ChannelAccessor<Datum>;
70
- /**
71
- * the window size (the window transform's k option), an integer; defaults to 20
72
- */
73
- n?: number;
74
- /**
75
- * the band radius, a number representing a multiple of standard deviations; defaults to 2
76
- */
77
- k?: number;
78
- };
3
+ props: any;
79
4
  exports: {};
80
5
  bindings: "";
81
6
  slots: {};
@@ -6,8 +6,11 @@
6
6
  BaseMarkProps<Datum>,
7
7
  'class' | 'fill' | 'stroke' | 'fx' | 'fy'
8
8
  > {
9
+ /** the input data array */
9
10
  data: Datum[];
11
+ /** the horizontal position channel; bound to a band scale for grouping */
10
12
  x: ChannelAccessor;
13
+ /** the vertical position channel; the quantitative values to summarize */
11
14
  y: ChannelAccessor;
12
15
  /**
13
16
  * Custom sort order for grouped box plot data
@@ -1,71 +1,11 @@
1
1
  import type { ChannelAccessor, DataRecord, RawValue } from '../types';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Pick<Partial<{
4
- filter: import("../types").ConstantAccessor<boolean, Datum>;
5
- facet: "auto" | "include" | "exclude";
6
- fx: ChannelAccessor<Datum>;
7
- fy: ChannelAccessor<Datum>;
8
- dx: import("../types").ConstantAccessor<number, Datum>;
9
- dy: import("../types").ConstantAccessor<number, Datum>;
10
- dodgeX: import("../transforms/dodge.js").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge.js").DodgeYOptions;
12
- fill: ChannelAccessor<Datum>;
13
- fillOpacity: import("../types").ConstantAccessor<number, Datum>;
14
- sort: ((a: RawValue, b: RawValue) => number) | {
15
- channel: string;
16
- order?: "ascending" | "descending";
17
- } | import("../types").ConstantAccessor<RawValue, Datum>;
18
- stroke: ChannelAccessor<Datum>;
19
- strokeWidth: import("../types").ConstantAccessor<number, Datum>;
20
- strokeOpacity: import("../types").ConstantAccessor<number, Datum>;
21
- strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
22
- strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
23
- strokeMiterlimit: import("../types").ConstantAccessor<number, Datum>;
24
- opacity: ChannelAccessor<Datum>;
25
- strokeDasharray: import("../types").ConstantAccessor<string, Datum>;
26
- strokeDashoffset: import("../types").ConstantAccessor<number, Datum>;
27
- mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
28
- clipPath: string;
29
- mask: string;
30
- imageFilter: import("../types").ConstantAccessor<string, Datum>;
31
- shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
32
- paintOrder: import("../types").ConstantAccessor<string, Datum>;
33
- onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
- ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
- onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
36
- onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
37
- onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
38
- onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
39
- onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
40
- onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
41
- onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
42
- onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
43
- onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
44
- onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
45
- onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
46
- onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
47
- onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
48
- onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
49
- onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
50
- ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
51
- ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
52
- ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
53
- ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
54
- ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
55
- ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
56
- ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
57
- ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
58
- ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
59
- ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
60
- ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
61
- oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
62
- onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
- class: string;
64
- style: string;
65
- cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
66
- }>, "fx" | "fy" | "fill" | "stroke" | "class"> & {
3
+ props: Pick<BaseMarkProps<Datum>, "fill" | "stroke" | "fx" | "fy" | "class"> & {
4
+ /** the input data array */
67
5
  data: Datum[];
6
+ /** the horizontal position channel; bound to a band scale for grouping */
68
7
  x: ChannelAccessor;
8
+ /** the vertical position channel; the quantitative values to summarize */
69
9
  y: ChannelAccessor;
70
10
  /**
71
11
  * Custom sort order for grouped box plot data
@@ -15,6 +15,7 @@
15
15
  | 'strokeLinejoin'
16
16
  | 'strokeMiterlimit'
17
17
  > {
18
+ /** the brush state object (bindable); contains x1, x2, y1, y2, and enabled */
18
19
  brush: Brush;
19
20
  /**
20
21
  * limit brushing to x or y dimension
@@ -28,8 +29,11 @@
28
29
  * size of the (invisible) drag resize area around the edges of the brush selection
29
30
  */
30
31
  resizeHandleSize?: number;
32
+ /** called when the user starts dragging to create or move a brush */
31
33
  onbrushstart?: (evt: BrushEvent) => void;
34
+ /** called when the user finishes dragging the brush */
32
35
  onbrushend?: (evt: BrushEvent) => void;
36
+ /** called continuously while the user is dragging the brush */
33
37
  onbrush?: (evt: BrushEvent) => void;
34
38
  }
35
39
  import { getContext, untrack } from 'svelte';
@@ -1,69 +1,7 @@
1
1
  import type { DataRecord } from '../types/index.js';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
- props: Pick<Partial<{
4
- filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
5
- facet: "auto" | "include" | "exclude";
6
- fx: import("../types/index.js").ChannelAccessor<Datum>;
7
- fy: import("../types/index.js").ChannelAccessor<Datum>;
8
- dx: import("../types/index.js").ConstantAccessor<number, Datum>;
9
- dy: import("../types/index.js").ConstantAccessor<number, Datum>;
10
- dodgeX: import("../transforms/dodge").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge").DodgeYOptions;
12
- fill: import("../types/index.js").ChannelAccessor<Datum>;
13
- fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
14
- sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
15
- channel: string;
16
- order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Datum>;
18
- stroke: import("../types/index.js").ChannelAccessor<Datum>;
19
- strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
20
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
21
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Datum>;
22
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Datum>;
23
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Datum>;
24
- opacity: import("../types/index.js").ChannelAccessor<Datum>;
25
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, Datum>;
26
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Datum>;
27
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Datum>;
28
- clipPath: string;
29
- mask: string;
30
- imageFilter: import("../types/index.js").ConstantAccessor<string, Datum>;
31
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Datum>;
32
- paintOrder: import("../types/index.js").ConstantAccessor<string, Datum>;
33
- onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
- ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
- onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
36
- onmousedown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
37
- onmouseenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
38
- onmousemove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
39
- onmouseleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
40
- onmouseout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
41
- onmouseover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
42
- onpointercancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
43
- onpointerdown: import("svelte/elements").MouseEventHandler<SVGPathElement>;
44
- onpointerup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
45
- onpointerenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
46
- onpointerleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
47
- onpointermove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
48
- onpointerover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
49
- onpointerout: import("svelte/elements").MouseEventHandler<SVGPathElement>;
50
- ondrag: import("svelte/elements").MouseEventHandler<SVGPathElement>;
51
- ondrop: import("svelte/elements").MouseEventHandler<SVGPathElement>;
52
- ondragstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
53
- ondragenter: import("svelte/elements").MouseEventHandler<SVGPathElement>;
54
- ondragleave: import("svelte/elements").MouseEventHandler<SVGPathElement>;
55
- ondragover: import("svelte/elements").MouseEventHandler<SVGPathElement>;
56
- ondragend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
57
- ontouchstart: import("svelte/elements").MouseEventHandler<SVGPathElement>;
58
- ontouchmove: import("svelte/elements").MouseEventHandler<SVGPathElement>;
59
- ontouchend: import("svelte/elements").MouseEventHandler<SVGPathElement>;
60
- ontouchcancel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
61
- oncontextmenu: import("svelte/elements").MouseEventHandler<SVGPathElement>;
62
- onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
- class: string;
64
- style: string;
65
- cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Datum>;
66
- }>, "stroke" | "strokeWidth" | "strokeOpacity" | "strokeLinejoin" | "strokeLinecap" | "strokeMiterlimit" | "strokeDasharray" | "strokeDashoffset" | "cursor"> & {
3
+ props: Pick<BaseMarkProps<Datum>, "stroke" | "strokeOpacity" | "strokeDasharray" | "strokeLinejoin" | "strokeLinecap" | "cursor" | "strokeWidth" | "strokeMiterlimit" | "strokeDashoffset"> & {
4
+ /** the brush state object (bindable); contains x1, x2, y1, y2, and enabled */
67
5
  brush: {
68
6
  x1?: number | Date;
69
7
  x2?: number | Date;
@@ -83,6 +21,7 @@ declare function $$render<Datum extends DataRecord>(): {
83
21
  * size of the (invisible) drag resize area around the edges of the brush selection
84
22
  */
85
23
  resizeHandleSize?: number;
24
+ /** called when the user starts dragging to create or move a brush */
86
25
  onbrushstart?: (evt: MouseEvent & {
87
26
  brush: {
88
27
  x1?: number | Date;
@@ -92,6 +31,7 @@ declare function $$render<Datum extends DataRecord>(): {
92
31
  enabled: boolean;
93
32
  };
94
33
  }) => void;
34
+ /** called when the user finishes dragging the brush */
95
35
  onbrushend?: (evt: MouseEvent & {
96
36
  brush: {
97
37
  x1?: number | Date;
@@ -101,6 +41,7 @@ declare function $$render<Datum extends DataRecord>(): {
101
41
  enabled: boolean;
102
42
  };
103
43
  }) => void;
44
+ /** called continuously while the user is dragging the brush */
104
45
  onbrush?: (evt: MouseEvent & {
105
46
  brush: {
106
47
  x1?: number | Date;
@@ -1,4 +1,5 @@
1
1
  import type { DataRecord, BaseRectMarkProps, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
2
+ import { usePlot } from '../hooks/usePlot.svelte.js';
2
3
  declare function $$render<Datum extends DataRecord>(): {
3
4
  props: Partial<{
4
5
  filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
@@ -7,14 +8,14 @@ declare function $$render<Datum extends DataRecord>(): {
7
8
  fy: ChannelAccessor<Datum>;
8
9
  dx: import("../types/index.js").ConstantAccessor<number, Datum>;
9
10
  dy: import("../types/index.js").ConstantAccessor<number, Datum>;
10
- dodgeX: import("../transforms/dodge.js").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge.js").DodgeYOptions;
11
+ dodgeX: usePlot;
12
+ dodgeY: usePlot;
12
13
  fill: ChannelAccessor<Datum>;
13
14
  fillOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
14
- sort: ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | {
15
+ sort: {
15
16
  channel: string;
16
17
  order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
18
+ } | ((a: import("../types/data.js").RawValue, b: import("../types/data.js").RawValue) => number) | import("../types/index.js").ConstantAccessor<import("../types/data.js").RawValue, Datum>;
18
19
  stroke: ChannelAccessor<Datum>;
19
20
  strokeWidth: import("../types/index.js").ConstantAccessor<number, Datum>;
20
21
  strokeOpacity: import("../types/index.js").ConstantAccessor<number, Datum>;
@@ -1,35 +1,35 @@
1
1
  import type { 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, Record<string | symbol, import("../types/index.js").RawValue>>;
4
+ filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
5
5
  facet: "auto" | "include" | "exclude";
6
- fx: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
7
- fy: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
8
- dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
9
- dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
10
- dodgeX: import("../transforms/dodge").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge").DodgeYOptions;
12
- fill: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
13
- fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
14
- sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
6
+ fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
7
+ fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
8
+ dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
9
+ dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
10
+ dodgeX: DataRow;
11
+ dodgeY: DataRow;
12
+ fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
13
+ fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
14
+ sort: {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Record<string | symbol, import("../types/index.js").RawValue>>;
18
- stroke: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
19
- strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
20
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
21
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/index.js").RawValue>>;
22
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/index.js").RawValue>>;
23
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
24
- opacity: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
25
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
26
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
27
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/index.js").RawValue>>;
17
+ } | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
18
+ stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
19
+ strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
20
+ strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
21
+ strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
22
+ strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
23
+ strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
24
+ opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
25
+ strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
26
+ strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
27
+ mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
28
28
  clipPath: string;
29
29
  mask: string;
30
- imageFilter: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
31
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/index.js").RawValue>>;
32
- paintOrder: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
30
+ imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
31
+ shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
32
+ paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
33
33
  onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
34
  ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
35
  onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
@@ -62,13 +62,13 @@ declare function $$render<Datum extends DataRow>(): {
62
62
  onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
63
  class: string;
64
64
  style: string;
65
- cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/index.js").RawValue>>;
66
- }> & import("../types/index.js").LinkableMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & import("../types/index.js").BaseRectMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & {
67
- data: Record<string | symbol, import("../types/index.js").RawValue>[];
68
- x?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
69
- y?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
65
+ cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
66
+ }> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
67
+ data: Record<string | symbol, import("../types").RawValue>[];
68
+ x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
69
+ y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
70
70
  canvas?: boolean;
71
- }, "data" | "y"> & {
71
+ }, "y" | "data"> & {
72
72
  data: Datum[];
73
73
  };
74
74
  exports: {};
@@ -1,35 +1,35 @@
1
1
  import type { 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, Record<string | symbol, import("../types/index.js").RawValue>>;
4
+ filter: import("../types").ConstantAccessor<boolean, Record<string | symbol, import("../types").RawValue>>;
5
5
  facet: "auto" | "include" | "exclude";
6
- fx: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
7
- fy: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
8
- dx: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
9
- dy: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
10
- dodgeX: import("../transforms/dodge").DodgeXOptions;
11
- dodgeY: import("../transforms/dodge").DodgeYOptions;
12
- fill: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
13
- fillOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
14
- sort: ((a: import("../types/index.js").RawValue, b: import("../types/index.js").RawValue) => number) | {
6
+ fx: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
7
+ fy: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
8
+ dx: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
9
+ dy: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
10
+ dodgeX: DataRow;
11
+ dodgeY: DataRow;
12
+ fill: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
13
+ fillOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
14
+ sort: {
15
15
  channel: string;
16
16
  order?: "ascending" | "descending";
17
- } | import("../types/index.js").ConstantAccessor<import("../types/index.js").RawValue, Record<string | symbol, import("../types/index.js").RawValue>>;
18
- stroke: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
19
- strokeWidth: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
20
- strokeOpacity: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
21
- strokeLinejoin: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types/index.js").RawValue>>;
22
- strokeLinecap: import("../types/index.js").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types/index.js").RawValue>>;
23
- strokeMiterlimit: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
24
- opacity: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
25
- strokeDasharray: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
26
- strokeDashoffset: import("../types/index.js").ConstantAccessor<number, Record<string | symbol, import("../types/index.js").RawValue>>;
27
- mixBlendMode: import("../types/index.js").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types/index.js").RawValue>>;
17
+ } | ((a: import("../types").RawValue, b: import("../types").RawValue) => number) | import("../types").ConstantAccessor<import("../types").RawValue, Record<string | symbol, import("../types").RawValue>>;
18
+ stroke: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
19
+ strokeWidth: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
20
+ strokeOpacity: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
21
+ strokeLinejoin: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinejoin, Record<string | symbol, import("../types").RawValue>>;
22
+ strokeLinecap: import("../types").ConstantAccessor<import("csstype").Property.StrokeLinecap, Record<string | symbol, import("../types").RawValue>>;
23
+ strokeMiterlimit: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
24
+ opacity: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
25
+ strokeDasharray: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
26
+ strokeDashoffset: import("../types").ConstantAccessor<number, Record<string | symbol, import("../types").RawValue>>;
27
+ mixBlendMode: import("../types").ConstantAccessor<import("csstype").Property.MixBlendMode, Record<string | symbol, import("../types").RawValue>>;
28
28
  clipPath: string;
29
29
  mask: string;
30
- imageFilter: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
31
- shapeRendering: import("../types/index.js").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types/index.js").RawValue>>;
32
- paintOrder: import("../types/index.js").ConstantAccessor<string, Record<string | symbol, import("../types/index.js").RawValue>>;
30
+ imageFilter: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
31
+ shapeRendering: import("../types").ConstantAccessor<import("csstype").Property.ShapeRendering, Record<string | symbol, import("../types").RawValue>>;
32
+ paintOrder: import("../types").ConstantAccessor<string, Record<string | symbol, import("../types").RawValue>>;
33
33
  onclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
34
34
  ondblclick: import("svelte/elements").MouseEventHandler<SVGPathElement>;
35
35
  onmouseup: import("svelte/elements").MouseEventHandler<SVGPathElement>;
@@ -62,13 +62,13 @@ declare function $$render<Datum extends DataRow>(): {
62
62
  onwheel: import("svelte/elements").MouseEventHandler<SVGPathElement>;
63
63
  class: string;
64
64
  style: string;
65
- cursor: import("../types/index.js").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types/index.js").RawValue>>;
66
- }> & import("../types/index.js").LinkableMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & import("../types/index.js").BaseRectMarkProps<Record<string | symbol, import("../types/index.js").RawValue>> & {
67
- data: Record<string | symbol, import("../types/index.js").RawValue>[];
68
- x?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
69
- y?: import("../types/index.js").ChannelAccessor<Record<string | symbol, import("../types/index.js").RawValue>>;
65
+ cursor: import("../types").ConstantAccessor<import("csstype").Property.Cursor, Record<string | symbol, import("../types").RawValue>>;
66
+ }> & import("../types").LinkableMarkProps<Record<string | symbol, import("../types").RawValue>> & import("../types").BaseRectMarkProps<Record<string | symbol, import("../types").RawValue>> & {
67
+ data: Record<string | symbol, import("../types").RawValue>[];
68
+ x?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
69
+ y?: import("../types").ChannelAccessor<Record<string | symbol, import("../types").RawValue>>;
70
70
  canvas?: boolean;
71
- }, "data" | "x"> & {
71
+ }, "x" | "data"> & {
72
72
  data: Datum[];
73
73
  };
74
74
  exports: {};
@@ -1,5 +1,6 @@
1
1
  <script lang="ts">
2
2
  interface ColorLegendMarkProps {
3
+ /** CSS class applied to the legend container element */
3
4
  class: string | null;
4
5
  }
5
6
  import Plot from '../Plot.svelte';
@@ -1,4 +1,5 @@
1
1
  interface ColorLegendMarkProps {
2
+ /** CSS class applied to the legend container element */
2
3
  class: string | null;
3
4
  }
4
5
  /**