diff --git a/micro-frontends/sandbox-ui/README.md b/micro-frontends/sandbox-ui/README.md index 109fc6e82de..161cb2eb0a6 100644 --- a/micro-frontends/sandbox-ui/README.md +++ b/micro-frontends/sandbox-ui/README.md @@ -77,27 +77,27 @@ Refer [Storybook](https://unified-dev.digit.org/storybook/) to know more about t ## Project Structure ``` -sandbox-ui/ -├── packages/ # Microfrontends -│ ├── components/ # Shared React components -│ │ └── src/ # Source files for shared components -│ ├── root-app/ # Main rendered JS app -│ │ ├── public/ # Public assets for root app -│ │ ├── src/ # Source files for root app -│ ├── modules/ # Microfrontend modules -│ │ ├── account-mgmt/ # Account Management App -│ │ │ ├── public/ # Public assets for module 1 -│ │ │ ├── src/ # Source files for module 1 -│ │ ├── data-mgmt/ # Data Management App -│ │ │ ├── public/ # Public assets for module 2 -│ │ │ ├── src/ # Source files for module 2 -│ │ ├── user-app/ # User App -│ │ │ ├── public/ # Public assets for module 2 -│ │ │ ├── src/ # Source files for module 2 -├── .gitignore # Git ignore file -├── package.json # NPM package configuration -├── lerna.json # Lerna configuration -└── README.md # Project README + sandbox-ui/ + ├── packages/ # Microfrontends + │ ├── components/ # Shared React components + │ │ └── src/ # Source files for shared components + │ ├── root-app/ # Main rendered JS app + │ │ ├── public/ # Public assets for root app + │ │ ├── src/ # Source files for root app + │ ├── modules/ # Microfrontend modules + │ │ ├── account-mgmt/ # Account Management App + │ │ │ ├── public/ # Public assets for module 1 + │ │ │ ├── src/ # Source files for module 1 + │ │ ├── data-mgmt/ # Data Management App + │ │ │ ├── public/ # Public assets for module 2 + │ │ │ ├── src/ # Source files for module 2 + │ │ ├── user-app/ # User App + │ │ │ ├── public/ # Public assets for module 2 + │ │ │ ├── src/ # Source files for module 2 + ├── .gitignore # Git ignore file + ├── package.json # NPM package configuration + ├── lerna.json # Lerna configuration + └── README.md # Project README ``` diff --git a/micro-frontends/sandbox-ui/package.json b/micro-frontends/sandbox-ui/package.json index 51567d68059..7f411cd056a 100644 --- a/micro-frontends/sandbox-ui/package.json +++ b/micro-frontends/sandbox-ui/package.json @@ -12,13 +12,13 @@ "packages/modules/*" ], "dependencies": { - "@egovernments/digit-ui-components": "0.0.1-webpack.121", + "@egovernments/digit-ui-components": "^0.0.1-webpack.121", "@egovernments/sandbox-components": "0.0.5", - "webpack-dev-server": "^5.0.4", "react": "18.3.1", "react-dom": "18.3.1", "react-i18next": "15.0.0", - "react-router-dom": "6.25.1" + "react-router-dom": "6.25.1", + "webpack-dev-server": "^5.0.4" }, "devDependencies": { "concurrently": "^6.2.1", @@ -33,5 +33,3 @@ "build": "lerna run build" } } - - diff --git a/micro-frontends/sandbox-ui/packages/components/package.json b/micro-frontends/sandbox-ui/packages/components/package.json index c2475808f5a..9559ce04dc0 100644 --- a/micro-frontends/sandbox-ui/packages/components/package.json +++ b/micro-frontends/sandbox-ui/packages/components/package.json @@ -44,7 +44,8 @@ "react-stepper-horizontal": "1.0.11", "react-tabs": "6.0.2", "localforage": "^1.10.0", - "@tanstack/react-query": "5.50.1" + "@tanstack/react-query": "5.50.1", + "@egovernments/digit-ui-components": "0.0.9-beta.1" }, "peerDependencies": { "react": "18.3.1", diff --git a/micro-frontends/sandbox-ui/packages/components/src/Button.js b/micro-frontends/sandbox-ui/packages/components/src/Button.js index 04cbc0cb3c2..da622807fca 100644 --- a/micro-frontends/sandbox-ui/packages/components/src/Button.js +++ b/micro-frontends/sandbox-ui/packages/components/src/Button.js @@ -1,5 +1,6 @@ import React from 'react'; + export const Button = ({ children, onClick }) => { return (