@department-of-veterans-affairs/css-library 0.21.2 → 0.22.1

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.
@@ -6306,204 +6306,6 @@ dfn {
6306
6306
  }
6307
6307
  }
6308
6308
 
6309
- /*
6310
- Original: @import "~uswds/src/stylesheets/components/accordions";
6311
- ***THIS IS USWDS v1***
6312
- */
6313
- .usa-accordion,
6314
- .usa-accordion-bordered {
6315
- margin-bottom: 0;
6316
- margin-top: 0;
6317
- list-style-type: none;
6318
- padding-left: 0;
6319
- color: #212121;
6320
- margin: 0;
6321
- padding: 0;
6322
- width: 100%;
6323
- }
6324
- .usa-accordion > li,
6325
- .usa-accordion-bordered > li {
6326
- margin-bottom: 0;
6327
- max-width: unset;
6328
- }
6329
- .usa-accordion > ul li ul,
6330
- .usa-accordion-bordered > ul li ul {
6331
- list-style: disc;
6332
- }
6333
- .usa-accordion > ul li ul > li > ul,
6334
- .usa-accordion-bordered > ul li ul > li > ul {
6335
- list-style: circle;
6336
- }
6337
- .usa-accordion > ul li ul > li > ul > li > ul,
6338
- .usa-accordion-bordered > ul li ul > li > ul > li > ul {
6339
- list-style: square;
6340
- }
6341
- .usa-accordion + .usa-accordion,
6342
- .usa-accordion + .usa-accordion-bordered,
6343
- .usa-accordion-bordered + .usa-accordion,
6344
- .usa-accordion-bordered + .usa-accordion-bordered {
6345
- margin-top: 0.625rem;
6346
- }
6347
- .usa-accordion > ul,
6348
- .usa-accordion-bordered > ul {
6349
- margin-bottom: 0;
6350
- margin-top: 0;
6351
- list-style-type: none;
6352
- padding-left: 0;
6353
- color: #212121;
6354
- margin: 0;
6355
- padding: 0;
6356
- width: 100%;
6357
- }
6358
- .usa-accordion > ul > li,
6359
- .usa-accordion-bordered > ul > li {
6360
- margin-bottom: 0;
6361
- max-width: unset;
6362
- }
6363
- .usa-accordion > ul > li,
6364
- .usa-accordion-bordered > ul > li {
6365
- background-color: #f0f0f0;
6366
- font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
6367
- list-style: none;
6368
- margin-bottom: 0.3125rem;
6369
- width: 100%;
6370
- }
6371
- .usa-accordion > ul button,
6372
- .usa-accordion-bordered > ul button {
6373
- background-color: transparent;
6374
- border: 0;
6375
- border-radius: 0;
6376
- font-weight: 400;
6377
- margin: 0;
6378
- padding: 0;
6379
- text-align: left;
6380
- -webkit-font-smoothing: auto;
6381
- background-color: #f0f0f0;
6382
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/minus.png);
6383
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/minus.svg);
6384
- background-position: right 1.25rem center;
6385
- background-repeat: no-repeat;
6386
- background-size: 0.9375rem;
6387
- color: #212121;
6388
- cursor: pointer;
6389
- display: inline-block;
6390
- font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
6391
- font-weight: 700;
6392
- margin: 0;
6393
- padding: 0.9375rem 3.4375rem 0.9375rem 1.25rem;
6394
- width: 100%;
6395
- }
6396
- .usa-accordion > ul button:hover,
6397
- .usa-accordion-bordered > ul button:hover {
6398
- background-color: transparent;
6399
- }
6400
- .usa-accordion > ul button:hover,
6401
- .usa-accordion-bordered > ul button:hover {
6402
- background-color: #d6d7d9;
6403
- color: #212121;
6404
- }
6405
- .usa-accordion > ul button h1,
6406
- .usa-accordion > ul button h2,
6407
- .usa-accordion > ul button h3,
6408
- .usa-accordion > ul button h4,
6409
- .usa-accordion > ul button h5,
6410
- .usa-accordion > ul button h6,
6411
- .usa-accordion-bordered > ul button h1,
6412
- .usa-accordion-bordered > ul button h2,
6413
- .usa-accordion-bordered > ul button h3,
6414
- .usa-accordion-bordered > ul button h4,
6415
- .usa-accordion-bordered > ul button h5,
6416
- .usa-accordion-bordered > ul button h6 {
6417
- margin: 0;
6418
- }
6419
- .usa-accordion > ul [aria-expanded=false],
6420
- .usa-accordion-bordered > ul [aria-expanded=false] {
6421
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/plus.png);
6422
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/plus.svg);
6423
- background-repeat: no-repeat;
6424
- background-size: 0.9375rem;
6425
- }
6426
- .usa-accordion > li,
6427
- .usa-accordion-bordered > li {
6428
- background-color: #f0f0f0;
6429
- font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
6430
- list-style: none;
6431
- margin-bottom: 0.3125rem;
6432
- width: 100%;
6433
- }
6434
-
6435
- .usa-accordion-bordered .usa-accordion-content {
6436
- border-bottom: 3px solid #f0f0f0;
6437
- border-left: 3px solid #f0f0f0;
6438
- border-right: 3px solid #f0f0f0;
6439
- }
6440
-
6441
- .usa-accordion-content {
6442
- background-color: #ffffff;
6443
- overflow: auto;
6444
- padding: 0.9375rem 1.25rem;
6445
- }
6446
- .usa-accordion-content > *:first-child {
6447
- margin-top: 0;
6448
- }
6449
- .usa-accordion-content > *:last-child {
6450
- margin-bottom: 0;
6451
- }
6452
- .usa-accordion-content:not([aria-hidden]) {
6453
- position: absolute;
6454
- left: -999em;
6455
- }
6456
- .usa-accordion-content[aria-hidden=true] {
6457
- display: none;
6458
- }
6459
-
6460
- .usa-accordion-button {
6461
- background-color: transparent;
6462
- border: 0;
6463
- border-radius: 0;
6464
- font-weight: 400;
6465
- margin: 0;
6466
- padding: 0;
6467
- text-align: left;
6468
- -webkit-font-smoothing: auto;
6469
- background-color: #f0f0f0;
6470
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/minus.png);
6471
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/minus.svg);
6472
- background-position: right 1.25rem center;
6473
- background-repeat: no-repeat;
6474
- background-size: 0.9375rem;
6475
- color: #212121;
6476
- cursor: pointer;
6477
- display: inline-block;
6478
- font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
6479
- font-weight: 700;
6480
- margin: 0;
6481
- padding: 0.9375rem 3.4375rem 0.9375rem 1.25rem;
6482
- width: 100%;
6483
- }
6484
- .usa-accordion-button:hover {
6485
- background-color: transparent;
6486
- }
6487
- .usa-accordion-button:hover {
6488
- background-color: #d6d7d9;
6489
- color: #212121;
6490
- }
6491
- .usa-accordion-button h1,
6492
- .usa-accordion-button h2,
6493
- .usa-accordion-button h3,
6494
- .usa-accordion-button h4,
6495
- .usa-accordion-button h5,
6496
- .usa-accordion-button h6 {
6497
- margin: 0;
6498
- }
6499
-
6500
- .usa-accordion-button[aria-expanded=false] {
6501
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/plus.png);
6502
- background-image: url(~@department-of-veterans-affairs/css-library/dist/img/plus.svg);
6503
- background-repeat: no-repeat;
6504
- background-size: 0.9375rem;
6505
- }
6506
-
6507
6309
  /*
6508
6310
  Original: @import "~uswds/src/stylesheets/components/alerts";
6509
6311
  ***THIS IS USWDS v1***
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 09 Apr 2025 20:34:27 GMT
3
+ * Generated on Wed, 23 Apr 2025 18:55:52 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -20,6 +20,10 @@
20
20
  --vads-button-color-background-secondary-on-light: #ffffff;
21
21
  --vads-button-color-text-primary-alt-on-light: #ffffff;
22
22
  --vads-button-color-text-primary-on-light: #ffffff;
23
+ --vads-alert-color-background-info-on-light: #e7f6f8;
24
+ --vads-alert-color-background-success-on-light: #ecf3ec;
25
+ --vads-alert-color-background-warning-on-light: #faf3d1;
26
+ --vads-alert-color-background-error-on-light: #f4e3db;
23
27
  --vads-color-white: #ffffff;
24
28
  --vads-label-hint-text-color-on-light: #757575;
25
29
  --vads-process-list-color-text-pending-on-light: #757575;
@@ -261,6 +261,82 @@
261
261
  ]
262
262
  }
263
263
  },
264
+ "vads-alert-color-background-info-on-light": {
265
+ "*": {
266
+ "value": "#e7f6f8",
267
+ "filePath": "tokens/color.json",
268
+ "isSource": true,
269
+ "original": {
270
+ "value": "{uswds-system-color-cyan-5}"
271
+ },
272
+ "name": "vads-alert-color-background-info-on-light",
273
+ "attributes": {
274
+ "category": "vads-alert-color-background-info-on-light",
275
+ "type": "*"
276
+ },
277
+ "path": [
278
+ "vads-alert-color-background-info-on-light",
279
+ "*"
280
+ ]
281
+ }
282
+ },
283
+ "vads-alert-color-background-success-on-light": {
284
+ "*": {
285
+ "value": "#ecf3ec",
286
+ "filePath": "tokens/color.json",
287
+ "isSource": true,
288
+ "original": {
289
+ "value": "{uswds-system-color-green-cool-5}"
290
+ },
291
+ "name": "vads-alert-color-background-success-on-light",
292
+ "attributes": {
293
+ "category": "vads-alert-color-background-success-on-light",
294
+ "type": "*"
295
+ },
296
+ "path": [
297
+ "vads-alert-color-background-success-on-light",
298
+ "*"
299
+ ]
300
+ }
301
+ },
302
+ "vads-alert-color-background-warning-on-light": {
303
+ "*": {
304
+ "value": "#faf3d1",
305
+ "filePath": "tokens/color.json",
306
+ "isSource": true,
307
+ "original": {
308
+ "value": "{uswds-system-color-yellow-5}"
309
+ },
310
+ "name": "vads-alert-color-background-warning-on-light",
311
+ "attributes": {
312
+ "category": "vads-alert-color-background-warning-on-light",
313
+ "type": "*"
314
+ },
315
+ "path": [
316
+ "vads-alert-color-background-warning-on-light",
317
+ "*"
318
+ ]
319
+ }
320
+ },
321
+ "vads-alert-color-background-error-on-light": {
322
+ "*": {
323
+ "value": "#f4e3db",
324
+ "filePath": "tokens/color.json",
325
+ "isSource": true,
326
+ "original": {
327
+ "value": "{uswds-system-color-red-warm-10}"
328
+ },
329
+ "name": "vads-alert-color-background-error-on-light",
330
+ "attributes": {
331
+ "category": "vads-alert-color-background-error-on-light",
332
+ "type": "*"
333
+ },
334
+ "path": [
335
+ "vads-alert-color-background-error-on-light",
336
+ "*"
337
+ ]
338
+ }
339
+ },
264
340
  "vads-color-white": {
265
341
  "*": {
266
342
  "value": "#ffffff",
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 09 Apr 2025 20:34:27 GMT
3
+ // Generated on Wed, 23 Apr 2025 18:55:52 GMT
4
4
 
5
5
  $xsmall-screen: 320px;
6
6
  $small-screen: 481px;
@@ -18,6 +18,10 @@ $vads-button-color-background-primary-alt-active-on-light: #154c21;
18
18
  $vads-button-color-background-secondary-on-light: #ffffff;
19
19
  $vads-button-color-text-primary-alt-on-light: #ffffff;
20
20
  $vads-button-color-text-primary-on-light: #ffffff;
21
+ $vads-alert-color-background-info-on-light: #e7f6f8;
22
+ $vads-alert-color-background-success-on-light: #ecf3ec;
23
+ $vads-alert-color-background-warning-on-light: #faf3d1;
24
+ $vads-alert-color-background-error-on-light: #f4e3db;
21
25
  $vads-color-white: #ffffff;
22
26
  $vads-label-hint-text-color-on-light: #757575;
23
27
  $vads-process-list-color-text-pending-on-light: #757575;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/css-library",
3
- "version": "0.21.2",
3
+ "version": "0.22.1",
4
4
  "description": "Department of Veterans Affairs stylesheets, tokens, and utilities",
5
5
  "packageManager": "yarn@3.2.0",
6
6
  "files": [