Skip to content

Commit d0ab8ba

Browse files
authored
Merge branch 'main' into invisible-button-hover
2 parents 27f1698 + b0544e2 commit d0ab8ba

File tree

6 files changed

+40
-42
lines changed

6 files changed

+40
-42
lines changed

.changeset/nasty-bananas-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": patch
3+
---
4+
5+
Reformat `rgba()` colors for `.btn-mktg`

docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@primer/primitives": "7.1.1",
2121
"@svgr/webpack": "5.5.0",
2222
"autoprefixer": "10.4.0",
23-
"babel-preset-gatsby": "^2.0.0",
23+
"babel-preset-gatsby": "^2.2.0",
2424
"chroma-js": "^2.1.2",
2525
"clsx": "^1.1.1",
2626
"core-js": "^3.19.2",
@@ -29,7 +29,7 @@
2929
"gatsby-plugin-sass": "3.2.0",
3030
"gatsby-plugin-svgr": "2.1.0",
3131
"path": "0.12.7",
32-
"postcss": "8.3.11",
32+
"postcss": "8.4.4",
3333
"postcss-import": "14.0.2",
3434
"postcss-load-config": "3.1.0",
3535
"postcss-loader": "4.3.0",

docs/yarn.lock

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,14 +1193,7 @@
11931193
core-js-pure "^3.19.0"
11941194
regenerator-runtime "^0.13.4"
11951195

1196-
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.0", "@babel/runtime@^7.14.8", "@babel/runtime@^7.15.4", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
1197-
version "7.16.0"
1198-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.0.tgz#e27b977f2e2088ba24748bf99b5e1dece64e4f0b"
1199-
integrity sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw==
1200-
dependencies:
1201-
regenerator-runtime "^0.13.4"
1202-
1203-
"@babel/runtime@^7.13.10":
1196+
"@babel/runtime@^7.0.0", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.0", "@babel/runtime@^7.14.8", "@babel/runtime@^7.15.4", "@babel/runtime@^7.2.0", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2":
12041197
version "7.16.3"
12051198
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5"
12061199
integrity sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==
@@ -5113,10 +5106,10 @@ babel-preset-gatsby@^0.12.3:
51135106
gatsby-core-utils "^1.10.1"
51145107
gatsby-legacy-polyfills "^0.7.1"
51155108

5116-
babel-preset-gatsby@^2.0.0:
5117-
version "2.0.0"
5118-
resolved "https://registry.yarnpkg.com/babel-preset-gatsby/-/babel-preset-gatsby-2.0.0.tgz#215e4fede2d16906d7f91a2572b0fa029813e45d"
5119-
integrity sha512-zq4lt0HB9EM6k5k5PQr9sRbidaCQHRlQk80NbbO6K74IZgcn5bNPMWz3o+81ogvQd6ouof5eCVxygEIZyzTdqw==
5109+
babel-preset-gatsby@^2.2.0:
5110+
version "2.2.0"
5111+
resolved "https://registry.yarnpkg.com/babel-preset-gatsby/-/babel-preset-gatsby-2.2.0.tgz#7d819c704b5d8c2a3d54e5352cea4785305323f8"
5112+
integrity sha512-SFlilnVwNFVEwbgz0vsLe3ckCN6PW0XUvSNJlnzkuClKSx9BcPItNXRQtpYKkVHA4W1XZX5Qm9NaIOflP2i9tw==
51205113
dependencies:
51215114
"@babel/plugin-proposal-class-properties" "^7.14.0"
51225115
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5"
@@ -5131,8 +5124,8 @@ babel-preset-gatsby@^2.0.0:
51315124
babel-plugin-dynamic-import-node "^2.3.3"
51325125
babel-plugin-macros "^2.8.0"
51335126
babel-plugin-transform-react-remove-prop-types "^0.4.24"
5134-
gatsby-core-utils "^3.0.0"
5135-
gatsby-legacy-polyfills "^2.0.0"
5127+
gatsby-core-utils "^3.2.0"
5128+
gatsby-legacy-polyfills "^2.2.0"
51365129

51375130
babel-preset-jest@^24.9.0:
51385131
version "24.9.0"
@@ -9118,18 +9111,18 @@ gatsby-core-utils@^1.10.1:
91189111
tmp "^0.2.1"
91199112
xdg-basedir "^4.0.0"
91209113

9121-
gatsby-core-utils@^3.0.0:
9122-
version "3.0.0"
9123-
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-3.0.0.tgz#5a0fccd9118acb874dd64324fcc3c1b407a5c16e"
9124-
integrity sha512-MEQAgP+/ddDTOjcfRhyZenLfr6q3nyh01muI6QTgz0qAFsbS50lZh9SbczgpuKnb6qiST1KR0OUIYTaBFXfB2g==
9114+
gatsby-core-utils@^3.2.0:
9115+
version "3.2.0"
9116+
resolved "https://registry.yarnpkg.com/gatsby-core-utils/-/gatsby-core-utils-3.2.0.tgz#4dbf67f016c27345fc4a8f3c140ef9fcd9d2918b"
9117+
integrity sha512-gPz02QD1kOGQmu49TZL8Fdo9rX8QBsA7XID0oXyIkZqkK80Tm1Uq1pOOfPE3cWSMEkzc71M79iKISCntk/wNuw==
91259118
dependencies:
91269119
"@babel/runtime" "^7.15.4"
91279120
ci-info "2.0.0"
91289121
configstore "^5.0.1"
91299122
file-type "^16.5.3"
91309123
fs-extra "^10.0.0"
91319124
got "^11.8.2"
9132-
node-object-hash "^2.3.9"
9125+
node-object-hash "^2.3.10"
91339126
proper-lockfile "^4.1.2"
91349127
tmp "^0.2.1"
91359128
xdg-basedir "^4.0.0"
@@ -9148,10 +9141,10 @@ gatsby-legacy-polyfills@^0.7.1:
91489141
dependencies:
91499142
core-js-compat "^3.6.5"
91509143

9151-
gatsby-legacy-polyfills@^2.0.0:
9152-
version "2.0.0"
9153-
resolved "https://registry.yarnpkg.com/gatsby-legacy-polyfills/-/gatsby-legacy-polyfills-2.0.0.tgz#83d9b8806d8d9a432ead98bf52ba09d883b32fb9"
9154-
integrity sha512-/zjwMYecVfb3Q+TPi16IjrN21Hgdz4ftRaL45x8Y0rcJNaLAT06dbJmpLkdbVxOGvRklGqMNRG19rBDl6nxLTw==
9144+
gatsby-legacy-polyfills@^2.2.0:
9145+
version "2.2.0"
9146+
resolved "https://registry.yarnpkg.com/gatsby-legacy-polyfills/-/gatsby-legacy-polyfills-2.2.0.tgz#08b81a5c8eee0a10d8acc78c350776f42af1da00"
9147+
integrity sha512-4WICOoxdsfjfVK369m/fjcTvneUC0noTvdFwWNSItfKnCau4MGNPyXJRP74xgfOIC/ST3KasO6XFdTnGdlWy0A==
91559148
dependencies:
91569149
"@babel/runtime" "^7.15.4"
91579150
core-js-compat "3.9.0"
@@ -13838,7 +13831,7 @@ node-notifier@^5.4.2:
1383813831
shellwords "^0.1.1"
1383913832
which "^1.3.0"
1384013833

13841-
node-object-hash@^2.0.0, node-object-hash@^2.3.9:
13834+
node-object-hash@^2.0.0, node-object-hash@^2.3.10:
1384213835
version "2.3.10"
1384313836
resolved "https://registry.yarnpkg.com/node-object-hash/-/node-object-hash-2.3.10.tgz#4b0c1a3a8239e955f0db71f8e00b38b5c0b33992"
1384413837
integrity sha512-jY5dPJzw6NHd/KPSfPKJ+IHoFS81/tJ43r34ZeNMXGzCOM8jwQDCD12HYayKIB6MuznrnqIYy2e891NA2g0ibA==
@@ -15274,14 +15267,14 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.0.2, postcss-value-parser@^
1527415267
resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb"
1527515268
integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==
1527615269

15277-
postcss@8.3.11:
15278-
version "8.3.11"
15279-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.11.tgz#c3beca7ea811cd5e1c4a3ec6d2e7599ef1f8f858"
15280-
integrity sha512-hCmlUAIlUiav8Xdqw3Io4LcpA1DOt7h3LSTAC4G6JGHFFaWzI6qvFt9oilvl8BmkbBRX1IhM90ZAmpk68zccQA==
15270+
postcss@8.4.4:
15271+
version "8.4.4"
15272+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.4.tgz#d53d4ec6a75fd62557a66bb41978bf47ff0c2869"
15273+
integrity sha512-joU6fBsN6EIer28Lj6GDFoC/5yOZzLCfn0zHAn/MYXI7aPt4m4hK5KC5ovEZXy+lnCjmYIbQWngvju2ddyEr8Q==
1528115274
dependencies:
1528215275
nanoid "^3.1.30"
1528315276
picocolors "^1.0.0"
15284-
source-map-js "^0.6.2"
15277+
source-map-js "^1.0.1"
1528515278

1528615279
postcss@^6.0.1, postcss@^6.0.23:
1528715280
version "6.0.23"
@@ -17457,10 +17450,10 @@ source-list-map@^2.0.0:
1745717450
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
1745817451
integrity sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==
1745917452

17460-
source-map-js@^0.6.2:
17461-
version "0.6.2"
17462-
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-0.6.2.tgz#0bb5de631b41cfbda6cfba8bd05a80efdfd2385e"
17463-
integrity sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==
17453+
source-map-js@^1.0.1:
17454+
version "1.0.1"
17455+
resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf"
17456+
integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA==
1746417457

1746517458
source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
1746617459
version "0.5.3"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"storybook": "cd docs && yarn && yarn storybook"
3636
},
3737
"dependencies": {
38-
"@primer/primitives": "^7.1.0"
38+
"@primer/primitives": "^7.2.0"
3939
},
4040
"devDependencies": {
4141
"@changesets/changelog-github": "0.4.2",

src/marketing/buttons/button.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
white-space: nowrap;
1414
vertical-align: middle;
1515
user-select: none;
16-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%), var(--color-mktg-btn-bg) !important;
16+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%), var(--color-mktg-btn-bg) !important;
1717
border: 0;
1818
// stylelint-disable-next-line primer/borders
1919
border-radius: 0.375rem;
@@ -29,7 +29,7 @@
2929
z-index: -1;
3030
content: '';
3131
// stylelint-disable-next-line primer/colors
32-
background: linear-gradient(180deg, rgba(255 255 255 / 0.15) 0%, rgba(255 255 255 / 0) 100%) !important;
32+
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%) !important;
3333
border-radius: inherit;
3434
opacity: 0;
3535
opacity: 0;

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -965,10 +965,10 @@
965965
"@nodelib/fs.scandir" "2.1.5"
966966
fastq "^1.6.0"
967967

968-
"@primer/primitives@^7.1.0":
969-
version "7.1.1"
970-
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.1.1.tgz#46edb7f06fbe8809ebe2822bc692fc6c74dba98c"
971-
integrity sha512-+Gwo89YK1OFi6oubTlah/zPxxzMNaMLy+inECAYI646KIFdzzhAsKWb3z5tSOu5Ff7no4isRV64rWfMSKLZclw==
968+
"@primer/primitives@^7.2.0":
969+
version "7.2.0"
970+
resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-7.2.0.tgz#049fc6d2fef20ea7fa517e583671aa0a8a26e9e9"
971+
integrity sha512-7HkPAn7gnCcKPfDrqJc9OCUttPwBcoJRj2JR78obUbCkSfRV4I7cZiMS8tf9rYJ9HV69u+km8ab2Jrf4eOnVBg==
972972

973973
"@primer/stylelint-config@12.1.1":
974974
version "12.1.1"

0 commit comments

Comments
 (0)