From 305238204d6622dca29468e83b07daba2165c04b Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Wed, 29 Nov 2023 12:23:07 -0800 Subject: [ci] release (#1169) Co-authored-by: github-actions[bot] --- .changeset/beige-shoes-whisper.md | 5 ----- .changeset/lovely-keys-wash.md | 7 ------ .changeset/pink-mirrors-cough.md | 7 ------ .changeset/short-toes-cheat.md | 5 ----- examples/basics/package.json | 2 +- examples/tailwind/package.json | 2 +- packages/starlight/CHANGELOG.md | 46 ++++++++++++++++++++++++++------------- packages/starlight/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 9 files changed, 36 insertions(+), 44 deletions(-) delete mode 100644 .changeset/beige-shoes-whisper.md delete mode 100644 .changeset/lovely-keys-wash.md delete mode 100644 .changeset/pink-mirrors-cough.md delete mode 100644 .changeset/short-toes-cheat.md diff --git a/.changeset/beige-shoes-whisper.md b/.changeset/beige-shoes-whisper.md deleted file mode 100644 index e544c5d3..00000000 --- a/.changeset/beige-shoes-whisper.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds a configuration option to disable site indexing with Pagefind and the default search UI diff --git a/.changeset/lovely-keys-wash.md b/.changeset/lovely-keys-wash.md deleted file mode 100644 index 9ef58763..00000000 --- a/.changeset/lovely-keys-wash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds plugin API - -See the [plugins reference](https://starlight.astro.build/reference/plugins/) to learn more about creating plugins for Starlight using this new API. diff --git a/.changeset/pink-mirrors-cough.md b/.changeset/pink-mirrors-cough.md deleted file mode 100644 index c43df8ed..00000000 --- a/.changeset/pink-mirrors-cough.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Exposes localized UI strings in route data - -Component overrides can now access a `labels` object in their props which includes all the localized UI strings for the current page. \ No newline at end of file diff --git a/.changeset/short-toes-cheat.md b/.changeset/short-toes-cheat.md deleted file mode 100644 index b62a37a8..00000000 --- a/.changeset/short-toes-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Adds support for extending Starlight’s content collection schemas diff --git a/examples/basics/package.json b/examples/basics/package.json index 2e747ff7..5f326421 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.13.1", + "@astrojs/starlight": "^0.14.0", "astro": "^3.2.3", "sharp": "^0.32.5" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index d23740c4..136e332f 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.13.1", + "@astrojs/starlight": "^0.14.0", "@astrojs/starlight-tailwind": "^2.0.1", "@astrojs/tailwind": "^5.0.0", "astro": "^3.2.3", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 58482e71..fde35ae9 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,21 @@ # @astrojs/starlight +## 0.14.0 + +### Minor Changes + +- [#1144](https://github.com/withastro/starlight/pull/1144) [`7c0b8cb`](https://github.com/withastro/starlight/commit/7c0b8cb334c501678f7ab87cce372cddfdde34ed) Thanks [@delucis](https://github.com/delucis)! - Adds a configuration option to disable site indexing with Pagefind and the default search UI + +- [#942](https://github.com/withastro/starlight/pull/942) [`efd7fdc`](https://github.com/withastro/starlight/commit/efd7fdcb55b39988f157c1a4b2c368c86a39520f) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds plugin API + + See the [plugins reference](https://starlight.astro.build/reference/plugins/) to learn more about creating plugins for Starlight using this new API. + +- [#1135](https://github.com/withastro/starlight/pull/1135) [`e5a863a`](https://github.com/withastro/starlight/commit/e5a863a98b2e5335e122ca440dcb84e9426939b4) Thanks [@delucis](https://github.com/delucis)! - Exposes localized UI strings in route data + + Component overrides can now access a `labels` object in their props which includes all the localized UI strings for the current page. + +- [#1162](https://github.com/withastro/starlight/pull/1162) [`00d101b`](https://github.com/withastro/starlight/commit/00d101b159bfa4bb307a66ccae53dd417d9564e0) Thanks [@delucis](https://github.com/delucis)! - Adds support for extending Starlight’s content collection schemas + ## 0.13.1 ### Patch Changes @@ -27,12 +43,12 @@ import starlight from '@astrojs/starlight'; export default defineConfig({ - trailingSlash: 'always', - integrations: [ - starlight({ - // ... - }), - ], + trailingSlash: 'always', + integrations: [ + starlight({ + // ... + }), + ], }); ``` @@ -380,16 +396,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%); } ``` @@ -768,8 +784,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 9e6b94da..0495dabf 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.13.1", + "version": "0.14.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72c2b7bd..970560fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -103,7 +103,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.13.1 + specifier: ^0.14.0 version: link:../../packages/starlight astro: specifier: ^3.2.3 @@ -115,7 +115,7 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.13.1 + specifier: ^0.14.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': specifier: ^2.0.1 -- cgit