summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2024-03-01 10:05:48 -0800
committerGitHub2024-03-01 19:05:48 +0100
commitab38709dd96b02b67342a292534ddfc8c0037ea9 (patch)
tree1c65d37a8af9ec4e0275ccdb00d7c1d54f52ff53
parentd880065e29a632823a08adcb6158a59fd9557270 (diff)
downloadIT.starlight-ab38709dd96b02b67342a292534ddfc8c0037ea9.tar.gz
IT.starlight-ab38709dd96b02b67342a292534ddfc8c0037ea9.tar.bz2
IT.starlight-ab38709dd96b02b67342a292534ddfc8c0037ea9.zip
[ci] release (#1574)@astrojs/starlight@0.21.0
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/curly-taxis-destroy.md5
-rw-r--r--.changeset/hot-paws-work.md5
-rw-r--r--.changeset/mighty-adults-help.md5
-rw-r--r--.changeset/sharp-cars-play.md5
-rw-r--r--.changeset/smart-planets-flow.md5
-rw-r--r--examples/basics/package.json2
-rw-r--r--examples/tailwind/package.json2
-rw-r--r--packages/starlight/CHANGELOG.md80
-rw-r--r--packages/starlight/package.json2
-rw-r--r--pnpm-lock.yaml4
10 files changed, 52 insertions, 63 deletions
diff --git a/.changeset/curly-taxis-destroy.md b/.changeset/curly-taxis-destroy.md
deleted file mode 100644
index 60eecb25..00000000
--- a/.changeset/curly-taxis-destroy.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Adds support for optionally setting an icon on a `<TabItem>` component to make it easier to visually distinguish between tabs.
diff --git a/.changeset/hot-paws-work.md b/.changeset/hot-paws-work.md
deleted file mode 100644
index 23405d18..00000000
--- a/.changeset/hot-paws-work.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Adds `<FileTree>` component to display the structure of a directory.
diff --git a/.changeset/mighty-adults-help.md b/.changeset/mighty-adults-help.md
deleted file mode 100644
index 728d542f..00000000
--- a/.changeset/mighty-adults-help.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Adds 144 new file-type icons from the [Seti UI icon set](https://github.com/jesseweed/seti-ui#current-icons), available with the `seti:` prefix, e.g. `seti:javascript`.
diff --git a/.changeset/sharp-cars-play.md b/.changeset/sharp-cars-play.md
deleted file mode 100644
index 3bb1e812..00000000
--- a/.changeset/sharp-cars-play.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Adds a `<Steps>` component for styling more complex guided tasks.
diff --git a/.changeset/smart-planets-flow.md b/.changeset/smart-planets-flow.md
deleted file mode 100644
index de3fc70d..00000000
--- a/.changeset/smart-planets-flow.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': minor
----
-
-Adds 5 new icons: `astro`, `biome`, `bun`, `mdx`, and `pnpm`.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 62fd3298..fa7742bc 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.20.1",
+ "@astrojs/starlight": "^0.21.0",
"astro": "^4.3.5",
"sharp": "^0.32.5"
}
diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json
index f6e04543..f8126364 100644
--- a/examples/tailwind/package.json
+++ b/examples/tailwind/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.20.1",
+ "@astrojs/starlight": "^0.21.0",
"@astrojs/starlight-tailwind": "^2.0.1",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.3.5",
diff --git a/packages/starlight/CHANGELOG.md b/packages/starlight/CHANGELOG.md
index cd21d441..7a69b5f2 100644
--- a/packages/starlight/CHANGELOG.md
+++ b/packages/starlight/CHANGELOG.md
@@ -1,5 +1,19 @@
# @astrojs/starlight
+## 0.21.0
+
+### Minor Changes
+
+- [#1568](https://github.com/withastro/starlight/pull/1568) [`5f99a71d`](https://github.com/withastro/starlight/commit/5f99a71ddfe92568b1cd3c0bfe5ebfd139797c1a) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds support for optionally setting an icon on a `<TabItem>` component to make it easier to visually distinguish between tabs.
+
+- [#1308](https://github.com/withastro/starlight/pull/1308) [`9a918a5b`](https://github.com/withastro/starlight/commit/9a918a5b4902f43729f4d023257772710af3a12b) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds `<FileTree>` component to display the structure of a directory.
+
+- [#1308](https://github.com/withastro/starlight/pull/1308) [`9a918a5b`](https://github.com/withastro/starlight/commit/9a918a5b4902f43729f4d023257772710af3a12b) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds 144 new file-type icons from the [Seti UI icon set](https://github.com/jesseweed/seti-ui#current-icons), available with the `seti:` prefix, e.g. `seti:javascript`.
+
+- [#1564](https://github.com/withastro/starlight/pull/1564) [`d880065e`](https://github.com/withastro/starlight/commit/d880065e29a632823a08adcb6158a59fd9557270) Thanks [@delucis](https://github.com/delucis)! - Adds a `<Steps>` component for styling more complex guided tasks.
+
+- [#1308](https://github.com/withastro/starlight/pull/1308) [`9a918a5b`](https://github.com/withastro/starlight/commit/9a918a5b4902f43729f4d023257772710af3a12b) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds 5 new icons: `astro`, `biome`, `bun`, `mdx`, and `pnpm`.
+
## 0.20.1
### Patch Changes
@@ -138,7 +152,7 @@
```css
.sl-link-card a {
- line-height: 1.6;
+ line-height: 1.6;
}
```
@@ -158,14 +172,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;
}
```
@@ -177,9 +191,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);
}
```
@@ -252,14 +266,14 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- // Disable link prefetching:
- prefetch: false,
-
- integrations: [
- starlight({
- // ...
- }),
- ],
+ // Disable link prefetching:
+ prefetch: false,
+
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -316,12 +330,12 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- trailingSlash: 'always',
- integrations: [
- starlight({
- // ...
- }),
- ],
+ trailingSlash: 'always',
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -669,16 +683,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%);
}
```
@@ -1057,8 +1071,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 2b5ec8c6..416babca 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
- "version": "0.20.1",
+ "version": "0.21.0",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 239e11c8..4e5a710a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -85,7 +85,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
- specifier: ^0.20.1
+ specifier: ^0.21.0
version: link:../../packages/starlight
astro:
specifier: ^4.3.5
@@ -97,7 +97,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
- specifier: ^0.20.1
+ specifier: ^0.21.0
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^2.0.1