Skip to content

Commit 7f90ed2

Browse files
committed
fix imports
1 parent 76dc86b commit 7f90ed2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+73
-135
lines changed

src/lib/Plot.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import { autoScale, autoScaleColor } from './helpers/autoScales.js';
2929
import { namedProjection } from './helpers/autoProjection.js';
3030
import { isObject } from './helpers/index.js';
31-
import { getContext } from 'svelte';
3231
3332
let {
3433
header: userHeader,

src/lib/index.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
export { default as Plot } from './Plot.svelte';
2-
export { default as PlotCore } from '../core/Plot.svelte;
2+
export { default as PlotCore } from './core/Plot.svelte';
33

4-
export * from '.../marks/index.jsexport * from '.././transforms/index.js// helpers
5-
export { formatMonth } from '../h./helpers/formats.js
4+
export * from './marks/index.js';
5+
export * from './transforms/index.js';
6+
7+
// helpers
8+
export { formatMonth } from './helpers/formats.js';

src/lib/marks/LineX.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Line from './Line.svelte';
99
import { recordizeX } from 'svelteplot';
1010
import type { ComponentProps } from 'svelte';
11-
import type { DataRow } from 'svelteplot/types';
11+
import type { DataRow } from 'svelteplot';
1212
1313
let { data = [{} as Datum], ...rest }: LineXMarkProps = $props();
1414

src/lib/marks/LineY.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Line from './Line.svelte';
99
import { recordizeY } from 'svelteplot';
1010
import type { ComponentProps } from 'svelte';
11-
import type { DataRow } from 'svelteplot/types';
11+
import type { DataRow } from 'svelteplot';
1212
1313
let { data = [{} as Datum], ...rest }: LineYMarkProps = $props();
1414

src/lib/marks/helpers/CanvasLayer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { getContext } from 'svelte';
3-
import type { PlotContext } from 'svelteplot/types';
3+
import type { PlotContext } from 'svelteplot';
44
import { devicePixelRatio } from 'svelte/reactivity/window';
55
import { MediaQuery } from 'svelte/reactivity';
66
import type { Attachment } from 'svelte/attachments';

src/lib/marks/helpers/LinearGradientX.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { getContext } from 'svelte';
3-
import type { PlotContext, RawValue } from 'svelteplot/types';
3+
import type { PlotContext, RawValue } from 'svelteplot';
44
55
let {
66
id,

src/lib/marks/helpers/LinearGradientY.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { getContext } from 'svelte';
3-
import type { PlotContext, RawValue } from 'svelteplot/types';
3+
import type { PlotContext, RawValue } from 'svelteplot';
44
55
let {
66
id,

src/lib/marks/helpers/MultilineText.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { resolveProp, resolveStyles } from 'svelteplot/helpers/resolve';
33
import { getContext, type ComponentProps } from 'svelte';
4-
import type { PlotContext, ScaledDataRecord, UsedScales } from 'svelteplot/types';
4+
import type { PlotContext, ScaledDataRecord, UsedScales } from 'svelteplot';
55
import type Text from '../Text.svelte';
66
import { CSS_VAR } from 'svelteplot/constants';
77
import { maybeFromPixel, maybeFromRem } from 'svelteplot/helpers/getBaseStyles';

src/lib/marks/helpers/RectPath.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Helper component for rendering rectangular marks in SVG
3636
UsedScales,
3737
PlotContext,
3838
DataRecord
39-
} from 'svelteplot/types';
39+
} from 'svelteplot';
4040
import { addEventHandlers } from './events';
4141
import { getContext } from 'svelte';
4242
import Anchor from './Anchor.svelte';

src/routes/examples/area/area-x.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</script>
44

55
<script lang="ts">
6-
import { Plot, AreaX } from 'svelteplot/types';
6+
import { Plot, AreaX } from 'svelteplot';
77
import { page } from '$app/state';
88
import type { ExamplesData } from '../types';
99
let { aapl } = $derived(page.data.data) as ExamplesData;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy