@primer/css 18.0.0-rc.f9f1e4a1 → 18.0.1

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
+ ## 18.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
3
9
  ## 18.0.0
4
10
 
5
11
  ### Major Changes
@@ -16,7 +22,9 @@
16
22
 
17
23
  * [#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
24
 
19
- - [#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
25
+ - [#1630](https://github.com/primer/css/pull/1630) [`5f7bb45c`](https://github.com/primer/css/commit/5f7bb45c2172393b2f014442067d95b3145c7136) Thanks [@simurai](https://github.com/simurai)! - Update utilities
26
+
27
+ * [#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
20
28
 
21
29
  ### Minor Changes
22
30
 
@@ -38,6 +46,12 @@
38
46
 
39
47
  - [#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
40
48
 
49
+ * [#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.
50
+
51
+ - [#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.
52
+
53
+ * [#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
54
+
41
55
  ## 17.11.0
42
56
 
43
57
  ### Minor Changes
@@ -1,9 +1,9 @@
1
1
  // All themes
2
2
 
3
3
  @import "./themes/light.scss";
4
- @import "./themes/light_protanopia.scss";
4
+ @import "./themes/light_colorblind.scss";
5
5
  @import "./themes/dark.scss";
6
6
  @import "./themes/dark_dimmed.scss";
7
7
  @import "./themes/dark_high_contrast.scss";
8
- @import "./themes/dark_protanopia.scss";
8
+ @import "./themes/dark_colorblind.scss";
9
9
  @import "./native.scss";
@@ -2,6 +2,6 @@
2
2
 
3
3
  @import "@primer/primitives/dist/scss/colors/_dark_protanopia.scss";
4
4
 
5
- @include color-mode-theme(dark_protanopia) {
5
+ @include color-mode-theme(dark_colorblind) {
6
6
  @include primer-colors-dark_protanopia;
7
7
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  @import "@primer/primitives/dist/scss/colors/_light_protanopia.scss";
4
4
 
5
- @include color-mode-theme(light_protanopia) {
5
+ @include color-mode-theme(light_colorblind) {
6
6
  @include primer-colors-light_protanopia;
7
7
  }
package/deprecations.json CHANGED
@@ -20,21 +20,19 @@
20
20
  "color-border-secondary": "color-border-muted",
21
21
  "color-border-tertiary": "color-border-default",
22
22
  "color-border-inverse": null,
23
- "color-border-info": "color-border-accent",
24
- "color-border-warning": "color-border-attention",
23
+ "color-border-info": "color-border-accent-emphasis",
24
+ "color-border-warning": "color-border-attention-emphasis",
25
25
  "color-bg-canvas": "color-bg-default",
26
- "color-bg-canvas-inverse": "color-bg-neutral-emphasis",
26
+ "color-bg-canvas-inverse": "color-bg-emphasis",
27
27
  "color-bg-canvas-inset": "color-bg-inset",
28
28
  "color-bg-primary": "color-bg-default",
29
29
  "color-bg-secondary": "color-bg-subtle",
30
30
  "color-bg-tertiary": "color-bg-subtle",
31
- "color-bg-info": "color-bg-accent-subtle",
31
+ "color-bg-info": "color-bg-accent",
32
32
  "color-bg-info-inverse": "color-bg-accent-emphasis",
33
- "color-bg-danger": "color-bg-danger-subtle",
34
33
  "color-bg-danger-inverse": "color-bg-danger-emphasis",
35
- "color-bg-success": "color-bg-success-subtle",
36
34
  "color-bg-success-inverse": "color-bg-success-emphasis",
37
- "color-bg-warning": "color-bg-attention-subtle",
35
+ "color-bg-warning": "color-bg-attention",
38
36
  "color-bg-warning-inverse": "color-bg-attention-emphasis",
39
37
  "text-inherit": "color-fg-inherit",
40
38
  "centered": "mx-auto",