From 31d6e2826fd34745f22036a88929a09fef29b0c3 Mon Sep 17 00:00:00 2001 From: Lukas Harbarth Date: Thu, 11 Sep 2025 15:07:11 +0200 Subject: [PATCH] docs: post migration adjustments --- .storybook/components/VersionSwitch.tsx | 2 +- .../AvatarGroup/AvatarGroup.stories.tsx | 4 ++-- .../src/webComponents/Bar/Bar.stories.tsx | 4 ++-- .../Carousel/Carousel.stories.tsx | 6 ++--- .../FlexibleColumnLayout.stories.tsx | 2 +- .../MediaGallery/MediaGallery.stories.tsx | 22 +++++++++---------- .../ShellBar/ShellBar.stories.tsx | 6 ++--- .../UploadCollection/UploadCollection.mdx | 2 +- .../UploadCollection.stories.tsx | 2 +- .../UserMenu/UserMenu.stories.tsx | 4 ++-- .../UserSettingsDialog.stories.tsx | 6 ++--- templates/nextjs-app/app/page.tsx | 2 +- templates/nextjs-pages/pages/index.tsx | 2 +- templates/vite-ts/src/App.tsx | 2 +- 14 files changed, 33 insertions(+), 33 deletions(-) diff --git a/.storybook/components/VersionSwitch.tsx b/.storybook/components/VersionSwitch.tsx index 52000650803..c80cc8a0fcd 100644 --- a/.storybook/components/VersionSwitch.tsx +++ b/.storybook/components/VersionSwitch.tsx @@ -23,7 +23,7 @@ addons.register(ADDON_ID, () => { const menuRef = React.useRef(null); const activeVersionSlug = - window.location.pathname.replace('/ui5-webcomponents-react/', '').replaceAll('/', '') || 'nightly'; + window.location.pathname.replace('/webcomponents-react/', '').replaceAll('/', '') || 'nightly'; const activeVersion = activeVersionSlug.at(0).toUpperCase() + activeVersionSlug.slice(1); React.useEffect(() => { diff --git a/packages/main/src/webComponents/AvatarGroup/AvatarGroup.stories.tsx b/packages/main/src/webComponents/AvatarGroup/AvatarGroup.stories.tsx index 9a61d14c750..4db1f30cec7 100644 --- a/packages/main/src/webComponents/AvatarGroup/AvatarGroup.stories.tsx +++ b/packages/main/src/webComponents/AvatarGroup/AvatarGroup.stories.tsx @@ -26,10 +26,10 @@ export const Default: Story = { - Avatar1 + Avatar1 - Avatar2 + Avatar2 ); diff --git a/packages/main/src/webComponents/Bar/Bar.stories.tsx b/packages/main/src/webComponents/Bar/Bar.stories.tsx index cbed981759f..c4a807c7e07 100644 --- a/packages/main/src/webComponents/Bar/Bar.stories.tsx +++ b/packages/main/src/webComponents/Bar/Bar.stories.tsx @@ -40,7 +40,7 @@ export const WithCustomElements: Story = { <>