@primer/css 0.0.0-20220519231025 → 0.0.0-20220520174743

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 (198) hide show
  1. package/CHANGELOG.md +3 -163
  2. package/CONTRIBUTING.md +4 -6
  3. package/DEVELOP.md +21 -26
  4. package/README.md +2 -2
  5. package/actionlist/action-list-item-divider.scss +2 -8
  6. package/actionlist/action-list-item.scss +128 -146
  7. package/actionlist/action-list-tree.scss +8 -34
  8. package/actionlist/action-list.scss +0 -29
  9. package/alerts/flash-refactor.scss +134 -0
  10. package/alerts/flash.scss +3 -7
  11. package/alerts/index.scss +1 -0
  12. package/{overlay → app}/README.md +5 -4
  13. package/app/app-footer.scss +0 -0
  14. package/app/app-frame.scss +168 -0
  15. package/app/app-header.scss +111 -0
  16. package/app/index.scss +4 -0
  17. package/autocomplete/autocomplete.scss +1 -61
  18. package/base/base.scss +3 -63
  19. package/base/kbd.scss +1 -0
  20. package/base/normalize.scss +53 -13
  21. package/base/typography-base.scss +2 -3
  22. package/blankslate/blankslate.scss +1 -20
  23. package/box/box-overlay.scss +0 -2
  24. package/box/box.scss +3 -0
  25. package/branch-name/branch-name.scss +0 -1
  26. package/buttons/button.scss +27 -55
  27. package/buttons/misc.scss +19 -25
  28. package/color-modes/index.scss +0 -2
  29. package/color-modes/native.scss +0 -11
  30. package/core/index.scss +0 -2
  31. package/dist/actionlist.css +1 -1
  32. package/dist/actionlist.css.map +1 -1
  33. package/dist/alerts.css +1 -1
  34. package/dist/alerts.css.map +1 -1
  35. package/dist/app.css +2 -0
  36. package/dist/app.css.map +1 -0
  37. package/dist/app.js +1 -0
  38. package/dist/autocomplete.css +1 -1
  39. package/dist/autocomplete.css.map +1 -1
  40. package/dist/avatars.css.map +1 -1
  41. package/dist/base.css +1 -1
  42. package/dist/base.css.map +1 -1
  43. package/dist/blankslate.css +1 -1
  44. package/dist/blankslate.css.map +1 -1
  45. package/dist/box.css.map +1 -1
  46. package/dist/branch-name.css +1 -1
  47. package/dist/branch-name.css.map +1 -1
  48. package/dist/breadcrumb.css.map +1 -1
  49. package/dist/buttons.css +1 -1
  50. package/dist/buttons.css.map +1 -1
  51. package/dist/color-modes.css +1 -1
  52. package/dist/color-modes.css.map +1 -1
  53. package/dist/core.css +1 -1
  54. package/dist/core.css.map +1 -1
  55. package/dist/dropdown.css +1 -1
  56. package/dist/dropdown.css.map +1 -1
  57. package/dist/forms.css +1 -1
  58. package/dist/forms.css.map +1 -1
  59. package/dist/header.css +1 -1
  60. package/dist/header.css.map +1 -1
  61. package/dist/labels.css +1 -1
  62. package/dist/labels.css.map +1 -1
  63. package/dist/layout.css +1 -1
  64. package/dist/layout.css.map +1 -1
  65. package/dist/links.css +1 -1
  66. package/dist/links.css.map +1 -1
  67. package/dist/loaders.css.map +1 -1
  68. package/dist/markdown.css +1 -1
  69. package/dist/markdown.css.map +1 -1
  70. package/dist/marketing-buttons.css +1 -1
  71. package/dist/marketing-buttons.css.map +1 -1
  72. package/dist/marketing-links.css +1 -1
  73. package/dist/marketing-links.css.map +1 -1
  74. package/dist/marketing-type.css +1 -1
  75. package/dist/marketing-type.css.map +1 -1
  76. package/dist/marketing-utilities.css.map +1 -1
  77. package/dist/marketing.css +1 -1
  78. package/dist/marketing.css.map +1 -1
  79. package/dist/meta.json +113 -124
  80. package/dist/navigation.css +1 -1
  81. package/dist/navigation.css.map +1 -1
  82. package/dist/pagination.css +1 -1
  83. package/dist/pagination.css.map +1 -1
  84. package/dist/popover.css.map +1 -1
  85. package/dist/primer.css +4 -4
  86. package/dist/primer.css.map +1 -1
  87. package/dist/product.css +1 -1
  88. package/dist/product.css.map +1 -1
  89. package/dist/progress.css.map +1 -1
  90. package/dist/select-menu.css.map +1 -1
  91. package/dist/stats/actionlist.json +1 -1
  92. package/dist/stats/alerts.json +1 -1
  93. package/dist/stats/app.json +1 -0
  94. package/dist/stats/autocomplete.json +1 -1
  95. package/dist/stats/base.json +1 -1
  96. package/dist/stats/blankslate.json +1 -1
  97. package/dist/stats/branch-name.json +1 -1
  98. package/dist/stats/buttons.json +1 -1
  99. package/dist/stats/color-modes.json +1 -1
  100. package/dist/stats/core.json +1 -1
  101. package/dist/stats/dropdown.json +1 -1
  102. package/dist/stats/forms.json +1 -1
  103. package/dist/stats/header.json +1 -1
  104. package/dist/stats/labels.json +1 -1
  105. package/dist/stats/layout.json +1 -1
  106. package/dist/stats/links.json +1 -1
  107. package/dist/stats/markdown.json +1 -1
  108. package/dist/stats/marketing-buttons.json +1 -1
  109. package/dist/stats/marketing-links.json +1 -1
  110. package/dist/stats/marketing-type.json +1 -1
  111. package/dist/stats/marketing.json +1 -1
  112. package/dist/stats/navigation.json +1 -1
  113. package/dist/stats/pagination.json +1 -1
  114. package/dist/stats/primer.json +1 -1
  115. package/dist/stats/product.json +1 -1
  116. package/dist/stats/subhead.json +1 -1
  117. package/dist/stats/toasts.json +1 -1
  118. package/dist/stats/tooltips.json +1 -1
  119. package/dist/stats/utilities.json +1 -1
  120. package/dist/subhead.css +1 -1
  121. package/dist/subhead.css.map +1 -1
  122. package/dist/table-object.css.map +1 -1
  123. package/dist/timeline.css.map +1 -1
  124. package/dist/toasts.css +1 -1
  125. package/dist/toasts.css.map +1 -1
  126. package/dist/tooltips.css +1 -1
  127. package/dist/tooltips.css.map +1 -1
  128. package/dist/truncate.css.map +1 -1
  129. package/dist/utilities.css +1 -1
  130. package/dist/utilities.css.map +1 -1
  131. package/dist/variables.json +7 -7
  132. package/dropdown/dropdown.scss +2 -0
  133. package/forms/form-control.scss +5 -24
  134. package/forms/form-group.scss +13 -48
  135. package/forms/form-validation.scss +6 -15
  136. package/forms/index.scss +0 -4
  137. package/forms/input-group.scss +0 -18
  138. package/header/header.scss +44 -0
  139. package/labels/labels.scss +1 -11
  140. package/labels/mixins.scss +2 -7
  141. package/labels/states.scss +2 -2
  142. package/layout/application-frame.scss +105 -0
  143. package/layout/grid-offset.scss +0 -1
  144. package/layout/grid.scss +0 -1
  145. package/layout/index.scss +1 -0
  146. package/layout/page-layout.scss +12 -16
  147. package/links/link.scss +1 -6
  148. package/markdown/code.scss +0 -5
  149. package/markdown/footnotes.scss +26 -38
  150. package/markdown/headings.scss +0 -22
  151. package/markdown/images.scss +1 -1
  152. package/markdown/markdown-body.scss +8 -0
  153. package/marketing/buttons/button.scss +26 -32
  154. package/marketing/links/link.scss +5 -5
  155. package/marketing/type/typography.scss +26 -0
  156. package/marketing/utilities/layout.scss +0 -1
  157. package/navigation/filter-list.scss +0 -18
  158. package/navigation/menu.scss +8 -6
  159. package/navigation/sidenav.scss +10 -1
  160. package/navigation/subnav.scss +0 -19
  161. package/navigation/tabnav.scss +2 -7
  162. package/navigation/underline-nav.scss +23 -73
  163. package/package.json +25 -30
  164. package/pagination/pagination.scss +4 -62
  165. package/popover/popover.scss +1 -0
  166. package/product/index.scss +1 -1
  167. package/select-menu/select-menu.scss +1 -1
  168. package/subhead/subhead.scss +0 -3
  169. package/support/mixins/misc.scss +1 -48
  170. package/support/variables/layout.scss +1 -1
  171. package/table-object/README.md +25 -0
  172. package/table-object/table-object.scss +0 -3
  173. package/timeline/timeline-item.scss +1 -0
  174. package/toasts/toasts.scss +4 -7
  175. package/tooltips/tooltips.scss +7 -0
  176. package/utilities/colors.scss +0 -16
  177. package/utilities/details.scss +4 -81
  178. package/utilities/layout.scss +1 -1
  179. package/utilities/margin.scss +1 -4
  180. package/utilities/padding.scss +1 -3
  181. package/utilities/typography.scss +0 -5
  182. package/utilities/visibility-display.scss +0 -49
  183. package/color-modes/themes/dark_tritanopia.scss +0 -6
  184. package/color-modes/themes/light_tritanopia.scss +0 -6
  185. package/dist/overlay.css +0 -2
  186. package/dist/overlay.css.map +0 -1
  187. package/dist/overlay.js +0 -1
  188. package/dist/primitives.css +0 -2
  189. package/dist/primitives.css.map +0 -1
  190. package/dist/primitives.js +0 -1
  191. package/dist/stats/overlay.json +0 -1
  192. package/dist/stats/primitives.json +0 -1
  193. package/forms/checkbox-radio.scss +0 -72
  194. package/forms/form-common.scss +0 -121
  195. package/forms/select-input.scss +0 -139
  196. package/overlay/index.scss +0 -2
  197. package/overlay/overlay.scss +0 -384
  198. package/primitives/index.scss +0 -9
package/CHANGELOG.md CHANGED
@@ -1,172 +1,12 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-20220519231025
3
+ ## 0.0.0-20220520174743
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 20.1.1
10
-
11
- ### Patch Changes
12
-
13
- - [#2078](https://github.com/primer/css/pull/2078) [`92ac0e39`](https://github.com/primer/css/commit/92ac0e39e6f5aae0314397890c8f78227a6c6ba0) Thanks [@langermank](https://github.com/langermank)! - Setup new `primer-primitive` bundle
14
-
15
- ## 20.1.0
16
-
17
- ### Minor Changes
18
-
19
- - [#2072](https://github.com/primer/css/pull/2072) [`ab6f0840`](https://github.com/primer/css/commit/ab6f0840f0131b370fb8871551720afa20fb466e) Thanks [@JasonEtco](https://github.com/JasonEtco)! - Add `.text-capitalize` utility class
20
-
21
- * [#1998](https://github.com/primer/css/pull/1998) [`51e087aa`](https://github.com/primer/css/commit/51e087aa31f049c1cb148df6f04fdbc6de434cf0) Thanks [@bolonio](https://github.com/bolonio)! - Styles for the new Dialog Component
22
-
23
- ## 20.0.0
24
-
25
- ### Major Changes
26
-
27
- - [#2049](https://github.com/primer/css/pull/2049) [`f4dba96e`](https://github.com/primer/css/commit/f4dba96e0cb78d3d451226cf60b01187678ced45) Thanks [@langermank](https://github.com/langermank)! - Comment box upload focus border-radius
28
-
29
- * [#1744](https://github.com/primer/css/pull/1744) [`942f65a4`](https://github.com/primer/css/commit/942f65a45a18b7042ba1ce2703688b62d874cf18) Thanks [@langermank](https://github.com/langermank)! - Global CSS focus styles
30
-
31
- - [#1767](https://github.com/primer/css/pull/1767) [`7e01db97`](https://github.com/primer/css/commit/7e01db97f3f2b9d9383f66385ca16f0bdc06abd1) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Marketing: Remove unused pullquote selector
32
-
33
- * [#1821](https://github.com/primer/css/pull/1821) [`daa2685c`](https://github.com/primer/css/commit/daa2685c596d894b3bae1896bf97c3319cd9816c) Thanks [@jonrohan](https://github.com/jonrohan)! - UnderlineNav `:focus` styles
34
- Refactor selected state and spacing
35
- Add selected bold state override from github/github
36
-
37
- - [#2047](https://github.com/primer/css/pull/2047) [`553d72cc`](https://github.com/primer/css/commit/553d72cc1baaf43a4c743c50cc8881f3811123e9) Thanks [@langermank](https://github.com/langermank)! - UnderlineNav bug fix
38
-
39
- * [#2046](https://github.com/primer/css/pull/2046) [`55e2b069`](https://github.com/primer/css/commit/55e2b069a4cbd225af676bef918bbbe2e6cd73b7) Thanks [@langermank](https://github.com/langermank)! - Global focus style CSS from feature flag (next major)
40
-
41
- ### Patch Changes
42
-
43
- - [#2048](https://github.com/primer/css/pull/2048) [`dc529e31`](https://github.com/primer/css/commit/dc529e3102788d5caa136a9d30c58e56721427a7) Thanks [@simurai](https://github.com/simurai)! - Fix headings with an anchor in a summary
44
-
45
- * [#2041](https://github.com/primer/css/pull/2041) [`20550bbf`](https://github.com/primer/css/commit/20550bbfaa236ac197ca58805542eaab0bf38fd4) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrading to stylelint-config-12.4.0
46
-
47
- ## 19.8.2
48
-
49
- ### Patch Changes
50
-
51
- - [#2019](https://github.com/primer/css/pull/2019) [`57be2d50`](https://github.com/primer/css/commit/57be2d50212b71f87ce612039375bcd5273eca53) Thanks [@langermank](https://github.com/langermank)! - [Bug] TreeView animation and padding fix
52
-
53
- ## 19.8.1
54
-
55
- ### Patch Changes
56
-
57
- - [#1996](https://github.com/primer/css/pull/1996) [`a4293bf9`](https://github.com/primer/css/commit/a4293bf921ebcb74c6973e3f50f07e470f495bd0) Thanks [@langermank](https://github.com/langermank)! - TreeView: remove bold active items + markup changes
58
-
59
- ## 19.8.0
60
-
61
- ### Minor Changes
62
-
63
- - [#1997](https://github.com/primer/css/pull/1997) [`9806b54b`](https://github.com/primer/css/commit/9806b54b3829219c9ad141efd2fcd99fc5c08751) Thanks [@simurai](https://github.com/simurai)! - Add Tritanopia theme
64
-
65
- ### Patch Changes
66
-
67
- - [#2002](https://github.com/primer/css/pull/2002) [`a3bc51f6`](https://github.com/primer/css/commit/a3bc51f6c4af0d45a9ce39f00c3cf3297b090067) Thanks [@simurai](https://github.com/simurai)! - Always break long `branch-name`s
68
-
69
- ## 19.7.1
70
-
71
- ### Patch Changes
72
-
73
- - [#2001](https://github.com/primer/css/pull/2001) [`47cec404`](https://github.com/primer/css/commit/47cec40472173b412df59e6990c0ac1b1ed43d04) Thanks [@jdanyow](https://github.com/jdanyow)! - Remove IE11 support in tooltip
74
-
75
- * [#1995](https://github.com/primer/css/pull/1995) [`557b100a`](https://github.com/primer/css/commit/557b100a77a4befe6d07fac14cb48b08bed18356) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Add narrow/regular/wide viewport range utilities
76
-
77
- - [#2000](https://github.com/primer/css/pull/2000) [`264a89a5`](https://github.com/primer/css/commit/264a89a51a75eefa6a371e6ad11518519cd98b36) Thanks [@khiga8](https://github.com/khiga8)! - More CSS updates to `Autocomplete`
78
-
79
- ## 19.7.0
80
-
81
- ### Minor Changes
82
-
83
- - [#1994](https://github.com/primer/css/pull/1994) [`69fe8c65`](https://github.com/primer/css/commit/69fe8c6512a3f0bbdbfdf7080b916a39173c2df9) Thanks [@khiga8](https://github.com/khiga8)! - Add support for inline, stack label in autocomplete
84
-
85
- ### Patch Changes
86
-
87
- - [#1991](https://github.com/primer/css/pull/1991) [`5e87effa`](https://github.com/primer/css/commit/5e87effa671b194e188f699a79b246bdf61bd191) Thanks [@simurai](https://github.com/simurai)! - Fix `btn-primary` in flash alerts
88
-
89
- ## 19.6.0
90
-
91
- ### Minor Changes
92
-
93
- - [#1989](https://github.com/primer/css/pull/1989) [`f544ef85`](https://github.com/primer/css/commit/f544ef8574a4d6e12cccf94d534ad66df3e9249a) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Make `pane` an optional region for PageLayout component
94
-
95
- ### Patch Changes
96
-
97
- - [#1988](https://github.com/primer/css/pull/1988) [`e3443f1a`](https://github.com/primer/css/commit/e3443f1a69ba5a23d3e3804bf4e22d384783c443) Thanks [@simurai](https://github.com/simurai)! - Fix color-fg utilities in links
98
-
99
- * [#1985](https://github.com/primer/css/pull/1985) [`c2bd6bc9`](https://github.com/primer/css/commit/c2bd6bc9bf90686f258af11c102097d7da000a5b) Thanks [@cheshire137](https://github.com/cheshire137)! - Adding .color-bg-transparent utility class
100
-
101
- ## 19.5.1
102
-
103
- ### Patch Changes
104
-
105
- - [#1983](https://github.com/primer/css/pull/1983) [`07bc069e`](https://github.com/primer/css/commit/07bc069ec0faae9c0e4530e5171e3346fa643a10) Thanks [@simurai](https://github.com/simurai)! - Bump `primer/primitives` to `^7.5.1`
106
-
107
- ## 19.5.0
108
-
109
- ### Minor Changes
110
-
111
- - [#1948](https://github.com/primer/css/pull/1948) [`6a83a92b`](https://github.com/primer/css/commit/6a83a92b4332d577cdd72eee084e3f2c41b588ee) Thanks [@simurai](https://github.com/simurai)! - Add `open` and `closed` color roles
112
-
113
- * [#1961](https://github.com/primer/css/pull/1961) [`a35a8bdc`](https://github.com/primer/css/commit/a35a8bdcc17906848fcb486842d2345db0441c7c) Thanks [@jonrohan](https://github.com/jonrohan)! - Default .PageLayout to display block
114
-
115
- ### Patch Changes
116
-
117
- - [#1954](https://github.com/primer/css/pull/1954) [`30f29d38`](https://github.com/primer/css/commit/30f29d383256a7d4023a859fdeee44471307159d) Thanks [@simurai](https://github.com/simurai)! - Fix `input-block` in `form-group`
118
-
119
- * [#1956](https://github.com/primer/css/pull/1956) [`39063461`](https://github.com/primer/css/commit/3906346182ed983d9725fd95da41b21424378b3e) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrading @primer/stylelint-config@12.3.2
120
-
121
- - [#1931](https://github.com/primer/css/pull/1931) [`e5c5312e`](https://github.com/primer/css/commit/e5c5312ec8bf139f6c94d2f70ceecd4b3cd9fd82) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Page layout api updates renaming spacing options in storybook
122
-
123
- * [#1950](https://github.com/primer/css/pull/1950) [`7c85c500`](https://github.com/primer/css/commit/7c85c500569fe6e1b29665c2eed37d58625ab06f) Thanks [@hectahertz](https://github.com/hectahertz)! - Fix sequence of content in Subhead
124
-
125
- - [#1942](https://github.com/primer/css/pull/1942) [`0450ccbb`](https://github.com/primer/css/commit/0450ccbb86104564c7d4038eb68989f370014fa1) Thanks [@reeceatkinson](https://github.com/reeceatkinson)! - Added line break to docs
126
-
127
- * [#1953](https://github.com/primer/css/pull/1953) [`3a91a29a`](https://github.com/primer/css/commit/3a91a29a822a28ea9679fbbb90250fc039057f23) Thanks [@hectahertz](https://github.com/hectahertz)! - Use `<h2>` instead of `<div>` on Subhead-heading docs
128
-
129
- - [#1949](https://github.com/primer/css/pull/1949) [`dab83198`](https://github.com/primer/css/commit/dab83198c3bf1c7e03826b8cd498b8c48c9a2869) Thanks [@heiskr](https://github.com/heiskr)! - Render headings inline when in a `<summary>`
130
-
131
- * [#1978](https://github.com/primer/css/pull/1978) [`a00e6bce`](https://github.com/primer/css/commit/a00e6bce01b368d9cb6da5ec2af1d833f4d785c1) Thanks [@langermank](https://github.com/langermank)! - Handle pointer-events on ActionList visuals
132
-
133
- - [#1977](https://github.com/primer/css/pull/1977) [`80bf9d9d`](https://github.com/primer/css/commit/80bf9d9dea6fe7fbb0837fea265ec95cbbbd75d6) Thanks [@jonrohan](https://github.com/jonrohan)! - [Bug Fix] Adding white-space nowrap to Labels
134
-
135
- ## 19.4.0
136
-
137
- ### Minor Changes
138
-
139
- - [#1937](https://github.com/primer/css/pull/1937) [`67f08009`](https://github.com/primer/css/commit/67f08009ef458088b9fda6267ab25ad6d0a514aa) Thanks [@langermank](https://github.com/langermank)! - TreeView single item nesting
140
-
141
- * [#1905](https://github.com/primer/css/pull/1905) [`50221a54`](https://github.com/primer/css/commit/50221a5486d28c54dc1f578b459addd867bd01d3) Thanks [@langermank](https://github.com/langermank)! - Refactors NavigationList to better handle accessibility. Backwards compatible for TreeView CSS.
142
-
143
- - [#1936](https://github.com/primer/css/pull/1936) [`c53ecdff`](https://github.com/primer/css/commit/c53ecdff5442cf4ac5da0d1e2ba45871ab662855) Thanks [@khiga8](https://github.com/khiga8)! - Deprecating `.tooltipped` CSS classes
144
-
145
- ### Patch Changes
146
-
147
- - [#1928](https://github.com/primer/css/pull/1928) [`0fb67895`](https://github.com/primer/css/commit/0fb6789555652860cfa5178b60433eb2c3d2575c) Thanks [@simurai](https://github.com/simurai)! - Fix `<sup><a>` from getting wrapped with `[ ]`
148
-
149
- ## 19.3.0
150
-
151
- ### Minor Changes
152
-
153
- - [#1876](https://github.com/primer/css/pull/1876) [`bcf447ab`](https://github.com/primer/css/commit/bcf447ab226e6043dd47c1fcc395ba104af866d4) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Add mono font stack to <samp> tag
154
-
155
- * [#1919](https://github.com/primer/css/pull/1919) [`21085f5c`](https://github.com/primer/css/commit/21085f5c6cc538b5014a47de76642554a4291cc6) Thanks [@hectahertz](https://github.com/hectahertz)! - Add blankslate classes to replace utilities
156
-
157
- ### Patch Changes
158
-
159
- - [#1892](https://github.com/primer/css/pull/1892) [`55bd498b`](https://github.com/primer/css/commit/55bd498b7357e86659ac574f0f745f7b420fb6d3) Thanks [@langermank](https://github.com/langermank)! - Patch: Fix ActionList--divided for label with inline description scenarios
160
-
161
- * [#1906](https://github.com/primer/css/pull/1906) [`f02d9a3e`](https://github.com/primer/css/commit/f02d9a3e4e86c2659a9f507995bcb90c5226e34e) Thanks [@jonrohan](https://github.com/jonrohan)! - Upgrading @primer/stylelint-config@12.3.0 and fixing violations
162
-
163
- - [#1908](https://github.com/primer/css/pull/1908) [`84581e96`](https://github.com/primer/css/commit/84581e96aee50ff3883907dfe1069701edd1c24a) Thanks [@simurai](https://github.com/simurai)! - Reduce size of `Label--inline`
164
-
165
- * [#1890](https://github.com/primer/css/pull/1890) [`74d0438b`](https://github.com/primer/css/commit/74d0438bd4dbaed447b553c5d3c8b945da282836) Thanks [@andrialexandrou](https://github.com/andrialexandrou)! - Adds --color-accent-emphasis and --color-fg-on-emphasis rules for Windows High Contrast Mode
166
-
167
- - [#1882](https://github.com/primer/css/pull/1882) [`4a06aba1`](https://github.com/primer/css/commit/4a06aba1d3f80bcc228ff4360d0e02d5ace158ff) Thanks [@tqwewe](https://github.com/tqwewe)! - Fix layout gutter none styles
168
-
169
- * [#1894](https://github.com/primer/css/pull/1894) [`d1adf595`](https://github.com/primer/css/commit/d1adf595308afb97f83c5ca172222944189a5961) Thanks [@simurai](https://github.com/simurai)! - Make `pagination` responsive by default
9
+ * [#1882](https://github.com/primer/css/pull/1882) [`4a06aba1`](https://github.com/primer/css/commit/4a06aba1d3f80bcc228ff4360d0e02d5ace158ff) Thanks [@tqwewe](https://github.com/tqwewe)! - Fix layout gutter none styles
170
10
 
171
11
  ## 19.2.0
172
12
 
@@ -421,7 +261,7 @@
421
261
 
422
262
  ### Patch Changes
423
263
 
424
- - [#1540](https://github.com/primer/css/pull/1540) [`6b6e89a8`](https://github.com/primer/css/commit/6b6e89a8bff2319ef75d25217dafc272a5e597f0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Use standard lifecycle milestones for statuses.
264
+ - [#1540](https://github.com/primer/css/pull/1540) [`6b6e89a8`](https://github.com/primer/css/commit/6b6e89a8bff2319ef75d25217dafc272a5e597f0) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Use standard lifecyle milestones for statuses.
425
265
 
426
266
  * [#1528](https://github.com/primer/css/pull/1528) [`303cacae`](https://github.com/primer/css/commit/303cacae77244a9e0de02b4caee2a8c01097aced) Thanks [@koddsson](https://github.com/koddsson)! - Convert package to a ES module
427
267
 
package/CONTRIBUTING.md CHANGED
@@ -58,15 +58,13 @@ Anyone can open a pull request on Primer CSS. You do not need to work at GitHub
58
58
  2. Configure and install the dependencies: `npm install`
59
59
  3. Create a new branch from main `git checkout -b my-branch-name`
60
60
  4. Make your changes and commit them.
61
- 5. Create a changeset for your changes: `npx changeset`
62
- - See [changesets/changesets](https://github.com/changesets/changesets) for more information.
63
- 6. Push your branch and open a pull request. Add a comment describing your proposed changes and request a review from `@primer/css-reviewers`.
64
- 7. Wait for CI tests to finish.
61
+ 5. Push your branch and open a pull request. Add a comment describing your proposed changes and request a review from `@primer/css-reviewers`.
62
+ 6. Wait for CI tests to finish.
65
63
  - If the tests pass, you should see a status check telling you which alpha version of `@primer/css` you can install with npm to test your work in other projects.
66
64
  - If the tests fail, review the logs and address any issues.
67
65
  - If the builds fail for any other reason (as they occasionally do), they may need to be manually restarted.
68
- 8. When CI tests pass, a new npm alpha release will be posted under the CI checks, you can use this npm version for testing in your project or with a GitHub site if you are staff.
69
- 9. Pat yourself on the back and wait for your pull request to be reviewed.
66
+ 7. When CI tests pass, a new npm alpha release will be posted under the CI checks, you can use this npm version for testing in your project or with a GitHub site if you are staff.
67
+ 8. Pat yourself on the back and wait for your pull request to be reviewed.
70
68
 
71
69
  Here are a few things you can do that will increase the likelihood of your pull request being accepted:
72
70
 
package/DEVELOP.md CHANGED
@@ -3,32 +3,29 @@
3
3
  If you've made it this far, **thank you**! We appreciate your contribution, and hope that this document helps you along the way. If you have any questions or problems, don't hesitate to [file an issue](https://github.com/primer/css/issues/new).
4
4
 
5
5
  ## Structure
6
-
7
6
  Primer CSS is published to [npm] as [@primer/css]. Each of Primer CSS's "modules" lives in a subfolder under `src/` with an `index.scss` in it. Generally speaking, the styles are divided into three primary themes:
8
7
 
9
- - **Core** styles (in `core/`) are common dependencies, which include support variables, native element and typography styles, buttons, navigation, tooltips, etc.
10
- - **Product** styles (in `product/`) are specific to github.com, and include components such as avatars, labels, markdown styles, popovers, and progress indicators.
11
- - **Marketing** styles (in `marketing/`) are specific to GitHub marketing efforts, including international and event-focused sites as well as the more design-heavy feature pages on github.com. Marketing styles include new colors and button styles, and extend the core typography and whitespace scales.
8
+ * **Core** styles (in `core/`) are common dependencies, which include support variables, native element and typography styles, buttons, navigation, tooltips, etc.
9
+ * **Product** styles (in `product/`) are specific to github.com, and include components such as avatars, labels, markdown styles, popovers, and progress indicators.
10
+ * **Marketing** styles (in `marketing/`) are specific to GitHub marketing efforts, including international and event-focused sites as well as the more design-heavy feature pages on github.com. Marketing styles include new colors and button styles, and extend the core typography and whitespace scales.
12
11
 
13
12
  ### Paths
14
-
15
13
  Here's what you need to know about how the files are structured in both git and in the published npm module:
16
14
 
17
- - In git, all of the SCSS source files live in the `src/` directory.
18
- - When published, all of the files in `src/` are "hoisted" to the package root so that you can import, say, utilities with:
15
+ * In git, all of the SCSS source files live in the `src/` directory.
16
+ * When published, all of the files in `src/` are "hoisted" to the package root so that you can import, say, utilities with:
19
17
 
20
- ```scss
21
- @import '@primer/css/utilities/index.scss';
22
- ```
18
+ ```scss
19
+ @import "@primer/css/utilities/index.scss";
20
+ ```
23
21
 
24
- - All bundle interdependencies within Primer CSS are defined as relative imports (e.g. with `../`), so everything should work fine as long as the `@primer/css` directory is in one of your Sass include paths (i.e. `node_modules`).
22
+ * All bundle interdependencies within Primer CSS are defined as relative imports (e.g. with `../`), so everything should work fine as long as the `@primer/css` directory is in one of your Sass include paths (i.e. `node_modules`).
25
23
 
26
- ## Install
27
24
 
25
+ ## Install
28
26
  Run `npm install` to install the npm dependencies.
29
27
 
30
28
  ## Docs site
31
-
32
29
  The Primer CSS docs are built with React using [Doctocat](https://primer.style/doctocat) and automatically deployed on every push to this repo with [Now]. You can run the server locally with:
33
30
 
34
31
  ```sh
@@ -38,43 +35,41 @@ npm start
38
35
  Then visit http://localhost:8000 to view the site.
39
36
 
40
37
  ### The docs directory
41
-
42
38
  The [docs directory](../docs/) contains all of the documentation files in our docs site. Files are nested in the `/content` folder.
43
39
 
44
- ### Code blocks
45
40
 
41
+ ### Code blocks
46
42
  All `html` fenced code blocks in `src/**/*.md` will be rendered as stories and listed under the relevant module's name in the left-hand nav. File changes should trigger a live reload automatically (after a brief delay).
47
43
 
48
44
  ## Storybook
49
45
 
50
- Primer CSS Storybook is used for designing and prototyping components. Stories are written in HTML and leverage the Storybook API for configuring conditional logic.
46
+ Primer CSS Storybook is used for designing and prototyping components. Stories are written in HTML and leverage the Storybook API for configuring conditional logic.
51
47
 
52
48
  ```sh
53
49
  npm run storybook
54
50
  ```
55
51
 
56
52
  ### The Storybook directory
57
-
58
53
  Storybook configuration files live in [.storybook](../docs/.storybook). Addons and additional global config can be added to [main.js](../docs/.storybook/main.js) or [preview.js](../docs/.storybook/preview.js)
59
54
 
60
55
  ### Stories
61
-
62
56
  Stories are individual `.jsx` or `.mdx` files that contain component HTML for prototyping, typically showcasing all possible variations of a component. Stories can be found in the [stories directory](../docs/src/stories/components) and are organized by component. Storybook will build and deploy a preview on any open Pull Request.
63
57
 
64
58
  ## Scripts
65
-
66
59
  Our [`package.json`](package.json) houses a collection of [run-scripts] that we use to maintain, test, build, and publish Primer CSS. Run `npm run <script>` with any of the following values for `<script>`:
67
60
 
68
- - `dist` runs `script/dist`, which creates CSS bundles of all the `index.scss` files in `src/`.
69
- - `check-links` runs a link checker on your local development server (`localhost:3000`, started with `npm start`).
70
- - `stylelint` lints the CSS source files.
71
- - `eslint` lints the JavaScript source files.
72
- - `start` runs the documentation site locally (alias: `dev`).
73
- - `test` runs our test suite.
74
- - `storybook` runs storybook local development server.
61
+ * `dist` runs `script/dist`, which creates CSS bundles of all the `index.scss` files in `src/`.
62
+ * `check-links` runs a link checker on your local development server (`localhost:3000`, started with `npm start`).
63
+ * `stylelint` lints the CSS source files.
64
+ * `eslint` lints the JavaScript source files.
65
+ * `now-build` and `now-start` are run on [Now] to build and start the docs site server. `now-test` runs them both in order.
66
+ * `start` runs the documentation site locally (alias: `dev`).
67
+ * `test` runs our test suite.
68
+ * `storybook` runs storybook local development server.
75
69
 
76
70
  The above list may not always be up-to-date. You can list all of the available scripts by calling `npm run` with no other arguments.
77
71
 
72
+
78
73
  [@primer/css]: https://www.npmjs.com/package/@primer/css
79
74
  [run-scripts]: https://docs.npmjs.com/cli/run-script
80
75
  [now]: https://zeit.co/now
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img width="300px" alt="" src="./docs/src/readme.png">
2
+ <img width="300px" src="./docs/src/readme.png">
3
3
  </p>
4
4
 
5
5
  <h1 align="center">Primer CSS</h1>
@@ -14,7 +14,7 @@
14
14
  <img alt="" src="https://github.com/primer/css/actions/workflows/ci.yml/badge.svg">
15
15
  </a>
16
16
  <a aria-label="contributors graph" href="https://github.com/primer/css/graphs/contributors">
17
- <img alt="" src="https://img.shields.io/github/contributors/primer/css.svg">
17
+ <img src="https://img.shields.io/github/contributors/primer/css.svg">
18
18
  </a>
19
19
  <a aria-label="last commit" href="https://github.com/primer/css/commits/main">
20
20
  <img alt="" src="https://img.shields.io/github/last-commit/primer/css.svg">
@@ -1,9 +1,10 @@
1
- // empty divider
1
+ // emtpy divider
2
2
 
3
3
  .ActionList-sectionDivider {
4
4
  // has children
5
5
  &:not(:empty) {
6
6
  display: flex;
7
+ // stylelint-disable-next-line primer/spacing
7
8
  padding: ($spacer-1 * 1.5) $spacer-2;
8
9
  font-size: $font-size-small;
9
10
  font-weight: $font-weight-bold;
@@ -13,7 +14,6 @@
13
14
 
14
15
  // no children
15
16
  &:empty {
16
- display: block;
17
17
  height: 1px;
18
18
  padding: 0;
19
19
  // stylelint-disable-next-line primer/spacing
@@ -22,12 +22,6 @@
22
22
  background: var(--color-action-list-item-inline-divider);
23
23
  border: 0;
24
24
  }
25
-
26
- .ActionList-sectionDivider-title {
27
- font-size: $font-size-small;
28
- font-weight: $font-weight-bold;
29
- color: var(--color-fg-muted);
30
- }
31
25
  }
32
26
 
33
27
  .ActionList-sectionDivider--filled {