@primer/brand-css 0.67.0-rc.eb80fcc4 → 0.67.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.
@@ -304,6 +304,9 @@
304
304
  .Card__label {
305
305
  margin-block-end: var(--base-size-20);
306
306
  grid-area: label;
307
+ inline-size: -moz-fit-content;
308
+ inline-size: fit-content;
309
+ max-inline-size: 100%;
307
310
  }
308
311
 
309
312
  .Card__heading {
@@ -483,6 +483,41 @@
483
483
  padding-block-start: var(--base-size-20);
484
484
  }
485
485
 
486
+ .PricingOptions__actions-message {
487
+ display: flex;
488
+ gap: var(--base-size-12);
489
+ align-items: flex-start;
490
+ inline-size: 100%;
491
+ max-inline-size: 100%;
492
+ padding: var(--base-size-12);
493
+ border-block: var(--brand-borderWidth-thin) solid var(--brand-PricingOptions-actionsMessage-borderColor);
494
+ border-inline: 0;
495
+ border-radius: 0;
496
+ background-color: var(--brand-PricingOptions-actionsMessage-bgColor);
497
+ }
498
+
499
+ .PricingOptions__actions-message-leading-component {
500
+ flex: 0 0 auto;
501
+ display: flex;
502
+ margin-block-start: var(--base-size-4);
503
+ color: var(--brand-PricingOptions-actionsMessage-accentColor);
504
+ }
505
+
506
+ .PricingOptions__actions-message-leading-component :where(svg) {
507
+ display: block;
508
+ inline-size: var(--base-size-16);
509
+ block-size: var(--base-size-16);
510
+ }
511
+
512
+ .PricingOptions__actions-message-content {
513
+ flex: 1 1 auto;
514
+ min-inline-size: 0;
515
+ }
516
+
517
+ .PricingOptions__actions-message-content :where(p) {
518
+ margin: 0;
519
+ }
520
+
486
521
  /* MenuAction: full-width ActionMenu wrapper */
487
522
  .PricingOptions__menu-action {
488
523
  width: 100%;
@@ -8,7 +8,7 @@
8
8
  max-width: 100%;
9
9
  padding-inline: var(--base-size-8);
10
10
  padding-block: var(--base-size-6);
11
- padding-block-end: calc(var(--base-size-6) - 1px); /* Compensate for 1px border to maintain height */
11
+ padding-block-end: var(--base-size-6);
12
12
  vertical-align: middle;
13
13
  }
14
14
 
@@ -22,6 +22,11 @@
22
22
  text-decoration: none;
23
23
  }
24
24
 
25
+ .Token--interactive:focus-visible {
26
+ outline: var(--base-size-4) solid var(--brand-color-focus);
27
+ outline-offset: var(--base-size-2);
28
+ }
29
+
25
30
  [data-color-mode='dark'] .Token {
26
31
  -webkit-font-smoothing: antialiased;
27
32
  -moz-osx-font-smoothing: auto;
@@ -74,6 +79,7 @@
74
79
  font-weight: var(--base-text-weight-normal);
75
80
  line-height: 0.85;
76
81
  white-space: nowrap;
82
+ letter-spacing: var(--brand-text-letterSpacing-100);
77
83
  }
78
84
 
79
85
  .Token > .Token__label {
@@ -112,4 +118,8 @@
112
118
  .Token {
113
119
  outline: var(--brand-borderWidth-thin) solid transparent;
114
120
  }
121
+
122
+ .Token--interactive:focus-visible {
123
+ outline-color: Highlight;
124
+ }
115
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/brand-css",
3
- "version": "0.67.0-rc.eb80fcc4",
3
+ "version": "0.67.0",
4
4
  "description": "CSS stylesheets for Primer Brand components",
5
5
  "keywords": [
6
6
  "primer",