@umami/shiso 1.6.0 → 1.8.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 +29 -0
- package/dist/chunks/App.js +1856 -20744
- package/dist/chunks/docs.js +18921 -0
- package/dist/components.js +3 -0
- package/dist/entry-client.js +2 -1
- package/dist/entry-server.js +7 -5
- package/docs.schema.json +8 -2
- package/package.json +5 -1
- package/scripts/build-runtime.mjs +1 -0
- package/scripts/check-package.mjs +2 -0
- package/scripts/generate-last-modified.mjs +2 -2
- package/src/components/Header.tsx +20 -4
- package/src/components/TopNav.tsx +18 -0
- package/src/components/docs/Card.tsx +8 -8
- package/src/components/docs/styles.ts +13 -11
- package/src/components/ui/accordion.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +11 -1
- package/src/entry-server.tsx +7 -4
- package/src/lib/content.ts +10 -6
- package/src/lib/docs-config.ts +12 -2
- package/src/lib/site-config.ts +7 -1
- package/src/lib/site-model.ts +1 -0
- package/src/lib/standalone-pages.ts +3 -3
- package/src/lib/types.ts +24 -4
- package/src/pages/StandalonePage.tsx +12 -5
- package/src/styles/global.css +53 -27
- package/types/components.d.ts +217 -0
- package/vite.config.ts +30 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,35 @@
|
|
|
3
3
|
All notable changes to `@umami/shiso` are documented here. This project follows
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## Unreleased
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- Dev server: allow serving raw assets (fonts, images) from Shiso's real
|
|
11
|
+
install location when the framework is linked from outside the project's
|
|
12
|
+
workspace root (`link:`/`file:` installs previously returned 403 for
|
|
13
|
+
bundled font files).
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Public `@umami/shiso/components` entry point for importing Shiso's built-in
|
|
18
|
+
content components from TSX standalone pages and other React modules.
|
|
19
|
+
- TSX standalone pages under `content/pages`. Component pages retain Shiso's
|
|
20
|
+
site chrome, metadata, sitemap, and prerendering behavior while owning their
|
|
21
|
+
layout without the `.docs-markdown` typography wrapper. Raw `.md` copies are
|
|
22
|
+
only generated for Markdown and MDX pages.
|
|
23
|
+
- `not-prose` escape hatch: elements with the `not-prose` class (and their
|
|
24
|
+
descendants) are excluded from `.docs-markdown` typography styles — headings,
|
|
25
|
+
lists, tables, links, and spacing rules — so embedded UI components render
|
|
26
|
+
with their own styles. Guards use `:not(:where(…))` and add no specificity.
|
|
27
|
+
|
|
28
|
+
- Per-page `search: false` frontmatter to hide the header search control and
|
|
29
|
+
disable its keyboard shortcut on selected docs or standalone pages.
|
|
30
|
+
- Link tabs: a navigation tab may define `href` instead of `groups`/`pages`/
|
|
31
|
+
`dropdowns` to link to a standalone page or external URL from the top
|
|
32
|
+
navigation. Internal hrefs route client-side and highlight when active;
|
|
33
|
+
external URLs open in a new browser tab.
|
|
34
|
+
|
|
6
35
|
## 2.0.0 - 2026-08-21
|
|
7
36
|
|
|
8
37
|
### Breaking
|