@umami/shiso 1.7.0 → 1.9.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/CHANGELOG.md CHANGED
@@ -7,11 +7,40 @@ All notable changes to `@umami/shiso` are documented here. This project follows
7
7
 
8
8
  ### Added
9
9
 
10
+ - `Link` export from `@umami/shiso/components`: a client-side navigation link
11
+ bound to Shiso's router, for TSX standalone pages and other app code.
12
+ Importing `react-router` directly from app code creates a second router
13
+ instance without Shiso's context, so use this instead.
14
+ - Public `@umami/shiso/components` entry point for importing Shiso's built-in
15
+ content components from TSX standalone pages and other React modules.
16
+ - TSX standalone pages under `content/pages`. Component pages retain Shiso's
17
+ site chrome, metadata, sitemap, and prerendering behavior while owning their
18
+ layout without the `.docs-markdown` typography wrapper. Raw `.md` copies are
19
+ only generated for Markdown and MDX pages.
20
+ - `not-prose` escape hatch: elements with the `not-prose` class (and their
21
+ descendants) are excluded from `.docs-markdown` typography styles — headings,
22
+ lists, tables, links, and spacing rules — so embedded UI components render
23
+ with their own styles. Guards use `:not(:where(…))` and add no specificity.
24
+ - Per-page `search: false` frontmatter to hide the header search control and
25
+ disable its keyboard shortcut on selected docs or standalone pages.
10
26
  - Link tabs: a navigation tab may define `href` instead of `groups`/`pages`/
11
27
  `dropdowns` to link to a standalone page or external URL from the top
12
28
  navigation. Internal hrefs route client-side and highlight when active;
13
29
  external URLs open in a new browser tab.
14
30
 
31
+ ### Fixed
32
+
33
+ - Let standalone page content expand through the layout's flex chain so short
34
+ pages keep the footer at the bottom of the viewport.
35
+ - Bundle `@umami/shiso` entry points into the SSR build (`ssr.noExternal`) so
36
+ TSX standalone pages that import `@umami/shiso/components` prerender
37
+ correctly; previously Node hit the unresolved project-time virtual import
38
+ `@/lib/icon-registry.generated` inside the published chunks.
39
+ - Dev server: allow serving raw assets (fonts, images) from Shiso's real
40
+ install location when the framework is linked from outside the project's
41
+ workspace root (`link:`/`file:` installs previously returned 403 for
42
+ bundled font files).
43
+
15
44
  ## 2.0.0 - 2026-08-21
16
45
 
17
46
  ### Breaking