@primer/css 0.0.0-2021986475 → 0.0.0-20220107003629

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 (209) hide show
  1. package/CHANGELOG.md +129 -8
  2. package/DEVELOP.md +15 -0
  3. package/actionlist/action-list-item-divider.scss +42 -0
  4. package/actionlist/action-list-item.scss +535 -0
  5. package/actionlist/action-list-tree.scss +92 -0
  6. package/actionlist/action-list-variables.scss +8 -0
  7. package/actionlist/action-list.scss +38 -0
  8. package/actionlist/index.scss +6 -0
  9. package/alerts/flash.scss +9 -0
  10. package/alerts/index.scss +2 -2
  11. package/autocomplete/autocomplete.scss +1 -1
  12. package/autocomplete/index.scss +3 -3
  13. package/autocomplete/suggester.scss +9 -1
  14. package/avatars/avatar-stack.scss +2 -1
  15. package/avatars/circle-badge.scss +1 -1
  16. package/avatars/index.scss +5 -5
  17. package/base/base.scss +1 -0
  18. package/base/index.scss +6 -7
  19. package/base/normalize.scss +1 -1
  20. package/blankslate/index.scss +2 -3
  21. package/box/box-overlay.scss +40 -0
  22. package/box/index.scss +3 -2
  23. package/branch-name/index.scss +2 -2
  24. package/breadcrumb/breadcrumb.scss +1 -1
  25. package/breadcrumb/index.scss +2 -2
  26. package/buttons/button-group.scss +3 -2
  27. package/buttons/button.scss +14 -14
  28. package/buttons/index.scss +4 -4
  29. package/buttons/misc.scss +14 -10
  30. package/color-modes/index.scss +8 -7
  31. package/color-modes/native.scss +1 -0
  32. package/color-modes/themes/dark.scss +2 -3
  33. package/color-modes/themes/dark_colorblind.scss +3 -4
  34. package/color-modes/themes/dark_dimmed.scss +2 -3
  35. package/color-modes/themes/dark_high_contrast.scss +2 -3
  36. package/color-modes/themes/light.scss +2 -3
  37. package/color-modes/themes/light_colorblind.scss +3 -4
  38. package/color-modes/themes/light_high_contrast.scss +6 -0
  39. package/core/index.scss +15 -14
  40. package/deprecations.json +6 -4
  41. package/dist/actionlist.css +2 -0
  42. package/dist/actionlist.css.map +1 -0
  43. package/dist/actionlist.js +1 -0
  44. package/dist/alerts.css +1 -1
  45. package/dist/alerts.css.map +1 -1
  46. package/dist/autocomplete.css +1 -1
  47. package/dist/autocomplete.css.map +1 -1
  48. package/dist/avatars.css +1 -1
  49. package/dist/avatars.css.map +1 -1
  50. package/dist/base.css +1 -1
  51. package/dist/base.css.map +1 -1
  52. package/dist/blankslate.css.map +1 -1
  53. package/dist/box.css +1 -1
  54. package/dist/box.css.map +1 -1
  55. package/dist/branch-name.css.map +1 -1
  56. package/dist/breadcrumb.css.map +1 -1
  57. package/dist/buttons.css +1 -1
  58. package/dist/buttons.css.map +1 -1
  59. package/dist/color-modes.css +1 -1
  60. package/dist/color-modes.css.map +1 -1
  61. package/dist/core.css +1 -1
  62. package/dist/core.css.map +1 -1
  63. package/dist/deprecations.json +6 -4
  64. package/dist/dropdown.css.map +1 -1
  65. package/dist/forms.css +1 -1
  66. package/dist/forms.css.map +1 -1
  67. package/dist/header.css.map +1 -1
  68. package/dist/labels.css +1 -1
  69. package/dist/labels.css.map +1 -1
  70. package/dist/layout.css +1 -1
  71. package/dist/layout.css.map +1 -1
  72. package/dist/links.css.map +1 -1
  73. package/dist/loaders.css.map +1 -1
  74. package/dist/markdown.css.map +1 -1
  75. package/dist/marketing-buttons.css +1 -1
  76. package/dist/marketing-buttons.css.map +1 -1
  77. package/dist/marketing-links.css +2 -0
  78. package/dist/marketing-links.css.map +1 -0
  79. package/dist/marketing-links.js +1 -0
  80. package/dist/marketing-type.css.map +1 -1
  81. package/dist/marketing-utilities.css +1 -1
  82. package/dist/marketing-utilities.css.map +1 -1
  83. package/dist/marketing.css +1 -1
  84. package/dist/marketing.css.map +1 -1
  85. package/dist/meta.json +172 -256
  86. package/dist/navigation.css.map +1 -1
  87. package/dist/pagination.css +1 -1
  88. package/dist/pagination.css.map +1 -1
  89. package/dist/popover.css +1 -1
  90. package/dist/popover.css.map +1 -1
  91. package/dist/primer.css +4 -4
  92. package/dist/primer.css.map +1 -1
  93. package/dist/product.css +1 -1
  94. package/dist/product.css.map +1 -1
  95. package/dist/progress.css.map +1 -1
  96. package/dist/select-menu.css +1 -1
  97. package/dist/select-menu.css.map +1 -1
  98. package/dist/stats/actionlist.json +1 -0
  99. package/dist/stats/alerts.json +1 -1
  100. package/dist/stats/autocomplete.json +1 -1
  101. package/dist/stats/avatars.json +1 -1
  102. package/dist/stats/base.json +1 -1
  103. package/dist/stats/box.json +1 -1
  104. package/dist/stats/buttons.json +1 -1
  105. package/dist/stats/color-modes.json +1 -1
  106. package/dist/stats/core.json +1 -1
  107. package/dist/stats/forms.json +1 -1
  108. package/dist/stats/labels.json +1 -1
  109. package/dist/stats/layout.json +1 -1
  110. package/dist/stats/marketing-buttons.json +1 -1
  111. package/dist/stats/marketing-links.json +1 -0
  112. package/dist/stats/marketing-utilities.json +1 -1
  113. package/dist/stats/marketing.json +1 -1
  114. package/dist/stats/pagination.json +1 -1
  115. package/dist/stats/popover.json +1 -1
  116. package/dist/stats/primer.json +1 -1
  117. package/dist/stats/product.json +1 -1
  118. package/dist/stats/select-menu.json +1 -1
  119. package/dist/stats/subhead.json +1 -1
  120. package/dist/stats/toasts.json +1 -1
  121. package/dist/stats/utilities.json +1 -1
  122. package/dist/subhead.css +1 -1
  123. package/dist/subhead.css.map +1 -1
  124. package/dist/timeline.css.map +1 -1
  125. package/dist/toasts.css +1 -1
  126. package/dist/toasts.css.map +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 +62 -62
  132. package/dropdown/dropdown.scss +4 -4
  133. package/dropdown/index.scss +2 -2
  134. package/forms/form-control.scss +22 -8
  135. package/forms/form-group.scss +2 -2
  136. package/forms/form-select.scss +2 -2
  137. package/forms/form-validation.scss +9 -9
  138. package/forms/index.scss +7 -7
  139. package/forms/radio-group.scss +19 -0
  140. package/header/index.scss +2 -2
  141. package/index.scss +4 -4
  142. package/labels/counters.scss +1 -1
  143. package/labels/index.scss +7 -8
  144. package/labels/labels.scss +23 -4
  145. package/layout/grid.scss +1 -1
  146. package/layout/index.scss +7 -7
  147. package/layout/layout.scss +7 -11
  148. package/layout/mixins.scss +30 -4
  149. package/layout/page-layout.scss +380 -0
  150. package/links/index.scss +2 -2
  151. package/links/link.scss +1 -1
  152. package/loaders/index.scss +2 -2
  153. package/loaders/loaders.scss +1 -1
  154. package/markdown/footnotes.scss +1 -1
  155. package/markdown/images.scss +2 -2
  156. package/markdown/index.scss +9 -9
  157. package/markdown/lists.scss +3 -3
  158. package/markdown/markdown-body.scss +4 -4
  159. package/marketing/buttons/button.scss +102 -52
  160. package/marketing/buttons/index.scss +2 -2
  161. package/marketing/index.scss +5 -4
  162. package/marketing/links/index.scss +3 -0
  163. package/marketing/links/link.scss +50 -0
  164. package/marketing/support/index.scss +2 -3
  165. package/marketing/support/variables.scss +4 -5
  166. package/marketing/type/index.scss +2 -2
  167. package/marketing/type/typography.scss +26 -23
  168. package/marketing/utilities/animations.scss +42 -0
  169. package/marketing/utilities/index.scss +5 -5
  170. package/marketing/utilities/layout.scss +1 -1
  171. package/navigation/filter-list.scss +2 -2
  172. package/navigation/index.scss +7 -7
  173. package/navigation/menu.scss +3 -3
  174. package/navigation/sidenav.scss +5 -5
  175. package/navigation/subnav.scss +2 -2
  176. package/navigation/tabnav.scss +2 -2
  177. package/navigation/underline-nav.scss +2 -2
  178. package/package.json +19 -19
  179. package/pagination/index.scss +2 -2
  180. package/pagination/pagination.scss +5 -5
  181. package/popover/index.scss +2 -2
  182. package/popover/popover.scss +43 -5
  183. package/postcss.config.cjs +1 -1
  184. package/product/index.scss +17 -17
  185. package/progress/index.scss +2 -2
  186. package/select-menu/index.scss +2 -2
  187. package/select-menu/select-menu.scss +6 -6
  188. package/stylelint.config.cjs +2 -11
  189. package/subhead/index.scss +2 -2
  190. package/subhead/subhead.scss +6 -0
  191. package/support/index.scss +7 -7
  192. package/support/mixins/color-modes.scss +3 -0
  193. package/support/mixins/layout.scss +5 -5
  194. package/support/mixins/misc.scss +1 -1
  195. package/support/mixins/typography.scss +3 -2
  196. package/support/variables/layout.scss +8 -19
  197. package/support/variables/typography.scss +1 -1
  198. package/table-object/index.scss +1 -1
  199. package/timeline/index.scss +2 -2
  200. package/timeline/timeline-item.scss +1 -1
  201. package/toasts/index.scss +2 -2
  202. package/toasts/toasts.scss +0 -4
  203. package/tooltips/index.scss +2 -2
  204. package/tooltips/tooltips.scss +1 -1
  205. package/truncate/index.scss +2 -2
  206. package/utilities/details.scss +1 -1
  207. package/utilities/index.scss +12 -12
  208. package/utilities/visibility-display.scss +3 -3
  209. package/marketing/support/mixins.scss +0 -66
package/CHANGELOG.md CHANGED
@@ -1,6 +1,127 @@
1
1
  # @primer/css
2
2
 
3
- ## 0.0.0-2021986475
3
+ ## 0.0.0-20220107003629
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1737](https://github.com/primer/css/pull/1737) [`6b4089d8`](https://github.com/primer/css/commit/6b4089d8b37174ca061762c56b5e4134a54cf4ef) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Adds new PageLayout component CSS with Storybook documentation
8
+
9
+ ### Patch Changes
10
+
11
+ - [#1855](https://github.com/primer/css/pull/1855) [`8f2e7534`](https://github.com/primer/css/commit/8f2e7534ecbdb3d0e773d60c725b55dc4bb263e2) Thanks [@simurai](https://github.com/simurai)! - Bump primer/primitives to `7.4.0`
12
+
13
+ * [#1869](https://github.com/primer/css/pull/1869) [`868f61a1`](https://github.com/primer/css/commit/868f61a199df14862922d52905de66cdb1e1c192) Thanks [@jdanyow](https://github.com/jdanyow)! - Minor bugfix for AvatarStack. Removing the box-shadow from the AvatarStack-body on hover.
14
+
15
+ - Fake entry to force publishing
16
+
17
+ ## 19.1.1
18
+
19
+ ### Patch Changes
20
+
21
+ - [#1827](https://github.com/primer/css/pull/1827) [`69e1fc53`](https://github.com/primer/css/commit/69e1fc539e4bb2fdf78d34a18fc591ebdfddd2f5) Thanks [@simurai](https://github.com/simurai)! - Support fractional viewport sizes for `max-width` media queries
22
+
23
+ * [#1803](https://github.com/primer/css/pull/1803) [`c46fe918`](https://github.com/primer/css/commit/c46fe9186efbcf6e4a482685529bdb0bda28aa9f) Thanks [@langermank](https://github.com/langermank)! - - Adds ActionList tree-view specific CSS
24
+ - Minor bug fixes for ActionList default
25
+
26
+ - [#1827](https://github.com/primer/css/pull/1827) [`69e1fc53`](https://github.com/primer/css/commit/69e1fc539e4bb2fdf78d34a18fc591ebdfddd2f5) Thanks [@simurai](https://github.com/simurai)! - Support fractional viewport sizes for the `hide` utilities
27
+
28
+ ## 19.1.0
29
+
30
+ ### Minor Changes
31
+
32
+ - [#1759](https://github.com/primer/css/pull/1759) [`74724ce7`](https://github.com/primer/css/commit/74724ce7c72b1cb540a9ef3d845169f1df17b55e) Thanks [@langermank](https://github.com/langermank)! - Remove `popover` responsive hack
33
+
34
+ * [#1807](https://github.com/primer/css/pull/1807) [`13a4654f`](https://github.com/primer/css/commit/13a4654fa0854accfaabbbd2f21d2e0a1c90442d) Thanks [@enstyled](https://github.com/enstyled)! - Marketing: Add link components
35
+ Marketing: Add animated arrow utility
36
+ Marketing: Document button components with arrows
37
+
38
+ ### Patch Changes
39
+
40
+ - [#1780](https://github.com/primer/css/pull/1780) [`8e9ba62d`](https://github.com/primer/css/commit/8e9ba62d30ed10c012b99dd998751df01ad6aa99) Thanks [@langermank](https://github.com/langermank)! - ActionList followup
41
+
42
+ * [#1805](https://github.com/primer/css/pull/1805) [`99537d31`](https://github.com/primer/css/commit/99537d317f04ff5474a076ab96d3ea315b2181e2) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Fix local dev (revert webpack 5.5.0 → 6.0.0)
43
+
44
+ - [#1781](https://github.com/primer/css/pull/1781) [`4d8dcf24`](https://github.com/primer/css/commit/4d8dcf24bc9e0732a9a2f34c94f6bcad7d3382dd) Thanks [@simurai](https://github.com/simurai)! - Reformat `rgba()` colors for `.btn-mktg`
45
+
46
+ * [#1768](https://github.com/primer/css/pull/1768) [`4abb1af9`](https://github.com/primer/css/commit/4abb1af95b9b3c8c38512fa5e1e4fae9e7d01f4f) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Marketing: Add disabled states for buttons (and tweak hover)
47
+
48
+ - [#1792](https://github.com/primer/css/pull/1792) [`b1c43f1f`](https://github.com/primer/css/commit/b1c43f1f8d9b07b58b275665ca69abd5d4f7a5fc) Thanks [@simurai](https://github.com/simurai)! - Use `counter-border` for LHC
49
+
50
+ * [#1808](https://github.com/primer/css/pull/1808) [`ee27583f`](https://github.com/primer/css/commit/ee27583f594248bd44122ea5dc81b12382c02b09) Thanks [@manuelpuyol](https://github.com/manuelpuyol)! - Add hover and active states to btn-invisible
51
+
52
+ - [#1818](https://github.com/primer/css/pull/1818) [`22c29e7a`](https://github.com/primer/css/commit/22c29e7a8b1b6a0df1dd61d400cc0dd132e0c909) Thanks [@vdepizzol](https://github.com/vdepizzol)! - [Layout component] Avoid resizing `main` while loading
53
+
54
+ ## 19.0.0
55
+
56
+ ### Major Changes
57
+
58
+ - [#1716](https://github.com/primer/css/pull/1716) [`9b97dc8f`](https://github.com/primer/css/commit/9b97dc8fec28e44d8619aff6da636ecd8e48daf9) Thanks [@tobiasahlin](https://github.com/tobiasahlin)! - Update marketing buttons (including color mode support)
59
+
60
+ ### Minor Changes
61
+
62
+ - [#1756](https://github.com/primer/css/pull/1756) [`ece7a3e6`](https://github.com/primer/css/commit/ece7a3e68c65252960b41d6df1b8ff64cb33c93f) Thanks [@heiskr](https://github.com/heiskr)! - Update mark tag to use background-color: var(--color-attention-subtle);
63
+
64
+ * [#1754](https://github.com/primer/css/pull/1754) [`3838e174`](https://github.com/primer/css/commit/3838e1743aa63bacf0ca241c2a3c4983ba92c5e6) Thanks [@simurai](https://github.com/simurai)! - Add `Box--overlay` styles
65
+
66
+ - [#1755](https://github.com/primer/css/pull/1755) [`1714778a`](https://github.com/primer/css/commit/1714778af72f5647894fca9561c56dfbccac62df) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating primer/primitives@7.1.0 and adding Light High Contrast theme
67
+
68
+ ### Patch Changes
69
+
70
+ - [#1746](https://github.com/primer/css/pull/1746) [`9e6b5f56`](https://github.com/primer/css/commit/9e6b5f5671ab60e3a9d452f516fb7b38173f0135) Thanks [@simurai](https://github.com/simurai)! - Remove `Label` bg hack
71
+
72
+ ## 18.2.0
73
+
74
+ ### Minor Changes
75
+
76
+ - [#1738](https://github.com/primer/css/pull/1738) [`dfe73db1`](https://github.com/primer/css/commit/dfe73db19556c4de8f57c9e610705af0a4d9f0f5) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Update `Layout`'s sidebar width values.
77
+
78
+ * [#1657](https://github.com/primer/css/pull/1657) [`e7543009`](https://github.com/primer/css/commit/e754300989a4e762091a957edd324b26682b104a) Thanks [@langermank](https://github.com/langermank)! - ActionList Component: Primer CSS Implementation. Adding a new component `ActionList` to learn more checkout the docs [https://primer.style/css/components/action-list](https://primer.style/css/components/action-list).
79
+
80
+ ### Patch Changes
81
+
82
+ - [#1731](https://github.com/primer/css/pull/1731) [`832e9988`](https://github.com/primer/css/commit/832e99886df66ea5860d725517aeb9d5f178dd58) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/primitives@6.1.0
83
+
84
+ ## 18.1.0
85
+
86
+ ### Minor Changes
87
+
88
+ - [#1694](https://github.com/primer/css/pull/1694) [`b0e1687a`](https://github.com/primer/css/commit/b0e1687a562a194ed178fd2dd35588ff5da40847) Thanks [@simurai](https://github.com/simurai)! - Add more Octicon icon support to components
89
+
90
+ * [#1711](https://github.com/primer/css/pull/1711) [`bc3b94d2`](https://github.com/primer/css/commit/bc3b94d26f08f65d3a4938bafa1b988585f35764) Thanks [@simurai](https://github.com/simurai)! - Add new color `Label`s
91
+
92
+ ### Patch Changes
93
+
94
+ - [#1710](https://github.com/primer/css/pull/1710) [`6a058ecb`](https://github.com/primer/css/commit/6a058ecbaf7edac6fce4a0d56b4aca46ac6cd4fa) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating [@primer/primitives@6.0.0](https://github.com/primer/primitives/releases/tag/v6.0.0)
95
+
96
+ * [#1712](https://github.com/primer/css/pull/1712) [`bc502033`](https://github.com/primer/css/commit/bc50203324ba03d4ece7ec6182c185a695626ffb) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/stylelint-config to 12.1.0
97
+
98
+ - [#1708](https://github.com/primer/css/pull/1708) [`f7c44c35`](https://github.com/primer/css/commit/f7c44c35f8085f2b793581a901ecb22c5174ef6a) Thanks [@langermank](https://github.com/langermank)! - Storybook: add Label stories
99
+
100
+ * [#1690](https://github.com/primer/css/pull/1690) [`af5a3ae8`](https://github.com/primer/css/commit/af5a3ae82668d6d04af8c3465302980dcf062cc4) Thanks [@simurai](https://github.com/simurai)! - Update `Subhead` actions
101
+
102
+ - [#1707](https://github.com/primer/css/pull/1707) [`a997790b`](https://github.com/primer/css/commit/a997790b69f0f3bb5c7a2dfc97c5d5c743bb6a38) Thanks [@maximedegreve](https://github.com/maximedegreve)! - Fix for disabled Safari inputs
103
+
104
+ * [#1693](https://github.com/primer/css/pull/1693) [`c1ca19d4`](https://github.com/primer/css/commit/c1ca19d4f071a9b12172e4a13bdb96c52a200d47) Thanks [@jasonmacgowan](https://github.com/jasonmacgowan)! - Fix light-theme attr reference in theme docs
105
+
106
+ - [#1689](https://github.com/primer/css/pull/1689) [`257f68f6`](https://github.com/primer/css/commit/257f68f6539539ab809fbdb4351aefa57173e044) Thanks [@adityatheoctocatdev](https://github.com/adityatheoctocatdev)! - Update all Toast variant icons to use `var(--color-fg-on-emphasis)`
107
+
108
+ The only visible change is in the `warning` variant, previously using `var(--color-fg-default)`
109
+
110
+ ## 18.0.2
111
+
112
+ ### Patch Changes
113
+
114
+ - [#1680](https://github.com/primer/css/pull/1680) [`f013be66`](https://github.com/primer/css/commit/f013be66db59d21d7e2315303b5582169c59c479) Thanks [@privatenumber](https://github.com/privatenumber)! - Fixing broken close span tag in the docs.
115
+
116
+ * [#1677](https://github.com/primer/css/pull/1677) [`cdb0faa6`](https://github.com/primer/css/commit/cdb0faa606e6fb35ea4a85dd3866bbb33131b76c) Thanks [@simurai](https://github.com/simurai)! - Lower contrast for disabled text
117
+
118
+ ## 18.0.1
119
+
120
+ ### Patch Changes
121
+
122
+ - [#1663](https://github.com/primer/css/pull/1663) [`87b0b1d4`](https://github.com/primer/css/commit/87b0b1d4c91959c284bd53a2009a182dc9ef9b6e) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing the duplicate deprecation backgrounds
123
+
124
+ ## 18.0.0
4
125
 
5
126
  ### Major Changes
6
127
 
@@ -16,7 +137,7 @@
16
137
 
17
138
  * [#1617](https://github.com/primer/css/pull/1617) [`e47324fa`](https://github.com/primer/css/commit/e47324faa436e892b8621a6dac1fcb2cbad3cdf1) Thanks [@jonrohan](https://github.com/jonrohan)! - Removing `<kbd>` import from markdown package. Going forward you'll need to include `@primer/css/base/kbd.scss` directly.
18
139
 
19
- - [#1630](https://github.com/primer/css/pull/1630) [`ab3897cb`](https://github.com/primer/css/commit/ab3897cba89f390bf2a9488c642995f28c27bde1) Thanks [@simurai](https://github.com/simurai)! - Update utilities
140
+ - [#1630](https://github.com/primer/css/pull/1630) [`5f7bb45c`](https://github.com/primer/css/commit/5f7bb45c2172393b2f014442067d95b3145c7136) Thanks [@simurai](https://github.com/simurai)! - Update utilities
20
141
 
21
142
  * [#1599](https://github.com/primer/css/pull/1599) [`13de16c7`](https://github.com/primer/css/commit/13de16c7d6787d221216d8ff21afccf6f73f4221) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove break-word from utilities
22
143
 
@@ -34,17 +155,17 @@
34
155
 
35
156
  ### Patch Changes
36
157
 
37
- - Fake entry to force publishing
158
+ - [#1628](https://github.com/primer/css/pull/1628) [`ce197c9f`](https://github.com/primer/css/commit/ce197c9ff18cedd842893186953b68805eed637d) Thanks [@edokoa](https://github.com/edokoa)! - Update flash alert icons
38
159
 
39
- * [#1628](https://github.com/primer/css/pull/1628) [`ce197c9f`](https://github.com/primer/css/commit/ce197c9ff18cedd842893186953b68805eed637d) Thanks [@edokoa](https://github.com/edokoa)! - Update flash alert icons
160
+ * [#1629](https://github.com/primer/css/pull/1629) [`54d3068b`](https://github.com/primer/css/commit/54d3068bd628f771aacae6b1ce269a5a2cc2d8a1) Thanks [@jdanyow](https://github.com/jdanyow)! - remove remaining color-border-primary refs
40
161
 
41
- - [#1629](https://github.com/primer/css/pull/1629) [`54d3068b`](https://github.com/primer/css/commit/54d3068bd628f771aacae6b1ce269a5a2cc2d8a1) Thanks [@jdanyow](https://github.com/jdanyow)! - remove remaining color-border-primary refs
162
+ - [#1631](https://github.com/primer/css/pull/1631) [`5f3689b9`](https://github.com/primer/css/commit/5f3689b907163f7be9e78abb9fc762978beda06d) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/stylelint-config and @primer/primitives to 5.0
42
163
 
43
- * [#1631](https://github.com/primer/css/pull/1631) [`5f3689b9`](https://github.com/primer/css/commit/5f3689b907163f7be9e78abb9fc762978beda06d) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/stylelint-config and @primer/primitives to 5.0
164
+ * [#1659](https://github.com/primer/css/pull/1659) [`d32e42f9`](https://github.com/primer/css/commit/d32e42f9ca0ca4eef546d190171cd9e5b4ec8f3d) Thanks [@jonrohan](https://github.com/jonrohan)! - Rename protanopia themes to colorblind.
44
165
 
45
- - [#1659](https://github.com/primer/css/pull/1659) [`d32e42f9`](https://github.com/primer/css/commit/d32e42f9ca0ca4eef546d190171cd9e5b4ec8f3d) Thanks [@jonrohan](https://github.com/jonrohan)! - Rename protanopia themes to colorblind.
166
+ - [#1658](https://github.com/primer/css/pull/1658) [`0ed0307b`](https://github.com/primer/css/commit/0ed0307b7b79ae59a898c3e8b5e1c9bd2dcd4a7d) Thanks [@koddsson](https://github.com/koddsson)! - Increase the z-index value for the details dialog overlay.
46
167
 
47
- * [#1658](https://github.com/primer/css/pull/1658) [`0ed0307b`](https://github.com/primer/css/commit/0ed0307b7b79ae59a898c3e8b5e1c9bd2dcd4a7d) Thanks [@koddsson](https://github.com/koddsson)! - Increase the z-index value for the details dialog overlay.
168
+ * [#1661](https://github.com/primer/css/pull/1661) [`ebb573ff`](https://github.com/primer/css/commit/ebb573ff09a5ea4eef01e0ccbb7213defaa95321) Thanks [@simurai](https://github.com/simurai)! - Update bg deprecations
48
169
 
49
170
  ## 17.11.0
50
171
 
package/DEVELOP.md CHANGED
@@ -41,6 +41,20 @@ The [docs directory](../docs/) contains all of the documentation files in our do
41
41
  ### Code blocks
42
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).
43
43
 
44
+ ## Storybook
45
+
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.
47
+
48
+ ```sh
49
+ npm run storybook
50
+ ```
51
+
52
+ ### The Storybook directory
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)
54
+
55
+ ### Stories
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.
57
+
44
58
  ## Scripts
45
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>`:
46
60
 
@@ -51,6 +65,7 @@ Our [`package.json`](package.json) houses a collection of [run-scripts] that we
51
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.
52
66
  * `start` runs the documentation site locally (alias: `dev`).
53
67
  * `test` runs our test suite.
68
+ * `storybook` runs storybook local development server.
54
69
 
55
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.
56
71
 
@@ -0,0 +1,42 @@
1
+ // emtpy divider
2
+
3
+ .ActionList-sectionDivider {
4
+ // has children
5
+ &:not(:empty) {
6
+ display: flex;
7
+ // stylelint-disable-next-line primer/spacing
8
+ padding: ($spacer-1 * 1.5) $spacer-2;
9
+ font-size: $font-size-small;
10
+ font-weight: $font-weight-bold;
11
+ color: var(--color-fg-muted);
12
+ flex-direction: column;
13
+ }
14
+
15
+ // no children
16
+ &:empty {
17
+ height: 1px;
18
+ padding: 0;
19
+ // stylelint-disable-next-line primer/spacing
20
+ margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
21
+ list-style: none;
22
+ background: var(--color-action-list-item-inline-divider);
23
+ border: 0;
24
+ }
25
+ }
26
+
27
+ .ActionList-sectionDivider--filled {
28
+ margin: $spacer-2 ($spacer-2 * -1);
29
+ background: var(--color-canvas-subtle);
30
+ border-top: $border-width $border-style var(--color-action-list-item-inline-divider);
31
+ border-bottom: $border-width $border-style var(--color-action-list-item-inline-divider);
32
+
33
+ // if no children, treat as divider
34
+ &:empty {
35
+ height: $spacer-2;
36
+ box-sizing: border-box;
37
+ }
38
+
39
+ &:first-child {
40
+ margin-top: 0;
41
+ }
42
+ }