@umami/shiso 1.11.0 → 1.13.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/bin/shiso.mjs +20 -1
- package/dist/chunks/App.js +412 -51
- package/dist/chunks/abnfDiagram-VCTEODGH.js +109 -0
- package/dist/chunks/arc.js +130 -0
- package/dist/chunks/architecture-7GRP2DOG.js +4 -0
- package/dist/chunks/architectureDiagram-5GKGNRK7.js +7466 -0
- package/dist/chunks/array.js +8 -0
- package/dist/chunks/blockDiagram-I7D4REHJ.js +2546 -0
- package/dist/chunks/c4Diagram-7LVT6UL2.js +3654 -0
- package/dist/chunks/channel.js +9 -0
- package/dist/chunks/chunk-2Q5K7J3B.js +21 -0
- package/dist/chunks/chunk-4HAMMTFA.js +6106 -0
- package/dist/chunks/chunk-5VM5RSS4.js +21 -0
- package/dist/chunks/chunk-75Z2AOVW.js +2185 -0
- package/dist/chunks/chunk-DU6HZSFF.js +8729 -0
- package/dist/chunks/chunk-F27PBJKO.js +95 -0
- package/dist/chunks/chunk-FOHPRMQF.js +27162 -0
- package/dist/chunks/chunk-GMAD6QVW.js +2369 -0
- package/dist/chunks/chunk-GVQU2GXP.js +58 -0
- package/dist/chunks/chunk-IMKFNOWR.js +2593 -0
- package/dist/chunks/chunk-JWPE2WC7.js +12 -0
- package/dist/chunks/chunk-L3NEJ4N5.js +420 -0
- package/dist/chunks/chunk-OSK3NFVY.js +1029 -0
- package/dist/chunks/chunk-P2QGCYS3.js +95 -0
- package/dist/chunks/chunk-POPQ4Y6H.js +33 -0
- package/dist/chunks/chunk-PWAF6VOD.js +467 -0
- package/dist/chunks/chunk-SHT3W25Y.js +4813 -0
- package/dist/chunks/chunk-SVP7TREG.js +686 -0
- package/dist/chunks/chunk-TICWLB2K.js +3800 -0
- package/dist/chunks/chunk-XXDRQBXY.js +12 -0
- package/dist/chunks/chunk-Y2CYZVJY.js +15 -0
- package/dist/chunks/classDiagram-ZZMXUADV.js +33 -0
- package/dist/chunks/classDiagram-v2-VYDZK3BY.js +33 -0
- package/dist/chunks/cose-bilkent-JH36ORCC.js +4268 -0
- package/dist/chunks/cynefin-OW5HDTMX.js +4 -0
- package/dist/chunks/cynefinDiagram-5FMLGOSQ.js +482 -0
- package/dist/chunks/cytoscape.esm.js +28282 -0
- package/dist/chunks/dagre-GXQ25YYZ.js +583 -0
- package/dist/chunks/dagre.js +4235 -0
- package/dist/chunks/defaultLocale.js +246 -0
- package/dist/chunks/diagram-S7CK7UJ4.js +402 -0
- package/dist/chunks/diagram-UQ7AKVKN.js +291 -0
- package/dist/chunks/diagram-VSXAHHWV.js +553 -0
- package/dist/chunks/diagram-VX7I27RA.js +798 -0
- package/dist/chunks/diagram-Z3DM3KII.js +186 -0
- package/dist/chunks/dist.js +92 -0
- package/dist/chunks/docs.js +989 -93
- package/dist/chunks/ebnfDiagram-PWID7BFC.js +123 -0
- package/dist/chunks/erDiagram-RLTQ6QDP.js +2295 -0
- package/dist/chunks/eventmodeling-NTZA5JFV.js +4 -0
- package/dist/chunks/flowDiagram-HODETNUW.js +17 -0
- package/dist/chunks/ganttDiagram-EL5Y4UJY.js +3928 -0
- package/dist/chunks/gitGraph-4MIJSDKK.js +4 -0
- package/dist/chunks/gitGraphDiagram-WWUBYQGX.js +1153 -0
- package/dist/chunks/graphlib.js +4194 -0
- package/dist/chunks/info-A6RAGUB7.js +4 -0
- package/dist/chunks/infoDiagram-27XIBGKW.js +25 -0
- package/dist/chunks/init.js +14 -0
- package/dist/chunks/ishikawaDiagram-5VMMS53U.js +971 -0
- package/dist/chunks/journeyDiagram-3NMN7TZE.js +1226 -0
- package/dist/chunks/kanban-definition-UXKFOSKX.js +1241 -0
- package/dist/chunks/katex.js +26463 -0
- package/dist/chunks/line.js +48 -0
- package/dist/chunks/linear.js +391 -0
- package/dist/chunks/mermaid-parser.core.js +754 -0
- package/dist/chunks/mermaid.core.js +4898 -0
- package/dist/chunks/mindmap-definition-YA3MSWOX.js +1309 -0
- package/dist/chunks/ordinal.js +84 -0
- package/dist/chunks/packet-AYTQ26CC.js +4 -0
- package/dist/chunks/path.js +106 -0
- package/dist/chunks/pegDiagram-XKGWAZYB.js +115 -0
- package/dist/chunks/pie-WAS4IAKB.js +4 -0
- package/dist/chunks/pieDiagram-E7YTZNPT.js +297 -0
- package/dist/chunks/quadrantDiagram-AXDQQJYC.js +2234 -0
- package/dist/chunks/radar-RG4KPBEZ.js +4 -0
- package/dist/chunks/railroad-74A4TZTK.js +4 -0
- package/dist/chunks/railroad-abnf-HS5TGJTU.js +4 -0
- package/dist/chunks/railroad-ebnf-LZEXJU2U.js +4 -0
- package/dist/chunks/railroad-peg-WCYAUIDC.js +4 -0
- package/dist/chunks/railroadDiagram-O6MQD6OU.js +89 -0
- package/dist/chunks/requirementDiagram-BXWQKSXE.js +2464 -0
- package/dist/chunks/rough.esm.js +1396 -0
- package/dist/chunks/sankeyDiagram-P5KCCOFB.js +1308 -0
- package/dist/chunks/sequenceDiagram-WJ2MYXX4.js +5445 -0
- package/dist/chunks/sizeCapture-INFHLROL.js +56 -0
- package/dist/chunks/src.js +2653 -0
- package/dist/chunks/stateDiagram-D77RDMKH.js +368 -0
- package/dist/chunks/stateDiagram-v2-MP3YSRHH.js +33 -0
- package/dist/chunks/swimlanes-42K2YHIH.js +6925 -0
- package/dist/chunks/swimlanesDiagram-VR7AAH4N.js +32 -0
- package/dist/chunks/timeline-definition-24CTP7MA.js +1507 -0
- package/dist/chunks/treeView-Q6P3EWNA.js +4 -0
- package/dist/chunks/treemap-WGGIJYW6.js +4 -0
- package/dist/chunks/vennDiagram-4TSXK5OY.js +2803 -0
- package/dist/chunks/wardley-WFR3VGLG.js +4 -0
- package/dist/chunks/wardleyDiagram-VM6X3IG4.js +877 -0
- package/dist/chunks/xychartDiagram-S5SC5T6Z.js +2698 -0
- package/dist/components.js +2 -2
- package/dist/entry-client.js +2 -2
- package/dist/entry-server.js +31 -3
- package/docs.schema.json +90 -0
- package/mdx.config.ts +13 -97
- package/package.json +6 -4
- package/scripts/build-runtime.mjs +1 -0
- package/scripts/check-content.mjs +358 -0
- package/scripts/expand-navigation-globs.mjs +277 -0
- package/scripts/expand-openapi-navigation.mjs +94 -0
- package/scripts/generate-openapi.mjs +117 -0
- package/scripts/generate-search-index.mjs +31 -1
- package/scripts/lib/openapi.mjs +653 -0
- package/scripts/load-docs-config.mjs +52 -6
- package/scripts/load-shiso-config.mjs +45 -3
- package/scripts/prerender.mjs +83 -3
- package/scripts/vite-docs-config.mjs +27 -6
- package/src/App.tsx +0 -1
- package/src/components/CodeBlock.tsx +108 -8
- package/src/components/DocContent.tsx +18 -0
- package/src/components/Docs.tsx +45 -17
- package/src/components/OpenApiOperation.tsx +205 -0
- package/src/components/SideNav.tsx +13 -2
- package/src/components/docs/Changelog.tsx +163 -0
- package/src/components/docs/CodeGroup.tsx +6 -2
- package/src/components/docs/Mermaid.tsx +164 -0
- package/src/components/docs/Panel.tsx +23 -0
- package/src/components/docs/ParamField.tsx +17 -5
- package/src/components/docs/PropertiesTable.tsx +2 -2
- package/src/components/docs/ResponseField.tsx +17 -5
- package/src/components/docs/Tiles.tsx +59 -0
- package/src/components/docs/Tree.tsx +359 -0
- package/src/components/docs/Update.tsx +72 -0
- package/src/components/docs/index.ts +7 -0
- package/src/components/docs/panel-context.tsx +25 -0
- package/src/components/docs/styles.ts +49 -0
- package/src/components/icons/index.ts +4 -0
- package/src/entry-server.tsx +50 -0
- package/src/lib/code-blocks.ts +18 -0
- package/src/lib/code-meta.ts +87 -0
- package/src/lib/docs-config.ts +4 -1
- package/src/lib/openapi.generated.ts +4 -0
- package/src/lib/openapi.ts +63 -0
- package/src/lib/rehype-shiki.ts +213 -0
- package/src/lib/site-model.ts +2 -0
- package/src/lib/types.ts +116 -2
- package/src/styles/global.css +63 -73
- package/types/components.d.ts +79 -0
- package/types/config.d.ts +11 -4
- package/vite.config.ts +49 -3
- package/CHANGELOG.md +0 -171
package/CHANGELOG.md
DELETED
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to `@umami/shiso` are documented here. This project follows
|
|
4
|
-
[Semantic Versioning](https://semver.org/).
|
|
5
|
-
|
|
6
|
-
## Unreleased
|
|
7
|
-
|
|
8
|
-
### Added
|
|
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.
|
|
26
|
-
- Link tabs: a navigation tab may define `href` instead of `groups`/`pages`/
|
|
27
|
-
`dropdowns` to link to a standalone page or external URL from the top
|
|
28
|
-
navigation. Internal hrefs route client-side and highlight when active;
|
|
29
|
-
external URLs open in a new browser tab.
|
|
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
|
-
|
|
44
|
-
## 2.0.0 - 2026-08-21
|
|
45
|
-
|
|
46
|
-
### Breaking
|
|
47
|
-
|
|
48
|
-
- Move project settings (`docsPrefix`, `contentDir`, `siteUrl`, `locale`) from
|
|
49
|
-
the `$shiso` key in docs.json to a new optional `shiso.config.ts` file at the
|
|
50
|
-
project root. `shiso check` now rejects docs.json files that still contain
|
|
51
|
-
`$shiso` with a migration message.
|
|
52
|
-
|
|
53
|
-
### Added
|
|
54
|
-
|
|
55
|
-
- New `@umami/shiso/config` export providing `defineConfig` and the
|
|
56
|
-
`ShisoConfig` type for shiso.config.ts.
|
|
57
|
-
- `shiso.config.ts`, `shiso.config.mjs`, and `shiso.config.js` are supported;
|
|
58
|
-
the file is optional and defaults apply when absent. Config edits (and
|
|
59
|
-
creating the file) hot-reload during development.
|
|
60
|
-
|
|
61
|
-
## 1.1.11 - 2026-08-19
|
|
62
|
-
|
|
63
|
-
### Changed
|
|
64
|
-
|
|
65
|
-
- Remove rounded corners from full-screen images and anchor the close button to
|
|
66
|
-
the viewport's top-right corner.
|
|
67
|
-
- Render the active sidebar page label in bold.
|
|
68
|
-
|
|
69
|
-
## 1.1.10 - 2026-08-19
|
|
70
|
-
|
|
71
|
-
### Added
|
|
72
|
-
|
|
73
|
-
- Add more vertical space around documentation images and open them in an
|
|
74
|
-
accessible full-size viewer when clicked.
|
|
75
|
-
- Support `noZoom` on MDX images and disable zoom automatically for linked
|
|
76
|
-
images.
|
|
77
|
-
|
|
78
|
-
## 1.1.9 - 2026-08-19
|
|
79
|
-
|
|
80
|
-
### Fixed
|
|
81
|
-
|
|
82
|
-
- Stop automatically inverting a shared logo in dark mode so PNG and other
|
|
83
|
-
full-color images render unchanged.
|
|
84
|
-
|
|
85
|
-
## 1.1.8 - 2026-08-19
|
|
86
|
-
|
|
87
|
-
### Changed
|
|
88
|
-
|
|
89
|
-
- Replace the custom and Zinc-derived light and dark grayscale theme tokens with
|
|
90
|
-
exact values from Tailwind's Neutral palette.
|
|
91
|
-
|
|
92
|
-
## 1.1.7 - 2026-08-19
|
|
93
|
-
|
|
94
|
-
### Fixed
|
|
95
|
-
|
|
96
|
-
- Remove the nested callout description's leading paragraph margin so the first
|
|
97
|
-
line of text and icon share the same line box.
|
|
98
|
-
|
|
99
|
-
## 1.1.6 - 2026-08-19
|
|
100
|
-
|
|
101
|
-
### Fixed
|
|
102
|
-
|
|
103
|
-
- Apply Alert's optical SVG offset to wrapped callout icons so their visible
|
|
104
|
-
strokes align with the first line of text.
|
|
105
|
-
|
|
106
|
-
## 1.1.5 - 2026-08-19
|
|
107
|
-
|
|
108
|
-
### Fixed
|
|
109
|
-
|
|
110
|
-
- Align callout icons with the first line of text using a fixed line-height box
|
|
111
|
-
that remains consistent in published production builds.
|
|
112
|
-
- Keep header actions aligned to the right when the current navigation scope
|
|
113
|
-
does not render top-level tabs.
|
|
114
|
-
|
|
115
|
-
## 1.1.3 - 2026-08-18
|
|
116
|
-
|
|
117
|
-
### Fixed
|
|
118
|
-
|
|
119
|
-
- Publish Shiso's browser and server runtime as bundled ESM instead of exposing
|
|
120
|
-
raw framework source to consuming Vite projects.
|
|
121
|
-
- Move `hydrateRoot` into the generated app entry so React DOM is discovered as
|
|
122
|
-
a normal direct app dependency without framework-specific prebundle entries.
|
|
123
|
-
|
|
124
|
-
## 1.1.2 - 2026-08-18
|
|
125
|
-
|
|
126
|
-
### Fixed
|
|
127
|
-
|
|
128
|
-
- Replace the CommonJS-only `classnames` dependency with ESM-capable `clsx` so
|
|
129
|
-
fresh pnpm projects can load Shiso's navigation components during development.
|
|
130
|
-
|
|
131
|
-
## 1.1.1 - 2026-08-18
|
|
132
|
-
|
|
133
|
-
### Fixed
|
|
134
|
-
|
|
135
|
-
- Prebundle Base UI's CommonJS external-store shims so fresh pnpm projects load
|
|
136
|
-
their named exports correctly during development.
|
|
137
|
-
|
|
138
|
-
## 1.0.0 - 2026-08-15
|
|
139
|
-
|
|
140
|
-
### Added
|
|
141
|
-
|
|
142
|
-
- Full multi-version and multi-language navigation, including versions nested
|
|
143
|
-
inside languages and responsive header selectors.
|
|
144
|
-
- Per-scope prerendering, Markdown export, sitemap metadata, document locale,
|
|
145
|
-
text direction, and local search results.
|
|
146
|
-
- A multi-scope integration fixture covering visible and hidden pages,
|
|
147
|
-
versions, languages, redirects, search, and sitemap output.
|
|
148
|
-
- Public exports for the bundled `docs.json` schema.
|
|
149
|
-
|
|
150
|
-
### Changed
|
|
151
|
-
|
|
152
|
-
- Navigation containers now require exactly one non-empty navigation mode, and
|
|
153
|
-
default to the first visible version or language when none is marked.
|
|
154
|
-
- Hidden versions and languages remain buildable and directly reachable while
|
|
155
|
-
staying out of selectors and search.
|
|
156
|
-
- Redirect sources are exact paths; wildcard and parameter patterns are
|
|
157
|
-
rejected during configuration validation.
|
|
158
|
-
- Supported Node.js versions now match Vite: `^20.19.0 || >=22.12.0`.
|
|
159
|
-
|
|
160
|
-
### Fixed
|
|
161
|
-
|
|
162
|
-
- Client-side navigation now updates page metadata, document language, and
|
|
163
|
-
left-to-right or right-to-left text direction.
|
|
164
|
-
|
|
165
|
-
## 0.61.0 - 2026-08-13
|
|
166
|
-
|
|
167
|
-
### Added
|
|
168
|
-
|
|
169
|
-
- Initial package release of the upgradeable Shiso framework.
|
|
170
|
-
- Framework-owned development, validation, build, preview, and prerender commands.
|
|
171
|
-
- Project-local generated caches for search, icons, and last-modified metadata.
|