@bi-digital/css 0.7.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 +2 -5
- 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/spinner.css +1 -0
- package/dist/components/validation-message.css +1 -4
- package/dist/components.css +442 -486
- package/dist/index.css +1 -1
- package/dist/salesforce.css +442 -486
- package/package.json +3 -6
- package/readme.md +7 -9
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
|
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--bic-dropdown-border-color: var(--bi-neutral-15);
|
|
9
9
|
--bic-dropdown-box-shadow: 0px 8px 16px -4px #26333f14, 4px 4px 6px -2px #26333f08,
|
|
10
10
|
0px 2px 2px -1px #26333f0a;
|
|
11
|
+
--bic-dropdown-min-width: var(--bi-scale-64x);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
.bi-dropdown[data-dark="true"] {
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
border-color: var(--bic-dropdown-border-color);
|
|
27
28
|
box-shadow: var(--bic-dropdown-box-shadow);
|
|
28
29
|
box-sizing: border-box;
|
|
29
|
-
min-width: var(--
|
|
30
|
+
min-width: max(var(--bic-dropdown-min-width), var(--bic-popover-trigger-width, 0px));
|
|
30
31
|
padding: var(--bic-dropdown-padding);
|
|
31
32
|
list-style: none;
|
|
32
33
|
}
|
|
@@ -50,7 +51,3 @@
|
|
|
50
51
|
.bi-dropdown :is(a, button, [role="button"]) .bi-button--end-icon {
|
|
51
52
|
margin-left: auto;
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
-
.bi-button[aria-expanded="true"] {
|
|
55
|
-
box-shadow: 0px 0px 0px 1.5px var(--bi-primary-50) inset;
|
|
56
|
-
}
|
|
@@ -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
|
|