diff --git a/react/example/package.json b/react/example/package.json index 4d58593209..f23f3dd158 100644 --- a/react/example/package.json +++ b/react/example/package.json @@ -10,7 +10,7 @@ "build": "webpack --mode production" }, "dependencies": { - "@egovernments/digit-ui-components": "0.0.2-beta.53", + "@egovernments/digit-ui-components": "0.0.2-beta.54", "@egovernments/digit-ui-libraries": "1.8.2-beta.1", "@egovernments/digit-ui-module-common": "1.7.10", "@egovernments/digit-ui-module-core": "1.8.1-beta.6", diff --git a/react/modules/Project/package.json b/react/modules/Project/package.json index 7c02432f7d..fcc3a664ae 100644 --- a/react/modules/Project/package.json +++ b/react/modules/Project/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@egovernments/digit-ui-react-components": "1.8.1-beta.4", - "@egovernments/digit-ui-components": "0.0.2-beta.53", + "@egovernments/digit-ui-components": "0.0.2-beta.54", "lodash": "^4.17.21", "react": "17.0.2", "react-date-range": "^1.4.0", diff --git a/react/modules/core/package.json b/react/modules/core/package.json index 2ebfbc8a59..3df7200b3f 100644 --- a/react/modules/core/package.json +++ b/react/modules/core/package.json @@ -14,7 +14,7 @@ "prepublish": "yarn build" }, "dependencies": { - "@egovernments/digit-ui-components": "0.0.2-beta.53", + "@egovernments/digit-ui-components": "0.0.2-beta.54", "@egovernments/digit-ui-react-components": "1.8.1-beta.4", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/react/modules/sample/package.json b/react/modules/sample/package.json index 6a78d54f38..919e0096bc 100644 --- a/react/modules/sample/package.json +++ b/react/modules/sample/package.json @@ -19,7 +19,7 @@ }, "dependencies": { "@egovernments/digit-ui-react-components": "1.8.1-beta.4", - "@egovernments/digit-ui-components": "0.0.2-beta.53", + "@egovernments/digit-ui-components": "0.0.2-beta.54", "react": "17.0.2", "react-date-range": "^1.4.0", "react-dom": "17.0.2", diff --git a/react/package.json b/react/package.json index aad4a488d6..1789879178 100644 --- a/react/package.json +++ b/react/package.json @@ -86,7 +86,7 @@ "@egovernments/digit-ui-module-sample": "0.0.1", "@egovernments/digit-ui-react-components": "1.7.10", "@egovernments/digit-ui-svg-components": "1.0.12", - "@egovernments/digit-ui-components": "0.0.2-beta.53", + "@egovernments/digit-ui-components": "0.0.2-beta.54", "babel-loader": "8.1.0", "clean-webpack-plugin": "4.0.0", "css-loader": "5.2.6", diff --git a/react/ui-components/CHANGELOG.md b/react/ui-components/CHANGELOG.md index be98240bf2..3c30ba5465 100644 --- a/react/ui-components/CHANGELOG.md +++ b/react/ui-components/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.0.2-beta.54] - 2024-11-16 +### New Changes +- Fixed Navigation redirection for landing page card if it is an external url. + + ## [0.0.2-beta.51] - 2024-11-06 ### New Changes - ButtonsGroup has been renamed as ButtonGroup diff --git a/react/ui-components/package.json b/react/ui-components/package.json index 0f0b625195..8d65f56bc0 100644 --- a/react/ui-components/package.json +++ b/react/ui-components/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-components", - "version": "0.0.2-beta.53", + "version": "0.0.2-beta.54", "license": "MIT", "main": "dist/index.js", "module": "dist/index.modern.js", diff --git a/react/ui-components/src/molecules/LandingPageCard.js b/react/ui-components/src/molecules/LandingPageCard.js index e3bfc4f46f..72a70e41aa 100644 --- a/react/ui-components/src/molecules/LandingPageCard.js +++ b/react/ui-components/src/molecules/LandingPageCard.js @@ -28,7 +28,7 @@ const LandingPageCard = ({ }; const handleLinkClick = ({ link, label, icon }) => { - history?.push(link); + link?.includes(`${window?.contextPath}/`) ? history?.push(link) : window.location.href = link; }; const primaryIconColor = Colors.lightTheme.primary[1]; const secondaryIconColor = Colors.lightTheme.paper.primary;