@egovernments/digit-ui-components-css 0.0.2-beta.42 → 0.0.2-beta.44
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 +144 -57
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +19 -6
- package/src/digitv2/components/loaderV2.scss +47 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +1 -0
- package/src/digitv2/components/radiobtnV2.scss +4 -0
- package/src/digitv2/components/selectDropdownV2.scss +3 -3
- package/src/digitv2/components/{selectionCardV2.scss → selectionTagV2.scss} +29 -6
- package/src/digitv2/components/{slideOverMenuV2.scss → sidePanelV2.scss} +20 -0
- package/src/digitv2/components/topbarV2.scss +1 -1
- package/src/digitv2/components/treeSelectV2.scss +1 -1
- package/src/digitv2/index.scss +14 -7
- /package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +0 -0
- /package/src/digitv2/components/{actionbarV2.scss → footerV2.scss} +0 -0
- /package/src/digitv2/components/{mobilesidebarV2.scss → mobilesidenavV2.scss} +0 -0
- /package/src/digitv2/components/{sidebarV2.scss → sidenavV2.scss} +0 -0
package/package.json
CHANGED
|
@@ -20,8 +20,14 @@
|
|
|
20
20
|
gap: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer0);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
.upload-options-svg-wrap{
|
|
24
|
+
width: theme(digitv2.spacers.spacer10);
|
|
25
|
+
height: theme(digitv2.spacers.spacer10);
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
.upload-options-label {
|
|
24
|
-
@extend .typography.
|
|
30
|
+
@extend .typography.button.large;
|
|
25
31
|
@apply cursor-pointer;
|
|
26
32
|
color: theme(digitv2.lightTheme.primary-1);
|
|
27
33
|
}
|
|
@@ -108,7 +114,7 @@
|
|
|
108
114
|
outline: none !important;
|
|
109
115
|
}
|
|
110
116
|
|
|
111
|
-
.digit-uploader-content-
|
|
117
|
+
.digit-uploader-content-uploadWidget {
|
|
112
118
|
@apply flex flex-col w-full items-center justify-center max-w-full;
|
|
113
119
|
gap: theme(digitv2.spacers.spacer4);
|
|
114
120
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
@@ -164,13 +170,20 @@
|
|
|
164
170
|
}
|
|
165
171
|
}
|
|
166
172
|
|
|
173
|
+
.drag-drop-link{
|
|
174
|
+
@extend .typography.link-S;
|
|
175
|
+
margin-left: theme(digitv2.spacers.spacer1);
|
|
176
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
177
|
+
cursor: pointer;
|
|
178
|
+
}
|
|
179
|
+
|
|
167
180
|
&.error {
|
|
168
181
|
border-style: dashed !important;
|
|
169
182
|
border: 0.094rem solid theme(digitv2.lightTheme.alert-error);
|
|
170
183
|
}
|
|
171
184
|
}
|
|
172
185
|
|
|
173
|
-
.digit-
|
|
186
|
+
.digit-uploadWidget-label {
|
|
174
187
|
@extend .typography.body-s;
|
|
175
188
|
font-family: theme(digitv2.fontFamily.sans);
|
|
176
189
|
font-style: theme(digitv2.fontStyle.normal);
|
|
@@ -471,7 +484,7 @@
|
|
|
471
484
|
}
|
|
472
485
|
}
|
|
473
486
|
|
|
474
|
-
.digit-
|
|
487
|
+
.digit-uploadWidget-close-icon {
|
|
475
488
|
@apply absolute top-0 right-0 w-6 h-6 items-center cursor-pointer;
|
|
476
489
|
background: theme(digitv2.lightTheme.generic-background);
|
|
477
490
|
border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
|
|
@@ -488,7 +501,7 @@
|
|
|
488
501
|
&.error {
|
|
489
502
|
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
490
503
|
|
|
491
|
-
.digit-
|
|
504
|
+
.digit-uploadWidget-close-icon {
|
|
492
505
|
background: theme(digitv2.lightTheme.alert-error);
|
|
493
506
|
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
494
507
|
border-top: none;
|
|
@@ -505,7 +518,7 @@
|
|
|
505
518
|
}
|
|
506
519
|
}
|
|
507
520
|
|
|
508
|
-
.
|
|
521
|
+
.uploadWidget-error-card {
|
|
509
522
|
@apply w-full max-w-full;
|
|
510
523
|
margin: theme(digitv2.spacers.spacer0);
|
|
511
524
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.digit-animation{
|
|
2
|
+
width: fit-content;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.digit-loader-new {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
align-items: center;
|
|
11
|
+
|
|
12
|
+
.digit-loader-text {
|
|
13
|
+
@extend .typography.caption-s;
|
|
14
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.PageLoader {
|
|
18
|
+
position: fixed;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.OverlayLoader {
|
|
26
|
+
|
|
27
|
+
position: fixed;
|
|
28
|
+
top: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
background-color: rgba(11, 12, 12, 0.7);
|
|
33
|
+
z-index: 9999;
|
|
34
|
+
backdrop-filter: blur(0.125rem);
|
|
35
|
+
-webkit-backdrop-filter: blur(0.125rem);
|
|
36
|
+
|
|
37
|
+
.digit-loader-text{
|
|
38
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.custom-loader-example{
|
|
44
|
+
.digit-loader-text{
|
|
45
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -463,6 +463,7 @@
|
|
|
463
463
|
font-style: theme(digitv2.fontStyle.normal);
|
|
464
464
|
font-weight: theme(digitv2.fontWeight.regular);
|
|
465
465
|
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
466
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
466
467
|
|
|
467
468
|
@media (max-aspect-ratio: 9/16) {
|
|
468
469
|
/* Media query for mobile */
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
}
|
|
200
200
|
.digit-dropdown-item {
|
|
201
201
|
@apply flex flex-row;
|
|
202
|
-
padding:
|
|
202
|
+
padding: theme(digitv2.spacers.spacer3);
|
|
203
203
|
gap: 0.625rem;
|
|
204
204
|
min-height: 2.438rem;
|
|
205
205
|
color: theme(digitv2.lightTheme.text-primary) !important;
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
}
|
|
319
319
|
&.nestedtextdropdown {
|
|
320
320
|
min-height: 4.75rem;
|
|
321
|
-
padding: theme(digitv2.spacers.spacer2)
|
|
321
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3) theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
322
322
|
color: theme(digitv2.lightTheme.text-secondary) !important;
|
|
323
323
|
&:hover {
|
|
324
324
|
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
}
|
|
357
357
|
&.profiledropdown {
|
|
358
358
|
min-height: theme(digitv2.spacers.spacer12);
|
|
359
|
-
padding: theme(digitv2.spacers.spacer2)
|
|
359
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
360
360
|
}
|
|
361
361
|
&.profilenestedtext {
|
|
362
362
|
min-height: 4.75rem;
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
justify-content: center;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
+
&.hideContainer{
|
|
23
|
+
border: none;
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
border-radius: theme(digitv2.spacers.spacer0);
|
|
26
|
+
}
|
|
27
|
+
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
.selection-card.error {
|
|
@@ -26,6 +32,7 @@
|
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
.option {
|
|
35
|
+
@extend .typography.body-s;
|
|
29
36
|
display: flex;
|
|
30
37
|
align-items: center;
|
|
31
38
|
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
|
|
@@ -40,30 +47,46 @@
|
|
|
40
47
|
font-style: theme(digitv2.fontStyle.normal);
|
|
41
48
|
font-weight: theme(digitv2.fontWeight.regular);
|
|
42
49
|
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
43
|
-
|
|
44
50
|
@media (max-aspect-ratio: 9/16) {
|
|
45
51
|
/* Media query for mobile */
|
|
46
|
-
font-size: theme(digitv2.fontSize.body-
|
|
52
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
47
53
|
}
|
|
48
54
|
|
|
49
55
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
50
56
|
/* Media query for tablets */
|
|
51
|
-
font-size: theme(digitv2.fontSize.body-
|
|
57
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
@media (min-aspect-ratio: 3/4) {
|
|
55
61
|
/* Media query for desktop */
|
|
56
|
-
font-size: theme(digitv2.fontSize.body-
|
|
62
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
57
63
|
}
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
.option.selected {
|
|
67
|
+
@extend .typography.heading-s;
|
|
61
68
|
background-color: theme(digitv2.lightTheme.primary-1);
|
|
62
69
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
63
70
|
font-weight: theme(digitv2.fontWeight.bold);
|
|
71
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
72
|
+
|
|
73
|
+
@media (max-aspect-ratio: 9/16) {
|
|
74
|
+
/* Media query for mobile */
|
|
75
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
79
|
+
/* Media query for tablets */
|
|
80
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@media (min-aspect-ratio: 3/4) {
|
|
84
|
+
/* Media query for desktop */
|
|
85
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
86
|
+
}
|
|
64
87
|
}
|
|
65
88
|
|
|
66
|
-
.option .
|
|
89
|
+
.option .selectiontag-option-label {
|
|
67
90
|
width: 100%;
|
|
68
91
|
display: flex;
|
|
69
92
|
align-items: center;
|
|
@@ -71,7 +94,7 @@
|
|
|
71
94
|
}
|
|
72
95
|
|
|
73
96
|
|
|
74
|
-
.option .
|
|
97
|
+
.option .selectiontagicon {
|
|
75
98
|
flex-shrink: 0;
|
|
76
99
|
display: flex;
|
|
77
100
|
align-items: center;
|
|
@@ -102,8 +102,28 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.slider-header {
|
|
105
|
+
@extend .typography.heading-m;
|
|
105
106
|
flex-shrink: 0;
|
|
106
107
|
padding: theme(digitv2.spacers.spacer4);
|
|
108
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
109
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
110
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
111
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
112
|
+
|
|
113
|
+
@media (max-aspect-ratio: 9/16) {
|
|
114
|
+
/* Media query for mobile */
|
|
115
|
+
font-size: theme(digitv2.fontSize.heading-m.mobile);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
119
|
+
/* Media query for tablets */
|
|
120
|
+
font-size: theme(digitv2.fontSize.heading-m.tablet);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@media (min-aspect-ratio: 3/4) {
|
|
124
|
+
/* Media query for desktop */
|
|
125
|
+
font-size: theme(digitv2.fontSize.heading-m.desktop);
|
|
126
|
+
}
|
|
107
127
|
border-bottom: 0.063rem solid #d6d5d4;
|
|
108
128
|
|
|
109
129
|
.close-icon {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@apply relative cursor-pointer flex items-center;
|
|
19
19
|
height: 2.4375rem;
|
|
20
20
|
gap: theme(digitv2.spacers.spacer1);
|
|
21
|
-
padding: theme(digitv2.spacers.spacer4)
|
|
21
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer3);
|
|
22
22
|
&:hover {
|
|
23
23
|
background: theme(digitv2.lightTheme.primary-bg);
|
|
24
24
|
border: 0.063rem solid theme(digitv2.lightTheme.primary-1);
|
package/src/digitv2/index.scss
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@import url("./components/fieldV1.scss");
|
|
14
14
|
@import url("./components/FormComposerV2.scss");
|
|
15
15
|
@import url("./components/infobuttonV2.scss");
|
|
16
|
-
@import url("./components/
|
|
16
|
+
@import url("./components/alertCardV2.scss");
|
|
17
17
|
@import url("./components/labelFieldPairV2.scss");
|
|
18
18
|
@import url("./components/mobileNumberV2.scss");
|
|
19
19
|
@import url("./components/multiSelectDropdownV2.scss");
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@import url("./components/selectDropdownV2.scss");
|
|
26
26
|
@import url("./components/stepperV2.scss");
|
|
27
27
|
@import url("./components/switchV2.scss");
|
|
28
|
-
@import url("./components/
|
|
28
|
+
@import url("./components/selectionTagV2.scss");
|
|
29
29
|
@import url("./components/textareaV2.scss");
|
|
30
30
|
@import url("./components/textblockV2.scss");
|
|
31
31
|
@import url("./components/textInputV2.scss");
|
|
@@ -33,25 +33,26 @@
|
|
|
33
33
|
@import url("./components/toastV2.scss");
|
|
34
34
|
@import url("./components/toggleV2.scss");
|
|
35
35
|
@import url("./components/treeSelectV2.scss");
|
|
36
|
-
@import url("./components/
|
|
36
|
+
@import url("./components/fileUploadV2.scss");
|
|
37
37
|
@import url("./components/viewCardFieldPairV2.scss");
|
|
38
|
-
@import url("./components/
|
|
38
|
+
@import url("./components/footerV2.scss");
|
|
39
39
|
@import url("./components/headerdropdownV2.scss");
|
|
40
40
|
@import url("./components/topbarV2.scss");
|
|
41
41
|
@import url("./components/tabV2.scss");
|
|
42
|
-
@import url("./components/
|
|
43
|
-
@import url("./components/
|
|
42
|
+
@import url("./components/sidenavV2.scss");
|
|
43
|
+
@import url("./components/mobilesidenavV2.scss");
|
|
44
44
|
@import url("./components/tooltipwrapperV2.scss");
|
|
45
45
|
@import url("./components/tagV2.scss");
|
|
46
46
|
@import url("./components/landingpagecardV2.scss");
|
|
47
47
|
@import url("./components/menuCardV2.scss");
|
|
48
48
|
@import url("./components/otpInputV2.scss");
|
|
49
49
|
@import url("./components/tableV2.scss");
|
|
50
|
-
@import url("./components/
|
|
50
|
+
@import url("./components/sidePanelV2.scss");
|
|
51
51
|
@import url("./components/metricCardV2.scss");
|
|
52
52
|
@import url("./components/formCardV2.scss");
|
|
53
53
|
@import url("./components/filterCardV2.scss");
|
|
54
54
|
@import url("./components/viewCardV2.scss");
|
|
55
|
+
@import url("./components/loaderV2.scss");
|
|
55
56
|
|
|
56
57
|
/* pages */
|
|
57
58
|
@import url("./pages/employee/index.scss");
|
|
@@ -321,4 +322,10 @@
|
|
|
321
322
|
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
322
323
|
}
|
|
323
324
|
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.sb-main-padded{
|
|
328
|
+
&.sb-show-main{
|
|
329
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
330
|
+
}
|
|
324
331
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|