Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .storybook/components/VersionSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ export const Default: Story = {
<Avatar icon="employee" />
<Avatar initials="JD" />
<Avatar>
<img src="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_5.png" alt="Avatar1" />
<img src="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_5.png" alt="Avatar1" />
</Avatar>
<Avatar>
<img src="https://sap.github.io/ui5-webcomponents/images/avatars/man_avatar_3.png" alt="Avatar2" />
<img src="https://ui5.github.io/webcomponents/images/avatars/man_avatar_3.png" alt="Avatar2" />
</Avatar>
</AvatarGroup>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/main/src/webComponents/Bar/Bar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const WithCustomElements: Story = {
<>
<Button icon={navBackIcon} design={ButtonDesign.Transparent} />
<img
src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/Logo-Sticker.png"
src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/Logo-Sticker.png"
alt="logo"
style={{ marginLeft: '6px', width: '120px' }}
/>
Expand All @@ -49,7 +49,7 @@ export const WithCustomElements: Story = {
endContent={
<>
<Input placeholder="Search" />
<Link style={{ marginLeft: '6px' }} href="https://github.com/SAP/ui5-webcomponents-react" target="_blank">
<Link style={{ marginLeft: '6px' }} href="https://github.com/UI5/webcomponents-react" target="_blank">
<GitHubLogo />
</Link>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const Default: Story = {
render(args) {
return (
<Carousel {...args}>
<img src="https://sap.github.io/ui5-webcomponents/images/sample1.jpg" alt="img-sample 1" />
<img src="https://sap.github.io/ui5-webcomponents/images/sample2.jpg" alt="img-sample 2" />
<img src="https://sap.github.io/ui5-webcomponents/images/sample3.jpg" alt="img-sample 3" />
<img src="https://ui5.github.io/webcomponents/images/sample1.jpg" alt="img-sample 1" />
<img src="https://ui5.github.io/webcomponents/images/sample2.jpg" alt="img-sample 2" />
<img src="https://ui5.github.io/webcomponents/images/sample3.jpg" alt="img-sample 3" />
</Carousel>
);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const WithDifferentColumns: Story = {
<>
<ShellBar
logo={
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/Logo-Sticker.png" />
<img src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/Logo-Sticker.png" />
}
primaryTitle="Movie DB"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ export const Default: Story = {
return (
<MediaGallery {...args}>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1022.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1022.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1030.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1030.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-2002.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-2002.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-2026.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-2026.jpg" alt="Example Image" />
</MediaGalleryItem>
</MediaGallery>
);
Expand All @@ -55,11 +55,11 @@ export const CustomThumbnail: Story = {
render: (args) => {
return (
<MediaGallery {...args}>
<MediaGalleryItem thumbnail={<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000-small.jpg" />}>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
<MediaGalleryItem thumbnail={<img src="https://ui5.github.io/webcomponents/images/HT-1000-small.jpg" />}>
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem disabled>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
</MediaGalleryItem>
</MediaGallery>
);
Expand All @@ -77,10 +77,10 @@ export const InteractiveDisplayArea: Story = {
<Toast ref={ref}>Display Area Clicked!</Toast>
<MediaGallery {...args} interactiveDisplayArea onDisplayAreaClick={handleDisplayAreaClick}>
<MediaGalleryItem>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1000.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1000.jpg" alt="Example Image" />
</MediaGalleryItem>
<MediaGalleryItem selected>
<img src="https://sap.github.io/ui5-webcomponents/images/HT-1010.jpg" />
<img src="https://ui5.github.io/webcomponents/images/HT-1010.jpg" alt="Example Image" />
</MediaGalleryItem>
</MediaGallery>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const meta = {
primaryTitle: 'Shell Bar',
notificationsCount: '10',
showNotifications: true,
logo: <img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />,
logo: <img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />,
profile: (
<Avatar>
<img src={image} alt="person-placeholder" />
Expand Down Expand Up @@ -153,8 +153,8 @@ export const ShellBarBrandingStory: Story = {
args: {
branding: (
<ShellBarBranding
logo={<img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
href="https://sap.github.io/ui5-webcomponents-react/v2/?path=/docs/layouts-floorplans-shellbar--docs"
logo={<img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
href="https://ui5.github.io/webcomponents-react/v2/?path=/docs/layouts-floorplans-shellbar--docs"
target="_blank"
onClick={(e) => {
console.log('ShellBarBranding clicked', e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const SimulateUploadComponent = () => {
fileName={'file-name.txt'}
uploadState={UploadState.Ready}
thumbnail={
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_water.png" />
<img src="https://raw.githubusercontent.com/UI5/webcomponents/main/docs/images/UI5_logo_water.png" />
}
>
<Text>Uploaded by: Susanne Schmitt · Uploaded On: 2019-04-20</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const SimulateUpload: Story = {
fileName={'file-name.txt'}
uploadState={UploadState.Ready}
thumbnail={
<img src="https://raw.githubusercontent.com/SAP/ui5-webcomponents/main/docs/images/UI5_logo_water.png" />
<img src="https://raw.githubusercontent.com/UI5/webcomponents/main/docs/images/UI5_logo_water.png" />
}
>
<Text>Uploaded by: Susanne Schmitt · Uploaded On: 2019-04-20</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ export const Default: Story = {
<>
<ShellBar
primaryTitle={'Corporate Portal'}
logo={<img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
logo={<img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
profile={
<Avatar>
<img
src="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_3.png"
src="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_3.png"
alt={'Avatar of the current user'}
/>
</Avatar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ export const Default: Story = {
<>
<ShellBar
primaryTitle={'Corporate Portal'}
logo={<img src="https://sap.github.io/ui5-webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
logo={<img src="https://ui5.github.io/webcomponents/images/sap-logo-svg.svg" alt="SAP Logo" />}
profile={
<Avatar>
<img
src="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_3.png"
src="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_3.png"
alt={'Avatar of the current user'}
/>
</Avatar>
Expand All @@ -79,7 +79,7 @@ export const Default: Story = {
open={menuOpen}
accounts={
<UserMenuAccount
avatarSrc="https://sap.github.io/ui5-webcomponents/images/avatars/woman_avatar_3.png"
avatarSrc="https://ui5.github.io/webcomponents/images/avatars/woman_avatar_3.png"
titleText="Alaina Chevalier"
subtitleText="aliana.chevalier@sap.com"
description="Delivery Manager, SAP SE"
Expand Down
2 changes: 1 addition & 1 deletion templates/nextjs-app/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Page() {
<ShellBar
logo={
<img
src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/ui5-logo.svg"
src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/ui5-logo.svg"
alt={'UI5 Web Components for React logo'}
/>
}
Expand Down
2 changes: 1 addition & 1 deletion templates/nextjs-pages/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function Home() {
<ShellBar
logo={
<img
src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/ui5-logo.svg"
src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/ui5-logo.svg"
alt={'UI5 Web Components for React logo'}
/>
}
Expand Down
2 changes: 1 addition & 1 deletion templates/vite-ts/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function App() {
<ShellBar
logo={
<img
src="https://raw.githubusercontent.com/SAP/ui5-webcomponents-react/main/assets/ui5-logo.svg"
src="https://raw.githubusercontent.com/UI5/webcomponents-react/main/assets/ui5-logo.svg"
alt={'UI5 Web Components for React logo'}
/>
}
Expand Down
Loading