@egovernments/digit-ui-components-css 0.0.2-beta.13 → 0.0.2-beta.18
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 +4 -0
- package/dist/index.css +157 -33
- package/dist/index.min.css +3 -3
- package/package.json +3 -3
- package/src/digitv2/components/actionbarV2.scss +19 -18
- package/src/digitv2/components/selectionCardV2.scss +73 -0
- package/src/digitv2/components/sidebarV2.scss +88 -36
- package/src/digitv2/components/stepperV2.scss +0 -3
- package/src/digitv2/components/timelineV2.scss +40 -4
- package/src/digitv2/index.scss +1 -0
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.css",
|
|
6
|
-
"author": "Jagankumar <jagan.kumar@
|
|
6
|
+
"author": "Jagankumar <jagan.kumar@egovernments.org>",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=14"
|
|
9
9
|
},
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
|
|
21
21
|
},
|
|
22
22
|
"browserslist": [
|
|
23
|
-
"> 3%",
|
|
23
|
+
"> 3%" ,
|
|
24
24
|
"last 2 versions"
|
|
25
25
|
],
|
|
26
26
|
"style": "./dist/index.css",
|
|
@@ -144,6 +144,24 @@
|
|
|
144
144
|
justify-content: space-between;
|
|
145
145
|
flex-wrap: wrap;
|
|
146
146
|
|
|
147
|
+
&.toRight{
|
|
148
|
+
margin-left: auto;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.toLeft{
|
|
152
|
+
justify-content: unset;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.action-bar-individual-action-field{
|
|
156
|
+
button{
|
|
157
|
+
flex: 1;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:not(.toRight){
|
|
162
|
+
width: 100%;
|
|
163
|
+
}
|
|
164
|
+
|
|
147
165
|
@media (min-width: 48rem) {
|
|
148
166
|
gap: theme(digitv2.spacers.spacer6);
|
|
149
167
|
}
|
|
@@ -155,6 +173,7 @@
|
|
|
155
173
|
@media (max-width: 30rem) {
|
|
156
174
|
gap: theme(digitv2.spacers.spacer4);
|
|
157
175
|
flex-direction: column;
|
|
176
|
+
width: 100%;
|
|
158
177
|
|
|
159
178
|
.action-bar-individual-action-field{
|
|
160
179
|
button{
|
|
@@ -163,24 +182,6 @@
|
|
|
163
182
|
}
|
|
164
183
|
}
|
|
165
184
|
}
|
|
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
|
}
|
|
185
186
|
|
|
186
187
|
.digit-dropdown-select-wrap,
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.selection-card-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.selection-card {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
11
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
12
|
+
border: 0.063rem solid #d6d5d4;
|
|
13
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
14
|
+
background-color: theme(digitv2.lightTheme.paper-secondary);
|
|
15
|
+
width: fit-content;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.selection-card.error {
|
|
19
|
+
border-color: theme(digitv2.lightTheme.alert-error);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.option {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer4);
|
|
26
|
+
border: 0.063rem solid #d6d5d4;
|
|
27
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
28
|
+
background-color: theme(digitv2.lightTheme.paper-primary);
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
height: theme(digitv2.spacers.spacer10);
|
|
31
|
+
gap:theme(digitv2.spacers.spacer2);
|
|
32
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
33
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
34
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
35
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
36
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
37
|
+
|
|
38
|
+
@media (max-aspect-ratio: 9/16) {
|
|
39
|
+
/* Media query for mobile */
|
|
40
|
+
font-size: theme(digitv2.fontSize.body-l.mobile);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
44
|
+
/* Media query for tablets */
|
|
45
|
+
font-size: theme(digitv2.fontSize.body-l.tablet);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media (min-aspect-ratio: 3/4) {
|
|
49
|
+
/* Media query for desktop */
|
|
50
|
+
font-size: theme(digitv2.fontSize.body-l.desktop);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.option.selected {
|
|
55
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
56
|
+
color: theme(digitv2.lightTheme.paper-primary);
|
|
57
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.option .selectioncard-option-label {
|
|
61
|
+
width: 100%;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
.option .selectioncardicon {
|
|
69
|
+
flex-shrink: 0;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
justify-content: center;
|
|
73
|
+
}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
padding-top: 1.563rem;
|
|
12
|
-
padding-left:theme(digitv2.spacers.spacer3);
|
|
13
|
-
padding-right:theme(digitv2.spacers.spacer3);
|
|
12
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
13
|
+
padding-right: theme(digitv2.spacers.spacer3);
|
|
14
14
|
|
|
15
15
|
&.hovered {
|
|
16
16
|
width: auto;
|
|
@@ -23,17 +23,17 @@
|
|
|
23
23
|
height: 4.5rem;
|
|
24
24
|
min-width: 15rem;
|
|
25
25
|
width: auto;
|
|
26
|
-
padding:theme(digitv2.spacers.spacer4) !important;
|
|
26
|
+
padding: theme(digitv2.spacers.spacer4) !important;
|
|
27
27
|
|
|
28
28
|
.sidebar-search {
|
|
29
|
-
height:theme(digitv2.spacers.spacer10) !important;
|
|
29
|
+
height: theme(digitv2.spacers.spacer10) !important;
|
|
30
30
|
min-width: 13rem;
|
|
31
31
|
|
|
32
32
|
.digit-text-input-customIcon {
|
|
33
|
-
height:theme(digitv2.spacers.spacer6);
|
|
34
|
-
width:theme(digitv2.spacers.spacer6);
|
|
35
|
-
top:theme(digitv2.spacers.spacer2);
|
|
36
|
-
right:theme(digitv2.spacers.spacer2);
|
|
33
|
+
height: theme(digitv2.spacers.spacer6);
|
|
34
|
+
width: theme(digitv2.spacers.spacer6);
|
|
35
|
+
top: theme(digitv2.spacers.spacer2);
|
|
36
|
+
right: theme(digitv2.spacers.spacer2);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.input-container {
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
.sidebar-item {
|
|
107
107
|
display: flex;
|
|
108
108
|
align-items: center;
|
|
109
|
-
padding:theme(digitv2.spacers.spacer4);
|
|
109
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
110
110
|
color: theme(digitv2.lightTheme.paper-primary);
|
|
111
111
|
text-decoration: none;
|
|
112
112
|
transition: background-color 0.3s;
|
|
@@ -152,9 +152,9 @@
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.icon {
|
|
155
|
-
margin-right:theme(digitv2.spacers.spacer3);
|
|
156
|
-
width:theme(digitv2.spacers.spacer6);
|
|
157
|
-
height:theme(digitv2.spacers.spacer6);
|
|
155
|
+
margin-right: theme(digitv2.spacers.spacer3);
|
|
156
|
+
width: theme(digitv2.spacers.spacer6);
|
|
157
|
+
height: theme(digitv2.spacers.spacer6);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.item-label {
|
|
@@ -184,8 +184,8 @@
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.expand-icon {
|
|
187
|
-
width:theme(digitv2.spacers.spacer6);
|
|
188
|
-
height:theme(digitv2.spacers.spacer6);
|
|
187
|
+
width: theme(digitv2.spacers.spacer6);
|
|
188
|
+
height: theme(digitv2.spacers.spacer6);
|
|
189
189
|
margin-left: auto !important;
|
|
190
190
|
}
|
|
191
191
|
|
|
@@ -218,14 +218,14 @@
|
|
|
218
218
|
.sidebar-item.selected::before,
|
|
219
219
|
.sidebar-item:active::before,
|
|
220
220
|
.sidebar-item:active:hover::before,
|
|
221
|
-
.sidebar-item.selected:hover::before{
|
|
221
|
+
.sidebar-item.selected:hover::before {
|
|
222
222
|
content: '';
|
|
223
223
|
position: absolute;
|
|
224
224
|
top: 0.062rem;
|
|
225
225
|
left: 0;
|
|
226
226
|
bottom: 0.063rem;
|
|
227
|
-
width: theme(digitv2.spacers.spacer2);
|
|
228
|
-
background: theme(digitv2.lightTheme.paper-primary);
|
|
227
|
+
width: theme(digitv2.spacers.spacer2);
|
|
228
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
229
229
|
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
230
230
|
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
231
231
|
}
|
|
@@ -251,14 +251,14 @@
|
|
|
251
251
|
.sidebar-item.light.secondary.selected::before,
|
|
252
252
|
.sidebar-item.light.secondary:active::before,
|
|
253
253
|
.sidebar-item.light.secondary:active:hover::before,
|
|
254
|
-
.sidebar-item.light.secondary.selected:hover::before{
|
|
254
|
+
.sidebar-item.light.secondary.selected:hover::before {
|
|
255
255
|
content: '';
|
|
256
256
|
position: absolute;
|
|
257
257
|
top: 0.063rem;
|
|
258
258
|
left: 0;
|
|
259
259
|
bottom: 0.063rem;
|
|
260
|
-
width: theme(digitv2.spacers.spacer2);
|
|
261
|
-
background:theme(digitv2.lightTheme.primary-1);
|
|
260
|
+
width: theme(digitv2.spacers.spacer2);
|
|
261
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
262
262
|
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
263
263
|
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
264
264
|
}
|
|
@@ -268,26 +268,26 @@
|
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
.sidebar-children {
|
|
271
|
-
margin-left:theme(digitv2.spacers.spacer6);
|
|
271
|
+
margin-left: theme(digitv2.spacers.spacer6);
|
|
272
272
|
border-left: 0.031rem solid theme(digitv2.lightTheme.text-disabled);
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.sidebar-bottom {
|
|
276
276
|
background-color: #FFFFFF33;
|
|
277
277
|
z-index: 5;
|
|
278
|
-
padding:theme(digitv2.spacers.spacer4);
|
|
278
|
+
padding: theme(digitv2.spacers.spacer4);
|
|
279
279
|
display: flex;
|
|
280
280
|
flex-direction: column;
|
|
281
|
-
gap:theme(digitv2.spacers.spacer4);
|
|
281
|
+
gap: theme(digitv2.spacers.spacer4);
|
|
282
282
|
padding-right: theme(digitv2.spacers.spacer0);
|
|
283
283
|
padding-left: theme(digitv2.spacers.spacer0);
|
|
284
284
|
|
|
285
285
|
.sidebar-bottom-item {
|
|
286
286
|
display: flex;
|
|
287
287
|
align-items: center;
|
|
288
|
-
gap:theme(digitv2.spacers.spacer2);
|
|
288
|
+
gap: theme(digitv2.spacers.spacer2);
|
|
289
289
|
cursor: pointer;
|
|
290
|
-
height:theme(digitv2.spacers.spacer10);
|
|
290
|
+
height: theme(digitv2.spacers.spacer10);
|
|
291
291
|
|
|
292
292
|
&:hover {
|
|
293
293
|
background-color: #FFFFFF4D;
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
|
|
296
296
|
svg {
|
|
297
297
|
flex-shrink: 0;
|
|
298
|
-
margin-left:theme(digitv2.spacers.spacer6);
|
|
298
|
+
margin-left: theme(digitv2.spacers.spacer6);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
.sidebar-bottom-item-text {
|
|
@@ -351,33 +351,33 @@
|
|
|
351
351
|
padding-right: theme(digitv2.spacers.spacer0);
|
|
352
352
|
|
|
353
353
|
.sidebar-search-container-collapsed {
|
|
354
|
-
padding-left:theme(digitv2.spacers.spacer3);
|
|
355
|
-
padding-right:theme(digitv2.spacers.spacer3);
|
|
354
|
+
padding-left: theme(digitv2.spacers.spacer3);
|
|
355
|
+
padding-right: theme(digitv2.spacers.spacer3);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
.sidebar-items-container {
|
|
359
359
|
|
|
360
360
|
display: flex !important;
|
|
361
361
|
flex-direction: column;
|
|
362
|
-
gap:theme(digitv2.spacers.spacer6);
|
|
363
|
-
margin-top:theme(digitv2.spacers.spacer6);
|
|
362
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
363
|
+
margin-top: theme(digitv2.spacers.spacer6);
|
|
364
364
|
|
|
365
365
|
.item-child-wrapper {
|
|
366
366
|
width: 100%;
|
|
367
|
-
height:theme(digitv2.spacers.spacer10);
|
|
367
|
+
height: theme(digitv2.spacers.spacer10);
|
|
368
368
|
display: flex;
|
|
369
369
|
align-items: center;
|
|
370
370
|
justify-content: center;
|
|
371
371
|
|
|
372
372
|
.sidebar-item {
|
|
373
373
|
padding: theme(digitv2.spacers.spacer0);
|
|
374
|
-
width:theme(digitv2.spacers.spacer6);
|
|
374
|
+
width: theme(digitv2.spacers.spacer6);
|
|
375
375
|
height: 100%;
|
|
376
376
|
|
|
377
377
|
|
|
378
378
|
.icon {
|
|
379
|
-
margin-right:theme(digitv2.spacers.spacer3);
|
|
380
|
-
margin-left:theme(digitv2.spacers.spacer3);
|
|
379
|
+
margin-right: theme(digitv2.spacers.spacer3);
|
|
380
|
+
margin-left: theme(digitv2.spacers.spacer3);
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
&.parentLevel {
|
|
@@ -389,13 +389,65 @@
|
|
|
389
389
|
.sidebar-item.selected,
|
|
390
390
|
.sidebar-item.selectedAsParent {
|
|
391
391
|
background: theme(digitv2.lightTheme.primary-1);
|
|
392
|
-
border-left: 0.25rem solid theme(digitv2.lightTheme.paper-primary);
|
|
393
392
|
display: flex;
|
|
394
393
|
align-items: center;
|
|
395
394
|
justify-content: center;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.sidebar-item.selected::before,
|
|
398
|
+
.sidebar-item:active::before,
|
|
399
|
+
.sidebar-item.selectedAsParent::before,
|
|
400
|
+
.sidebar-item:active:hover::before,
|
|
401
|
+
.sidebar-item.selected:hover::before {
|
|
402
|
+
content: '';
|
|
403
|
+
position: absolute;
|
|
404
|
+
top: 0.062rem;
|
|
405
|
+
left: 0;
|
|
406
|
+
bottom: 0.063rem;
|
|
407
|
+
width: theme(digitv2.spacers.spacer1);
|
|
408
|
+
background: theme(digitv2.lightTheme.paper-primary);
|
|
409
|
+
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
410
|
+
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.sidebar-item.secondary:active,
|
|
414
|
+
.sidebar-item.secondary.selected,
|
|
415
|
+
.sidebar-item.secondary:active:hover,
|
|
416
|
+
.sidebar-item.secondary.selected:hover ,
|
|
417
|
+
.sidebar-item.secondary.selectedAsParent,
|
|
418
|
+
.sidebar-item.secondary.selectedAsParent:hover{
|
|
419
|
+
background: #FFFFFF4D;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.sidebar-item.light.secondary:active,
|
|
423
|
+
.sidebar-item.light.secondary.selected,
|
|
424
|
+
.sidebar-item.light.secondary:active:hover,
|
|
425
|
+
.sidebar-item.light.secondary.selected:hover,
|
|
426
|
+
.sidebar-item.light.secondary.selectedAsParent,
|
|
427
|
+
.sidebar-item.light.secondary.selectedAsParent:hover {
|
|
428
|
+
background: #c84c0e1a;
|
|
396
429
|
|
|
430
|
+
.item-label {
|
|
431
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
432
|
+
}
|
|
397
433
|
}
|
|
398
434
|
|
|
435
|
+
.sidebar-item.light.secondary.selected::before,
|
|
436
|
+
.sidebar-item.light.secondary:active::before,
|
|
437
|
+
.sidebar-item.light.secondary:active:hover::before,
|
|
438
|
+
.sidebar-item.light.secondary.selected:hover::before,
|
|
439
|
+
.sidebar-item.light.secondary.selectedAsParent::before,
|
|
440
|
+
.sidebar-item.light.secondary.selectedAsParent:hover::before{
|
|
441
|
+
content: '';
|
|
442
|
+
position: absolute;
|
|
443
|
+
top: 0.063rem;
|
|
444
|
+
left: 0;
|
|
445
|
+
bottom: 0.063rem;
|
|
446
|
+
width: theme(digitv2.spacers.spacer1);
|
|
447
|
+
background: theme(digitv2.lightTheme.primary-1);
|
|
448
|
+
border-top-right-radius: theme(digitv2.spacers.spacer1);
|
|
449
|
+
border-bottom-right-radius: theme(digitv2.spacers.spacer1);
|
|
450
|
+
}
|
|
399
451
|
|
|
400
452
|
}
|
|
401
453
|
}
|
|
@@ -404,6 +456,6 @@
|
|
|
404
456
|
|
|
405
457
|
.digit-sidebar-footer-img {
|
|
406
458
|
width: 6.563rem;
|
|
407
|
-
height:theme(digitv2.spacers.spacer3);
|
|
459
|
+
height: theme(digitv2.spacers.spacer3);
|
|
408
460
|
margin-left: 25%;
|
|
409
461
|
}
|
|
@@ -79,18 +79,15 @@
|
|
|
79
79
|
height: 0.125rem;
|
|
80
80
|
|
|
81
81
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
82
|
-
min-width: 6.313rem;
|
|
83
82
|
max-width: 39.438rem;
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
@media (max-aspect-ratio: 9/16) {
|
|
87
|
-
min-width: 4.313rem;
|
|
88
86
|
max-width: 16.875rem;
|
|
89
87
|
top: 0.875rem;
|
|
90
88
|
}
|
|
91
89
|
|
|
92
90
|
@media (min-aspect-ratio: 3/4) {
|
|
93
|
-
min-width: 5.313rem;
|
|
94
91
|
max-width: 82.688rem;
|
|
95
92
|
}
|
|
96
93
|
|
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
/* Media query for mobile */
|
|
66
66
|
padding-top: 0.164rem;
|
|
67
67
|
}
|
|
68
|
+
|
|
69
|
+
&.upcoming{
|
|
70
|
+
color:theme(digitv2.lightTheme.text-secondary);
|
|
71
|
+
}
|
|
68
72
|
}
|
|
69
73
|
|
|
70
74
|
.timeline-date {
|
|
@@ -109,7 +113,7 @@ img {
|
|
|
109
113
|
border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
|
|
110
114
|
}
|
|
111
115
|
|
|
112
|
-
.timeline-circle.inprogress::after {
|
|
116
|
+
.timeline-circle.inprogress:not(.error)::after {
|
|
113
117
|
@apply absolute w-4 h-4;
|
|
114
118
|
content: '';
|
|
115
119
|
top: 50%;
|
|
@@ -124,9 +128,7 @@ img {
|
|
|
124
128
|
}
|
|
125
129
|
}
|
|
126
130
|
|
|
127
|
-
.timeline-circle
|
|
128
|
-
background-color: theme(digitv2.lightTheme.primary-1);
|
|
129
|
-
|
|
131
|
+
.timeline-circle{
|
|
130
132
|
.check-icon {
|
|
131
133
|
@apply w-6 h-6 absolute;
|
|
132
134
|
top: 50%;
|
|
@@ -141,6 +143,10 @@ img {
|
|
|
141
143
|
}
|
|
142
144
|
}
|
|
143
145
|
|
|
146
|
+
.timeline-circle.completed {
|
|
147
|
+
background-color: theme(digitv2.lightTheme.primary-1);
|
|
148
|
+
}
|
|
149
|
+
|
|
144
150
|
.digit-timeline-molecule{
|
|
145
151
|
@apply max-h-full;
|
|
146
152
|
|
|
@@ -168,4 +174,34 @@ img {
|
|
|
168
174
|
|
|
169
175
|
.view-more-future-container {
|
|
170
176
|
margin-bottom: theme(digitv2.spacers.spacer4);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.digit-timeline-item {
|
|
180
|
+
&.error{
|
|
181
|
+
|
|
182
|
+
.timeline-circle{
|
|
183
|
+
background-color: theme(digitv2.lightTheme.alert-error);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.timeline-content{
|
|
187
|
+
background-color: theme(digitv2.lightTheme.alert-errorbg);
|
|
188
|
+
border-radius: theme(digitv2.spacers.spacer1);
|
|
189
|
+
padding: theme(digitv2.spacers.spacer2) theme(digitv2.spacers.spacer3);
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
.timeline-info{
|
|
193
|
+
.timeline-label{
|
|
194
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
195
|
+
padding-top: 0rem;
|
|
196
|
+
}
|
|
197
|
+
.timeline-date{
|
|
198
|
+
color: theme(digitv2.lightTheme.alert-error);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.timeline-divider {
|
|
202
|
+
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
171
207
|
}
|
package/src/digitv2/index.scss
CHANGED
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
@import url("./components/chipV2.scss");
|
|
23
23
|
@import url("./components/selectDropdownV2.scss");
|
|
24
24
|
@import url("./components/stepperV2.scss");
|
|
25
|
+
@import url("./components/selectionCardV2.scss");
|
|
25
26
|
@import url("./components/textareaV2.scss");
|
|
26
27
|
@import url("./components/textblockV2.scss");
|
|
27
28
|
@import url("./components/textInputV2.scss");
|