@bi-digital/css 0.8.0 → 0.9.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.
- package/dist/baseline.css +1 -1
- package/dist/components/avatar.css +3 -3
- package/dist/components/badge.css +4 -10
- package/dist/components/button.css +11 -9
- package/dist/components/card.css +7 -16
- package/dist/components/chip.css +4 -8
- package/dist/components/details.css +2 -5
- package/dist/components/dialog.css +1 -3
- package/dist/components/dropdown.css +0 -4
- package/dist/components/field.css +1 -3
- package/dist/components/fieldset.css +1 -4
- package/dist/components/filter-group.css +1 -4
- package/dist/components/footer.css +5 -10
- package/dist/components/label.css +2 -5
- package/dist/components/skip-link.css +1 -2
- package/dist/components/validation-message.css +1 -4
- package/dist/components.css +44 -90
- package/dist/index.css +1 -1
- package/dist/salesforce.css +44 -90
- package/package.json +3 -6
package/dist/baseline.css
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
width: var(--bic-avatar-size);
|
|
18
18
|
height: var(--bic-avatar-size);
|
|
19
19
|
font-size: var(--bic-avatar-font-size);
|
|
20
|
+
font-weight: var(--bi-font-weight-regular);
|
|
21
|
+
line-height: 1;
|
|
22
|
+
font-family: var(--bi-font-family-plain);
|
|
20
23
|
text-transform: uppercase;
|
|
21
24
|
-webkit-user-select: none;
|
|
22
25
|
user-select: none;
|
|
@@ -24,9 +27,6 @@
|
|
|
24
27
|
flex-shrink: 0;
|
|
25
28
|
justify-content: center;
|
|
26
29
|
align-items: center;
|
|
27
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
28
|
-
font-weight: 500;
|
|
29
|
-
line-height: 1;
|
|
30
30
|
text-decoration: none;
|
|
31
31
|
display: flex;
|
|
32
32
|
overflow: hidden;
|
|
@@ -5,16 +5,13 @@
|
|
|
5
5
|
--bic-badge-border-radius: var(--bi-radius-medium);
|
|
6
6
|
--bic-badge-border-width: var(--bi-stroke-thin);
|
|
7
7
|
--bic-badge-height: var(--bi-scale-6x);
|
|
8
|
-
--bic-badge-font
|
|
9
|
-
--bic-badge-line-height: 1.4;
|
|
8
|
+
--bic-badge-font: var(--bi-font-body-medium);
|
|
10
9
|
--bic-badge-padding: 0 var(--bi-scale-1-5x);
|
|
11
10
|
padding: var(--bic-badge-padding);
|
|
12
11
|
border-radius: var(--bic-badge-border-radius);
|
|
13
12
|
background-color: var(--bic-badge-background);
|
|
14
13
|
color: var(--bic-badge-color);
|
|
15
|
-
font
|
|
16
|
-
font-size: var(--bic-badge-font-size);
|
|
17
|
-
line-height: var(--bic-badge-line-height);
|
|
14
|
+
font: var(--bic-badge-font);
|
|
18
15
|
width: max-content;
|
|
19
16
|
height: fit-content;
|
|
20
17
|
min-height: var(--bic-badge-height);
|
|
@@ -22,7 +19,6 @@
|
|
|
22
19
|
word-break: break-word;
|
|
23
20
|
justify-content: center;
|
|
24
21
|
align-items: center;
|
|
25
|
-
font-weight: 500;
|
|
26
22
|
display: inline-flex;
|
|
27
23
|
}
|
|
28
24
|
|
|
@@ -38,16 +34,14 @@
|
|
|
38
34
|
|
|
39
35
|
.bi-badge[data-size="xs"] {
|
|
40
36
|
--bic-badge-padding: 0 var(--bi-scale-0-50x);
|
|
41
|
-
--bic-badge-font
|
|
42
|
-
--bic-badge-line-height: 1.15;
|
|
37
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
43
38
|
--bic-badge-border-radius: var(--bi-radius-small);
|
|
44
39
|
--bic-badge-height: var(--bi-scale-4x);
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
.bi-badge[data-size="small"] {
|
|
48
43
|
--bic-badge-padding: 0 var(--bi-scale-1x);
|
|
49
|
-
--bic-badge-font
|
|
50
|
-
--bic-badge-line-height: 1.15;
|
|
44
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
51
45
|
--bic-badge-height: var(--bi-scale-5x);
|
|
52
46
|
}
|
|
53
47
|
|
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
--bic-button-background: transparent;
|
|
10
10
|
--bic-button-background-hover: transparent;
|
|
11
11
|
--bic-button-background-press: transparent;
|
|
12
|
+
--bic-button-active-color: var(--bi-primary-50);
|
|
12
13
|
--bic-button-focus-shadow-color: var(--bi-basic-white);
|
|
13
14
|
--bic-button-focus-outline-color: var(--bi-primary-50);
|
|
14
|
-
font-family:
|
|
15
|
+
font-family: var(--bi-font-family-plain);
|
|
15
16
|
font-size: var(--bic-button-font-size);
|
|
16
17
|
line-height: var(--bic-button-line-height);
|
|
17
18
|
-webkit-font-smoothing: antialiased;
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
cursor: pointer;
|
|
23
24
|
color: var(--bic-button-color);
|
|
24
25
|
background: var(--bic-button-background);
|
|
26
|
+
font-weight: var(--bi-font-weight-bold);
|
|
25
27
|
box-shadow: var(--bic-button-box-shadow);
|
|
26
28
|
height: fit-content;
|
|
27
29
|
min-height: var(--bic-button-size);
|
|
@@ -33,23 +35,23 @@
|
|
|
33
35
|
text-align: inherit;
|
|
34
36
|
border: none;
|
|
35
37
|
flex-shrink: 0;
|
|
36
|
-
font-weight: 600;
|
|
37
38
|
display: flex;
|
|
38
39
|
position: relative;
|
|
39
40
|
overflow: hidden;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
.bi-button[data-
|
|
43
|
-
|
|
43
|
+
.bi-button[data-dark="true"] {
|
|
44
|
+
--bic-button-active-color: var(--bi-primary-30);
|
|
45
|
+
--bic-button-focus-shadow-color: var(--bi-neutral-95);
|
|
46
|
+
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
44
47
|
}
|
|
45
48
|
|
|
46
|
-
.bi-button[data-
|
|
47
|
-
|
|
49
|
+
.bi-button[data-fullwidth="true"], .bi-button[data-stretch="true"] {
|
|
50
|
+
width: 100%;
|
|
48
51
|
}
|
|
49
52
|
|
|
50
|
-
.bi-button[data-
|
|
51
|
-
|
|
52
|
-
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
53
|
+
.bi-button[data-active="true"], .bi-button[aria-expanded="true"] {
|
|
54
|
+
box-shadow: 0px 0px 0px 1.5px var(--bic-button-active-color) inset;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
.bi-button:focus-visible {
|
package/dist/components/card.css
CHANGED
|
@@ -161,15 +161,13 @@
|
|
|
161
161
|
|
|
162
162
|
.bi-card .bi-card--content > p {
|
|
163
163
|
color: var(--bic-card-content-color);
|
|
164
|
+
font: var(--bi-font-body-medium);
|
|
164
165
|
white-space: break-spaces;
|
|
165
166
|
text-overflow: ellipsis;
|
|
166
167
|
-webkit-line-clamp: var(--bic-card-content-lines);
|
|
167
168
|
line-clamp: var(--bic-card-content-lines);
|
|
168
169
|
-webkit-box-orient: vertical;
|
|
169
170
|
margin: 0;
|
|
170
|
-
font-size: .875rem;
|
|
171
|
-
font-weight: 500;
|
|
172
|
-
line-height: 1.5;
|
|
173
171
|
display: -webkit-box;
|
|
174
172
|
overflow: hidden;
|
|
175
173
|
}
|
|
@@ -246,31 +244,29 @@
|
|
|
246
244
|
}
|
|
247
245
|
|
|
248
246
|
.bi-card .bi-card--header {
|
|
247
|
+
font: var(--bi-font-body-medium);
|
|
249
248
|
gap: var(--bi-scale-0-50x);
|
|
250
249
|
word-wrap: break-word;
|
|
251
250
|
word-break: break-word;
|
|
252
251
|
flex-direction: column;
|
|
253
252
|
width: 100%;
|
|
254
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
255
|
-
line-height: 1.5;
|
|
256
253
|
display: flex;
|
|
257
254
|
}
|
|
258
255
|
|
|
259
256
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
260
257
|
color: var(--bic-card-header-label-color);
|
|
261
258
|
margin: 0;
|
|
262
|
-
font-size: .875rem;
|
|
263
259
|
}
|
|
264
260
|
|
|
265
261
|
@media (width < 600px) {
|
|
266
262
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
267
|
-
font
|
|
263
|
+
font: var(--bi-font-body-small);
|
|
268
264
|
}
|
|
269
265
|
}
|
|
270
266
|
|
|
271
267
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-bold {
|
|
272
268
|
color: var(--bic-card-header-bold-color);
|
|
273
|
-
font-weight:
|
|
269
|
+
font-weight: var(--bi-font-weight-bold);
|
|
274
270
|
}
|
|
275
271
|
|
|
276
272
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-dot {
|
|
@@ -284,22 +280,20 @@
|
|
|
284
280
|
}
|
|
285
281
|
|
|
286
282
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
283
|
+
font: var(--bi-font-title-bold-small);
|
|
287
284
|
color: var(--bic-card-header-title-color);
|
|
288
285
|
text-overflow: ellipsis;
|
|
289
286
|
-webkit-line-clamp: 2;
|
|
290
287
|
line-clamp: 2;
|
|
291
288
|
-webkit-box-orient: vertical;
|
|
292
289
|
margin: 0;
|
|
293
|
-
font-size: 1.125rem;
|
|
294
|
-
font-weight: 600;
|
|
295
|
-
line-height: 1.3;
|
|
296
290
|
display: -webkit-box;
|
|
297
291
|
overflow: hidden;
|
|
298
292
|
}
|
|
299
293
|
|
|
300
294
|
@media (width < 600px) {
|
|
301
295
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
302
|
-
font
|
|
296
|
+
font: var(--bi-font-title-bold-xs);
|
|
303
297
|
}
|
|
304
298
|
}
|
|
305
299
|
|
|
@@ -344,14 +338,11 @@
|
|
|
344
338
|
0px 4px 6px 0px #26333f0d;
|
|
345
339
|
color: var(--bic-card-header-title-color);
|
|
346
340
|
text-align: center;
|
|
341
|
+
font: var(--bi-font-title-bold-medium);
|
|
347
342
|
flex-direction: column;
|
|
348
343
|
justify-content: center;
|
|
349
344
|
align-items: center;
|
|
350
345
|
margin: 0;
|
|
351
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
352
|
-
font-size: 1.25rem;
|
|
353
|
-
font-weight: 700;
|
|
354
|
-
line-height: 1.3;
|
|
355
346
|
display: flex;
|
|
356
347
|
}
|
|
357
348
|
|
package/dist/components/chip.css
CHANGED
|
@@ -7,17 +7,14 @@
|
|
|
7
7
|
--bic-chip-text-color: var(--bi-neutral-90);
|
|
8
8
|
--bic-chip-padding: var(--bi-scale-1x) var(--bi-scale-2x);
|
|
9
9
|
--bic-chip-icon-size: var(--bi-scale-6x);
|
|
10
|
-
--bic-chip-font
|
|
11
|
-
--bic-chip-
|
|
10
|
+
--bic-chip-font: var(--bi-font-body-medium);
|
|
11
|
+
font: var(--bic-chip-font);
|
|
12
12
|
gap: var(--bi-scale-1x);
|
|
13
13
|
border-radius: var(--bi-radius-full);
|
|
14
14
|
width: fit-content;
|
|
15
15
|
color: var(--bic-chip-text-color);
|
|
16
16
|
background-color: var(--bic-chip-background);
|
|
17
17
|
padding: var(--bic-chip-padding);
|
|
18
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
19
|
-
font-size: var(--bic-chip-font-size);
|
|
20
|
-
line-height: var(--bic-chip-line-height);
|
|
21
18
|
justify-content: flex-start;
|
|
22
19
|
align-items: center;
|
|
23
20
|
display: inline-flex;
|
|
@@ -26,14 +23,13 @@
|
|
|
26
23
|
|
|
27
24
|
.bi-chip[data-size="small"] {
|
|
28
25
|
--bic-chip-padding: var(--bi-scale-0-50x) var(--bi-scale-2x);
|
|
29
|
-
--bic-chip-font
|
|
30
|
-
--bic-chip-line-height: 1.25rem;
|
|
26
|
+
--bic-chip-font: var(--bi-font-body-small);
|
|
31
27
|
--bic-chip-icon-size: var(--bi-scale-5x);
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
.bi-chip[data-size="large"] {
|
|
35
31
|
--bic-chip-padding: var(--bi-scale-2x) var(--bi-scale-4x);
|
|
36
|
-
--bic-chip-font
|
|
32
|
+
--bic-chip-font: var(--bi-font-body-large);
|
|
37
33
|
}
|
|
38
34
|
|
|
39
35
|
.bi-chip[data-dark="true"] {
|
|
@@ -24,6 +24,7 @@ details.bi-details[data-dark="true"] {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
details.bi-details {
|
|
27
|
+
font: var(--bi-font-body-large);
|
|
27
28
|
background-color: var(--bic-details-background);
|
|
28
29
|
color: var(--bic-details-color);
|
|
29
30
|
border: 0;
|
|
@@ -31,10 +32,6 @@ details.bi-details {
|
|
|
31
32
|
border-style: solid;
|
|
32
33
|
border-top-width: var(--bi-stroke-thin);
|
|
33
34
|
border-bottom-width: var(--bi-stroke-thin);
|
|
34
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
35
|
-
font-size: 1rem;
|
|
36
|
-
font-weight: 500;
|
|
37
|
-
line-height: 1.5;
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
details.bi-details + :is(details.bi-details) {
|
|
@@ -49,8 +46,8 @@ details.bi-details summary {
|
|
|
49
46
|
gap: var(--bi-scale-2x);
|
|
50
47
|
-webkit-user-select: none;
|
|
51
48
|
user-select: none;
|
|
49
|
+
font-weight: var(--bi-font-weight-bold);
|
|
52
50
|
flex-direction: row;
|
|
53
|
-
font-weight: 700;
|
|
54
51
|
list-style: none;
|
|
55
52
|
display: flex;
|
|
56
53
|
position: relative;
|
|
@@ -60,11 +60,9 @@
|
|
|
60
60
|
.bi-dialog .bi-dialog--header {
|
|
61
61
|
padding: var(--bic-dialog-padding);
|
|
62
62
|
min-height: var(--bi-scale-16x);
|
|
63
|
+
font: var(--bi-font-title-bold-medium);
|
|
63
64
|
align-items: center;
|
|
64
65
|
margin: 0;
|
|
65
|
-
font-size: 1.25rem;
|
|
66
|
-
font-weight: 700;
|
|
67
|
-
line-height: 1.3;
|
|
68
66
|
display: flex;
|
|
69
67
|
}
|
|
70
68
|
|
|
@@ -28,10 +28,7 @@
|
|
|
28
28
|
.bi-fieldset > legend + p {
|
|
29
29
|
margin-block: var(--bi-scale-1x) 0;
|
|
30
30
|
color: var(--bic-fieldset-description-color);
|
|
31
|
-
font
|
|
32
|
-
font-size: 1rem;
|
|
33
|
-
font-weight: 500;
|
|
34
|
-
line-height: 1.15;
|
|
31
|
+
font: var(--bi-font-body-large);
|
|
35
32
|
}
|
|
36
33
|
|
|
37
34
|
.bi-fieldset:disabled > legend, .bi-fieldset:disabled > legend + p {
|
|
@@ -72,12 +72,9 @@
|
|
|
72
72
|
|
|
73
73
|
.bi-filter-group > button > h3 {
|
|
74
74
|
text-align: left;
|
|
75
|
+
font: var(--bi-font-title-bold-xs);
|
|
75
76
|
flex: 1;
|
|
76
77
|
margin: 0;
|
|
77
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
78
|
-
font-size: 1rem;
|
|
79
|
-
font-weight: 700;
|
|
80
|
-
line-height: 1.5;
|
|
81
78
|
}
|
|
82
79
|
|
|
83
80
|
.bi-filter-group > div {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
width: 100%;
|
|
13
13
|
color: var(--bic-footer-color);
|
|
14
14
|
background-color: var(--bic-footer-background);
|
|
15
|
+
font-family: var(--bi-font-family-plain);
|
|
15
16
|
padding: var(--bi-scale-16x) 0;
|
|
16
17
|
justify-content: center;
|
|
17
18
|
align-items: center;
|
|
@@ -20,7 +21,6 @@
|
|
|
20
21
|
align-items: center;
|
|
21
22
|
width: 100%;
|
|
22
23
|
margin-top: -1px;
|
|
23
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
24
24
|
display: flex;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -38,15 +38,12 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.bi-footer .bi-footer--links-container .bi-footer--links {
|
|
41
|
+
min-height: 44px;
|
|
42
|
+
font: var(--bi-font-label-large);
|
|
41
43
|
flex-direction: row;
|
|
42
44
|
justify-content: center;
|
|
43
45
|
align-items: center;
|
|
44
|
-
min-height: 44px;
|
|
45
46
|
margin: auto;
|
|
46
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
47
|
-
font-size: 1rem;
|
|
48
|
-
font-weight: 700;
|
|
49
|
-
line-height: 1.5;
|
|
50
47
|
display: flex;
|
|
51
48
|
}
|
|
52
49
|
|
|
@@ -149,9 +146,7 @@
|
|
|
149
146
|
|
|
150
147
|
.bi-footer .bi-footer--copyright {
|
|
151
148
|
text-align: center;
|
|
149
|
+
font: var(--bi-font-body-large);
|
|
150
|
+
font-weight: var(--bi-font-weight-regular);
|
|
152
151
|
margin: 0;
|
|
153
|
-
font-family: museo-slab, serif;
|
|
154
|
-
font-size: 1rem;
|
|
155
|
-
font-weight: 500;
|
|
156
|
-
line-height: 1.5;
|
|
157
152
|
}
|
|
@@ -10,14 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
.bi-label {
|
|
12
12
|
color: var(--bic-label-color);
|
|
13
|
-
font
|
|
14
|
-
font-size: .875rem;
|
|
15
|
-
font-weight: 700;
|
|
16
|
-
line-height: 1.4;
|
|
13
|
+
font: var(--bi-font-label-medium);
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
.bi-label[data-weight="medium"] {
|
|
20
|
-
font-weight:
|
|
17
|
+
font-weight: var(--bi-font-weight-regular);
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
.bi-label[data-weight="regular"] {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.bi-skip-link {
|
|
2
2
|
--bic-skip-link-color: var(--bi-basic-white);
|
|
3
3
|
--bic-skip-link-background: var(--bi-primary-50);
|
|
4
|
+
font: var(--bi-font-body-large);
|
|
4
5
|
background: var(--bic-skip-link-background);
|
|
5
6
|
color: var(--bic-skip-link-color);
|
|
6
7
|
outline-offset: 0px;
|
|
@@ -9,8 +10,6 @@
|
|
|
9
10
|
align-content: center;
|
|
10
11
|
height: 44px;
|
|
11
12
|
padding: 0 7px;
|
|
12
|
-
font-size: 1rem;
|
|
13
|
-
font-weight: 500;
|
|
14
13
|
transition: transform .3s ease-in-out;
|
|
15
14
|
position: absolute;
|
|
16
15
|
left: 50%;
|
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
padding: var(--bic-validation-message-padding);
|
|
8
8
|
background: var(--bic-validation-message-background);
|
|
9
9
|
border-radius: 0px 0px var(--bi-radius-medium) var(--bi-radius-medium);
|
|
10
|
+
font: var(--bi-font-label-medium);
|
|
10
11
|
margin: 0;
|
|
11
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
12
|
-
font-size: .875rem;
|
|
13
|
-
font-weight: 700;
|
|
14
|
-
line-height: 1.4;
|
|
15
12
|
position: relative;
|
|
16
13
|
}
|
|
17
14
|
|
package/dist/components.css
CHANGED
|
@@ -151,6 +151,9 @@
|
|
|
151
151
|
width: var(--bic-avatar-size);
|
|
152
152
|
height: var(--bic-avatar-size);
|
|
153
153
|
font-size: var(--bic-avatar-font-size);
|
|
154
|
+
font-weight: var(--bi-font-weight-regular);
|
|
155
|
+
line-height: 1;
|
|
156
|
+
font-family: var(--bi-font-family-plain);
|
|
154
157
|
text-transform: uppercase;
|
|
155
158
|
-webkit-user-select: none;
|
|
156
159
|
user-select: none;
|
|
@@ -158,9 +161,6 @@
|
|
|
158
161
|
flex-shrink: 0;
|
|
159
162
|
justify-content: center;
|
|
160
163
|
align-items: center;
|
|
161
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
162
|
-
font-weight: 500;
|
|
163
|
-
line-height: 1;
|
|
164
164
|
text-decoration: none;
|
|
165
165
|
display: flex;
|
|
166
166
|
overflow: hidden;
|
|
@@ -224,16 +224,13 @@
|
|
|
224
224
|
--bic-badge-border-radius: var(--bi-radius-medium);
|
|
225
225
|
--bic-badge-border-width: var(--bi-stroke-thin);
|
|
226
226
|
--bic-badge-height: var(--bi-scale-6x);
|
|
227
|
-
--bic-badge-font
|
|
228
|
-
--bic-badge-line-height: 1.4;
|
|
227
|
+
--bic-badge-font: var(--bi-font-body-medium);
|
|
229
228
|
--bic-badge-padding: 0 var(--bi-scale-1-5x);
|
|
230
229
|
padding: var(--bic-badge-padding);
|
|
231
230
|
border-radius: var(--bic-badge-border-radius);
|
|
232
231
|
background-color: var(--bic-badge-background);
|
|
233
232
|
color: var(--bic-badge-color);
|
|
234
|
-
font
|
|
235
|
-
font-size: var(--bic-badge-font-size);
|
|
236
|
-
line-height: var(--bic-badge-line-height);
|
|
233
|
+
font: var(--bic-badge-font);
|
|
237
234
|
width: max-content;
|
|
238
235
|
height: fit-content;
|
|
239
236
|
min-height: var(--bic-badge-height);
|
|
@@ -241,7 +238,6 @@
|
|
|
241
238
|
word-break: break-word;
|
|
242
239
|
justify-content: center;
|
|
243
240
|
align-items: center;
|
|
244
|
-
font-weight: 500;
|
|
245
241
|
display: inline-flex;
|
|
246
242
|
}
|
|
247
243
|
|
|
@@ -257,16 +253,14 @@
|
|
|
257
253
|
|
|
258
254
|
.bi-badge[data-size="xs"] {
|
|
259
255
|
--bic-badge-padding: 0 var(--bi-scale-0-50x);
|
|
260
|
-
--bic-badge-font
|
|
261
|
-
--bic-badge-line-height: 1.15;
|
|
256
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
262
257
|
--bic-badge-border-radius: var(--bi-radius-small);
|
|
263
258
|
--bic-badge-height: var(--bi-scale-4x);
|
|
264
259
|
}
|
|
265
260
|
|
|
266
261
|
.bi-badge[data-size="small"] {
|
|
267
262
|
--bic-badge-padding: 0 var(--bi-scale-1x);
|
|
268
|
-
--bic-badge-font
|
|
269
|
-
--bic-badge-line-height: 1.15;
|
|
263
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
270
264
|
--bic-badge-height: var(--bi-scale-5x);
|
|
271
265
|
}
|
|
272
266
|
|
|
@@ -347,9 +341,10 @@
|
|
|
347
341
|
--bic-button-background: transparent;
|
|
348
342
|
--bic-button-background-hover: transparent;
|
|
349
343
|
--bic-button-background-press: transparent;
|
|
344
|
+
--bic-button-active-color: var(--bi-primary-50);
|
|
350
345
|
--bic-button-focus-shadow-color: var(--bi-basic-white);
|
|
351
346
|
--bic-button-focus-outline-color: var(--bi-primary-50);
|
|
352
|
-
font-family:
|
|
347
|
+
font-family: var(--bi-font-family-plain);
|
|
353
348
|
font-size: var(--bic-button-font-size);
|
|
354
349
|
line-height: var(--bic-button-line-height);
|
|
355
350
|
-webkit-font-smoothing: antialiased;
|
|
@@ -360,6 +355,7 @@
|
|
|
360
355
|
cursor: pointer;
|
|
361
356
|
color: var(--bic-button-color);
|
|
362
357
|
background: var(--bic-button-background);
|
|
358
|
+
font-weight: var(--bi-font-weight-bold);
|
|
363
359
|
box-shadow: var(--bic-button-box-shadow);
|
|
364
360
|
height: fit-content;
|
|
365
361
|
min-height: var(--bic-button-size);
|
|
@@ -371,23 +367,23 @@
|
|
|
371
367
|
text-align: inherit;
|
|
372
368
|
border: none;
|
|
373
369
|
flex-shrink: 0;
|
|
374
|
-
font-weight: 600;
|
|
375
370
|
display: flex;
|
|
376
371
|
position: relative;
|
|
377
372
|
overflow: hidden;
|
|
378
373
|
}
|
|
379
374
|
|
|
380
|
-
.bi-button[data-
|
|
381
|
-
|
|
375
|
+
.bi-button[data-dark="true"] {
|
|
376
|
+
--bic-button-active-color: var(--bi-primary-30);
|
|
377
|
+
--bic-button-focus-shadow-color: var(--bi-neutral-95);
|
|
378
|
+
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
382
379
|
}
|
|
383
380
|
|
|
384
|
-
.bi-button[data-
|
|
385
|
-
|
|
381
|
+
.bi-button[data-fullwidth="true"], .bi-button[data-stretch="true"] {
|
|
382
|
+
width: 100%;
|
|
386
383
|
}
|
|
387
384
|
|
|
388
|
-
.bi-button[data-
|
|
389
|
-
|
|
390
|
-
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
385
|
+
.bi-button[data-active="true"], .bi-button[aria-expanded="true"] {
|
|
386
|
+
box-shadow: 0px 0px 0px 1.5px var(--bic-button-active-color) inset;
|
|
391
387
|
}
|
|
392
388
|
|
|
393
389
|
.bi-button:focus-visible {
|
|
@@ -666,15 +662,13 @@
|
|
|
666
662
|
|
|
667
663
|
.bi-card .bi-card--content > p {
|
|
668
664
|
color: var(--bic-card-content-color);
|
|
665
|
+
font: var(--bi-font-body-medium);
|
|
669
666
|
white-space: break-spaces;
|
|
670
667
|
text-overflow: ellipsis;
|
|
671
668
|
-webkit-line-clamp: var(--bic-card-content-lines);
|
|
672
669
|
line-clamp: var(--bic-card-content-lines);
|
|
673
670
|
-webkit-box-orient: vertical;
|
|
674
671
|
margin: 0;
|
|
675
|
-
font-size: .875rem;
|
|
676
|
-
font-weight: 500;
|
|
677
|
-
line-height: 1.5;
|
|
678
672
|
display: -webkit-box;
|
|
679
673
|
overflow: hidden;
|
|
680
674
|
}
|
|
@@ -751,31 +745,29 @@
|
|
|
751
745
|
}
|
|
752
746
|
|
|
753
747
|
.bi-card .bi-card--header {
|
|
748
|
+
font: var(--bi-font-body-medium);
|
|
754
749
|
gap: var(--bi-scale-0-50x);
|
|
755
750
|
word-wrap: break-word;
|
|
756
751
|
word-break: break-word;
|
|
757
752
|
flex-direction: column;
|
|
758
753
|
width: 100%;
|
|
759
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
760
|
-
line-height: 1.5;
|
|
761
754
|
display: flex;
|
|
762
755
|
}
|
|
763
756
|
|
|
764
757
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
765
758
|
color: var(--bic-card-header-label-color);
|
|
766
759
|
margin: 0;
|
|
767
|
-
font-size: .875rem;
|
|
768
760
|
}
|
|
769
761
|
|
|
770
762
|
@media (width < 600px) {
|
|
771
763
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
772
|
-
font
|
|
764
|
+
font: var(--bi-font-body-small);
|
|
773
765
|
}
|
|
774
766
|
}
|
|
775
767
|
|
|
776
768
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-bold {
|
|
777
769
|
color: var(--bic-card-header-bold-color);
|
|
778
|
-
font-weight:
|
|
770
|
+
font-weight: var(--bi-font-weight-bold);
|
|
779
771
|
}
|
|
780
772
|
|
|
781
773
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-dot {
|
|
@@ -789,22 +781,20 @@
|
|
|
789
781
|
}
|
|
790
782
|
|
|
791
783
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
784
|
+
font: var(--bi-font-title-bold-small);
|
|
792
785
|
color: var(--bic-card-header-title-color);
|
|
793
786
|
text-overflow: ellipsis;
|
|
794
787
|
-webkit-line-clamp: 2;
|
|
795
788
|
line-clamp: 2;
|
|
796
789
|
-webkit-box-orient: vertical;
|
|
797
790
|
margin: 0;
|
|
798
|
-
font-size: 1.125rem;
|
|
799
|
-
font-weight: 600;
|
|
800
|
-
line-height: 1.3;
|
|
801
791
|
display: -webkit-box;
|
|
802
792
|
overflow: hidden;
|
|
803
793
|
}
|
|
804
794
|
|
|
805
795
|
@media (width < 600px) {
|
|
806
796
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
807
|
-
font
|
|
797
|
+
font: var(--bi-font-title-bold-xs);
|
|
808
798
|
}
|
|
809
799
|
}
|
|
810
800
|
|
|
@@ -849,14 +839,11 @@
|
|
|
849
839
|
0px 4px 6px 0px #26333f0d;
|
|
850
840
|
color: var(--bic-card-header-title-color);
|
|
851
841
|
text-align: center;
|
|
842
|
+
font: var(--bi-font-title-bold-medium);
|
|
852
843
|
flex-direction: column;
|
|
853
844
|
justify-content: center;
|
|
854
845
|
align-items: center;
|
|
855
846
|
margin: 0;
|
|
856
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
857
|
-
font-size: 1.25rem;
|
|
858
|
-
font-weight: 700;
|
|
859
|
-
line-height: 1.3;
|
|
860
847
|
display: flex;
|
|
861
848
|
}
|
|
862
849
|
|
|
@@ -898,17 +885,14 @@
|
|
|
898
885
|
--bic-chip-text-color: var(--bi-neutral-90);
|
|
899
886
|
--bic-chip-padding: var(--bi-scale-1x) var(--bi-scale-2x);
|
|
900
887
|
--bic-chip-icon-size: var(--bi-scale-6x);
|
|
901
|
-
--bic-chip-font
|
|
902
|
-
--bic-chip-
|
|
888
|
+
--bic-chip-font: var(--bi-font-body-medium);
|
|
889
|
+
font: var(--bic-chip-font);
|
|
903
890
|
gap: var(--bi-scale-1x);
|
|
904
891
|
border-radius: var(--bi-radius-full);
|
|
905
892
|
width: fit-content;
|
|
906
893
|
color: var(--bic-chip-text-color);
|
|
907
894
|
background-color: var(--bic-chip-background);
|
|
908
895
|
padding: var(--bic-chip-padding);
|
|
909
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
910
|
-
font-size: var(--bic-chip-font-size);
|
|
911
|
-
line-height: var(--bic-chip-line-height);
|
|
912
896
|
justify-content: flex-start;
|
|
913
897
|
align-items: center;
|
|
914
898
|
display: inline-flex;
|
|
@@ -917,14 +901,13 @@
|
|
|
917
901
|
|
|
918
902
|
.bi-chip[data-size="small"] {
|
|
919
903
|
--bic-chip-padding: var(--bi-scale-0-50x) var(--bi-scale-2x);
|
|
920
|
-
--bic-chip-font
|
|
921
|
-
--bic-chip-line-height: 1.25rem;
|
|
904
|
+
--bic-chip-font: var(--bi-font-body-small);
|
|
922
905
|
--bic-chip-icon-size: var(--bi-scale-5x);
|
|
923
906
|
}
|
|
924
907
|
|
|
925
908
|
.bi-chip[data-size="large"] {
|
|
926
909
|
--bic-chip-padding: var(--bi-scale-2x) var(--bi-scale-4x);
|
|
927
|
-
--bic-chip-font
|
|
910
|
+
--bic-chip-font: var(--bi-font-body-large);
|
|
928
911
|
}
|
|
929
912
|
|
|
930
913
|
.bi-chip[data-dark="true"] {
|
|
@@ -1127,6 +1110,7 @@ details.bi-details[data-dark="true"] {
|
|
|
1127
1110
|
}
|
|
1128
1111
|
|
|
1129
1112
|
details.bi-details {
|
|
1113
|
+
font: var(--bi-font-body-large);
|
|
1130
1114
|
background-color: var(--bic-details-background);
|
|
1131
1115
|
color: var(--bic-details-color);
|
|
1132
1116
|
border: 0;
|
|
@@ -1134,10 +1118,6 @@ details.bi-details {
|
|
|
1134
1118
|
border-style: solid;
|
|
1135
1119
|
border-top-width: var(--bi-stroke-thin);
|
|
1136
1120
|
border-bottom-width: var(--bi-stroke-thin);
|
|
1137
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
1138
|
-
font-size: 1rem;
|
|
1139
|
-
font-weight: 500;
|
|
1140
|
-
line-height: 1.5;
|
|
1141
1121
|
}
|
|
1142
1122
|
|
|
1143
1123
|
details.bi-details + :is(details.bi-details) {
|
|
@@ -1152,8 +1132,8 @@ details.bi-details summary {
|
|
|
1152
1132
|
gap: var(--bi-scale-2x);
|
|
1153
1133
|
-webkit-user-select: none;
|
|
1154
1134
|
user-select: none;
|
|
1135
|
+
font-weight: var(--bi-font-weight-bold);
|
|
1155
1136
|
flex-direction: row;
|
|
1156
|
-
font-weight: 700;
|
|
1157
1137
|
list-style: none;
|
|
1158
1138
|
display: flex;
|
|
1159
1139
|
position: relative;
|
|
@@ -1309,11 +1289,9 @@ details.bi-details > *:not(summary) + * {
|
|
|
1309
1289
|
.bi-dialog .bi-dialog--header {
|
|
1310
1290
|
padding: var(--bic-dialog-padding);
|
|
1311
1291
|
min-height: var(--bi-scale-16x);
|
|
1292
|
+
font: var(--bi-font-title-bold-medium);
|
|
1312
1293
|
align-items: center;
|
|
1313
1294
|
margin: 0;
|
|
1314
|
-
font-size: 1.25rem;
|
|
1315
|
-
font-weight: 700;
|
|
1316
|
-
line-height: 1.3;
|
|
1317
1295
|
display: flex;
|
|
1318
1296
|
}
|
|
1319
1297
|
|
|
@@ -1587,10 +1565,6 @@ body:has(.bi-dialog:modal) {
|
|
|
1587
1565
|
margin-left: auto;
|
|
1588
1566
|
}
|
|
1589
1567
|
|
|
1590
|
-
.bi-button[aria-expanded="true"] {
|
|
1591
|
-
box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
1568
|
:where(.bi-input) {
|
|
1595
1569
|
margin: 0;
|
|
1596
1570
|
}
|
|
@@ -1875,9 +1849,7 @@ body:has(.bi-dialog:modal) {
|
|
|
1875
1849
|
|
|
1876
1850
|
.bi-field .bi-field--description {
|
|
1877
1851
|
color: var(--bic-field-description-color);
|
|
1878
|
-
font
|
|
1879
|
-
font-size: .8125rem;
|
|
1880
|
-
font-weight: 500;
|
|
1852
|
+
font: var(--bi-font-body-small);
|
|
1881
1853
|
line-height: 1.15;
|
|
1882
1854
|
}
|
|
1883
1855
|
|
|
@@ -2087,10 +2059,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2087
2059
|
.bi-fieldset > legend + p {
|
|
2088
2060
|
margin-block: var(--bi-scale-1x) 0;
|
|
2089
2061
|
color: var(--bic-fieldset-description-color);
|
|
2090
|
-
font
|
|
2091
|
-
font-size: 1rem;
|
|
2092
|
-
font-weight: 500;
|
|
2093
|
-
line-height: 1.15;
|
|
2062
|
+
font: var(--bi-font-body-large);
|
|
2094
2063
|
}
|
|
2095
2064
|
|
|
2096
2065
|
.bi-fieldset:disabled > legend, .bi-fieldset:disabled > legend + p {
|
|
@@ -2171,12 +2140,9 @@ body:has(.bi-dialog:modal) {
|
|
|
2171
2140
|
|
|
2172
2141
|
.bi-filter-group > button > h3 {
|
|
2173
2142
|
text-align: left;
|
|
2143
|
+
font: var(--bi-font-title-bold-xs);
|
|
2174
2144
|
flex: 1;
|
|
2175
2145
|
margin: 0;
|
|
2176
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2177
|
-
font-size: 1rem;
|
|
2178
|
-
font-weight: 700;
|
|
2179
|
-
line-height: 1.5;
|
|
2180
2146
|
}
|
|
2181
2147
|
|
|
2182
2148
|
.bi-filter-group > div {
|
|
@@ -2226,6 +2192,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2226
2192
|
width: 100%;
|
|
2227
2193
|
color: var(--bic-footer-color);
|
|
2228
2194
|
background-color: var(--bic-footer-background);
|
|
2195
|
+
font-family: var(--bi-font-family-plain);
|
|
2229
2196
|
padding: var(--bi-scale-16x) 0;
|
|
2230
2197
|
justify-content: center;
|
|
2231
2198
|
align-items: center;
|
|
@@ -2234,7 +2201,6 @@ body:has(.bi-dialog:modal) {
|
|
|
2234
2201
|
align-items: center;
|
|
2235
2202
|
width: 100%;
|
|
2236
2203
|
margin-top: -1px;
|
|
2237
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2238
2204
|
display: flex;
|
|
2239
2205
|
}
|
|
2240
2206
|
|
|
@@ -2252,15 +2218,12 @@ body:has(.bi-dialog:modal) {
|
|
|
2252
2218
|
}
|
|
2253
2219
|
|
|
2254
2220
|
.bi-footer .bi-footer--links-container .bi-footer--links {
|
|
2221
|
+
min-height: 44px;
|
|
2222
|
+
font: var(--bi-font-label-large);
|
|
2255
2223
|
flex-direction: row;
|
|
2256
2224
|
justify-content: center;
|
|
2257
2225
|
align-items: center;
|
|
2258
|
-
min-height: 44px;
|
|
2259
2226
|
margin: auto;
|
|
2260
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2261
|
-
font-size: 1rem;
|
|
2262
|
-
font-weight: 700;
|
|
2263
|
-
line-height: 1.5;
|
|
2264
2227
|
display: flex;
|
|
2265
2228
|
}
|
|
2266
2229
|
|
|
@@ -2363,11 +2326,9 @@ body:has(.bi-dialog:modal) {
|
|
|
2363
2326
|
|
|
2364
2327
|
.bi-footer .bi-footer--copyright {
|
|
2365
2328
|
text-align: center;
|
|
2329
|
+
font: var(--bi-font-body-large);
|
|
2330
|
+
font-weight: var(--bi-font-weight-regular);
|
|
2366
2331
|
margin: 0;
|
|
2367
|
-
font-family: museo-slab, serif;
|
|
2368
|
-
font-size: 1rem;
|
|
2369
|
-
font-weight: 500;
|
|
2370
|
-
line-height: 1.5;
|
|
2371
2332
|
}
|
|
2372
2333
|
|
|
2373
2334
|
svg {
|
|
@@ -2428,14 +2389,11 @@ svg[data-color="white"] {
|
|
|
2428
2389
|
|
|
2429
2390
|
.bi-label {
|
|
2430
2391
|
color: var(--bic-label-color);
|
|
2431
|
-
font
|
|
2432
|
-
font-size: .875rem;
|
|
2433
|
-
font-weight: 700;
|
|
2434
|
-
line-height: 1.4;
|
|
2392
|
+
font: var(--bi-font-label-medium);
|
|
2435
2393
|
}
|
|
2436
2394
|
|
|
2437
2395
|
.bi-label[data-weight="medium"] {
|
|
2438
|
-
font-weight:
|
|
2396
|
+
font-weight: var(--bi-font-weight-regular);
|
|
2439
2397
|
}
|
|
2440
2398
|
|
|
2441
2399
|
.bi-label[data-weight="regular"] {
|
|
@@ -2728,6 +2686,7 @@ svg[data-color="white"] {
|
|
|
2728
2686
|
.bi-skip-link {
|
|
2729
2687
|
--bic-skip-link-color: var(--bi-basic-white);
|
|
2730
2688
|
--bic-skip-link-background: var(--bi-primary-50);
|
|
2689
|
+
font: var(--bi-font-body-large);
|
|
2731
2690
|
background: var(--bic-skip-link-background);
|
|
2732
2691
|
color: var(--bic-skip-link-color);
|
|
2733
2692
|
outline-offset: 0px;
|
|
@@ -2736,8 +2695,6 @@ svg[data-color="white"] {
|
|
|
2736
2695
|
align-content: center;
|
|
2737
2696
|
height: 44px;
|
|
2738
2697
|
padding: 0 7px;
|
|
2739
|
-
font-size: 1rem;
|
|
2740
|
-
font-weight: 500;
|
|
2741
2698
|
transition: transform .3s ease-in-out;
|
|
2742
2699
|
position: absolute;
|
|
2743
2700
|
left: 50%;
|
|
@@ -2925,11 +2882,8 @@ svg[data-color="white"] {
|
|
|
2925
2882
|
padding: var(--bic-validation-message-padding);
|
|
2926
2883
|
background: var(--bic-validation-message-background);
|
|
2927
2884
|
border-radius: 0px 0px var(--bi-radius-medium) var(--bi-radius-medium);
|
|
2885
|
+
font: var(--bi-font-label-medium);
|
|
2928
2886
|
margin: 0;
|
|
2929
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2930
|
-
font-size: .875rem;
|
|
2931
|
-
font-weight: 700;
|
|
2932
|
-
line-height: 1.4;
|
|
2933
2887
|
position: relative;
|
|
2934
2888
|
}
|
|
2935
2889
|
|
package/dist/index.css
CHANGED
package/dist/salesforce.css
CHANGED
|
@@ -377,6 +377,9 @@
|
|
|
377
377
|
width: var(--bic-avatar-size);
|
|
378
378
|
height: var(--bic-avatar-size);
|
|
379
379
|
font-size: var(--bic-avatar-font-size);
|
|
380
|
+
font-weight: var(--bi-font-weight-regular);
|
|
381
|
+
line-height: 1;
|
|
382
|
+
font-family: var(--bi-font-family-plain);
|
|
380
383
|
text-transform: uppercase;
|
|
381
384
|
-webkit-user-select: none;
|
|
382
385
|
user-select: none;
|
|
@@ -384,9 +387,6 @@
|
|
|
384
387
|
flex-shrink: 0;
|
|
385
388
|
justify-content: center;
|
|
386
389
|
align-items: center;
|
|
387
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
388
|
-
font-weight: 500;
|
|
389
|
-
line-height: 1;
|
|
390
390
|
text-decoration: none;
|
|
391
391
|
display: flex;
|
|
392
392
|
overflow: hidden;
|
|
@@ -450,16 +450,13 @@
|
|
|
450
450
|
--bic-badge-border-radius: var(--bi-radius-medium);
|
|
451
451
|
--bic-badge-border-width: var(--bi-stroke-thin);
|
|
452
452
|
--bic-badge-height: var(--bi-scale-6x);
|
|
453
|
-
--bic-badge-font
|
|
454
|
-
--bic-badge-line-height: 1.4;
|
|
453
|
+
--bic-badge-font: var(--bi-font-body-medium);
|
|
455
454
|
--bic-badge-padding: 0 var(--bi-scale-1-5x);
|
|
456
455
|
padding: var(--bic-badge-padding);
|
|
457
456
|
border-radius: var(--bic-badge-border-radius);
|
|
458
457
|
background-color: var(--bic-badge-background);
|
|
459
458
|
color: var(--bic-badge-color);
|
|
460
|
-
font
|
|
461
|
-
font-size: var(--bic-badge-font-size);
|
|
462
|
-
line-height: var(--bic-badge-line-height);
|
|
459
|
+
font: var(--bic-badge-font);
|
|
463
460
|
width: max-content;
|
|
464
461
|
height: fit-content;
|
|
465
462
|
min-height: var(--bic-badge-height);
|
|
@@ -467,7 +464,6 @@
|
|
|
467
464
|
word-break: break-word;
|
|
468
465
|
justify-content: center;
|
|
469
466
|
align-items: center;
|
|
470
|
-
font-weight: 500;
|
|
471
467
|
display: inline-flex;
|
|
472
468
|
}
|
|
473
469
|
|
|
@@ -483,16 +479,14 @@
|
|
|
483
479
|
|
|
484
480
|
.bi-badge[data-size="xs"] {
|
|
485
481
|
--bic-badge-padding: 0 var(--bi-scale-0-50x);
|
|
486
|
-
--bic-badge-font
|
|
487
|
-
--bic-badge-line-height: 1.15;
|
|
482
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
488
483
|
--bic-badge-border-radius: var(--bi-radius-small);
|
|
489
484
|
--bic-badge-height: var(--bi-scale-4x);
|
|
490
485
|
}
|
|
491
486
|
|
|
492
487
|
.bi-badge[data-size="small"] {
|
|
493
488
|
--bic-badge-padding: 0 var(--bi-scale-1x);
|
|
494
|
-
--bic-badge-font
|
|
495
|
-
--bic-badge-line-height: 1.15;
|
|
489
|
+
--bic-badge-font: var(--bi-font-body-xs);
|
|
496
490
|
--bic-badge-height: var(--bi-scale-5x);
|
|
497
491
|
}
|
|
498
492
|
|
|
@@ -573,9 +567,10 @@
|
|
|
573
567
|
--bic-button-background: transparent;
|
|
574
568
|
--bic-button-background-hover: transparent;
|
|
575
569
|
--bic-button-background-press: transparent;
|
|
570
|
+
--bic-button-active-color: var(--bi-primary-50);
|
|
576
571
|
--bic-button-focus-shadow-color: var(--bi-basic-white);
|
|
577
572
|
--bic-button-focus-outline-color: var(--bi-primary-50);
|
|
578
|
-
font-family:
|
|
573
|
+
font-family: var(--bi-font-family-plain);
|
|
579
574
|
font-size: var(--bic-button-font-size);
|
|
580
575
|
line-height: var(--bic-button-line-height);
|
|
581
576
|
-webkit-font-smoothing: antialiased;
|
|
@@ -586,6 +581,7 @@
|
|
|
586
581
|
cursor: pointer;
|
|
587
582
|
color: var(--bic-button-color);
|
|
588
583
|
background: var(--bic-button-background);
|
|
584
|
+
font-weight: var(--bi-font-weight-bold);
|
|
589
585
|
box-shadow: var(--bic-button-box-shadow);
|
|
590
586
|
height: fit-content;
|
|
591
587
|
min-height: var(--bic-button-size);
|
|
@@ -597,23 +593,23 @@
|
|
|
597
593
|
text-align: inherit;
|
|
598
594
|
border: none;
|
|
599
595
|
flex-shrink: 0;
|
|
600
|
-
font-weight: 600;
|
|
601
596
|
display: flex;
|
|
602
597
|
position: relative;
|
|
603
598
|
overflow: hidden;
|
|
604
599
|
}
|
|
605
600
|
|
|
606
|
-
.bi-button[data-
|
|
607
|
-
|
|
601
|
+
.bi-button[data-dark="true"] {
|
|
602
|
+
--bic-button-active-color: var(--bi-primary-30);
|
|
603
|
+
--bic-button-focus-shadow-color: var(--bi-neutral-95);
|
|
604
|
+
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
608
605
|
}
|
|
609
606
|
|
|
610
|
-
.bi-button[data-
|
|
611
|
-
|
|
607
|
+
.bi-button[data-fullwidth="true"], .bi-button[data-stretch="true"] {
|
|
608
|
+
width: 100%;
|
|
612
609
|
}
|
|
613
610
|
|
|
614
|
-
.bi-button[data-
|
|
615
|
-
|
|
616
|
-
--bic-button-focus-outline-color: var(--bi-primary-30);
|
|
611
|
+
.bi-button[data-active="true"], .bi-button[aria-expanded="true"] {
|
|
612
|
+
box-shadow: 0px 0px 0px 1.5px var(--bic-button-active-color) inset;
|
|
617
613
|
}
|
|
618
614
|
|
|
619
615
|
.bi-button:focus-visible {
|
|
@@ -892,15 +888,13 @@
|
|
|
892
888
|
|
|
893
889
|
.bi-card .bi-card--content > p {
|
|
894
890
|
color: var(--bic-card-content-color);
|
|
891
|
+
font: var(--bi-font-body-medium);
|
|
895
892
|
white-space: break-spaces;
|
|
896
893
|
text-overflow: ellipsis;
|
|
897
894
|
-webkit-line-clamp: var(--bic-card-content-lines);
|
|
898
895
|
line-clamp: var(--bic-card-content-lines);
|
|
899
896
|
-webkit-box-orient: vertical;
|
|
900
897
|
margin: 0;
|
|
901
|
-
font-size: .875rem;
|
|
902
|
-
font-weight: 500;
|
|
903
|
-
line-height: 1.5;
|
|
904
898
|
display: -webkit-box;
|
|
905
899
|
overflow: hidden;
|
|
906
900
|
}
|
|
@@ -977,31 +971,29 @@
|
|
|
977
971
|
}
|
|
978
972
|
|
|
979
973
|
.bi-card .bi-card--header {
|
|
974
|
+
font: var(--bi-font-body-medium);
|
|
980
975
|
gap: var(--bi-scale-0-50x);
|
|
981
976
|
word-wrap: break-word;
|
|
982
977
|
word-break: break-word;
|
|
983
978
|
flex-direction: column;
|
|
984
979
|
width: 100%;
|
|
985
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
986
|
-
line-height: 1.5;
|
|
987
980
|
display: flex;
|
|
988
981
|
}
|
|
989
982
|
|
|
990
983
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
991
984
|
color: var(--bic-card-header-label-color);
|
|
992
985
|
margin: 0;
|
|
993
|
-
font-size: .875rem;
|
|
994
986
|
}
|
|
995
987
|
|
|
996
988
|
@media (width < 600px) {
|
|
997
989
|
.bi-card .bi-card--header .bi-card--header-label {
|
|
998
|
-
font
|
|
990
|
+
font: var(--bi-font-body-small);
|
|
999
991
|
}
|
|
1000
992
|
}
|
|
1001
993
|
|
|
1002
994
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-bold {
|
|
1003
995
|
color: var(--bic-card-header-bold-color);
|
|
1004
|
-
font-weight:
|
|
996
|
+
font-weight: var(--bi-font-weight-bold);
|
|
1005
997
|
}
|
|
1006
998
|
|
|
1007
999
|
.bi-card .bi-card--header .bi-card--header-label .bi-card--header-dot {
|
|
@@ -1015,22 +1007,20 @@
|
|
|
1015
1007
|
}
|
|
1016
1008
|
|
|
1017
1009
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
1010
|
+
font: var(--bi-font-title-bold-small);
|
|
1018
1011
|
color: var(--bic-card-header-title-color);
|
|
1019
1012
|
text-overflow: ellipsis;
|
|
1020
1013
|
-webkit-line-clamp: 2;
|
|
1021
1014
|
line-clamp: 2;
|
|
1022
1015
|
-webkit-box-orient: vertical;
|
|
1023
1016
|
margin: 0;
|
|
1024
|
-
font-size: 1.125rem;
|
|
1025
|
-
font-weight: 600;
|
|
1026
|
-
line-height: 1.3;
|
|
1027
1017
|
display: -webkit-box;
|
|
1028
1018
|
overflow: hidden;
|
|
1029
1019
|
}
|
|
1030
1020
|
|
|
1031
1021
|
@media (width < 600px) {
|
|
1032
1022
|
.bi-card .bi-card--header .bi-card--header-title {
|
|
1033
|
-
font
|
|
1023
|
+
font: var(--bi-font-title-bold-xs);
|
|
1034
1024
|
}
|
|
1035
1025
|
}
|
|
1036
1026
|
|
|
@@ -1075,14 +1065,11 @@
|
|
|
1075
1065
|
0px 4px 6px 0px #26333f0d;
|
|
1076
1066
|
color: var(--bic-card-header-title-color);
|
|
1077
1067
|
text-align: center;
|
|
1068
|
+
font: var(--bi-font-title-bold-medium);
|
|
1078
1069
|
flex-direction: column;
|
|
1079
1070
|
justify-content: center;
|
|
1080
1071
|
align-items: center;
|
|
1081
1072
|
margin: 0;
|
|
1082
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
1083
|
-
font-size: 1.25rem;
|
|
1084
|
-
font-weight: 700;
|
|
1085
|
-
line-height: 1.3;
|
|
1086
1073
|
display: flex;
|
|
1087
1074
|
}
|
|
1088
1075
|
|
|
@@ -1124,17 +1111,14 @@
|
|
|
1124
1111
|
--bic-chip-text-color: var(--bi-neutral-90);
|
|
1125
1112
|
--bic-chip-padding: var(--bi-scale-1x) var(--bi-scale-2x);
|
|
1126
1113
|
--bic-chip-icon-size: var(--bi-scale-6x);
|
|
1127
|
-
--bic-chip-font
|
|
1128
|
-
--bic-chip-
|
|
1114
|
+
--bic-chip-font: var(--bi-font-body-medium);
|
|
1115
|
+
font: var(--bic-chip-font);
|
|
1129
1116
|
gap: var(--bi-scale-1x);
|
|
1130
1117
|
border-radius: var(--bi-radius-full);
|
|
1131
1118
|
width: fit-content;
|
|
1132
1119
|
color: var(--bic-chip-text-color);
|
|
1133
1120
|
background-color: var(--bic-chip-background);
|
|
1134
1121
|
padding: var(--bic-chip-padding);
|
|
1135
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
1136
|
-
font-size: var(--bic-chip-font-size);
|
|
1137
|
-
line-height: var(--bic-chip-line-height);
|
|
1138
1122
|
justify-content: flex-start;
|
|
1139
1123
|
align-items: center;
|
|
1140
1124
|
display: inline-flex;
|
|
@@ -1143,14 +1127,13 @@
|
|
|
1143
1127
|
|
|
1144
1128
|
.bi-chip[data-size="small"] {
|
|
1145
1129
|
--bic-chip-padding: var(--bi-scale-0-50x) var(--bi-scale-2x);
|
|
1146
|
-
--bic-chip-font
|
|
1147
|
-
--bic-chip-line-height: 1.25rem;
|
|
1130
|
+
--bic-chip-font: var(--bi-font-body-small);
|
|
1148
1131
|
--bic-chip-icon-size: var(--bi-scale-5x);
|
|
1149
1132
|
}
|
|
1150
1133
|
|
|
1151
1134
|
.bi-chip[data-size="large"] {
|
|
1152
1135
|
--bic-chip-padding: var(--bi-scale-2x) var(--bi-scale-4x);
|
|
1153
|
-
--bic-chip-font
|
|
1136
|
+
--bic-chip-font: var(--bi-font-body-large);
|
|
1154
1137
|
}
|
|
1155
1138
|
|
|
1156
1139
|
.bi-chip[data-dark="true"] {
|
|
@@ -1353,6 +1336,7 @@ details.bi-details[data-dark="true"] {
|
|
|
1353
1336
|
}
|
|
1354
1337
|
|
|
1355
1338
|
details.bi-details {
|
|
1339
|
+
font: var(--bi-font-body-large);
|
|
1356
1340
|
background-color: var(--bic-details-background);
|
|
1357
1341
|
color: var(--bic-details-color);
|
|
1358
1342
|
border: 0;
|
|
@@ -1360,10 +1344,6 @@ details.bi-details {
|
|
|
1360
1344
|
border-style: solid;
|
|
1361
1345
|
border-top-width: var(--bi-stroke-thin);
|
|
1362
1346
|
border-bottom-width: var(--bi-stroke-thin);
|
|
1363
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
1364
|
-
font-size: 1rem;
|
|
1365
|
-
font-weight: 500;
|
|
1366
|
-
line-height: 1.5;
|
|
1367
1347
|
}
|
|
1368
1348
|
|
|
1369
1349
|
details.bi-details + :is(details.bi-details) {
|
|
@@ -1378,8 +1358,8 @@ details.bi-details summary {
|
|
|
1378
1358
|
gap: var(--bi-scale-2x);
|
|
1379
1359
|
-webkit-user-select: none;
|
|
1380
1360
|
user-select: none;
|
|
1361
|
+
font-weight: var(--bi-font-weight-bold);
|
|
1381
1362
|
flex-direction: row;
|
|
1382
|
-
font-weight: 700;
|
|
1383
1363
|
list-style: none;
|
|
1384
1364
|
display: flex;
|
|
1385
1365
|
position: relative;
|
|
@@ -1535,11 +1515,9 @@ details.bi-details > *:not(summary) + * {
|
|
|
1535
1515
|
.bi-dialog .bi-dialog--header {
|
|
1536
1516
|
padding: var(--bic-dialog-padding);
|
|
1537
1517
|
min-height: var(--bi-scale-16x);
|
|
1518
|
+
font: var(--bi-font-title-bold-medium);
|
|
1538
1519
|
align-items: center;
|
|
1539
1520
|
margin: 0;
|
|
1540
|
-
font-size: 1.25rem;
|
|
1541
|
-
font-weight: 700;
|
|
1542
|
-
line-height: 1.3;
|
|
1543
1521
|
display: flex;
|
|
1544
1522
|
}
|
|
1545
1523
|
|
|
@@ -1813,10 +1791,6 @@ body:has(.bi-dialog:modal) {
|
|
|
1813
1791
|
margin-left: auto;
|
|
1814
1792
|
}
|
|
1815
1793
|
|
|
1816
|
-
.bi-button[aria-expanded="true"] {
|
|
1817
|
-
box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
|
|
1818
|
-
}
|
|
1819
|
-
|
|
1820
1794
|
:where(.bi-input) {
|
|
1821
1795
|
margin: 0;
|
|
1822
1796
|
}
|
|
@@ -2101,9 +2075,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2101
2075
|
|
|
2102
2076
|
.bi-field .bi-field--description {
|
|
2103
2077
|
color: var(--bic-field-description-color);
|
|
2104
|
-
font
|
|
2105
|
-
font-size: .8125rem;
|
|
2106
|
-
font-weight: 500;
|
|
2078
|
+
font: var(--bi-font-body-small);
|
|
2107
2079
|
line-height: 1.15;
|
|
2108
2080
|
}
|
|
2109
2081
|
|
|
@@ -2313,10 +2285,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2313
2285
|
.bi-fieldset > legend + p {
|
|
2314
2286
|
margin-block: var(--bi-scale-1x) 0;
|
|
2315
2287
|
color: var(--bic-fieldset-description-color);
|
|
2316
|
-
font
|
|
2317
|
-
font-size: 1rem;
|
|
2318
|
-
font-weight: 500;
|
|
2319
|
-
line-height: 1.15;
|
|
2288
|
+
font: var(--bi-font-body-large);
|
|
2320
2289
|
}
|
|
2321
2290
|
|
|
2322
2291
|
.bi-fieldset:disabled > legend, .bi-fieldset:disabled > legend + p {
|
|
@@ -2397,12 +2366,9 @@ body:has(.bi-dialog:modal) {
|
|
|
2397
2366
|
|
|
2398
2367
|
.bi-filter-group > button > h3 {
|
|
2399
2368
|
text-align: left;
|
|
2369
|
+
font: var(--bi-font-title-bold-xs);
|
|
2400
2370
|
flex: 1;
|
|
2401
2371
|
margin: 0;
|
|
2402
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2403
|
-
font-size: 1rem;
|
|
2404
|
-
font-weight: 700;
|
|
2405
|
-
line-height: 1.5;
|
|
2406
2372
|
}
|
|
2407
2373
|
|
|
2408
2374
|
.bi-filter-group > div {
|
|
@@ -2452,6 +2418,7 @@ body:has(.bi-dialog:modal) {
|
|
|
2452
2418
|
width: 100%;
|
|
2453
2419
|
color: var(--bic-footer-color);
|
|
2454
2420
|
background-color: var(--bic-footer-background);
|
|
2421
|
+
font-family: var(--bi-font-family-plain);
|
|
2455
2422
|
padding: var(--bi-scale-16x) 0;
|
|
2456
2423
|
justify-content: center;
|
|
2457
2424
|
align-items: center;
|
|
@@ -2460,7 +2427,6 @@ body:has(.bi-dialog:modal) {
|
|
|
2460
2427
|
align-items: center;
|
|
2461
2428
|
width: 100%;
|
|
2462
2429
|
margin-top: -1px;
|
|
2463
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2464
2430
|
display: flex;
|
|
2465
2431
|
}
|
|
2466
2432
|
|
|
@@ -2478,15 +2444,12 @@ body:has(.bi-dialog:modal) {
|
|
|
2478
2444
|
}
|
|
2479
2445
|
|
|
2480
2446
|
.bi-footer .bi-footer--links-container .bi-footer--links {
|
|
2447
|
+
min-height: 44px;
|
|
2448
|
+
font: var(--bi-font-label-large);
|
|
2481
2449
|
flex-direction: row;
|
|
2482
2450
|
justify-content: center;
|
|
2483
2451
|
align-items: center;
|
|
2484
|
-
min-height: 44px;
|
|
2485
2452
|
margin: auto;
|
|
2486
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
2487
|
-
font-size: 1rem;
|
|
2488
|
-
font-weight: 700;
|
|
2489
|
-
line-height: 1.5;
|
|
2490
2453
|
display: flex;
|
|
2491
2454
|
}
|
|
2492
2455
|
|
|
@@ -2589,11 +2552,9 @@ body:has(.bi-dialog:modal) {
|
|
|
2589
2552
|
|
|
2590
2553
|
.bi-footer .bi-footer--copyright {
|
|
2591
2554
|
text-align: center;
|
|
2555
|
+
font: var(--bi-font-body-large);
|
|
2556
|
+
font-weight: var(--bi-font-weight-regular);
|
|
2592
2557
|
margin: 0;
|
|
2593
|
-
font-family: museo-slab, serif;
|
|
2594
|
-
font-size: 1rem;
|
|
2595
|
-
font-weight: 500;
|
|
2596
|
-
line-height: 1.5;
|
|
2597
2558
|
}
|
|
2598
2559
|
|
|
2599
2560
|
svg {
|
|
@@ -2654,14 +2615,11 @@ svg[data-color="white"] {
|
|
|
2654
2615
|
|
|
2655
2616
|
.bi-label {
|
|
2656
2617
|
color: var(--bic-label-color);
|
|
2657
|
-
font
|
|
2658
|
-
font-size: .875rem;
|
|
2659
|
-
font-weight: 700;
|
|
2660
|
-
line-height: 1.4;
|
|
2618
|
+
font: var(--bi-font-label-medium);
|
|
2661
2619
|
}
|
|
2662
2620
|
|
|
2663
2621
|
.bi-label[data-weight="medium"] {
|
|
2664
|
-
font-weight:
|
|
2622
|
+
font-weight: var(--bi-font-weight-regular);
|
|
2665
2623
|
}
|
|
2666
2624
|
|
|
2667
2625
|
.bi-label[data-weight="regular"] {
|
|
@@ -2954,6 +2912,7 @@ svg[data-color="white"] {
|
|
|
2954
2912
|
.bi-skip-link {
|
|
2955
2913
|
--bic-skip-link-color: var(--bi-basic-white);
|
|
2956
2914
|
--bic-skip-link-background: var(--bi-primary-50);
|
|
2915
|
+
font: var(--bi-font-body-large);
|
|
2957
2916
|
background: var(--bic-skip-link-background);
|
|
2958
2917
|
color: var(--bic-skip-link-color);
|
|
2959
2918
|
outline-offset: 0px;
|
|
@@ -2962,8 +2921,6 @@ svg[data-color="white"] {
|
|
|
2962
2921
|
align-content: center;
|
|
2963
2922
|
height: 44px;
|
|
2964
2923
|
padding: 0 7px;
|
|
2965
|
-
font-size: 1rem;
|
|
2966
|
-
font-weight: 500;
|
|
2967
2924
|
transition: transform .3s ease-in-out;
|
|
2968
2925
|
position: absolute;
|
|
2969
2926
|
left: 50%;
|
|
@@ -3151,11 +3108,8 @@ svg[data-color="white"] {
|
|
|
3151
3108
|
padding: var(--bic-validation-message-padding);
|
|
3152
3109
|
background: var(--bic-validation-message-background);
|
|
3153
3110
|
border-radius: 0px 0px var(--bi-radius-medium) var(--bi-radius-medium);
|
|
3111
|
+
font: var(--bi-font-label-medium);
|
|
3154
3112
|
margin: 0;
|
|
3155
|
-
font-family: museo-sans, Arial, sans-serif;
|
|
3156
|
-
font-size: .875rem;
|
|
3157
|
-
font-weight: 700;
|
|
3158
|
-
line-height: 1.4;
|
|
3159
3113
|
position: relative;
|
|
3160
3114
|
}
|
|
3161
3115
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bi-digital/css",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"engines": {
|
|
6
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
7
|
-
},
|
|
4
|
+
"version": "0.9.0",
|
|
8
5
|
"description": "CSS for the BI Design System",
|
|
9
6
|
"author": "BI Digital",
|
|
10
7
|
"homepage": "https://designsystem.bi.no/",
|
|
@@ -31,11 +28,11 @@
|
|
|
31
28
|
],
|
|
32
29
|
"devDependencies": {
|
|
33
30
|
"browserslist": "^4.28.1",
|
|
34
|
-
"glob": "^13.0.
|
|
31
|
+
"glob": "^13.0.5",
|
|
35
32
|
"lightningcss": "^1.31.1",
|
|
36
33
|
"modern-normalize": "^3.0.1",
|
|
37
34
|
"rimraf": "^6.1.2",
|
|
38
|
-
"@bi-digital/tokens": "0.
|
|
35
|
+
"@bi-digital/tokens": "0.9.0"
|
|
39
36
|
},
|
|
40
37
|
"scripts": {
|
|
41
38
|
"build": "rimraf dist && node config.js",
|