@djb25/digit-ui-css 1.0.20 → 1.0.22

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.20",
3
+ "version": "1.0.22",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "satyam",
@@ -1,11 +1,10 @@
1
1
  .search-form-wrapper {
2
- @apply flex flex-wrap justify-between bg-white;
2
+ @apply flex flex-wrap gap-5 justify-between bg-white;
3
3
 
4
4
  padding: 20px;
5
5
  border-radius: 11px;
6
6
  .form-field {
7
- width: calc(25% - 16px);
8
- @apply inline-block mr-md align-middle;
7
+ @apply align-middle;
9
8
  }
10
9
 
11
10
  .SubmitAndClearAllContainer {
@@ -66,6 +65,34 @@
66
65
  }
67
66
  }
68
67
 
68
+ .formcomposer-section-grid {
69
+ display: grid;
70
+ grid-template-columns: 1fr 1fr;
71
+ gap: 16px;
72
+ width: 100%;
73
+ .grid-title {
74
+ grid-column: span 2;
75
+ }
76
+ }
77
+
78
+ @media (max-width: 768px) {
79
+ .formcomposer-section-grid {
80
+ grid-template-columns: 1fr;
81
+
82
+ .grid-title {
83
+ grid-column: span 1;
84
+ }
85
+ }
86
+ }
87
+
88
+ .formcomposer-section-button {
89
+ display: flex;
90
+ justify-content: end;
91
+ align-items: center;
92
+ gap: 24px;
93
+ width: 100%;
94
+ }
95
+
69
96
  .finance-heading {
70
97
  display: flex;
71
98
  justify-content: center;
@@ -14,10 +14,10 @@
14
14
  box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
15
15
  width: calc(100% - 16px);
16
16
  right: 8px;
17
-
17
+
18
18
  div {
19
19
  @apply h-12 pl-sm py-md text-body-l text-text-primary;
20
-
20
+
21
21
  &:hover {
22
22
  @apply bg-grey-mid w-full;
23
23
  }
@@ -25,8 +25,8 @@
25
25
  }
26
26
  }
27
27
 
28
- .action-bar-wrap{
29
- box-shadow: 0 -2px 8px rgba(0,0,0,.16);
28
+ .action-bar-wrap {
29
+ box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.16);
30
30
  left: 0;
31
31
  max-width: none;
32
32
  z-index: 999;
@@ -34,7 +34,7 @@
34
34
  bottom: 0;
35
35
  --bg-opacity: 1;
36
36
  background-color: #fff;
37
- background-color: rgba(255,255,255,var(--bg-opacity));
37
+ background-color: rgba(255, 255, 255, var(--bg-opacity));
38
38
  padding-top: 8px;
39
39
  padding-bottom: 8px;
40
40
  padding-right: 24px;
@@ -46,7 +46,7 @@
46
46
  left: 0;
47
47
  max-width: none;
48
48
  z-index: 999;
49
-
49
+ margin-bottom: 30px;
50
50
  @apply fixed bottom-0 bg-white py-sm pr-lg text-right;
51
51
 
52
52
  div {
@@ -60,10 +60,10 @@
60
60
  @apply absolute h-auto bg-white text-left mb-xs z-30;
61
61
  width: 240px;
62
62
  right: 24px;
63
-
63
+
64
64
  div {
65
65
  @apply h-12 pl-sm py-md text-body-l text-text-primary;
66
-
66
+
67
67
  &:hover {
68
68
  @apply bg-grey-mid w-full;
69
69
  }
@@ -73,7 +73,6 @@
73
73
  }
74
74
 
75
75
  .action-bar-wrap-registry {
76
-
77
76
  div {
78
77
  @apply w-full;
79
78
  }
@@ -82,10 +81,10 @@
82
81
  box-shadow: rgba(0, 0, 0, 0.14) 0 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px, rgba(0, 0, 0, 0.2) 0 5px 5px -3px;
83
82
  width: 160px;
84
83
  right: 60px;
85
-
84
+
86
85
  div {
87
86
  @apply h-12 pl-sm py-md text-body-l text-text-primary;
88
-
87
+
89
88
  &:hover {
90
89
  @apply bg-grey-mid w-full;
91
90
  }
@@ -109,4 +108,4 @@
109
108
  align-items: center;
110
109
  margin-left: 10px;
111
110
  }
112
- }
111
+ }
@@ -289,7 +289,6 @@ body {
289
289
  margin-top: 90px;
290
290
  }
291
291
 
292
- /* --- MODULE CAROUSEL STYLES --- */
293
292
 
294
293
  .module-carousel-section {
295
294
  display: flex;
@@ -297,13 +296,29 @@ body {
297
296
  width: 100%;
298
297
  padding-bottom: 20px;
299
298
  }
299
+ .module-carousel-header h3 {
300
+ font-size: 20px;
301
+ font-weight: 600;
302
+ color: #ffffff;
303
+ margin: 0;
304
+ }
300
305
 
306
+ .module-carousel-header h3::before {
307
+ content: "";
308
+ position: absolute;
309
+ left: 0;
310
+ top: 4px;
311
+ height: 16px;
312
+ width: 4px;
313
+ background: #3B82F6;
314
+ border-radius: 4px;
315
+ }
301
316
  .module-carousel-header {
302
- display: flex;
303
- justify-content: flex-end;
317
+ background: linear-gradient(135deg, #3585c4, #6fa0f0 40%, #80b3ff);
318
+ padding: 12px 16px;
319
+ border-radius: 10px;
304
320
  align-items: center;
305
- width: 100%;
306
- padding: 0 10px 15px;
321
+ margin-top:10px;
307
322
  }
308
323
 
309
324
  .module-carousel-actions {
@@ -320,54 +335,53 @@ body {
320
335
 
321
336
  .carousel-track {
322
337
  display: grid;
323
- grid-template-rows: repeat(2, 1fr);
324
- grid-auto-flow: column;
338
+ grid-template-columns: repeat(4, minmax(0, 1fr));
339
+ grid-auto-flow: row;
325
340
  gap: 20px;
326
341
  overflow-x: auto;
327
342
  scroll-behavior: smooth;
328
343
  scroll-snap-type: x mandatory;
329
344
  width: 100%;
330
345
  padding: 10px 0px;
331
-
332
- /* Hide standard scrollbars for a clean look */
346
+ column-gap: 20px;
333
347
  -ms-overflow-style: none;
334
- /* IE and Edge */
335
348
  scrollbar-width: none;
336
- /* Firefox */
337
349
  }
338
350
 
339
351
  .carousel-track::-webkit-scrollbar {
340
352
  display: none;
341
- /* Chrome, Safari, Opera */
342
353
  }
343
354
 
344
- /* Default mobile width */
345
- .carousel-track>div {
355
+ .carousel-track > div {
346
356
  scroll-snap-align: start;
347
357
  box-sizing: border-box;
358
+ width: 100%;
359
+ height: 100%;
360
+ margin: 0 !important;
348
361
  }
349
362
 
350
- /* 1 Column / 2 Rows on Mobile slightly overflowing for affordance */
351
363
  .carousel-track {
352
- grid-auto-columns: calc(100% - 20px);
364
+ grid-template-columns: repeat(4, minmax(0, 1fr));
353
365
  }
354
366
 
355
367
  @media (min-width: 640px) {
356
368
 
357
- /* 2 Columns / 2 Rows on Tablets */
358
369
  .carousel-track {
359
370
  grid-auto-columns: calc((100% - 20px) / 2);
360
371
  }
361
372
  }
373
+ @media (min-width: 1024px) {
374
+ .carousel-track {
375
+ grid-auto-columns: calc((100% - 3 * 20px) / 4);
376
+ }
377
+ }
362
378
 
363
- /* Ensure the child card fills this wrapper without extraneous margins */
364
379
  .carousel-track .new-employee-card {
365
380
  width: 100%;
366
381
  height: 100%;
367
382
  margin: 0 !important;
368
383
  }
369
384
 
370
- /* Modern Minimalist Arrow Button Styles */
371
385
  .carousel-arrow {
372
386
  background-color: transparent;
373
387
  color: #555;
@@ -402,10 +416,8 @@ body {
402
416
  box-shadow: none;
403
417
  }
404
418
 
405
- /* Desktop sizing: exactly 4 columns width */
406
419
  @screen dt {
407
420
  .carousel-track {
408
- /* 25% width minus the gap offset to perfectly fit 4 per row */
409
- grid-auto-columns: calc((100% - 60px) / 4);
421
+ grid-auto-columns: calc((100% - 3 * 20px) / 4);
410
422
  }
411
423
  }
@@ -61,8 +61,8 @@
61
61
  /*@apply flex justify-center items-center;*/
62
62
  }
63
63
 
64
- .form-composer-card{
65
- min-height: 100%;
64
+ .form-composer-card {
65
+ min-height: 100%;
66
66
  }
67
67
 
68
68
  .employeeCard {
@@ -156,11 +156,12 @@
156
156
  }
157
157
 
158
158
  .submit-bar {
159
- @apply h-10 text-center w-full outline-none;
159
+ @apply h-10 text-center outline-none;
160
160
  background: linear-gradient(135deg, #667eea, #764ba2);
161
161
  box-shadow: inset 0px -2px 0px theme(colors.text.primary);
162
162
  cursor: pointer;
163
-
163
+ height: 36px !important;
164
+ border: none !important;
164
165
  &:focus {
165
166
  @apply outline-none;
166
167
  }
@@ -297,7 +298,8 @@
297
298
  display: flex;
298
299
  flex-direction: column;
299
300
  gap: 8px;
300
- justify-content: center;
301
+ justify-content: flex-start;
302
+ align-items: center;
301
303
  /* Adjust spacing between label and field */
302
304
  /* Space between form groups */
303
305
  }
@@ -651,7 +653,7 @@
651
653
  color: #1a67a3;
652
654
  padding: 6px 12px;
653
655
  border-radius: 6px;
654
- font-size: 0.75rem;
656
+ font-size: 9px;
655
657
  font-weight: 600;
656
658
  text-decoration: none;
657
659
  transition: background-color 0.2s;
@@ -859,6 +861,7 @@
859
861
  min-height: calc(100vh - 100px);
860
862
  overflow: hidden;
861
863
  gap: 20px;
864
+ padding-bottom: 40px;
862
865
  }
863
866
 
864
867
  .expanded-overlay {
@@ -933,12 +933,4 @@
933
933
  .step-label.active-text {
934
934
  color: #5a6ee1;
935
935
  font-weight: 600;
936
- }
937
-
938
-
939
- .formcomposer-section-grid {
940
- display: grid;
941
- grid-template-columns: 1fr 1fr;
942
- gap: 16px;
943
- width: 100%;
944
936
  }
@@ -20,6 +20,12 @@
20
20
  }
21
21
  }
22
22
 
23
+ @media (max-width: 768px) {
24
+ .search-form-wns-inbox {
25
+ grid-template-columns: 1fr;
26
+ }
27
+ }
28
+
23
29
  @screen dt {
24
30
  .InboxComposerWrapper {
25
31
  grid-template-columns: calc(25% - 32px) 75%;
@@ -68,6 +74,10 @@
68
74
  }
69
75
 
70
76
  .search-form-wns-inbox {
77
+ display: grid;
78
+ grid-template-columns: repeat(2, 1fr);
79
+ gap: 16px;
80
+
71
81
  .clear-search-container {
72
82
  grid-column: 2/3;
73
83
  text-align: right;
@@ -116,3 +126,20 @@
116
126
  }
117
127
  }
118
128
  }
129
+
130
+ .side-panel-item {
131
+ display: flex;
132
+ flex-direction: column;
133
+ gap: 16px;
134
+ overflow-y: scroll;
135
+
136
+ @media (min-width: 768px) {
137
+ width: 240px;
138
+ }
139
+
140
+ .inboxLinks {
141
+ @media (max-width: 768px) {
142
+ display: none;
143
+ }
144
+ }
145
+ }
@@ -2,6 +2,10 @@
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
 
5
+ @media (max-width: 768px) {
6
+ display: none;
7
+ }
8
+
5
9
  .header-top-section {
6
10
  width: 100%;
7
11
  background: linear-gradient(98deg, rgba(110, 192, 221, 0.71) -24.44%, rgba(97, 119, 236, 0.9) 93.53%);
@@ -9,14 +13,11 @@
9
13
  border-radius: 11px;
10
14
  margin-inline: 42px;
11
15
 
12
-
13
16
  align-items: center;
14
17
  justify-content: center;
15
18
 
16
19
  /* 3D Box Shadow with Bevel Highlight */
17
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4),
18
- 0 8px 16px -4px rgba(0, 0, 0, 0.15),
19
- 0 4px 8px -4px rgba(0, 0, 0, 0.1);
20
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 8px 16px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -4px rgba(0, 0, 0, 0.1);
20
21
  /* Modern Glass Effect */
21
22
  backdrop-filter: blur(10px);
22
23
  -webkit-backdrop-filter: blur(10px);
@@ -26,9 +27,7 @@
26
27
 
27
28
  &:hover {
28
29
  transform: translateY(-2px);
29
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
30
- 0 12px 20px -4px rgba(0, 0, 0, 0.2),
31
- 0 6px 10px -4px rgba(0, 0, 0, 0.15);
30
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5), 0 12px 20px -4px rgba(0, 0, 0, 0.2), 0 6px 10px -4px rgba(0, 0, 0, 0.15);
32
31
  }
33
32
 
34
33
  .title {
@@ -52,8 +51,7 @@
52
51
  justify-content: flex-start;
53
52
  color: #fff;
54
53
  /* Matching 3D Shadow and Bevel for Bottom Section */
55
- box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3),
56
- 0 4px 8px -2px rgba(0, 0, 0, 0.1);
54
+ box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3), 0 4px 8px -2px rgba(0, 0, 0, 0.1);
57
55
  backdrop-filter: blur(10px);
58
56
  -webkit-backdrop-filter: blur(10px);
59
57
  border: 1px solid rgba(255, 255, 255, 0.2);
@@ -87,7 +85,7 @@
87
85
  justify-content: center;
88
86
  padding-left: 20px;
89
87
 
90
- @media (max-width:768px){
88
+ @media (max-width: 768px) {
91
89
  display: none !important;
92
90
  }
93
91
  }
@@ -113,72 +111,70 @@
113
111
  justify-content: center;
114
112
  border-right: 1px solid #fff;
115
113
  padding-right: 20px;
116
- @media (max-width:768px){
114
+ @media (max-width: 768px) {
117
115
  display: none;
118
116
  }
119
117
  }
120
- @media (max-width:768px){
121
- justify-content: space-between;
122
- }
118
+ @media (max-width: 768px) {
119
+ justify-content: space-between;
120
+ }
123
121
  }
124
122
  }
125
123
 
126
- .hamburger-btn{
127
- display:none;
128
- background:none;
129
- border:none;
130
- font-size:22px;
131
- color:white;
132
- cursor:pointer;
124
+ .hamburger-btn {
125
+ display: none;
126
+ background: none;
127
+ border: none;
128
+ font-size: 22px;
129
+ color: white;
130
+ cursor: pointer;
133
131
  }
134
132
 
135
- .mobile-menu{
136
- display:none;
133
+ .mobile-menu {
134
+ display: none;
137
135
  }
138
136
 
139
- @media (max-width:768px){
140
-
141
- .hamburger-btn{
142
- display:block;
137
+ @media (max-width: 768px) {
138
+ .hamburger-btn {
139
+ display: block;
143
140
  }
144
141
 
145
- .desktop-back{
146
- display:none;
142
+ .desktop-back {
143
+ display: none;
147
144
  }
148
145
 
149
- .mobile-menu{
150
- display:none;
151
- position:absolute;
152
- top:55px;
153
- left:0;
154
- width:100%;
155
- background: #667eea;
156
- color:#fff;
157
- flex-direction:column;
158
- padding:16px;
159
- border-radius:8px;
160
- box-shadow:0 8px 20px rgba(0,0,0,0.15);
161
- z-index:999999;
162
- gap:12px;
146
+ .mobile-menu {
147
+ display: none;
148
+ position: absolute;
149
+ top: 55px;
150
+ left: 0;
151
+ width: 100%;
152
+ background: #667eea;
153
+ color: #fff;
154
+ flex-direction: column;
155
+ padding: 16px;
156
+ border-radius: 8px;
157
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
158
+ z-index: 999999;
159
+ gap: 12px;
163
160
  opacity: 1;
164
161
  }
165
162
 
166
- .mobile-menu.open{
167
- display:flex;
163
+ .mobile-menu.open {
164
+ display: flex;
168
165
  position: absolute;
169
166
  z-index: 999;
170
167
  }
171
168
 
172
- .mobile-back{
173
- font-weight:600;
174
- padding-bottom:10px;
175
- border-bottom:1px solid #eee;
169
+ .mobile-back {
170
+ font-weight: 600;
171
+ padding-bottom: 10px;
172
+ border-bottom: 1px solid #eee;
176
173
  cursor: pointer;
177
174
  }
178
175
 
179
176
  .crumbs {
180
177
  width: max-content;
181
- cursor: pointer;
178
+ cursor: pointer;
182
179
  }
183
-
184
- }
180
+ }
@@ -7,6 +7,7 @@
7
7
  @screen dt {
8
8
  .popup-wrap {
9
9
  background: rgba(0, 0, 0, 0.7);
10
+ z-index: 99999;
10
11
  @apply min-h-screen;
11
12
  }
12
13
  }
@@ -1,4 +1,6 @@
1
1
  .tag-container {
2
+ max-height: 120px;
3
+ overflow: scroll;
2
4
  @apply flex flex-wrap mb-md;
3
5
  .tag {
4
6
  @apply bg-grey-mid rounded-2xl pt-sm pb-sm flex justify-between items-center;
@@ -21,6 +21,7 @@
21
21
  background: theme(colors.grey.mid);
22
22
  border-right: 0;
23
23
  padding-right: 5px;
24
+ border-radius: 6px 0 0 6px;
24
25
  }
25
26
  .employee-card-input-error {
26
27
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
package/src/index.scss CHANGED
@@ -469,7 +469,7 @@ input[type="number"] {
469
469
  }
470
470
  }
471
471
 
472
- .phone-input-wrapper{
472
+ .phone-input-wrapper {
473
473
  display: flex;
474
474
  }
475
475
  .phone-input-wrapper:hover {
@@ -482,7 +482,7 @@ input[type="number"] {
482
482
  border: 1px solid #667eea;
483
483
  }
484
484
  }
485
-
485
+
486
486
  .text-input {
487
487
  @apply relative w-full;
488
488
 
@@ -561,8 +561,7 @@ input[type="number"] {
561
561
  flex-direction: column;
562
562
  overflow-x: scroll;
563
563
  border-radius: 6px;
564
- flex:1 1 0%;
565
-
564
+ flex: 1 1 0%;
566
565
  }
567
566
  .inbox-search-container {
568
567
  .result {
@@ -723,7 +722,7 @@ input[type="number"] {
723
722
  width: 100%;
724
723
  flex: 1;
725
724
  min-width: 0;
726
- margin-bottom: 56px;
725
+ margin-bottom: 68px;
727
726
  }
728
727
 
729
728
  .employee-app-wrapper {
@@ -3,10 +3,6 @@
3
3
  }
4
4
 
5
5
  @screen dt {
6
- .form-field {
7
- @apply w-1/2;
8
- }
9
-
10
6
  .desktop-w-full {
11
7
  @apply w-full !important;
12
8
  }