@bysages/charts 0.2.3 → 0.3.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 +4 -0
- package/dist/index.mjs +2 -2
- package/dist/react/chart.mjs +1 -1
- package/dist/scales/band.d.mts +2 -0
- package/dist/scales/band.mjs +2 -0
- package/dist/scales/linear.d.mts +2 -0
- package/dist/scales/linear.mjs +2 -0
- package/dist/scales/ordinal.d.mts +2 -0
- package/dist/scales/ordinal.mjs +2 -0
- package/dist/scales/point.d.mts +2 -0
- package/dist/scales/point.mjs +2 -0
- package/dist/solid/chart.mjs +1 -1
- package/dist/svelte/chart.mjs +1 -1
- package/dist/{theme-Qki1v0k8.mjs → theme-CFrCaCRx.mjs} +5 -1
- package/dist/tooltip.d.mts +2 -0
- package/dist/tooltip.mjs +2 -0
- package/dist/vue/chart.mjs +1 -1
- package/package.json +22 -2
package/dist/index.d.mts
CHANGED
|
@@ -30,4 +30,8 @@ export declare const chartColors: {
|
|
|
30
30
|
export declare const chartSeriesRange: string[];
|
|
31
31
|
/** The quiet ink for grids, guides, and secondary marks. */
|
|
32
32
|
export declare const chartHairline = "var(--bs-color-border)";
|
|
33
|
+
/** Annotation ink — mean lines, guides, footnotes on the plot. A
|
|
34
|
+
* reference line is a remark, not a mark, so it never borrows a
|
|
35
|
+
* pigment that carries state. */
|
|
36
|
+
export declare const chartMuted = "var(--bs-color-text-tertiary)";
|
|
33
37
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as chartMuted, i as chartHairline, n as injectChartTheme, o as chartSeriesRange, r as chartColors, t as chartThemeCss } from "./theme-CFrCaCRx.mjs";
|
|
2
2
|
export * from "@tanstack/charts";
|
|
3
|
-
export { chartColors, chartHairline, chartSeriesRange, chartThemeCss, injectChartTheme };
|
|
3
|
+
export { chartColors, chartHairline, chartMuted, chartSeriesRange, chartThemeCss, injectChartTheme };
|
package/dist/react/chart.mjs
CHANGED
package/dist/solid/chart.mjs
CHANGED
package/dist/svelte/chart.mjs
CHANGED
|
@@ -18,6 +18,10 @@ const chartColors = {
|
|
|
18
18
|
const chartSeriesRange = Object.values(chartColors);
|
|
19
19
|
/** The quiet ink for grids, guides, and secondary marks. */
|
|
20
20
|
const chartHairline = "var(--bs-color-border)";
|
|
21
|
+
/** Annotation ink — mean lines, guides, footnotes on the plot. A
|
|
22
|
+
* reference line is a remark, not a mark, so it never borrows a
|
|
23
|
+
* pigment that carries state. */
|
|
24
|
+
const chartMuted = "var(--bs-color-text-tertiary)";
|
|
21
25
|
/** Bridge the chart engine's surface variables onto the paper-and-ink
|
|
22
26
|
* tokens: its tooltip dresses like every other popup vessel, and its
|
|
23
27
|
* crosshair and focus takes the primary ink. The marks themselves carry
|
|
@@ -72,4 +76,4 @@ function injectChartTheme() {
|
|
|
72
76
|
injected = true;
|
|
73
77
|
}
|
|
74
78
|
//#endregion
|
|
75
|
-
export {
|
|
79
|
+
export { chartMuted as a, chartHairline as i, injectChartTheme as n, chartSeriesRange as o, chartColors as r, chartThemeCss as t };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { ChartTooltipExtension, ChartTooltipExtensionContext, ChartTooltipExtensionInstance, ChartTooltipPaintContext, tooltip } from "@tanstack/charts/tooltip";
|
|
2
|
+
export { type ChartTooltipExtension, type ChartTooltipExtensionContext, type ChartTooltipExtensionInstance, type ChartTooltipPaintContext, tooltip };
|
package/dist/tooltip.mjs
ADDED
package/dist/vue/chart.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bysages/charts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.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",
|
|
@@ -36,6 +36,26 @@
|
|
|
36
36
|
"types": "./dist/index.d.mts",
|
|
37
37
|
"import": "./dist/index.mjs"
|
|
38
38
|
},
|
|
39
|
+
"./scales/band": {
|
|
40
|
+
"types": "./dist/scales/band.d.mts",
|
|
41
|
+
"import": "./dist/scales/band.mjs"
|
|
42
|
+
},
|
|
43
|
+
"./scales/linear": {
|
|
44
|
+
"types": "./dist/scales/linear.d.mts",
|
|
45
|
+
"import": "./dist/scales/linear.mjs"
|
|
46
|
+
},
|
|
47
|
+
"./scales/ordinal": {
|
|
48
|
+
"types": "./dist/scales/ordinal.d.mts",
|
|
49
|
+
"import": "./dist/scales/ordinal.mjs"
|
|
50
|
+
},
|
|
51
|
+
"./scales/point": {
|
|
52
|
+
"types": "./dist/scales/point.d.mts",
|
|
53
|
+
"import": "./dist/scales/point.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./tooltip": {
|
|
56
|
+
"types": "./dist/tooltip.d.mts",
|
|
57
|
+
"import": "./dist/tooltip.mjs"
|
|
58
|
+
},
|
|
39
59
|
"./vue": {
|
|
40
60
|
"types": "./dist/vue/chart.d.mts",
|
|
41
61
|
"import": "./dist/vue/chart.mjs"
|
|
@@ -55,7 +75,7 @@
|
|
|
55
75
|
},
|
|
56
76
|
"dependencies": {
|
|
57
77
|
"@tanstack/charts": "0.18.0",
|
|
58
|
-
"@bysages/core": "0.
|
|
78
|
+
"@bysages/core": "0.3.0"
|
|
59
79
|
},
|
|
60
80
|
"devDependencies": {
|
|
61
81
|
"@sveltejs/vite-plugin-svelte": "7.3.1",
|