@egovernments/digit-ui-components 0.0.2-webpack.2 → 0.1.0-rc-optim-01

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 for webpack builds & node v20
13
+ This Package is more specific to DIGIT-UI's can be used across mission's
14
14
  ```
15
15
 
16
16
  ## Usage
@@ -39,7 +39,7 @@ import { SVG } from "@egovernments/digit-ui-components";
39
39
  <SVG.Accessibility />;
40
40
  ```
41
41
 
42
- # Local Development
42
+ # Local Development to check storybook
43
43
  Use Node 14 version
44
44
 
45
45
  Step 1
@@ -48,15 +48,43 @@ Step 1
48
48
  yarn install
49
49
  ```
50
50
 
51
- Step 2
51
+ Step 2
52
52
 
53
53
  ```bash
54
54
  yarn storybook
55
55
  ```
56
56
 
57
+ ### New Changes
57
58
 
58
- ## [0.0.2-webpack.2]
59
+ ## [0.0.1-beta.28] - 2024-05-24
59
60
 
61
+ - Added restrictSelection prop in Multiselectdropdown. If this is sent as true, it restricts any option to get selected.
62
+
63
+ - Usage:
64
+ ```jsx
65
+ <MultiSelectDropdown
66
+ restrictSelection={true}
67
+ />
68
+ ```
69
+
70
+ ### Breaking Changes while migrating from any version below 0.0.1-beta.22
71
+
72
+ ## [0.0.1-beta.22] - 2024-05-20
73
+
74
+ - 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`.
75
+ - Old Usage:
76
+ ```jsx
77
+ <Toast info={true} label={"Info Toast"} />
78
+ <Toast warning="warning" label={"Warning Toast"}/>
79
+ <Toast error={true} label={"Error Toast"}/>
80
+ ```
81
+ - New Usage:
82
+ ```jsx
83
+ <Toast type="info" label={"Info Toast"} />
84
+ <Toast type="warning" label={"Warning Toast"} />
85
+ <Toast type="error" label={"Error Toast"} />
86
+ <Toast type="success" label={"Success Toast"} />
87
+ ```
60
88
 
61
89
  ## Changelog
62
90
 
@@ -93,11 +121,13 @@ DIGIT-UI-LIBRARIES Repo (https://github.com/egovernments/DIGIT-UI-LIBRARIES/tree
93
121
 
94
122
  # Contributors
95
123
 
96
- [nabeelmd-egov] [anilsingha-eGov] [nipunarora-eGov] [swathi-egov] [jagankumar-egov]
124
+ [nabeelmd-egov] [bhavya-eGov] [nipunarora-eGov] [swathi-egov] [jagankumar-egov]
125
+
126
+ # Reference
97
127
 
98
- # Reference
128
+ Storybook (https://unified-dev.digit.org/storybook/)
99
129
 
100
- Home Page (https://unified-dev.digit.org/storybook/)
130
+ Documentation (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui/ui-components-standardisation/digit-ui-components0.2.0)
101
131
 
102
132
  ## License
103
133