From c562977522170dea478b2f587e2fd65fe8462bd4 Mon Sep 17 00:00:00 2001 From: Zachary Shilton <4624598+zchsh@users.noreply.github.com> Date: Fri, 3 Dec 2021 11:51:49 -0500 Subject: [PATCH] website: fix print styles by bumping deps (#12894) * website: fix print styles by bumping deps * website: remove old highlight js prints style code * fix: hashi-stack-menu selector --- website/package-lock.json | 273 ++++++++++++++++++++++++++++++-------- website/package.json | 4 +- website/pages/print.css | 13 +- 3 files changed, 219 insertions(+), 71 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index dd57b658e..e39be99a4 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -18,7 +18,7 @@ "@hashicorp/platform-util": "^0.1.0", "@hashicorp/react-alert-banner": "^7.0.1", "@hashicorp/react-button": "^6.0.1", - "@hashicorp/react-consent-manager": "^7.0.1", + "@hashicorp/react-consent-manager": "^7.1.0", "@hashicorp/react-docs-page": "^14.4.2", "@hashicorp/react-featured-slider": "^5.0.1", "@hashicorp/react-hashi-stack-menu": "^2.0.7", @@ -29,7 +29,7 @@ "@hashicorp/react-markdown-page": "^1.4.3", "@hashicorp/react-product-downloads-page": "^2.5.2", "@hashicorp/react-section-header": "^5.0.4", - "@hashicorp/react-subnav": "^9.1.4", + "@hashicorp/react-subnav": "^9.2.2", "@hashicorp/react-text-splits": "^3.2.7", "@hashicorp/react-use-cases": "^5.0.0", "@hashicorp/react-vertical-text-block-list": "^7.0.0", @@ -1385,9 +1385,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", @@ -1396,6 +1396,7 @@ }, "peerDependencies": { "@hashicorp/mktg-global-styles": ">=3.x", + "next": ">=11.x", "react": ">=16.x" } }, @@ -1707,9 +1708,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", @@ -1717,6 +1718,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" }, @@ -2617,9 +2619,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" } @@ -2628,9 +2634,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" } @@ -2639,9 +2649,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" } @@ -2650,9 +2664,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" } @@ -5466,6 +5484,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": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -6088,7 +6115,9 @@ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", "devOptional": true, - "engines": ["node >= 0.8"], + "engines": [ + "node >= 0.8" + ], "peer": true, "dependencies": { "buffer-from": "^1.0.0", @@ -7420,129 +7449,193 @@ "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.13.4.tgz", "integrity": "sha512-elDJt+jNyoHFId0/dKsuVYUPke3EcquIyUwzJCH17a3ERglN3A9aMBI5zbz+xNZ+FbaDNdpn0RaJHCFLbZX+fA==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["android"] + "os": [ + "android" + ] }, "node_modules/esbuild-darwin-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.13.4.tgz", "integrity": "sha512-zJQGyHRAdZUXlRzbN7W+7ykmEiGC+bq3Gc4GxKYjjWTgDRSEly98ym+vRNkDjXwXYD3gGzSwvH35+MiHAtWvLA==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["darwin"] + "os": [ + "darwin" + ] }, "node_modules/esbuild-darwin-arm64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.13.4.tgz", "integrity": "sha512-r8oYvAtqSGq8HNTZCAx4TdLE7jZiGhX9ooGi5AQAey37MA6XNaP8ZNlw9OCpcgpx3ryU2WctXwIqPzkHO7a8dg==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["darwin"] + "os": [ + "darwin" + ] }, "node_modules/esbuild-freebsd-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.13.4.tgz", "integrity": "sha512-u9DRGkn09EN8+lCh6z7FKle7awi17PJRBuAKdRNgSo5ZrH/3m+mYaJK2PR2URHMpAfXiwJX341z231tSdVe3Yw==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["freebsd"] + "os": [ + "freebsd" + ] }, "node_modules/esbuild-freebsd-arm64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.13.4.tgz", "integrity": "sha512-q3B2k68Uf6gfjATjcK16DqxvjqRQkHL8aPoOfj4op+lSqegdXvBacB1d8jw8PxbWJ8JHpdTLdAVUYU80kotQXA==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["freebsd"] + "os": [ + "freebsd" + ] }, "node_modules/esbuild-linux-32": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.13.4.tgz", "integrity": "sha512-UUYJPHSiKAO8KoN3Ls/iZtgDLZvK5HarES96aolDPWZnq9FLx4dIHM/x2z4Rxv9IYqQ/DxlPoE2Co1UPBIYYeA==", - "cpu": ["ia32"], + "cpu": [ + "ia32" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-linux-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.13.4.tgz", "integrity": "sha512-+RnohAKiiUW4UHLGRkNR1AnENW1gCuDWuygEtd4jxTNPIoeC7lbXGor7rtgjj9AdUzFgOEvAXyNNX01kJ8NueQ==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-linux-arm": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.13.4.tgz", "integrity": "sha512-BH5gKve4jglS7UPSsfwHSX79I5agC/lm4eKoRUEyo8lwQs89frQSRp2Xup+6SFQnxt3md5EsKcd2Dbkqeb3gPA==", - "cpu": ["arm"], + "cpu": [ + "arm" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-linux-arm64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.13.4.tgz", "integrity": "sha512-+A188cAdd6QuSRxMIwRrWLjgphQA0LDAQ/ECVlrPVJwnx+1i64NjDZivoqPYLOTkSPIKntiWwMhhf0U5/RrPHQ==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-linux-mips64le": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.13.4.tgz", "integrity": "sha512-0xkwtPaUkG5xMTFGaQPe1AadSe5QAiQuD4Gix1O9k5Xo/U8xGIkw9UFUTvfEUeu71vFb6ZgsIacfP1NLoFjWNw==", - "cpu": ["mips64el"], + "cpu": [ + "mips64el" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-linux-ppc64le": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.13.4.tgz", "integrity": "sha512-E1+oJPP7A+j23GPo3CEpBhGwG1bni4B8IbTA3/3rvzjURwUMZdcN3Fhrz24rnjzdLSHmULtOE4VsbT42h1Om4Q==", - "cpu": ["ppc64"], + "cpu": [ + "ppc64" + ], "optional": true, - "os": ["linux"] + "os": [ + "linux" + ] }, "node_modules/esbuild-openbsd-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.13.4.tgz", "integrity": "sha512-xEkI1o5HYxDzbv9jSox0EsDxpwraG09SRiKKv0W8pH6O3bt+zPSlnoK7+I7Q69tkvONkpIq5n2o+c55uq0X7cw==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["openbsd"] + "os": [ + "openbsd" + ] }, "node_modules/esbuild-sunos-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.13.4.tgz", "integrity": "sha512-bjXUMcODMnB6hQicLBBmmnBl7OMDyVpFahKvHGXJfDChIi5udiIRKCmFUFIRn+AUAKVlfrofRKdyPC7kBsbvGQ==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["sunos"] + "os": [ + "sunos" + ] }, "node_modules/esbuild-windows-32": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.13.4.tgz", "integrity": "sha512-z4CH07pfyVY0XF98TCsGmLxKCl0kyvshKDbdpTekW9f2d+dJqn5mmoUyWhpSVJ0SfYWJg86FoD9nMbbaMVyGdg==", - "cpu": ["ia32"], + "cpu": [ + "ia32" + ], "optional": true, - "os": ["win32"] + "os": [ + "win32" + ] }, "node_modules/esbuild-windows-64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.13.4.tgz", "integrity": "sha512-uVL11vORRPjocGLYam67rwFLd0LvkrHEs+JG+1oJN4UD9MQmNGZPa4gBHo6hDpF+kqRJ9kXgQSeDqUyRy0tj/Q==", - "cpu": ["x64"], + "cpu": [ + "x64" + ], "optional": true, - "os": ["win32"] + "os": [ + "win32" + ] }, "node_modules/esbuild-windows-arm64": { "version": "0.13.4", "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.13.4.tgz", "integrity": "sha512-vA6GLvptgftRcDcWngD5cMlL4f4LbL8JjU2UMT9yJ0MT5ra6hdZNFWnOeOoEtY4GtJ6OjZ0i+81sTqhAB0fMkg==", - "cpu": ["arm64"], + "cpu": [ + "arm64" + ], "optional": true, - "os": ["win32"] + "os": [ + "win32" + ] }, "node_modules/escalade": { "version": "3.1.1", @@ -9446,7 +9539,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" } @@ -13215,6 +13310,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", @@ -14460,6 +14563,15 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, + "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.6", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", @@ -15461,6 +15573,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", @@ -21362,7 +21483,9 @@ "dev": true, "hasInstallScript": true, "optional": true, - "os": ["darwin"], + "os": [ + "darwin" + ], "peer": true, "dependencies": { "bindings": "^1.5.0", @@ -23431,9 +23554,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", @@ -23674,9 +23797,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", @@ -23684,6 +23807,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" } @@ -26689,6 +26813,15 @@ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true }, + "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": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", @@ -32734,6 +32867,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", @@ -33697,6 +33838,15 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, + "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.6", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz", @@ -34505,6 +34655,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", diff --git a/website/package.json b/website/package.json index ebba06a30..167e4caf0 100644 --- a/website/package.json +++ b/website/package.json @@ -13,7 +13,7 @@ "@hashicorp/platform-util": "^0.1.0", "@hashicorp/react-alert-banner": "^7.0.1", "@hashicorp/react-button": "^6.0.1", - "@hashicorp/react-consent-manager": "^7.0.1", + "@hashicorp/react-consent-manager": "^7.1.0", "@hashicorp/react-docs-page": "^14.4.2", "@hashicorp/react-featured-slider": "^5.0.1", "@hashicorp/react-hashi-stack-menu": "^2.0.7", @@ -24,7 +24,7 @@ "@hashicorp/react-markdown-page": "^1.4.3", "@hashicorp/react-product-downloads-page": "^2.5.2", "@hashicorp/react-section-header": "^5.0.4", - "@hashicorp/react-subnav": "^9.1.4", + "@hashicorp/react-subnav": "^9.2.2", "@hashicorp/react-text-splits": "^3.2.7", "@hashicorp/react-use-cases": "^5.0.0", "@hashicorp/react-vertical-text-block-list": "^7.0.0", diff --git a/website/pages/print.css b/website/pages/print.css index 388345650..23ee9b71a 100644 --- a/website/pages/print.css +++ b/website/pages/print.css @@ -1,10 +1,8 @@ /* Print Styles - Hide Elements */ @media print { iframe, - #__next > header, - .g-product-subnav, + [class*='hashi-stack-menu'], .g-footer, - .g-consent-manager, [aria-hidden='true'], [id='sidebar'], [id='edit-this-page'], @@ -229,12 +227,3 @@ } } } - -/* @todo: move print styles to @hashicorp/react-global-styles/code-highlighting.css */ -@media print { - .hljs { - & * { - color: inherit; - } - } -}