@umami/shiso 1.1.5 → 1.1.6

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
@@ -3,6 +3,13 @@
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.6 - 2026-08-19
7
+
8
+ ### Fixed
9
+
10
+ - Apply Alert's optical SVG offset to wrapped callout icons so their visible
11
+ strokes align with the first line of text.
12
+
6
13
  ## 1.1.5 - 2026-08-19
7
14
 
8
15
  ### Fixed
@@ -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: "flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4",
10982
+ calloutIcon: "flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4 [&_svg]:translate-y-0.5",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umami/shiso",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Open-source documentation framework for Markdown and MDX sites.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,8 @@ 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: 'flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4',
14
+ calloutIcon:
15
+ 'flex h-6 w-5 shrink-0 items-center justify-center [&_svg]:block [&_svg]:size-4 [&_svg]:translate-y-0.5',
15
16
  calloutBody:
16
17
  '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',
17
18
  calloutTitle: 'font-semibold leading-6',