Skip to content

Commit

Permalink
fix: upgrade to shared components v3.7.3 (eclipse-tractusx#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Rohrmeier authored Nov 11, 2024
1 parent e010ca4 commit 2319d6c
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ npm/npmjs/@babel/template/7.25.0, MIT, approved, clearlydefined
npm/npmjs/@babel/traverse/7.25.6, MIT, approved, clearlydefined
npm/npmjs/@babel/types/7.25.6, MIT AND (BSD-2-Clause AND ISC AND MIT) AND BSD-2-Clause AND BSD-3-Clause, approved, #16040
npm/npmjs/@bcoe/v8-coverage/0.2.3, ISC AND MIT, approved, clearlydefined
npm/npmjs/@catena-x/portal-shared-components/3.6.1, Apache-2.0 AND CC-BY-4.0 AND OFL-1.1, approved, #16144
npm/npmjs/@catena-x/portal-shared-components/3.7.3, Apache-2.0 AND CC-BY-4.0 AND OFL-1.1, approved, #17145
npm/npmjs/@cspotcode/source-map-support/0.8.1, MIT, approved, clearlydefined
npm/npmjs/@date-io/core/3.0.0, MIT, approved, clearlydefined
npm/npmjs/@date-io/date-fns/3.0.0, MIT, approved, #14023
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
]
},
"dependencies": {
"@catena-x/portal-shared-components": "^3.6.1",
"@catena-x/portal-shared-components": "^3.7.3",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@hookform/error-message": "^2.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ export default function RecommendedServices({
<Grid className="recommended-card" key={service.id}>
<CardHorizontal
borderRadius={6}
imageAlt="App Card"
imagePath={`${getAssetBase()}/images/content/ServiceMarketplace.png`}
image={{
alt: 'App Card',
src: `${getAssetBase()}/images/content/ServiceMarketplace.png`,
}}
label={service.provider}
buttonText="Details"
onBtnClick={() => {
Expand Down
6 changes: 4 additions & 2 deletions src/components/pages/ServiceMarketplace/ServicesElements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ export default function ServicesElements({
>
<CardHorizontal
borderRadius={6}
imageAlt="App Card"
imagePath={`${getAssetBase()}/images/content/ServiceMarketplace.png`}
image={{
alt: 'App Card',
src: `${getAssetBase()}/images/content/ServiceMarketplace.png`,
}}
label={service.provider}
buttonText="Details"
onBtnClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ export default function ServiceDetails() {
<div className="imageCard">
<CardHorizontal
borderRadius={6}
imageAlt="Service Card"
imagePath={leadImg}
image={{
alt: 'Service Card',
src: leadImg,
}}
label={''}
buttonText=""
onBtnClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,10 @@ export default function AppMarketCard() {
<CardHorizontal
label={cardAppProvider ?? ''}
title={cardAppTitle}
imagePath={cardImage}
imageAlt={cardImageAlt}
image={{
alt: cardImageAlt,
src: cardImage,
}}
borderRadius={0}
description={cardDescription}
backgroundColor="#F3F3F3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,10 @@ export default function CommonValidateAndPublish({
{type === ReleaseProcessTypes.SERVICE_RELEASE && (
<CardHorizontal
borderRadius={6}
imageAlt="Service Card"
imagePath={cardImage ?? LogoGrayData}
image={{
alt: 'Service Card',
src: cardImage ?? LogoGrayData,
}}
label={''}
buttonText=""
onBtnClick={() => {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==

"@catena-x/portal-shared-components@^3.6.1":
version "3.6.1"
resolved "https://registry.yarnpkg.com/@catena-x/portal-shared-components/-/portal-shared-components-3.6.1.tgz#750438522b65d4c59976404044cd75fd5883649c"
integrity sha512-mmOETT9z3vDSa/xyM1i+F2N9k20GuqXuW54oF/I7FB7iHAegJbNedj0gaFH4E7LHJQGP9vHtGQ6J4X73ndrsRg==
"@catena-x/portal-shared-components@^3.7.3":
version "3.7.3"
resolved "https://registry.yarnpkg.com/@catena-x/portal-shared-components/-/portal-shared-components-3.7.3.tgz#65e43d3e3fb9e89d12057c12c9308720e46421ff"
integrity sha512-bfr7LphG60r4QhJ2oxvBkJ61/7TosG6eOxW0GhmZDP9kX5QLlQphwjpW82n65g9QZvxCrJ4D/sTLkRagi4u48g==
dependencies:
"@date-io/date-fns" "^3.0.0"
"@emotion/react" "^11.11.4"
Expand Down

0 comments on commit 2319d6c

Please sign in to comment.