@egovernments/digit-ui-components-css 0.0.2-beta.9 → 0.2.0-beta.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +150 -0
  2. package/README.md +11 -2
  3. package/dist/index.css +10775 -3688
  4. package/dist/index.min.css +3 -3
  5. package/package.json +8 -9
  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 +85 -29
  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 +52 -2
  20. package/src/digitv2/components/{uploaderV2.scss → fileUploadV2.scss} +163 -9
  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 +45 -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 +225 -9
  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 +258 -14
  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 +145 -15
  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 +175 -9
  59. package/src/digitv2/pages/employee/inboxsearchcomposer.scss +409 -0
  60. package/src/digitv2/pages/employee/index.scss +2 -0
  61. package/src/digitv2/pages/employee/reactdatatable.scss +132 -0
  62. package/src/digitv2/pages/employee/workbench.scss +10 -10
  63. package/src/digitv2/typography.scss +24 -9
  64. package/src/index.scss +0 -4
@@ -0,0 +1,365 @@
1
+ .tooltip-wrapper {
2
+ position: relative;
3
+ display: inline-block;
4
+ }
5
+
6
+ .tooltip-content {
7
+ position: absolute;
8
+ background-color: theme(digitv2.lightTheme.generic-inputborder);
9
+ color: theme(digitv2.lightTheme.paper-primary);
10
+ padding: theme(digitv2.spacers.spacer2);
11
+ border-radius: theme(digitv2.spacers.spacer1);
12
+ z-index: 1000;
13
+ pointer-events: none;
14
+ width: max-content;
15
+ transition: all 0.5s ease;
16
+ display: flex;
17
+ justify-content: center;
18
+ flex-direction: column;
19
+ gap: 0.625rem;
20
+ min-width: 4.125rem;
21
+ max-width: 14.563rem;
22
+
23
+ font-family: theme(digitv2.fontFamily.sans);
24
+ font-style: theme(digitv2.fontStyle.normal);
25
+ font-weight: theme(digitv2.fontWeight.regular);
26
+ line-height: theme(digitv2.lineHeight.lineheight2);
27
+
28
+ @media (max-aspect-ratio: 9/16) {
29
+ font-size: theme(digitv2.fontSize.body-s.mobile);
30
+ }
31
+
32
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
33
+ font-size: theme(digitv2.fontSize.body-s.tablet);
34
+ }
35
+
36
+ @media (min-aspect-ratio: 3/4) {
37
+ font-size: theme(digitv2.fontSize.body-s.desktop);
38
+ }
39
+
40
+ &.light {
41
+ color: theme(digitv2.lightTheme.text-primary);
42
+ background-color: theme(digitv2.lightTheme.paper-secondary);
43
+ box-shadow: 0rem 0.063rem 0.125rem 0rem #36363629;
44
+ border: 0.063rem solid theme(digitv2.lightTheme.generic-divider);
45
+ }
46
+
47
+ .tooltip-header {
48
+ @extend .typography.heading-s;
49
+ font-family: theme(digitv2.fontFamily.sans);
50
+ font-style: theme(digitv2.fontStyle.normal);
51
+ font-weight: theme(digitv2.fontWeight.bold);
52
+ line-height: theme(digitv2.lineHeight.lineheight1);
53
+
54
+ @media (max-aspect-ratio: 9/16) {
55
+ /* Media query for mobile */
56
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
57
+ }
58
+
59
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
60
+ /* Media query for tablets */
61
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
62
+ }
63
+
64
+ @media (min-aspect-ratio: 3/4) {
65
+ /* Media query for desktop */
66
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
67
+ }
68
+
69
+ color: theme(digitv2.lightTheme.paper-primary);
70
+
71
+ &.light {
72
+ color: theme(digitv2.lightTheme.text-primary);
73
+ }
74
+ }
75
+
76
+ .tooltip-data{
77
+ width: 100%;
78
+ display: flex;
79
+ align-items: center;
80
+ justify-content: flex-start;
81
+ flex-direction: column
82
+ }
83
+
84
+ .tooltip-description {
85
+ @extend .typography.body-xs;
86
+ color: theme(digitv2.lightTheme.paper-primary);
87
+
88
+ &.light {
89
+ color: theme(digitv2.lightTheme.text-primary);
90
+ }
91
+ }
92
+ }
93
+
94
+ .tooltip-content.tooltip-bottom-start {
95
+ top: theme(digitv2.spacers.spacer12);
96
+ left: 0;
97
+
98
+ &.with-arrow {
99
+ border-top-left-radius: theme(digitv2.spacers.spacer0);
100
+ }
101
+
102
+ }
103
+
104
+ .tooltip-content.tooltip-bottom {
105
+ top: theme(digitv2.spacers.spacer12);
106
+ left: 50%;
107
+ transform: translateX(-50%);
108
+ }
109
+
110
+ .tooltip-content.tooltip-bottom-end {
111
+ top: theme(digitv2.spacers.spacer12);
112
+ right: 0;
113
+
114
+ &.with-arrow {
115
+ border-top-right-radius: 0px;
116
+ }
117
+ }
118
+
119
+ .tooltip-content.tooltip-top-start {
120
+ bottom: theme(digitv2.spacers.spacer12);
121
+ left: 0;
122
+
123
+ &.with-arrow {
124
+ border-bottom-left-radius: theme(digitv2.spacers.spacer0);
125
+ }
126
+ }
127
+
128
+ .tooltip-content.tooltip-top {
129
+ bottom: theme(digitv2.spacers.spacer12);
130
+ left: 50%;
131
+ transform: translateX(-50%);
132
+ }
133
+
134
+
135
+ .tooltip-content.tooltip-top-end {
136
+ bottom: theme(digitv2.spacers.spacer12);
137
+ right: 0;
138
+
139
+ &.with-arrow {
140
+ border-bottom-right-radius: theme(digitv2.spacers.spacer0);
141
+ }
142
+ }
143
+
144
+ .tooltip-content.tooltip-left-start {
145
+ right: calc(100% + theme(digitv2.spacers.spacer2));
146
+ top: 0;
147
+
148
+ &.with-arrow {
149
+ border-top-right-radius: theme(digitv2.spacers.spacer0);
150
+ }
151
+ }
152
+
153
+ .tooltip-content.tooltip-left {
154
+ right: calc(100% + theme(digitv2.spacers.spacer2));
155
+ top: 50%;
156
+ transform: translateY(-50%);
157
+ }
158
+
159
+ .tooltip-content.tooltip-left-end {
160
+ right: calc(100% + theme(digitv2.spacers.spacer2));
161
+ bottom: 0;
162
+
163
+ &.with-arrow {
164
+ border-bottom-right-radius: theme(digitv2.spacers.spacer0);
165
+ }
166
+ }
167
+
168
+ .tooltip-content.tooltip-right-start {
169
+ left: calc(100% + theme(digitv2.spacers.spacer2));
170
+ top: 0;
171
+
172
+ &.with-arrow {
173
+ border-top-left-radius: theme(digitv2.spacers.spacer0);
174
+ }
175
+ }
176
+
177
+ .tooltip-content.tooltip-right {
178
+ left: calc(100% + theme(digitv2.spacers.spacer2));
179
+ top: 50%;
180
+ transform: translateY(-50%);
181
+ }
182
+
183
+ .tooltip-content.tooltip-right-end {
184
+ left: calc(100% + theme(digitv2.spacers.spacer2));
185
+ bottom: 0;
186
+
187
+ &.with-arrow {
188
+ border-bottom-left-radius: theme(digitv2.spacers.spacer0);
189
+ }
190
+ }
191
+
192
+
193
+ .tooltip-bottom-start.with-arrow:before {
194
+ content: "";
195
+ position: absolute;
196
+ top: -0.5rem;
197
+ left: theme(digitv2.spacers.spacer1);
198
+ transform: translateX(-50%);
199
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
200
+ border-right: theme(digitv2.spacers.spacer2) solid transparent;
201
+ }
202
+
203
+ .tooltip-bottom-start.with-arrow.light:before {
204
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
205
+ }
206
+
207
+ .tooltip-bottom.with-arrow:before {
208
+ content: "";
209
+ position: absolute;
210
+ top: -0.5rem;
211
+ left: 50%;
212
+ transform: translateX(-50%);
213
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
214
+ border-left: theme(digitv2.spacers.spacer1) solid transparent;
215
+ border-right: theme(digitv2.spacers.spacer1) solid transparent;
216
+ }
217
+
218
+ .tooltip-bottom.with-arrow.light:before {
219
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
220
+ }
221
+
222
+ .tooltip-bottom-end.with-arrow:before {
223
+ content: "";
224
+ position: absolute;
225
+ top: -0.5rem;
226
+ left: calc(100% -0.25rem);
227
+ transform: translateX(-50%);
228
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
229
+ border-left: theme(digitv2.spacers.spacer2) solid transparent;
230
+ }
231
+
232
+ .tooltip-bottom-end.with-arrow.light:before {
233
+ border-bottom: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
234
+ }
235
+
236
+ .tooltip-top-start.with-arrow:before {
237
+ content: "";
238
+ position: absolute;
239
+ bottom: -0.5rem;
240
+ left: theme(digitv2.spacers.spacer1);
241
+ transform: translateX(-50%);
242
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
243
+ border-right: theme(digitv2.spacers.spacer2) solid transparent;
244
+ }
245
+
246
+ .tooltip-top-start.with-arrow.light:before {
247
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
248
+ }
249
+
250
+ .tooltip-top.with-arrow:before {
251
+ content: "";
252
+ position: absolute;
253
+ bottom: -0.5rem;
254
+ left: 50%;
255
+ transform: translateX(-50%);
256
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
257
+ border-left: theme(digitv2.spacers.spacer1) solid transparent;
258
+ border-right: theme(digitv2.spacers.spacer1) solid transparent;
259
+ }
260
+
261
+ .tooltip-top.with-arrow.light:before {
262
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
263
+ }
264
+
265
+ .tooltip-top-end.with-arrow:before {
266
+ content: "";
267
+ position: absolute;
268
+ bottom: -0.5rem;
269
+ left: calc(100% -0.25rem);
270
+ transform: translateX(-50%);
271
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
272
+ border-left: theme(digitv2.spacers.spacer2) solid transparent;
273
+ }
274
+
275
+ .tooltip-top-end.with-arrow.light:before {
276
+ border-top: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
277
+ }
278
+
279
+ .tooltip-left-start.with-arrow:before {
280
+ content: "";
281
+ position: absolute;
282
+ top: theme(digitv2.spacers.spacer1);
283
+ right: -0.45rem;
284
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
285
+ border-bottom: theme(digitv2.spacers.spacer2) solid transparent;
286
+ transform: translateY(-50%);
287
+ }
288
+
289
+ .tooltip-left-start.with-arrow.light:before {
290
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
291
+
292
+ }
293
+
294
+ .tooltip-left.with-arrow:before {
295
+ content: "";
296
+ position: absolute;
297
+ top: 50%;
298
+ right: -0.5rem;
299
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
300
+ border-top: theme(digitv2.spacers.spacer1) solid transparent;
301
+ border-bottom: theme(digitv2.spacers.spacer1) solid transparent;
302
+ transform: translateY(-50%);
303
+ }
304
+
305
+ .tooltip-left.with-arrow.light:before {
306
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
307
+ }
308
+
309
+ .tooltip-left-end.with-arrow:before {
310
+ content: "";
311
+ position: absolute;
312
+ top: calc(100% -0.25rem);
313
+ right: -0.45rem;
314
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
315
+ border-top: theme(digitv2.spacers.spacer2) solid transparent;
316
+ transform: translateY(-50%);
317
+ }
318
+
319
+ .tooltip-left-end.with-arrow.light:before {
320
+ border-left: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
321
+
322
+ }
323
+
324
+ .tooltip-right-start.with-arrow:before {
325
+ content: "";
326
+ position: absolute;
327
+ top: theme(digitv2.spacers.spacer1);
328
+ left: -0.45rem;
329
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
330
+ border-bottom: theme(digitv2.spacers.spacer2) solid transparent;
331
+ transform: translateY(-50%);
332
+ }
333
+
334
+ .tooltip-right-start.with-arrow.light:before {
335
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
336
+ }
337
+
338
+ .tooltip-right.with-arrow:before {
339
+ content: "";
340
+ position: absolute;
341
+ top: 50%;
342
+ left: -0.5rem;
343
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
344
+ border-top: theme(digitv2.spacers.spacer1) solid transparent;
345
+ border-bottom: theme(digitv2.spacers.spacer1) solid transparent;
346
+ transform: translateY(-50%);
347
+ }
348
+
349
+ .tooltip-right.with-arrow.light:before {
350
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
351
+ }
352
+
353
+ .tooltip-right-end.with-arrow:before {
354
+ content: "";
355
+ position: absolute;
356
+ top: calc(100% -0.25rem);
357
+ left: -0.45rem;
358
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.generic-inputborder);
359
+ border-top: theme(digitv2.spacers.spacer2) solid transparent;
360
+ transform: translateY(-50%);
361
+ }
362
+
363
+ .tooltip-right-end.with-arrow.light:before {
364
+ border-right: theme(digitv2.spacers.spacer2) solid theme(digitv2.lightTheme.paper-secondary);
365
+ }
@@ -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) 0.625rem;
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);
@@ -26,6 +26,25 @@
26
26
  &.expanded {
27
27
  .digit-option-label {
28
28
  @extend .typography.heading-s;
29
+ font-family: theme(digitv2.fontFamily.sans);
30
+ font-style: theme(digitv2.fontStyle.normal);
31
+ font-weight: theme(digitv2.fontWeight.bold);
32
+ line-height: theme(digitv2.lineHeight.lineheight1);
33
+
34
+ @media (max-aspect-ratio: 9/16) {
35
+ /* Media query for mobile */
36
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
37
+ }
38
+
39
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
40
+ /* Media query for tablets */
41
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
42
+ }
43
+
44
+ @media (min-aspect-ratio: 3/4) {
45
+ /* Media query for desktop */
46
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
47
+ }
29
48
  color: theme(digitv2.lightTheme.text-primary);
30
49
  /*font-size: 1rem;
31
50
  font-weight: theme(digitv2.fontWeight.bold);
@@ -111,6 +130,25 @@
111
130
  }
112
131
  .digit-option-label {
113
132
  @extend .typography.heading-s;
133
+ font-family: theme(digitv2.fontFamily.sans);
134
+ font-style: theme(digitv2.fontStyle.normal);
135
+ font-weight: theme(digitv2.fontWeight.bold);
136
+ line-height: theme(digitv2.lineHeight.lineheight1);
137
+
138
+ @media (max-aspect-ratio: 9/16) {
139
+ /* Media query for mobile */
140
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
141
+ }
142
+
143
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
144
+ /* Media query for tablets */
145
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
146
+ }
147
+
148
+ @media (min-aspect-ratio: 3/4) {
149
+ /* Media query for desktop */
150
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
151
+ }
114
152
  color: theme(digitv2.lightTheme.paper-primary);
115
153
  }
116
154
  }
@@ -125,6 +163,25 @@
125
163
  }
126
164
  .digit-option-label {
127
165
  @extend .typography.body-s;
166
+ font-family: theme(digitv2.fontFamily.sans);
167
+ font-style: theme(digitv2.fontStyle.normal);
168
+ font-weight: theme(digitv2.fontWeight.regular);
169
+ line-height: theme(digitv2.lineHeight.lineheight2);
170
+
171
+ @media (max-aspect-ratio: 9/16) {
172
+ /* Media query for mobile */
173
+ font-size: theme(digitv2.fontSize.body-s.mobile);
174
+ }
175
+
176
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
177
+ /* Media query for tablets */
178
+ font-size: theme(digitv2.fontSize.body-s.tablet);
179
+ }
180
+
181
+ @media (min-aspect-ratio: 3/4) {
182
+ /* Media query for desktop */
183
+ font-size: theme(digitv2.fontSize.body-s.desktop);
184
+ }
128
185
  @apply overflow-hidden w-full;
129
186
  flex: 1;
130
187
  color: theme(digitv2.lightTheme.text-primary);}
@@ -1,13 +1,19 @@
1
+ @import url("./components/accordionV2.scss");
1
2
  @import url("./components/backLinkV2.scss");
2
3
  @import url("./components/bodyContainerV2.scss");
4
+ @import url("./components/bottomSheetV2.scss");
3
5
  @import url("./components/breadcrumbV2.scss");
4
6
  @import url("./components/buttonsV2.scss");
7
+ @import url("./components/cardlabelV2.scss");
8
+ @import url("./components/cardbasedoptionsV2.scss");
9
+ @import url("./components/cardV2.scss");
5
10
  @import url("./components/checkboxV2.scss");
11
+ @import url("./components/dividerV2.scss");
6
12
  @import url("./components/errorMessageV2.scss");
7
13
  @import url("./components/fieldV1.scss");
8
14
  @import url("./components/FormComposerV2.scss");
9
15
  @import url("./components/infobuttonV2.scss");
10
- @import url("./components/infoCardV2.scss");
16
+ @import url("./components/alertCardV2.scss");
11
17
  @import url("./components/labelFieldPairV2.scss");
12
18
  @import url("./components/mobileNumberV2.scss");
13
19
  @import url("./components/multiSelectDropdownV2.scss");
@@ -18,6 +24,8 @@
18
24
  @import url("./components/chipV2.scss");
19
25
  @import url("./components/selectDropdownV2.scss");
20
26
  @import url("./components/stepperV2.scss");
27
+ @import url("./components/switchV2.scss");
28
+ @import url("./components/selectionTagV2.scss");
21
29
  @import url("./components/textareaV2.scss");
22
30
  @import url("./components/textblockV2.scss");
23
31
  @import url("./components/textInputV2.scss");
@@ -25,10 +33,26 @@
25
33
  @import url("./components/toastV2.scss");
26
34
  @import url("./components/toggleV2.scss");
27
35
  @import url("./components/treeSelectV2.scss");
28
- @import url("./components/uploaderV2.scss");
29
-
30
-
31
-
36
+ @import url("./components/fileUploadV2.scss");
37
+ @import url("./components/summaryCardFieldPairV2.scss");
38
+ @import url("./components/footerV2.scss");
39
+ @import url("./components/headerdropdownV2.scss");
40
+ @import url("./components/headerV2.scss");
41
+ @import url("./components/tabV2.scss");
42
+ @import url("./components/sidenavV2.scss");
43
+ @import url("./components/hamburgerV2.scss");
44
+ @import url("./components/tooltipwrapperV2.scss");
45
+ @import url("./components/tagV2.scss");
46
+ @import url("./components/landingpagecardV2.scss");
47
+ @import url("./components/menuCardV2.scss");
48
+ @import url("./components/otpInputV2.scss");
49
+ @import url("./components/tableV2.scss");
50
+ @import url("./components/sidePanelV2.scss");
51
+ @import url("./components/metricCardV2.scss");
52
+ @import url("./components/formCardV2.scss");
53
+ @import url("./components/filterCardV2.scss");
54
+ @import url("./components/summaryCardV2.scss");
55
+ @import url("./components/loaderV2.scss");
32
56
 
33
57
  /* pages */
34
58
  @import url("./pages/employee/index.scss");
@@ -36,14 +60,14 @@
36
60
  /* important to be remove after fixing the components */
37
61
  .light {
38
62
  &-primary {
39
- color: theme(digitv2.lightTheme.primary-orange) !important;
63
+ color: theme(digitv2.lightTheme.primary-1) !important;
40
64
 
41
65
  &-button {
42
- background-color: theme(digitv2.lightTheme.primary-orange);
66
+ background-color: theme(digitv2.lightTheme.primary-1);
43
67
  }
44
68
 
45
69
  &-bg {
46
- background-color: theme(digitv2.lightTheme.primary-orangebg);
70
+ background-color: theme(digitv2.lightTheme.primary-bg);
47
71
  }
48
72
  }
49
73
 
@@ -96,7 +120,7 @@
96
120
  }
97
121
 
98
122
  &-header-sidenav {
99
- color: theme(digitv2.lightTheme.primary-bluegray);
123
+ color: theme(digitv2.lightTheme.primary-2);
100
124
  }
101
125
 
102
126
  &-input-border {
@@ -162,4 +186,146 @@
162
186
  &-item-5 {
163
187
  color: theme(digitv2.chart.chart-5);
164
188
  }
189
+ }
190
+
191
+ .color-constants-story{
192
+
193
+ &.primary-1{
194
+ background-color: theme(digitv2.lightTheme.primary-1);
195
+ }
196
+ &.primary-bg{
197
+ background-color: theme(digitv2.lightTheme.primary-bg);
198
+ }
199
+ &.primary-2{
200
+ background-color: theme(digitv2.lightTheme.primary-2);
201
+ }
202
+ &.text-primary{
203
+ background-color: theme(digitv2.lightTheme.text-primary);
204
+ }
205
+ &.text-secondary{
206
+ background-color: theme(digitv2.lightTheme.text-secondary);
207
+ }
208
+ &.text-disabled{
209
+ background-color: theme(digitv2.lightTheme.text-disabled);
210
+ }
211
+ &.alert-error{
212
+ background-color: theme(digitv2.lightTheme.alert-error);
213
+ }
214
+ &.alert-errorbg{
215
+ background-color: theme(digitv2.lightTheme.alert-errorbg);
216
+ }
217
+ &.alert-success{
218
+ background-color: theme(digitv2.lightTheme.alert-success);
219
+ }
220
+ &.alert-successbg{
221
+ background-color: theme(digitv2.lightTheme.alert-successbg);
222
+ }
223
+ &.alert-info{
224
+ background-color: theme(digitv2.lightTheme.alert-info);
225
+ }
226
+ &.alert-infobg{
227
+ background-color: theme(digitv2.lightTheme.alert-infobg);
228
+ }
229
+ &.alert-warning{
230
+ background-color: theme(digitv2.lightTheme.alert-warning);
231
+ }
232
+ &.alert-warningbg{
233
+ background-color: theme(digitv2.lightTheme.alert-warning-bg);
234
+ }
235
+ &.generic-background{
236
+ background-color: theme(digitv2.lightTheme.generic-background);
237
+ }
238
+ &.generic-divider{
239
+ background-color: theme(digitv2.lightTheme.generic-divider);
240
+ }
241
+ &.generic-inputborder{
242
+ background-color: theme(digitv2.lightTheme.generic-inputborder);
243
+ }
244
+ &.paper-primary{
245
+ background-color: theme(digitv2.lightTheme.paper-primary);
246
+ }
247
+ &.paper-secondary{
248
+ background-color: theme(digitv2.lightTheme.paper-secondary);
249
+ }
250
+ }
251
+
252
+ .typography-story{
253
+ &.heading-m{
254
+ font-family: theme(digitv2.fontFamily.sans);
255
+ font-style: theme(digitv2.fontStyle.normal);
256
+ font-weight: theme(digitv2.fontWeight.bold);
257
+ line-height: theme(digitv2.lineHeight.lineheight1);
258
+
259
+ @media (max-aspect-ratio: 9/16) {
260
+ /* Media query for mobile */
261
+ font-size: theme(digitv2.fontSize.heading-m.mobile);
262
+ }
263
+
264
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
265
+ /* Media query for tablets */
266
+ font-size: theme(digitv2.fontSize.heading-m.tablet);
267
+ }
268
+
269
+ @media (min-aspect-ratio: 3/4) {
270
+ /* Media query for desktop */
271
+ font-size: theme(digitv2.fontSize.heading-m.desktop);
272
+ }
273
+ }
274
+
275
+ &.heading-s {
276
+ font-family: theme(digitv2.fontFamily.sans);
277
+ font-style: theme(digitv2.fontStyle.normal);
278
+ font-weight: theme(digitv2.fontWeight.bold);
279
+ line-height: theme(digitv2.lineHeight.lineheight1);
280
+
281
+ @media (max-aspect-ratio: 9/16) {
282
+ /* Media query for mobile */
283
+ font-size: theme(digitv2.fontSize.heading-s.mobile);
284
+ }
285
+
286
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
287
+ /* Media query for tablets */
288
+ font-size: theme(digitv2.fontSize.heading-s.tablet);
289
+ }
290
+
291
+ @media (min-aspect-ratio: 3/4) {
292
+ /* Media query for desktop */
293
+ font-size: theme(digitv2.fontSize.heading-s.desktop);
294
+ }
295
+ }
296
+
297
+ &.body-s {
298
+ @media (max-aspect-ratio: 9/16) {
299
+ /* Media query for mobile */
300
+ font-size: theme(digitv2.fontSize.body-s.mobile);
301
+ font-family: theme(digitv2.fontFamily.sans);
302
+ font-style: theme(digitv2.fontStyle.normal);
303
+ font-weight: theme(digitv2.fontWeight.regular);
304
+ line-height: theme(digitv2.lineHeight.lineheight2);
305
+ }
306
+
307
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
308
+ /* Media query for tablets */
309
+ font-size: theme(digitv2.fontSize.body-s.tablet);
310
+ font-family: theme(digitv2.fontFamily.sans);
311
+ font-style: theme(digitv2.fontStyle.normal);
312
+ font-weight: theme(digitv2.fontWeight.regular);
313
+ line-height: theme(digitv2.lineHeight.lineheight2);
314
+ }
315
+
316
+ @media (min-aspect-ratio: 3/4) {
317
+ /* Media query for desktop */
318
+ font-size: theme(digitv2.fontSize.body-s.desktop);
319
+ font-family: theme(digitv2.fontFamily.sans);
320
+ font-style: theme(digitv2.fontStyle.normal);
321
+ font-weight: theme(digitv2.fontWeight.regular);
322
+ line-height: theme(digitv2.lineHeight.lineheight2);
323
+ }
324
+ }
325
+ }
326
+
327
+ .sb-main-padded{
328
+ &.sb-show-main{
329
+ background-color: theme(digitv2.lightTheme.paper-primary);
330
+ }
165
331
  }