Skip to content

Releases: zensical/ui

0.0.22

Choose a tag to compare

@github-actions github-actions released this 09 Jul 12:50
Immutable release. Only release title and notes can be modified.
81f6601

Summary

This version fixes a regression introduced in 0.0.21, where search ceased to work.

Changelog

Bug fixes

  • 33d1d54 ui, scripts – copy search bundle to correct integration path (#187)

0.0.21

Choose a tag to compare

@github-actions github-actions released this 08 Jul 17:22
Immutable release. Only release title and notes can be modified.
42b9dd0

Summary

This version improves Pyodide-powered code execution and fixes a few issues around rendered code fences. The min-lines and max-lines options are now correctly recognized, Pyodide output is written more safely, and ANSI color styles are included for markdown-exec.

It also fixes a search crash that could occur with specific queries and switches the Pyodide CDN to unpkg.com.

Changelog

Bug fixes

  • 9398b46 ui, scripts – pyodide fence min-lines and max-lines options not recognized
  • 7d0b1f4 scripts – search crashes with DOMException on specific queries (#181)
  • 1cb0bdf scripts – use pyodide session and min-lines/max-lines data attributes
  • 8f5ee4c scripts – set pyodide's output via Node.textContent
  • c7398c4 classic, modern – provide ANSI colors stylesheet for markdown-exec
  • 27a2896 scripts – switch pyodide CDN to unpkg.com

0.0.20

Choose a tag to compare

@github-actions github-actions released this 05 Jul 14:57
Immutable release. Only release title and notes can be modified.
2bc9dee

Summary

This version adds native support for markdown-exec, allowing executable Python code blocks to integrate directly with the theme in both classic and modern variants.

It also fixes several styling and interaction regressions. Mermaid diagram colors are now applied correctly for sequence section titles, sequence numbers and activations, flow chart arrows, and state diagram arrows. Search filter scrollbars no longer overlap selectable items, code blocks again use the intended horizontal 16px spacing, and code blocks with titles and line numbers now render with the correct rounded borders. In addition, images using data-gallery are now attributed correctly again.

Changelog

Features

  • 63c4491 ui, classic, modern, scripts – add support for markdown-exec

Bug fixes

  • 7640f91 ui, scripts – color for sequence diagram section titles not applied (#148)
  • d589e16 ui, scripts – color for sequence diagram numbers and activations not applied (#148)
  • 4b9abfc ui, scripts – color for flow chart arrows not applied (#148)
  • 7863531 ui, scripts – color for state diagram arrows not applied (#148)
  • ba91eb4 ui, scripts – search filter scrollbars overlay selectable tems (#170)
  • 1890fe0 ui, modern – code blocks not horizontally spaced by 16px
  • 0c5ff18 ui, scripts – images not correctly attributed via data-gallery (#163)
  • ea3f70a ui, classic, modern – code blocks with titles and line numbers have wrong rounded borders (#166)

0.0.19

Choose a tag to compare

@github-actions github-actions released this 21 Jun 18:22
Immutable release. Only release title and notes can be modified.
28a6a29

Summary

This version adds search result excerpts and fixes several navigation and interaction regressions. Search highlighting now ignores single-character tokens, which avoids noisy matches like highlighting every e for queries such as e-mail. Tooltips now include a hover bridge so moving the cursor from the trigger to the tooltip no longer drops the popup across the visual gap.

Dependencies were also updated, including TypeScript 6 and SVGO 4 compatibility adjustments. 83 new icons were added, 2 icons were removed, and 19 icons were modified. The Lucide icon set was updated to version 1.21.0.

Changelog

Features

  • 0baae60 scripts – add excerpts to search results (#159)

Bug fixes

  • 897ac64 ui, scriptsdocument$ should not emit on anchor navigation (#154)
  • ba2d3c6 ui, scripts – omit single character matches from search highlighting (#152)
  • 42bee3a ui, classic, modern – add hover bridge to tooltips for smoother user experience (#144)
  • c5152de ui, scripts – instant navigation doesn't reinitialize GLightbox (#150)

0.0.18

Choose a tag to compare

@github-actions github-actions released this 15 May 10:02
Immutable release. Only release title and notes can be modified.
3bc2404

Summary

This version fixes an issue where GLightbox was downloaded although not enabled, leading to side effects in air-gapped environments.

Changelog

Bug fixes

  • 51c9600 ui, scripts – catch unsuccessful download of GLightbox (#147)
  • b2c73a9 ui, scripts – only download GLightbox if .glightbox is found (#145)

0.0.17

Choose a tag to compare

@github-actions github-actions released this 09 May 14:09
Immutable release. Only release title and notes can be modified.
f03c933

Summary

This version adds sourcing of section titles from Markdown for navigation tabs and breadcrumbs.

Changelog

Features

  • 0d2c0d9 ui, templates – source section title from index.md for breadcrumbs
  • cc746f5 ui, templates – source section title from index.md for tabs navigation

0.0.16

Choose a tag to compare

@github-actions github-actions released this 04 May 15:43
Immutable release. Only release title and notes can be modified.
0336ff5

Summary

This version adds support for sourcing section titles from Markdown files when the title is left empty in the nav setting as defined in the configuration when navigation.indexes is enabled.

Changelog

Features

  • 7f2af3e ui, templates – section title sourced from index.md when empty

Bug fixes

  • 0eb5d6a ui, templates – color palette setting not carried over to 404 page (#138)
  • c10f115 ui, modern – background color in lightbox image container doesn't match light/dark mode

Refactorings

  • 33b8e40 ui, templates – remove typeset branch from nav-item partial

0.0.15

Choose a tag to compare

@github-actions github-actions released this 23 Apr 14:19
Immutable release. Only release title and notes can be modified.
e01d32c

Summary

This version adds native support for GLightbox, a JavaScript lightbox library to add zoom and gallery features to images. If an image is wrapped in a link with the glightbox class attached, it will be automatically integrated into an image gallery and become zoomable.

The next version of Zensical, which will be released shortly after, will include a complementary Markdown Extension for automatically wrapping images in the appropriate markup to enable GLightbox features without requiring manual tagging in Markdown files.

Highlights

  • Add support for GLightbox, a JavaScript lightbox library for zooming and galleries
  • Section titles in the table of contents will render with markup from now on

Changelog

Features

  • f249ed3 ui, templates – render section title with markup in table of contents
  • 92268ca ui, classic, modern, scripts – add native support for GLightbox

Bug fixes

  • 22433cb ui, modern – overflow wrap in table of contents
  • aaa28c7 ui, modern – adjust spacing in table of contents for typeset content
  • 043d843 ui, scripts – paths with : can't be followed from search results (#130)

Refactorings

  • 365d27d ui, classic, modern – remove unused CSS variables

0.0.14

Choose a tag to compare

@github-actions github-actions released this 21 Apr 08:50
Immutable release. Only release title and notes can be modified.
259a512

Summary

This version fixes two small visual regressions in Mermaid.js diagram rendering due to changes in newer versions of Mermaid.js.

Changelog

Bug fixes

  • 4b0b859 ui, scripts – unstyled arrow heads and lines in Mermaid sequence diagrams (#124)

0.0.13

Choose a tag to compare

@github-actions github-actions released this 14 Apr 10:50
Immutable release. Only release title and notes can be modified.
7ebda1e

Summary

This version fixes two bugs when interacting with anchor links in the table of contents, and ensures that the Google Fonts URL is properly encoded.

Changelog

Bug fixes

  • dbec3c4 ui, templates – encode & in Google Fonts URL as & (#121)
  • c2dd0b8 ui, scripts – table of contents requires double click on instant navigation (#117)
  • b4a2a1a ui, scripts – content tab anchor link not working in CJK languages (#115)