@department-of-veterans-affairs/css-library 0.12.2 → 0.13.1-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.
@@ -44,21 +44,21 @@ input:not([disabled]):focus,
44
44
  select:not([disabled]):focus,
45
45
  textarea:not([disabled]):focus,
46
46
  button:not([disabled]):focus {
47
- outline: 2px dotted #aeb0b5;
48
- outline-offset: 3px;
47
+ outline: 2px solid #face00;
48
+ outline-offset: 2px;
49
49
  }
50
50
 
51
51
  iframe:focus,
52
52
  [href]:focus,
53
53
  [tabindex]:focus,
54
54
  [contentEditable=true]:focus {
55
- outline: 2px dotted #aeb0b5;
56
- outline-offset: 3px;
55
+ outline: 2px solid #face00;
56
+ outline-offset: 2px;
57
57
  }
58
58
 
59
59
  .usa-focus {
60
- outline: 2px dotted #aeb0b5;
61
- outline-offset: 3px;
60
+ outline: 2px solid #face00;
61
+ outline-offset: 2px;
62
62
  }
63
63
 
64
64
  /*# sourceMappingURL=base.css.map */
@@ -47,7 +47,7 @@ button,
47
47
  color: #ffffff;
48
48
  cursor: pointer;
49
49
  display: inline-block;
50
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
50
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
51
51
  font-size: 16px;
52
52
  font-weight: 700;
53
53
  line-height: 1;
@@ -160,7 +160,7 @@ legend {
160
160
 
161
161
  .usa-form-hint {
162
162
  color: #757575;
163
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
163
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
164
164
  margin-bottom: 0;
165
165
  }
166
166
 
@@ -233,8 +233,8 @@ legend {
233
233
  }
234
234
 
235
235
  [type=radio]:focus + label::before {
236
- outline: 2px dotted #aeb0b5;
237
- outline-offset: 6px;
236
+ outline: 2px solid #face00;
237
+ outline-offset: 4px;
238
238
  }
239
239
 
240
240
  [type=checkbox]:disabled + label {
@@ -242,8 +242,8 @@ legend {
242
242
  }
243
243
 
244
244
  [type=checkbox]:focus + label::before {
245
- outline: 2px dotted #aeb0b5;
246
- outline-offset: 3px;
245
+ outline: 2px solid #face00;
246
+ outline-offset: 2px;
247
247
  }
248
248
 
249
249
  [type=checkbox]:disabled + label::before,
@@ -30,7 +30,7 @@
30
30
  }
31
31
 
32
32
  html {
33
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
33
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
34
34
  font-size: 16px;
35
35
  }
36
36
 
@@ -52,8 +52,8 @@ a:hover, a:active {
52
52
  color: #1a4480;
53
53
  }
54
54
  a:focus {
55
- outline: 2px dotted #aeb0b5;
56
- outline-offset: 3px;
55
+ outline: 2px solid #face00;
56
+ outline-offset: 2px;
57
57
  }
58
58
  a:visited {
59
59
  color: #54278f;
@@ -190,7 +190,7 @@ dfn {
190
190
  .usa-sans a,
191
191
  .usa-sans li,
192
192
  .usa-sans span {
193
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
193
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
194
194
  }
195
195
  .usa-sans a {
196
196
  border-bottom: none;
@@ -1398,29 +1398,36 @@ a.vads-c-action-link--blue, a.vads-c-action-link--green, a.vads-c-action-link--w
1398
1398
  display: inline-block;
1399
1399
  }
1400
1400
  a.vads-c-action-link--blue:before, a.vads-c-action-link--green:before, a.vads-c-action-link--white:before {
1401
- font-family: "Font Awesome 5 Free";
1402
- font-weight: 900;
1403
- font-size: 175%;
1404
- content: "\f138";
1405
- content: "\f138"/"";
1401
+ background-image: url("/img/arrow-right-white.svg");
1402
+ background-size: 18px 18px;
1403
+ background-repeat: no-repeat;
1404
+ background-position: center;
1405
+ border-radius: 50%;
1406
+ content: "";
1407
+ height: 30px;
1408
+ width: 30px;
1406
1409
  position: absolute;
1407
- left: 0px;
1408
- top: -4px;
1410
+ top: 2px;
1411
+ left: 0;
1412
+ font-family: unset;
1413
+ font-weight: unset;
1414
+ font-size: unset;
1409
1415
  }
1410
1416
 
1411
1417
  a.vads-c-action-link--blue:before {
1412
- color: #005ea2;
1418
+ background-color: #005ea2;
1413
1419
  }
1414
1420
 
1415
1421
  a.vads-c-action-link--green:before {
1416
- color: #008817;
1422
+ background-color: #008817;
1417
1423
  }
1418
1424
 
1419
1425
  a.vads-c-action-link--white {
1420
1426
  color: #ffffff;
1421
1427
  }
1422
1428
  a.vads-c-action-link--white:before {
1423
- color: #ffffff;
1429
+ background-image: url("/img/arrow-right.svg");
1430
+ background-color: #ffffff;
1424
1431
  -webkit-transition-duration: 0.3s;
1425
1432
  transition-duration: 0.3s;
1426
1433
  -webkit-transition-timing-function: ease-in-out;
@@ -1434,7 +1441,7 @@ a.vads-c-action-link--white:hover {
1434
1441
  background-color: transparent;
1435
1442
  }
1436
1443
  a.vads-c-action-link--white:hover:before {
1437
- color: #face00;
1444
+ background-color: #face00;
1438
1445
  }
1439
1446
 
1440
1447
  /*# sourceMappingURL=m-action-link.css.map */
@@ -22,14 +22,23 @@
22
22
  width: 100%;
23
23
  }
24
24
  .usa-alert::before {
25
- display: block;
26
- width: auto;
27
- background: none;
28
- font-family: "Font Awesome 5 Free";
29
- font-size: 1.25rem;
30
- margin-right: units(2);
25
+ background-image: url("/img/info.svg");
26
+ background-size: 35px 35px;
27
+ background-repeat: no-repeat;
28
+ background-position: center;
29
+ background-color: unset;
30
+ border-radius: 50%;
31
+ content: "";
32
+ height: 31px;
33
+ width: 31px;
34
+ top: 2px;
35
+ left: 0;
36
+ font-family: unset;
37
+ font-weight: unset;
38
+ font-size: unset;
39
+ margin-right: 1rem;
31
40
  position: static;
32
- font-weight: 900;
41
+ display: block;
33
42
  }
34
43
  .usa-alert .usa-alert-body {
35
44
  display: table-cell;
@@ -66,7 +75,7 @@
66
75
  border-left-color: #00a6d2;
67
76
  }
68
77
  .usa-alert-info::before {
69
- content: "\f05a";
78
+ background-image: url("/img/info.svg");
70
79
  }
71
80
  .usa-alert-info.background-color-only {
72
81
  background-color: #e1f3f8;
@@ -75,8 +84,7 @@
75
84
  border-left-color: #cd2026;
76
85
  }
77
86
  .usa-alert-error::before {
78
- color: #cd2026;
79
- content: "\f06a";
87
+ background-image: url("/img/error.svg");
80
88
  }
81
89
  .usa-alert-error.background-color-only {
82
90
  background-color: #f9dede;
@@ -85,8 +93,7 @@
85
93
  border-left-color: #008817;
86
94
  }
87
95
  .usa-alert-success::before {
88
- color: #008817;
89
- content: "\f00c";
96
+ background-image: url("/img/success.svg");
90
97
  }
91
98
  .usa-alert-success.background-color-only {
92
99
  background-color: #e7f4e4;
@@ -95,7 +102,7 @@
95
102
  border-left-color: #fdb81e;
96
103
  }
97
104
  .usa-alert-warning::before {
98
- content: "\f071";
105
+ background-image: url("/img/warning.svg");
99
106
  }
100
107
  .usa-alert-warning.background-color-only {
101
108
  background-color: #fff1d2;
@@ -103,10 +110,6 @@
103
110
  .usa-alert-continue {
104
111
  border-left-color: #008817;
105
112
  }
106
- .usa-alert-continue::before {
107
- color: #008817;
108
- content: "\f023";
109
- }
110
113
  .usa-alert.background-color-only {
111
114
  border-left: none;
112
115
  padding: 1.25rem;
@@ -243,12 +246,7 @@ p.usa-alert-heading {
243
246
  border-top: 0.625rem solid #00a6d2;
244
247
  }
245
248
  .usa-alert-full-width-info .usa-alert:before, .usa-alert-full-width-information .usa-alert:before {
246
- content: "\f05a";
247
249
  background: none;
248
- font-size: 1.25rem;
249
- margin-right: 0.9375rem;
250
- position: static;
251
- font-weight: 900;
252
250
  }
253
251
 
254
252
  /*# sourceMappingURL=m-alert.css.map */
@@ -14,7 +14,7 @@
14
14
  margin-right: -22.5px;
15
15
  }
16
16
  .vads-c-emergency-banner .usa-alert .usa-alert-heading {
17
- font-family: "Source Sans Pro";
17
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
18
18
  font-size: 1rem;
19
19
  margin-top: 4px;
20
20
  margin-left: 30.5px;
@@ -207,7 +207,7 @@
207
207
  }
208
208
 
209
209
  .schemaform-array-row-title:focus {
210
- outline: 2px dotted #aeb0b5;
210
+ outline: 2px solid #face00;
211
211
  outline-offset: 2px;
212
212
  display: inline-block;
213
213
  }
@@ -14,7 +14,7 @@
14
14
  margin-right: -22.5px;
15
15
  }
16
16
  .vads-c-maintenance-banner .usa-alert .usa-alert-heading {
17
- font-family: "Source Sans Pro";
17
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
18
18
  font-size: 1rem;
19
19
  margin-top: 4px;
20
20
  margin-left: 30.5px;
@@ -108,7 +108,7 @@
108
108
  .mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
109
109
  display: block;
110
110
  color: #000000;
111
- font-family: Source Sans Pro, sans serif;
111
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
112
112
  font-size: 16px;
113
113
  font-weight: bold;
114
114
  margin-top: 4px;
@@ -263,7 +263,7 @@
263
263
  }
264
264
  #mega-menu .vetnav-panel--submenu:not([hidden]) h3,
265
265
  .mega-menu .vetnav-panel--submenu:not([hidden]) h3 {
266
- font-family: Source Sans Pro, sans serif;
266
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
267
267
  font-size: 16px;
268
268
  }
269
269
  }
@@ -233,7 +233,7 @@
233
233
  font-size: 15px;
234
234
  }
235
235
  .va-sidebarnav .usa-sidenav-sub_list a:focus {
236
- outline: 2px dotted #aeb0b5;
236
+ outline: 2px solid #face00;
237
237
  outline-offset: 0px;
238
238
  }
239
239
  .va-sidebarnav .usa-sidenav-sub_list a:hover, .va-sidebarnav .usa-sidenav-sub_list a:focus {
@@ -18,7 +18,7 @@
18
18
  **/
19
19
  @media screen and (min-width: 768px), print and (min-width: 768px) {
20
20
  [type=submit] {
21
- margin-top: calc(3rem - 0.2em);
21
+ margin-top: calc(1.875rem - 0.2em);
22
22
  }
23
23
  }
24
24
 
@@ -48,7 +48,7 @@ fieldset {
48
48
 
49
49
  .usa-form-note {
50
50
  float: right;
51
- font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
51
+ font-family: "Source Sans Pro Web", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
52
52
  font-size: 0.9375rem;
53
53
  margin: 0 0 scale(1.5rem);
54
54
  }
@@ -152,6 +152,7 @@ fieldset {
152
152
  **/
153
153
  body .row {
154
154
  max-width: 62.5em;
155
+ margin: 0 auto;
155
156
  }
156
157
  body .row-padded {
157
158
  max-width: 62.5rem;
@@ -5305,7 +5305,7 @@ through all possible variants
5305
5305
  }
5306
5306
 
5307
5307
  .vads-u-font-family--sans {
5308
- font-family: Source Sans Pro, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
5308
+ font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
5309
5309
  }
5310
5310
 
5311
5311
  .vads-u-font-family--serif {
@@ -14342,7 +14342,7 @@ through all possible variants
14342
14342
  order: 0 !important;
14343
14343
  }
14344
14344
  .medium-screen\:vads-u-font-family--sans {
14345
- font-family: Source Sans Pro, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
14345
+ font-family: Source Sans Pro Web, Helvetica Neue, Helvetica, Roboto, Arial, sans-serif !important;
14346
14346
  }
14347
14347
  .medium-screen\:vads-u-font-family--serif {
14348
14348
  font-family: Bitter, Georgia, Cambria, Times New Roman, Times, serif !important;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 07 Oct 2024 15:37:16 GMT
3
+ * Generated on Fri, 01 Nov 2024 16:45:08 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -111,10 +111,10 @@
111
111
  --vads-color-background-default-on-dark: #171716;
112
112
  --vads-color-forms-surface-active-on-light: #ecf1f7;
113
113
  --vads-color-forms-surface-active-on-dark: #252f3e;
114
- --font-family-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
114
+ --font-family-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
115
115
  --font-family-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
116
116
  --font-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
117
- --font-source-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
117
+ --font-source-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
118
118
  --font-weight-normal: 400;
119
119
  --font-weight-bold: 700;
120
120
  --font-style-normal: normal;
@@ -1993,11 +1993,11 @@
1993
1993
  "font": {
1994
1994
  "family": {
1995
1995
  "sans": {
1996
- "value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
1996
+ "value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
1997
1997
  "filePath": "tokens/fonts.json",
1998
1998
  "isSource": true,
1999
1999
  "original": {
2000
- "value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
2000
+ "value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
2001
2001
  },
2002
2002
  "name": "font-family-sans",
2003
2003
  "attributes": {
@@ -2050,11 +2050,11 @@
2050
2050
  },
2051
2051
  "source": {
2052
2052
  "sans": {
2053
- "value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
2053
+ "value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif",
2054
2054
  "filePath": "tokens/fonts.json",
2055
2055
  "isSource": true,
2056
2056
  "original": {
2057
- "value": "'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
2057
+ "value": "'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif"
2058
2058
  },
2059
2059
  "name": "font-source-sans",
2060
2060
  "attributes": {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 07 Oct 2024 15:37:16 GMT
3
+ // Generated on Fri, 01 Nov 2024 16:45:08 GMT
4
4
 
5
5
  $xsmall-screen: 320px;
6
6
  $small-screen: 481px;
@@ -109,10 +109,10 @@ $vads-color-feedback-border-warning-on-dark: #face00;
109
109
  $vads-color-background-default-on-dark: #171716;
110
110
  $vads-color-forms-surface-active-on-light: #ecf1f7;
111
111
  $vads-color-forms-surface-active-on-dark: #252f3e;
112
- $font-family-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
112
+ $font-family-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
113
113
  $font-family-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
114
114
  $font-serif: Bitter, Georgia, Cambria, 'Times New Roman', Times, serif;
115
- $font-source-sans: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
115
+ $font-source-sans: 'Source Sans Pro Web', 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
116
116
  $font-weight-normal: 400;
117
117
  $font-weight-bold: 700;
118
118
  $font-style-normal: normal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/css-library",
3
- "version": "0.12.2",
3
+ "version": "0.13.1-rc1",
4
4
  "description": "Department of Veterans Affairs stylesheets, tokens, and utilities",
5
5
  "packageManager": "yarn@3.2.0",
6
6
  "files": [
@@ -29,4 +29,4 @@
29
29
  "@uswds/uswds": "^3.8.1",
30
30
  "rimraf": "^5.0.5"
31
31
  }
32
- }
32
+ }