Package Exports
- @egovernments/digit-ui-components
- @egovernments/digit-ui-components/dist/main.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@egovernments/digit-ui-components) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
digit-ui-components
Install
npm install --save @egovernments/digit-ui-components
Limitation
This Package is more specific to DIGIT-UI's can be used across mission's for webpack builds & node v20
Usage
After adding the dependency make sure you have this dependency in
frontend/micro-ui/web/package.json
"@egovernments/digit-ui-components":"0.0.1",
then navigate to App.js
frontend/micro-ui/web/src/App.js
Syntax for importing any components
import { SVG } from "@egovernments/digit-ui-components";
<SVG.Accessibility />;
Local Development
Use Node 14 version
Step 1
yarn install
Step 2
yarn storybook
[0.0.2-webpack.2]
Changelog
Summary for Version [0.0.2] - 2024-06-03
New Changes
- Added Error Message Component.
- Added Info Button Component.
- Added Panels Component.
- Added Popup Component with two variants:
default
andalert
. - Added RemoveableTag Component.
- Added Stepper Component.
- Added TextBlock Component.
- Added Timeline Component.
- Added Uploader Component with three variants:
UploadFile
,UploadPopup
, andUploadImage
. - Added PanelCard Molecule.
Enhancements
- Updated Button Component Styles.
- Updated Dropdown Component Styles and added SelectAll Option.
- Updated InfoCard Component Styles.
- Added Animation for Toast.
- Added new prop
type
for Toast, replacing the separate props forinfo
,warning
, anderror
. - Updated Typography with lineHeight.
- Updated Color Typography.
For a detailed changelog, see the CHANGELOG.md file.
Published from DIGIT-UI-LIBRARIES
DIGIT-UI-LIBRARIES Repo (https://github.com/egovernments/DIGIT-UI-LIBRARIES/tree/master)
Contributors
[nabeelmd-egov] [anilsingha-eGov] [nipunarora-eGov] [swathi-egov] [jagankumar-egov]
Reference
Home Page (https://unified-dev.digit.org/storybook/)
License
MIT © jagankumar-egov