diff options
author | Houston (Bot) | 2024-02-06 07:28:53 -0800 |
---|---|---|
committer | GitHub | 2024-02-06 16:28:53 +0100 |
commit | 8d31167654a053f850dfb3ecc6eef7b8bfc9f991 (patch) | |
tree | 04ed67a6860ad9cf2c63a61d01b9285c103a9895 | |
parent | 8c88642875e8344396074a780e28fb0860b249f8 (diff) | |
download | IT.starlight-8d31167654a053f850dfb3ecc6eef7b8bfc9f991.tar.gz IT.starlight-8d31167654a053f850dfb3ecc6eef7b8bfc9f991.tar.bz2 IT.starlight-8d31167654a053f850dfb3ecc6eef7b8bfc9f991.zip |
[ci] release (#1460)@astrojs/starlight@0.17.3
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r-- | .changeset/big-pots-destroy.md | 5 | ||||
-rw-r--r-- | .changeset/four-fishes-clean.md | 5 | ||||
-rw-r--r-- | .changeset/sharp-cows-buy.md | 5 | ||||
-rw-r--r-- | .changeset/tricky-moons-admire.md | 5 | ||||
-rw-r--r-- | examples/basics/package.json | 2 | ||||
-rw-r--r-- | examples/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/starlight/CHANGELOG.md | 78 | ||||
-rw-r--r-- | packages/starlight/package.json | 2 | ||||
-rw-r--r-- | pnpm-lock.yaml | 4 |
9 files changed, 50 insertions, 58 deletions
diff --git a/.changeset/big-pots-destroy.md b/.changeset/big-pots-destroy.md deleted file mode 100644 index f305bf93..00000000 --- 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 58cfbac1..00000000 --- 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 6f5ead13..00000000 --- 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/.changeset/tricky-moons-admire.md b/.changeset/tricky-moons-admire.md deleted file mode 100644 index 1752a89e..00000000 --- a/.changeset/tricky-moons-admire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Silences i18n content collection warnings for projects without custom translations. diff --git a/examples/basics/package.json b/examples/basics/package.json index f3ab491b..9dfb4231 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 a4181446..1c4fb6d5 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 44e4fd38..48708a52 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,17 @@ # @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 + +- [#1458](https://github.com/withastro/starlight/pull/1458) [`8c88642`](https://github.com/withastro/starlight/commit/8c88642875e8344396074a780e28fb0860b249f8) Thanks [@delucis](https://github.com/delucis)! - Silences i18n content collection warnings for projects without custom translations. + ## 0.17.2 ### Patch Changes @@ -48,7 +60,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -68,14 +80,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 +99,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 +174,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 +238,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -579,16 +591,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 +979,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 5b7292fb..cb6fe65f 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 846b64ab..a21cdfa6 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 |