summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHouston (Bot)2024-03-20 03:18:38 -0700
committerGitHub2024-03-20 11:18:38 +0100
commitdb7cff6f1c40fa6dba86978bd50d00561a489bf1 (patch)
tree2df0ef73c2dc94e2576df938043d8b8e72f763a3
parent78fc90426d58d6c36dcb8215e3181476d0702f50 (diff)
downloadIT.starlight-db7cff6f1c40fa6dba86978bd50d00561a489bf1.tar.gz
IT.starlight-db7cff6f1c40fa6dba86978bd50d00561a489bf1.tar.bz2
IT.starlight-db7cff6f1c40fa6dba86978bd50d00561a489bf1.zip
[ci] release (#1629)@astrojs/starlight@0.21.2
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
-rw-r--r--.changeset/angry-islands-sort.md5
-rw-r--r--.changeset/cold-flowers-hunt.md5
-rw-r--r--.changeset/happy-eggs-switch.md5
-rw-r--r--.changeset/new-hotels-begin.md5
-rw-r--r--.changeset/rare-timers-judge.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/angry-islands-sort.md b/.changeset/angry-islands-sort.md
deleted file mode 100644
index 1c95d581..00000000
--- a/.changeset/angry-islands-sort.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"@astrojs/starlight": patch
----
-
-Adds 1 new icon: `nix`
diff --git a/.changeset/cold-flowers-hunt.md b/.changeset/cold-flowers-hunt.md
deleted file mode 100644
index 9685867b..00000000
--- a/.changeset/cold-flowers-hunt.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Adds Polish UI translations
diff --git a/.changeset/happy-eggs-switch.md b/.changeset/happy-eggs-switch.md
deleted file mode 100644
index 0a16166b..00000000
--- a/.changeset/happy-eggs-switch.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Adds support for toggling the built-in search modal using the `Ctrl+k` keyboard shortcut.
diff --git a/.changeset/new-hotels-begin.md b/.changeset/new-hotels-begin.md
deleted file mode 100644
index 19399822..00000000
--- a/.changeset/new-hotels-begin.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Removes nested CSS from the `<FileTree>` component to prevent a potential warning when using Tailwind CSS.
diff --git a/.changeset/rare-timers-judge.md b/.changeset/rare-timers-judge.md
deleted file mode 100644
index 95ec5adc..00000000
--- a/.changeset/rare-timers-judge.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-'@astrojs/starlight': patch
----
-
-Fixes a bundling issue that caused imports from `@astrojs/starlight/components` to fail when using the config setting `expressiveCode: false`.
diff --git a/examples/basics/package.json b/examples/basics/package.json
index 84529845..5a95b813 100644
--- a/examples/basics/package.json
+++ b/examples/basics/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.21.1",
+ "@astrojs/starlight": "^0.21.2",
"astro": "^4.3.5",
"sharp": "^0.32.5"
}
diff --git a/examples/tailwind/package.json b/examples/tailwind/package.json
index 6a7efdee..68b7b2c8 100644
--- a/examples/tailwind/package.json
+++ b/examples/tailwind/package.json
@@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
- "@astrojs/starlight": "^0.21.1",
+ "@astrojs/starlight": "^0.21.2",
"@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 85df0406..66d4ca76 100644
--- a/packages/starlight/CHANGELOG.md
+++ b/packages/starlight/CHANGELOG.md
@@ -1,5 +1,19 @@
# @astrojs/starlight
+## 0.21.2
+
+### Patch Changes
+
+- [#1628](https://github.com/withastro/starlight/pull/1628) [`24c0823c`](https://github.com/withastro/starlight/commit/24c0823c61b1e9850575766876f2e1035541cfd1) Thanks [@o-az](https://github.com/o-az)! - Adds 1 new icon: `nix`
+
+- [#1614](https://github.com/withastro/starlight/pull/1614) [`78fc9042`](https://github.com/withastro/starlight/commit/78fc90426d58d6c36dcb8215e3181476d0702f50) Thanks [@kpodurgiel](https://github.com/kpodurgiel)! - Adds Polish UI translations
+
+- [#1596](https://github.com/withastro/starlight/pull/1596) [`13ed30cd`](https://github.com/withastro/starlight/commit/13ed30cd335798177dfe24a27851d2c14d2fe80a) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Adds support for toggling the built-in search modal using the `Ctrl+k` keyboard shortcut.
+
+- [#1608](https://github.com/withastro/starlight/pull/1608) [`4096e1b7`](https://github.com/withastro/starlight/commit/4096e1b77b3464338e5489d00cec4c29a1cd3c32) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Removes nested CSS from the `<FileTree>` component to prevent a potential warning when using Tailwind CSS.
+
+- [#1626](https://github.com/withastro/starlight/pull/1626) [`67459cb4`](https://github.com/withastro/starlight/commit/67459cb4021859f4a45d50a5f993d2c849f340a3) Thanks [@hippotastic](https://github.com/hippotastic)! - Fixes a bundling issue that caused imports from `@astrojs/starlight/components` to fail when using the config setting `expressiveCode: false`.
+
## 0.21.1
### Patch Changes
@@ -166,7 +180,7 @@
```css
.sl-link-card a {
- line-height: 1.6;
+ line-height: 1.6;
}
```
@@ -186,14 +200,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;
}
```
@@ -205,9 +219,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);
}
```
@@ -280,14 +294,14 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- // Disable link prefetching:
- prefetch: false,
-
- integrations: [
- starlight({
- // ...
- }),
- ],
+ // Disable link prefetching:
+ prefetch: false,
+
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -344,12 +358,12 @@
import starlight from '@astrojs/starlight';
export default defineConfig({
- trailingSlash: 'always',
- integrations: [
- starlight({
- // ...
- }),
- ],
+ trailingSlash: 'always',
+ integrations: [
+ starlight({
+ // ...
+ }),
+ ],
});
```
@@ -697,16 +711,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%);
}
```
@@ -1085,8 +1099,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 26488982..ff6b8f4b 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
- "version": "0.21.1",
+ "version": "0.21.2",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3c0797e9..04d4ea7e 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -67,7 +67,7 @@ importers:
examples/basics:
dependencies:
'@astrojs/starlight':
- specifier: ^0.21.1
+ specifier: ^0.21.2
version: link:../../packages/starlight
astro:
specifier: ^4.3.5
@@ -79,7 +79,7 @@ importers:
examples/tailwind:
dependencies:
'@astrojs/starlight':
- specifier: ^0.21.1
+ specifier: ^0.21.2
version: link:../../packages/starlight
'@astrojs/starlight-tailwind':
specifier: ^2.0.1