@department-of-veterans-affairs/css-library 0.21.1 → 0.22.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.
File without changes
File without changes
File without changes
File without changes
package/dist/img/info.png CHANGED
File without changes
package/dist/img/info.svg CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -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,4 +1,5 @@
1
1
  .vads-c-eyebrow {
2
+ display: block;
2
3
  font-family: "Source Sans Pro Web", "Source Sans Pro", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
3
4
  font-size: 1rem;
4
5
  font-style: normal;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 01 Apr 2025 19:06:46 GMT
3
+ * Generated on Wed, 16 Apr 2025 16:04:50 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -145,6 +145,12 @@
145
145
  --font-size-h5: 0.938rem;
146
146
  --font-size-h6: 0.938rem;
147
147
  --v3-font-base-size: 16px;
148
+ --vads-font-line-height-1: 1;
149
+ --vads-font-line-height-2: 1.15;
150
+ --vads-font-line-height-3: 1.35;
151
+ --vads-font-line-height-4: 1.5;
152
+ --vads-font-line-height-5: 1.62;
153
+ --vads-font-line-height-6: 1.75;
148
154
  --vads-font-line-height-body-lead: 1.75;
149
155
  --vads-font-line-height-default: 1.5;
150
156
  --vads-font-line-height-heading: 1.2;
@@ -242,4 +248,8 @@
242
248
  --vads-spacing-vertical-stack-s: 16px;
243
249
  --vads-spacing-vertical-stack-default: 16px;
244
250
  --vads-forms-spacing-vertical-stack-default: 32px;
251
+ --vads-site-margins-mobile-width: 16px;
252
+ --vads-site-margins-width: 32px;
253
+ --vads-site-margins-breakpoint: 1024px;
254
+ --vads-grid-container-max-width: 1024px;
245
255
  }
@@ -2674,6 +2674,120 @@
2674
2674
  },
2675
2675
  "vads-font": {
2676
2676
  "line-height": {
2677
+ "-1": {
2678
+ "value": "1",
2679
+ "filePath": "tokens/fonts.json",
2680
+ "isSource": true,
2681
+ "original": {
2682
+ "value": "1"
2683
+ },
2684
+ "name": "vads-font-line-height-1",
2685
+ "attributes": {
2686
+ "category": "vads-font",
2687
+ "type": "line-height",
2688
+ "item": "-1"
2689
+ },
2690
+ "path": [
2691
+ "vads-font",
2692
+ "line-height",
2693
+ "-1"
2694
+ ]
2695
+ },
2696
+ "-2": {
2697
+ "value": "1.15",
2698
+ "filePath": "tokens/fonts.json",
2699
+ "isSource": true,
2700
+ "original": {
2701
+ "value": "1.15"
2702
+ },
2703
+ "name": "vads-font-line-height-2",
2704
+ "attributes": {
2705
+ "category": "vads-font",
2706
+ "type": "line-height",
2707
+ "item": "-2"
2708
+ },
2709
+ "path": [
2710
+ "vads-font",
2711
+ "line-height",
2712
+ "-2"
2713
+ ]
2714
+ },
2715
+ "-3": {
2716
+ "value": "1.35",
2717
+ "filePath": "tokens/fonts.json",
2718
+ "isSource": true,
2719
+ "original": {
2720
+ "value": "1.35"
2721
+ },
2722
+ "name": "vads-font-line-height-3",
2723
+ "attributes": {
2724
+ "category": "vads-font",
2725
+ "type": "line-height",
2726
+ "item": "-3"
2727
+ },
2728
+ "path": [
2729
+ "vads-font",
2730
+ "line-height",
2731
+ "-3"
2732
+ ]
2733
+ },
2734
+ "-4": {
2735
+ "value": "1.5",
2736
+ "filePath": "tokens/fonts.json",
2737
+ "isSource": true,
2738
+ "original": {
2739
+ "value": "1.5"
2740
+ },
2741
+ "name": "vads-font-line-height-4",
2742
+ "attributes": {
2743
+ "category": "vads-font",
2744
+ "type": "line-height",
2745
+ "item": "-4"
2746
+ },
2747
+ "path": [
2748
+ "vads-font",
2749
+ "line-height",
2750
+ "-4"
2751
+ ]
2752
+ },
2753
+ "-5": {
2754
+ "value": "1.62",
2755
+ "filePath": "tokens/fonts.json",
2756
+ "isSource": true,
2757
+ "original": {
2758
+ "value": "1.62"
2759
+ },
2760
+ "name": "vads-font-line-height-5",
2761
+ "attributes": {
2762
+ "category": "vads-font",
2763
+ "type": "line-height",
2764
+ "item": "-5"
2765
+ },
2766
+ "path": [
2767
+ "vads-font",
2768
+ "line-height",
2769
+ "-5"
2770
+ ]
2771
+ },
2772
+ "-6": {
2773
+ "value": "1.75",
2774
+ "filePath": "tokens/fonts.json",
2775
+ "isSource": true,
2776
+ "original": {
2777
+ "value": "1.75"
2778
+ },
2779
+ "name": "vads-font-line-height-6",
2780
+ "attributes": {
2781
+ "category": "vads-font",
2782
+ "type": "line-height",
2783
+ "item": "-6"
2784
+ },
2785
+ "path": [
2786
+ "vads-font",
2787
+ "line-height",
2788
+ "-6"
2789
+ ]
2790
+ },
2677
2791
  "body-lead": {
2678
2792
  "value": "1.75",
2679
2793
  "filePath": "tokens/fonts.json",
@@ -4422,5 +4536,77 @@
4422
4536
  "vertical-stack-default"
4423
4537
  ]
4424
4538
  }
4539
+ },
4540
+ "vads-site-margins": {
4541
+ "mobile-width": {
4542
+ "value": "16px",
4543
+ "filePath": "tokens/spacing.json",
4544
+ "isSource": true,
4545
+ "original": {
4546
+ "value": "{uswds-system-spacing-2}"
4547
+ },
4548
+ "name": "vads-site-margins-mobile-width",
4549
+ "attributes": {
4550
+ "category": "vads-site-margins",
4551
+ "type": "mobile-width"
4552
+ },
4553
+ "path": [
4554
+ "vads-site-margins",
4555
+ "mobile-width"
4556
+ ]
4557
+ },
4558
+ "width": {
4559
+ "value": "32px",
4560
+ "filePath": "tokens/spacing.json",
4561
+ "isSource": true,
4562
+ "original": {
4563
+ "value": "{uswds-system-spacing-4}"
4564
+ },
4565
+ "name": "vads-site-margins-width",
4566
+ "attributes": {
4567
+ "category": "vads-site-margins",
4568
+ "type": "width"
4569
+ },
4570
+ "path": [
4571
+ "vads-site-margins",
4572
+ "width"
4573
+ ]
4574
+ },
4575
+ "breakpoint": {
4576
+ "value": "1024px",
4577
+ "filePath": "tokens/spacing.json",
4578
+ "isSource": true,
4579
+ "original": {
4580
+ "value": "{desktop}"
4581
+ },
4582
+ "name": "vads-site-margins-breakpoint",
4583
+ "attributes": {
4584
+ "category": "vads-site-margins",
4585
+ "type": "breakpoint"
4586
+ },
4587
+ "path": [
4588
+ "vads-site-margins",
4589
+ "breakpoint"
4590
+ ]
4591
+ }
4592
+ },
4593
+ "vads-grid-container": {
4594
+ "max-width": {
4595
+ "value": "1024px",
4596
+ "filePath": "tokens/spacing.json",
4597
+ "isSource": true,
4598
+ "original": {
4599
+ "value": "{desktop}"
4600
+ },
4601
+ "name": "vads-grid-container-max-width",
4602
+ "attributes": {
4603
+ "category": "vads-grid-container",
4604
+ "type": "max-width"
4605
+ },
4606
+ "path": [
4607
+ "vads-grid-container",
4608
+ "max-width"
4609
+ ]
4610
+ }
4425
4611
  }
4426
4612
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Tue, 01 Apr 2025 19:06:46 GMT
3
+ // Generated on Wed, 16 Apr 2025 16:04:50 GMT
4
4
 
5
5
  $xsmall-screen: 320px;
6
6
  $small-screen: 481px;
@@ -143,6 +143,12 @@ $font-size-h4: 1.063rem;
143
143
  $font-size-h5: 0.938rem;
144
144
  $font-size-h6: 0.938rem;
145
145
  $v3-font-base-size: 16px;
146
+ $vads-font-line-height-1: 1;
147
+ $vads-font-line-height-2: 1.15;
148
+ $vads-font-line-height-3: 1.35;
149
+ $vads-font-line-height-4: 1.5;
150
+ $vads-font-line-height-5: 1.62;
151
+ $vads-font-line-height-6: 1.75;
146
152
  $vads-font-line-height-body-lead: 1.75;
147
153
  $vads-font-line-height-default: 1.5;
148
154
  $vads-font-line-height-heading: 1.2;
@@ -240,3 +246,7 @@ $vads-spacing-vertical-stack-m: 24px;
240
246
  $vads-spacing-vertical-stack-s: 16px;
241
247
  $vads-spacing-vertical-stack-default: 16px;
242
248
  $vads-forms-spacing-vertical-stack-default: 32px;
249
+ $vads-site-margins-mobile-width: 16px;
250
+ $vads-site-margins-width: 32px;
251
+ $vads-site-margins-breakpoint: 1024px;
252
+ $vads-grid-container-max-width: 1024px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/css-library",
3
- "version": "0.21.1",
3
+ "version": "0.22.0",
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
+ }