@egovernments/digit-ui-components 0.0.2-test.2 → 0.0.2-webpack-20

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 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,40 +55,8 @@ yarn storybook
55
55
  ```
56
56
 
57
57
 
58
- ## [0.0.1-beta.28] - 2024-05-24
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
-
74
- ## [0.0.1-beta.22] - 2024-05-20
75
-
76
- ### Breaking Changes
77
-
78
- - 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`.
79
- - Old Usage:
80
- ```jsx
81
- <Toast info={true} label={"Info Toast"} />
82
- <Toast warning="warning" label={"Warning Toast"}/>
83
- <Toast error={true} label={"Error Toast"}/>
84
- ```
85
- - New Usage:
86
- ```jsx
87
- <Toast type="info" label={"Info Toast"} />
88
- <Toast type="warning" label={"Warning Toast"} />
89
- <Toast type="error" label={"Error Toast"} />
90
- <Toast type="success" label={"Success Toast"} />
91
- ```
92
60
 
93
61
  ## Changelog
94
62