svelteplot 0.3.5-pr-121.8 → 0.3.5-pr-121.9

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.
@@ -22,7 +22,7 @@
22
22
 
23
23
  import Mark from '../Mark.svelte';
24
24
  import { getContext } from 'svelte';
25
- import { stackX, recordizeX, intervalX, sort } from '..';
25
+ import { stackX, recordizeX, intervalX, sort } from '../index.js';
26
26
 
27
27
  import type { StackOptions } from '../transforms/stack.js';
28
28
  import type { DataRow } from '../types/index.js';
@@ -23,7 +23,7 @@
23
23
 
24
24
  import Mark from '../Mark.svelte';
25
25
  import { getContext } from 'svelte';
26
- import { intervalY, stackY, recordizeY, sort } from '..';
26
+ import { intervalY, stackY, recordizeY, sort } from '../index.js';
27
27
 
28
28
  import type { StackOptions } from '../transforms/stack.js';
29
29
  import GroupMultiple from './helpers/GroupMultiple.svelte';
@@ -3,7 +3,7 @@
3
3
  line representing a moving average and an area representing volatility as a band
4
4
  -->
5
5
  <script lang="ts" generics="Datum extends DataRecord">
6
- import { Area, Line, bollingerX, recordizeX } from '..';
6
+ import { Area, Line, bollingerX, recordizeX } from '../index.js';
7
7
  import type {
8
8
  BaseMarkProps,
9
9
  ChannelAccessor,
@@ -3,7 +3,7 @@
3
3
  line representing a moving average and an area representing volatility as a band
4
4
  -->
5
5
  <script lang="ts" generics="Datum extends DataRecord">
6
- import { Area, Line, bollingerY, recordizeY } from '..';
6
+ import { Area, Line, bollingerY, recordizeY } from '../index.js';
7
7
  import type {
8
8
  BaseMarkProps,
9
9
  ChannelAccessor,
@@ -5,7 +5,7 @@
5
5
  <script lang="ts">
6
6
  interface BoxXMarkProps extends ComponentProps<typeof BoxY> {}
7
7
  import GroupMultiple from './helpers/GroupMultiple.svelte';
8
- import { BarX, TickX, RuleY, Dot, groupY } from '..';
8
+ import { BarX, TickX, RuleY, Dot, groupY } from '../index.js';
9
9
  import { resolveChannel } from '../helpers/resolve.js';
10
10
  import { getContext, type ComponentProps } from 'svelte';
11
11
  import type { PlotDefaults } from '../types/index.js';
@@ -29,7 +29,7 @@
29
29
  }
30
30
  import GroupMultiple from './helpers/GroupMultiple.svelte';
31
31
  import type { BaseMarkProps, ChannelAccessor, DataRecord } from '../types/index.js';
32
- import { groupX, BarY, TickY, RuleX, Dot } from '..';
32
+ import { groupX, BarY, TickY, RuleX, Dot } from '../index.js';
33
33
  import { resolveChannel } from '../helpers/resolve.js';
34
34
  import { getContext } from 'svelte';
35
35
  import type { PlotDefaults } from '../types/index.js';
@@ -23,7 +23,7 @@
23
23
  } from '../types/index.js';
24
24
  import Mark from '../Mark.svelte';
25
25
  import { getContext } from 'svelte';
26
- import { recordizeY, sort } from '..';
26
+ import { recordizeY, sort } from '../index.js';
27
27
  import { resolveChannel } from '../helpers/resolve.js';
28
28
 
29
29
  import { isValid } from '../helpers/isValid.js';
@@ -4,7 +4,7 @@
4
4
  -->
5
5
  <script lang="ts">
6
6
  import Cell from './Cell.svelte';
7
- import { recordizeY } from '..';
7
+ import { recordizeY } from '../index.js';
8
8
  import type { ComponentProps } from 'svelte';
9
9
  import type { TransformArgsRow } from '../types/index.js';
10
10
 
@@ -4,7 +4,7 @@
4
4
  -->
5
5
  <script lang="ts">
6
6
  import Cell from './Cell.svelte';
7
- import { recordizeX } from '..';
7
+ import { recordizeX } from '../index.js';
8
8
  import type { ComponentProps } from 'svelte';
9
9
  import type { TransformArgsRow } from '../types/index.js';
10
10
 
@@ -25,7 +25,7 @@
25
25
  import { resolveProp, resolveStyles } from '../helpers/resolve.js';
26
26
  import { maybeSymbol } from '../helpers/symbols.js';
27
27
  import { symbol as d3Symbol } from 'd3-shape';
28
- import { sort } from '..';
28
+ import { sort } from '../index.js';
29
29
  import Mark from '../Mark.svelte';
30
30
  import DotCanvas from './helpers/DotCanvas.svelte';
31
31
  import { maybeData, isValid } from '../helpers/index.js';
@@ -6,7 +6,7 @@
6
6
  data: Datum[];
7
7
  }
8
8
  import Dot from './Dot.svelte';
9
- import { recordizeX } from '..';
9
+ import { recordizeX } from '../index.js';
10
10
  import type { DataRow } from '../types/index.js';
11
11
  import type { ComponentProps } from 'svelte';
12
12
 
@@ -6,7 +6,7 @@
6
6
  data: Datum[];
7
7
  }
8
8
  import Dot from './Dot.svelte';
9
- import { recordizeY } from '..';
9
+ import { recordizeY } from '../index.js';
10
10
  import type { DataRow } from '../types/index.js';
11
11
  import type { ComponentProps } from 'svelte';
12
12
 
@@ -6,9 +6,9 @@
6
6
  data: Datum[];
7
7
  }
8
8
  import Line from './Line.svelte';
9
- import { recordizeX } from '..';
9
+ import { recordizeX } from '../index.js';
10
10
  import type { ComponentProps } from 'svelte';
11
- import type { DataRow } from '..';
11
+ import type { DataRow } from '../index.js';
12
12
 
13
13
  let { data = [{} as Datum], ...rest }: LineXMarkProps = $props();
14
14
 
@@ -1,5 +1,5 @@
1
- import { recordizeX } from '..';
2
- import type { DataRow } from '..';
1
+ import { recordizeX } from '../index.js';
2
+ import type { DataRow } from '../index.js';
3
3
  declare class __sveltets_Render<Datum extends DataRow> {
4
4
  props(): Omit<import("../types").MarkerOptions & Partial<{
5
5
  filter?: import("../types").ConstantAccessor<boolean, import("../types").DataRecord>;
@@ -6,9 +6,9 @@
6
6
  data: Datum[];
7
7
  }
8
8
  import Line from './Line.svelte';
9
- import { recordizeY } from '..';
9
+ import { recordizeY } from '../index.js';
10
10
  import type { ComponentProps } from 'svelte';
11
- import type { DataRow } from '..';
11
+ import type { DataRow } from '../index.js';
12
12
 
13
13
  let { data = [{} as Datum], ...rest }: LineYMarkProps = $props();
14
14
 
@@ -1,5 +1,5 @@
1
- import { recordizeY } from '..';
2
- import type { DataRow } from '..';
1
+ import { recordizeY } from '../index.js';
2
+ import type { DataRow } from '../index.js';
3
3
  declare class __sveltets_Render<Datum extends DataRow> {
4
4
  props(): Omit<import("../types").MarkerOptions & Partial<{
5
5
  filter?: import("../types").ConstantAccessor<boolean, import("../types").DataRecord>;
@@ -19,7 +19,7 @@
19
19
  }
20
20
  import Mark from '../Mark.svelte';
21
21
  import { getContext } from 'svelte';
22
- import { intervalX, intervalY } from '..';
22
+ import { intervalX, intervalY } from '../index.js';
23
23
  import type {
24
24
  PlotContext,
25
25
  DataRecord,
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  import Rect from './Rect.svelte';
11
- import { intervalY, stackX, recordizeX } from '..';
11
+ import { intervalY, stackX, recordizeX } from '../index.js';
12
12
  import type { DataRecord, PlotContext, PlotDefaults } from '../types/index.js';
13
13
  import { getContext, type ComponentProps } from 'svelte';
14
14
  import type { StackOptions } from '../transforms/stack.js';
@@ -6,7 +6,7 @@
6
6
  stack?: Partial<StackOptions>;
7
7
  }
8
8
  import Rect from './Rect.svelte';
9
- import { intervalX, stackY, recordizeY } from '..';
9
+ import { intervalX, stackY, recordizeY } from '../index.js';
10
10
  import type { DataRecord, PlotContext, PlotDefaults } from '../types/index.js';
11
11
  import { getContext, type ComponentProps } from 'svelte';
12
12
  import type { StackOptions } from '../transforms/stack.js';
@@ -55,7 +55,7 @@
55
55
  } from '../types/index.js';
56
56
  import { resolveProp, resolveStyles } from '../helpers/resolve.js';
57
57
  import Mark from '../Mark.svelte';
58
- import { sort } from '..';
58
+ import { sort } from '../index.js';
59
59
  import Anchor from './helpers/Anchor.svelte';
60
60
 
61
61
  import MultilineText from './helpers/MultilineText.svelte';
@@ -33,7 +33,7 @@
33
33
  PlotDefaults,
34
34
  ConstantAccessor
35
35
  } from '../types/index.js';
36
- import { recordizeX } from '..';
36
+ import { recordizeX } from '../index.js';
37
37
  import { projectX, projectY } from '../helpers/scales.js';
38
38
  import { isValid } from '../helpers/isValid.js';
39
39
  import { testFilter, parseInset } from '../helpers/index.js';
@@ -32,7 +32,7 @@
32
32
  ConstantAccessor,
33
33
  PlotDefaults
34
34
  } from '../types/index.js';
35
- import { recordizeY } from '..';
35
+ import { recordizeY } from '../index.js';
36
36
  import { projectX, projectY } from '../helpers/scales.js';
37
37
  import { isValid } from '../helpers/isValid.js';
38
38
  import { testFilter, parseInset } from '../helpers/index.js';
@@ -41,7 +41,7 @@
41
41
  import { pathRound as path } from 'd3-path';
42
42
 
43
43
  import { resolveChannel, resolveProp, resolveStyles } from '../helpers/resolve.js';
44
- import { sort } from '..';
44
+ import { sort } from '../index.js';
45
45
  import Mark from '../Mark.svelte';
46
46
  //import DotCanvas from './helpers/DotCanvas.svelte';
47
47
  import { maybeData, testFilter, isValid } from '../helpers/index.js';
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from 'svelte';
3
- import type { PlotContext } from '../..';
3
+ import type { PlotContext } from '../../index.js';
4
4
  import { devicePixelRatio } from 'svelte/reactivity/window';
5
5
  import { MediaQuery } from 'svelte/reactivity';
6
6
  import type { Attachment } from 'svelte/attachments';
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from 'svelte';
3
- import type { PlotContext, RawValue } from '../..';
3
+ import type { PlotContext, RawValue } from '../../index.js';
4
4
 
5
5
  let {
6
6
  id,
@@ -1,4 +1,4 @@
1
- import type { RawValue } from '../..';
1
+ import type { RawValue } from '../../index.js';
2
2
  type $$ComponentProps = {
3
3
  id: string;
4
4
  stops: {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from 'svelte';
3
- import type { PlotContext, RawValue } from '../..';
3
+ import type { PlotContext, RawValue } from '../../index.js';
4
4
 
5
5
  let {
6
6
  id,
@@ -1,4 +1,4 @@
1
- import type { RawValue } from '../..';
1
+ import type { RawValue } from '../../index.js';
2
2
  type $$ComponentProps = {
3
3
  id: string;
4
4
  stops: {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { resolveProp, resolveStyles } from '../../helpers/resolve';
3
3
  import { getContext, type ComponentProps } from 'svelte';
4
- import type { PlotContext, ScaledDataRecord, UsedScales } from '../..';
4
+ import type { PlotContext, ScaledDataRecord, UsedScales } from '../../index.js';
5
5
  import type Text from '../Text.svelte';
6
6
  import { CSS_VAR } from '../../constants';
7
7
  import { maybeFromPixel, maybeFromRem } from '../../helpers/getBaseStyles';
@@ -1,5 +1,5 @@
1
1
  import { type ComponentProps } from 'svelte';
2
- import type { ScaledDataRecord, UsedScales } from '../..';
2
+ import type { ScaledDataRecord, UsedScales } from '../../index.js';
3
3
  import type Text from '../Text.svelte';
4
4
  type $$ComponentProps = {
5
5
  textLines: string[];
@@ -36,7 +36,7 @@ Helper component for rendering rectangular marks in SVG
36
36
  UsedScales,
37
37
  PlotContext,
38
38
  DataRecord
39
- } from '../..';
39
+ } from '../../index.js';
40
40
  import { addEventHandlers } from './events.js';
41
41
  import { getContext } from 'svelte';
42
42
  import Anchor from './Anchor.svelte';
@@ -1,4 +1,4 @@
1
- import type { BaseMarkProps, BaseRectMarkProps, ScaledDataRecord, UsedScales, DataRecord } from '../..';
1
+ import type { BaseMarkProps, BaseRectMarkProps, ScaledDataRecord, UsedScales, DataRecord } from '../../index.js';
2
2
  declare class __sveltets_Render<Datum extends DataRecord> {
3
3
  props(): {
4
4
  datum: ScaledDataRecord<Datum_1>;
@@ -33,7 +33,7 @@
33
33
 
34
34
  <script lang="ts">
35
35
  import { getContext } from 'svelte';
36
- import { Line, Area } from '../..';
36
+ import { Line, Area } from '../../index.js';
37
37
 
38
38
  import {
39
39
  regressionLinear,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelteplot",
3
- "version": "0.3.5-pr-121.8",
3
+ "version": "0.3.5-pr-121.9",
4
4
  "license": "ISC",
5
5
  "author": {
6
6
  "name": "Gregor Aisch",