@djb25/digit-ui-css 1.0.26 → 1.0.27
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/dist/index.css +1 -1
- package/dist/index.min.css +1 -1
- package/package.json +1 -1
- package/src/components/SearchForm.scss +2 -1
- package/src/components/body.scss +1 -1
- package/src/components/card.scss +82 -30
- package/src/components/multiSelectDropdown.scss +69 -70
- package/src/components/selectdropdown.scss +4 -2
- package/src/components/textfields.scss +3 -1
- package/src/components/uploadcomponents.scss +6 -2
- package/src/digitv2/components/FormComposerV2.scss +6 -5
- package/src/digitv2/components/checkboxV2.scss +1 -2
- package/src/digitv2/components/multiSelectDropdownV2.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +1 -2
- package/src/index.scss +4 -4
- package/src/pages/employee/index.scss +1 -1
package/package.json
CHANGED
package/src/components/body.scss
CHANGED
package/src/components/card.scss
CHANGED
|
@@ -479,7 +479,6 @@
|
|
|
479
479
|
flex-direction: column;
|
|
480
480
|
gap: 13px;
|
|
481
481
|
width: 100%;
|
|
482
|
-
max-width: 426px;
|
|
483
482
|
max-height: 180px;
|
|
484
483
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
485
484
|
font-family: inherit;
|
|
@@ -836,7 +835,6 @@
|
|
|
836
835
|
stroke: #ffffff;
|
|
837
836
|
}
|
|
838
837
|
|
|
839
|
-
/* --- RIGHT CONTENT --- */
|
|
840
838
|
.expanded-content {
|
|
841
839
|
flex: 1;
|
|
842
840
|
background-color: #ffffff;
|
|
@@ -867,7 +865,6 @@
|
|
|
867
865
|
display: flex;
|
|
868
866
|
flex-direction: column;
|
|
869
867
|
gap: 0;
|
|
870
|
-
/* Items touch borders */
|
|
871
868
|
}
|
|
872
869
|
|
|
873
870
|
.content-link-row {
|
|
@@ -900,17 +897,30 @@
|
|
|
900
897
|
padding: 20px 0;
|
|
901
898
|
}
|
|
902
899
|
|
|
903
|
-
/* --- EXPANDED VIEW OVERLAY --- */
|
|
904
900
|
.expanded-page-container {
|
|
905
901
|
display: flex;
|
|
902
|
+
flex-direction: column;
|
|
906
903
|
width: 100%;
|
|
907
|
-
|
|
908
|
-
min-height: calc(100vh - 100px);
|
|
909
|
-
overflow: hidden;
|
|
910
|
-
gap: 20px;
|
|
911
904
|
padding-bottom: 40px;
|
|
912
905
|
}
|
|
913
|
-
|
|
906
|
+
.mobile-sidebar-toggle {
|
|
907
|
+
display: flex;
|
|
908
|
+
align-items: center;
|
|
909
|
+
gap: 12px;
|
|
910
|
+
padding: 14px 16px;
|
|
911
|
+
background-color: #ffffff;
|
|
912
|
+
border: 1px solid #e5e7eb;
|
|
913
|
+
border-radius: 8px;
|
|
914
|
+
margin-bottom: 16px;
|
|
915
|
+
cursor: pointer;
|
|
916
|
+
font-weight: 600;
|
|
917
|
+
color: #1a365d;
|
|
918
|
+
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
|
|
919
|
+
}
|
|
920
|
+
.hamburger-icon {
|
|
921
|
+
width: 22px;
|
|
922
|
+
height: 22px;
|
|
923
|
+
}
|
|
914
924
|
.expanded-overlay {
|
|
915
925
|
position: fixed;
|
|
916
926
|
top: 0;
|
|
@@ -936,16 +946,35 @@
|
|
|
936
946
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
|
|
937
947
|
}
|
|
938
948
|
|
|
939
|
-
/* --- LEFT SIDEBAR --- */
|
|
940
949
|
.expanded-sidebar {
|
|
941
|
-
|
|
950
|
+
position: fixed;
|
|
951
|
+
top: 0;
|
|
952
|
+
left: -100%;
|
|
953
|
+
width: 80%;
|
|
954
|
+
max-width: 320px;
|
|
955
|
+
height: 100vh;
|
|
942
956
|
background-color: #ffffff;
|
|
957
|
+
z-index: 1000;
|
|
943
958
|
display: flex;
|
|
944
959
|
flex-direction: column;
|
|
945
|
-
padding: 20px;
|
|
946
|
-
|
|
960
|
+
padding: 24px 20px;
|
|
961
|
+
transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
962
|
+
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
|
|
963
|
+
overflow-y: auto;
|
|
964
|
+
}
|
|
965
|
+
.expanded-sidebar.open {
|
|
966
|
+
left: 0;
|
|
967
|
+
}
|
|
968
|
+
.sidebar-backdrop {
|
|
969
|
+
position: fixed;
|
|
970
|
+
top: 0;
|
|
971
|
+
left: 0;
|
|
972
|
+
width: 100vw;
|
|
973
|
+
height: 100vh;
|
|
974
|
+
background: rgba(0, 0, 0, 0.5);
|
|
975
|
+
z-index: 999;
|
|
976
|
+
backdrop-filter: blur(2px);
|
|
947
977
|
}
|
|
948
|
-
|
|
949
978
|
.sidebar-title {
|
|
950
979
|
font-size: 1.2rem;
|
|
951
980
|
font-weight: 600;
|
|
@@ -998,7 +1027,6 @@
|
|
|
998
1027
|
margin-right: 12px;
|
|
999
1028
|
}
|
|
1000
1029
|
|
|
1001
|
-
/* Make SVG white when active */
|
|
1002
1030
|
.sidebar-item.active .sidebar-icon-placeholder svg {
|
|
1003
1031
|
stroke: #ffffff !important;
|
|
1004
1032
|
fill: none;
|
|
@@ -1018,7 +1046,6 @@
|
|
|
1018
1046
|
opacity: 1;
|
|
1019
1047
|
}
|
|
1020
1048
|
|
|
1021
|
-
/* --- RIGHT CONTENT --- */
|
|
1022
1049
|
.expanded-content {
|
|
1023
1050
|
flex: 1;
|
|
1024
1051
|
background-color: #ffffff;
|
|
@@ -1139,11 +1166,9 @@
|
|
|
1139
1166
|
}
|
|
1140
1167
|
|
|
1141
1168
|
:root {
|
|
1142
|
-
/* Dimensions */
|
|
1143
1169
|
--sidebar-expanded: 280px;
|
|
1144
1170
|
--sidebar-collapsed: 80px;
|
|
1145
1171
|
|
|
1146
|
-
/* Colors */
|
|
1147
1172
|
--bg-color: #ffffff;
|
|
1148
1173
|
--border-color: #f1f5f9;
|
|
1149
1174
|
--text-main: #0f172a;
|
|
@@ -1152,13 +1177,10 @@
|
|
|
1152
1177
|
--active-bg: #eff6ff;
|
|
1153
1178
|
--active-text: #1a67a3;
|
|
1154
1179
|
|
|
1155
|
-
/* Animations */
|
|
1156
1180
|
--transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1157
|
-
/* Slow, elegant easing curve */
|
|
1158
1181
|
--transition-fast: 0.3s ease;
|
|
1159
1182
|
}
|
|
1160
1183
|
|
|
1161
|
-
/* --- Base Sidebar --- */
|
|
1162
1184
|
.premium-sidebar {
|
|
1163
1185
|
height: 100%;
|
|
1164
1186
|
display: flex;
|
|
@@ -1184,12 +1206,20 @@
|
|
|
1184
1206
|
/* --- Header & Brand --- */
|
|
1185
1207
|
.sidebar-header {
|
|
1186
1208
|
display: flex;
|
|
1187
|
-
align-items: center;
|
|
1188
1209
|
justify-content: space-between;
|
|
1189
|
-
|
|
1190
|
-
margin-bottom:
|
|
1191
|
-
|
|
1192
|
-
|
|
1210
|
+
align-items: center;
|
|
1211
|
+
margin-bottom: 24px;
|
|
1212
|
+
}
|
|
1213
|
+
.mobile-close-btn {
|
|
1214
|
+
background: none;
|
|
1215
|
+
border: none;
|
|
1216
|
+
font-size: 1.2rem;
|
|
1217
|
+
color: #6b7280;
|
|
1218
|
+
cursor: pointer;
|
|
1219
|
+
padding: 4px;
|
|
1220
|
+
}
|
|
1221
|
+
.expanded-content-area {
|
|
1222
|
+
flex: 1;
|
|
1193
1223
|
}
|
|
1194
1224
|
|
|
1195
1225
|
.brand-container {
|
|
@@ -1290,7 +1320,6 @@
|
|
|
1290
1320
|
font-weight: 500;
|
|
1291
1321
|
white-space: nowrap;
|
|
1292
1322
|
margin-left: 16px;
|
|
1293
|
-
/* Spacing applied here */
|
|
1294
1323
|
opacity: 1;
|
|
1295
1324
|
transition: opacity 0.2s ease, width 0.3s ease, margin 0.3s ease;
|
|
1296
1325
|
overflow: hidden;
|
|
@@ -1315,7 +1344,6 @@
|
|
|
1315
1344
|
color: #ffffff;
|
|
1316
1345
|
}
|
|
1317
1346
|
|
|
1318
|
-
/* --- COLLAPSED STATE STYLES --- */
|
|
1319
1347
|
|
|
1320
1348
|
.collapsed .brand-name,
|
|
1321
1349
|
.collapsed .nav-text {
|
|
@@ -1325,7 +1353,6 @@
|
|
|
1325
1353
|
pointer-events: none;
|
|
1326
1354
|
}
|
|
1327
1355
|
|
|
1328
|
-
/* Re-stack header elements to center */
|
|
1329
1356
|
.collapsed .sidebar-header {
|
|
1330
1357
|
padding: 24px 0;
|
|
1331
1358
|
flex-direction: column;
|
|
@@ -1337,7 +1364,6 @@
|
|
|
1337
1364
|
justify-content: center;
|
|
1338
1365
|
}
|
|
1339
1366
|
|
|
1340
|
-
/* Re-center navigation icons */
|
|
1341
1367
|
.collapsed .sidebar-nav {
|
|
1342
1368
|
padding: 0 12px;
|
|
1343
1369
|
}
|
|
@@ -1345,4 +1371,30 @@
|
|
|
1345
1371
|
.collapsed .nav-item-content {
|
|
1346
1372
|
justify-content: center;
|
|
1347
1373
|
padding: 12px 0;
|
|
1374
|
+
}
|
|
1375
|
+
@media (min-width: 768px) {
|
|
1376
|
+
.mobile-sidebar-toggle,
|
|
1377
|
+
.mobile-close-btn,
|
|
1378
|
+
.sidebar-backdrop {
|
|
1379
|
+
display: none;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.expanded-page-container {
|
|
1383
|
+
flex-direction: row;
|
|
1384
|
+
gap: 24px;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
.expanded-sidebar {
|
|
1388
|
+
position: static;
|
|
1389
|
+
left: 0;
|
|
1390
|
+
width: 25%;
|
|
1391
|
+
max-width: 300px;
|
|
1392
|
+
height: auto;
|
|
1393
|
+
z-index: auto;
|
|
1394
|
+
box-shadow: none;
|
|
1395
|
+
border-right: 1px solid #e5e7eb;
|
|
1396
|
+
border-radius: 8px;
|
|
1397
|
+
padding: 20px;
|
|
1398
|
+
transition: none;
|
|
1399
|
+
}
|
|
1348
1400
|
}
|
|
@@ -1,77 +1,76 @@
|
|
|
1
|
-
.multi-select-dropdown-wrap{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.label{
|
|
12
|
-
@apply flex justify-between p-sm w-full h-full;
|
|
13
|
-
svg{
|
|
14
|
-
@apply h-6 w-6;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:hover{
|
|
19
|
-
@apply border-2 border-solid border-primary-main;
|
|
20
|
-
}
|
|
1
|
+
.multi-select-dropdown-wrap {
|
|
2
|
+
@apply relative text-form-field text-text-primary w-full;
|
|
3
|
+
.master,
|
|
4
|
+
.master-active {
|
|
5
|
+
@apply relative border border-solid border-input-border h-10 w-full;
|
|
6
|
+
input[type="text"] {
|
|
7
|
+
@apply absolute top-0 left-0 min-h-full opacity-0;
|
|
8
|
+
&:focus {
|
|
9
|
+
@apply outline-none;
|
|
10
|
+
}
|
|
21
11
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
.label{
|
|
29
|
-
@apply hidden;
|
|
30
|
-
}
|
|
12
|
+
.label {
|
|
13
|
+
@apply flex justify-between p-sm w-full h-full;
|
|
14
|
+
svg {
|
|
15
|
+
@apply h-6 w-6;
|
|
16
|
+
}
|
|
31
17
|
}
|
|
32
18
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
max-height:20vmax;
|
|
39
|
-
overflow: scroll;
|
|
40
|
-
@apply absolute min-w-full z-20;
|
|
41
|
-
div{
|
|
42
|
-
@apply flex w-full bg-white;
|
|
43
|
-
justify-content: flex-start;
|
|
44
|
-
align-items: center;
|
|
45
|
-
&:hover{
|
|
46
|
-
@apply bg-grey-mid;
|
|
47
|
-
}
|
|
48
|
-
input{
|
|
49
|
-
height: 44px;
|
|
50
|
-
@apply absolute min-w-full opacity-0 z-20 cursor-pointer;
|
|
51
|
-
}
|
|
52
|
-
p{
|
|
53
|
-
padding: 12px;
|
|
54
|
-
margin-top: 5px;
|
|
55
|
-
margin-bottom: 5px;
|
|
56
|
-
@apply text-form-field text-text-primary;
|
|
57
|
-
}
|
|
58
|
-
.custom-checkbox{
|
|
59
|
-
height: 28px;
|
|
60
|
-
width: 28px;
|
|
61
|
-
@apply border border-solid border-input-border m-sm;
|
|
62
|
-
svg{
|
|
63
|
-
@apply opacity-0 z-10;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
input:checked ~ .custom-checkbox,
|
|
67
|
-
input:hover ~ .custom-checkbox {
|
|
68
|
-
@apply border-2 border-primary-main;
|
|
69
|
-
}
|
|
19
|
+
&:hover {
|
|
20
|
+
@apply border-2 border-solid border-primary-main;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
70
23
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
24
|
+
.master-active {
|
|
25
|
+
@apply border-2 border-primary-main;
|
|
26
|
+
input[type="text"] {
|
|
27
|
+
@apply opacity-100;
|
|
28
|
+
}
|
|
29
|
+
.label {
|
|
30
|
+
@apply hidden;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
74
33
|
|
|
34
|
+
.server {
|
|
35
|
+
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
|
|
36
|
+
top: 100%;
|
|
37
|
+
width: 100% !important;
|
|
38
|
+
max-height: 20vmax;
|
|
39
|
+
overflow: scroll;
|
|
40
|
+
@apply absolute z-20;
|
|
41
|
+
div {
|
|
42
|
+
@apply flex w-full bg-white;
|
|
43
|
+
justify-content: flex-start;
|
|
44
|
+
align-items: center;
|
|
45
|
+
&:hover {
|
|
46
|
+
@apply bg-grey-mid;
|
|
47
|
+
}
|
|
48
|
+
input {
|
|
49
|
+
height: 44px;
|
|
50
|
+
@apply absolute min-w-full opacity-0 z-20 cursor-pointer;
|
|
51
|
+
}
|
|
52
|
+
p {
|
|
53
|
+
padding: 12px;
|
|
54
|
+
margin-top: 5px;
|
|
55
|
+
margin-bottom: 5px;
|
|
56
|
+
@apply text-form-field text-text-primary;
|
|
57
|
+
}
|
|
58
|
+
.custom-checkbox {
|
|
59
|
+
height: 28px;
|
|
60
|
+
width: 28px;
|
|
61
|
+
@apply border border-solid border-input-border m-sm;
|
|
62
|
+
svg {
|
|
63
|
+
@apply opacity-0 z-10;
|
|
75
64
|
}
|
|
65
|
+
}
|
|
66
|
+
input:checked ~ .custom-checkbox,
|
|
67
|
+
input:hover ~ .custom-checkbox {
|
|
68
|
+
border: 2px solid #a1a1aa;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
input:checked ~ .custom-checkbox svg {
|
|
72
|
+
@apply opacity-100;
|
|
73
|
+
}
|
|
76
74
|
}
|
|
77
|
-
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -22,9 +22,11 @@
|
|
|
22
22
|
@apply relative rounded-md;
|
|
23
23
|
|
|
24
24
|
.select {
|
|
25
|
-
|
|
25
|
+
border: 2px solid #e5e5e7;
|
|
26
|
+
@apply relative block w-full h-10 rounded-md;
|
|
26
27
|
&:hover {
|
|
27
|
-
|
|
28
|
+
border: 2px solid #a1a1aa;
|
|
29
|
+
@apply rounded-md;
|
|
28
30
|
}
|
|
29
31
|
input[type="text"] {
|
|
30
32
|
width: calc(100% - 32px);
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.employee-card-input {
|
|
10
|
-
|
|
10
|
+
border: 2px solid #e5e5e7;
|
|
11
|
+
@apply pl-sm outline-none block w-full h-10 bg-white leading-10 text-form-field text-text-primary rounded-md;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
.employee-card-input:disabled {
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
border-right: 0;
|
|
23
24
|
padding-right: 5px;
|
|
24
25
|
border-radius: 6px 0 0 6px;
|
|
26
|
+
color: #e5e5e7;
|
|
25
27
|
}
|
|
26
28
|
.employee-card-input-error {
|
|
27
29
|
@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;
|
|
@@ -142,8 +142,12 @@
|
|
|
142
142
|
|
|
143
143
|
.upload-file {
|
|
144
144
|
min-height: 40px;
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
border: 2px solid #e5e5e7;
|
|
146
|
+
@apply relative w-full rounded-md;
|
|
147
|
+
&:hover {
|
|
148
|
+
border: 2px solid #a1a1aa;
|
|
149
|
+
@apply rounded-md;
|
|
150
|
+
}
|
|
147
151
|
div {
|
|
148
152
|
@apply flex flex-row h-full items-center pl-md mt-sm flex-wrap;
|
|
149
153
|
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.employee-card-input {
|
|
51
|
-
|
|
52
|
-
@
|
|
51
|
+
border: 2px solid #e5e5e7;
|
|
52
|
+
@apply pl-sm outline-none block w-full h-10 bg-white leading-10 text-form-field text-text-primary;
|
|
53
53
|
}
|
|
54
54
|
.employee-card-input:disabled {
|
|
55
55
|
@apply border-grey-dark text-grey-dark !important;
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
width: fit-content !important;
|
|
62
62
|
display: flex;
|
|
63
63
|
align-items: center;
|
|
64
|
+
color: #98989c;
|
|
64
65
|
/* background: theme(colors.grey.mid); */
|
|
65
66
|
@extend .light-background;
|
|
66
67
|
border-right: 0;
|
|
@@ -114,6 +115,6 @@
|
|
|
114
115
|
width: fit-content;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
.digit-form-composer-header{
|
|
118
|
-
|
|
119
|
-
}
|
|
118
|
+
.digit-form-composer-header {
|
|
119
|
+
font-size: theme(digitv2.fontSize.heading-l-dt);
|
|
120
|
+
}
|
package/src/index.scss
CHANGED
|
@@ -474,12 +474,13 @@ input[type="number"] {
|
|
|
474
474
|
}
|
|
475
475
|
.phone-input-wrapper:hover {
|
|
476
476
|
.employee-card-input--front {
|
|
477
|
-
border:
|
|
477
|
+
border: 2px solid #a1a1aa;
|
|
478
478
|
border-right: 0;
|
|
479
|
+
color: #a1a1aa;
|
|
479
480
|
}
|
|
480
481
|
|
|
481
482
|
input {
|
|
482
|
-
border: 1px solid #
|
|
483
|
+
border: 1px solid #e5e5e7;
|
|
483
484
|
}
|
|
484
485
|
}
|
|
485
486
|
|
|
@@ -488,8 +489,7 @@ input[type="number"] {
|
|
|
488
489
|
|
|
489
490
|
input {
|
|
490
491
|
&:hover {
|
|
491
|
-
|
|
492
|
-
border: 1px solid #667eea;
|
|
492
|
+
border: 2px solid #a1a1aa;
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
}
|