svelteplot 0.14.2-pr-551.1 → 0.14.2-pr-551.2

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.
@@ -10,7 +10,7 @@
10
10
  import { range as d3Range, extent } from 'd3-array';
11
11
  import { maybeSymbol } from '../helpers/symbols.js';
12
12
 
13
- import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults';
13
+ import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults.js';
14
14
  import { usePlot } from 'svelteplot/hooks/usePlot.svelte.js';
15
15
 
16
16
  let { class: className = null }: ColorLegendMarkProps = $props();
@@ -36,8 +36,8 @@
36
36
  LinkableMarkProps,
37
37
  TransformArg
38
38
  } from '../types/index.js';
39
- import { resolveProp } from 'svelteplot/helpers/resolve';
40
- import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults';
39
+ import { resolveProp } from 'svelteplot/helpers/resolve.js';
40
+ import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults.js';
41
41
  import { sort } from 'svelteplot/transforms';
42
42
  import Anchor from './helpers/Anchor.svelte';
43
43
  import ImageCanvas from './helpers/ImageCanvas.svelte';
@@ -1,5 +1,5 @@
1
1
  import type { ChannelAccessor, ConstantAccessor, DataRecord, LinkableMarkProps } from '../types/index.js';
2
- import { resolveProp } from 'svelteplot/helpers/resolve';
2
+ import { resolveProp } from 'svelteplot/helpers/resolve.js';
3
3
  declare function $$render<Datum extends DataRecord>(): {
4
4
  props: Partial<{
5
5
  filter: ConstantAccessor<boolean, Datum>;
@@ -38,11 +38,11 @@
38
38
  RawValue,
39
39
  ScaledDataRecord,
40
40
  CurveName
41
- } from 'svelteplot/types';
41
+ } from 'svelteplot/types/index.js';
42
42
  import Mark from '../Mark.svelte';
43
43
  import { path as d3Path } from 'd3-path';
44
44
  import { resolveProp, resolveStyles } from '../helpers/resolve.js';
45
- import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults';
45
+ import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults.js';
46
46
  import { sort } from 'svelteplot/transforms';
47
47
  import trailPath, { type TrailSample } from './helpers/trail.js';
48
48
  import TrailCanvas from './helpers/TrailCanvas.svelte';
@@ -1,4 +1,4 @@
1
- import type { DataRecord, ChannelAccessor, ConstantAccessor, RawValue, CurveName } from 'svelteplot/types';
1
+ import type { DataRecord, ChannelAccessor, ConstantAccessor, RawValue, CurveName } from 'svelteplot/types/index.js';
2
2
  import type { CurveFactory } from 'd3-shape';
3
3
  declare function $$render<Datum extends DataRecord>(): {
4
4
  props: Omit<BaseMarkProps<Datum>, "stroke" | "strokeDasharray" | "strokeWidth"> & {
@@ -9,14 +9,14 @@
9
9
  ChannelAccessor,
10
10
  LinkableMarkProps,
11
11
  BorderRadius
12
- } from 'svelteplot/types';
12
+ } from 'svelteplot/types/index.js';
13
13
  import { wafflePolygon, type WaffleOptions } from './helpers/waffle.js';
14
- import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults';
14
+ import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults.js';
15
15
  import { intervalX, recordizeX, sort, stackX } from 'svelteplot/transforms';
16
- import type { StackOptions } from 'svelteplot/transforms/stack';
16
+ import type { StackOptions } from 'svelteplot/transforms/stack.js';
17
17
  import Mark from '../Mark.svelte';
18
- import { resolveProp, resolveStyles } from 'svelteplot/helpers/resolve';
19
- import { roundedRect } from 'svelteplot/helpers/roundedRect';
18
+ import { resolveProp, resolveStyles } from 'svelteplot/helpers/resolve.js';
19
+ import { roundedRect } from 'svelteplot/helpers/roundedRect.js';
20
20
  import { usePlot } from 'svelteplot/hooks/usePlot.svelte.js';
21
21
 
22
22
  interface WaffleXMarkProps
@@ -1,4 +1,4 @@
1
- import type { DataRecord } from 'svelteplot/types';
1
+ import type { DataRecord } from 'svelteplot/types/index.js';
2
2
  declare function $$render<Datum extends DataRecord>(): {
3
3
  props: any;
4
4
  exports: {};
@@ -14,9 +14,8 @@
14
14
  import { getPlotDefaults } from '../hooks/plotDefaults.js';
15
15
  import { intervalY, recordizeY, sort, stackY } from '../transforms/index.js';
16
16
  import Mark from 'svelteplot/Mark.svelte';
17
- import { resolveProp, resolveStyles } from 'svelteplot/helpers/resolve';
18
- import { roundedRect } from 'svelteplot/helpers/roundedRect';
19
- import GroupMultiple from './helpers/GroupMultiple.svelte';
17
+ import { resolveProp, resolveStyles } from 'svelteplot/helpers/resolve.js';
18
+ import { roundedRect } from 'svelteplot/helpers/roundedRect.js';
20
19
  import { usePlot } from 'svelteplot/hooks/usePlot.svelte.js';
21
20
 
22
21
  interface WaffleYMarkProps
@@ -1,6 +1,6 @@
1
1
  import type { DataRecord, ChannelAccessor, LinkableMarkProps } from '../types/index.js';
2
2
  import { type WaffleOptions } from './helpers/waffle.js';
3
- import { resolveProp } from 'svelteplot/helpers/resolve';
3
+ import { resolveProp } from 'svelteplot/helpers/resolve.js';
4
4
  declare function $$render<Datum extends DataRecord>(): {
5
5
  props: Partial<{
6
6
  filter: import("../types/index.js").ConstantAccessor<boolean, Datum>;
@@ -16,7 +16,7 @@
16
16
 
17
17
  <script lang="ts">
18
18
  import { getContext } from 'svelte';
19
- import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults';
19
+ import { getPlotDefaults } from 'svelteplot/hooks/plotDefaults.js';
20
20
 
21
21
  type MarkerProps = {
22
22
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.14.2-pr-551.1",
3
+ "version": "0.14.2-pr-551.2",
4
4
  "description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
5
5
  "keywords": [
6
6
  "svelte",