From a4028f515023b4e348e3bf8bcacf9d6b8166e845 Mon Sep 17 00:00:00 2001 From: Cassidy Schaufele Date: Tue, 14 Nov 2023 10:56:50 -0700 Subject: [PATCH 1/3] Update Consistent Navigation --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8b12c84a3..c0f2cf8ce 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "@leafygreen-ui/tooltip": "^7.1.0", "@leafygreen-ui/typography": "^16.5.1", "@loadable/component": "^5.14.1", - "@mdb/consistent-nav": "1.2.39", + "@mdb/consistent-nav": "2.0.3-rc.10", "@mdb/flora": "^1.5.6", "@mdx-js/react": "^2.2.1", "abort-controller": "^3.0.0", @@ -5539,13 +5539,13 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/@mdb/consistent-nav": { - "version": "1.2.39", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-1.2.39.tgz", - "integrity": "sha512-YTRRsNF3Vf42rw3ESYp5RUgFUZehO23M1ujHB1KKvndHS5pp9mXobZfz9rTroL0rKgJprT+9E6dQOqs6+yK5JA==", + "version": "2.0.3-rc.10", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.10.tgz", + "integrity": "sha512-UQIAIcmdF2LPupp+rSrFhPsmEEyRE46giV8hJb4KQ/LkTAuxFSR0NjyVgVdR/8TT8PrslGCDvWpUdhDCG+Xnxw==", "peerDependencies": { "@emotion/react": ">= 11.6.0", "@emotion/styled": ">= 11.6.0", - "@mdb/flora": ">= 0.20.5", + "@mdb/flora": "^1.7.1", "@mdx-js/react": "^1.6.22", "react": ">= 16.8", "react-dom": ">= 16.8", @@ -28782,9 +28782,9 @@ } }, "@mdb/consistent-nav": { - "version": "1.2.39", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-1.2.39.tgz", - "integrity": "sha512-YTRRsNF3Vf42rw3ESYp5RUgFUZehO23M1ujHB1KKvndHS5pp9mXobZfz9rTroL0rKgJprT+9E6dQOqs6+yK5JA==" + "version": "2.0.3-rc.10", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.10.tgz", + "integrity": "sha512-UQIAIcmdF2LPupp+rSrFhPsmEEyRE46giV8hJb4KQ/LkTAuxFSR0NjyVgVdR/8TT8PrslGCDvWpUdhDCG+Xnxw==" }, "@mdb/flora": { "version": "1.5.6", diff --git a/package.json b/package.json index 2252384d7..eed40298a 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "@leafygreen-ui/tooltip": "^7.1.0", "@leafygreen-ui/typography": "^16.5.1", "@loadable/component": "^5.14.1", - "@mdb/consistent-nav": "1.2.39", + "@mdb/consistent-nav": "2.0.3-rc.10", "@mdb/flora": "^1.5.6", "@mdx-js/react": "^2.2.1", "abort-controller": "^3.0.0", From 9a05184969b9e760e6527a3a7d6cae47413d320b Mon Sep 17 00:00:00 2001 From: Cassidy Schaufele Date: Thu, 16 Nov 2023 08:26:20 -0700 Subject: [PATCH 2/3] DOP-4137: Update to 2.0.3-rc.11 --- package-lock.json | 14 +++++++------- package.json | 2 +- src/components/Header/index.js | 4 +++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index c0f2cf8ce..70686edfd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "@leafygreen-ui/tooltip": "^7.1.0", "@leafygreen-ui/typography": "^16.5.1", "@loadable/component": "^5.14.1", - "@mdb/consistent-nav": "2.0.3-rc.10", + "@mdb/consistent-nav": "2.0.3-rc.11", "@mdb/flora": "^1.5.6", "@mdx-js/react": "^2.2.1", "abort-controller": "^3.0.0", @@ -5539,9 +5539,9 @@ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "node_modules/@mdb/consistent-nav": { - "version": "2.0.3-rc.10", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.10.tgz", - "integrity": "sha512-UQIAIcmdF2LPupp+rSrFhPsmEEyRE46giV8hJb4KQ/LkTAuxFSR0NjyVgVdR/8TT8PrslGCDvWpUdhDCG+Xnxw==", + "version": "2.0.3-rc.11", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.11.tgz", + "integrity": "sha512-CSEjtY0365giACGPW9sCVeG8D8MKKPZx2CxSVsimbIwe3zFIRsVPykbdz9JZEvu5zy8PsH8gRV3tFyzYQTTYXw==", "peerDependencies": { "@emotion/react": ">= 11.6.0", "@emotion/styled": ">= 11.6.0", @@ -28782,9 +28782,9 @@ } }, "@mdb/consistent-nav": { - "version": "2.0.3-rc.10", - "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.10.tgz", - "integrity": "sha512-UQIAIcmdF2LPupp+rSrFhPsmEEyRE46giV8hJb4KQ/LkTAuxFSR0NjyVgVdR/8TT8PrslGCDvWpUdhDCG+Xnxw==" + "version": "2.0.3-rc.11", + "resolved": "https://artifactory.corp.mongodb.com/artifactory/api/npm/npm/@mdb/consistent-nav/-/@mdb/consistent-nav-2.0.3-rc.11.tgz", + "integrity": "sha512-CSEjtY0365giACGPW9sCVeG8D8MKKPZx2CxSVsimbIwe3zFIRsVPykbdz9JZEvu5zy8PsH8gRV3tFyzYQTTYXw==" }, "@mdb/flora": { "version": "1.5.6", diff --git a/package.json b/package.json index eed40298a..25246d22b 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "@leafygreen-ui/tooltip": "^7.1.0", "@leafygreen-ui/typography": "^16.5.1", "@loadable/component": "^5.14.1", - "@mdb/consistent-nav": "2.0.3-rc.10", + "@mdb/consistent-nav": "2.0.3-rc.11", "@mdb/flora": "^1.5.6", "@mdx-js/react": "^2.2.1", "abort-controller": "^3.0.0", diff --git a/src/components/Header/index.js b/src/components/Header/index.js index df72481f6..acfacd88e 100644 --- a/src/components/Header/index.js +++ b/src/components/Header/index.js @@ -56,7 +56,9 @@ const Header = ({ sidenav, eol, template }) => { <> - {!eol && } + {!eol && ( + + )} {sidenav && } From baad5763a79a471a390dd339207a894b24efbe98 Mon Sep 17 00:00:00 2001 From: Cassidy Schaufele Date: Mon, 27 Nov 2023 09:21:58 -0700 Subject: [PATCH 3/3] Update Presentation.test.js.snap --- .../__snapshots__/Presentation.test.js.snap | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/tests/unit/__snapshots__/Presentation.test.js.snap b/tests/unit/__snapshots__/Presentation.test.js.snap index d9300c324..d7054c837 100644 --- a/tests/unit/__snapshots__/Presentation.test.js.snap +++ b/tests/unit/__snapshots__/Presentation.test.js.snap @@ -484,7 +484,7 @@ exports[`DocumentBody renders the necessary elements 1`] = ` class="emotion-22" > @@ -605,12 +605,12 @@ exports[`DocumentBody renders the necessary elements 1`] = ` class="emotion-22" > - Paid Support + Customer Support @@ -630,7 +630,7 @@ exports[`DocumentBody renders the necessary elements 1`] = ` class="emotion-22" > - Github + GitHub
  • - Youtube + YouTube