From 860759476ae42aabfa52fcffff6c15d6a526756e Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Mon, 6 May 2024 12:22:35 -0700 Subject: [ci] release (#1832) Co-authored-by: github-actions[bot] --- .changeset/blue-otters-shave.md | 5 --- .changeset/late-tools-kiss.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 +-- 7 files changed, 47 insertions(+), 49 deletions(-) delete mode 100644 .changeset/blue-otters-shave.md delete mode 100644 .changeset/late-tools-kiss.md diff --git a/.changeset/blue-otters-shave.md b/.changeset/blue-otters-shave.md deleted file mode 100644 index 850356c4..00000000 --- a/.changeset/blue-otters-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes a `` sync issue when inconsistently using the `icon` prop or not on `` components. diff --git a/.changeset/late-tools-kiss.md b/.changeset/late-tools-kiss.md deleted file mode 100644 index 0eeec63d..00000000 --- a/.changeset/late-tools-kiss.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Updates Russian UI translations diff --git a/examples/basics/package.json b/examples/basics/package.json index 9b318cea..04d59354 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.22.1", + "@astrojs/starlight": "^0.22.2", "astro": "^4.3.5", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index cad21e9c..5f967b68 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.22.1", + "@astrojs/starlight": "^0.22.2", "@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 679eff5e..3f628ced 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,13 @@ # @astrojs/starlight +## 0.22.2 + +### Patch Changes + +- [#1811](https://github.com/withastro/starlight/pull/1811) [`fe06aa13`](https://github.com/withastro/starlight/commit/fe06aa1307208ef9f5b249181ec29837f96940c2) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes a `` sync issue when inconsistently using the `icon` prop or not on `` components. + +- [#1826](https://github.com/withastro/starlight/pull/1826) [`52ea7381`](https://github.com/withastro/starlight/commit/52ea7381e131338a03cffb3499ba1699951cea1e) Thanks [@dragomano](https://github.com/dragomano)! - Updates Russian UI translations + ## 0.22.1 ### Patch Changes @@ -35,7 +43,7 @@ ```css :root { - --sl-line-height: 1.8; + --sl-line-height: 1.8; } ``` @@ -275,7 +283,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -295,14 +303,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; } ``` @@ -314,9 +322,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); } ``` @@ -389,14 +397,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, - - integrations: [ - starlight({ - // ... - }), - ], + // Disable link prefetching: + prefetch: false, + + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -453,12 +461,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -806,16 +814,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%); } ``` @@ -1194,8 +1202,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 059b2ba8..70ff9ed4 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.22.1", + "version": "0.22.2", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 032db9c1..5f4f9578 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -70,7 +70,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.22.1 + specifier: ^0.22.2 version: link:../../packages/starlight astro: specifier: ^4.3.5 @@ -82,7 +82,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.22.1 + specifier: ^0.22.2 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.2 -- cgit