svelteplot 0.10.3-pr-385.2 → 0.10.3-pr-387.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/marks/Geo.svelte
CHANGED
|
@@ -67,11 +67,13 @@
|
|
|
67
67
|
});
|
|
68
68
|
|
|
69
69
|
const path = $derived(
|
|
70
|
-
callWithProps(
|
|
71
|
-
|
|
70
|
+
callWithProps(
|
|
71
|
+
geoPath,
|
|
72
|
+
[plot.scales.projection],
|
|
73
|
+
options.r
|
|
72
74
|
? { pointRadius: (d) => plot.scales.r.fn(resolveChannel('r', d, options)) }
|
|
73
|
-
: { pointRadius: 3 }
|
|
74
|
-
|
|
75
|
+
: { pointRadius: 3 }
|
|
76
|
+
)
|
|
75
77
|
);
|
|
76
78
|
|
|
77
79
|
const args = $derived(
|
package/dist/transforms/stack.js
CHANGED
|
@@ -153,7 +153,8 @@ function stackXY(byDim, data, channels, options) {
|
|
|
153
153
|
...(typeof channels[byDim] === 'string' && !channels[ORIGINAL_NAME_KEYS[byDim]]
|
|
154
154
|
? { [ORIGINAL_NAME_KEYS[byDim]]: channels[byDim] }
|
|
155
155
|
: {}),
|
|
156
|
-
|
|
156
|
+
[byLow]: S[byLow],
|
|
157
|
+
[byHigh]: S[byHigh]
|
|
157
158
|
};
|
|
158
159
|
}
|
|
159
160
|
return { data, ...channels };
|
package/dist/types/data.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export type ScaledDataRecord<T = Record<string | symbol, RawValue>> = Partial<{
|
|
|
23
23
|
/** the resolved (pre-scaling) channel values */
|
|
24
24
|
resolved: ResolvedDataRecord<T>;
|
|
25
25
|
/** whether this record has valid values for all required channels */
|
|
26
|
-
valid:
|
|
26
|
+
valid: boolean;
|
|
27
27
|
/** the index of this record in the original data array */
|
|
28
28
|
index: number;
|
|
29
29
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelteplot",
|
|
3
|
-
"version": "0.10.3-pr-
|
|
3
|
+
"version": "0.10.3-pr-387.0",
|
|
4
4
|
"description": "A Svelte-native data visualization framework based on the layered grammar of graphics principles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"docs:api:transforms": "node scripts/generate-api.js --transforms && prettier --write .",
|
|
68
68
|
"format": "eslint --fix package.json && prettier --write .",
|
|
69
69
|
"lint": "prettier --check src && eslint src package.json",
|
|
70
|
+
"lint:oxlint": "oxlint --type-aware",
|
|
70
71
|
"lint:types": "tsc --noEmit",
|
|
71
72
|
"prepack": "npx svelte-package",
|
|
72
73
|
"preview": "vite preview",
|
|
@@ -143,6 +144,8 @@
|
|
|
143
144
|
"lru-cache": "^11.2.5",
|
|
144
145
|
"mdast-util-from-markdown": "^2.0.2",
|
|
145
146
|
"mdast-util-gfm": "^3.1.0",
|
|
147
|
+
"oxlint": "^1.48.0",
|
|
148
|
+
"oxlint-tsgolint": "^0.14.0",
|
|
146
149
|
"pixelmatch": "^7.1.0",
|
|
147
150
|
"pngjs": "^7.0.0",
|
|
148
151
|
"prettier": "^3.8.1",
|