Skip to content

Commit

Permalink
Bump primitives v7.11.10 (#2439)
Browse files Browse the repository at this point in the history
* bump

* Create fair-horses-roll.md

* bump

* add plugin

* remove test

* Rebuild lock

* fix docs dep

* Update fair-horses-roll.md

---------

Co-authored-by: Jon Rohan <[email protected]>
  • Loading branch information
langermank and jonrohan authored May 31, 2023
1 parent 616c893 commit fe17ba0
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/fair-horses-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": patch
---

Bump primitives v7.11.10
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@primer/gatsby-theme-doctocat": "4.4.0",
"@primer/octicons": "17.0.0",
"@primer/octicons-react": "17.0.0",
"@primer/primitives": "7.11.7",
"@primer/primitives": "7.11.10",
"@primer/view-components": "^0.0.114",
"@svgr/webpack": "5.5.0",
"autoprefixer": "10.4.2",
Expand Down
15 changes: 4 additions & 11 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2284,12 +2284,10 @@
resolved "https://registry.npmjs.org/@primer/primitives/-/primitives-7.1.1.tgz"
integrity sha512-+Gwo89YK1OFi6oubTlah/zPxxzMNaMLy+inECAYI646KIFdzzhAsKWb3z5tSOu5Ff7no4isRV64rWfMSKLZclw==

"@primer/[email protected]":
version "7.11.7"
resolved "https://registry.npmjs.org/@primer/primitives/-/primitives-7.11.7.tgz"
integrity sha512-8PDEn3yj8oE/9B7o5hwjD0LSy7xz9xZ3gGTPWi/u0MxHZJ/fxERgxnBG21eCLKZ19KjhIb5AsmSQyFbGR5urYQ==
dependencies:
markdown-table-ts "^1.0.3"
"@primer/[email protected]":
version "7.11.10"
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.11.10.tgz#9572358f1209dcd2ce3f1f0de12188dffae038e5"
integrity sha512-KwChxyp4qbLojZx5Nz8RUElM9K+ObzZWvzkYEu76TC4qEsqb9wW7n78jyov5WhUh5+qj2Qac1iCsPfeTQG5YBw==

"@primer/[email protected]":
version "7.8.4"
Expand Down Expand Up @@ -13682,11 +13680,6 @@ markdown-escapes@^1.0.0:
resolved "https://registry.npmjs.org/markdown-escapes/-/markdown-escapes-1.0.4.tgz"
integrity sha512-8z4efJYk43E0upd0NbVXwgSTQs6cT3T06etieCMEg7dRbzCbxUCK/GHlX8mhHRDcp+OLlHkPKsvqQTCvsRl2cg==

markdown-table-ts@^1.0.3:
version "1.0.3"
resolved "https://registry.npmjs.org/markdown-table-ts/-/markdown-table-ts-1.0.3.tgz"
integrity sha512-lYrp7FXmBqpmGmsEF92WnSukdgYvLm15FPIODZOx9+3nobkxJxjBYcszqZf5VqTjBtISPSNC7zjU9o3zwpL6AQ==

markdown-table@^1.1.0:
version "1.1.3"
resolved "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"storybook": "cd docs && yarn && yarn storybook"
},
"dependencies": {
"@primer/primitives": "^7.11.7",
"@primer/primitives": "^7.11.10",
"@primer/view-components": "^0.1.0"
},
"devDependencies": {
Expand Down Expand Up @@ -70,6 +70,7 @@
"postcss-load-config": "4.0.1",
"postcss-scss": "4.0.5",
"postcss-simple-vars": "7.0.1",
"postcss-custom-properties-fallback": "^1.0.2",
"prettier": "2.8.8",
"semver": "7.3.8",
"stylelint": "14.15.0",
Expand Down
8 changes: 7 additions & 1 deletion postcss.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ const autoprefixer = require('autoprefixer')
const sass = require('@csstools/postcss-sass')
const scss = require('postcss-scss')
const scssImport = require('postcss-import')
const {join} = require('path')
const { join } = require('path')
const importedJSONFromPrimitives = require('./node_modules/@primer/primitives/tokens-next-private/fallbacks/color-fallbacks.json')

module.exports = {
map: {
Expand All @@ -18,5 +19,10 @@ module.exports = {
outputStyle: process.env.CSS_MINIFY === '0' ? 'expanded' : 'compressed'
}),
autoprefixer,
require('postcss-custom-properties-fallback')({
importFrom: {
customProperties: importedJSONFromPrimitives
},
}),
]
}
31 changes: 29 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@
resolved "https://registry.yarnpkg.com/@primer/behaviors/-/behaviors-1.3.4.tgz#04498185ad4504d85081d4288c74dc3f0e507c8b"
integrity sha512-j6PhkDD1IdL9xrlKbUQ3YEM74B7Fgr1mIZJ6JaYJjM1Mvdutd/nBouM8SnwFZdBBbS+ZRfGhnx3plr833Pvf1Q==

"@primer/primitives@^7.11.7":
"@primer/primitives@^7.11.10":
version "7.11.10"
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.11.10.tgz#9572358f1209dcd2ce3f1f0de12188dffae038e5"
integrity sha512-KwChxyp4qbLojZx5Nz8RUElM9K+ObzZWvzkYEu76TC4qEsqb9wW7n78jyov5WhUh5+qj2Qac1iCsPfeTQG5YBw==
Expand Down Expand Up @@ -1738,7 +1738,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==

color-name@~1.1.4:
color-name@^1.1.4, color-name@~1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
Expand Down Expand Up @@ -3286,6 +3286,11 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.9:
gopd "^1.0.1"
has-tostringtag "^1.0.0"

is-url-superb@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/is-url-superb/-/is-url-superb-4.0.0.tgz#b54d1d2499bb16792748ac967aa3ecb41a33a8c2"
integrity sha512-GI+WjezhPPcbM+tqE9LnmsY5qqjwHzTvjJ36wxYX5ujNXefSUJ/T17r5bqDV8yLhcgB59KTPNOc9O9cmHTPWsA==

is-vendor-prefixed@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/is-vendor-prefixed/-/is-vendor-prefixed-4.0.0.tgz#1058f8a2a46d1f08a09f68680092dea3a24dbb22"
Expand Down Expand Up @@ -4432,6 +4437,14 @@ [email protected]:
postcss-selector-parser "^6.0.9"
postcss-value-parser "^4.2.0"

postcss-custom-properties-fallback@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/postcss-custom-properties-fallback/-/postcss-custom-properties-fallback-1.0.2.tgz#b2121ffeed5a5f1ad826789d1bceb57ead7b30fc"
integrity sha512-UrPr99bo03c1iX4iqjBBYo3W+EsXfxrozp2LNvRN34Y95n/7R2RupcMhGlc+C/RQxknDXiP+bptyhmb8nFYzeQ==
dependencies:
postcss-value-parser "^4.2.0"
postcss-values-parser "^6.0.2"

postcss-custom-properties@^12.1.6:
version "12.1.11"
resolved "https://registry.yarnpkg.com/postcss-custom-properties/-/postcss-custom-properties-12.1.11.tgz#d14bb9b3989ac4d40aaa0e110b43be67ac7845cf"
Expand Down Expand Up @@ -4511,6 +4524,15 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==

postcss-values-parser@^6.0.2:
version "6.0.2"
resolved "https://registry.yarnpkg.com/postcss-values-parser/-/postcss-values-parser-6.0.2.tgz#636edc5b86c953896f1bb0d7a7a6615df00fb76f"
integrity sha512-YLJpK0N1brcNJrs9WatuJFtHaV9q5aAOj+S4DI5S7jgHlRfm0PIbDCAFRYMQD5SHq7Fy6xsDhyutgS0QOAs0qw==
dependencies:
color-name "^1.1.4"
is-url-superb "^4.0.0"
quote-unquote "^1.0.0"

[email protected]:
version "8.4.5"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.5.tgz#bae665764dfd4c6fcc24dc0fdf7e7aa00cc77f95"
Expand Down Expand Up @@ -4608,6 +4630,11 @@ quick-lru@^4.0.1:
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==

quote-unquote@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/quote-unquote/-/quote-unquote-1.0.0.tgz#67a9a77148effeaf81a4d428404a710baaac8a0b"
integrity sha512-twwRO/ilhlG/FIgYeKGFqyHhoEhqgnKVkcmqMKi2r524gz3ZbDTcyFt38E9xjJI2vT+KbRNHVbnJ/e0I25Azwg==

react-is@^18.0.0:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
Expand Down

0 comments on commit fe17ba0

Please sign in to comment.