@egovernments/digit-ui-module-core 1.5.36 → 1.5.38
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 +20 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -0
- package/dist/index.modern.js +7860 -0
- package/dist/index.modern.js.map +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -44,9 +44,29 @@ import { DigitUI } from "@egovernments/digit-ui-module-core";
|
|
|
44
44
|
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
# Mandatory changes to use following version
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
from 1.5.38 add the following utility method in micro-ui-internals/packages/libraries/src/utils/index.js
|
|
51
|
+
|
|
52
|
+
const createFunction = (functionAsString) => {
|
|
53
|
+
return Function("return " + functionAsString)();
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
export as createFunction;
|
|
57
|
+
|
|
58
|
+
similarly update line 76 of react-components/src/molecules/CustomDropdown.js
|
|
59
|
+
|
|
60
|
+
with
|
|
61
|
+
.filter((opt) => (opt?.hasOwnProperty("active") ? opt.active : true))
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
|
|
47
65
|
# Changelog
|
|
48
66
|
|
|
49
67
|
```bash
|
|
68
|
+
1.5.38 enabled the admin mode for employee login which can be accessed through route employee/user/login?mode=admin and updated to use formcomposerv2
|
|
69
|
+
1.5.37 fixed hiding upload drawer icons.
|
|
50
70
|
1.5.36 fixed after clicking on change password and then try to save profile without changing password showing error.
|
|
51
71
|
1.5.35 fixed user profile email was prefilled when clicking on change password
|
|
52
72
|
1.5.34 fixed module not found redirection issue
|