Skip to content

Commit

Permalink
(CDPE-6635) add locked and unlocked icons
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmalloncares committed Mar 15, 2024
1 parent 6a8dfee commit aa31243
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## react-components 5.34.3 (2024-03-15)

- [Icon] Add Locked and Unlocked icons

## react-components 5.34.2 (2024-03-13)

- [Logo] Add security compliance management logo (by [@Lukeaber](https://github.com/Lukeaber))
Expand Down
2 changes: 1 addition & 1 deletion packages/react-components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@puppet/react-components",
"version": "5.34.2",
"version": "5.34.3",
"author": "Puppet, Inc.",
"license": "Apache-2.0",
"main": "build/library.js",
Expand Down
18 changes: 18 additions & 0 deletions packages/react-components/source/react/library/icon/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,15 @@ const icons = {
),
},

locked: {
medium: (
<path
fillRule="evenodd"
d="M4 4v3H1v9h14V7h-3V4a4 4 0 0 0-8 0m6 0v3H6V4a2 2 0 1 1 4 0M3 9v5h10V9zm5 1a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0v-1a1 1 0 0 0-1-1"
/>
),
},

minus: {
tiny: <polygon fillRule="evenodd" points="0 3 0 5 8 5 8 3" />,
},
Expand Down Expand Up @@ -1454,6 +1463,15 @@ const icons = {
),
},

unlocked: {
large: (
<path
fillRule="evenodd"
d="M6 6v1.5h3V6a3 3 0 1 1 6 0v4.5H1.5V24h21V10.5H18V6A6 6 0 0 0 6 6M4.5 21v-7.5h15V21zm7.5-6a1.5 1.5 0 0 0-1.5 1.5V18a1.5 1.5 0 0 0 3 0v-1.5A1.5 1.5 0 0 0 12 15"
/>
),
},

unpatched: {
medium: (
<>
Expand Down

0 comments on commit aa31243

Please sign in to comment.