svelteplot 0.3.5-pr-121.2 → 0.3.5-pr-121.4
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/marks/AxisX.svelte
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
/** ticks is a shorthand for defining data, tickCount or interval */
|
|
45
45
|
ticks?: number | string | Datum[];
|
|
46
46
|
/** set to false or null to disable tick labels */
|
|
47
|
-
text
|
|
47
|
+
text?: boolean | null;
|
|
48
48
|
/** approximate number of ticks to be generated */
|
|
49
49
|
tickCount?: number;
|
|
50
50
|
/** approximate number of pixels between generated ticks */
|
|
@@ -76,7 +76,7 @@ declare class __sveltets_Render<Datum extends RawValue> {
|
|
|
76
76
|
/** ticks is a shorthand for defining data, tickCount or interval */
|
|
77
77
|
ticks?: string | number | Datum[] | undefined;
|
|
78
78
|
/** set to false or null to disable tick labels */
|
|
79
|
-
text
|
|
79
|
+
text?: boolean | null;
|
|
80
80
|
/** approximate number of ticks to be generated */
|
|
81
81
|
tickCount?: number;
|
|
82
82
|
/** approximate number of pixels between generated ticks */
|
package/dist/types/mark.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ export type Mark<T> = {
|
|
|
9
9
|
export type MarkType = 'area' | 'arrow' | 'barX' | 'barY' | 'cell' | 'dot' | 'vector' | 'frame' | 'geo' | 'gridX' | 'gridY' | 'line' | 'rect' | 'regression' | 'ruleX' | 'ruleY' | 'swoopyArrow' | 'text' | 'tickX' | 'tickY';
|
|
10
10
|
export type MarkStyleProps = 'strokeDasharray' | 'strokeLinejoin' | 'strokeLinecap' | 'opacity' | 'cursor' | 'pointerEvents' | 'blend' | 'fill' | 'fillOpacity' | 'fontWeight' | 'fontVariant' | 'fontSize' | 'fontStyle' | 'stroke' | 'strokeWidth' | 'strokeOpacity' | 'x' | 'y' | 'clipPath' | 'mask' | 'filter' | 'angle' | 'radius' | 'symbol' | 'textAnchor' | 'width';
|
|
11
11
|
import type { MouseEventHandler } from 'svelte/elements';
|
|
12
|
-
import type { ChannelAccessor, ConstantAccessor, DataRecord, RawValue } from '.';
|
|
12
|
+
import type { ChannelAccessor, ConstantAccessor, DataRecord, RawValue } from './index.js';
|
|
13
13
|
import type * as CSS from 'csstype';
|
|
14
|
-
import type { ScaledChannelName, ScaleName } from './scale';
|
|
14
|
+
import type { ScaledChannelName, ScaleName } from './scale.js';
|
|
15
15
|
export type BaseMarkProps<T> = Partial<{
|
|
16
16
|
/**
|
|
17
17
|
* Filter the data without modifying the inferred scales
|