Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ default_install_hook_types: [pre-commit, commit-msg]

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.17
rev: v0.15.19
hooks:
- id: ruff-check
args: [--fix]
Expand Down Expand Up @@ -37,19 +37,13 @@ repos:
hooks:
- id: vp-fmt
name: Format (oxfmt)
entry: npx --package=vite-plus vp fmt --write
types_or: [file]
language: system
pass_filenames: false
- id: vp-lint
name: Lint (oxlint)
entry: npx --package=vite-plus vp lint --fix
entry: npx --package=vite-plus vp check --fix
types_or: [file]
language: system
pass_filenames: false
- id: svelte-check
name: Svelte type check
entry: bash -c "npx svelte-kit sync && npx svelte-check-rs --threshold error --ignore '.claude/**'"
entry: bash -c "npx svelte-kit sync && npx svelte-check-rs --threshold error"
language: system
types_or: [ts, svelte]
pass_filenames: false
Expand All @@ -73,7 +67,7 @@ repos:
- --check-filenames

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.48.0
rev: v0.49.0
hooks:
- id: markdownlint
# MD013: line too long
Expand Down
12 changes: 12 additions & 0 deletions extensions/dash/matterviz_dash_components/typed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,7 @@ def __init__(
legend: Any | None = None,
line_kwargs: Any | None = None,
line_tween: Any | None = None,
marginals: Any | None = None,
pan: Any | None = None,
path_mode: Any | None = None,
point_tween: Any | None = None,
Expand Down Expand Up @@ -1328,6 +1329,8 @@ def __init__(
mv_props["line_kwargs"] = line_kwargs
if line_tween is not None:
mv_props["line_tween"] = line_tween
if marginals is not None:
mv_props["marginals"] = marginals
if pan is not None:
mv_props["pan"] = pan
if path_mode is not None:
Expand Down Expand Up @@ -1414,6 +1417,7 @@ def __init__(
label_placement_config: dict | None = None,
legend: Any | None = None,
line_tween: Any | None = None,
marginals: Any | None = None,
normalize: Any | None = None,
orientation: Any | None = None,
pan: Any | None = None,
Expand Down Expand Up @@ -1476,6 +1480,8 @@ def __init__(
mv_props["legend"] = legend
if line_tween is not None:
mv_props["line_tween"] = line_tween
if marginals is not None:
mv_props["marginals"] = marginals
if normalize is not None:
mv_props["normalize"] = normalize
if orientation is not None:
Expand Down Expand Up @@ -1563,6 +1569,7 @@ def __init__(
label_placement_config: dict | None = None,
legend: Any | None = None,
line_tween: Any | None = None,
marginals: Any | None = None,
pan: Any | None = None,
point_tween: Any | None = None,
ref_lines: list | None = None,
Expand Down Expand Up @@ -1606,6 +1613,8 @@ def __init__(
mv_props["legend"] = legend
if line_tween is not None:
mv_props["line_tween"] = line_tween
if marginals is not None:
mv_props["marginals"] = marginals
if pan is not None:
mv_props["pan"] = pan
if point_tween is not None:
Expand Down Expand Up @@ -1661,6 +1670,7 @@ def __init__(
bins: float | None = None,
data_loader: Any | None = None,
legend: Any | None = None,
marginals: Any | None = None,
mode: Any | None = None,
pan: Any | None = None,
ref_lines: list | None = None,
Expand All @@ -1686,6 +1696,8 @@ def __init__(
mv_props["data_loader"] = data_loader
if legend is not None:
mv_props["legend"] = legend
if marginals is not None:
mv_props["marginals"] = marginals
if mode is not None:
mv_props["mode"] = mode
if pan is not None:
Expand Down
6 changes: 3 additions & 3 deletions extensions/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@
},
"matterviz.box.box.stroke_color": {
"type": "string",
"default": "#000000",
"default": "var(--text-color, black)",
"description": "Box outline color"
},
"matterviz.box.box.border_radius": {
Expand All @@ -1061,7 +1061,7 @@
},
"matterviz.box.whisker.color": {
"type": "string",
"default": "#000000",
"default": "var(--text-color, black)",
"description": "Whisker line color"
},
"matterviz.box.whisker.cap_fraction": {
Expand All @@ -1080,7 +1080,7 @@
},
"matterviz.box.median.color": {
"type": "string",
"default": "#000000",
"default": "var(--text-color, black)",
"description": "Median line color"
},
"matterviz.box.outlier.radius": {
Expand Down
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
},
"dependencies": {
"@spglib/moyo-wasm": "^0.12.0",
"@sveltejs/kit": "2.66.0",
"@sveltejs/kit": "2.67.0",
"@threlte/core": "^8.5.16",
"@threlte/extras": "^9.21.0",
"d3-array": "^3.2.4",
Expand All @@ -202,7 +202,7 @@
"dompurify": "3.4.7",
"fflate": "^0.8.3",
"h5wasm": "^0.10.3",
"js-yaml": "^4.2.0",
"js-yaml": "^5.1.0",
"svelte-multiselect": "^11.7.2",
"three": "^0.184.0"
},
Expand All @@ -222,18 +222,17 @@
"@types/d3-scale-chromatic": "^3.1.0",
"@types/d3-shape": "^3.1.8",
"@types/d3-time-format": "^4.0.3",
"@types/js-yaml": "^4.0.9",
"@types/three": "^0.184.1",
"@typescript/native-preview": "7.0.0-dev.20260618.1",
"@typescript/native-preview": "7.0.0-dev.20260622.1",
"@vitest/coverage-v8": "4.1.9",
"@wooorm/starry-night": "^3.10.0",
"happy-dom": "^20.10.6",
"knip": "^6.17.1",
"knip": "^6.18.0",
"mdsvex": "^0.12.7",
"publint": "^0.3.21",
"rehype-katex": "^7.0.1",
"remark-math": "3.0.1",
"svelte": "^5.56.3",
"svelte": "^5.56.4",
"svelte-check-rs": "0.10.1",
"typescript": "6.0.3",
"vite": "^8.0.16",
Expand Down
Loading
Loading