From 2d54c644b768186e8cef6d2d424e2b40f7c29938 Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Tue, 14 May 2024 15:44:41 -0700 Subject: [ci] release (#1839) Co-authored-by: github-actions[bot] --- .changeset/breezy-cats-taste.md | 5 --- .changeset/brown-crews-argue.md | 5 --- .changeset/cyan-lions-deny.md | 5 --- .changeset/polite-cheetahs-help.md | 5 --- .changeset/wicked-colts-tickle.md | 5 --- examples/basics/package.json | 2 +- examples/tailwind/package.json | 2 +- packages/starlight/CHANGELOG.md | 82 ++++++++++++++++++++++---------------- packages/starlight/package.json | 2 +- pnpm-lock.yaml | 4 +- 10 files changed, 53 insertions(+), 64 deletions(-) delete mode 100644 .changeset/breezy-cats-taste.md delete mode 100644 .changeset/brown-crews-argue.md delete mode 100644 .changeset/cyan-lions-deny.md delete mode 100644 .changeset/polite-cheetahs-help.md delete mode 100644 .changeset/wicked-colts-tickle.md diff --git a/.changeset/breezy-cats-taste.md b/.changeset/breezy-cats-taste.md deleted file mode 100644 index 3f2add68..00000000 --- a/.changeset/breezy-cats-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Adds extra information to the errors thrown by the `` component to help locate misformatted code diff --git a/.changeset/brown-crews-argue.md b/.changeset/brown-crews-argue.md deleted file mode 100644 index 367e45e9..00000000 --- a/.changeset/brown-crews-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Update Vietnamese translation diff --git a/.changeset/cyan-lions-deny.md b/.changeset/cyan-lions-deny.md deleted file mode 100644 index 27e600e7..00000000 --- a/.changeset/cyan-lions-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Adds three new icons: `comment`, `comment-alt`, `heart` diff --git a/.changeset/polite-cheetahs-help.md b/.changeset/polite-cheetahs-help.md deleted file mode 100644 index 450ec379..00000000 --- a/.changeset/polite-cheetahs-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Moves the `href` used in the site title link to Starlight’s route data object. This makes it possible for overrides to change the title link while reusing Starlight’s default component implemenation. diff --git a/.changeset/wicked-colts-tickle.md b/.changeset/wicked-colts-tickle.md deleted file mode 100644 index eeda22a4..00000000 --- a/.changeset/wicked-colts-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Adds 1 new icon: `hackerone` diff --git a/examples/basics/package.json b/examples/basics/package.json index 04d59354..bc7b78a7 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.22.2", + "@astrojs/starlight": "^0.22.3", "astro": "^4.3.5", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 5f967b68..23d53004 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.22.2", + "@astrojs/starlight": "^0.22.3", "@astrojs/starlight-tailwind": "^2.0.2", "@astrojs/tailwind": "^5.1.0", "astro": "^4.3.5", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 6865e5a8..d3f35331 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,19 @@ # @astrojs/starlight +## 0.22.3 + +### Patch Changes + +- [#1838](https://github.com/withastro/starlight/pull/1838) [`9fe84754`](https://github.com/withastro/starlight/commit/9fe847544f1edb85bf5b25cd81db39227814335e) Thanks [@delucis](https://github.com/delucis)! - Adds extra information to the errors thrown by the `` component to help locate misformatted code + +- [#1863](https://github.com/withastro/starlight/pull/1863) [`50be60bb`](https://github.com/withastro/starlight/commit/50be60bbc5cbc42db42e868b9e8f128b4dcbd6a5) Thanks [@torn4dom4n](https://github.com/torn4dom4n)! - Update Vietnamese translation + +- [#1837](https://github.com/withastro/starlight/pull/1837) [`a33a1223`](https://github.com/withastro/starlight/commit/a33a12231772c1dc4b7cc2db3477a6802f3ef53e) Thanks [@delucis](https://github.com/delucis)! - Adds three new icons: `comment`, `comment-alt`, `heart` + +- [#1842](https://github.com/withastro/starlight/pull/1842) [`c7838636`](https://github.com/withastro/starlight/commit/c7838636edb8d60a2422ce76a2db511b9cebbb70) Thanks [@delucis](https://github.com/delucis)! - Moves the `href` used in the site title link to Starlight’s route data object. This makes it possible for overrides to change the title link while reusing Starlight’s default component implemenation. + +- [#1840](https://github.com/withastro/starlight/pull/1840) [`cb85563c`](https://github.com/withastro/starlight/commit/cb85563c9a3d4eb2925ad884e6a4e8698a15381b) Thanks [@MiahaCybersec](https://github.com/MiahaCybersec)! - Adds 1 new icon: `hackerone` + ## 0.22.2 ### Patch Changes @@ -43,7 +57,7 @@ ```css :root { - --sl-line-height: 1.8; + --sl-line-height: 1.8; } ``` @@ -283,7 +297,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -303,14 +317,14 @@ ```css /* Restore vertical spacing to match Starlight v0.15 and below. */ .sl-markdown-content - :not(a, strong, em, del, span, input, code) - + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { - margin-top: 1.5rem; + :not(a, strong, em, del, span, input, code) + + :not(a, strong, em, del, span, input, code, :where(.not-content *)) { + margin-top: 1.5rem; } .sl-markdown-content - :not(h1, h2, h3, h4, h5, h6) - + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { - margin-top: 2.5rem; + :not(h1, h2, h3, h4, h5, h6) + + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) { + margin-top: 2.5rem; } ``` @@ -322,9 +336,9 @@ starlight-toc a[aria-current='true'], starlight-toc a[aria-current='true']:hover, starlight-toc a[aria-current='true']:focus { - font-weight: 600; - color: var(--sl-color-text-invert); - background-color: var(--sl-color-text-accent); + font-weight: 600; + color: var(--sl-color-text-invert); + background-color: var(--sl-color-text-accent); } ``` @@ -397,14 +411,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, - - integrations: [ - starlight({ - // ... - }), - ], + // Disable link prefetching: + prefetch: false, + + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -461,12 +475,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -814,16 +828,16 @@ ```css :root { - --sl-hue-accent: 234; - --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); - --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); - --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); + --sl-hue-accent: 234; + --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%); + --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%); } :root[data-theme='light'] { - --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); - --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); - --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); + --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%); + --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%); + --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%); } ``` @@ -1202,8 +1216,8 @@ ```json { - "search.label": "Suchen", - "search.shortcutLabel": "(Drücke / zum Suchen)" + "search.label": "Suchen", + "search.shortcutLabel": "(Drücke / zum Suchen)" } ``` diff --git a/packages/starlight/package.json b/packages/starlight/package.json index 2e503cf8..8f058c7d 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.22.2", + "version": "0.22.3", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97c6b646..b199e25c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -73,7 +73,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.22.2 + specifier: ^0.22.3 version: link:../../packages/starlight astro: specifier: ^4.3.5 @@ -85,7 +85,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.22.2 + specifier: ^0.22.3 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.2 -- cgit