diff --git a/packages/button/index.js b/packages/button/index.js index 2a6bd89aa..d61bb66eb 100644 --- a/packages/button/index.js +++ b/packages/button/index.js @@ -55,6 +55,7 @@ function Button({ `variant-${themeObj.variant}`, themeClass, { 'brand-neutral': themeObj.brand === 'neutral' }, + `background-${themeObj.background}`, className )} data-ga-button={`${ga_prefix ? ga_prefix + ' | ' : ''}${gaSlug}`} diff --git a/packages/call-to-action/index.js b/packages/call-to-action/index.js index 2d145f639..9a1bb0958 100644 --- a/packages/call-to-action/index.js +++ b/packages/call-to-action/index.js @@ -10,7 +10,7 @@ function CallToAction(props) { throw new Error(' `links` must have both a title and a URL') } return ( -
+
{heading && (

diff --git a/packages/call-to-action/package.json b/packages/call-to-action/package.json index a1ff08a3b..ab8cacd42 100644 --- a/packages/call-to-action/package.json +++ b/packages/call-to-action/package.json @@ -7,7 +7,7 @@ "Zach Shilton" ], "dependencies": { - "@hashicorp/react-button": "^2.2.4" + "@hashicorp/react-button": "^4.1.0" }, "peerDependencies": { "@hashicorp/nextjs-scripts": ">=16.x" diff --git a/packages/callouts/package-lock.json b/packages/callouts/package-lock.json index 90d516848..62daeb9d4 100644 --- a/packages/callouts/package-lock.json +++ b/packages/callouts/package-lock.json @@ -4,30 +4,10 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@hashicorp/react-button": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@hashicorp/react-button/-/react-button-2.2.4.tgz", - "integrity": "sha512-jEjoN31nAI9K/4FDkUORjRhRHsH8rFIukR15wTmL72x7T0fZiBzNkB4OBAnLh2HQExLPKJzTGv+RaepJgQru/Q==", - "requires": { - "@hashicorp/react-global-styles": "^4.4.2", - "@hashicorp/react-inline-svg": "^1.0.2", - "slugify": "^1.3.6" - } - }, - "@hashicorp/react-global-styles": { - "version": "4.4.2", - "resolved": "https://registry.npmjs.org/@hashicorp/react-global-styles/-/react-global-styles-4.4.2.tgz", - "integrity": "sha512-EprEFwymJJbrbIQmzMCODM6eYwew2OsgVa9EtWNE984/KFk71QWvbjKVjebqNB0vWdpwSt6+127kfOQsx8JolA==" - }, "@hashicorp/react-inline-svg": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@hashicorp/react-inline-svg/-/react-inline-svg-1.0.2.tgz", "integrity": "sha512-AAFnBslSTgnEr++dTbMn3sybAqvn7myIj88ijGigF6u11eSRiV64zqEcyYLQKWTV6dF4AvYoxiYC6GSOgiM0Yw==" - }, - "slugify": { - "version": "1.4.5", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.5.tgz", - "integrity": "sha512-WpECLAgYaxHoEAJ8Q1Lo8HOs1ngn7LN7QjXgOLbmmfkcWvosyk4ZTXkTzKyhngK640USTZUlgoQJfED1kz5fnQ==" } } } diff --git a/packages/callouts/package.json b/packages/callouts/package.json index 2367c49f8..69faf268e 100644 --- a/packages/callouts/package.json +++ b/packages/callouts/package.json @@ -7,7 +7,7 @@ "Zach Shilton" ], "dependencies": { - "@hashicorp/react-button": "^2.2.4", + "@hashicorp/react-button": "^4.1.0", "@hashicorp/react-inline-svg": "^1.0.2" }, "license": "MPL-2.0", diff --git a/packages/case-study-slider/index.js b/packages/case-study-slider/index.js index f5790e291..64435ec31 100644 --- a/packages/case-study-slider/index.js +++ b/packages/case-study-slider/index.js @@ -188,7 +188,11 @@ class CaseStudySlider extends Component { />

-
+
{single && (
@@ -207,7 +211,10 @@ class CaseStudySlider extends Component { }} />