Releases: withastro/starlight
@astrojs/starlight@0.22.2
@astrojs/starlight@0.22.1
@astrojs/starlight@0.22.0
Minor Changes
-
#640
7dc503ea
Thanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page. -
#1620
ca0678ca
Thanks @emjio! - Adds support for translating the site title鈿狅笍 Potentially breaking change: The shape of thetitle
field on Starlight鈥檚 internal config object has changed. This used to be a string, but is now an object.If you are relying on
config.title
(for example in a custom<SiteTitle>
or<Head>
component), you will need to update your code. We recommend using the newsiteTitle
prop available to component overrides:--- import type { Props } from '@astrojs/starlight/props'; // The site title for this page鈥檚 language: const { siteTitle } = Astro.props; ---
-
#1613
61493e55
Thanks @HiDeoo! - Adds newdraft
frontmatter option to exclude a page from production builds. -
#640
7dc503ea
Thanks @HiDeoo! - Updates the defaultline-height
from1.8
to1.75
. This change avoids having a line height with a fractional part which can cause scripts accessing dimensions involving the line height to get an inconsistent rounded value in various browsers.If you want to preserve the previous
line-height
, you can add the following custom CSS to your site::root { --sl-line-height: 1.8; }
-
#1720
749ddf85
Thanks @jacobdalamb! - Updatesastro-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鈥檚 version ofhast
.This includes a potentially breaking change if you use custom Expressive Code plugins. See the Expressive Code release notes for full details.
-
#1769
bd5f1cbd
Thanks @ncjones! - Adds support for accessing frontmatter data as a variable when using Markdoc
Patch Changes
-
#1788
681a4273
Thanks @dragomano! - Adds Russian translations for Expressive Code labels -
#1780
4db6025a
Thanks @MiahaCybersec! - Adds 1 new icon:signal
-
#1785
65009c9c
Thanks @dreyfus92! - Adds 5 new icons:node
,cloudflare
,vercel
,netlify
anddeno
-
#1786
d05d693a
Thanks @delucis! - Fixes type inference for i18n strings added by extending the default schema -
#1777
6949404b
Thanks @HiDeoo! - Fixes an issue where TypeScript could fail to serialize the frontmatter schema when configured to emit declaration files -
#1734
4493dcfa
Thanks @delucis! - Refactors<ThemeSelect>
custom element logic to improve performance -
#1731
f08b0dff
Thanks @techfg! - Fixes responding to system color scheme changes when theme isauto
-
#1793
2616f0c7
Thanks @Mrahmani71! - Updates the Farsi UI translations
@astrojs/starlight@0.21.5
Patch Changes
-
#1709
c5cd1811
Thanks @HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English. -
#1723
3b29b3ab
Thanks @OliverSpeir! - Fixes accessibility by usingaria-selected="false"
for inactive tabs instead of removingaria-selected="true"
in the tablist of Starlight鈥檚<Tabs>
component -
#1706
f171ac4d
Thanks @jorenbroekema! - Fixes some minor type errors
@astrojs/starlight-tailwind@2.0.2
@astrojs/starlight@0.21.4
@astrojs/starlight@0.21.3
Patch Changes
-
#1622
3a074bad
Thanks @SamuelLHuber! - Adds 1 new icon:farcaster
-
#1616
a86f9b71
Thanks @dragomano! - Updates Russian UI strings -
#1698
67b892fd
Thanks @liruifengv! - Adds 1 new icon:starlight
-
#1687
6fa9ea7e
Thanks @mingjunlu! - TranslatesfileTree.directory
UI string into Traditional Chinese.
@astrojs/starlight@0.21.2
Patch Changes
-
#1614
78fc9042
Thanks @kpodurgiel! - Adds Polish UI translations -
#1596
13ed30cd
Thanks @HiDeoo! - Adds support for toggling the built-in search modal using theCtrl+k
keyboard shortcut. -
#1608
4096e1b7
Thanks @HiDeoo! - Removes nested CSS from the<FileTree>
component to prevent a potential warning when using Tailwind CSS. -
#1626
67459cb4
Thanks @hippotastic! - Fixes a bundling issue that caused imports from@astrojs/starlight/components
to fail when using the config settingexpressiveCode: false
.
@astrojs/starlight@0.21.1
Patch Changes
-
#1584
8851d5cd
Thanks @HiDeoo! - Adds 2 new icons:apple
andlinux
. -
#1577
0ba77890
Thanks @morinokami! - TranslatesfileTree.directory
UI string into Japanese. -
#1593
fa7ed245
Thanks @liruifengv! - TranslatesfileTree.directory
UI string into simplified Chinese. -
#1585
bd4e278f
Thanks @HiDeoo! - TranslatesfileTree.directory
UI string into French. -
#1587
c5794260
Thanks @Eveeifyeve! - Adds 1 new icon:homebrew
.
@astrojs/starlight@0.21.0
Minor Changes
-
#1568
5f99a71d
Thanks @HiDeoo! - Adds support for optionally setting an icon on a<TabItem>
component to make it easier to visually distinguish between tabs. -
#1308
9a918a5b
Thanks @HiDeoo! - Adds<FileTree>
component to display the structure of a directory. -
#1308
9a918a5b
Thanks @HiDeoo! - Adds 144 new file-type icons from the Seti UI icon set, available with theseti:
prefix, e.g.seti:javascript
. -
#1564
d880065e
Thanks @delucis! - Adds a<Steps>
component for styling more complex guided tasks. -
#1308
9a918a5b
Thanks @HiDeoo! - Adds 5 new icons:astro
,biome
,bun
,mdx
, andpnpm
.