@djb25/digit-ui-css 1.0.2 → 1.0.3

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.
Files changed (98) hide show
  1. package/README.md +80 -0
  2. package/dist/index.css +7 -15823
  3. package/dist/index.min.css +1 -1
  4. package/package.json +1 -1
  5. package/src/components/CardBasedOptions.scss +36 -97
  6. package/src/components/CitizenHomeCard.scss +41 -43
  7. package/src/components/PageBasedInput.scss +0 -2
  8. package/src/components/PropertySearchForm.scss +4 -4
  9. package/src/components/SearchOnRadioButton.scss +1 -1
  10. package/src/components/StandaloneSearchBar.scss +1 -1
  11. package/src/components/TimeLine.scss +4 -4
  12. package/src/components/bannercomponents.scss +3 -4
  13. package/src/components/body.scss +4 -7
  14. package/src/components/buttons.scss +57 -1
  15. package/src/components/card.scss +97 -42
  16. package/src/components/charts.scss +3 -150
  17. package/src/components/checkbox.scss +4 -35
  18. package/src/components/checkpoint.scss +1 -3
  19. package/src/components/datatable.scss +65 -7
  20. package/src/components/filters.scss +3 -3
  21. package/src/components/financeUi.scss +875 -0
  22. package/src/components/hoc/InboxComposer.scss +1 -1
  23. package/src/components/inboxv2/InboxLinks.scss +59 -0
  24. package/src/components/inboxv2/horizontalNav.scss +224 -0
  25. package/src/components/inboxv2/inboxSearch.scss +116 -0
  26. package/src/components/inboxv2/inboxSearchComposer.scss +134 -0
  27. package/src/components/inboxv2/index.scss +5 -0
  28. package/src/components/inboxv2/searchComponentTable.scss +44 -0
  29. package/src/components/languageSelector.scss +1 -2
  30. package/src/components/loader.scss +1 -1
  31. package/src/components/metricsTable.scss +2 -1
  32. package/src/components/multiLink.scss +1 -1
  33. package/src/components/multiSelectDropdown.scss +4 -0
  34. package/src/components/navbar.scss +13 -9
  35. package/src/components/plusMinus.scss +3 -3
  36. package/src/components/radiobtn.scss +0 -12
  37. package/src/components/searchAction.scss +1 -1
  38. package/src/components/selectdropdown.scss +12 -37
  39. package/src/components/sidebar.scss +141 -0
  40. package/src/components/table.scss +60 -8
  41. package/src/components/textfields.scss +4 -16
  42. package/src/components/toggleSwitch.scss +1 -1
  43. package/src/components/topbar.scss +11 -8
  44. package/src/components/uploadcomponents.scss +3 -16
  45. package/src/digitv2/components/ErrorMessage.scss +6 -0
  46. package/src/digitv2/components/FormComposerV2.scss +120 -0
  47. package/src/digitv2/components/actionLinkV2.scss +7 -0
  48. package/src/digitv2/components/actionbarV2.scss +110 -0
  49. package/src/digitv2/components/appContainerV2.scss +55 -0
  50. package/src/digitv2/components/backButtonV2.scss +26 -0
  51. package/src/digitv2/components/bannerV2.scss +120 -0
  52. package/src/digitv2/components/bodyContainerV2.scss +39 -0
  53. package/src/digitv2/components/breadCrumbV2.scss +31 -0
  54. package/src/digitv2/components/breakLineV2.scss +6 -0
  55. package/src/digitv2/components/buttonsV2.scss +40 -0
  56. package/src/digitv2/components/cardV2.scss +385 -0
  57. package/src/digitv2/components/checkboxV2.scss +61 -0
  58. package/src/digitv2/components/checkpointV2.scss +71 -0
  59. package/src/digitv2/components/collapseAndExpandGroups.scss +60 -0
  60. package/src/digitv2/components/dateWrapV2.scss +12 -0
  61. package/src/digitv2/components/displayPhotosV2.scss +33 -0
  62. package/src/digitv2/components/headerV2.scss +6 -0
  63. package/src/digitv2/components/infoBannerV2.scss +37 -0
  64. package/src/digitv2/components/keynoteV2.scss +35 -0
  65. package/src/digitv2/components/loaderV2.scss +81 -0
  66. package/src/digitv2/components/mobileNumberV2.scss +33 -0
  67. package/src/digitv2/components/multiSelectDropdownV2.scss +92 -0
  68. package/src/digitv2/components/noresultsfoundV2.scss +11 -0
  69. package/src/digitv2/components/otpInputV2.scss +15 -0
  70. package/src/digitv2/components/popUpV2.scss +16 -0
  71. package/src/digitv2/components/radiobtnV2.scss +51 -0
  72. package/src/digitv2/components/ratingV2.scss +33 -0
  73. package/src/digitv2/components/selectdropdownV2.scss +170 -0
  74. package/src/digitv2/components/tagV2.scss +28 -0
  75. package/src/digitv2/components/telephoneV2.scss +18 -0
  76. package/src/digitv2/components/textInputV2.scss +123 -0
  77. package/src/digitv2/components/textareaV2.scss +11 -0
  78. package/src/digitv2/components/uploadFileV2.scss +146 -0
  79. package/src/digitv2/index.scss +168 -0
  80. package/src/digitv2/pages/employee/index.scss +1 -0
  81. package/src/digitv2/pages/employee/workbench.scss +1042 -0
  82. package/src/digitv2/typography.scss +241 -0
  83. package/src/index.scss +109 -74
  84. package/src/pages/citizen/DocumentList.scss +5 -5
  85. package/src/pages/citizen/HomePageWrapper.scss +6 -11
  86. package/src/pages/citizen/container.scss +1 -1
  87. package/src/pages/employee/cardfix.scss +1 -2
  88. package/src/pages/employee/container.scss +8 -9
  89. package/src/pages/employee/dss.scss +29 -12
  90. package/src/pages/employee/inbox.scss +91 -144
  91. package/src/pages/employee/index.scss +244 -248
  92. package/src/pages/employee/login.scss +135 -93
  93. package/src/pages/employee/popupmodule.scss +0 -13
  94. package/src/pages/employee/scroll-table.scss +9 -4
  95. package/src/pages/employee/surveys.scss +14 -13
  96. package/svg/check.svg +1 -1
  97. package/svg/starempty.svg +1 -1
  98. package/svg/starfilled.svg +1 -1
@@ -53,11 +53,11 @@
53
53
  }
54
54
 
55
55
  .docsDescription {
56
- color: #0b0c0c !important;
56
+ color: theme(colors.text.primary) !important;
57
57
  }
58
58
 
59
59
  .field-container {
60
- @apply flex items-center;
60
+ @apply flex items-center;
61
61
  /*@apply flex justify-center items-center;*/
62
62
  }
63
63
 
@@ -78,7 +78,7 @@
78
78
  @apply text-text-primary text-heading-m font-bold;
79
79
  }
80
80
 
81
- .card-section-sub-text{
81
+ .card-section-sub-text {
82
82
  @apply text-text-primary text-body-s;
83
83
  }
84
84
 
@@ -126,10 +126,7 @@
126
126
  padding-left: 25px;
127
127
  }
128
128
  }
129
- .employeeCard.fsm {
130
- margin-bottom: 64px !important;
131
- margin-left: 0px !important;
132
- margin-right: 16px !important; }
129
+
133
130
  .header-wrap {
134
131
  @apply flex mb-md;
135
132
 
@@ -138,6 +135,7 @@
138
135
  }
139
136
 
140
137
  .header-content {
138
+ margin-top: 0.2rem;
141
139
  }
142
140
 
143
141
  .header-end {
@@ -154,8 +152,10 @@
154
152
  }
155
153
 
156
154
  .submit-bar {
157
- @apply h-10 bg-primary-main text-center w-full outline-none;
158
- box-shadow: inset 0px -2px 0px #0b0c0c;
155
+ @apply h-10 text-center w-full outline-none;
156
+ background: linear-gradient(135deg, #667eea, #764ba2);
157
+ box-shadow: inset 0px -2px 0px theme(colors.text.primary);
158
+ cursor: pointer;
159
159
 
160
160
  &:focus {
161
161
  @apply outline-none;
@@ -167,8 +167,8 @@
167
167
  }
168
168
 
169
169
  .submit-bar-disabled {
170
- @apply h-10 bg-primary-main text-center w-full outline-none opacity-50;
171
- background-color: #882636 !important;
170
+ @apply h-10 text-center w-full outline-none opacity-50;
171
+ background: linear-gradient(135deg, #667eea, #764ba2);
172
172
 
173
173
  &:focus {
174
174
  @apply outline-none;
@@ -176,16 +176,14 @@
176
176
 
177
177
  header {
178
178
  @apply font-rc font-medium text-legend text-white leading-10;
179
- line-height: 2rem !important;
180
179
  }
181
180
  }
182
181
 
183
182
  @screen dt {
183
+
184
184
  .submit-bar,
185
185
  .submit-bar-disabled {
186
186
  width: 240px;
187
- background-color: #882636 !important;
188
- height: 2rem !important
189
187
  }
190
188
 
191
189
  .card {
@@ -215,7 +213,10 @@
215
213
  }
216
214
 
217
215
  .employeeCard {
218
- @apply mb-md mx-md !important;
216
+ /* TODO need to revisit that we need mx-md NABEEL/ANIL
217
+ @apply mb-md mx-md !important;
218
+ */
219
+ @apply mb-md !important;
219
220
 
220
221
  &.filter {
221
222
  margin-left: auto;
@@ -240,7 +241,7 @@
240
241
  @apply text-heading-m-dt;
241
242
  }
242
243
 
243
- .card-section-sub-text{
244
+ .card-section-sub-text {
244
245
  @apply text-text-primary text-body-s-dt;
245
246
  }
246
247
 
@@ -265,8 +266,14 @@
265
266
  @apply text-left;
266
267
  }
267
268
 
269
+ /*
268
270
  .label-field-pair {
269
271
  @apply flex items-center;
272
+ gap: 1rem;
273
+
274
+ .card-label-smaller {
275
+ min-width: 250px;
276
+ }
270
277
 
271
278
  h2 {
272
279
  width: 30%;
@@ -275,11 +282,75 @@
275
282
  .field {
276
283
  width: 50%;
277
284
  margin-right: 20%;
285
+ flex: 1;
286
+
278
287
  .field {
279
288
  margin-right: unset;
280
289
  }
281
290
  }
282
291
  }
292
+ */
293
+
294
+ /* CSS for vertical label-field layout */
295
+
296
+ .label-field-pair {
297
+ display: flex;
298
+ flex-direction: column;
299
+ gap: 8px;
300
+ /* Adjust spacing between label and field */
301
+ margin-bottom: 16px;
302
+ /* Space between form groups */
303
+ }
304
+
305
+ .label-field-pair .card-label-smaller {
306
+ margin-bottom: 0;
307
+ font-weight: 500;
308
+ color: #333;
309
+ font-size: 14px;
310
+ line-height: 1.4;
311
+ }
312
+
313
+ .label-field-pair .field {
314
+ width: 100%;
315
+ }
316
+
317
+ /* Ensure the text input takes full width of its container */
318
+ .label-field-pair .field .text-input {
319
+ width: 100%;
320
+ }
321
+
322
+ .label-field-pair .field .text-input input {
323
+ width: 100%;
324
+ box-sizing: border-box;
325
+ }
326
+
327
+ /* Optional: Add some styling to make it look cleaner */
328
+ .label-field-pair .field .text-input input:focus {
329
+ outline: none;
330
+ border-color: #007bff;
331
+ box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
332
+ }
333
+
334
+ /* Responsive adjustments if needed */
335
+ @media (max-width: 768px) {
336
+ .label-field-pair {
337
+ gap: 6px;
338
+ }
339
+
340
+ .label-field-pair .card-label-smaller {
341
+ font-size: 13px;
342
+ }
343
+ }
344
+
345
+ /* Remove any default margins that might interfere */
346
+ .label-field-pair>* {
347
+ margin: 0;
348
+ }
349
+
350
+ /* Ensure proper spacing for the mandatory asterisk */
351
+ .label-field-pair .card-label-smaller::after {
352
+ margin-left: 2px;
353
+ }
283
354
 
284
355
  .field-container {
285
356
  span {
@@ -303,8 +374,7 @@
303
374
  margin-right: auto;
304
375
  }
305
376
 
306
- .header-content {
307
- }
377
+ .header-content {}
308
378
 
309
379
  .header-end {
310
380
  margin-left: auto;
@@ -336,15 +406,17 @@
336
406
  .button-sub-text {
337
407
  width: 240px;
338
408
  }
409
+
339
410
  .home-page-info-banner-wrap {
340
411
  max-width: 45%;
341
- min-width: 100%;
412
+ min-width: 40%;
342
413
  margin-left: 0;
343
414
  margin-right: 24px;
344
415
  margin-bottom: 24px;
345
416
  }
346
- .info-banner-wrap-citizen-override {
347
- }
417
+
418
+ .info-banner-wrap-citizen-override {}
419
+
348
420
  .oc-aknowledgement-screen {
349
421
  width: auto;
350
422
  min-width: 240px;
@@ -364,17 +436,16 @@
364
436
  .BPAemployeeCard {
365
437
  margin-left: 0px !important;
366
438
  margin-right: 0px !important;
367
- margin-bottom: 0px !important;
439
+ margin-bottom: 64px !important;
368
440
  }
369
441
 
370
442
  .employee-application-details {
371
443
  display: flex !important;
372
- flex-direction: column !important;
373
444
  justify-content: space-between !important;
374
- max-height: 70px !important;
375
- height: 70px !important;
376
- margin-bottom: 15px !important;
445
+ max-height: 60px !important;
446
+ height: 60px !important;
377
447
  }
448
+
378
449
  .employee-main-application-details {
379
450
  padding: 10px !important;
380
451
  }
@@ -394,20 +465,4 @@
394
465
  position: unset !important;
395
466
  margin: 0 !important;
396
467
  width: 100% !important;
397
- }
398
-
399
- .language-selector .submit-bar, .submit-bar-disabled{
400
- background-color: #5a1166 !important;
401
- }
402
-
403
- .owner-details{
404
- display: flex;
405
- flex-direction: row;
406
- width: 100%;
407
- flex-wrap: wrap;
408
- justify-content: space-between
409
- }
410
-
411
- .owner-details-child{
412
- width: 50%;
413
468
  }
@@ -20,7 +20,7 @@
20
20
  .signature-img{
21
21
  top: 8px;
22
22
  right: 8px;
23
- fill: #505A5F;
23
+ fill: theme(colors.text.secondary);
24
24
  @apply absolute;
25
25
  }
26
26
 
@@ -107,7 +107,7 @@
107
107
 
108
108
  .showMore {
109
109
  @apply text-right cursor-pointer;
110
- color: #a82227;
110
+ color: theme(colors.primary.main);
111
111
  }
112
112
 
113
113
  @media (max-width: 420px) {
@@ -164,7 +164,7 @@
164
164
  .signature-img{
165
165
  top: 8px;
166
166
  right: 8px;
167
- fill: #505A5F;
167
+ fill: theme(colors.text.secondary);
168
168
  @apply absolute;
169
169
  }
170
170
  }
@@ -183,151 +183,4 @@
183
183
  }
184
184
  }
185
185
  }
186
- }
187
-
188
- .astericColor {
189
- color: #a82227 !important;
190
- }
191
-
192
- .SVTableHeader {
193
- display: flex;
194
- padding-left: 26px;
195
- width: 150px;
196
- }
197
-
198
- .SVTableCells {
199
- padding-left: 80px;
200
- width: 10px;
201
- }
202
-
203
- .SVCheckbox {
204
- width: 14px;
205
- }
206
-
207
- .svsearchbox {
208
- display: flex;
209
- flex-direction: row;
210
- align-items: center;
211
- gap: 16px;
212
- }
213
-
214
- .svsearchfield {
215
- display: flex;
216
- flex-direction: column;
217
- }
218
-
219
- .svclearall {
220
- margin-left: 30%;
221
- margin-top: 10px;
222
- display: block;
223
- }
224
-
225
- .loading-spinner {
226
- width: 20px;
227
- height: 20px !important;
228
- border: 3px solid #e5e5e5;
229
- border-top: 3px solid #000;
230
- border-radius: 50%;
231
- animation: spin 1s linear infinite;
232
- display: inline-block;
233
- margin-right: 4px;
234
- transform-origin: center center;
235
- }
236
-
237
- @keyframes spin {
238
- 0% { transform: rotate(0deg); }
239
- 100% { transform: rotate(360deg); }
240
- }
241
-
242
-
243
-
244
-
245
- .status-card {
246
- width: 24%;
247
- padding: 20px;
248
- border-radius: 10px;
249
- text-align: center;
250
- color: white;
251
- position: relative;
252
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
253
- }
254
-
255
- .status-card .count {
256
- font-size: 36px;
257
- font-weight: bold;
258
- display: block;
259
- }
260
-
261
- .status-card .title {
262
- font-size: 18px;
263
- margin-top: 10px;
264
- display: block;
265
- }
266
-
267
- .status-card .more-info {
268
- font-size: 12px;
269
- position: absolute;
270
- bottom: 10px;
271
- width: 100%;
272
- text-align: center;
273
- }
274
-
275
- .status-card.blue {
276
- background-color: rgba(239, 124, 91, 0.60);
277
- }
278
-
279
- .status-card.teal {
280
- background-color: #20c997;
281
- }
282
-
283
- .status-card.purple {
284
- background-color: rgba(4, 139, 208, 0.85);
285
- }
286
-
287
- .status-card.green {
288
- background-color: rgba(75, 31, 165, 0.60);
289
- }
290
-
291
- .typing_indicator {
292
- display: flex;
293
- gap: 4px;
294
- }
295
-
296
- .typing_indicator span {
297
- width: 8px;
298
- height: 8px;
299
- background-color: #90949c;
300
- border-radius: 50%;
301
- animation: bounce 1.4s infinite ease-in-out;
302
- }
303
-
304
- .typing_indicator span:nth-child(1) {
305
- animation-delay: -0.32s;
306
- }
307
-
308
- .typing_indicator span:nth-child(2) {
309
- animation-delay: -0.16s;
310
- }
311
-
312
- @keyframes bounce {
313
- 0%, 80%, 100% {
314
- transform: translateY(0);
315
- }
316
- 40% {
317
- transform: translateY(-6px);
318
- }
319
- }
320
-
321
- .card-container {
322
- width: 100%; /* Set the width to 100% */
323
- padding: 20px; /* Padding inside the card */
324
- border-radius: 8px; /* Rounded corners */
325
- background-color: #f9f9f9; /* Light background color */
326
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect */
327
- margin: 20px 0; /* Space from the top and bottom */
328
- box-sizing: border-box; /* Ensures padding is included in the element's total width */
329
- }
330
-
331
- .card-container .field {
332
- margin-bottom: 10px; /* Spacing between form fields inside the card */
333
186
  }
@@ -14,8 +14,8 @@
14
14
  }
15
15
 
16
16
  .custom-checkbox {
17
- width: 25px;
18
- height: 25px;
17
+ width: 38px;
18
+ height: 38px;
19
19
  @apply absolute top-0 left-0 border border-solid border-input-border z-0;
20
20
 
21
21
  img {
@@ -47,38 +47,7 @@
47
47
  }
48
48
 
49
49
  .label {
50
- margin-left: 32px;
51
- top: 3px !important;
52
- @apply text-form-field text-text-primary relative top-10;
53
- }
54
- }
55
-
56
- .fsm-citizen-rating-wrapper {
57
- .card-label:last-of-type {
58
- margin-top: 24px;
59
- }
60
-
61
- .card-label {
62
- margin-bottom: 24px;
63
- }
64
- }
65
-
66
- .fsm-citizen-rating-wrapper {
67
- .card-label:last-of-type {
68
- margin-top: 24px;
69
- }
70
-
71
- .card-label {
72
- margin-bottom: 24px;
73
- }
74
- }
75
-
76
- .fsm-citizen-rating-wrapper {
77
- .card-label:last-of-type {
78
- margin-top: 24px;
79
- }
80
-
81
- .card-label {
82
- margin-bottom: 24px;
50
+ margin-left: 56px;
51
+ @apply text-form-field text-text-primary;
83
52
  }
84
53
  }
@@ -1,5 +1,5 @@
1
1
  .checkpoint-connect-wrap {
2
- padding-bottom: 4px;
2
+ padding-bottom: 40px;
3
3
  @apply relative;
4
4
  }
5
5
  .checkpoint-done {
@@ -51,8 +51,6 @@
51
51
 
52
52
  .checkpoint-comments-wrap {
53
53
  max-width: 560px;
54
- padding: 4px;
55
- margin-top: 4px;
56
54
  @apply bg-grey-mid p-sm mt-sm;
57
55
 
58
56
  h4{
@@ -49,6 +49,8 @@
49
49
  .value {
50
50
  width: 50%;
51
51
  @apply text-heading-s;
52
+ white-space: break-spaces !important;
53
+ word-break: break-all;
52
54
  }
53
55
 
54
56
  .caption {
@@ -56,9 +58,6 @@
56
58
  @apply text-heading-s text-text-secondary;
57
59
  }
58
60
  }
59
- .vendor-details-row {
60
- margin-left: 15px !important;
61
- }
62
61
 
63
62
  .last {
64
63
  border: none;
@@ -67,10 +66,69 @@
67
66
  }
68
67
  }
69
68
 
70
- .pt-citizen {
71
- .data-table {
72
- .row {
73
- justify-content: space-between;
69
+ .employee-data-table {
70
+ .row {
71
+ @apply flex pb-sm mb-sm;
72
+
73
+ span {
74
+ width: 70%;
75
+ display: contents;
76
+ }
77
+
78
+ h2 {
79
+ width: 30%;
80
+ @apply font-medium text-heading-s;
81
+ }
82
+
83
+ .value {
84
+ white-space: break-spaces !important;
85
+ word-break: break-all;
86
+ width: 60%;
87
+ @apply text-heading-s;
88
+ &.status-row-radio {
89
+ div {
90
+ margin-right: 1rem;
91
+ width: 50%;
92
+ }
93
+ .mg-sm {
94
+ width: 30%;
95
+ }
96
+ }
97
+ }
98
+
99
+ .caption {
100
+ width: 70%;
101
+ @apply text-heading-s text-text-secondary;
102
+ }
103
+ }
104
+
105
+ .last {
106
+ border: none;
107
+ padding: 0;
108
+ margin: 0;
109
+ }
110
+ &.status-radio-table {
111
+ margin-top: 1rem;
112
+ .row {
113
+ span {
114
+ width: 24px;
115
+ display: block;
116
+ float: left;
117
+ border-radius: 50%;
118
+ }
74
119
  }
75
120
  }
121
+
122
+ &.view-header {
123
+ .row {
124
+ display: grid;
125
+ grid-template-columns: 1fr 68%;
126
+ }
127
+ }
76
128
  }
129
+
130
+
131
+ .pt-citizen {.data-table {.row {
132
+ justify-content: space-between;
133
+
134
+ }}}
@@ -20,8 +20,8 @@
20
20
  display: none;
21
21
 
22
22
  &:checked ~ label {
23
- border-color: #a82227;
24
- color: #a82227;
23
+ border-color: theme(colors.primary.main);
24
+ color: theme(colors.primary.main);
25
25
  }
26
26
  }
27
27
 
@@ -73,7 +73,7 @@
73
73
  .clearText {
74
74
  display: block;
75
75
  text-align: right;
76
- color: #a82227;
76
+ color: theme(colors.primary.main);
77
77
  margin-top: 20px;
78
78
  margin-left: 10px;
79
79
  }