Skip to content

Commit

Permalink
Core module & Workbench Updated to have new Landing pacge card comp (#…
Browse files Browse the repository at this point in the history
…1848)

* Update WorkbenchCard.js to have new Icon

* Updated the versions for workbench package

* Updated the Landing page card component in core module
  • Loading branch information
jagankumar-egov authored Nov 18, 2024
1 parent 4276a66 commit b9663e8
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions micro-ui/web/micro-ui-internals/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"devDependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.9",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.10",
"@egovernments/digit-ui-module-pgr": "1.8.1-beta.2",
"@egovernments/digit-ui-module-dss": "1.8.1-beta.1",
"@egovernments/digit-ui-module-core": "1.8.2-beta.26",
"@egovernments/digit-ui-module-core": "1.8.2-beta.27",
"@egovernments/digit-ui-module-common": "1.8.1-beta.1",
"@egovernments/digit-ui-module-hrms": "1.8.1-beta.2",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.41",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.8.2-beta.27
- Integrated new Landingpage card component & its wrapper

## 1.8.2-beta.17
- Integrated new topbar,sidebar and hambuger

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-core",
"version": "1.8.2-beta.26",
"version": "1.8.2-beta.27",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,16 @@ const EmployeeHome = ({ modules, additionalComponent }) => {
return (
<>
<div className="employee-app-container digit-home-employee-app">
<div className="ground-container moduleCardWrapper gridModuleWrapper digit-home-moduleCardWrapper">
{/* <div className="ground-container moduleCardWrapper gridModuleWrapper digit-home-moduleCardWrapper"> */}
<LandingPageWrapper>
{modules?.map(({ code }, index) => {
const Card =
Digit.ComponentRegistryService.getComponent(`${code}Card`) ||
(() => <React.Fragment />);
return <Card key={index} />;
})}
</div>
</LandingPageWrapper>
{/* </div> */}
</div>

{additionalComponent &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-workbench",
"version": "1.0.2-beta.9",
"version": "1.0.2-beta.10",
"description": "Workbench",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const WorkbenchCard = () => {
links = links.filter((link) => (link?.roles && link?.roles?.length > 0 ? Digit.Utils.didEmployeeHasAtleastOneRole(link?.roles) : true));

const propsForModuleCard = {
Icon: <WorksMgmtIcon />,
Icon: "Settings",
moduleName: t("ACTION_TEST_WORKBENCH"),
kpis: [],
links: links,
Expand Down
2 changes: 1 addition & 1 deletion micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"homepage": "/digit-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.8",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.10",
"@egovernments/digit-ui-module-core": "1.8.2-beta.25",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.40",
"@egovernments/digit-ui-module-open-payment":"0.0.1",
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/sandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-module-sandbox": "0.0.1",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.9",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.10",
"@egovernments/digit-ui-components":"0.0.2-beta.54",
"@egovernments/digit-ui-module-dss": "1.8.1-beta.1",
"@egovernments/digit-ui-module-core": "1.8.2-beta.26",
"@egovernments/digit-ui-module-core": "1.8.2-beta.27",
"@egovernments/digit-ui-module-hrms": "1.8.1-beta.2",
"@egovernments/digit-ui-module-pgr": "1.8.1-beta.2",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.41",
Expand Down
4 changes: 2 additions & 2 deletions micro-ui/web/workbench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"homepage": "/workbench-ui",
"dependencies": {
"@egovernments/digit-ui-libraries": "1.8.2-beta.8",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.9",
"@egovernments/digit-ui-module-workbench": "1.0.2-beta.10",
"@egovernments/digit-ui-components":"0.0.2-beta.54",
"@egovernments/digit-ui-module-core": "1.8.2-beta.26",
"@egovernments/digit-ui-module-core": "1.8.2-beta.27",
"@egovernments/digit-ui-module-utilities": "1.0.1-beta.41",
"@egovernments/digit-ui-react-components": "1.8.2-beta.19",
"babel-loader": "8.1.0",
Expand Down

0 comments on commit b9663e8

Please sign in to comment.