Skip to content

Commit 825e28b

Browse files
authored
Merge pull request #329 from Ioannis-Karasavvaidis/newIcons
2 parents dd83920 + 62baf59 commit 825e28b

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# react-components 5.23.0 (2020-10-07)
22

33
- [Tabs] Add "transparent" Tabs variant and make Tabs scrollable (at narrow widths) (by [@caseywilliams](https://github.com/caseywilliams) in [#302](https://github.com/puppetlabs/design-system/pull/302))
4-
- [Input] Add size and shape props to Input component (by [melcherry98](https://github.com/melcherry98) in [#324](https://github.com/puppetlabs/design-system/pull/324))
4+
- [Input] Add size and shape props to Input component to support search bars (by [melcherry98](https://github.com/melcherry98) in [#324](https://github.com/puppetlabs/design-system/pull/324))
5+
- [Icon] Add "scan" and "pencil-list" icons (by [Ioannis-Karasavvaidis](https://github.com/Ioannis-Karasavvaidis) in [#329](https://github.com/puppetlabs/design-system/pull/329))
56
- [Alert] Change icon for "danger" Alert (by [eliely](https://github.com/eliely) in [#320](https://github.com/puppetlabs/design-system/pull/320))
67
- [Copy] Properly export Copy component (by [sprokusk](https://github.com/sprokusk) in [#322](https://github.com/puppetlabs/design-system/pull/322))
78
- [Form] Relax Form.Field `description` prop type (by [vine77](https://github.com/vine77) in [#305](https://github.com/puppetlabs/design-system/pull/305))

packages/react-components/source/react/library/icon/icons.js

+21-2
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,15 @@ const icons = {
906906
),
907907
},
908908

909+
'pencil-list': {
910+
medium: (
911+
<path
912+
fillRule="evenodd"
913+
d="M1 0C0.45 0 0 0.45 0 1C0 1.55 0.45 2 1 2H15C15.55 2 16 1.55 16 1C16 0.45 15.55 0 15 0H1ZM13.22 4.60998L15.62 7.00998C15.87 7.24998 16 7.57998 16 7.92998C16 8.27998 15.87 8.59998 15.62 8.84998L8.84998 15.62C8.59998 15.87 8.26998 16 7.92998 16H5.52998C4.80998 16 4.22998 15.42 4.22998 14.7V12.3C4.22998 11.95 4.35998 11.63 4.60998 11.38L11.38 4.60998C11.63 4.36998 11.95 4.22998 12.3 4.22998C12.65 4.22998 12.97 4.35998 13.22 4.60998ZM6.21998 14H7.63998L11.74 9.88998L10.33 8.47998L6.21998 12.59V14ZM11.24 7.57998L12.65 8.98998L13.72 7.92998L12.3 6.51998L11.24 7.57998ZM0 5C0 4.45 0.45 4 1 4H8L6 6H1C0.45 6 0 5.55 0 5ZM1 8C0.45 8 0 8.45 0 9C0 9.55 0.45 10 1 10H2L4 8H1Z"
914+
/>
915+
),
916+
},
917+
909918
performance: {
910919
large: (
911920
<path
@@ -1014,6 +1023,18 @@ const icons = {
10141023
),
10151024
},
10161025

1026+
scan: {
1027+
medium: (
1028+
<>
1029+
<path d="M2.8 6H1.2C1.09 6 1 5.91 1 5.8V3.5C1 2.12 2.12 1 3.5 1H5.8C5.91 1 6 1.09 6 1.2V2.8C6 2.91 5.91 3 5.8 3H3.5C3.22 3 3 3.22 3 3.5V5.8C3 5.91 2.91 6 2.8 6Z" />
1030+
<path d="M12.5 15H10.2C10.09 15 10 14.91 10 14.8V13.2C10 13.09 10.09 13 10.2 13H12.5C12.78 13 13 12.78 13 12.5V10.2C13 10.09 13.09 10 13.2 10H14.8C14.91 10 15 10.09 15 10.2V12.5C15 13.88 13.88 15 12.5 15Z" />
1031+
<path d="M5.8 15H3.7C2.21 15 1 13.79 1 12.3V10.2C1 10.09 1.09 10 1.2 10H2.8C2.91 10 3 10.09 3 10.2V12.3C3 12.69 3.31 13 3.7 13H5.8C5.91 13 6 13.09 6 13.2V14.8C6 14.91 5.91 15 5.8 15Z" />
1032+
<path d="M13 3.5V3.56L14.97 3.19C14.82 1.96 13.77 1 12.5 1H10.2C10.09 1 10 1.09 10 1.2V2.8C10 2.91 10.09 3 10.2 3H12.5C12.78 3 13 3.22 13 3.5Z" />
1033+
<path d="M16 6.5L0 9.5V7L16 4V6.5Z" />
1034+
</>
1035+
),
1036+
},
1037+
10171038
scatter: {
10181039
medium: (
10191040
<path
@@ -1153,7 +1174,6 @@ const icons = {
11531174
medium: (
11541175
<path
11551176
fillRule="evenodd"
1156-
clipRule="evenodd"
11571177
d="M6.574 9.15l-1.352 3.446L7.98 10.92l2.756 1.676-1.343-3.422 2.674-1.956-3.087-.098-.999-2.973-1 2.974-3.046.097 2.64 1.931zM5.528 5.165l-4.562.145C.018 5.34-.355 6.558.412 7.119L4.15 9.854l-1.873 4.774c-.35.89.628 1.719 1.444 1.223l4.258-2.59 4.257 2.59c.816.496 1.794-.332 1.444-1.223l-1.863-4.75 3.771-2.76c.767-.56.394-1.777-.554-1.807l-4.602-.146L8.925.68c-.305-.908-1.585-.908-1.89 0L5.528 5.166z"
11581178
/>
11591179
),
@@ -1163,7 +1183,6 @@ const icons = {
11631183
medium: (
11641184
<path
11651185
fillRule="evenodd"
1166-
clipRule="evenodd"
11671186
d="M4.152 9.852L.412 7.114c-.767-.562-.395-1.778.555-1.808l4.563-.145L7.034.681c.305-.908 1.591-.908 1.896 0l1.504 4.479 4.604.146c.95.03 1.322 1.246.554 1.808l-3.773 2.762 1.862 4.75c.35.892-.63 1.722-1.446 1.225l-4.254-2.59-4.254 2.59c-.817.497-1.796-.333-1.446-1.226l1.871-4.773z"
11681187
/>
11691188
),

0 commit comments

Comments
 (0)