From d220ef30aa2884ceea8366f19daa59aa74ba5857 Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Tue, 9 Apr 2024 04:18:44 -0700 Subject: [ci] release (#1724) Co-authored-by: github-actions[bot] --- .changeset/afraid-buses-cheer.md | 5 --- .changeset/khaki-hairs-end.md | 5 --- .changeset/late-onions-jog.md | 5 --- .changeset/shaggy-crabs-press.md | 5 --- .changeset/strange-tips-work.md | 5 --- examples/basics/package.json | 2 +- examples/tailwind/package.json | 4 +-- packages/starlight/CHANGELOG.md | 78 +++++++++++++++++++++++----------------- packages/starlight/package.json | 2 +- packages/tailwind/CHANGELOG.md | 6 ++++ packages/tailwind/package.json | 2 +- pnpm-lock.yaml | 6 ++-- 12 files changed, 59 insertions(+), 66 deletions(-) delete mode 100644 .changeset/afraid-buses-cheer.md delete mode 100644 .changeset/khaki-hairs-end.md delete mode 100644 .changeset/late-onions-jog.md delete mode 100644 .changeset/shaggy-crabs-press.md delete mode 100644 .changeset/strange-tips-work.md diff --git a/.changeset/afraid-buses-cheer.md b/.changeset/afraid-buses-cheer.md deleted file mode 100644 index 8f727e46..00000000 --- a/.changeset/afraid-buses-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Adds 1 new icon: `pkl` diff --git a/.changeset/khaki-hairs-end.md b/.changeset/khaki-hairs-end.md deleted file mode 100644 index 377b40ec..00000000 --- a/.changeset/khaki-hairs-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes a UI strings translation issue for sites configured with a single non-root language different from English. diff --git a/.changeset/late-onions-jog.md b/.changeset/late-onions-jog.md deleted file mode 100644 index 360668ec..00000000 --- a/.changeset/late-onions-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes accessibility by using `aria-selected="false"` for inactive tabs instead of removing `aria-selected="true"` in the tablist of Starlight’s `` component diff --git a/.changeset/shaggy-crabs-press.md b/.changeset/shaggy-crabs-press.md deleted file mode 100644 index 4172a8ef..00000000 --- a/.changeset/shaggy-crabs-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fixes some minor type errors diff --git a/.changeset/strange-tips-work.md b/.changeset/strange-tips-work.md deleted file mode 100644 index f7d629e1..00000000 --- a/.changeset/strange-tips-work.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight-tailwind': patch ---- - -Adds warning log if a user tries to set `colors.white` in their Tailwind theme config with an object instead of a string. diff --git a/examples/basics/package.json b/examples/basics/package.json index 651be529..c0b50173 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.21.4", + "@astrojs/starlight": "^0.21.5", "astro": "^4.3.5", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 19f2dc57..b316ca57 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.21.4", - "@astrojs/starlight-tailwind": "^2.0.1", + "@astrojs/starlight": "^0.21.5", + "@astrojs/starlight-tailwind": "^2.0.2", "@astrojs/tailwind": "^5.1.0", "astro": "^4.3.5", "sharp": "^0.32.5", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index ff35d1c9..fd14b08b 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,17 @@ # @astrojs/starlight +## 0.21.5 + +### Patch Changes + +- [#1728](https://github.com/withastro/starlight/pull/1728) [`0a75680d`](https://github.com/withastro/starlight/commit/0a75680ddd2f3325ab9ad7ac910f7c884b89a9ed) Thanks [@delucis](https://github.com/delucis)! - Adds 1 new icon: `pkl` + +- [#1709](https://github.com/withastro/starlight/pull/1709) [`c5cd1811`](https://github.com/withastro/starlight/commit/c5cd181186b42422f3e47052bf8182cb490bda6b) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English. + +- [#1723](https://github.com/withastro/starlight/pull/1723) [`3b29b3ab`](https://github.com/withastro/starlight/commit/3b29b3ab824f538f27e20310cb08786a92c7bd65) Thanks [@OliverSpeir](https://github.com/OliverSpeir)! - Fixes accessibility by using `aria-selected="false"` for inactive tabs instead of removing `aria-selected="true"` in the tablist of Starlight’s `` component + +- [#1706](https://github.com/withastro/starlight/pull/1706) [`f171ac4d`](https://github.com/withastro/starlight/commit/f171ac4d6396eb2538598d85957670df50938b6a) Thanks [@jorenbroekema](https://github.com/jorenbroekema)! - Fixes some minor type errors + ## 0.21.4 ### Patch Changes @@ -200,7 +212,7 @@ ```css .sl-link-card a { - line-height: 1.6; + line-height: 1.6; } ``` @@ -220,14 +232,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; } ``` @@ -239,9 +251,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); } ``` @@ -314,14 +326,14 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - // Disable link prefetching: - prefetch: false, - - integrations: [ - starlight({ - // ... - }), - ], + // Disable link prefetching: + prefetch: false, + + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -378,12 +390,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -731,16 +743,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%); } ``` @@ -1119,8 +1131,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 62cc64a8..4f086a56 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.21.4", + "version": "0.21.5", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/packages/tailwind/CHANGELOG.md b/packages/tailwind/CHANGELOG.md index 6f7d6f99..f6570131 100644 --- a/packages/tailwind/CHANGELOG.md +++ b/packages/tailwind/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/starlight-tailwind +## 2.0.2 + +### Patch Changes + +- [#1726](https://github.com/withastro/starlight/pull/1726) [`1aae51ac`](https://github.com/withastro/starlight/commit/1aae51ac512df8de088c7529236e196be42077e8) Thanks [@delucis](https://github.com/delucis)! - Adds warning log if a user tries to set `colors.white` in their Tailwind theme config with an object instead of a string. + ## 2.0.1 ### Patch Changes diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index a143a103..c8570d71 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight-tailwind", - "version": "2.0.1", + "version": "2.0.2", "description": "Tailwind CSS plugin for the Starlight documentation theme for Astro", "author": "Chris Swithinbank ", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 647e4e0b..9fec1dcb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,7 +67,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.21.4 + specifier: ^0.21.5 version: link:../../packages/starlight astro: specifier: ^4.3.5 @@ -79,10 +79,10 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.21.4 + specifier: ^0.21.5 version: link:../../packages/starlight '@astrojs/starlight-tailwind': - specifier: ^2.0.1 + specifier: ^2.0.2 version: link:../../packages/tailwind '@astrojs/tailwind': specifier: ^5.1.0 -- cgit