website: bump deps to fix print styles (#12549)

* website: bump deps to fix print styles

* website: fix up print styles

* website: fix hashi stack menu selector
This commit is contained in:
Zachary Shilton 2021-12-03 09:54:34 -05:00 committed by GitHub
parent c0338b6d8b
commit 78bc024333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 123 additions and 54 deletions

View File

@ -16,7 +16,7 @@
"@hashicorp/react-alert-banner": "^7.0.1",
"@hashicorp/react-button": "^6.0.1",
"@hashicorp/react-code-block": "^4.1.5",
"@hashicorp/react-consent-manager": "^7.0.1",
"@hashicorp/react-consent-manager": "^7.1.0",
"@hashicorp/react-docs-page": "^14.4.2",
"@hashicorp/react-hashi-stack-menu": "^2.0.7",
"@hashicorp/react-head": "^3.1.2",
@ -26,7 +26,7 @@
"@hashicorp/react-product-downloads-page": "^2.5.2",
"@hashicorp/react-search": "^6.1.1",
"@hashicorp/react-section-header": "^5.0.4",
"@hashicorp/react-subnav": "^9.1.4",
"@hashicorp/react-subnav": "^9.2.2",
"@hashicorp/react-tabs": "^7.0.1",
"@hashicorp/react-vertical-text-block-list": "^7.0.0",
"next": "^11.1.2",
@ -2429,9 +2429,9 @@
}
},
"node_modules/@hashicorp/react-consent-manager": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-7.0.1.tgz",
"integrity": "sha512-ZkYk93F2JTDmXGC2Cu49rHrMX1qY42kX/zj53SWBhEHnjDG2L3QerSRFkbafoCCXcjhjEPIbnYwtOkmKk9k/yA==",
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-7.1.0.tgz",
"integrity": "sha512-Hxs58z80gbyfO2HpdyvQFB1PtXzazWICJnH5Kp1VRL2oQpJPeylG6jUsQ6K6a9kfdclZQjK1EeVKDZg2vVFrhA==",
"dependencies": {
"@hashicorp/react-button": "^6.0.0",
"@hashicorp/react-toggle": "^4.0.1",
@ -2440,6 +2440,7 @@
},
"peerDependencies": {
"@hashicorp/mktg-global-styles": ">=3.x",
"next": ">=11.x",
"react": ">=16.x"
}
},
@ -2765,9 +2766,9 @@
}
},
"node_modules/@hashicorp/react-subnav": {
"version": "9.1.4",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-9.1.4.tgz",
"integrity": "sha512-osbb+LzDwBRYp2IBHqjHpJXRIRFiDrMkRHw0k4DsAvb/3ZzUXD0EUqSXJGjjPxzC8m6/bsFXQnxcNUrFMshBZA==",
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-9.2.2.tgz",
"integrity": "sha512-IfOnJbzzSP+ko/aFM9OF1cRWp0iE6oNVuOqfxpGCK9Zd6n5DDMq5tv7vj+/W2+HDy0L63ZMK0lUc1FgLB6pHRg==",
"dependencies": {
"@hashicorp/mktg-logos": "^1.0.2",
"@hashicorp/platform-product-meta": "^0.1.0",
@ -2775,6 +2776,7 @@
"@hashicorp/react-inline-svg": "^6.0.3",
"@hashicorp/react-link-wrap": "^3.0.3",
"@reach/visually-hidden": "^0.16.0",
"camel-case": "^4.1.2",
"classnames": "^2.3.1",
"isomorphic-unfetch": "^3.1.0"
},
@ -3151,9 +3153,13 @@
"version": "11.1.2",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-11.1.2.tgz",
"integrity": "sha512-hZuwOlGOwBZADA8EyDYyjx3+4JGIGjSHDHWrmpI7g5rFmQNltjlbaefAbiU5Kk7j3BUSDwt30quJRFv3nyJQ0w==",
"cpu": ["arm64"],
"cpu": [
"arm64"
],
"optional": true,
"os": ["darwin"],
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
@ -3162,9 +3168,13 @@
"version": "11.1.2",
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-11.1.2.tgz",
"integrity": "sha512-PGOp0E1GisU+EJJlsmJVGE+aPYD0Uh7zqgsrpD3F/Y3766Ptfbe1lEPPWnRDl+OzSSrSrX1lkyM/Jlmh5OwNvA==",
"cpu": ["x64"],
"cpu": [
"x64"
],
"optional": true,
"os": ["darwin"],
"os": [
"darwin"
],
"engines": {
"node": ">= 10"
}
@ -3173,9 +3183,13 @@
"version": "11.1.2",
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-11.1.2.tgz",
"integrity": "sha512-YcDHTJjn/8RqvyJVB6pvEKXihDcdrOwga3GfMv/QtVeLphTouY4BIcEUfrG5+26Nf37MP1ywN3RRl1TxpurAsQ==",
"cpu": ["x64"],
"cpu": [
"x64"
],
"optional": true,
"os": ["linux"],
"os": [
"linux"
],
"engines": {
"node": ">= 10"
}
@ -3184,9 +3198,13 @@
"version": "11.1.2",
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-11.1.2.tgz",
"integrity": "sha512-e/pIKVdB+tGQYa1cW3sAeHm8gzEri/HYLZHT4WZojrUxgWXqx8pk7S7Xs47uBcFTqBDRvK3EcQpPLf3XdVsDdg==",
"cpu": ["x64"],
"cpu": [
"x64"
],
"optional": true,
"os": ["win32"],
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
@ -5754,6 +5772,15 @@
"node": ">=6"
}
},
"node_modules/camel-case": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
"integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
"dependencies": {
"pascal-case": "^3.1.2",
"tslib": "^2.0.3"
}
},
"node_modules/camelcase": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
@ -6318,7 +6345,9 @@
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
"integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
"engines": ["node >= 0.8"],
"engines": [
"node >= 0.8"
],
"peer": true,
"dependencies": {
"buffer-from": "^1.0.0",
@ -8991,7 +9020,9 @@
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
"hasInstallScript": true,
"optional": true,
"os": ["darwin"],
"os": [
"darwin"
],
"engines": {
"node": "^8.16.0 || ^10.6.0 || >=11.0.0"
}
@ -11581,6 +11612,14 @@
"node": ">=0.10.0"
}
},
"node_modules/lower-case": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
"integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
"dependencies": {
"tslib": "^2.0.3"
}
},
"node_modules/lowercase-keys": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
@ -12647,6 +12686,15 @@
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
},
"node_modules/no-case": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
"integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
"dependencies": {
"lower-case": "^2.0.2",
"tslib": "^2.0.3"
}
},
"node_modules/node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
@ -13528,6 +13576,15 @@
"node": ">= 0.8"
}
},
"node_modules/pascal-case": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
"integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
"dependencies": {
"no-case": "^3.0.4",
"tslib": "^2.0.3"
}
},
"node_modules/pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
@ -20659,7 +20716,9 @@
"deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.",
"hasInstallScript": true,
"optional": true,
"os": ["darwin"],
"os": [
"darwin"
],
"peer": true,
"dependencies": {
"bindings": "^1.5.0",
@ -23305,9 +23364,9 @@
}
},
"@hashicorp/react-consent-manager": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-7.0.1.tgz",
"integrity": "sha512-ZkYk93F2JTDmXGC2Cu49rHrMX1qY42kX/zj53SWBhEHnjDG2L3QerSRFkbafoCCXcjhjEPIbnYwtOkmKk9k/yA==",
"version": "7.1.0",
"resolved": "https://registry.npmjs.org/@hashicorp/react-consent-manager/-/react-consent-manager-7.1.0.tgz",
"integrity": "sha512-Hxs58z80gbyfO2HpdyvQFB1PtXzazWICJnH5Kp1VRL2oQpJPeylG6jUsQ6K6a9kfdclZQjK1EeVKDZg2vVFrhA==",
"requires": {
"@hashicorp/react-button": "^6.0.0",
"@hashicorp/react-toggle": "^4.0.1",
@ -23563,9 +23622,9 @@
}
},
"@hashicorp/react-subnav": {
"version": "9.1.4",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-9.1.4.tgz",
"integrity": "sha512-osbb+LzDwBRYp2IBHqjHpJXRIRFiDrMkRHw0k4DsAvb/3ZzUXD0EUqSXJGjjPxzC8m6/bsFXQnxcNUrFMshBZA==",
"version": "9.2.2",
"resolved": "https://registry.npmjs.org/@hashicorp/react-subnav/-/react-subnav-9.2.2.tgz",
"integrity": "sha512-IfOnJbzzSP+ko/aFM9OF1cRWp0iE6oNVuOqfxpGCK9Zd6n5DDMq5tv7vj+/W2+HDy0L63ZMK0lUc1FgLB6pHRg==",
"requires": {
"@hashicorp/mktg-logos": "^1.0.2",
"@hashicorp/platform-product-meta": "^0.1.0",
@ -23573,6 +23632,7 @@
"@hashicorp/react-inline-svg": "^6.0.3",
"@hashicorp/react-link-wrap": "^3.0.3",
"@reach/visually-hidden": "^0.16.0",
"camel-case": "^4.1.2",
"classnames": "^2.3.1",
"isomorphic-unfetch": "^3.1.0"
}
@ -25911,6 +25971,15 @@
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="
},
"camel-case": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz",
"integrity": "sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==",
"requires": {
"pascal-case": "^3.1.2",
"tslib": "^2.0.3"
}
},
"camelcase": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
@ -30392,6 +30461,14 @@
"signal-exit": "^3.0.0"
}
},
"lower-case": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz",
"integrity": "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==",
"requires": {
"tslib": "^2.0.3"
}
},
"lowercase-keys": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
@ -31220,6 +31297,15 @@
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
},
"no-case": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/no-case/-/no-case-3.0.4.tgz",
"integrity": "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==",
"requires": {
"lower-case": "^2.0.2",
"tslib": "^2.0.3"
}
},
"node-fetch": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
@ -31912,6 +31998,15 @@
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
"integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
},
"pascal-case": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/pascal-case/-/pascal-case-3.1.2.tgz",
"integrity": "sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==",
"requires": {
"no-case": "^3.0.4",
"tslib": "^2.0.3"
}
},
"pascalcase": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",

View File

@ -12,7 +12,7 @@
"@hashicorp/react-alert-banner": "^7.0.1",
"@hashicorp/react-button": "^6.0.1",
"@hashicorp/react-code-block": "^4.1.5",
"@hashicorp/react-consent-manager": "^7.0.1",
"@hashicorp/react-consent-manager": "^7.1.0",
"@hashicorp/react-docs-page": "^14.4.2",
"@hashicorp/react-hashi-stack-menu": "^2.0.7",
"@hashicorp/react-head": "^3.1.2",
@ -22,7 +22,7 @@
"@hashicorp/react-product-downloads-page": "^2.5.2",
"@hashicorp/react-search": "^6.1.1",
"@hashicorp/react-section-header": "^5.0.4",
"@hashicorp/react-subnav": "^9.1.4",
"@hashicorp/react-subnav": "^9.2.2",
"@hashicorp/react-tabs": "^7.0.1",
"@hashicorp/react-vertical-text-block-list": "^7.0.0",
"next": "^11.1.2",

View File

@ -2,9 +2,7 @@
@media print {
iframe,
.g-footer,
.g-mega-nav,
.g-product-subnav,
.g-subnav,
[class*='hashi-stack-menu'],
[aria-hidden='true'],
[id='__next-build-watcher'],
[id='edit-this-page'],
@ -229,27 +227,3 @@
}
}
}
/* @todo: move print styles to @hashicorp/react-global-styles/code-highlighting.css */
@media print {
.hljs {
& * {
color: inherit;
}
}
}
/* @todo: remove when working on website/components/docs-page/style.css */
@media print {
#p-docs {
& #inner {
overflow: visible;
width: auto;
& pre,
& code {
font-size: 0.844rem;
}
}
}
}