summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Zelip2024-11-19 04:58:39 -0500
committerGitHub2024-11-19 10:58:39 +0100
commitec7ab4f1df83052aa00c5f560adf7e7b8d61c9db (patch)
tree75181ac24ff04b29ffc9b2af3abdc98b0648f58f
parent6059d961a6b31fd7848b0c59411fc6370e62abab (diff)
downloadIT.starlight-ec7ab4f1df83052aa00c5f560adf7e7b8d61c9db.tar.gz
IT.starlight-ec7ab4f1df83052aa00c5f560adf7e7b8d61c9db.tar.bz2
IT.starlight-ec7ab4f1df83052aa00c5f560adf7e7b8d61c9db.zip
Add SidebarPersister specifier to Starlight package (#2605)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
-rw-r--r--.changeset/red-mice-care.md5
-rw-r--r--packages/starlight/package.json4
2 files changed, 9 insertions, 0 deletions
diff --git a/.changeset/red-mice-care.md b/.changeset/red-mice-care.md
new file mode 100644
index 00000000..5b2c9d6f
--- /dev/null
+++ b/.changeset/red-mice-care.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/starlight": patch
+---
+
+Exposes `SidebarPersister` component in package exports for use in custom overrides
diff --git a/packages/starlight/package.json b/packages/starlight/package.json
index 94fae459..01d39069 100644
--- a/packages/starlight/package.json
+++ b/packages/starlight/package.json
@@ -52,6 +52,10 @@
"types": "./components/MarkdownContent.astro.tsx",
"import": "./components/MarkdownContent.astro"
},
+ "./components/SidebarPersister.astro": {
+ "types": "./components/SidebarPersister.astro.tsx",
+ "import": "./components/SidebarPersister.astro"
+ },
"./components/SidebarSublist.astro": {
"types": "./components/SidebarSublist.astro.tsx",
"import": "./components/SidebarSublist.astro"