@egovernments/digit-ui-libraries 1.9.2 → 2.0.0-dev-02

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/package.json CHANGED
@@ -1,44 +1,79 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-libraries",
3
- "version": "1.9.2",
4
- "main": "dist/index.js",
5
- "module": "dist/index.modern.js",
3
+ "version": "2.0.0-dev-02",
4
+ "main": "dist/main.js",
5
+ "module": "dist/main.js",
6
6
  "source": "src/index.js",
7
7
  "license": "MIT",
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "build": "microbundle-crl --compress --no-sourcemap --format cjs",
13
- "start": "microbundle-crl watch --no-compress --format modern,cjs",
14
- "prepublish": "yarn build"
12
+ "start": "webpack serve --mode=development --open --hot",
13
+ "start:prod": "webpack serve --mode=production --open",
14
+ "prepublish": "yarn build",
15
+ "example": "cd example && npm run start",
16
+ "build": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=production --config webpack.config.js",
17
+ "build:dev": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=development --config webpack.config.js",
18
+ "build:analyze": "NODE_OPTIONS='--openssl-legacy-provider' webpack --mode=production --analyze --config webpack.config.js",
19
+ "prepare": "yarn build",
20
+ "predeploy": "cd example && yarn install && yarn run build"
15
21
  },
16
22
  "peerDependencies": {
17
- "react": "17.0.2"
23
+ "react": "19.0.0",
24
+ "react-dom": "19.0.0",
25
+ "react-router-dom": "6.25.1",
26
+ "@tanstack/react-query": "^5.62.16"
18
27
  },
19
28
  "devDependencies": {
20
- "gh-pages": "2.2.0",
21
- "microbundle-crl": "0.13.11",
22
- "react-dom": "17.0.2",
23
- "react-scripts": "^4.0.1"
29
+ "react": "^19.0.0",
30
+ "react-dom": "^19.0.0",
31
+ "sass": "^1.83.4",
32
+ "sass-loader": "^16.0.4",
33
+ "@babel/core": "^7.23.3",
34
+ "@babel/preset-env": "^7.23.3",
35
+ "@babel/preset-react": "^7.23.3",
36
+ "@babel/plugin-transform-optional-chaining": "^7.23.4",
37
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
38
+ "babel-plugin-transform-remove-console": "^6.9.4",
39
+ "babel-loader": "8.0.0",
40
+ "core-js": "^3.38.1",
41
+ "cross-env": "7.0.3",
42
+ "jspdf": "2.5.1",
43
+ "lint-staged": "12.3.7",
44
+ "webpack": "^5.97.1",
45
+ "webpack-cli": "^4.10.0",
46
+ "@tanstack/react-query": "^5.62.16",
47
+ "react-router-dom": "6.25.1"
24
48
  },
25
49
  "dependencies": {
26
- "axios": "0.21.1",
27
- "babel-preset-react": "6.24.1",
50
+ "axios": "0.27.2",
28
51
  "date-fns": "2.28.0",
29
- "html2canvas": "1.4.1",
30
52
  "dom-to-image": "2.6.0",
31
- "i18next": "19.9.2",
53
+ "html2canvas": "1.4.1",
54
+ "jsonpath": "^1.1.1",
55
+ "lodash": "^4.17.21",
56
+ "prop-types": "^15.8.1",
57
+ "i18next": "23.2.3",
32
58
  "i18next-react-postprocessor": "3.0.7",
33
- "jspdf": "2.5.1",
34
59
  "pdfmake": "0.1.72",
35
- "react": "17.0.2",
36
- "react-i18next": "11.16.2",
37
- "react-query": "3.6.1",
38
- "react-redux": "7.2.8",
39
- "react-router-dom": "5.3.0",
40
- "redux": "4.1.2",
41
- "xlsx": "0.17.5"
60
+ "react-i18next": "15.0.0",
61
+ "react-redux": "9.2.0",
62
+ "redux": "5.0.0",
63
+ "xlsx": "0.17.5",
64
+ "idb": "^7.1.1"
65
+ },
66
+ "browserslist": {
67
+ "production": [
68
+ ">0.2%",
69
+ "not dead",
70
+ "not op_mini all"
71
+ ],
72
+ "development": [
73
+ "last 1 chrome version",
74
+ "last 1 firefox version",
75
+ "last 1 safari version"
76
+ ]
42
77
  },
43
78
  "author": "JaganKumar <jagan.kumar@egov.org.in>",
44
79
  "keywords": [
@@ -48,4 +83,4 @@
48
83
  "digit-ui",
49
84
  "libraries"
50
85
  ]
51
- }
86
+ }
package/CHANGELOG.md DELETED
@@ -1,153 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.9.2] [13-November-2025]
4
- ### Bug fix
5
- - Fixed the logout redirection issue
6
- - added back the support for LOGOUT_REDIRECT_URL config
7
-
8
-
9
- ## [1.9.1] [12-November-2025]
10
- ### Bug fix
11
- - Fixed the logout redirection issue
12
-
13
- ## [1.9.0] [28-October-2025]
14
-
15
- ### 🚀 Enhanced Libraries & Core Utilities
16
-
17
- #### 📚 Advanced Hooks & Services:
18
- - **Enhanced Multi-Tenant Support**:
19
- - Updated useCustomMDMS hook with improved multi-tenant capabilities
20
- - Enhanced tenant context management and switching
21
- - Better integration with Core v1.9.0 multi-tenant architecture
22
- - **Improved API Hooks**:
23
- - Enhanced useCustomAPIHook with better error handling and retry logic
24
- - Updated useCustomAPIMutationHook with improved request management
25
- - Better header and method handling in API requests
26
- - **Enhanced Data Management**:
27
- - Improved useMDMS hook with MDMS v2 API support
28
- - Better caching strategies for improved performance
29
- - Enhanced data fetching and state management
30
-
31
- #### 🛠️ Utility Enhancements:
32
- - **PDF Generation**: Enhanced PDF download logic with better formatting
33
- - **Field Utilities**: Improved field ID generation and validation utilities
34
- - **Localization**: Enhanced localization cache management and cleanup
35
- - **Configuration**: Better configuration utilities and merge strategies
36
- - **Browser Utils**: Enhanced browser detection and compatibility utilities
37
-
38
- #### 🔧 Service Layer Improvements:
39
- - **API Service Abstractions**: Enhanced service layer patterns
40
- - **Error Handling**: Improved centralized error handling and logging
41
- - **Authentication**: Better authentication and authorization utilities
42
- - **File Services**: Enhanced file upload and management capabilities
43
-
44
- #### 🎯 Performance Optimizations:
45
- - **Bundle Optimization**: Reduced bundle size through better tree-shaking
46
- - **Memory Management**: Improved memory usage and cleanup
47
- - **Caching Strategies**: Enhanced data caching and invalidation
48
- - **Lazy Loading**: Better lazy loading patterns for improved performance
49
-
50
- ### Technical Improvements:
51
- - **Module Architecture**: Enhanced library structure and organization
52
- - **TypeScript Support**: Better TypeScript definitions and support
53
- - **Testing**: Improved test coverage and utilities
54
- - **Documentation**: Enhanced inline documentation and examples
55
-
56
- ### Multi-Tenant & Integration Features:
57
- - **Advanced Multi-Tenant Support**:
58
- - Compatible with Core v1.9.0 multi-tenant architecture
59
- - Enhanced tenant-specific configuration handling
60
- - Better data isolation and security patterns
61
- - **Cross-Module Integration**:
62
- - Enhanced integration patterns between modules
63
- - Better shared state management
64
- - Improved communication patterns
65
-
66
- ### Bug Fixes:
67
- - Fixed module stability and performance issues
68
- - Resolved MDMS v2 API integration problems
69
- - Fixed localization and caching issues
70
- - Improved error handling across all utilities
71
- - Enhanced browser compatibility and performance
72
-
73
- ### Global Config Integration:
74
- - **Full Global Config Support**: Enhanced support for all global configuration flags
75
- - **Dynamic Configuration**: Better dynamic configuration loading and management
76
- - **Environment Handling**: Improved environment-specific configuration
77
- - **Feature Flags**: Enhanced feature flag support and management
78
-
79
-
80
- ## [1.9.0-rc2] [27-Oct-2025]
81
- - Test Build for release after master merge
82
-
83
- ## [1.9.0-rc1] [27-Oct-2025]
84
- - Test Build for release
85
-
86
- ## [1.8.23] [8-sept-2025]
87
- - New PDF download logic added
88
-
89
- ## [1.8.19] [5-Aug-2025]
90
- - Updated field util to generate field id
91
-
92
- ## [1.8.18] [21-Jul-2025]
93
- - Checking with ui-components as dependency
94
-
95
- ## [1.8.17] [26-Jun-2025]
96
- - Checking useCustomAPIHook with the new version
97
-
98
- ## [1.8.16] [20-Jun-2025]
99
- - Checking the new version due to corrupted local
100
-
101
-
102
- ## [1.8.15] [16-Jun-2025]
103
- - provided download of alll data per schema & enable based on flag
104
- - provided download of alll data per schema 'ENABLE_MDMS_BULK_DOWNLOAD'
105
-
106
- ## [1.8.14] [10-Jun-2025]
107
- - integrated with updated version
108
-
109
- ## [1.8.13] [25-Apr-2025]
110
- - Updated Custom mutation hook and usecutsomAPI hook to handle header and method in request.
111
-
112
- ## [1.8.11] [11-Mar-2025]
113
- - Added new function to remove localisation cache
114
-
115
- ## [1.8.10] [21-Feb-2025]
116
- - Publishing a new version for more stability & as part of Components Release
117
-
118
- ## [1.8.9] [1-Feb-2025]
119
- - FEATURE/HCMPRE-1425 : Added the workbench module patches and Updated localisation search screen, and core module #2181
120
- - Upgraded with new Components in core, workbench screens
121
-
122
- ## [1.8.8] [21-Jan-2025]
123
- - Removed support for any new context path to have employee linked in the url.To use this,the new context path should be linked with employee.
124
-
125
- ## [1.8.5] [26-Nov-2024]
126
- - added new field util to generate field id
127
-
128
- ## [1.8.4] [19-Nov-2024]
129
- - Fixed the module stablity & new components integrated, sandbox enabled
130
-
131
- ## [1.8.3]
132
- -
133
-
134
- ## [1.8.2-beta.7]
135
- - Added select function support for mdms-v2 in useCustomMDMS hook
136
-
137
- ## [1.8.2-beta.1]
138
- - Formatted changelog file.
139
-
140
- ## [1.8.1-beta.4]
141
- - Enhanced to load screen even if mdms is failing
142
-
143
- ## [1.8.1-beta.3]
144
- - other fixes.
145
-
146
- ## [1.8.1-beta.2]
147
- - Enhanced `useCustomMdms` hook to support version 2 of MDMS API calls.
148
-
149
- ## [1.8.1-beta.1]
150
- - Added the README file.
151
-
152
- ## [1.5.23]
153
- - Base version.