Skip to content

Commit

Permalink
[ci] release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 30, 2024
1 parent 749ddf8 commit d7c15e8
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 70 deletions.
5 changes: 0 additions & 5 deletions .changeset/spotty-eggs-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-mice-travel.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/strong-moose-jam.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-vans-carry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-files-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-walls-carry.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/basics/package.json
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.21.5",
"@astrojs/starlight": "^0.22.0",
"astro": "^4.3.5",
"sharp": "^0.32.5"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/tailwind/package.json
Expand Up @@ -11,7 +11,7 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.21.5",
"@astrojs/starlight": "^0.22.0",
"@astrojs/starlight-tailwind": "^2.0.2",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.3.5",
Expand Down
86 changes: 53 additions & 33 deletions packages/starlight/CHANGELOG.md
@@ -1,5 +1,25 @@
# @astrojs/starlight

## 0.22.0

### Minor Changes

- [#1720](https://github.com/withastro/starlight/pull/1720) [`749ddf85`](https://github.com/withastro/starlight/commit/749ddf85a21d8ed1bfedbe60dee676cdd8784e96) Thanks [@jacobdalamb](https://github.com/jacobdalamb)! - Updates `astro-expressive-code` dependency to the latest minor release (0.35) and exposes a new `@astrojs/starlight/expressive-code/hast` module for users who need to use Expressive Code’s version of `hast`.

This includes a potentially breaking change if you use custom Expressive Code plugins. See the [Expressive Code release notes](https://expressive-code.com/releases/#0340) for full details.

### Patch Changes

- [#1786](https://github.com/withastro/starlight/pull/1786) [`d05d693a`](https://github.com/withastro/starlight/commit/d05d693afcf1771b8269dfe2ccc94f8952c643e8) Thanks [@delucis](https://github.com/delucis)! - Fixes type inference for i18n strings added by extending the default schema

- [#1777](https://github.com/withastro/starlight/pull/1777) [`6949404b`](https://github.com/withastro/starlight/commit/6949404b24a1c8254fd32d75122fdfbaf896fe29) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an issue where TypeScript could fail to serialize the frontmatter schema when configured to emit declaration files

- [#1734](https://github.com/withastro/starlight/pull/1734) [`4493dcfa`](https://github.com/withastro/starlight/commit/4493dcfac5171f839b1b0e39444a15ce696adee4) Thanks [@delucis](https://github.com/delucis)! - Refactors `<ThemeSelect>` custom element logic to improve performance

- [#1731](https://github.com/withastro/starlight/pull/1731) [`f08b0dff`](https://github.com/withastro/starlight/commit/f08b0dff9638bbe7704ac2ba2e855d8d1464ba76) Thanks [@techfg](https://github.com/techfg)! - Fixes responding to system color scheme changes when theme is `auto`

- [#1793](https://github.com/withastro/starlight/pull/1793) [`2616f0c7`](https://github.com/withastro/starlight/commit/2616f0c7acf39a99c9f92b3db4108cae81120034) Thanks [@Mrahmani71](https://github.com/Mrahmani71)! - Updates the Farsi UI translations

## 0.21.5

### Patch Changes
Expand Down Expand Up @@ -212,7 +232,7 @@

```css
.sl-link-card a {
line-height: 1.6;
line-height: 1.6;
}
```

Expand All @@ -232,14 +252,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;
}
```

Expand All @@ -251,9 +271,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);
}
```

Expand Down Expand Up @@ -326,14 +346,14 @@
import starlight from '@astrojs/starlight';

export default defineConfig({
// Disable link prefetching:
prefetch: false,

integrations: [
starlight({
// ...
}),
],
// Disable link prefetching:
prefetch: false,

integrations: [
starlight({
// ...
}),
],
});
```

Expand Down Expand Up @@ -390,12 +410,12 @@
import starlight from '@astrojs/starlight';

export default defineConfig({
trailingSlash: 'always',
integrations: [
starlight({
// ...
}),
],
trailingSlash: 'always',
integrations: [
starlight({
// ...
}),
],
});
```

Expand Down Expand Up @@ -743,16 +763,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%);
}
```

Expand Down Expand Up @@ -1131,8 +1151,8 @@

```json
{
"search.label": "Suchen",
"search.shortcutLabel": "(Drücke / zum Suchen)"
"search.label": "Suchen",
"search.shortcutLabel": "(Drücke / zum Suchen)"
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/starlight/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/starlight",
"version": "0.21.5",
"version": "0.22.0",
"description": "Build beautiful, high-performance documentation websites with Astro",
"scripts": {
"test": "vitest",
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d7c15e8

Please sign in to comment.