You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Breaking: Close callbacks report their cause as { via }: MultiSelect on_close({ via }) (escape, tab, shortcut, select, blur, pointer, trigger, disabled) replaces the event payload and on_open takes no argument; Tooltip on_open_change(open, { trigger, via }), Toc's OpenChangeEvent.via and the toast queue's on_close(toast, { via }) follow suit. escape_layer(handler, { consume, while_focused }) replaces register_escape_layer, CommandMenu drops its accidental disabled prop (disable individual actions instead), and a disabled tooltip keeps its trigger's title stripped so the native tooltip stays hidden #475
Breaking:pick_contrast_color and contrast_color pick by WCAG contrast: min_ratio (default 4.5:1) replaces luminance_threshold, the order of choices no longer matters, and a backdrop handles translucent fills. contrast_ratio and parse_color are now exported #474
Breaking:JsonTreeContext replaces collapsed and force_expanded with per-path has_collapsed, has_force_expanded, is_current_match, is_focused and has_selected functions #473
Breaking: Markdown math renders TeX to native MathML via Temml instead of KaTeX HTML. The optional math peer is now temml, KatexOptions becomes TemmlOptions, and apps import temml/dist/Temml-Local.css instead of katex/dist/katex.min.css. Parse errors still throw by default and the TeX source stays in an annotation, so math headings keep their IDs
Breaking: Nav's burger bars and Toc's mobile toggle read --text-color instead of --text, and SubpageGrid reads --text-color-muted, matching every other component. The Nav mobile menu spans the viewport at the burger's inset; set --nav-mobile-inset: 1rem auto for the previous content-hugging menu #471
Breaking: Heading anchors, Toc entries and docs reference links use encodeURI fragments (#fig:plot instead of #fig%3Aplot) via a new fragment_href, so SvelteKit's prerender crawler resolves them; old encoded links still scroll to their target
Add DataTable to svelte-widgets/table, ported from MatterViz's HeatmapTable: multi-column sorting through one bindable sort: { column, dir }[] (a header click cycles first direction, flipped, unsorted; Shift-click adds or removes a column), per-column filters and search, a column picker (visible: false starts hidden), resizable and left/right-pinned columns (pin, stored in column_prefs[id].pinned), drag reorder, pagination or row virtualization, cell-range selection with copy, summary rows and CSV/TSV/JSON/Markdown/LaTeX export. format_number, render_html, column_color, menu_sections and a controls snippet are hooks, so the package gains no dependencies. MatterViz users: --heatmap-* variables are now --table-*, the table class is data-table, pinned cells use pinned, resolve_color_domain is resolve_domain and render_as: 'heatmap' is 'fill'#475
Add the table building blocks underneath it: ColumnPicker, ColumnFilter, cell_range_select, headless compile_filter/filter_rows, and table_to_text (CSV, TSV, Markdown, LaTeX) and table_to_json export #474
Markdown renders mermaid code fences as diagrams with create_markdown({ mermaid: true }) (or a Mermaid config) and the mermaid_diagrams(config) attachment or render_mermaid(root, config); mermaid is a new optional peer. Comment-only frontmatter now throws instead of silently dropping a leading --- divider's content #475
Add Tag, Breadcrumbs, the create_stick_to_bottom attachment for streaming logs and chats, start_polling (svelte-widgets/poll) that pauses on hidden pages and never overlaps async runs, and theme.resolved#474
Add components and helpers upstreamed from MatterViz and the docs sites: ErrorPage, ThemeScript/theme_init_script against theme flashes, EmptyState, LiveMessage, KeyValueList, ControlGroup, GlassChip, TaskStatus, the in_view, anchored_popover and close_before_removal attachments, a /download subpath, strip_html/escape_html utils and a light-dark()/highlight/theme.css#472
Large lists, trees and menus re-run only the rows whose active, selected or focused state changed (10k-option MultiSelect arrow key: 10,006 to 9 reactions; 20k-node JsonTree click: 20,000+ to under 25), CodeEditor re-tokenizes only the edited line, and text search is about 5x faster on long non-ASCII pages #473
resizable no longer forces a style recalc per handle (MatterViz page-load style and layout down about 25%), and unused custom icons tree-shake (a one-icon bundle drops from 52.8 kB to 0.7 kB) #472
Disabling an open MultiSelect or ActionMenu closes it; Dialog and ConfirmDialog block older Escape handlers while open; the Enter confirming an IME candidate in Safari no longer selects or creates; JsonTree renders cyclic values as [Circular]; CodeEditor drag-and-drop and Ctrl+T apply and find reaches matches past the 5000-match cap; and Toc activates the last heading at the page bottom #475
Fix about 30 more bugs, including smart quotes after links and code, JsonTree Enter copying twice and lost focus or selection after edits, ButtonGroup capturing arrow keys in suffix content, header controls re-sorting sortable tables, rowspan headers shifting the sorted column, Sheet not reaching the screen edge and MultiSelect's "Remove all" opening the dropdown #473#474
CodeBlock takes an optional source-file header: a title with optional icon and line_count, a copy button and an actions snippet for links (e.g. GitHub or Overleaf), with labels for its texts. Without them it renders the bare <pre> as before; with a header, class and style apply to the wrapping <figure>. title is now this header rather than the native tooltip attribute. Global CopyButton mode skips code blocks whose figure caption already has a copy button
Add a /theming page generated at build time from every component's CSS custom properties: per-component tables with defaults, the property each variable feeds and notes for runtime-set or derived values, plus shared tokens #471
Markdown renders a line closing every block it opens ({#if a}more{/if}) inside one paragraph, keeps escaped braces literal in autolink text, maps C1 numeric references like the HTML parser and no longer throws on ids with lone surrogates. markdown_vite invalidates both modules of a removed example and keeps Markdown pages out of Vitest's module cache so examples always register #471
Stop automatic paths from undoing host or user state: a DraggablePane keeps a host-set size when it re-anchors, a portalled MultiSelect dropdown gets its ul_options_style back when the portal turns off, a SettingsSearch refresh no longer reopens a group collapsed mid-search, and CommandMenu stays open when Ctrl/Cmd+K reopens it during its close fade
VirtualList.scroll_to_index rejects non-integer indices on empty lists too, and MultiSelect's dark-mode active-row fallback uses the intended blue #471