@egovernments/digit-ui-components 0.0.1-beta.21 → 0.0.1-beta.22
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 +21 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -58,6 +58,7 @@ yarn storybook
|
|
|
58
58
|
# Changelog
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
+
0.0.1-beta.22 From this version of ui-components the Toast component will have a new prop named type, replacing the seperate props for info,warning and error
|
|
61
62
|
0.0.1-beta.21 Added categorySelectAllState in the nestedmultiselect variant of multiselectdropdown
|
|
62
63
|
0.0.1-beta.20 updated multiselectdropdown categoryselectall functionality and added key navigation for dropdown options
|
|
63
64
|
0.0.1-beta.19 making CheckBox more customizable and adding custom color for Button
|
|
@@ -80,6 +81,26 @@ yarn storybook
|
|
|
80
81
|
0.0.1 base version
|
|
81
82
|
```
|
|
82
83
|
|
|
84
|
+
## [0.0.1-beta.22] - 2024-05-20
|
|
85
|
+
|
|
86
|
+
### Breaking Changes
|
|
87
|
+
|
|
88
|
+
- 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`.
|
|
89
|
+
- Old Usage:
|
|
90
|
+
```jsx
|
|
91
|
+
<Toast info={true} label={"Info Toast"} />
|
|
92
|
+
<Toast warning="warning" label={"Warning Toast"}/>
|
|
93
|
+
<Toast error={true} label={"Error Toast"}/>
|
|
94
|
+
```
|
|
95
|
+
- New Usage:
|
|
96
|
+
```jsx
|
|
97
|
+
<Toast type="info" label={"Info Toast"} />
|
|
98
|
+
<Toast type="warning" label={"Warning Toast"} />
|
|
99
|
+
<Toast type="error" label={"Error Toast"} />
|
|
100
|
+
<Toast type="success" label={"Success Toast"} />
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
|
|
83
104
|
## Published from DIGIT Core
|
|
84
105
|
|
|
85
106
|
Digit Core Repo (https://github.com/egovernments/Core-Platform/tree/digit-ui-core)
|