From 6dab3e437c4c89d968f2fc283816bc49a7589c86 Mon Sep 17 00:00:00 2001 From: Houston (Bot) Date: Thu, 10 Aug 2023 04:12:28 -0700 Subject: [ci] release (#468) Co-authored-by: github-actions[bot] --- .changeset/fifty-trees-approve.md | 5 ---- .changeset/flat-hounds-poke.md | 5 ---- .changeset/quiet-rules-drum.md | 13 ---------- .changeset/red-rockets-turn.md | 26 ------------------- .changeset/swift-kiwis-wash.md | 5 ---- .changeset/tough-balloons-nail.md | 5 ---- .changeset/two-experts-rest.md | 5 ---- .changeset/wise-boats-flow.md | 5 ---- examples/basics/package.json | 2 +- examples/tailwind/package.json | 4 +-- packages/starlight/CHANGELOG.md | 53 +++++++++++++++++++++++++++++++++++++-- packages/starlight/package.json | 2 +- packages/tailwind/CHANGELOG.md | 12 +++++++++ packages/tailwind/package.json | 4 +-- pnpm-lock.yaml | 16 ++++++------ 15 files changed, 77 insertions(+), 85 deletions(-) delete mode 100644 .changeset/fifty-trees-approve.md delete mode 100644 .changeset/flat-hounds-poke.md delete mode 100644 .changeset/quiet-rules-drum.md delete mode 100644 .changeset/red-rockets-turn.md delete mode 100644 .changeset/swift-kiwis-wash.md delete mode 100644 .changeset/tough-balloons-nail.md delete mode 100644 .changeset/two-experts-rest.md delete mode 100644 .changeset/wise-boats-flow.md create mode 100644 packages/tailwind/CHANGELOG.md diff --git a/.changeset/fifty-trees-approve.md b/.changeset/fifty-trees-approve.md deleted file mode 100644 index fd7023f5..00000000 --- a/.changeset/fifty-trees-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fix current page highlight in sidebar for URLs with no trailing slash diff --git a/.changeset/flat-hounds-poke.md b/.changeset/flat-hounds-poke.md deleted file mode 100644 index 20f60fa3..00000000 --- a/.changeset/flat-hounds-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight-tailwind": minor ---- - -Add Tailwind plugin diff --git a/.changeset/quiet-rules-drum.md b/.changeset/quiet-rules-drum.md deleted file mode 100644 index 4a0ce3da..00000000 --- a/.changeset/quiet-rules-drum.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Add support for hiding entries from an autogenerated sidebar: - - ```md - --- - title: About this project - sidebar: - hidden: true - --- - ``` diff --git a/.changeset/red-rockets-turn.md b/.changeset/red-rockets-turn.md deleted file mode 100644 index de6bbe44..00000000 --- a/.changeset/red-rockets-turn.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -'@astrojs/starlight': minor ---- - -Drop support for the `--sl-hue-accent` CSS custom property. - -⚠️ **BREAKING CHANGE** — In previous Starlight versions you could control the accent color by setting the `--sl-hue-accent` custom property. This could result in inaccessible color contrast and unpredictable results. - -You must now set accent colors directly. If you relied on setting `--sl-hue-accent`, migrate by setting light and dark mode colors in your custom CSS: - -```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%); -} - -: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%); -} -``` - -The [new color theme editor](https://starlight.astro.build/guides/css-and-tailwind/#color-theme-editor) might help if you’d prefer to set a new color scheme. \ No newline at end of file diff --git a/.changeset/swift-kiwis-wash.md b/.changeset/swift-kiwis-wash.md deleted file mode 100644 index b282c63e..00000000 --- a/.changeset/swift-kiwis-wash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": minor ---- - -Add `LinkCard` component diff --git a/.changeset/tough-balloons-nail.md b/.changeset/tough-balloons-nail.md deleted file mode 100644 index 8019d4fe..00000000 --- a/.changeset/tough-balloons-nail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fix type error for downstream `tsc` users diff --git a/.changeset/two-experts-rest.md b/.changeset/two-experts-rest.md deleted file mode 100644 index 550fe900..00000000 --- a/.changeset/two-experts-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@astrojs/starlight": patch ---- - -Locales whose language tag includes a regional subtag now use built-in UI translations for their base language. For example, a locale with a language of `pt-BR` will use our `pt` UI translations. diff --git a/.changeset/wise-boats-flow.md b/.changeset/wise-boats-flow.md deleted file mode 100644 index 6a85edfd..00000000 --- a/.changeset/wise-boats-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/starlight': patch ---- - -Fix issue with nested `` components diff --git a/examples/basics/package.json b/examples/basics/package.json index 3afd3851..6d78bc78 100644 --- a/examples/basics/package.json +++ b/examples/basics/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.6.1", + "@astrojs/starlight": "^0.7.0", "astro": "^2.10.4", "sharp": "^0.32.3" } diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json index 773bd8c9..29f7a76f 100644 --- a/examples/tailwind/package.json +++ b/examples/tailwind/package.json @@ -11,8 +11,8 @@ "astro": "astro" }, "dependencies": { - "@astrojs/starlight": "^0.6.1", - "@astrojs/starlight-tailwind": "^0.0.1", + "@astrojs/starlight": "^0.7.0", + "@astrojs/starlight-tailwind": "^1.0.0", "@astrojs/tailwind": "^4.0.0", "astro": "^2.10.3", "sharp": "^0.32.3", diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md index 39dcedc0..aadfdbd0 100644 --- a/packages/starlight/CHANGELOG.md +++ b/packages/starlight/CHANGELOG.md @@ -1,5 +1,54 @@ # @astrojs/starlight +## 0.7.0 + +### Minor Changes + +- [#441](https://github.com/withastro/starlight/pull/441) [`0119a49`](https://github.com/withastro/starlight/commit/0119a49b9a5f7844e7689df5577e8132bf871535) Thanks [@lorenzolewis](https://github.com/lorenzolewis)! - Add support for hiding entries from an autogenerated sidebar: + + ```md + --- + title: About this project + sidebar: + hidden: true + --- + ``` + +- [#470](https://github.com/withastro/starlight/pull/470) [`d076aec`](https://github.com/withastro/starlight/commit/d076aec856921c2fe8a5204a0c31580a846af180) Thanks [@delucis](https://github.com/delucis)! - Drop support for the `--sl-hue-accent` CSS custom property. + + ⚠️ **BREAKING CHANGE** — In previous Starlight versions you could control the accent color by setting the `--sl-hue-accent` custom property. This could result in inaccessible color contrast and unpredictable results. + + You must now set accent colors directly. If you relied on setting `--sl-hue-accent`, migrate by setting light and dark mode colors in your custom CSS: + + ```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%); + } + + :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%); + } + ``` + + The [new color theme editor](https://starlight.astro.build/guides/css-and-tailwind/#color-theme-editor) might help if you’d prefer to set a new color scheme. + +- [#397](https://github.com/withastro/starlight/pull/397) [`73eb5e6`](https://github.com/withastro/starlight/commit/73eb5e6ac6511dc4a6f5c4ca6c0c60d521f1db3c) Thanks [@lorenzolewis](https://github.com/lorenzolewis)! - Add `LinkCard` component + +### Patch Changes + +- [#460](https://github.com/withastro/starlight/pull/460) [`2e0fb90`](https://github.com/withastro/starlight/commit/2e0fb9053e96839287071e8a9c523796570cb0f6) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fix current page highlight in sidebar for URLs with no trailing slash + +- [#467](https://github.com/withastro/starlight/pull/467) [`461a5d5`](https://github.com/withastro/starlight/commit/461a5d5c0424b03fb95b7ff7b27c944d04430244) Thanks [@delucis](https://github.com/delucis)! - Fix type error for downstream `tsc` users + +- [#475](https://github.com/withastro/starlight/pull/475) [`06a205e`](https://github.com/withastro/starlight/commit/06a205e0e673f505bbb87dfcfcb0f35b051677e9) Thanks [@Yan-Thomas](https://github.com/Yan-Thomas)! - Locales whose language tag includes a regional subtag now use built-in UI translations for their base language. For example, a locale with a language of `pt-BR` will use our `pt` UI translations. + +- [#473](https://github.com/withastro/starlight/pull/473) [`6a7692a`](https://github.com/withastro/starlight/commit/6a7692ae3178f9f9f727cc17b8ae860604afd78f) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fix issue with nested `` components + ## 0.6.1 ### Patch Changes @@ -361,8 +410,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 e992ffa7..f814f6af 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight", - "version": "0.6.1", + "version": "0.7.0", "description": "Build beautiful, high-performance documentation websites with Astro", "scripts": { "test": "vitest", diff --git a/packages/tailwind/CHANGELOG.md b/packages/tailwind/CHANGELOG.md new file mode 100644 index 00000000..96cec9d5 --- /dev/null +++ b/packages/tailwind/CHANGELOG.md @@ -0,0 +1,12 @@ +# @astrojs/starlight-tailwind + +## 1.0.0 + +### Minor Changes + +- [#337](https://github.com/withastro/starlight/pull/337) [`555826d`](https://github.com/withastro/starlight/commit/555826d39edec9b0535edf734656dd9bf7cc31ea) Thanks [@delucis](https://github.com/delucis)! - Add Tailwind plugin + +### Patch Changes + +- Updated dependencies [[`2e0fb90`](https://github.com/withastro/starlight/commit/2e0fb9053e96839287071e8a9c523796570cb0f6), [`0119a49`](https://github.com/withastro/starlight/commit/0119a49b9a5f7844e7689df5577e8132bf871535), [`d076aec`](https://github.com/withastro/starlight/commit/d076aec856921c2fe8a5204a0c31580a846af180), [`73eb5e6`](https://github.com/withastro/starlight/commit/73eb5e6ac6511dc4a6f5c4ca6c0c60d521f1db3c), [`461a5d5`](https://github.com/withastro/starlight/commit/461a5d5c0424b03fb95b7ff7b27c944d04430244), [`06a205e`](https://github.com/withastro/starlight/commit/06a205e0e673f505bbb87dfcfcb0f35b051677e9), [`6a7692a`](https://github.com/withastro/starlight/commit/6a7692ae3178f9f9f727cc17b8ae860604afd78f)]: + - @astrojs/starlight@0.7.0 diff --git a/packages/tailwind/package.json b/packages/tailwind/package.json index d06cb869..a435757e 100644 --- a/packages/tailwind/package.json +++ b/packages/tailwind/package.json @@ -1,6 +1,6 @@ { "name": "@astrojs/starlight-tailwind", - "version": "0.0.1", + "version": "1.0.0", "description": "Tailwind CSS plugin for the Starlight documentation theme for Astro", "author": "Chris Swithinbank ", "license": "MIT", @@ -28,7 +28,7 @@ "vitest": "^0.33.0" }, "peerDependencies": { - "@astrojs/starlight": "^0.6.1", + "@astrojs/starlight": "^0.7.0", "@astrojs/tailwind": "^4.0.0", "tailwindcss": "^3.3.3" } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 649f165c..e6f0f437 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - importers: .: @@ -103,7 +99,7 @@ importers: examples/basics: dependencies: '@astrojs/starlight': - specifier: ^0.6.1 + specifier: ^0.7.0 version: link:../../packages/starlight astro: specifier: ^2.10.4 @@ -115,10 +111,10 @@ importers: examples/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.6.1 + specifier: ^0.7.0 version: link:../../packages/starlight '@astrojs/starlight-tailwind': - specifier: ^0.0.1 + specifier: ^1.0.0 version: link:../../packages/tailwind '@astrojs/tailwind': specifier: ^4.0.0 @@ -197,7 +193,7 @@ importers: packages/tailwind: dependencies: '@astrojs/starlight': - specifier: ^0.6.1 + specifier: ^0.7.0 version: link:../starlight '@astrojs/tailwind': specifier: ^4.0.0 @@ -7028,3 +7024,7 @@ packages: /zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false -- cgit