1- diff --git a/node_modules/@astrojs/starlight/components/SidebarSublist.astro b/node_modules/@astrojs/starlight/components/SidebarSublist.astro
2- index a027f56..639be81 100644
3- --- a/node_modules/@astrojs/starlight/components/SidebarSublist.astro
4- +++ b/node_modules/@astrojs/starlight/components/SidebarSublist.astro
5- @@ -4,6 +4,7 @@ import type { SidebarEntry } from '../utils/routing/types';
6- import Icon from '../user-components/Icon.astro';
7- import Badge from '../user-components/Badge.astro';
8- import SidebarRestorePoint from './SidebarRestorePoint.astro';
9- + import SidebarIcon from "~/components/SidebarIcon.astro";
10-
11- interface Props {
12- sublist: SidebarEntry[];
13- @@ -24,7 +25,7 @@ const { sublist, nested } = Astro.props;
14- class:list={[{ large: !nested }, entry.attrs.class]}
15- {...entry.attrs}
16- >
17- - <span>{entry.label}</span>
18- + <span>{entry.icon && <SidebarIcon {...entry.icon} />}{entry.label}</span>
19- {entry.badge && (
20- <Badge
21- variant={entry.badge.variant}
221diff --git a/node_modules/@astrojs/starlight/integrations/remark-rehype-utils.ts b/node_modules/@astrojs/starlight/integrations/remark-rehype-utils.ts
232index ca63d22..ebb1a17 100644
243--- a/node_modules/@astrojs/starlight/integrations/remark-rehype-utils.ts
254+++ b/node_modules/@astrojs/starlight/integrations/remark-rehype-utils.ts
265@@ -22,7 +22,12 @@ export function shouldTransformFile(file: VFile, docsCollectionPath: string) {
276 if (!file?.path) return false;
28-
7+
298 // If the document is not part of the Starlight docs collection, skip it.
309- if (!normalizePath(file.path).startsWith(docsCollectionPath)) return false;
3110+ if (
@@ -34,7 +13,7 @@ index ca63d22..ebb1a17 100644
3413+ !normalizePath(file.path).includes("/src/content/changelog/")
3514+ )
3615+ return false;
37-
16+
3817 return true;
3918 }
4019diff --git a/node_modules/@astrojs/starlight/user-components/Tabs.astro b/node_modules/@astrojs/starlight/user-components/Tabs.astro
@@ -43,17 +22,17 @@ index 6d173df..61eed80 100644
4322+++ b/node_modules/@astrojs/starlight/user-components/Tabs.astro
4423@@ -3,10 +3,11 @@ import Icon from './Icon.astro';
4524 import { processPanels } from './rehype-tabs';
46-
25+
4726 interface Props {
4827+ IconComponent?: typeof Icon;
4928 syncKey?: string;
5029 }
51-
30+
5231- const { syncKey } = Astro.props;
5332+ const { syncKey, IconComponent = Icon } = Astro.props;
5433 const panelHtml = await Astro.slots.render('default');
5534 const { html, panels } = processPanels(panelHtml);
56-
35+
5736@@ -84,7 +85,7 @@ if (isSynced) {
5837 aria-selected={idx === 0 ? 'true' : 'false'}
5938 tabindex={idx !== 0 ? -1 : 0}
0 commit comments