Skip to content

v1.2.0

Latest

Choose a tag to compare

@janosh janosh released this 30 Jul 16:44

30 July 2026

  • Add three accessible components: Sheet for portalled edge panels, snippet-driven Tabs with automatic/manual activation and Accordion with single/multiple expansion
  • Add file_drop attachment with accept filtering, directory expansion and explicit drop errors
  • Add hover/focus triggers and open/close delays to Popover
  • Add rich snippet bodies and validated ask_prompt() requests to the queued dialog API
  • Extract headless theme helpers (apply_theme_mode, resolve_theme_mode, system_preference, shared theme state) to svelte-widgets/theme, so CommandMenu / PageSearch actions can set the theme without duplicating ThemeToggle's localStorage + data-theme logic, and the toggle icon stays in sync
  • Add svelte-widgets/katex with katex_preprocess(), a before/after preprocessor pair that hides rendered KaTeX behind collision-safe placeholders around mdsvex so markdown cannot mangle the math HTML
  • Drive draggable / resizable with pointer events (pointerId filtering, pointercancel, setPointerCapture) so touch works and a gesture over an iframe or stolen focus still ends cleanly; resize hit-testing is now edge strips that cover the border box
  • Harden dismiss_on: 'release': ignore clicks whose primary press started inside, and add backdrop_dismiss for modal ::backdrop vs padding. Wire dismiss_on through MultiSelect / Popover / DraggablePane (pane defaults to release, plus an element-only inside prop)
  • Add FullscreenButton placement="corner" and optional per-page icons on SubpageGrid
  • Make text search match NFC/NFD-equivalent Unicode and skip hidden form-control text
  • Breaking: Unify build-time heading IDs, runtime heading anchors and Toc on the same Unicode-preserving slugger and collision allocator, and make heading parsing tolerate > inside quoted attributes while ignoring comments and code/script/style containers. This changes generated IDs containing punctuation or non-ASCII text and changes duplicate suffixes from the old Toc slugger
  • Document every headless subpath and attachment, including the lower-level backdrop and outside-press dismissal primitives

Full Changelog: v1.1.0...v1.2.0