Skip to content

Commit f5dcf93

Browse files
authored
docs: post migration adjustments (#7753)
1 parent dbc1ee5 commit f5dcf93

File tree

14 files changed

+33
-33
lines changed

14 files changed

+33
-33
lines changed

.storybook/components/VersionSwitch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ addons.register(ADDON_ID, () => {
2323
const menuRef = React.useRef(null);
2424

2525
const activeVersionSlug =
26-
window.location.pathname.replace('/ui5-webcomponents-react/', '').replaceAll('/', '') || 'nightly';
26+
window.location.pathname.replace('/webcomponents-react/', '').replaceAll('/', '') || 'nightly';
2727
const activeVersion = activeVersionSlug.at(0).toUpperCase() + activeVersionSlug.slice(1);
2828

2929
React.useEffect(() => {

packages/main/src/webComponents/AvatarGroup/AvatarGroup.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ export const Default: Story = {
2626
<Avatar icon="employee" />
2727
<Avatar initials="JD" />
2828
<Avatar>
29-
<img src="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_5.png" alt="Avatar1" />
29+
<img src="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_5.png" alt="Avatar1" />
3030
</Avatar>
3131
<Avatar>
32-
<img src="https://sap.github.io/ui5-webcomponents/images/avatars/man_avatar_3.png" alt="Avatar2" />
32+
<img src="https://ui5.github.io/webcomponents/images/avatars/man_avatar_3.png" alt="Avatar2" />
3333
</Avatar>
3434
</AvatarGroup>
3535
);

packages/main/src/webComponents/Bar/Bar.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const WithCustomElements: Story = {
4040
<>
4141
<Button icon={navBackIcon} design={ButtonDesign.Transparent} />
4242
<img
43-
src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/Logo-Sticker.png"
43+
src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/Logo-Sticker.png"
4444
alt="logo"
4545
style={{ marginLeft: '6px', width: '120px' }}
4646
/>
@@ -49,7 +49,7 @@ export const WithCustomElements: Story = {
4949
endContent={
5050
<>
5151
<Input placeholder="Search" />
52-
<Link style={{ marginLeft: '6px' }} href="https://github.com/SAP/ui5-webcomponents-react" target="_blank">
52+
<Link style={{ marginLeft: '6px' }} href="https://github.com/UI5/webcomponents-react" target="_blank">
5353
<GitHubLogo />
5454
</Link>
5555
</>

packages/main/src/webComponents/Carousel/Carousel.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export const Default: Story = {
2020
render(args) {
2121
return (
2222
<Carousel {...args}>
23-
<img src="https://sap.github.io/ui5-webcomponents/images/sample1.jpg" alt="img-sample 1" />
24-
<img src="https://sap.github.io/ui5-webcomponents/images/sample2.jpg" alt="img-sample 2" />
25-
<img src="https://sap.github.io/ui5-webcomponents/images/sample3.jpg" alt="img-sample 3" />
23+
<img src="https://ui5.github.io/webcomponents/images/sample1.jpg" alt="img-sample 1" />
24+
<img src="https://ui5.github.io/webcomponents/images/sample2.jpg" alt="img-sample 2" />
25+
<img src="https://ui5.github.io/webcomponents/images/sample3.jpg" alt="img-sample 3" />
2626
</Carousel>
2727
);
2828
},

packages/main/src/webComponents/FlexibleColumnLayout/FlexibleColumnLayout.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const WithDifferentColumns: Story = {
8989
<>
9090
<ShellBar
9191
logo={
92-
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/Logo-Sticker.png" />
92+
<img src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/Logo-Sticker.png" />
9393
}
9494
primaryTitle="Movie DB"
9595
/>

packages/main/src/webComponents/MediaGallery/MediaGallery.stories.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ export const Default: Story = {
2929
return (
3030
<MediaGallery {...args}>
3131
<MediaGalleryItem>
32-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
32+
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
3333
</MediaGalleryItem>
3434
<MediaGalleryItem>
35-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
35+
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
3636
</MediaGalleryItem>
3737
<MediaGalleryItem>
38-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1022.jpg" />
38+
<img src="https://ui5.github.io/webcomponents/images/HT-1022.jpg" alt="Example Image" />
3939
</MediaGalleryItem>
4040
<MediaGalleryItem>
41-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1030.jpg" />
41+
<img src="https://ui5.github.io/webcomponents/images/HT-1030.jpg" alt="Example Image" />
4242
</MediaGalleryItem>
4343
<MediaGalleryItem>
44-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-2002.jpg" />
44+
<img src="https://ui5.github.io/webcomponents/images/HT-2002.jpg" alt="Example Image" />
4545
</MediaGalleryItem>
4646
<MediaGalleryItem>
47-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-2026.jpg" />
47+
<img src="https://ui5.github.io/webcomponents/images/HT-2026.jpg" alt="Example Image" />
4848
</MediaGalleryItem>
4949
</MediaGallery>
5050
);
@@ -55,11 +55,11 @@ export const CustomThumbnail: Story = {
5555
render: (args) => {
5656
return (
5757
<MediaGallery {...args}>
58-
<MediaGalleryItem thumbnail={<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000-small.jpg" />}>
59-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
58+
<MediaGalleryItem thumbnail={<img src="https://ui5.github.io/webcomponents/images/HT-1000-small.jpg" />}>
59+
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
6060
</MediaGalleryItem>
6161
<MediaGalleryItem disabled>
62-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
62+
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
6363
</MediaGalleryItem>
6464
</MediaGallery>
6565
);
@@ -77,10 +77,10 @@ export const InteractiveDisplayArea: Story = {
7777
<Toast ref={ref}>Display Area Clicked!</Toast>
7878
<MediaGallery {...args} interactiveDisplayArea onDisplayAreaClick={handleDisplayAreaClick}>
7979
<MediaGalleryItem>
80-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
80+
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
8181
</MediaGalleryItem>
8282
<MediaGalleryItem selected>
83-
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
83+
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
8484
</MediaGalleryItem>
8585
</MediaGallery>
8686
</>

packages/main/src/webComponents/ShellBar/ShellBar.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const meta = {
2929
primaryTitle: 'Shell Bar',
3030
notificationsCount: '10',
3131
showNotifications: true,
32-
logo: <img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />,
32+
logo: <img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />,
3333
profile: (
3434
<Avatar>
3535
<img src={image} alt="person-placeholder" />
@@ -153,8 +153,8 @@ export const ShellBarBrandingStory: Story = {
153153
args: {
154154
branding: (
155155
<ShellBarBranding
156-
logo={<img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
157-
href="https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/layouts-floorplans-shellbar--docs"
156+
logo={<img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
157+
href="https://ui5.github.io/webcomponents-react/v2/?path=/docs/layouts-floorplans-shellbar--docs"
158158
target="_blank"
159159
onClick={(e) => {
160160
console.log('ShellBarBranding clicked', e);

packages/main/src/webComponents/UploadCollection/UploadCollection.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const SimulateUploadComponent = () => {
7070
fileName={'file-name.txt'}
7171
uploadState={UploadState.Ready}
7272
thumbnail={
73-
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_water.png" />
73+
<img src="https://raw.githubusercontent.com/UI5/webcomponents/main/docs/images/UI5_logo_water.png" />
7474
}
7575
>
7676
<Text>Uploaded by: Susanne Schmitt · Uploaded On: 2019-04-20</Text>

packages/main/src/webComponents/UploadCollection/UploadCollection.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const SimulateUpload: Story = {
6666
fileName={'file-name.txt'}
6767
uploadState={UploadState.Ready}
6868
thumbnail={
69-
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_water.png" />
69+
<img src="https://raw.githubusercontent.com/UI5/webcomponents/main/docs/images/UI5_logo_water.png" />
7070
}
7171
>
7272
<Text>Uploaded by: Susanne Schmitt · Uploaded On: 2019-04-20</Text>

packages/main/src/webComponents/UserMenu/UserMenu.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ export const Default: Story = {
6868
<>
6969
<ShellBar
7070
primaryTitle={'Corporate Portal'}
71-
logo={<img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
71+
logo={<img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
7272
profile={
7373
<Avatar>
7474
<img
75-
src="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_3.png"
75+
src="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_3.png"
7676
alt={'Avatar of the current user'}
7777
/>
7878
</Avatar>

0 commit comments

Comments
 (0)