@primer/css 22.0.2-rc.fee73cfa → 22.1.0-rc.0261d28b

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @primer/css
2
2
 
3
+ ## 22.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2907](https://github.com/primer/css/pull/2907) [`67109bd`](https://github.com/primer/css/commit/67109bda0dcd7e191c3071f5eb58006fdbe4e3c8) Thanks [@langermank](https://github.com/langermank)! - Change `contrast` input background to `bgColor-default`
8
+
3
9
  ## 22.0.2
4
10
 
5
11
  ### Patch Changes
@@ -224,7 +230,6 @@
224
230
  ### Major Changes
225
231
 
226
232
  - [#2403](https://github.com/primer/css/pull/2403) [`256affcf`](https://github.com/primer/css/commit/256affcf3404c97d3db199a0b3cf32d3b864627c) Thanks [@lukasoppermann](https://github.com/lukasoppermann)! - ## Removed DiffStat component
227
-
228
233
  - the diffStat component is removed from primer/css
229
234
  - the component is very specific to this use-case, it is not generic enough to be part of the primer design system and was thus chosen for removal
230
235
  - the component will be added to the github codebase directly so that it is still available
@@ -273,7 +278,6 @@
273
278
  ### Minor Changes
274
279
 
275
280
  - [`d7a4c343`](https://github.com/primer/css/commit/d7a4c343ab1bc0d7f55ff85d735c93d9825419ae) Thanks [@jonrohan](https://github.com/jonrohan)! - Importing more styles from Primer View Components
276
-
277
281
  - https://github.com/primer/view_components/pull/1587
278
282
  - https://github.com/primer/view_components/pull/1590
279
283
  - https://github.com/primer/view_components/pull/1592
@@ -865,7 +869,6 @@
865
869
  - [#1575](https://github.com/primer/css/pull/1575) [`c7ea6448`](https://github.com/primer/css/commit/c7ea6448c114065627299db7ba65418799d4a59b) Thanks [@jonrohan](https://github.com/jonrohan)! - Replacing deprecated variables with color v2 variables
866
870
 
867
871
  * [#1573](https://github.com/primer/css/pull/1573) [`386dfa01`](https://github.com/primer/css/commit/386dfa0145a64e2c6edbdf8ab09d9fc3f7151f6a) Thanks [@simurai](https://github.com/simurai)! - Improve the font stack on Windows
868
-
869
872
  - `Segoe UI Variable` -> `Segoe UI Variable Text`.
870
873
  - "Segoe UI Variable Text" seems to be the better option for a lot of text (markdown). In the future we might can consider having a UI and a "text" font stack.
871
874
  - Add `Meiryo` before `system-ui`.
package/CONTRIBUTING.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## Contributing
2
2
 
3
+ > [!WARNING]
4
+ > **This project is in KTLO mode!** New features, functionalities, or major enhancements are unlikely to be accepted. Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
5
+
3
6
  Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
4
7
 
5
8
  ## Using the issue tracker
package/DEVELOP.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Primer CSS Development
2
2
 
3
+ > [!WARNING]
4
+ > **This project is in KTLO mode!** New features, functionalities, or major enhancements are unlikely to be accepted. Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
5
+
3
6
  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
7
 
5
8
  ## Structure
package/README.md CHANGED
@@ -1,35 +1,15 @@
1
- <p align="center">
2
- <img width="300px" alt="" src="./docs/src/readme.png">
3
- </p>
1
+ # Primer CSS
2
+ The CSS implementation of GitHub's Primer Design System
4
3
 
5
- <h1 align="center">Primer CSS</h1>
4
+ [![npm package](https://img.shields.io/npm/v/@primer/css.svg)](https://www.npmjs.com/package/@primer/css)
5
+ [![build status](https://github.com/primer/css/actions/workflows/ci.yml/badge.svg)](https://github.com/primer/css/actions/workflows/ci.yml)
6
+ [![contributors graph](https://img.shields.io/github/contributors/primer/css.svg)](https://github.com/primer/css/graphs/contributors)
7
+ [![last commit](https://img.shields.io/github/last-commit/primer/css.svg)](https://github.com/primer/css/commits/main)
8
+ [![license](https://img.shields.io/github/license/primer/css.svg)](https://github.com/primer/css/blob/main/LICENSE)
6
9
 
7
- <p align="center">The CSS implementation of GitHub's Primer Design System</p>
8
-
9
- <p align="center">
10
- <a aria-label="npm package" href="https://www.npmjs.com/package/@primer/css">
11
- <img alt="" src="https://img.shields.io/npm/v/@primer/css.svg">
12
- </a>
13
- <a aria-label="build status" href="https://github.com/primer/css/actions/workflows/ci.yml">
14
- <img alt="" src="https://github.com/primer/css/actions/workflows/ci.yml/badge.svg">
15
- </a>
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">
18
- </a>
19
- <a aria-label="last commit" href="https://github.com/primer/css/commits/main">
20
- <img alt="" src="https://img.shields.io/github/last-commit/primer/css.svg">
21
- </a>
22
- <a aria-label="license" href="https://github.com/primer/css/blob/main/LICENSE">
23
- <img src="https://img.shields.io/github/license/primer/css.svg" alt="">
24
- </a>
25
- </p>
10
+ > :warning: **This project is in KTLO mode!** Use existing utility classes from this project where needed. For more complete patterns that include styling and markup, please use [primer/react](https://github.com/primer/react) or, if necessary, [primer/view_components](https://github.com/primer/view_components).
26
11
 
27
12
  ## Documentation
28
-
29
- > :warning: It is encouraged that you use [primer/react](https://github.com/primer/react) and [primer/view_components](https://github.com/primer/view_components) for styling and markup.
30
-
31
- > :warning: **The documentation of this repo is not maintained anymore**. Please raise any documentation-specific pull requests in [primer.style/design](https://github.com/primer/design/)
32
-
33
13
  Our documentation site lives at [primer.style/css](https://primer.style/css). You'll be able to find detailed documentation on getting started, all of the components, our theme, our principles, and more.
34
14
 
35
15
  ## Install
@@ -40,7 +20,7 @@ npm install --save @primer/css
40
20
  ```
41
21
 
42
22
  ## Usage
43
- The included source files are written in [Sass] using SCSS syntax. After [installing](#install) with npm, you can add your project's `node_modules` directory to your Sass [include paths](https://github.com/sass/node-sass#includepaths) (AKA [load paths](http://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/) in Ruby), then import it like this:
23
+ The included source files are written in [Sass] using SCSS syntax. Once installed, you can add your project's `node_modules` directory to your Sass [include paths](https://github.com/sass/node-sass#includepaths) (AKA [load paths](http://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/) in Ruby), then import it like this:
44
24
 
45
25
  ```scss
46
26
  @import "@primer/css/index.scss";
@@ -67,5 +47,4 @@ You can find docs about our release process in [RELEASING.md](RELEASING.md).
67
47
 
68
48
  [install-npm]: https://docs.npmjs.com/getting-started/installing-node
69
49
  [npm]: https://www.npmjs.com/
70
- [primer]: https://primer.style/
71
50
  [sass]: http://sass-lang.com/
@@ -7,7 +7,7 @@
7
7
  background-clip: padding-box;
8
8
  border-color: var(--borderColor-default, var(--color-border-default));
9
9
  // stylelint-disable-next-line primer/box-shadow
10
- box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
10
+ box-shadow: 0 0 18px rgb(0, 0, 0, 0.4);
11
11
 
12
12
  .Box-header {
13
13
  margin: 0;