diff --git a/package.json b/package.json index 4624bfe..66cefff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@interledger/docs-design-system", - "version": "0.8.0", + "version": "0.9.0", "type": "module", "description": "Shared styles and components used across all Interledger Starlight documentation sites", "exports": { diff --git a/src/components/LargeImg.astro b/src/components/LargeImg.astro index 1bfe103..d7daeb3 100644 --- a/src/components/LargeImg.astro +++ b/src/components/LargeImg.astro @@ -1,5 +1,5 @@ --- -const { src, alt, hasBorder = true } = Astro.props; +const { src, alt, hasBorder = true, viewLabel="View full image" } = Astro.props; ---
{hasBorder ? {alt} : {alt}} @@ -8,7 +8,7 @@ const { src, alt, hasBorder = true } = Astro.props; target='_blank' rel='noopener noreferrer' > - View full image + {viewLabel}
diff --git a/src/components/Mermaid.astro b/src/components/Mermaid.astro index 51e8252..cafba94 100644 --- a/src/components/Mermaid.astro +++ b/src/components/Mermaid.astro @@ -8,7 +8,6 @@ const { graph, hasBorder = false } = Astro.props; {hasBorder ?
 : 
}
 
-