@egovernments/digit-ui-components-css 0.2.0-beta.1 → 0.2.0-beta.10
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 +191 -35
- package/dist/index.min.css +2 -2
- package/package.json +1 -1
- package/src/digitv2/components/cardV2.scss +7 -1
- package/src/digitv2/components/fieldV1.scss +98 -0
- package/src/digitv2/pages/employee/boundaryFilter.scss +63 -0
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +41 -0
- package/src/digitv2/pages/employee/index.scss +2 -1
- package/src/digitv2/pages/employee/reactdatatable.scss +2 -2
package/package.json
CHANGED
|
@@ -334,7 +334,8 @@
|
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
.digit-card-section-header {
|
|
337
|
-
@apply text-
|
|
337
|
+
@apply text-heading-m font-bold;
|
|
338
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
338
339
|
}
|
|
339
340
|
|
|
340
341
|
.digit-card-search-heading {
|
|
@@ -495,4 +496,9 @@
|
|
|
495
496
|
margin-bottom: unset;
|
|
496
497
|
}
|
|
497
498
|
}
|
|
499
|
+
}
|
|
500
|
+
.titleStyle{
|
|
501
|
+
color: theme(digitv2.lightTheme.primary-2);
|
|
502
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
503
|
+
font-size: theme(digitv2.spacers.spacer10);
|
|
498
504
|
}
|
|
@@ -144,4 +144,102 @@
|
|
|
144
144
|
.digit-charcount {
|
|
145
145
|
@apply justify-end;
|
|
146
146
|
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.digit-form-card-subheader {
|
|
150
|
+
@extend .typography.caption-l;
|
|
151
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
152
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
153
|
+
font-weight: theme(digitv2.fontWeight.medium);
|
|
154
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
155
|
+
|
|
156
|
+
@media (max-aspect-ratio: 9/16) {
|
|
157
|
+
/* Media query for mobile */
|
|
158
|
+
font-size: theme(digitv2.fontSize.caption-l.mobile);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
162
|
+
/* Media query for tablets */
|
|
163
|
+
font-size: theme(digitv2.fontSize.caption-l.tablet);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@media (min-aspect-ratio: 3/4) {
|
|
167
|
+
/* Media query for desktop */
|
|
168
|
+
font-size: theme(digitv2.fontSize.caption-l.desktop);
|
|
169
|
+
}
|
|
170
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.digit-form-card-description {
|
|
174
|
+
@extend .typography.heading-s;
|
|
175
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
176
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
177
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
178
|
+
line-height: theme(digitv2.lineHeight.lineheight1);
|
|
179
|
+
|
|
180
|
+
@media (max-aspect-ratio: 9/16) {
|
|
181
|
+
/* Media query for mobile */
|
|
182
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
186
|
+
/* Media query for tablets */
|
|
187
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (min-aspect-ratio: 3/4) {
|
|
191
|
+
/* Media query for desktop */
|
|
192
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
193
|
+
}
|
|
194
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.digit-form-card-text {
|
|
198
|
+
@extend .typography.body-l;
|
|
199
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
200
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
201
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
202
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
203
|
+
|
|
204
|
+
@media (max-aspect-ratio: 9/16) {
|
|
205
|
+
/* Media query for mobile */
|
|
206
|
+
font-size: theme(digitv2.fontSize.body-l.mobile);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
210
|
+
/* Media query for tablets */
|
|
211
|
+
font-size: theme(digitv2.fontSize.body-l.tablet);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
@media (min-aspect-ratio: 3/4) {
|
|
215
|
+
/* Media query for desktop */
|
|
216
|
+
font-size: theme(digitv2.fontSize.body-l.desktop);
|
|
217
|
+
}
|
|
218
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
219
|
+
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.sectionSubHeaderStyle{
|
|
223
|
+
@extend .typography.body-s;
|
|
224
|
+
@apply flex justify-between items-baseline;
|
|
225
|
+
color: theme(digitv2.lightTheme.text-secondary);
|
|
226
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
227
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
228
|
+
font-weight: theme(digitv2.fontWeight.regular);
|
|
229
|
+
line-height: theme(digitv2.lineHeight.lineheight2);
|
|
230
|
+
|
|
231
|
+
@media (max-aspect-ratio: 9/16) {
|
|
232
|
+
/* Media query for mobile */
|
|
233
|
+
font-size: theme(digitv2.fontSize.body-s.mobile);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
237
|
+
/* Media query for tablets */
|
|
238
|
+
font-size: theme(digitv2.fontSize.body-s.tablet);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
@media (min-aspect-ratio: 3/4) {
|
|
242
|
+
/* Media query for desktop */
|
|
243
|
+
font-size: theme(digitv2.fontSize.body-s.desktop);
|
|
244
|
+
}
|
|
147
245
|
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.selecting-boundary-div {
|
|
2
|
+
padding-top: 0.5rem;
|
|
3
|
+
|
|
4
|
+
gap:1.5rem;
|
|
5
|
+
.label-field-pair {
|
|
6
|
+
margin-bottom: 1.5rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.selecting-boundary-div.horizontal-layout {
|
|
14
|
+
display: grid;
|
|
15
|
+
grid-template-columns: repeat(3, 1fr);
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
.digit-card-label.boundary-selection-label{
|
|
21
|
+
font-family: theme(digitv2.fontFamily.sans);
|
|
22
|
+
font-style: theme(digitv2.fontStyle.normal);
|
|
23
|
+
font-weight: theme(digitv2.fontWeight.bold);
|
|
24
|
+
|
|
25
|
+
@media (max-width: 30rem) {
|
|
26
|
+
/* Media query for mobile */
|
|
27
|
+
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (min-width: 30.063rem) and (max-width: 47.938rem) {
|
|
31
|
+
/* Media query for tablets */
|
|
32
|
+
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (min-width: 48rem) {
|
|
36
|
+
/* Media query for desktop */
|
|
37
|
+
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
color: theme(digitv2.lightTheme.text-primary);
|
|
41
|
+
width:30%;
|
|
42
|
+
}
|
|
43
|
+
.selecting-boundary-div.horizontal-layout .boundary-item {
|
|
44
|
+
display: flex;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.digit-field-full{
|
|
49
|
+
width:100%;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.digit-label-field-pair.boundary-item.vertical{
|
|
53
|
+
margin-bottom: 0rem;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.padding-dropdown{
|
|
57
|
+
padding-bottom: 1.6rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.filter-card.filter-card-vertical .selecting-boundary-div {
|
|
61
|
+
max-width: 65%;
|
|
62
|
+
}
|
|
63
|
+
|
|
@@ -249,6 +249,16 @@
|
|
|
249
249
|
.digit-tab-main {
|
|
250
250
|
width: 100%;
|
|
251
251
|
}
|
|
252
|
+
|
|
253
|
+
&.tab{
|
|
254
|
+
background: none !important;
|
|
255
|
+
padding: theme(digitv2.spacers.spacer0);
|
|
256
|
+
box-shadow: none;
|
|
257
|
+
|
|
258
|
+
.digit-search-wrapper{
|
|
259
|
+
padding: theme(digitv2.spacers.spacer6);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
252
262
|
}
|
|
253
263
|
|
|
254
264
|
&.filter{
|
|
@@ -301,6 +311,17 @@
|
|
|
301
311
|
line-height: normal;
|
|
302
312
|
}
|
|
303
313
|
|
|
314
|
+
.digit-inbox-search-composer-header-action-wrapper{
|
|
315
|
+
|
|
316
|
+
display: flex;
|
|
317
|
+
align-items: center;
|
|
318
|
+
justify-content: space-between;
|
|
319
|
+
|
|
320
|
+
.digit-inbox-search-composer-action{
|
|
321
|
+
margin-bottom: theme(digitv2.spacers.spacer6);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
304
325
|
.digit-inbox-search-links-container {
|
|
305
326
|
.digit-inbox-search-links-header {
|
|
306
327
|
display: flex;
|
|
@@ -406,4 +427,24 @@
|
|
|
406
427
|
display: flex;
|
|
407
428
|
align-items: center;
|
|
408
429
|
justify-content: center ;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.digit-custom-row-wrapper{
|
|
433
|
+
display: flex;
|
|
434
|
+
flex-direction: column;
|
|
435
|
+
gap: theme(digitv2.spacers.spacer6);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.footer-pagination-content {
|
|
439
|
+
&.digit-results-table{
|
|
440
|
+
margin-top:1.5rem;
|
|
441
|
+
|
|
442
|
+
td{
|
|
443
|
+
width: 100%;
|
|
444
|
+
|
|
445
|
+
.pagination{
|
|
446
|
+
border-top: none;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
409
450
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.digit-global-
|
|
2
|
+
.digit-global-search-results-table-wrapper{
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
align-items: flex-end;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.digit-global-
|
|
8
|
+
.digit-global-search-results-table{
|
|
9
9
|
margin-bottom: 1.5rem;
|
|
10
10
|
|
|
11
11
|
|