@egovernments/digit-ui-components-css 0.0.1-pucar.3 → 0.0.2-1
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/CHANGELOG.md +34 -0
- package/dist/index.css +6391 -4208
- package/dist/index.min.css +2 -2
- package/package.json +4 -2
- package/src/digitv2/components/actionbarV2.scss +207 -0
- package/src/digitv2/components/backLinkV2.scss +37 -0
- package/src/digitv2/components/breadcrumbV2.scss +57 -0
- package/src/digitv2/components/buttonsV2.scss +45 -2
- package/src/digitv2/components/cardV2.scss +498 -0
- package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
- package/src/digitv2/components/cardlabelV2.scss +8 -0
- package/src/digitv2/components/checkboxV2.scss +4 -0
- package/src/digitv2/components/{removeableTagV2.scss → chipV2.scss} +5 -0
- package/src/digitv2/components/dividerV2.scss +11 -0
- package/src/digitv2/components/errorMessageV2.scss +2 -0
- package/src/digitv2/components/fieldV1.scss +1 -1
- package/src/digitv2/components/headerdropdownV2.scss +152 -0
- package/src/digitv2/components/infoCardV2.scss +1 -4
- package/src/digitv2/components/labelFieldPairV2.scss +20 -11
- package/src/digitv2/components/mobileNumberV2.scss +1 -1
- package/src/digitv2/components/mobilesidebarV2.scss +439 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +1 -1
- package/src/digitv2/components/popUpV2.scss +29 -7
- package/src/digitv2/components/radiobtnV2.scss +6 -4
- package/src/digitv2/components/selectDropdownV2.scss +3 -3
- package/src/digitv2/components/sidebarV2.scss +409 -0
- package/src/digitv2/components/stepperV2.scss +30 -9
- package/src/digitv2/components/textInputV2.scss +1 -1
- package/src/digitv2/components/textareaV2.scss +1 -1
- package/src/digitv2/components/timelineV2.scss +55 -11
- package/src/digitv2/components/tooltipwrapperV2.scss +96 -0
- package/src/digitv2/components/topbarV2.scss +388 -0
- package/src/digitv2/components/uploaderV2.scss +98 -10
- package/src/digitv2/components/viewCardFieldPairV2.scss +45 -0
- package/src/digitv2/index.scss +14 -4
- package/src/digitv2/typography.scss +1 -1
- package/src/index.scss +0 -4
- package/src/pages/employee/index.scss +1 -1
- package/img/browser-icon.png +0 -0
- package/img/m_seva_white_logo.png +0 -0
- package/img/mseva-demo.png +0 -0
- package/svg/arrowdown.svg +0 -1
- package/svg/arrowleft.svg +0 -1
- package/svg/calendar.svg +0 -1
- package/svg/camera.svg +0 -4
- package/svg/check.svg +0 -4
- package/svg/close.svg +0 -4
- package/svg/error.svg +0 -4
- package/svg/error2.svg +0 -5
- package/svg/searchicon.svg +0 -4
- package/svg/starempty.svg +0 -4
- package/svg/starfilled.svg +0 -5
- package/svg/success.svg +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.2-1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.css",
|
|
6
6
|
"author": "Jagankumar <jagan.kumar@egov.org.in>",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"start": "gulp build",
|
|
15
|
+
"build": "NODE_ENV=production gulp build",
|
|
15
16
|
"build:prod": "NODE_ENV=production gulp build",
|
|
16
17
|
"prepublish": "yarn build:prod",
|
|
17
18
|
"publish:css-develop": "npm publish --tag core-v0.1",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"egov",
|
|
63
64
|
"dpg",
|
|
64
65
|
"digit-ui",
|
|
65
|
-
"css"
|
|
66
|
+
"css",
|
|
67
|
+
"digit-ui-components"
|
|
66
68
|
]
|
|
67
69
|
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
/*.digit-action-bar-wrap {
|
|
4
|
+
@extend .light-text-color-primary;
|
|
5
|
+
@extend .light-paper-primary;
|
|
6
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
z-index: 100;
|
|
9
|
+
|
|
10
|
+
@apply left-0 bottom-0 w-full bg-white py-sm px-sm fixed text-right;
|
|
11
|
+
|
|
12
|
+
div {
|
|
13
|
+
@apply w-full;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.digit-menu-wrap {
|
|
17
|
+
@extend .light-background;
|
|
18
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
19
|
+
bottom: 45px;
|
|
20
|
+
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;
|
|
21
|
+
width: calc(100% - 16px);
|
|
22
|
+
right: 8px;
|
|
23
|
+
|
|
24
|
+
div {
|
|
25
|
+
@extend .light-primary;
|
|
26
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
27
|
+
|
|
28
|
+
&:hover {
|
|
29
|
+
@extend .light-background;
|
|
30
|
+
@apply bg-grey-mid w-full;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@screen dt {
|
|
37
|
+
.digit-action-bar-wrap {
|
|
38
|
+
box-shadow: rgba(0, 0, 0, 0.16) 0 -2px 8px;
|
|
39
|
+
left: 0;
|
|
40
|
+
max-width: none;
|
|
41
|
+
z-index: 999;
|
|
42
|
+
|
|
43
|
+
@apply fixed bottom-0 bg-white py-sm pr-lg text-right;
|
|
44
|
+
|
|
45
|
+
div {
|
|
46
|
+
width: calc(100% - 16px);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.digit-menu-wrap {
|
|
50
|
+
bottom: 45px;
|
|
51
|
+
top: unset;
|
|
52
|
+
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;
|
|
53
|
+
@apply absolute h-auto bg-white text-left mb-xs z-30;
|
|
54
|
+
width: 240px;
|
|
55
|
+
right: 24px;
|
|
56
|
+
|
|
57
|
+
div {
|
|
58
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
@apply bg-grey-mid w-full;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.digit-action-bar-wrap-registry {
|
|
69
|
+
div {
|
|
70
|
+
@apply w-full;
|
|
71
|
+
}
|
|
72
|
+
.digit-menu-wrap {
|
|
73
|
+
@extend .light-background;
|
|
74
|
+
@apply absolute bg-white text-left mb-xs z-30 cursor-pointer;
|
|
75
|
+
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;
|
|
76
|
+
width: 160px;
|
|
77
|
+
right: 60px;
|
|
78
|
+
|
|
79
|
+
div {
|
|
80
|
+
@apply h-12 pl-sm py-md text-body-l text-text-primary;
|
|
81
|
+
|
|
82
|
+
&:hover {
|
|
83
|
+
@extend .light-background;
|
|
84
|
+
@apply bg-grey-mid w-full;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.digit-search-add {
|
|
90
|
+
@extend .light-primary;
|
|
91
|
+
padding: 12px 16px;
|
|
92
|
+
color: rgb(244, 119, 56);
|
|
93
|
+
display: flex;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.digit-search-add-icon {
|
|
98
|
+
@extend .light-primary-button;
|
|
99
|
+
background: rgb(244, 119, 56);
|
|
100
|
+
border-radius: 50%;
|
|
101
|
+
height: 24px;
|
|
102
|
+
width: 24px;
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
align-items: center;
|
|
106
|
+
margin-left: 10px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
.digit-action-bar-wrap{
|
|
112
|
+
width: 100%;
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
padding: theme(digitv2.spacers.spacer4) theme(digitv2.spacers.spacer8);
|
|
115
|
+
display: flex !important;
|
|
116
|
+
align-items: center;
|
|
117
|
+
justify-content: space-between;
|
|
118
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000029;
|
|
119
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
120
|
+
height: 4.5rem;
|
|
121
|
+
position: fixed;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
left: 0;
|
|
124
|
+
right: 0;
|
|
125
|
+
z-index: 100;
|
|
126
|
+
|
|
127
|
+
@media (min-width: 48rem) {
|
|
128
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
132
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@media (max-width: 30rem) {
|
|
136
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
137
|
+
box-shadow: theme(digitv2.spacers.spacer0) -0.063rem 0.125rem theme(digitv2.spacers.spacer0) #00000026;
|
|
138
|
+
height: 8rem;
|
|
139
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.digit-action-bar-fields{
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: space-between;
|
|
145
|
+
flex-wrap: wrap;
|
|
146
|
+
|
|
147
|
+
@media (min-width: 48rem) {
|
|
148
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
152
|
+
gap: theme(digitv2.spacers.spacer5);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@media (max-width: 30rem) {
|
|
156
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
157
|
+
flex-direction: column;
|
|
158
|
+
|
|
159
|
+
.action-bar-individual-action-field{
|
|
160
|
+
button{
|
|
161
|
+
width: 100%;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.toRight{
|
|
168
|
+
margin-left: auto;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&.toLeft{
|
|
172
|
+
justify-content: unset;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.action-bar-individual-action-field{
|
|
176
|
+
button{
|
|
177
|
+
flex: 1;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&:not(.toRight){
|
|
182
|
+
width: 100%;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.digit-dropdown-select-wrap,
|
|
187
|
+
.digit-employee-dropdown-select-wrap{
|
|
188
|
+
margin-bottom: 0rem;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.header-dropdown-container {
|
|
192
|
+
position: relative;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.header-dropdown-menu {
|
|
196
|
+
@apply absolute z-30;
|
|
197
|
+
bottom: theme(digitv2.spacers.spacer10);
|
|
198
|
+
right: 0;
|
|
199
|
+
max-height: unset;
|
|
200
|
+
margin-top: unset;
|
|
201
|
+
|
|
202
|
+
&.showBottom{
|
|
203
|
+
bottom: unset;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.digit-back-link {
|
|
2
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
|
|
6
|
+
.digit-back-link-icon {
|
|
7
|
+
flex-shrink: 0;
|
|
8
|
+
width: theme(digitv2.spacers.spacer6);
|
|
9
|
+
height: theme(digitv2.spacers.spacer6);
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
|
|
12
|
+
@media (max-width: 30rem) {
|
|
13
|
+
width: theme(digitv2.spacers.spacer5);
|
|
14
|
+
height: theme(digitv2.spacers.spacer5);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.digit-back-link-label {
|
|
20
|
+
@extend .typography.body-l;
|
|
21
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
22
|
+
margin-top:0.063rem;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.disabled{
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
.digit-back-link-label{
|
|
29
|
+
color: theme(digitv2.lightTheme.text-disabled);
|
|
30
|
+
cursor: default;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.digit-back-link-icon{
|
|
34
|
+
cursor: default;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
@import url("../typography.scss");
|
|
3
|
+
|
|
4
|
+
.digit-bread-crumb {
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
7
|
+
height: 1.375rem;
|
|
8
|
+
padding: unset;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.digit-bread-crumb--item {
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
button {
|
|
17
|
+
outline: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
.digit-bread-crumb-content {
|
|
22
|
+
@extend .typography.body-s;
|
|
23
|
+
display: flex !important;
|
|
24
|
+
gap: theme(digitv2.spacers.spacer1);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
width: theme(digitv2.spacers.spacer5);
|
|
30
|
+
height: theme(digitv2.spacers.spacer5);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
color: theme(digitv2.lightTheme.primary-1);
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
text-decoration: underline;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
span {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.digit-bread-crumb-content.current,
|
|
45
|
+
.digit-bread-crumb-seperator {
|
|
46
|
+
@extend .typography.body-s;
|
|
47
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
cursor: default;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
ol,
|
|
55
|
+
ul {
|
|
56
|
+
list-style: none;
|
|
57
|
+
}
|
|
@@ -165,7 +165,6 @@
|
|
|
165
165
|
&.large{
|
|
166
166
|
h2{
|
|
167
167
|
@apply h-5;
|
|
168
|
-
margin-top: 0.125rem;
|
|
169
168
|
}
|
|
170
169
|
}
|
|
171
170
|
|
|
@@ -404,4 +403,48 @@
|
|
|
404
403
|
|
|
405
404
|
.digit-submit-bar:focus {
|
|
406
405
|
@apply outline-none !important;
|
|
407
|
-
}
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.digit-buttons-group {
|
|
409
|
+
display: flex;
|
|
410
|
+
flex-direction: row;
|
|
411
|
+
height: fit-content;
|
|
412
|
+
gap:theme(digitv2.spacers.spacer4);
|
|
413
|
+
|
|
414
|
+
@media (max-width: 30rem) {
|
|
415
|
+
flex-direction: column;
|
|
416
|
+
|
|
417
|
+
button{
|
|
418
|
+
width: 100%;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
button{
|
|
423
|
+
flex: 1;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.header-dropdown-container {
|
|
428
|
+
position: relative;
|
|
429
|
+
|
|
430
|
+
.header-dropdown-menu {
|
|
431
|
+
@apply absolute z-30;
|
|
432
|
+
bottom: theme(digitv2.spacers.spacer5);
|
|
433
|
+
right: 0;
|
|
434
|
+
max-height: unset;
|
|
435
|
+
margin-top: unset;
|
|
436
|
+
|
|
437
|
+
&.showBottom{
|
|
438
|
+
bottom: unset;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
@media (max-width: 30rem) {
|
|
442
|
+
width: 100% !important;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
@media (max-width: 15.625rem) {
|
|
446
|
+
left:0 ;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
|