@bysages/charts 0.4.4 → 0.5.0
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/index.d.mts +1 -5
- package/dist/index.mjs +1 -2
- package/dist/react/chart.mjs +3 -5
- package/dist/scales/band.mjs +1 -2
- package/dist/scales/linear.mjs +1 -2
- package/dist/scales/ordinal.mjs +1 -2
- package/dist/scales/point.mjs +1 -2
- package/dist/solid/chart.mjs +3 -5
- package/dist/svelte/chart.mjs +3 -5
- package/dist/{theme-n-jm-_5J.mjs → theme-DOooe2UJ.mjs} +1 -2
- package/dist/tooltip.mjs +1 -2
- package/dist/vue/chart.mjs +3 -5
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "@tanstack/charts";
|
|
2
|
-
//#region src/theme.d.ts
|
|
3
2
|
/** Bridge the chart engine's surface variables onto the paper-and-ink
|
|
4
3
|
* tokens: its tooltip dresses like every other popup vessel, and its
|
|
5
4
|
* crosshair and focus takes the primary ink. The marks themselves carry
|
|
@@ -10,8 +9,6 @@ export declare const chartThemeCss: string;
|
|
|
10
9
|
* Idempotent; SSR is a no-op, as is a document the SSR integration
|
|
11
10
|
* already dressed. */
|
|
12
11
|
export declare function injectChartTheme(): void;
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/palette.d.ts
|
|
15
12
|
/** The semantic pigments as paint. Marks take these strings directly —
|
|
16
13
|
* the SVG renderer writes them as paint attributes, and var() inside a
|
|
17
14
|
* paint attribute resolves against the live theme. Ink leads; the fixed
|
|
@@ -33,5 +30,4 @@ export declare const chartHairline = "var(--bs-color-border)";
|
|
|
33
30
|
/** Annotation ink — mean lines, guides, footnotes on the plot. A
|
|
34
31
|
* reference line is a remark, not a mark, so it never borrows a
|
|
35
32
|
* pigment that carries state. */
|
|
36
|
-
export declare const chartMuted = "var(--bs-color-text-tertiary)";
|
|
37
|
-
//#endregion
|
|
33
|
+
export declare const chartMuted = "var(--bs-color-text-tertiary)";
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export { r as chartColors, i as chartHairline, a as chartMuted, o as chartSeriesRange, t as chartThemeCss, n as injectChartTheme } from "./theme-DOooe2UJ.mjs";
|
|
2
2
|
export * from "@tanstack/charts";
|
|
3
|
-
export { chartColors, chartHairline, chartMuted, chartSeriesRange, chartThemeCss, injectChartTheme };
|
package/dist/react/chart.mjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as injectChartTheme } from "../theme-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { n as injectChartTheme } from "../theme-DOooe2UJ.mjs";
|
|
2
|
+
export { Chart } from "@tanstack/charts/react";
|
|
3
|
+
// src/react/chart.ts
|
|
4
4
|
injectChartTheme();
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Chart };
|
package/dist/scales/band.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { scaleBand };
|
|
1
|
+
export { scaleBand } from "@tanstack/charts/scales/band";
|
package/dist/scales/linear.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { scaleLinear };
|
|
1
|
+
export { scaleLinear } from "@tanstack/charts/scales/linear";
|
package/dist/scales/ordinal.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { scaleOrdinal };
|
|
1
|
+
export { scaleOrdinal } from "@tanstack/charts/scales/ordinal";
|
package/dist/scales/point.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { scalePoint };
|
|
1
|
+
export { scalePoint } from "@tanstack/charts/scales/point";
|
package/dist/solid/chart.mjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as injectChartTheme } from "../theme-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { n as injectChartTheme } from "../theme-DOooe2UJ.mjs";
|
|
2
|
+
export { Chart } from "@tanstack/charts/solid";
|
|
3
|
+
// src/solid/chart.ts
|
|
4
4
|
injectChartTheme();
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Chart };
|
package/dist/svelte/chart.mjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as injectChartTheme } from "../theme-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { n as injectChartTheme } from "../theme-DOooe2UJ.mjs";
|
|
2
|
+
export { Chart } from "@tanstack/charts/svelte";
|
|
3
|
+
// src/svelte/chart.ts
|
|
4
4
|
injectChartTheme();
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Chart };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { injectTokens, stylesShipped } from "@bysages/core/styling";
|
|
2
|
-
|
|
2
|
+
// src/palette.ts
|
|
3
3
|
/** The semantic pigments as paint. Marks take these strings directly —
|
|
4
4
|
* the SVG renderer writes them as paint attributes, and var() inside a
|
|
5
5
|
* paint attribute resolves against the live theme. Ink leads; the fixed
|
|
@@ -75,5 +75,4 @@ function injectChartTheme() {
|
|
|
75
75
|
document.head.append(style);
|
|
76
76
|
injected = true;
|
|
77
77
|
}
|
|
78
|
-
//#endregion
|
|
79
78
|
export { chartMuted as a, chartHairline as i, injectChartTheme as n, chartSeriesRange as o, chartColors as r, chartThemeCss as t };
|
package/dist/tooltip.mjs
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { tooltip };
|
|
1
|
+
export { tooltip } from "@tanstack/charts/tooltip";
|
package/dist/vue/chart.mjs
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { n as injectChartTheme } from "../theme-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { n as injectChartTheme } from "../theme-DOooe2UJ.mjs";
|
|
2
|
+
export { Chart } from "@tanstack/charts/vue";
|
|
3
|
+
// src/vue/chart.ts
|
|
4
4
|
injectChartTheme();
|
|
5
|
-
//#endregion
|
|
6
|
-
export { Chart };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bysages/charts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Token-themed charts for By Sages Elements — TanStack Charts dressed in the paper-and-ink system: one token bridge plus thin framework adapters",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"charts",
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@tanstack/charts": "1.1.0",
|
|
79
|
-
"@bysages/core": "0.
|
|
79
|
+
"@bysages/core": "0.5.0"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@sveltejs/vite-plugin-svelte": "7.3.1",
|
|
83
83
|
"rollup-plugin-svelte": "7.2.3",
|
|
84
|
-
"svelte": "5.57.
|
|
84
|
+
"svelte": "5.57.3"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"react": "^18.0.0 || ^19.0.0",
|