@djb25/digit-ui-css 1.0.27 → 1.0.29

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@djb25/digit-ui-css",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -76,6 +76,19 @@
76
76
  }
77
77
  }
78
78
 
79
+ .formcomposer-grid-container-form {
80
+ display: flex;
81
+ flex-direction: column;
82
+ gap: 24px;
83
+ }
84
+
85
+ .no-grid {
86
+ display: flex !important;
87
+ flex-direction: column !important;
88
+ gap: 16px !important;
89
+ grid-template-columns: unset !important;
90
+ }
91
+
79
92
  @media (max-width: 768px) {
80
93
  .formcomposer-section-grid {
81
94
  grid-template-columns: 1fr;
@@ -33,7 +33,7 @@
33
33
  .circle {
34
34
  width: 24px;
35
35
  height: 24px;
36
- background-color: #B1B4B6;
36
+ background-color: #b1b4b6;
37
37
  border-radius: 50%;
38
38
  text-align: center;
39
39
  }
@@ -42,38 +42,38 @@
42
42
  background-color: theme(colors.primary.main);
43
43
  border-color: theme(colors.primary.main);
44
44
  }
45
- }
45
+ }
46
46
 
47
- .TLComments{
47
+ .TLComments {
48
48
  max-width: 360px;
49
49
  @apply mb-sm p-sm bg-grey-light;
50
- h3{
50
+ h3 {
51
51
  @apply font-bold text-caption-m;
52
52
  }
53
- p{
53
+ p {
54
54
  @apply text-body-l;
55
55
  }
56
56
  }
57
57
 
58
- @screen dt{
59
- .TLComments{
58
+ @screen dt {
59
+ .TLComments {
60
60
  width: 360px;
61
- h3{
61
+ h3 {
62
62
  @apply text-caption-m-dt;
63
63
  }
64
- p{
64
+ p {
65
65
  @apply text-body-l-dt;
66
66
  }
67
67
  }
68
68
  }
69
69
 
70
-
71
70
  .stepper-container {
72
71
  width: 240px;
73
72
  background: #fff;
74
73
  padding: 24px 0;
75
74
  border-radius: 8px;
76
- box-shadow: 0 3px 10px rgba(0,0,0,0.08);
75
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
76
+ overflow-y: scroll;
77
77
  }
78
78
 
79
79
  .stepper-item {
@@ -135,11 +135,7 @@
135
135
  background: #667eea;
136
136
  }
137
137
 
138
-
139
-
140
-
141
138
  @media (max-width: 768px) {
142
-
143
139
  .stepper-container {
144
140
  width: 100%;
145
141
  display: flex;
@@ -201,4 +197,4 @@
201
197
 
202
198
  .stepper-circle.active {
203
199
  transform: scale(1.05);
204
- }
200
+ }
@@ -133,8 +133,8 @@ body {
133
133
  display: flex;
134
134
  flex-direction: column;
135
135
  padding: 20px;
136
- padding-bottom: 0px;
137
136
  width: 100%;
137
+ gap: 12px;
138
138
 
139
139
  .header {
140
140
  font-size: 18px;
@@ -231,14 +231,9 @@ body {
231
231
  }
232
232
  }
233
233
 
234
- .form-container {
235
- gap: 12px
236
- }
237
-
238
234
  .app-container {
239
235
  width: 100%;
240
236
 
241
-
242
237
  form {
243
238
  .card {
244
239
  max-width: 960px;
@@ -289,7 +284,6 @@ body {
289
284
  margin-top: 90px;
290
285
  }
291
286
 
292
-
293
287
  .module-carousel-section {
294
288
  display: flex;
295
289
  flex-direction: column;
@@ -311,7 +305,7 @@ body {
311
305
  top: 4px;
312
306
  height: 16px;
313
307
  width: 4px;
314
- background: #3B82F6;
308
+ background: #3b82f6;
315
309
  border-radius: 4px;
316
310
  }
317
311
 
@@ -366,7 +360,7 @@ body {
366
360
  display: none;
367
361
  }
368
362
 
369
- .carousel-track>div {
363
+ .carousel-track > div {
370
364
  scroll-snap-align: start;
371
365
  box-sizing: border-box;
372
366
  width: 100%;
@@ -374,8 +368,6 @@ body {
374
368
  margin: 0 !important;
375
369
  }
376
370
 
377
-
378
-
379
371
  .carousel-track .new-employee-card {
380
372
  width: 100%;
381
373
  height: 100%;
@@ -562,4 +554,4 @@ body {
562
554
  svg {
563
555
  fill: #ffffff !important;
564
556
  }
565
- }
557
+ }
@@ -36,7 +36,7 @@
36
36
  }
37
37
 
38
38
  .card-label-error {
39
- @apply block text-body-s text-error mb-md;
39
+ @apply block text-body-s text-error;
40
40
  }
41
41
 
42
42
  .card-label-desc {
@@ -111,7 +111,7 @@
111
111
  }
112
112
 
113
113
  .card-label-error {
114
- @apply block text-body-s text-error mb-md;
114
+ @apply block text-body-s text-error;
115
115
  }
116
116
 
117
117
  .card-label-desc {
@@ -131,6 +131,15 @@
131
131
  }
132
132
  }
133
133
 
134
+ .vehicle-details-card {
135
+ width: 100%;
136
+ height: fit-content;
137
+ }
138
+
139
+ .no-shadow {
140
+ box-shadow: none !important;
141
+ }
142
+
134
143
  .header-wrap {
135
144
  @apply flex mb-md;
136
145
 
@@ -147,6 +156,11 @@
147
156
  }
148
157
  }
149
158
 
159
+ .header-content {
160
+ word-break: break-word;
161
+ overflow-wrap: break-word;
162
+ }
163
+
150
164
  .card-emp {
151
165
  @extend .card;
152
166
  padding-right: 0;
@@ -186,7 +200,6 @@
186
200
  }
187
201
 
188
202
  @screen dt {
189
-
190
203
  .submit-bar,
191
204
  .submit-bar-disabled {
192
205
  width: 240px;
@@ -348,7 +361,7 @@
348
361
  }
349
362
 
350
363
  /* Remove any default margins that might interfere */
351
- .label-field-pair>* {
364
+ .label-field-pair > * {
352
365
  margin: 0;
353
366
  width: 100%;
354
367
  }
@@ -380,8 +393,6 @@
380
393
  margin-right: auto;
381
394
  }
382
395
 
383
- .header-content {}
384
-
385
396
  .header-end {
386
397
  margin-left: auto;
387
398
  }
@@ -430,7 +441,7 @@
430
441
  }
431
442
 
432
443
  .card-label-error {
433
- @apply block text-body-s text-error mb-md;
444
+ @apply block text-body-s text-error;
434
445
  }
435
446
 
436
447
  .employeeCard-override {
@@ -491,7 +502,7 @@
491
502
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
492
503
  }
493
504
 
494
- .new-employee-card>* {
505
+ .new-employee-card > * {
495
506
  position: relative;
496
507
  z-index: 1;
497
508
  }
@@ -903,6 +914,7 @@
903
914
  width: 100%;
904
915
  padding-bottom: 40px;
905
916
  }
917
+
906
918
  .mobile-sidebar-toggle {
907
919
  display: flex;
908
920
  align-items: center;
@@ -915,12 +927,14 @@
915
927
  cursor: pointer;
916
928
  font-weight: 600;
917
929
  color: #1a365d;
918
- box-shadow: 0 2px 4px rgba(0,0,0,0.02);
930
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
919
931
  }
932
+
920
933
  .hamburger-icon {
921
934
  width: 22px;
922
935
  height: 22px;
923
936
  }
937
+
924
938
  .expanded-overlay {
925
939
  position: fixed;
926
940
  top: 0;
@@ -950,7 +964,7 @@
950
964
  position: fixed;
951
965
  top: 0;
952
966
  left: -100%;
953
- width: 80%;
967
+ width: 80%;
954
968
  max-width: 320px;
955
969
  height: 100vh;
956
970
  background-color: #ffffff;
@@ -962,9 +976,11 @@
962
976
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
963
977
  overflow-y: auto;
964
978
  }
979
+
965
980
  .expanded-sidebar.open {
966
981
  left: 0;
967
982
  }
983
+
968
984
  .sidebar-backdrop {
969
985
  position: fixed;
970
986
  top: 0;
@@ -975,6 +991,7 @@
975
991
  z-index: 999;
976
992
  backdrop-filter: blur(2px);
977
993
  }
994
+
978
995
  .sidebar-title {
979
996
  font-size: 1.2rem;
980
997
  font-weight: 600;
@@ -1210,6 +1227,7 @@
1210
1227
  align-items: center;
1211
1228
  margin-bottom: 24px;
1212
1229
  }
1230
+
1213
1231
  .mobile-close-btn {
1214
1232
  background: none;
1215
1233
  border: none;
@@ -1218,6 +1236,7 @@
1218
1236
  cursor: pointer;
1219
1237
  padding: 4px;
1220
1238
  }
1239
+
1221
1240
  .expanded-content-area {
1222
1241
  flex: 1;
1223
1242
  }
@@ -1344,7 +1363,6 @@
1344
1363
  color: #ffffff;
1345
1364
  }
1346
1365
 
1347
-
1348
1366
  .collapsed .brand-name,
1349
1367
  .collapsed .nav-text {
1350
1368
  opacity: 0;
@@ -1372,7 +1390,132 @@
1372
1390
  justify-content: center;
1373
1391
  padding: 12px 0;
1374
1392
  }
1393
+
1394
+ .module-sidebar-toggle {
1395
+ display: none;
1396
+ }
1397
+
1398
+ .module-sidebar-backdrop {
1399
+ display: none;
1400
+ }
1401
+
1402
+ @media (max-width: 768px) {
1403
+ .collapsible-sidebar-container + .app-wrapper {
1404
+ padding-top: 60px;
1405
+ }
1406
+
1407
+ .collapsible-sidebar-container {
1408
+ width: 0;
1409
+ border-right: none;
1410
+ background: transparent;
1411
+ }
1412
+
1413
+ .module-sidebar-toggle {
1414
+ display: flex;
1415
+ position: fixed;
1416
+ top: 97px;
1417
+ left: 52px;
1418
+ z-index: 1002;
1419
+ margin: 0;
1420
+ padding: 10px;
1421
+ gap: 10px;
1422
+ max-width: calc(100vw - 32px);
1423
+ border-radius: 999px;
1424
+ }
1425
+
1426
+ .module-sidebar-toggle-icon {
1427
+ width: 20px;
1428
+ height: 20px;
1429
+ transition: transform 0.2s ease;
1430
+ }
1431
+
1432
+ .module-sidebar-toggle.open .module-sidebar-toggle-icon {
1433
+ transform: rotate(180deg);
1434
+ }
1435
+
1436
+ .module-sidebar-toggle-label {
1437
+ display: none;
1438
+ max-width: 60vw;
1439
+ overflow: hidden;
1440
+ text-overflow: ellipsis;
1441
+ white-space: nowrap;
1442
+ }
1443
+
1444
+ .module-sidebar-toggle.open .module-sidebar-toggle-label {
1445
+ display: inline;
1446
+ }
1447
+
1448
+ .module-sidebar-backdrop {
1449
+ display: block;
1450
+ position: fixed;
1451
+ inset: 0;
1452
+ background: rgba(15, 23, 42, 0.35);
1453
+ opacity: 0;
1454
+ pointer-events: none;
1455
+ transition: opacity 0.2s ease;
1456
+ z-index: 1000;
1457
+ }
1458
+
1459
+ .module-sidebar-backdrop.open {
1460
+ opacity: 1;
1461
+ pointer-events: auto;
1462
+ }
1463
+
1464
+ .premium-sidebar {
1465
+ position: fixed;
1466
+ top: 0;
1467
+ left: -100%;
1468
+ height: 100vh;
1469
+ width: 85vw;
1470
+ max-width: 320px;
1471
+ z-index: 1001;
1472
+ transition: left 0.3s ease;
1473
+ overflow-y: auto;
1474
+ border-right: none;
1475
+ }
1476
+
1477
+ .premium-sidebar.mobile-open {
1478
+ left: 0;
1479
+ }
1480
+
1481
+ .premium-sidebar .sidebar-header {
1482
+ padding: 16px 20px;
1483
+ }
1484
+
1485
+ .premium-sidebar.collapsed .brand-name,
1486
+ .premium-sidebar.collapsed .nav-text {
1487
+ opacity: 1;
1488
+ width: auto;
1489
+ margin-left: 16px;
1490
+ pointer-events: auto;
1491
+ }
1492
+
1493
+ .premium-sidebar.collapsed .sidebar-header {
1494
+ padding: 16px 20px;
1495
+ flex-direction: row;
1496
+ gap: 12px;
1497
+ justify-content: space-between;
1498
+ }
1499
+
1500
+ .premium-sidebar.collapsed .brand-container {
1501
+ justify-content: flex-start;
1502
+ }
1503
+
1504
+ .premium-sidebar.collapsed .nav-item-content {
1505
+ justify-content: flex-start;
1506
+ padding: 12px;
1507
+ }
1508
+
1509
+ .collapse-toggle {
1510
+ display: none;
1511
+ }
1512
+ .sidebar-nav {
1513
+ margin-top: 37px;
1514
+ }
1515
+ }
1516
+
1375
1517
  @media (min-width: 768px) {
1518
+
1376
1519
  .mobile-sidebar-toggle,
1377
1520
  .mobile-close-btn,
1378
1521
  .sidebar-backdrop {
@@ -1395,6 +1538,6 @@
1395
1538
  border-right: 1px solid #e5e7eb;
1396
1539
  border-radius: 8px;
1397
1540
  padding: 20px;
1398
- transition: none;
1541
+ transition: none;
1399
1542
  }
1400
1543
  }
@@ -920,7 +920,8 @@
920
920
  font-size: 14px;
921
921
  color: #4b5563;
922
922
  font-weight: 500;
923
- margin-top: 8px;
923
+ word-break: break-word;
924
+ white-space: normal;
924
925
  }
925
926
 
926
927
  .step-label.active-text {
@@ -941,7 +942,6 @@
941
942
  border-radius: 6px;
942
943
  }
943
944
 
944
-
945
945
  .additional-grid {
946
946
  display: grid;
947
947
  grid-template-columns: 180px 1fr 180px 1fr;
@@ -965,4 +965,4 @@
965
965
  .additional-grid {
966
966
  grid-template-columns: 160px 1fr;
967
967
  }
968
- }
968
+ }
@@ -31,7 +31,7 @@
31
31
 
32
32
  .card-textarea,
33
33
  .employee-card-textarea {
34
- @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-md;
34
+ @apply block outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm rounded-md;
35
35
  }
36
36
 
37
37
  .inputWrapper {
@@ -75,12 +75,9 @@
75
75
 
76
76
  .card-textarea,
77
77
  .employee-card-textarea {
78
- @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
78
+ @apply block outline-none border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
79
79
  @extend .light-input-border;
80
80
  }
81
- .employee-card-textarea {
82
- @apply w-full;
83
- }
84
81
 
85
82
  .citizen-card-input {
86
83
  @apply pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
@@ -131,7 +131,7 @@
131
131
 
132
132
  .card-label-error {
133
133
  @extend .alert-error;
134
- @apply block text-body-s text-error mb-md;
134
+ @apply block text-body-s text-error;
135
135
  }
136
136
 
137
137
  .card-label-desc {
package/src/index.scss CHANGED
@@ -101,6 +101,7 @@
101
101
  @import "./pages/citizen/payment/payment-type.scss";
102
102
  @import "./pages/citizen/container.scss";
103
103
  @import "./pages/citizen/HomePageWrapper.scss";
104
+ @import "./pages/citizen/Register.scss";
104
105
  @import "./pages/citizen/CitizenEngagementNotificationWrapper.scss";
105
106
  @import "./pages/citizen/Events.scss";
106
107
  @import "./pages/citizen/DocumentList.scss";
@@ -729,7 +730,6 @@ input[type="number"] {
729
730
  width: 100%;
730
731
  flex: 1;
731
732
  min-width: 0;
732
- margin-bottom: 68px;
733
733
  }
734
734
 
735
735
  .employee-app-wrapper {