summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2023-08-10 04:12:28 -0700
committerGitHub2023-08-10 13:12:28 +0200
commit6dab3e437c4c89d968f2fc283816bc49a7589c86 (patch)
tree4b953edeb5fc9a9575d398b766246cf56de896e0
parent06a205e0e673f505bbb87dfcfcb0f35b051677e9 (diff)
downloadIT.starlight-6dab3e437c4c89d968f2fc283816bc49a7589c86.tar.gz
IT.starlight-6dab3e437c4c89d968f2fc283816bc49a7589c86.tar.bz2
IT.starlight-6dab3e437c4c89d968f2fc283816bc49a7589c86.zip
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/fifty-trees-approve.md5
-rw-r--r--.changeset/flat-hounds-poke.md5
-rw-r--r--.changeset/quiet-rules-drum.md13
-rw-r--r--.changeset/red-rockets-turn.md26
-rw-r--r--.changeset/swift-kiwis-wash.md5
-rw-r--r--.changeset/tough-balloons-nail.md5
-rw-r--r--.changeset/two-experts-rest.md5
-rw-r--r--.changeset/wise-boats-flow.md5
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/tailwind/package.json4
-rw-r--r--packages/starlight/CHANGELOG.md53
-rw-r--r--packages/starlight/package.json2
-rw-r--r--packages/tailwind/CHANGELOG.md12
-rw-r--r--packages/tailwind/package.json4
-rw-r--r--pnpm-lock.yaml16
15 files changed, 77 insertions, 85 deletions
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 `<Tabs>` 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 `<Tabs>` 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 <swithinbank@gmail.com>",
"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