@primer/css 0.0.0-20220823123728 → 0.0.0-20220826174354

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 (73) hide show
  1. package/CHANGELOG.md +5 -4
  2. package/RELEASING.md +1 -1
  3. package/actionlist/action-list-item-divider.scss +2 -2
  4. package/actionlist/action-list-item.scss +4 -4
  5. package/alerts/flash.scss +1 -1
  6. package/autocomplete/autocomplete.scss +1 -1
  7. package/autocomplete/suggester.scss +1 -1
  8. package/base/base.scss +1 -1
  9. package/base/normalize.scss +1 -1
  10. package/box/box.scss +1 -1
  11. package/buttons/button.scss +2 -2
  12. package/buttons/misc.scss +2 -2
  13. package/deprecations.json +0 -2
  14. package/dist/core.css +1 -1
  15. package/dist/core.css.map +1 -1
  16. package/dist/deprecations.json +0 -2
  17. package/dist/forms.css +1 -1
  18. package/dist/forms.css.map +1 -1
  19. package/dist/labels.css +1 -1
  20. package/dist/marketing-buttons.css +1 -1
  21. package/dist/marketing-buttons.css.map +1 -1
  22. package/dist/marketing-links.css.map +1 -1
  23. package/dist/marketing-type.css +1 -1
  24. package/dist/marketing-type.css.map +1 -1
  25. package/dist/marketing-utilities.css.map +1 -1
  26. package/dist/marketing.css +1 -1
  27. package/dist/marketing.css.map +1 -1
  28. package/dist/meta.json +93 -93
  29. package/dist/primer.css +3 -3
  30. package/dist/primer.css.map +1 -1
  31. package/dist/product.css +1 -1
  32. package/dist/product.css.map +1 -1
  33. package/dist/select-menu.css +1 -1
  34. package/dist/select-menu.css.map +1 -1
  35. package/dist/stats/core.json +1 -1
  36. package/dist/stats/forms.json +1 -1
  37. package/dist/stats/labels.json +1 -1
  38. package/dist/stats/marketing-buttons.json +1 -1
  39. package/dist/stats/marketing-type.json +1 -1
  40. package/dist/stats/marketing.json +1 -1
  41. package/dist/stats/primer.json +1 -1
  42. package/dist/stats/product.json +1 -1
  43. package/dist/stats/select-menu.json +1 -1
  44. package/dist/stats/utilities.json +1 -1
  45. package/dist/utilities.css +1 -1
  46. package/dist/utilities.css.map +1 -1
  47. package/dist/variables.json +63 -73
  48. package/forms/FormControl.scss +4 -0
  49. package/forms/form-control.scss +2 -2
  50. package/forms/form-group.scss +1 -1
  51. package/header/header.scss +1 -1
  52. package/labels/counters.scss +1 -1
  53. package/labels/diffstat.scss +1 -1
  54. package/labels/states.scss +1 -1
  55. package/markdown/blob-csv.scss +1 -1
  56. package/markdown/headings.scss +1 -1
  57. package/markdown/lists.scss +1 -1
  58. package/markdown/tables.scss +1 -1
  59. package/marketing/buttons/button.scss +4 -4
  60. package/marketing/support/variables.scss +4 -5
  61. package/marketing/type/typography.scss +11 -40
  62. package/navigation/filter-list.scss +1 -1
  63. package/navigation/menu.scss +1 -1
  64. package/navigation/sidenav.scss +1 -1
  65. package/navigation/subnav.scss +1 -1
  66. package/navigation/underline-nav.scss +2 -2
  67. package/overlay/overlay.scss +1 -1
  68. package/package.json +1 -1
  69. package/select-menu/select-menu.scss +4 -5
  70. package/subhead/subhead.scss +1 -1
  71. package/support/mixins/typography.scss +9 -9
  72. package/support/variables/typography.scss +2 -2
  73. package/utilities/typography.scss +4 -5
package/CHANGELOG.md CHANGED
@@ -1,12 +1,13 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-20220823123728
3
+ ## 0.0.0-20220826174354
4
4
 
5
- ### Minor Changes
5
+ ### Patch Changes
6
6
 
7
- - [#2192](https://github.com/primer/css/pull/2192) [`c2134afe`](https://github.com/primer/css/commit/c2134afe4e9f7d752114bdbda5398608b8b0fe0a) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Prepare marketing typography for variable fonts, align font weights with OpenType spec
7
+ - [#2218](https://github.com/primer/css/pull/2218) [`db42331b`](https://github.com/primer/css/commit/db42331bfaaf6b84fe5333ee01768e0323b69975) Thanks [@langermank](https://github.com/langermank)! - - Adding readonly styles
8
+ - Fixing focus background color for inset field
8
9
 
9
- ### Patch Changes
10
+ * [#2211](https://github.com/primer/css/pull/2211) [`8e5f6224`](https://github.com/primer/css/commit/8e5f62244192a8e2a191be7e7ad20d00f4b4bedb) Thanks [@imjohnbo](https://github.com/imjohnbo)! - Remove outline reset of `.SelectMenu-closeButton`
10
11
 
11
12
  - Fake entry to force publishing
12
13
 
package/RELEASING.md CHANGED
@@ -31,7 +31,7 @@ The release process is automated by [changesets]. After you familiarize yourself
31
31
 
32
32
  After tests run, the docs site will be deployed and `@primer/css` will be published with your changes to the `latest` dist-tag. You can check [npm](https://www.npmjs.com/package/@primer/css?activeTab=versions) to see if actions has finished.
33
33
 
34
- 2. done 🎉
34
+ 2. Done! 🎉
35
35
 
36
36
 
37
37
  ## Update github.com (in `github/github`):
@@ -6,7 +6,7 @@
6
6
  display: flex;
7
7
  padding: ($spacer-1 * 1.5) $spacer-2;
8
8
  font-size: $font-size-small;
9
- font-weight: $font-weight-semibold;
9
+ font-weight: $font-weight-bold;
10
10
  color: var(--color-fg-muted);
11
11
  flex-direction: column;
12
12
  }
@@ -25,7 +25,7 @@
25
25
 
26
26
  .ActionList-sectionDivider-title {
27
27
  font-size: $font-size-small;
28
- font-weight: $font-weight-semibold;
28
+ font-weight: $font-weight-bold;
29
29
  color: var(--color-fg-muted);
30
30
  }
31
31
  }
@@ -141,7 +141,7 @@
141
141
  &.ActionList-item--navActive {
142
142
  &:not(.ActionList-item--subItem) {
143
143
  .ActionList-item-label {
144
- font-weight: $font-weight-semibold;
144
+ font-weight: $font-weight-bold;
145
145
  }
146
146
  }
147
147
 
@@ -437,7 +437,7 @@
437
437
 
438
438
  &.ActionList-content--hasActiveSubItem {
439
439
  > .ActionList-item-label {
440
- font-weight: $font-weight-semibold;
440
+ font-weight: $font-weight-bold;
441
441
  }
442
442
  }
443
443
  }
@@ -461,7 +461,7 @@
461
461
  background: var(--color-action-list-item-default-selected-bg);
462
462
 
463
463
  .ActionList-item-label {
464
- font-weight: $font-weight-semibold;
464
+ font-weight: $font-weight-bold;
465
465
  }
466
466
 
467
467
  &::before,
@@ -542,7 +542,7 @@
542
542
  }
543
543
 
544
544
  .ActionList-item-label {
545
- font-weight: $font-weight-semibold;
545
+ font-weight: $font-weight-bold;
546
546
  }
547
547
  }
548
548
 
package/alerts/flash.scss CHANGED
@@ -150,6 +150,6 @@
150
150
  padding: $em-spacer-5;
151
151
  // stylelint-disable-next-line primer/spacing
152
152
  margin-bottom: 0.8em;
153
- font-weight: $font-weight-semibold;
153
+ font-weight: $font-weight-bold;
154
154
  background-color: var(--color-attention-subtle);
155
155
  }
@@ -82,7 +82,7 @@
82
82
  width: 100%;
83
83
  padding: $spacer-1 $spacer-2;
84
84
  overflow: hidden;
85
- font-weight: $font-weight-semibold;
85
+ font-weight: $font-weight-bold;
86
86
  color: var(--color-fg-default);
87
87
  text-align: left;
88
88
  text-decoration: none;
@@ -19,7 +19,7 @@
19
19
  li {
20
20
  display: block;
21
21
  padding: $spacer-1 $spacer-2;
22
- font-weight: $font-weight-medium;
22
+ font-weight: $font-weight-semibold;
23
23
  border-bottom: $border-width $border-style var(--color-border-muted);
24
24
 
25
25
  small {
package/base/base.scss CHANGED
@@ -31,7 +31,7 @@ a {
31
31
 
32
32
  b,
33
33
  strong {
34
- font-weight: $font-weight-semibold;
34
+ font-weight: $font-weight-bold;
35
35
  }
36
36
 
37
37
  // Horizontal lines
@@ -260,7 +260,7 @@ textarea {
260
260
  */
261
261
 
262
262
  optgroup {
263
- font-weight: $font-weight-semibold;
263
+ font-weight: $font-weight-bold;
264
264
  }
265
265
 
266
266
  /**
package/box/box.scss CHANGED
@@ -82,7 +82,7 @@
82
82
 
83
83
  .Box-title {
84
84
  font-size: $body-font-size;
85
- font-weight: $font-weight-semibold;
85
+ font-weight: $font-weight-bold;
86
86
  }
87
87
 
88
88
  .Box-body {
@@ -7,7 +7,7 @@
7
7
  // stylelint-disable-next-line primer/spacing
8
8
  padding: 5px $spacer-3;
9
9
  font-size: $body-font-size;
10
- font-weight: $font-weight-medium;
10
+ font-weight: $font-weight-semibold;
11
11
  // stylelint-disable-next-line primer/typography
12
12
  line-height: 20px; // Specifically not inherit our `<body>` default
13
13
  white-space: nowrap;
@@ -30,7 +30,7 @@
30
30
 
31
31
  i {
32
32
  font-style: normal;
33
- font-weight: $font-weight-medium;
33
+ font-weight: $font-weight-semibold;
34
34
  opacity: 0.75;
35
35
  }
36
36
 
package/buttons/misc.scss CHANGED
@@ -162,7 +162,7 @@
162
162
  // stylelint-disable-next-line primer/spacing
163
163
  padding: 0 5px 5px;
164
164
  font-size: $font-size-small;
165
- font-weight: $font-weight-semibold;
165
+ font-weight: $font-weight-bold;
166
166
  // stylelint-disable-next-line primer/typography
167
167
  line-height: 6px;
168
168
  color: var(--color-fg-default);
@@ -207,7 +207,7 @@
207
207
  // stylelint-disable-next-line primer/spacing
208
208
  padding: 3px 12px;
209
209
  font-size: $font-size-small;
210
- font-weight: $font-weight-semibold;
210
+ font-weight: $font-weight-bold;
211
211
  // stylelint-disable-next-line primer/typography
212
212
  line-height: 20px;
213
213
  color: var(--color-fg-default);
package/deprecations.json CHANGED
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "selectors": {
3
- "text-bold": "text-semibold",
4
3
  "color-text-primary": "color-fg-default",
5
4
  "color-text-secondary": "color-fg-muted",
6
5
  "color-text-tertiary": "color-fg-muted",
@@ -356,7 +355,6 @@
356
355
  },
357
356
 
358
357
  "variables": {
359
- "$font-weight-bold": "$font-weight-semibold",
360
358
  "$h000-size": null,
361
359
  "$h000-size-mobile": null,
362
360
  "$bg-black": null,