@umami/shiso 1.1.4 → 1.1.5
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 +9 -0
- package/README.md +1 -1
- package/dist/chunks/App.js +8 -5
- package/package.json +1 -1
- package/src/components/Header.tsx +3 -1
- package/src/components/docs/styles.ts +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to `@umami/shiso` are documented here. This project follows
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## 1.1.5 - 2026-08-19
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
|
|
10
|
+
- Align callout icons with the first line of text using a fixed line-height box
|
|
11
|
+
that remains consistent in published production builds.
|
|
12
|
+
- Keep header actions aligned to the right when the current navigation scope
|
|
13
|
+
does not render top-level tabs.
|
|
14
|
+
|
|
6
15
|
## 1.1.3 - 2026-08-18
|
|
7
16
|
|
|
8
17
|
### Fixed
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Shiso is an open-source documentation framework for Markdown and MDX sites.
|
|
4
4
|
|
|
5
|
-
Create a project with `pnpm create
|
|
5
|
+
Create a project with `pnpm dlx create-shiso-app@latest`, then use the framework
|
|
6
6
|
commands from that project:
|
|
7
7
|
|
|
8
8
|
```bash
|
package/dist/chunks/App.js
CHANGED
|
@@ -10979,7 +10979,7 @@ const styles = {
|
|
|
10979
10979
|
accordionContent: "px-4 pb-4 text-base leading-7",
|
|
10980
10980
|
expandableTrigger: "items-center px-4 py-3 text-sm font-normal text-foreground hover:no-underline",
|
|
10981
10981
|
callout: "my-4 flex items-start gap-3 rounded-lg border px-3 py-2.5 text-sm leading-6",
|
|
10982
|
-
calloutIcon: "
|
|
10982
|
+
calloutIcon: "flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4",
|
|
10983
10983
|
calloutBody: "flex min-w-0 flex-1 flex-col gap-[0.35rem] [&>:first-child]:mt-0 [&>:last-child]:mb-0 [&_:where(p,ul,ol)]:my-[0.35rem] [&>:where(p,ul,ol):first-child]:mt-0 [&>:where(p,ul,ol):last-child]:mb-0",
|
|
10984
10984
|
calloutTitle: "font-semibold leading-6",
|
|
10985
10985
|
note: "border-border bg-muted/50 text-foreground",
|
|
@@ -26238,10 +26238,13 @@ function Header({ site }) {
|
|
|
26238
26238
|
children: [/* @__PURE__ */ jsx(VersionSwitcher, {}), /* @__PURE__ */ jsx(LanguageSwitcher, {})]
|
|
26239
26239
|
})]
|
|
26240
26240
|
}),
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26241
|
+
/* @__PURE__ */ jsx("div", {
|
|
26242
|
+
className: "h-full min-w-0 justify-self-center",
|
|
26243
|
+
children: docs.showTabs ? /* @__PURE__ */ jsx(TopNav, {
|
|
26244
|
+
docs,
|
|
26245
|
+
label: labels.sections
|
|
26246
|
+
}) : null
|
|
26247
|
+
}),
|
|
26245
26248
|
/* @__PURE__ */ jsxs("div", {
|
|
26246
26249
|
className: "flex min-w-0 items-center gap-2 justify-self-end",
|
|
26247
26250
|
children: [
|
package/package.json
CHANGED
|
@@ -67,7 +67,9 @@ export function Header({ site }: { site: SiteModel }) {
|
|
|
67
67
|
<LanguageSwitcher />
|
|
68
68
|
</div>
|
|
69
69
|
</div>
|
|
70
|
-
|
|
70
|
+
<div className="h-full min-w-0 justify-self-center">
|
|
71
|
+
{docs.showTabs ? <TopNav docs={docs} label={labels.sections} /> : null}
|
|
72
|
+
</div>
|
|
71
73
|
<div className="flex min-w-0 items-center gap-2 justify-self-end">
|
|
72
74
|
<Search config={search} labels={labels} />
|
|
73
75
|
{navbar?.links.map(link => (
|
|
@@ -11,8 +11,7 @@ export const styles = {
|
|
|
11
11
|
'items-center px-4 py-3 text-sm font-normal text-foreground hover:no-underline',
|
|
12
12
|
|
|
13
13
|
callout: 'my-4 flex items-start gap-3 rounded-lg border px-3 py-2.5 text-sm leading-6',
|
|
14
|
-
calloutIcon:
|
|
15
|
-
'mt-[calc((1.5em-1.25rem)/2)] inline-flex size-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4',
|
|
14
|
+
calloutIcon: 'flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4',
|
|
16
15
|
calloutBody:
|
|
17
16
|
'flex min-w-0 flex-1 flex-col gap-[0.35rem] [&>:first-child]:mt-0 [&>:last-child]:mb-0 [&_:where(p,ul,ol)]:my-[0.35rem] [&>:where(p,ul,ol):first-child]:mt-0 [&>:where(p,ul,ol):last-child]:mb-0',
|
|
18
17
|
calloutTitle: 'font-semibold leading-6',
|