From 6104e6f0474edac6b0be48e858174ce2f0b162d4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 6 Feb 2024 14:54:27 +0000 Subject: [PATCH] [ci] release --- .changeset/big-pots-destroy.md | 5 --- .changeset/four-fishes-clean.md | 5 --- .changeset/sharp-cows-buy.md | 5 --- examples/basics/package.json | 2 +- examples/tailwind/package.json | 2 +- packages/starlight/CHANGELOG.md | 76 +++++++++++++++++++-------------- packages/starlight/package.json | 2 +- pnpm-lock.yaml | 4 +- 8 files changed, 48 insertions(+), 53 deletions(-) delete mode 100644 .changeset/big-pots-destroy.md delete mode 100644 .changeset/four-fishes-clean.md delete mode 100644 .changeset/sharp-cows-buy.md diff --git a/.changeset/big-pots-destroy.md b/.changeset/big-pots-destroy.md deleted file mode 100644 index f305bf93629..00000000000 --- a/.changeset/big-pots-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Improves the table of contents title translation in Simplified Chinese diff --git a/.changeset/four-fishes-clean.md b/.changeset/four-fishes-clean.md deleted file mode 100644 index 58cfbac1e92..00000000000 --- a/.changeset/four-fishes-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes overflow of very long site titles on narrow viewports diff --git a/.changeset/sharp-cows-buy.md b/.changeset/sharp-cows-buy.md deleted file mode 100644 index 6f5ead13666..00000000000 --- a/.changeset/sharp-cows-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes a bug where table of contents highlighting could break given very specific combinations of content and viewport size diff --git a/examples/basics/package.json b/examples/basics/package.json index f3ab491bb49..9dfb4231617 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.17.2", + "@astrojs/starlight": "^0.17.3", "astro": "^4.2.1", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index a4181446abc..1c4fb6d59a6 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.17.2", + "@astrojs/starlight": "^0.17.3", "@astrojs/starlight-tailwind": "^2.0.1", "@astrojs/tailwind": "^5.1.0", "astro": "^4.2.1", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 44e4fd385f3..f966927ed5f 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,15 @@ # @astrojs/starlight +## 0.17.3 + +### Patch Changes + +- [#1461](https://github.com/withastro/starlight/pull/1461) [`2e17880`](https://github.com/withastro/starlight/commit/2e17880957d1aae2a84c77500afa9b66e5292a6a) Thanks [@liruifengv](https://github.com/liruifengv)! - Improves the table of contents title translation in Simplified Chinese + +- [#1462](https://github.com/withastro/starlight/pull/1462) [`4741ccc`](https://github.com/withastro/starlight/commit/4741cccc8adbef500bcaf95416a1c61a90761c06) Thanks [@delucis](https://github.com/delucis)! - Fixes overflow of very long site titles on narrow viewports + +- [#1459](https://github.com/withastro/starlight/pull/1459) [`9a8e0ec`](https://github.com/withastro/starlight/commit/9a8e0ec59cba0e088512ea9b6d17224085f3a178) Thanks [@delucis](https://github.com/delucis)! - Fixes a bug where table of contents highlighting could break given very specific combinations of content and viewport size + ## 0.17.2 ### Patch Changes @@ -48,7 +58,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -68,14 +78,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; } ``` @@ -87,9 +97,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); } ``` @@ -162,14 +172,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, - - integrations: [ - starlight({ - // ... - }), - ], + // Disable link prefetching: + prefetch: false, + + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -226,12 +236,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -579,16 +589,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%); } ``` @@ -967,8 +977,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 5b7292fb828..cb6fe65f91c 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.17.2", + "version": "0.17.3", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 846b64ab4cc..a21cdfa6e5e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,7 +85,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.17.2 + specifier: ^0.17.3 version: link:../../packages/starlight astro: specifier: ^4.2.1 @@ -97,7 +97,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.17.2 + specifier: ^0.17.3 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.1