@department-of-veterans-affairs/css-library 0.18.1 → 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.
Files changed (67) hide show
  1. package/dist/fonts/merriweather-bold-webfont.eot +0 -0
  2. package/dist/fonts/merriweather-bold-webfont.ttf +0 -0
  3. package/dist/fonts/merriweather-bold-webfont.woff +0 -0
  4. package/dist/fonts/merriweather-bold-webfont.woff2 +0 -0
  5. package/dist/fonts/merriweather-italic-webfont.eot +0 -0
  6. package/dist/fonts/merriweather-italic-webfont.ttf +0 -0
  7. package/dist/fonts/merriweather-italic-webfont.woff +0 -0
  8. package/dist/fonts/merriweather-italic-webfont.woff2 +0 -0
  9. package/dist/fonts/merriweather-light-webfont.eot +0 -0
  10. package/dist/fonts/merriweather-light-webfont.ttf +0 -0
  11. package/dist/fonts/merriweather-light-webfont.woff +0 -0
  12. package/dist/fonts/merriweather-light-webfont.woff2 +0 -0
  13. package/dist/fonts/merriweather-regular-webfont.eot +0 -0
  14. package/dist/fonts/merriweather-regular-webfont.ttf +0 -0
  15. package/dist/fonts/merriweather-regular-webfont.woff +0 -0
  16. package/dist/fonts/merriweather-regular-webfont.woff2 +0 -0
  17. package/dist/fonts/sourcesanspro-bold-webfont.eot +0 -0
  18. package/dist/fonts/sourcesanspro-bold-webfont.ttf +0 -0
  19. package/dist/fonts/sourcesanspro-bold-webfont.woff +0 -0
  20. package/dist/fonts/sourcesanspro-bold-webfont.woff2 +0 -0
  21. package/dist/fonts/sourcesanspro-italic-webfont.eot +0 -0
  22. package/dist/fonts/sourcesanspro-italic-webfont.ttf +0 -0
  23. package/dist/fonts/sourcesanspro-italic-webfont.woff +0 -0
  24. package/dist/fonts/sourcesanspro-italic-webfont.woff2 +0 -0
  25. package/dist/fonts/sourcesanspro-light-webfont.eot +0 -0
  26. package/dist/fonts/sourcesanspro-light-webfont.ttf +0 -0
  27. package/dist/fonts/sourcesanspro-light-webfont.woff +0 -0
  28. package/dist/fonts/sourcesanspro-light-webfont.woff2 +0 -0
  29. package/dist/fonts/sourcesanspro-regular-webfont.eot +0 -0
  30. package/dist/fonts/sourcesanspro-regular-webfont.ttf +0 -0
  31. package/dist/fonts/sourcesanspro-regular-webfont.woff +0 -0
  32. package/dist/fonts/sourcesanspro-regular-webfont.woff2 +0 -0
  33. package/dist/img/angle-arrow-down-primary-hover.png +0 -0
  34. package/dist/img/angle-arrow-down-primary-hover.svg +1 -0
  35. package/dist/img/angle-arrow-down-primary.png +0 -0
  36. package/dist/img/angle-arrow-down-primary.svg +1 -0
  37. package/dist/img/angle-arrow-up-primary-hover.png +0 -0
  38. package/dist/img/angle-arrow-up-primary-hover.svg +1 -0
  39. package/dist/img/angle-arrow-up-primary.png +0 -0
  40. package/dist/img/angle-arrow-up-primary.svg +1 -0
  41. package/dist/img/close.png +0 -0
  42. package/dist/img/correct8.png +0 -0
  43. package/dist/img/correct8.svg +0 -0
  44. package/dist/img/correct9.png +0 -0
  45. package/dist/img/correct9.svg +1 -0
  46. package/dist/img/error.png +0 -0
  47. package/dist/img/error.svg +0 -0
  48. package/dist/img/info.png +0 -0
  49. package/dist/img/info.svg +0 -0
  50. package/dist/img/success.png +0 -0
  51. package/dist/img/success.svg +0 -0
  52. package/dist/img/warning.png +0 -0
  53. package/dist/img/warning.svg +0 -0
  54. package/dist/stylesheets/base/va.css +1 -1
  55. package/dist/stylesheets/core.css +56 -137
  56. package/dist/stylesheets/elements/labels.css +1592 -0
  57. package/dist/stylesheets/formation-overrides/core/fonts.css +12 -8
  58. package/dist/stylesheets/formation-overrides/elements/inputs.css +6 -6
  59. package/dist/stylesheets/formation-overrides/elements/typography.css +8 -8
  60. package/dist/stylesheets/modules/m-alert.css +5 -5
  61. package/dist/stylesheets/modules/m-external-link.css +1 -1
  62. package/dist/stylesheets/modules/m-eyebrow.css +10 -0
  63. package/dist/stylesheets/shame.css +2 -2
  64. package/dist/tokens/css/variables.css +1 -1
  65. package/dist/tokens/scss/variables.scss +1 -1
  66. package/package.json +2 -2
  67. package/dist/stylesheets/formation-overrides/elements/table.css +0 -78
@@ -21,25 +21,29 @@
21
21
  font-family: "Merriweather";
22
22
  font-style: normal;
23
23
  font-weight: 300;
24
- src: url("/assets/fonts/merriweather-light-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-light-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-light-webfont.woff") format("woff"), url("/assets/fonts/merriweather-light-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-light-webfont.svg#Merriweather") format("svg");
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
- src: url("/assets/fonts/merriweather-regular-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-regular-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-regular-webfont.woff") format("woff"), url("/assets/fonts/merriweather-regular-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-regular-webfont.svg#Merriweather") format("svg");
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: italic;
35
- font-weight: 400;
36
- src: url("/assets/fonts/merriweather-italic-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-italic-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-italic-webfont.woff") format("woff"), url("/assets/fonts/merriweather-italic-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-italic-webfont.svg#Merriweather") format("svg");
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: normal;
41
- font-weight: 700;
42
- src: url("/assets/fonts/merriweather-bold-webfont.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/merriweather-bold-webfont.woff2") format("woff2"), url("/assets/fonts/merriweather-bold-webfont.woff") format("woff"), url("/assets/fonts/merriweather-bold-webfont.ttf") format("truetype"), url("/assets/fonts/merriweather-bold-webfont.svg#Merriweather") format("svg");
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("/img/arrow-both.png");
131
- background-image: none, url("/img/arrow-both.svg"), url("/img/arrow-both.png");
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("/img/correct8.png");
230
- background-image: url("/img/correct8.svg");
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("/img/correct8-alt.png");
262
- content: url("/img/correct8-alt.svg");
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("/img/external-link.png") no-repeat 0 0;
64
- background: url("/img/external-link.svg") no-repeat 0 0;
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("/img/external-link-hover.png");
75
- background-image: url("/img/external-link-hover.svg");
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("/img/external-link-alt.png") no-repeat 0 0;
80
- background: url("/img/external-link-alt.svg") no-repeat 0 0;
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("/img/external-link-alt-hover.png");
91
- background-image: url("/img/external-link-alt-hover.svg");
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("/img/info.svg");
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("/img/info.svg");
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("/img/error.svg");
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("/img/success.svg");
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("/img/warning.svg");
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("/img/exit-icon.png");
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("/img/correct9.png");
143
- background-image: url("/img/correct9.svg");
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%;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 13 Feb 2025 17:42:38 GMT
3
+ * Generated on Mon, 10 Mar 2025 17:45:00 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 13 Feb 2025 17:42:38 GMT
3
+ // Generated on Mon, 10 Mar 2025 17:45:00 GMT
4
4
 
5
5
  $xsmall-screen: 320px;
6
6
  $small-screen: 481px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/css-library",
3
- "version": "0.18.1",
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
+ }
@@ -1,78 +0,0 @@
1
- /*
2
- Original: @import "~uswds/src/stylesheets/elements/table";
3
- ***THIS IS USWDS v1***
4
- */
5
- /**
6
- Variables ported over from Formation so that we can keep those stylesheets
7
- working while we work on deprecation.
8
- **/
9
- /*
10
- Original: @import "~uswds/src/stylesheets/core/utilities";
11
- ***THIS IS USWDS v1***
12
- */
13
- /**
14
- Variables ported over from Formation so that we can keep those stylesheets
15
- working while we work on deprecation.
16
- **/
17
- /**
18
- /uswds/dist/scss/lib/addons/_margin.scss
19
- **/
20
- /**
21
- uswds/src/stylesheets/lib/helpers/_directional-values.scss
22
- **/
23
- /*
24
- Original: @import "~uswds/src/stylesheets/elements/table";
25
- ***THIS IS USWDS v1***
26
- */
27
- .usa-sr-only {
28
- position: absolute;
29
- left: -999em;
30
- }
31
-
32
- table {
33
- border-spacing: 0;
34
- margin: 2em 0;
35
- }
36
-
37
- thead th {
38
- font-weight: 700;
39
- }
40
- thead th,
41
- thead td {
42
- background-color: #f0f0f0;
43
- }
44
-
45
- th {
46
- text-align: left;
47
- }
48
-
49
- th,
50
- td {
51
- background-color: #ffffff;
52
- border: 1px solid #565c65;
53
- font-weight: 400;
54
- padding: 0.625rem 0.9375rem;
55
- }
56
-
57
- .usa-table-borderless thead th {
58
- background-color: transparent;
59
- border-top: 0;
60
- }
61
- .usa-table-borderless th,
62
- .usa-table-borderless td {
63
- border-left: 0;
64
- border-right: 0;
65
- }
66
- .usa-table-borderless th:first-child {
67
- padding-left: 0;
68
- }
69
-
70
- caption {
71
- font-size: 0.9375rem;
72
- font-weight: 700;
73
- font-family: Bitter, Georgia, Cambria, "Times New Roman", Times, serif;
74
- margin-bottom: 0.75rem;
75
- text-align: left;
76
- }
77
-
78
- /*# sourceMappingURL=table.css.map */