@egovernments/digit-ui-components 0.0.2-beta.9 → 0.0.2-webpack.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -33
- package/dist/main.js +2 -0
- package/dist/main.js.LICENSE.txt +14 -0
- package/package.json +32 -45
- package/CHANGELOG.md +0 -193
- package/dist/index.js +0 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ npm install --save @egovernments/digit-ui-components
|
|
|
10
10
|
## Limitation
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
This Package is more specific to DIGIT-UI's can be used across mission's
|
|
13
|
+
This Package is more specific to DIGIT-UI's can be used across mission's for webpack builds & node v20
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
@@ -55,39 +55,8 @@ yarn storybook
|
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
## [0.0.
|
|
58
|
+
## [0.0.2-webpack.2]
|
|
59
59
|
|
|
60
|
-
### New Changes
|
|
61
|
-
|
|
62
|
-
- Added restrictSelection prop in Multiselectdropdown. If this is sent as true, it restricts any option to get selected.
|
|
63
|
-
|
|
64
|
-
- Usage:
|
|
65
|
-
```jsx
|
|
66
|
-
<MultiSelectDropdown
|
|
67
|
-
restrictSelection={true}
|
|
68
|
-
/>
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
## [0.0.1-beta.22] - 2024-05-20
|
|
74
|
-
|
|
75
|
-
### Breaking Changes
|
|
76
|
-
|
|
77
|
-
- Toast Component: From this version of `ui-components`, the `Toast` component has a new prop named `type`, replacing the separate props for `info`, `warning`, and `error`.
|
|
78
|
-
- Old Usage:
|
|
79
|
-
```jsx
|
|
80
|
-
<Toast info={true} label={"Info Toast"} />
|
|
81
|
-
<Toast warning="warning" label={"Warning Toast"}/>
|
|
82
|
-
<Toast error={true} label={"Error Toast"}/>
|
|
83
|
-
```
|
|
84
|
-
- New Usage:
|
|
85
|
-
```jsx
|
|
86
|
-
<Toast type="info" label={"Info Toast"} />
|
|
87
|
-
<Toast type="warning" label={"Warning Toast"} />
|
|
88
|
-
<Toast type="error" label={"Error Toast"} />
|
|
89
|
-
<Toast type="success" label={"Success Toast"} />
|
|
90
|
-
```
|
|
91
60
|
|
|
92
61
|
## Changelog
|
|
93
62
|
|