diff --git a/CHANGELOG.md b/CHANGELOG.md index f92dd1d0d..fa1666aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## react-components 5.34.2 (2024-03-13) + +- [Logo] Add security compliance management logo (by [@Lukeaber](https://github.com/Lukeaber)) + ## react-components 5.34.1 (2024-03-08) - [Input] Bug fixing Input component element order diff --git a/packages/react-components/package.json b/packages/react-components/package.json index 299e805d0..dec29e99e 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@puppet/react-components", - "version": "5.34.1", + "version": "5.34.2", "author": "Puppet, Inc.", "license": "Apache-2.0", "main": "build/library.js", diff --git a/packages/react-components/source/react/library/logo/Logo.js b/packages/react-components/source/react/library/logo/Logo.js index 3779dead4..966155cf5 100644 --- a/packages/react-components/source/react/library/logo/Logo.js +++ b/packages/react-components/source/react/library/logo/Logo.js @@ -13,6 +13,7 @@ export const SUPPORTED_LOGOS = [ 'pipelines', 'remediate', 'comply', + 'security-compliance-management', ]; const propTypes = { diff --git a/packages/react-components/source/react/library/logo/Logo.md b/packages/react-components/source/react/library/logo/Logo.md index a8df75a2a..0a2597e06 100644 --- a/packages/react-components/source/react/library/logo/Logo.md +++ b/packages/react-components/source/react/library/logo/Logo.md @@ -24,6 +24,7 @@ The standard style variation exists for light backgrounds. + ``` @@ -51,6 +52,11 @@ This style variation exists for dark backgrounds, where the Puppet logo uses whi + ``` diff --git a/packages/react-components/source/react/library/logo/logos.js b/packages/react-components/source/react/library/logo/logos.js index a82c04bee..180b780ee 100644 --- a/packages/react-components/source/react/library/logo/logos.js +++ b/packages/react-components/source/react/library/logo/logos.js @@ -377,6 +377,24 @@ const connectFull = () => ({ ), }); +const securityComplianceManagement = () => ({ + viewBox: '0 0 170 40', + svg: ( + <> + + + + ), +}); + const logos = { 'container-registry': { full: containerRegistryFull, @@ -421,6 +439,10 @@ const logos = { full: connectFull, bug: connectBug, }, + 'security-compliance-management': { + full: securityComplianceManagement, + bug: puppetBug, + }, }; export default logos; diff --git a/packages/react-components/source/react/library/sidebar/Sidebar.md b/packages/react-components/source/react/library/sidebar/Sidebar.md index e6da182b5..ad51fdc6c 100644 --- a/packages/react-components/source/react/library/sidebar/Sidebar.md +++ b/packages/react-components/source/react/library/sidebar/Sidebar.md @@ -23,7 +23,7 @@ import Badge from '../badge';
console.log('logo clicked')} ariaLabel="Return to the home page" />