@egovernments/digit-ui-module-core 2.0.0-dev-20 → 2.0.0-dev-21

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/CHANGELOG.md ADDED
@@ -0,0 +1,513 @@
1
+ # Changelog
2
+
3
+ ## ["2.0.0-dev-15"] [25-Feb-2026]
4
+ - Removed unneccessary isUserRegistered check and directly handing the logic based on sendOtp network call success or failure status
5
+
6
+ ## ["2.0.0-dev-14"] [23-Feb-2026]
7
+ - Backlink bugfix for citizen in edit profile screen
8
+
9
+ ## ["2.0.0-dev-13"] [09-Feb-2026]
10
+ - Incremented the version for core publish fix
11
+
12
+ ## ["2.0.0-dev-12"] [09-Feb-2026]
13
+ - Added conditional screens for web view of citizen
14
+
15
+ ## ["2.0.0-dev-11"] [09-Feb-2026]
16
+ - Fixed arguments for individualUserProfile
17
+
18
+ ## ["2.0.0-dev-09"] [30-JAN-2026]
19
+ - Changes from react17 core merge which was done for studio
20
+
21
+ ## ["2.0.0-dev-02"] [24-Nov-2025]
22
+ - Made SideNav and Header's theme and variant configurable via globalConfigs
23
+
24
+ ## ["2.0.0-dev-01"] [3-Nov-2025]
25
+ -Optimised packages of core with lazy implementation republish
26
+
27
+
28
+ ## ["2.0.0-rc19-05"] [26-Sep-2025]
29
+ -Optimised packages of core with lazy implementation
30
+
31
+ ## ["2.0.0-rc19-02"] [27-Jun-2025]
32
+ -Added new logic for language selection page
33
+
34
+ ## [1.8.35-rc19.02] [27-Jun-2025]
35
+ -Accessibility features implemented
36
+ -New HOC component withAutoFocusMain.js added for targeted keyboard focus
37
+ -Webpack config changes for css compatibility
38
+
39
+ ## [1.8.35-rc19.01] [27-Jun-2025]
40
+ - core(1.8.35) from develop Upgraded to react19
41
+ - App.js changes in routes
42
+ - webpack for build
43
+ - npm packages upgraded and syntax changed to make them react19 compatible
44
+ - react, react-dom, react-router-dom and @tanstack/react-query are in peer dependencies now to avoid version conflict
45
+
46
+
47
+ ## [1.9.0] [28-October-2025]
48
+
49
+ ### 🚀 Major Feature Release - Enhanced Authentication & Multi-Tenant Support
50
+
51
+ #### 🔐 Complete Authentication System Overhaul:
52
+ - **Login v2 System**: New Login-v2 module with enhanced security and UX
53
+ - Advanced configuration system with config-v2.js
54
+ - Email and mobile number login flows with pattern validation
55
+ - OTP customization with OtpCustomComponent
56
+ - SignUp v2 with improved validation and user experience
57
+ - **Enhanced OTP System**:
58
+ - New Otp module with advanced customization options
59
+ - Better error handling and validation
60
+ - Support for email-based OTP verification
61
+ - **Carousel Login Experience**:
62
+ - New Carousel component for interactive login screens
63
+ - Dynamic banner rendering with conditional logic
64
+ - Improved visual hierarchy and user guidance
65
+
66
+ #### 🏢 Multi-Tenant & Configuration Features:
67
+ - **Advanced Multi-Tenant Support**:
68
+ - `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT` global config flag
69
+ - Enhanced ULB service for dynamic tenant switching
70
+ - Tenant-specific logo support with `logoUrlWhite` option
71
+ - Improved tenant context management across sessions
72
+ - **Landing Page Configuration**:
73
+ - New LandingPageConfig.js for customizable home screens
74
+ - Role-based employee home pages with RoleBasedEmployeeHome component
75
+ - Configurable default landing pages (`defaultLanding` parameter)
76
+ - **User Type Restrictions**:
77
+ - `allowedUserTypes` parameter for controlling access (citizen/employee)
78
+ - Enhanced routing based on user permissions
79
+ - Better security through access control
80
+
81
+ #### 🎨 New UI Components & Features:
82
+ - **SandBox Integration**:
83
+ - New SandBoxHeader component with dedicated styling
84
+ - SandboxHeader.svg for branding consistency
85
+ - Sandbox-specific routing and configuration
86
+ - **Enhanced Error Handling**:
87
+ - CustomErrorComponent for better error messaging
88
+ - DummyLoader component for improved loading states
89
+ - Better error boundary management
90
+ - **Privacy & Compliance**:
91
+ - New PrivacyComponent for GDPR/privacy compliance
92
+ - Enhanced consent management
93
+ - Configurable privacy policies
94
+ - **Utility Components**:
95
+ - ImageComponent for optimized image handling
96
+ - ForgotOrganizationTooltip for better user guidance
97
+ - LoginSignupSelector for streamlined access
98
+
99
+ #### 🔧 Advanced Hooks & Configuration:
100
+ - **New Custom Hooks**:
101
+ - useLoginConfig: MDMS-based login configuration management
102
+ - useTenantConfigSearch: Advanced tenant search and filtering
103
+ - Enhanced authentication state management
104
+ - **Configuration Management**:
105
+ - MDMS-based login screen configuration
106
+ - Module-specific privacy and compliance settings
107
+ - Dynamic component loading based on tenant settings
108
+
109
+ #### 📱 Enhanced Mobile & Responsive Features:
110
+ - **Improved Mobile Experience**:
111
+ - Better responsive design for login flows
112
+ - Enhanced mobile-specific validations
113
+ - Improved touch interactions
114
+ - **Search Enhancements**:
115
+ - Enhanced MobileSearchApplication component
116
+ - Better search field configurations
117
+ - Improved search result handling
118
+
119
+ #### 🔄 App Architecture Improvements:
120
+ - **Enhanced App.js**:
121
+ - Support for additional components injection
122
+ - Better route management with conditional rendering
123
+ - Enhanced props passing for customization
124
+ - **Module System Enhancement**:
125
+ - Better AppModules component with additional component support
126
+ - Enhanced module loading and initialization
127
+ - Improved error handling in module registration
128
+
129
+ #### 🛡️ Security & Validation:
130
+ - **Enhanced Validation**:
131
+ - Pattern validation for email and mobile numbers
132
+ - Improved password security requirements
133
+ - Better input sanitization
134
+ - **Access Control**:
135
+ - Role-based access restrictions
136
+ - Enhanced permission checking
137
+ - Better security for sensitive operations
138
+
139
+ ### Technical Updates:
140
+ - Enhanced CitizenSideBar and EmployeeSideBar components
141
+ - Improved TopBarSideBar integration
142
+ - Better state management across authentication flows
143
+ - Enhanced error boundary implementations
144
+ - Improved logo management with dual logo support
145
+
146
+ ### Global Config Integration:
147
+ - `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT`: Multi-tenant context switching
148
+ - `allowedUserTypes`: User access control
149
+ - `defaultLanding`: Customizable landing page routing
150
+ - MDMS-based configuration for login, privacy, and module settings
151
+
152
+ ## [1.9.0-rc2] [27-Oct-2025]
153
+ - Test Build for release after master merge
154
+
155
+ ## [1.9.0-rc1] [27-Oct-2025]
156
+ - Test Build for release
157
+
158
+ ## [1.8.57] [28-October-2025]
159
+
160
+ ### New Features:
161
+ - **Multi-Tenant Support Enhancement**:
162
+ - Added support for `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT` global config flag
163
+ - Enables better multi-tenant use cases
164
+ - Improved tenant context switching logic
165
+ - **Logo Fixes**:
166
+ - Fixed logo rendering issues in header
167
+ - Updated logo URL configurations
168
+ - **Login Flow Improvements**:
169
+ - Enhanced tenant selection flow
170
+ - Better state management for logged-in tenant context
171
+
172
+ ### Technical Updates:
173
+ - Updated ULB service to handle override tenant configurations
174
+ - Improved state management for tenant switching
175
+ - Enhanced error handling in login flow
176
+
177
+ ### Global Config Integration:
178
+ - Supports new flag: `OVERRIDE_ROOT_TENANT_WITH_LOGGEDIN_TENANT`
179
+ - Backward compatible with existing tenant configurations
180
+
181
+ ## [1.8.55] [8th-Oct-2025]
182
+ - Updated the email and mobilenumber login flow with pattern validation, link instead of toggle and state management fixes
183
+
184
+ ## [1.8.54] [8th-Oct-2025]
185
+ - Updated the validation for email, css fix and email sending in payload while otp flow
186
+
187
+ ## [1.8.53] [8th-Oct-2025]
188
+ - Added dynamicLoginComponent (custom) to be displayed below login card
189
+
190
+ ## [1.8.52] [7th-Oct-2025]
191
+ - Added fix for privacy policy error
192
+
193
+ ## [1.8.51] [6th-Oct-2025]
194
+ - Added the redirection fix in citizen side after login and max length fix for mobile number
195
+
196
+ ## [1.8.50] [3rd-Oct-2025]
197
+ - updated the citizen home page to not to filter the cards using module, directly show citizen menu details
198
+
199
+ ## [1.8.49] [22-Sep-2025]
200
+ - updated the login componenet to handle email based login
201
+
202
+ ## [1.8.47] [22-Sep-2025]
203
+ - Carousel Transitions Added, OTP Page Text bold and minor ui tweeks
204
+
205
+ ## [1.8.46] [13-Sep-2025]
206
+ - Added new logic for language selection page
207
+
208
+ ## [1.8.44] [15-July-2025]
209
+ - Citizen login page continue button added
210
+
211
+
212
+ ## [1.8.43] [26-June-2025]
213
+ - Login and SignUp Pages UI for Sandbox is updated
214
+ - Sandbox Product Details Page Updated
215
+
216
+ ## [1.8.42] [18-Jun-2025]
217
+ - Updated the loader logic in login page
218
+
219
+ ## [1.8.41] [12-Jun-2025]
220
+ - Introduced new hook useLoginConfig for mdms call
221
+
222
+ ## [1.8.40] [11-Jun-2025]
223
+ - Added module name config for login and privacy screen
224
+
225
+ ## [1.8.39] [11-Jun-2025]
226
+ - integrated with updated version
227
+
228
+ ## [1.8.38] - [06-June-2025]
229
+ - Added Fragment wherever required as older version of react doesn't support <></>
230
+ PrivateRoute is using `component as a prop in index.js file
231
+
232
+ ## [1.8.37] - [04-June-2025]
233
+ - Added an additional component Carousel.js
234
+ config updated as per additional carousel component
235
+ Updated FormComposer usage in login.js with conditional banner rendering.
236
+ Leveraged newly added class .login-form-container for styling the Login page.
237
+
238
+ ## [1.8.36] [27-May-2025]
239
+ - FEATURE/CCSD-216 : Privacy component alignment changes
240
+
241
+ ## [1.8.33] [9-April-2025]
242
+ - FEATURE/CCSD-57 :Sandbox Changes
243
+
244
+ ## [1.8.32] [10-Mar-2025]
245
+ - FEATURE/DUCE-0246 :Userprofile password trimming
246
+
247
+ ## [1.8.31] [10-Mar-2025]
248
+ - FEATURE/DUCE-246 :Login page username and password trimming
249
+
250
+ ## [1.8.30] [07-Mar-2025]
251
+ - BUGFIX/DUCE-243 : Updated breadcrumb and regex validation mapping in user profile
252
+
253
+ ## [1.8.28] [27-Feb-2025]
254
+ - BUGFIX/SN-162 : Citizen sms otp fix
255
+
256
+ ## [1.8.28] [27-Feb-2025]
257
+ - BUGFIX/SN-162 : Citizen otp fix in the Login page.
258
+
259
+ ## [1.8.26] [21-Feb-2025]
260
+ - Publishing a new version for more stability & as part of Components Release
261
+
262
+ ## [1.8.25] [13-Feb-2025]
263
+ - Added id prop for Privacy Component Checkbox
264
+
265
+ ## [1.8.24] [3-Feb-2025]
266
+ - Fixed core issues and related found in PGR Ethopia demo
267
+
268
+ ## [1.8.23] [3-Feb-2025]
269
+ - FEATURE/HCMPRE-1852 : POC for single landing ui for users added extra route for no-top-bar/employee
270
+
271
+ ## [1.8.22] [3-Feb-2025]
272
+ - FEATURE/HCMPRE-2208 : Fixed some loader component issue
273
+ - added new prop called allowedUserTypes to restrict any user type if needed
274
+
275
+ ## [1.8.21] [1-Feb-2025]
276
+ - FEATURE/HCMPRE-1425 : Added the workbench module patches and Updated localisation search screen, and core module #2181
277
+ - Upgraded with new Components in core, workbench screens
278
+
279
+ ## [1.8.19] [23-Jan-2025]
280
+ - Fixed import issues of new ui-components
281
+
282
+ ## [1.8.18] [23-Jan-2025]
283
+ - FIxed some of FEATURE/HCMPRE-1852 :: Fixed some console logs
284
+
285
+ ## [1.8.17] [23-Jan-2025]
286
+ - FIxed some of FEATURE/HCMPRE-1852 :: accessibility issues of dropdown & checkbox(#2120)
287
+
288
+ ## [1.8.16] [23-Jan-2025]
289
+ - FIxed some of FEATURE/HCMPRE-1852 :: accessibility issues of image(#2120)
290
+
291
+ ## [1.8.15] [21-Jan-2025]
292
+ - 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.
293
+
294
+ ## [1.8.13] [16-Dec-2024]
295
+ - Made validations for name, mobile number, and password fields in user profile update screen configurable through MDMS data
296
+ - Implemented dynamic regex validation for profile updates based on MDMS data
297
+ - Added support for custom regex patterns through `UserProfileValidationConfig`
298
+ - Example MDMS data: https://github.com/egovernments/egov-mdms-data/blob/UNIFIED-QA/data/mz/commonUIConfig/UserProfileValidationConfig.json
299
+
300
+ ## [1.8.11] [26-Nov-2024]
301
+ - Republished with new component version incremented
302
+
303
+ ## [1.8.10] [19-Nov-2024]
304
+ - Fixed the module stablity & new components integrated republihsing the same due to component version issue,
305
+
306
+ ## [1.8.3]
307
+ - Fixed the module stablity & new components integrated, sandbox enabled
308
+
309
+ ## 1.8.2-beta.27
310
+ - Integrated new Landingpage card component & its wrapper
311
+
312
+ ## 1.8.2-beta.17
313
+ - Integrated new topbar,sidebar and hambuger
314
+
315
+ ## 1.8.2-beta.12
316
+ - Updated the css
317
+
318
+ ## 1.8.2-beta.11
319
+ - Changed the policy schema
320
+
321
+ ## 1.8.2-beta.10
322
+ - Enchanced Privacy component for table of contents
323
+
324
+ ## 1.8.2-beta.9
325
+ - Added classname for languageselection
326
+
327
+ ## 1.8.2-beta.8
328
+ - Fixed header logout issue
329
+
330
+ ## 1.8.2-beta.7
331
+ - Added privacy component in mdms
332
+
333
+ ## 1.8.2-beta.6
334
+ - Fixed forgot password link
335
+
336
+ ## 1.8.2-beta.5
337
+ - Added Privacy Component(Don't use beta.4 has issues)
338
+
339
+ ## 1.8.2-beta.4
340
+ - Added Privacy Component
341
+
342
+ ## 1.8.2-beta.2
343
+ - Updated LogoutDialog
344
+
345
+ ## 1.8.2-beta.1
346
+ - Fixed the jenkins build issue
347
+
348
+ ## 1.8.1-beta.23
349
+ - Added a new classname to homescreen classes.
350
+
351
+ ## 1.8.1-beta.21
352
+ - Updated Toast Component Props.
353
+
354
+ ## 1.8.1-beta.18
355
+ - Updated utilities module Kibana logic to support sidebar actions.
356
+
357
+ ## 1.8.1-beta.17
358
+ - Updated UI components: Toast, RemovableTag, and ErrorMessage.
359
+
360
+ ## 1.8.1-beta.16
361
+ - Updated library with spacers and CSS.
362
+ - Modified dropdown in UI components.
363
+
364
+ ## 1.8.1-beta.15
365
+ - Updated UI components dropdown option labels.
366
+ - Updated version of UI components and CSS.
367
+
368
+ ## 1.8.1-beta.14
369
+ - Updated UI components and CSS versions for dropdown option labels and toast info.
370
+
371
+ ## 1.8.1-beta.13
372
+ - Updated UI components and CSS versions.
373
+
374
+ ## 1.8.1-beta.12
375
+ - Used a new Primary constant color `#c84c0e`.
376
+ - **Note:** Use this version with CSS 1.8.1-beta.8, component 1.8.1-beta.15.
377
+
378
+ ## 1.8.1-beta.11
379
+ - Enhancements of components and CSS.
380
+
381
+ ## 1.8.1-beta.10
382
+ - Fixed login screen issue.
383
+
384
+ ## 1.8.1-beta.9
385
+ - Fixed stability issue.
386
+
387
+ ## 1.8.1-beta.8
388
+ - Enhanced to load screen even if MDMS is failing.
389
+
390
+ ## 1.8.1-beta.7
391
+ - Added custom support for all SVG icons to be used in the sidebar by specifying the icon as `svg:localairport` (svg:iconname).
392
+
393
+ ## 1.8.1-beta.6
394
+ - Resolved duplicacy issue in the Sidebar.
395
+
396
+ ## 1.8.1-beta.5
397
+ - Fixed Sidebar Path issue.
398
+
399
+ ## 1.8.1-beta.4
400
+ - Added a null check for homescreen landing issue.
401
+
402
+ ## 1.8.1-beta.3
403
+ - User profile back button fixes for mobile view.
404
+
405
+ ## 1.8.1-beta.2
406
+ - User profile Save and Change Password button fixes for mobile view.
407
+
408
+ ## 1.8.1-beta.1
409
+ - Republished after merging with Master due to version issues.
410
+
411
+ ## 1.8.0-beta.16
412
+ - Fixed the hardcoded logout message.
413
+
414
+ ## 1.8.0-beta.15
415
+ - Fixed the sidebar sort order issue.
416
+
417
+ ## 1.8.0-beta.14
418
+
419
+ ## 1.8.0-beta.13
420
+
421
+ ## 1.8.0-beta.12
422
+
423
+ ## 1.8.0-beta.11
424
+ - Republished due to some version issues.
425
+
426
+ ## 1.8.0-beta.10
427
+ - Constants updated for mgramsewa.
428
+
429
+ ## 1.8.0-beta.9
430
+ - Updated How It Works screen to take header from MDMS config and show PDF card only when required.
431
+
432
+ ## 1.8.0-beta.8
433
+ - Redefined additional component to render only under employee home page.
434
+
435
+ ## 1.8.0-beta.6
436
+ - Added additional component render for TQM modules.
437
+
438
+ ## 1.8.0
439
+ - Workbench v1.0.
440
+
441
+ ## 1.8.0-beta.5
442
+ - Fix for login screen alignments.
443
+
444
+ ## 1.8.0-beta.4
445
+ - Made the default localisation in global config.
446
+
447
+ ## 1.8.0-beta
448
+ - Workbench base version beta release.
449
+
450
+ ## 1.7.0
451
+ - Urban 2.9.
452
+
453
+ ## 1.6.0
454
+ - Urban 2.8.
455
+
456
+ ## 1.5.43
457
+ - Redirection issue fix in case of no roles in selected city.
458
+
459
+ ## 1.5.46
460
+ - Added classname for topbar options dropdown.
461
+
462
+ ## 1.5.45
463
+ - Alignment issue in edit and logout.
464
+
465
+ ## 1.5.44
466
+ - Updated login SCSS and alignment issues.
467
+
468
+ ## 1.5.42
469
+ - Fixed the MDMS call in login component for dynamic updating.
470
+
471
+ ## 1.5.41
472
+ - Updated the readme content.
473
+
474
+ ## 1.5.40
475
+ - Updated the login component to handle MDMS config, which can be accessed from master - `commonUiConfig` and module - `LoginConfig`.
476
+
477
+ ## 1.5.39
478
+ - Show the Toast when password changed and need to logout from profile page.
479
+
480
+ ## 1.5.38
481
+ - Enabled the admin mode for employee login which can be accessed through route `employee/user/login?mode=admin`.
482
+ - Updated to use `formcomposerv2`.
483
+
484
+ ## 1.5.37
485
+ - Fixed hiding upload drawer icons.
486
+
487
+ ## 1.5.36
488
+ - Fixed error when clicking on change password and then trying to save profile without changing the password.
489
+
490
+ ## 1.5.35
491
+ - Fixed user profile email being prefilled when clicking on change password.
492
+
493
+ ## 1.5.34
494
+ - Fixed module not found redirection issue.
495
+
496
+ ## 1.5.33
497
+ - Fixed payment not throwing error page for sanitation.
498
+
499
+ ## 1.5.32
500
+ - Fixed the localisation issue by adding translation to the keys.
501
+ - Fixed payment response issue for sanitation UI.
502
+
503
+ ## 1.5.31
504
+ - Fixed the all services screen back button for sanitation UI.
505
+
506
+ ## 1.5.30
507
+ - Fixed the home routing issue in error screen.
508
+
509
+ ## 1.5.29
510
+ - Added the readme file.
511
+
512
+ ## 1.5.28
513
+ - Fixed the route issue for profile screen.