@department-of-veterans-affairs/css-library 0.19.0 → 0.20.0-rc1
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/fonts/merriweather-bold-webfont.eot +0 -0
- package/dist/fonts/merriweather-bold-webfont.ttf +0 -0
- package/dist/fonts/merriweather-bold-webfont.woff +0 -0
- package/dist/fonts/merriweather-bold-webfont.woff2 +0 -0
- package/dist/fonts/merriweather-italic-webfont.eot +0 -0
- package/dist/fonts/merriweather-italic-webfont.ttf +0 -0
- package/dist/fonts/merriweather-italic-webfont.woff +0 -0
- package/dist/fonts/merriweather-italic-webfont.woff2 +0 -0
- package/dist/fonts/merriweather-light-webfont.eot +0 -0
- package/dist/fonts/merriweather-light-webfont.ttf +0 -0
- package/dist/fonts/merriweather-light-webfont.woff +0 -0
- package/dist/fonts/merriweather-light-webfont.woff2 +0 -0
- package/dist/fonts/merriweather-regular-webfont.eot +0 -0
- package/dist/fonts/merriweather-regular-webfont.ttf +0 -0
- package/dist/fonts/merriweather-regular-webfont.woff +0 -0
- package/dist/fonts/merriweather-regular-webfont.woff2 +0 -0
- package/dist/fonts/sourcesanspro-bold-webfont.eot +0 -0
- package/dist/fonts/sourcesanspro-bold-webfont.ttf +0 -0
- package/dist/fonts/sourcesanspro-bold-webfont.woff +0 -0
- package/dist/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
- package/dist/fonts/sourcesanspro-italic-webfont.eot +0 -0
- package/dist/fonts/sourcesanspro-italic-webfont.ttf +0 -0
- package/dist/fonts/sourcesanspro-italic-webfont.woff +0 -0
- package/dist/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
- package/dist/fonts/sourcesanspro-light-webfont.eot +0 -0
- package/dist/fonts/sourcesanspro-light-webfont.ttf +0 -0
- package/dist/fonts/sourcesanspro-light-webfont.woff +0 -0
- package/dist/fonts/sourcesanspro-light-webfont.woff2 +0 -0
- package/dist/fonts/sourcesanspro-regular-webfont.eot +0 -0
- package/dist/fonts/sourcesanspro-regular-webfont.ttf +0 -0
- package/dist/fonts/sourcesanspro-regular-webfont.woff +0 -0
- package/dist/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
- package/dist/img/angle-arrow-down-primary-hover.png +0 -0
- package/dist/img/angle-arrow-down-primary-hover.svg +1 -0
- package/dist/img/angle-arrow-down-primary.png +0 -0
- package/dist/img/angle-arrow-down-primary.svg +1 -0
- package/dist/img/angle-arrow-up-primary-hover.png +0 -0
- package/dist/img/angle-arrow-up-primary-hover.svg +1 -0
- package/dist/img/angle-arrow-up-primary.png +0 -0
- package/dist/img/angle-arrow-up-primary.svg +1 -0
- package/dist/img/close.png +0 -0
- package/dist/img/correct8.png +0 -0
- package/dist/img/correct8.svg +0 -0
- package/dist/img/correct9.png +0 -0
- package/dist/img/correct9.svg +1 -0
- package/dist/img/error.png +0 -0
- package/dist/img/error.svg +0 -0
- package/dist/img/info.png +0 -0
- package/dist/img/info.svg +0 -0
- package/dist/img/success.png +0 -0
- package/dist/img/success.svg +0 -0
- package/dist/img/warning.png +0 -0
- package/dist/img/warning.svg +0 -0
- package/dist/stylesheets/base/va.css +1 -1
- package/dist/stylesheets/core.css +56 -52
- package/dist/stylesheets/elements/labels.css +1592 -0
- package/dist/stylesheets/formation-overrides/core/fonts.css +12 -8
- package/dist/stylesheets/formation-overrides/elements/inputs.css +6 -6
- package/dist/stylesheets/formation-overrides/elements/typography.css +8 -8
- package/dist/stylesheets/modules/m-alert.css +5 -5
- package/dist/stylesheets/modules/m-external-link.css +1 -1
- package/dist/stylesheets/modules/m-eyebrow.css +10 -0
- package/dist/stylesheets/shame.css +2 -2
- package/dist/tokens/css/variables.css +1 -1
- package/dist/tokens/scss/variables.scss +1 -1
- package/package.json +2 -2
|
@@ -21,25 +21,29 @@
|
|
|
21
21
|
font-family: "Merriweather";
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-weight: 300;
|
|
24
|
-
|
|
24
|
+
font-display: fallback;
|
|
25
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Light.woff2) format("woff2");
|
|
25
26
|
}
|
|
26
27
|
@font-face {
|
|
27
28
|
font-family: "Merriweather";
|
|
28
29
|
font-style: normal;
|
|
29
30
|
font-weight: 400;
|
|
30
|
-
|
|
31
|
+
font-display: fallback;
|
|
32
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Regular.woff2) format("woff2");
|
|
31
33
|
}
|
|
32
34
|
@font-face {
|
|
33
35
|
font-family: "Merriweather";
|
|
34
|
-
font-style:
|
|
35
|
-
font-weight:
|
|
36
|
-
|
|
36
|
+
font-style: normal;
|
|
37
|
+
font-weight: 700;
|
|
38
|
+
font-display: fallback;
|
|
39
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Bold.woff2) format("woff2");
|
|
37
40
|
}
|
|
38
41
|
@font-face {
|
|
39
42
|
font-family: "Merriweather";
|
|
40
|
-
font-style:
|
|
41
|
-
font-weight:
|
|
42
|
-
|
|
43
|
+
font-style: italic;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
font-display: fallback;
|
|
46
|
+
src: url(~@uswds/uswds/fonts/merriweather/Latin-Merriweather-Italic.woff2) format("woff2");
|
|
43
47
|
}
|
|
44
48
|
/* stylelint-enable */
|
|
45
49
|
|
|
@@ -127,8 +127,8 @@ textarea {
|
|
|
127
127
|
select {
|
|
128
128
|
appearance: none;
|
|
129
129
|
background-color: #ffffff;
|
|
130
|
-
background-image: url(
|
|
131
|
-
background-image: none, url(
|
|
130
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/arrow-both.png);
|
|
131
|
+
background-image: none, url(~@department-of-veterans-affairs/css-library/dist/img/arrow-both.svg), url(~@department-of-veterans-affairs/css-library/dist/img/arrow-both.png);
|
|
132
132
|
background-position: right 0.8125rem center;
|
|
133
133
|
background-repeat: no-repeat;
|
|
134
134
|
background-size: 0.625rem;
|
|
@@ -226,8 +226,8 @@ legend {
|
|
|
226
226
|
|
|
227
227
|
[type=checkbox]:checked + label::before,
|
|
228
228
|
[type=checkbox]:checked:disabled + label::before {
|
|
229
|
-
background-image: url(
|
|
230
|
-
background-image: url(
|
|
229
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/correct8.png);
|
|
230
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/correct8.svg);
|
|
231
231
|
background-position: 50%;
|
|
232
232
|
background-repeat: no-repeat;
|
|
233
233
|
}
|
|
@@ -258,8 +258,8 @@ legend {
|
|
|
258
258
|
[type=checkbox]:checked:disabled + label::before {
|
|
259
259
|
background-image: none;
|
|
260
260
|
background-color: #ffffff;
|
|
261
|
-
content: url(
|
|
262
|
-
content: url(
|
|
261
|
+
content: url(~@department-of-veterans-affairs/css-library/dist/img/correct8-alt.png);
|
|
262
|
+
content: url(~@department-of-veterans-affairs/css-library/dist/img/correct8-alt.svg);
|
|
263
263
|
text-indent: 0;
|
|
264
264
|
}
|
|
265
265
|
[type=radio]:checked:disabled + label::before,
|
|
@@ -60,8 +60,8 @@ a:visited {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.usa-external_link::after {
|
|
63
|
-
background: url(
|
|
64
|
-
background: url(
|
|
63
|
+
background: url(~@department-of-veterans-affairs/css-library/dist/img/external-link.png) no-repeat 0 0;
|
|
64
|
+
background: url(~@department-of-veterans-affairs/css-library/dist/img/external-link.svg) no-repeat 0 0;
|
|
65
65
|
background-size: 100%;
|
|
66
66
|
content: "";
|
|
67
67
|
display: inline-block;
|
|
@@ -71,13 +71,13 @@ a:visited {
|
|
|
71
71
|
width: 0.65em;
|
|
72
72
|
}
|
|
73
73
|
.usa-external_link:hover::after {
|
|
74
|
-
background-image: url(
|
|
75
|
-
background-image: url(
|
|
74
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/external-link-hover.png);
|
|
75
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/external-link-hover.svg);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.usa-external_link-alt::after {
|
|
79
|
-
background: url(
|
|
80
|
-
background: url(
|
|
79
|
+
background: url(~@department-of-veterans-affairs/css-library/dist/img/external-link.png) no-repeat 0 0;
|
|
80
|
+
background: url(~@department-of-veterans-affairs/css-library/dist/img/external-link.svg) no-repeat 0 0;
|
|
81
81
|
background-size: 100%;
|
|
82
82
|
content: "";
|
|
83
83
|
display: inline-block;
|
|
@@ -87,8 +87,8 @@ a:visited {
|
|
|
87
87
|
width: 0.65em;
|
|
88
88
|
}
|
|
89
89
|
.usa-external_link-alt:hover::after {
|
|
90
|
-
background-image: url(
|
|
91
|
-
background-image: url(
|
|
90
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/external-link-hover.png);
|
|
91
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/external-link-hover.svg);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
h1,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
width: 100%;
|
|
27
27
|
}
|
|
28
28
|
.usa-alert::before {
|
|
29
|
-
background-image: url(
|
|
29
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/info.svg);
|
|
30
30
|
background-size: 35px 35px;
|
|
31
31
|
background-repeat: no-repeat;
|
|
32
32
|
background-position: center;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
border-left-color: #00a6d2;
|
|
80
80
|
}
|
|
81
81
|
.usa-alert-info::before {
|
|
82
|
-
background-image: url(
|
|
82
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/info.svg);
|
|
83
83
|
}
|
|
84
84
|
.usa-alert-info.background-color-only {
|
|
85
85
|
background-color: #e1f3f8;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
border-left-color: #cd2026;
|
|
89
89
|
}
|
|
90
90
|
.usa-alert-error::before {
|
|
91
|
-
background-image: url(
|
|
91
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/error.svg);
|
|
92
92
|
}
|
|
93
93
|
.usa-alert-error.background-color-only {
|
|
94
94
|
background-color: #f9dede;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
border-left-color: #008817;
|
|
98
98
|
}
|
|
99
99
|
.usa-alert-success::before {
|
|
100
|
-
background-image: url(
|
|
100
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/success.svg);
|
|
101
101
|
}
|
|
102
102
|
.usa-alert-success.background-color-only {
|
|
103
103
|
background-color: #e7f4e4;
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
border-left-color: #fdb81e;
|
|
107
107
|
}
|
|
108
108
|
.usa-alert-warning::before {
|
|
109
|
-
background-image: url(
|
|
109
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/warning.svg);
|
|
110
110
|
}
|
|
111
111
|
.usa-alert-warning.background-color-only {
|
|
112
112
|
background-color: #fff1d2;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
working while we work on deprecation.
|
|
4
4
|
**/
|
|
5
5
|
.external-link-icon-black {
|
|
6
|
-
background-image: url(
|
|
6
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/exit-icon.png);
|
|
7
7
|
background-position: 100% 50%;
|
|
8
8
|
background-repeat: no-repeat;
|
|
9
9
|
background-size: 1em auto;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
.vads-c-eyebrow {
|
|
2
|
+
font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
|
|
3
|
+
font-size: 1rem;
|
|
4
|
+
font-style: normal;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
color: #3d4551;
|
|
7
|
+
text-transform: uppercase;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/*# sourceMappingURL=m-eyebrow.css.map */
|
|
@@ -139,8 +139,8 @@ fieldset {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.usa-checklist-checked::before {
|
|
142
|
-
background-image: url(
|
|
143
|
-
background-image: url(
|
|
142
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/correct9.png);
|
|
143
|
+
background-image: url(~@department-of-veterans-affairs/css-library/dist/img/correct9.svg);
|
|
144
144
|
background-position: 100%;
|
|
145
145
|
background-repeat: no-repeat;
|
|
146
146
|
background-size: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@department-of-veterans-affairs/css-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0-rc1",
|
|
4
4
|
"description": "Department of Veterans Affairs stylesheets, tokens, and utilities",
|
|
5
5
|
"packageManager": "yarn@3.2.0",
|
|
6
6
|
"files": [
|
|
@@ -30,4 +30,4 @@
|
|
|
30
30
|
"@uswds/uswds": "^3.9.0",
|
|
31
31
|
"rimraf": "^5.0.5"
|
|
32
32
|
}
|
|
33
|
-
}
|
|
33
|
+
}
|