@egovernments/digit-ui-components-css 0.0.2-beta.7 → 0.2.0

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.
Files changed (61) hide show
  1. package/CHANGELOG.md +154 -0
  2. package/README.md +11 -2
  3. package/dist/index.css +10295 -3600
  4. package/dist/index.min.css +3 -3
  5. package/package.json +8 -8
  6. package/src/digitv2/components/accordionV2.scss +214 -0
  7. package/src/digitv2/components/{infoCardV2.scss → alertCardV2.scss} +1 -4
  8. package/src/digitv2/components/backLinkV2.scss +1 -1
  9. package/src/digitv2/components/bottomSheetV2.scss +121 -0
  10. package/src/digitv2/components/breadcrumbV2.scss +38 -0
  11. package/src/digitv2/components/buttonsV2.scss +82 -31
  12. package/src/digitv2/components/cardV2.scss +498 -0
  13. package/src/digitv2/components/cardbasedoptionsV2.scss +47 -0
  14. package/src/digitv2/components/cardlabelV2.scss +8 -0
  15. package/src/digitv2/components/checkboxV2.scss +54 -6
  16. package/src/digitv2/components/chipV2.scss +39 -0
  17. package/src/digitv2/components/dividerV2.scss +13 -0
  18. package/src/digitv2/components/errorMessageV2.scss +29 -8
  19. package/src/digitv2/components/fieldV1.scss +47 -2
  20. package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +209 -22
  21. package/src/digitv2/components/filterCardV2.scss +417 -0
  22. package/src/digitv2/components/footerV2.scss +208 -0
  23. package/src/digitv2/components/formCardV2.scss +234 -0
  24. package/src/digitv2/components/hamburgerV2.scss +555 -0
  25. package/src/digitv2/components/headerV2.scss +426 -0
  26. package/src/digitv2/components/headerdropdownV2.scss +233 -0
  27. package/src/digitv2/components/labelFieldPairV2.scss +37 -11
  28. package/src/digitv2/components/landingpagecardV2.scss +278 -0
  29. package/src/digitv2/components/loaderV2.scss +47 -0
  30. package/src/digitv2/components/menuCardV2.scss +116 -0
  31. package/src/digitv2/components/metricCardV2.scss +151 -0
  32. package/src/digitv2/components/mobileNumberV2.scss +1 -1
  33. package/src/digitv2/components/multiSelectDropdownV2.scss +219 -8
  34. package/src/digitv2/components/otpInputV2.scss +99 -0
  35. package/src/digitv2/components/panelCardV2.scss +19 -0
  36. package/src/digitv2/components/panelV2.scss +19 -0
  37. package/src/digitv2/components/popUpV2.scss +86 -2
  38. package/src/digitv2/components/radiobtnV2.scss +35 -6
  39. package/src/digitv2/components/selectDropdownV2.scss +257 -13
  40. package/src/digitv2/components/selectionTagV2.scss +102 -0
  41. package/src/digitv2/components/sidePanelV2.scss +222 -0
  42. package/src/digitv2/components/sidenavV2.scss +516 -0
  43. package/src/digitv2/components/stepperV2.scss +106 -6
  44. package/src/digitv2/components/summaryCardFieldPairV2.scss +83 -0
  45. package/src/digitv2/components/summaryCardV2.scss +100 -0
  46. package/src/digitv2/components/switchV2.scss +112 -0
  47. package/src/digitv2/components/tabV2.scss +126 -0
  48. package/src/digitv2/components/tableV2.scss +697 -0
  49. package/src/digitv2/components/tagV2.scss +108 -0
  50. package/src/digitv2/components/textInputV2.scss +5 -3
  51. package/src/digitv2/components/textareaV2.scss +1 -1
  52. package/src/digitv2/components/textblockV2.scss +38 -0
  53. package/src/digitv2/components/timelineV2.scss +144 -14
  54. package/src/digitv2/components/toastV2.scss +79 -1
  55. package/src/digitv2/components/toggleV2.scss +38 -0
  56. package/src/digitv2/components/tooltipwrapperV2.scss +365 -0
  57. package/src/digitv2/components/treeSelectV2.scss +58 -1
  58. package/src/digitv2/index.scss +171 -5
  59. package/src/digitv2/pages/employee/workbench.scss +9 -9
  60. package/src/digitv2/typography.scss +24 -9
  61. package/src/index.scss +0 -4
@@ -0,0 +1,498 @@
1
+ @import url("../index.scss");
2
+
3
+ .digit-card {
4
+ @apply bg-white m-sm px-md pt-md pb-lg shadow-card;
5
+ @extend .light-paper-primary;
6
+ border-radius: 4px;
7
+ max-width: 960px;
8
+
9
+ .digit-card-header {
10
+ @extend .light-primary;
11
+ @apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
12
+ }
13
+
14
+ .digit-card-sub-header {
15
+ @extend .light-primary;
16
+ @apply text-caption-xl font-bold align-middle text-left mb-sm;
17
+ }
18
+
19
+ .digit-card-caption {
20
+ @extend .light-text-color-secondary;
21
+ @apply text-caption-xl mb-sm;
22
+ }
23
+
24
+ .digit-card-text {
25
+ @extend .light-text-color-secondary;
26
+ @apply text-body-l align-middle text-left mb-lg;
27
+
28
+ span {
29
+ @extend .light-text-color-primary;
30
+ }
31
+ }
32
+
33
+ .digit-card-text-primary {
34
+ @extend .light-primary;
35
+ @apply text-body-l;
36
+ }
37
+
38
+ .digit-card-text-button {
39
+ @extend .light-primary;
40
+ @apply text-text-btn;
41
+ }
42
+
43
+ .digit-card-label {
44
+ @extend .light-primary;
45
+ @apply text-legend mb-sm;
46
+ }
47
+
48
+ .digit-card-label-error {
49
+ @extend .alert-error;
50
+ @apply block text-body-s text-error mb-md;
51
+ }
52
+
53
+ .digit-card-label-desc {
54
+ @extend .light-text-color-secondary;
55
+ @apply font-bold text-heading-s mb-md;
56
+ }
57
+
58
+ .digit-card-link {
59
+ @extend .light-primary;
60
+ @apply block text-center text-link mt-md cursor-pointer;
61
+ }
62
+ }
63
+
64
+ .digit-validation-error {
65
+ @extend .alert-error;
66
+ @apply block text-body-s text-error;
67
+ }
68
+
69
+ .digit-docsDescription {
70
+ @extend .light-text-color-primary;
71
+ }
72
+
73
+ .digit-field-container {
74
+ @apply flex items-center;
75
+ }
76
+
77
+ .digit-employee-card {
78
+ @extend .light-paper-primary;
79
+ @apply bg-white shadow-card p-md mb-xl;
80
+ border-radius: 4px;
81
+
82
+ .digit-card-header {
83
+ @extend .light-primary;
84
+ @apply text-heading-xl font-bold font-rc align-middle text-left mb-md;
85
+ }
86
+
87
+ .digit-card-sub-header,
88
+ .digit-employee-card-sub-header {
89
+ @extend .light-primary;
90
+ @apply text-caption-xl font-bold align-middle text-left;
91
+ }
92
+
93
+ .digit-card-section-header {
94
+ @apply text-heading-m font-bold;
95
+ }
96
+
97
+ .digit-card-section-sub-text {
98
+ @extend .light-primary;
99
+ @apply text-body-s;
100
+ }
101
+
102
+ .digit-card-caption {
103
+ @extend .light-text-color-secondary;
104
+ @apply text-caption-xl mb-sm;
105
+ }
106
+
107
+ .digit-card-text {
108
+ @extend .light-text-color-secondary;
109
+ @apply text-body-l align-middle text-left mb-lg;
110
+
111
+ span {
112
+ @extend .light-text-color-primary;
113
+ }
114
+ }
115
+
116
+ .card-text-primary {
117
+ @extend .light-primary;
118
+ @apply text-body-l;
119
+ }
120
+
121
+ .card-text-button {
122
+ @extend .light-primary;
123
+ @apply text-text-btn;
124
+ }
125
+
126
+ .card-label {
127
+ @extend .light-primary;
128
+ @apply text-legend mb-md;
129
+ }
130
+
131
+ .card-label-error {
132
+ @extend .alert-error;
133
+ @apply block text-body-s text-error mb-md;
134
+ }
135
+
136
+ .card-label-desc {
137
+ @extend .light-text-color-secondary;
138
+ @apply font-bold text-heading-s mb-md;
139
+ }
140
+
141
+ .card-link {
142
+ @extend .light-primary;
143
+ @apply block text-center text-link text-link-normal mt-md;
144
+ }
145
+
146
+ .card-search-heading {
147
+ margin-right: 0px !important;
148
+ margin-left: 0px !important;
149
+ margin-bottom: 0px !important;
150
+ padding-bottom: 0px;
151
+ padding-left: 25px;
152
+ }
153
+ }
154
+
155
+ .header-wrap {
156
+ @apply flex mb-md;
157
+
158
+ .header-start {
159
+ margin-right: auto;
160
+ }
161
+
162
+ .header-content {}
163
+
164
+ .header-end {
165
+ margin-left: auto;
166
+ }
167
+ }
168
+
169
+ .card-emp {
170
+ @extend .card;
171
+ padding-right: 0;
172
+ padding-top: 0;
173
+ padding-left: 0;
174
+ @apply bg-white m-sm;
175
+ @extend .light-background;
176
+ }
177
+
178
+ .submit-bar {
179
+ @extend .light-primary-button;
180
+ @apply h-10 text-center w-full outline-none;
181
+ box-shadow: inset 0px -2px 0px theme(colors.text.primary);
182
+ cursor: pointer;
183
+
184
+ &:focus {
185
+ @apply outline-none;
186
+ }
187
+
188
+ header {
189
+ @apply font-rc font-medium text-legend text-white leading-10;
190
+ }
191
+ }
192
+
193
+ .submit-bar-disabled {
194
+ @apply h-10 bg-primary-main text-center w-full outline-none opacity-50;
195
+
196
+ &:focus {
197
+ @apply outline-none;
198
+ }
199
+
200
+ header {
201
+ @apply font-rc font-medium text-legend text-white leading-10;
202
+ }
203
+ }
204
+
205
+ @screen dt {
206
+
207
+ .submit-bar,
208
+ .submit-bar-disabled {
209
+ width: 240px;
210
+ }
211
+
212
+ .card {
213
+ display: flex;
214
+ flex-direction: column;
215
+
216
+ .card-header {
217
+ @apply text-heading-xl-dt;
218
+ }
219
+
220
+ .card-sub-header {
221
+ @apply text-heading-l-dt;
222
+ }
223
+
224
+ .card-caption {
225
+ @apply text-caption-xl-dt;
226
+ }
227
+
228
+ .card-text,
229
+ .card-text-primary {
230
+ @apply text-body-l-dt;
231
+ }
232
+
233
+ .card-link {
234
+ @apply text-left;
235
+ }
236
+ }
237
+
238
+ .digit-employee-card {
239
+ @apply mb-md mx-md !important;
240
+
241
+ &.digit-filter {
242
+ margin-left: auto;
243
+ margin-right: auto;
244
+ }
245
+
246
+ .digit-card-header {
247
+ @apply text-heading-xl-dt;
248
+ }
249
+
250
+ .digit-card-sub-header {
251
+ @apply text-heading-l-dt;
252
+ }
253
+
254
+ .digit-employee-card-sub-header {
255
+ margin-bottom: 40px;
256
+ @apply text-heading-l-dt;
257
+ }
258
+
259
+ .digit-card-section-header {
260
+ margin-bottom: 40px;
261
+ @apply text-heading-m-dt;
262
+ }
263
+
264
+ .digit-card-section-sub-text {
265
+ @apply text-text-primary text-body-s-dt;
266
+ }
267
+
268
+ .digit-card-search-heading {
269
+ margin-right: 0px !important;
270
+ margin-left: 0px !important;
271
+ margin-bottom: 0px !important;
272
+ padding-bottom: 0px;
273
+ padding-left: 25px;
274
+ }
275
+
276
+ .digit-card-caption {
277
+ @apply text-caption-xl-dt;
278
+ }
279
+
280
+ .digit-card-text,
281
+ .digit-card-text-primary {
282
+ @apply text-body-l-dt;
283
+ }
284
+
285
+ .digit-card-link {
286
+ @apply text-left;
287
+ }
288
+
289
+ .digit-label-field-pair {
290
+ @apply flex;
291
+
292
+ h2 {
293
+ width: 30%;
294
+ }
295
+
296
+ .field {
297
+ width: 50%;
298
+ margin-right: 20%;
299
+
300
+ .field {
301
+ margin-right: unset;
302
+ }
303
+ }
304
+ }
305
+
306
+ .digit-field-container {
307
+ span {
308
+ border: 2px solid black;
309
+ background: rgb(247, 247, 247);
310
+ width: 40px;
311
+ height: 40px;
312
+ display: flex;
313
+ justify-content: center;
314
+ align-items: center;
315
+ margin-top: -16px;
316
+ border-right: none;
317
+ }
318
+ }
319
+ }
320
+
321
+ .digit-header-wrap {
322
+ @apply flex mb-md;
323
+
324
+ .header-start {
325
+ margin-right: auto;
326
+ }
327
+
328
+ .header-content {}
329
+
330
+ .header-end {
331
+ margin-left: auto;
332
+ }
333
+ }
334
+ }
335
+
336
+ .digit-card-section-header {
337
+ @apply text-text-primary text-heading-m font-bold;
338
+ }
339
+
340
+ .digit-card-search-heading {
341
+ margin-right: 0px !important;
342
+ margin-left: 0px !important;
343
+ margin-bottom: 0px !important;
344
+ padding-bottom: 0px;
345
+ padding-left: 25px;
346
+ }
347
+
348
+ .digit-card-label-error {
349
+ @extend .alert-error;
350
+ @apply block text-body-s text-error mb-md;
351
+ }
352
+
353
+ .digit-employee-card-override {
354
+ margin-left: 0px !important;
355
+ }
356
+
357
+ .digit-employee-application-details {
358
+ display: flex !important;
359
+ justify-content: space-between !important;
360
+ max-height: 60px !important;
361
+ height: 60px !important;
362
+ }
363
+
364
+ .digit-employee-main-application-details {
365
+ padding: 10px !important;
366
+ }
367
+
368
+ .digit-employee-mulitlink-main-div {
369
+ @extend .light-primary;
370
+ z-index: 10 !important;
371
+ max-width: 41% !important;
372
+ }
373
+
374
+ .digit-employee-download-btn-className {
375
+ position: unset !important;
376
+ display: flex !important;
377
+ justify-content: flex-end !important;
378
+ }
379
+
380
+ .digit-employee-options-btn-className {
381
+ position: unset !important;
382
+ margin: 0 !important;
383
+ width: 100% !important;
384
+ }
385
+
386
+
387
+ .digit-card-component {
388
+
389
+ width: 100%;
390
+ height: auto;
391
+ background-color: theme(digitv2.lightTheme.paper-primary);
392
+ border-radius: theme(digitv2.spacers.spacer1);
393
+ box-shadow: 0rem 0.063rem 0.125rem 0rem #00000029;
394
+ display: flex;
395
+ gap: theme(digitv2.spacers.spacer4);
396
+ flex-direction: column;
397
+
398
+ &.secondary {
399
+ background-color: theme(digitv2.lightTheme.paper-secondary);
400
+ border: 0.063em solid theme(digitv2.lightTheme.generic-divider);
401
+ }
402
+
403
+ &.secondary.search,
404
+ &.search {
405
+ flex-direction: row;
406
+
407
+ h2 {
408
+ margin: 0rem;
409
+ margin-bottom: 0.5rem;
410
+ }
411
+
412
+
413
+ .digit-buttons-group {
414
+ gap: 1rem;
415
+ margin-top: 1.875rem;
416
+
417
+ button {
418
+ h2 {
419
+ margin: 0rem;
420
+ }
421
+ }
422
+ }
423
+
424
+
425
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
426
+ flex-direction: row;
427
+
428
+ .digit-buttons-group {
429
+ margin-top: 2.75rem;
430
+
431
+ button {
432
+ h2 {
433
+ margin: 0rem;
434
+ }
435
+ }
436
+ }
437
+ }
438
+
439
+ @media (min-aspect-ratio: 3/4) {
440
+ flex-direction: row;
441
+ }
442
+
443
+ @media (max-aspect-ratio: 9/16){
444
+ flex-direction: column;
445
+
446
+ .digit-buttons-group {
447
+ margin-top: 0rem;
448
+
449
+ button {
450
+ margin-top: 0rem;
451
+
452
+ h2 {
453
+ margin: 0rem;
454
+ }
455
+ }
456
+
457
+ }
458
+ }
459
+ }
460
+
461
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
462
+ padding: theme(digitv2.spacers.spacer5);
463
+ }
464
+
465
+ @media (min-aspect-ratio: 3/4) {
466
+ padding: theme(digitv2.spacers.spacer6);
467
+ }
468
+
469
+ @media (max-aspect-ratio: 9/16) {
470
+ padding: theme(digitv2.spacers.spacer4);
471
+ }
472
+
473
+ &.action {
474
+ padding: theme(digitv2.spacers.spacer6);
475
+ gap: theme(digitv2.spacers.spacer6);
476
+
477
+ button {
478
+ width: 100%;
479
+ }
480
+ }
481
+
482
+ &.summarycard{
483
+
484
+ .digit-text-block-wrap .digit-text-block-header-content .digit-text-block-subheader{
485
+ color: theme(digitv2.lightTheme.primary-2);
486
+ }
487
+ }
488
+
489
+ &.form{
490
+ .digit-label-field-pair {
491
+ margin-bottom: unset;
492
+ }
493
+
494
+ .digit-radio-options-wrap {
495
+ margin-bottom: unset;
496
+ }
497
+ }
498
+ }
@@ -0,0 +1,47 @@
1
+ .digit-card-based-options {
2
+ box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
3
+ @apply bg-white mb-md px-sm py-md mx-sm rounded w-full;
4
+ .digit-head-content {
5
+ @apply flex justify-between mb-lg;
6
+ h2 {
7
+ @apply text-heading-s font-bold text-text-primary;
8
+ }
9
+ p {
10
+ @apply text-link text-primary-main font-medium cursor-pointer;
11
+ }
12
+ }
13
+
14
+ .digit-main-content {
15
+ @apply flex justify-evenly;
16
+ .digit-card-based-options-main-child-option {
17
+ width: 25%;
18
+ @apply text-center;
19
+ .digit-child-option-image-wrapper {
20
+ margin: auto !important;
21
+ background: rgba(244, 119, 56, 0.12);
22
+ mix-blend-mode: normal;
23
+ padding-top: 14px;
24
+ @apply h-12 w-12 rounded-full cursor-pointer;
25
+ svg {
26
+ height: 20px;
27
+ width: 20px;
28
+ fill: theme(colors.primary.main);
29
+ margin: auto;
30
+ }
31
+ }
32
+ .digit-child-option-name {
33
+ font-size: 12px;
34
+ line-height: 14px;
35
+ padding-top: 1rem;
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ @screen dt {
42
+ .digit-card-based-options {
43
+ width: calc(50% - 16px);
44
+ @apply p-md;
45
+ }
46
+ }
47
+
@@ -0,0 +1,8 @@
1
+ @import url("../typography.scss");
2
+
3
+ .digit-card-label {
4
+ font-weight: theme(digitv2.fontWeight.regular);
5
+ font-size: 16px;
6
+ line-height: 19px;
7
+ color: theme(digitv2.lightTheme.text-primary);
8
+ }
@@ -26,10 +26,18 @@
26
26
  @apply opacity-0;
27
27
  }
28
28
 
29
+ svg {
30
+ flex-shrink: 0;
31
+ }
32
+
29
33
  &:hover {
30
- @apply border-2 ;
34
+ @apply border-2;
31
35
  border-color: theme(digitv2.lightTheme.primary-1);
32
36
  }
37
+
38
+ &.intermediate {
39
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
40
+ }
33
41
  }
34
42
 
35
43
  .digit-custom-checkbox-emp {
@@ -41,6 +49,10 @@
41
49
  border-color: theme(digitv2.lightTheme.primary-1);
42
50
  }
43
51
 
52
+ input:hover~.digit-custom-checkbox.intermediate{
53
+ border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
54
+ }
55
+
44
56
  input:checked~.digit-custom-checkbox {
45
57
  border: 0.125rem solid theme(digitv2.lightTheme.primary-1);
46
58
  }
@@ -56,19 +68,44 @@
56
68
  height: theme(digitv2.spacers.spacer4);
57
69
  }
58
70
 
71
+ .intermediate-square {
72
+ width: theme(digitv2.spacers.spacer4);
73
+ height: theme(digitv2.spacers.spacer4);
74
+ background-color: theme(digitv2.lightTheme.primary-1);
75
+ display: block;
76
+ }
77
+
59
78
  .label {
60
79
  @extend .typography.body-s;
80
+ font-family: theme(digitv2.fontFamily.sans);
81
+ font-style: theme(digitv2.fontStyle.normal);
82
+ font-weight: theme(digitv2.fontWeight.regular);
83
+ line-height: theme(digitv2.lineHeight.lineheight2);
84
+
85
+ @media (max-aspect-ratio: 9/16) {
86
+ /* Media query for mobile */
87
+ font-size: theme(digitv2.fontSize.body-s.mobile);
88
+ }
89
+
90
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
91
+ /* Media query for tablets */
92
+ font-size: theme(digitv2.fontSize.body-s.tablet);
93
+ }
94
+
95
+ @media (min-aspect-ratio: 3/4) {
96
+ /* Media query for desktop */
97
+ font-size: theme(digitv2.fontSize.body-s.desktop);
98
+ }
99
+
61
100
  @apply text-left;
62
101
  word-break: break-word;
63
102
  letter-spacing: theme(digitv2.spacers.spacer0);
64
- color: theme(digitv2.lightTheme.text-primary);
103
+ color: theme(digitv2.lightTheme.text-primary) !important;
104
+ display: flex;
105
+ align-items: center;
65
106
  }
66
107
 
67
108
  &.disabled {
68
- .label {
69
- color: theme(digitv2.lightTheme.text-disabled);
70
- }
71
-
72
109
  .digit-custom-checkbox {
73
110
  border: 0.063rem solid theme(digitv2.lightTheme.text-disabled);
74
111
  }
@@ -76,5 +113,16 @@
76
113
  input:checked~.digit-custom-checkbox {
77
114
  border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
78
115
  }
116
+
117
+ .digit-custom-checkbox.intermediate{
118
+ border: 0.125rem solid theme(digitv2.lightTheme.text-disabled);
119
+ }
120
+
121
+ .intermediate-square {
122
+ width: theme(digitv2.spacers.spacer4);
123
+ height: theme(digitv2.spacers.spacer4);
124
+ background-color: theme(digitv2.lightTheme.text-disabled);
125
+ display: block;
126
+ }
79
127
  }
80
128
  }
@@ -46,9 +46,36 @@
46
46
  }
47
47
 
48
48
 
49
+ &.clickable:hover{
50
+ box-shadow: 0.125rem 0.125rem 0.25rem 0rem #36363633;
51
+ }
52
+
53
+ svg{
54
+ flex-shrink: 0;
55
+ }
56
+
49
57
  .digit-text {
50
58
  @extend .typography.body-xs;
51
59
  @apply overflow-hidden items-center whitespace-no-wrap;
60
+ font-family: theme(digitv2.fontFamily.sans);
61
+ font-style: theme(digitv2.fontStyle.normal);
62
+ font-weight: theme(digitv2.fontWeight.regular);
63
+ line-height: theme(digitv2.lineHeight.lineheight2);
64
+
65
+ @media (max-aspect-ratio: 9/16) {
66
+ /* Media query for mobile */
67
+ font-size: theme(digitv2.fontSize.body-xs.mobile);
68
+ }
69
+
70
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
71
+ /* Media query for tablets */
72
+ font-size: theme(digitv2.fontSize.body-xs.tablet);
73
+ }
74
+
75
+ @media (min-aspect-ratio: 3/4) {
76
+ /* Media query for desktop */
77
+ font-size: theme(digitv2.fontSize.body-xs.desktop);
78
+ }
52
79
  max-width: calc(100% - (theme(digitv2.spacers.spacer7)));
53
80
  width: calc(100% - (theme(digitv2.spacers.spacer7)));
54
81
  text-overflow: clip;
@@ -120,6 +147,18 @@
120
147
  }
121
148
  }
122
149
 
150
+ .digit-tag{
151
+ &.noClose{
152
+ display: flex;
153
+ align-items: center;
154
+ justify-content: center;
155
+
156
+ &.noIcon{
157
+ display: unset;
158
+ }
159
+ }
160
+ }
161
+
123
162
  .cp{
124
163
  cursor: pointer;
125
164
  }
@@ -0,0 +1,13 @@
1
+ .digit-divider {
2
+ border: theme(digitv2.divider.dividerS);
3
+ width: 100%;
4
+ margin: theme(digitv2.spacers.spacer0);
5
+
6
+ &.medium {
7
+ border: theme(digitv2.divider.dividerM);
8
+ }
9
+
10
+ &.large {
11
+ border: theme(digitv2.divider.dividerL);
12
+ }
13
+ }