Skip to content

Commit 3f99ec8

Browse files
authored
Add Data*ChartIcons, DataTableIcon, ShowIcon, HideIcon. Fix viewbox in CreditCardIcon. (#1334)
* feat: add Data, Show, Hide icons and fix viewbox errors * chore: add changeset * chore(alert): update snapshot * chore: remove lingering absolute directory Co-authored-by: Sarah Li <[email protected]>
1 parent acd6f76 commit 3f99ec8

31 files changed

+361
-56
lines changed

.changeset/bright-rice-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@twilio-paste/icons': minor
3+
---
4+
5+
Add DataBarChartIcon, DataLineChartIcon, DataPieChartIcon, DataTableIcon, HideIcon, ShowIcon. Fix viewbox sizing issue with CreditCardIcon. Minor glyph update to some product logo icons.

packages/paste-core/components/alert/__tests__/__snapshots__/index.spec.tsx.snap

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ exports[`Alert Variant warning Should render an warning alert 1`] = `
783783
<svg
784784
aria-hidden={false}
785785
aria-labelledby="WarningIcon-21"
786+
fill="none"
786787
height="100%"
787788
role="img"
788789
viewBox="0 0 20 20"
@@ -794,7 +795,8 @@ exports[`Alert Variant warning Should render an warning alert 1`] = `
794795
warning:
795796
</title>
796797
<path
797-
d="M8.684 3.744c.582-.992 2.05-.992 2.632 0l6.482 11.048c.577.984-.152 2.208-1.316 2.208H3.518c-1.164 0-1.893-1.224-1.316-2.208zM10 13a1 1 0 100 2 1 1 0 000-2zm.01-5h-.02l-.112.007c-.549.067-.955.626-.866 1.237l.428 2.238.02.095c.074.247.29.423.543.423l.091-.008a.59.59 0 00.466-.51l.428-2.238.011-.121c.025-.602-.416-1.116-.989-1.123z"
798+
clipRule="evenodd"
799+
d="M17.798 14.791L11.316 3.744c-.582-.992-2.05-.992-2.632 0L2.202 14.79C1.625 15.776 2.354 17 3.518 17h12.964c1.164 0 1.893-1.224 1.316-2.209zM9.99 8h.02c.611.007 1.073.592.978 1.244l-.428 2.238c-.04.296-.278.518-.557.518h-.006c-.279 0-.516-.222-.557-.518l-.428-2.238C8.917 8.592 9.386 8 9.99 8zm.01 7a1 1 0 100-2 1 1 0 000 2z"
798800
fill="currentColor"
799801
fillRule="evenodd"
800802
/>
@@ -969,6 +971,7 @@ exports[`Alert Variant warning Should render an warning alert with dismiss butto
969971
<svg
970972
aria-hidden={false}
971973
aria-labelledby="WarningIcon-22"
974+
fill="none"
972975
height="100%"
973976
role="img"
974977
viewBox="0 0 20 20"
@@ -980,7 +983,8 @@ exports[`Alert Variant warning Should render an warning alert with dismiss butto
980983
warning:
981984
</title>
982985
<path
983-
d="M8.684 3.744c.582-.992 2.05-.992 2.632 0l6.482 11.048c.577.984-.152 2.208-1.316 2.208H3.518c-1.164 0-1.893-1.224-1.316-2.208zM10 13a1 1 0 100 2 1 1 0 000-2zm.01-5h-.02l-.112.007c-.549.067-.955.626-.866 1.237l.428 2.238.02.095c.074.247.29.423.543.423l.091-.008a.59.59 0 00.466-.51l.428-2.238.011-.121c.025-.602-.416-1.116-.989-1.123z"
986+
clipRule="evenodd"
987+
d="M17.798 14.791L11.316 3.744c-.582-.992-2.05-.992-2.632 0L2.202 14.79C1.625 15.776 2.354 17 3.518 17h12.964c1.164 0 1.893-1.224 1.316-2.209zM9.99 8h.02c.611.007 1.073.592.978 1.244l-.428 2.238c-.04.296-.278.518-.557.518h-.006c-.279 0-.516-.222-.557-.518l-.428-2.238C8.917 8.592 9.386 8 9.99 8zm.01 7a1 1 0 100-2 1 1 0 000 2z"
984988
fill="currentColor"
985989
fillRule="evenodd"
986990
/>

packages/paste-icons/build.icon-list.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)