Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STAR-110 Remove all IDs from SVG files #405

Merged
merged 3 commits into from
Jan 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/Icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"access": "public"
},
"scripts": {
"svgr": "npx @svgr/cli -d . src/svg --out-dir src/"
"svgr": "svgr -d . src/svg --out-dir src/"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason of this change: npx use latest version of @svgr/cli from npmjs.com. It means that version lock ("@svgr/cli": "^4.1.0") will be ignored. After this change Yarn will run ./node_modules/.bin/svgr.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch 💯

},
"dependencies": {
"@babel/runtime-corejs2": "^7.3.1",
Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Add.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgAdd = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M1.5 10.425h7.875a1.05 1.05 0 001.05-1.05V1.5h3.15v7.875a1.05 1.05 0 001.05 1.05H22.5v3.15h-7.875a1.05 1.05 0 00-1.05 1.05V22.5h-3.15v-7.875a1.05 1.05 0 00-1.05-1.05H1.5v-3.15z"
id="add_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#add_svg__a" fillRule="evenodd" />
<path
d="M1.5 10.425h7.875a1.05 1.05 0 001.05-1.05V1.5h3.15v7.875a1.05 1.05 0 001.05 1.05H22.5v3.15h-7.875a1.05 1.05 0 00-1.05 1.05V22.5h-3.15v-7.875a1.05 1.05 0 00-1.05-1.05H1.5v-3.15z"
fill="currentColor"
fillRule="evenodd"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/ArrowDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgArrowDown = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M10.514 17.293c.82.82 2.151.82 2.972 0L22.5 8.279 20.271 6.05l-8.27 8.272L3.728 6.05 1.5 8.279l9.014 9.014z"
id="Arrow-Down_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Arrow-Down_svg__a" fillRule="evenodd" />
<path
d="M10.514 17.293c.82.82 2.151.82 2.972 0L22.5 8.279 20.271 6.05l-8.27 8.272L3.728 6.05 1.5 8.279l9.014 9.014z"
fill="currentColor"
fillRule="evenodd"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/ArrowLeft.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgArrowLeft = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M10.535 17.314c.82.82 2.151.82 2.972 0l9.014-9.015-2.229-2.228-8.271 8.271-8.272-8.271-2.228 2.228 9.014 9.015z"
id="Arrow-Left_svg__a"
/>
</defs>
<use fill="currentColor" transform="rotate(90 12.02 12)" xlinkHref="#Arrow-Left_svg__a" fillRule="evenodd" />
<path
d="M6.707 10.514c-.82.82-.82 2.151 0 2.972l9.014 9.014 2.229-2.229-8.272-8.27 8.272-8.272L15.721 1.5l-9.014 9.014z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/ArrowRight.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgArrowRight = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M10.493 17.314c.821.82 2.151.82 2.972 0l9.014-9.015-2.228-2.228-8.272 8.271-8.271-8.271-2.229 2.228 9.014 9.015z"
id="Arrow-Right_svg__a"
/>
</defs>
<use fill="currentColor" transform="rotate(-90 11.98 12)" xlinkHref="#Arrow-Right_svg__a" fillRule="evenodd" />
<path
d="M17.293 13.486c.82-.82.82-2.151 0-2.972L8.279 1.5 6.05 3.729l8.272 8.27-8.272 8.272L8.279 22.5l9.014-9.014z"
fill="currentColor"
fillRule="evenodd"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/ArrowUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgArrowUp = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M10.514 17.335c.82.82 2.151.82 2.972 0L22.5 8.32l-2.229-2.228-8.27 8.271-8.272-8.271L1.5 8.32l9.014 9.015z"
id="Arrow-Up_svg__a"
/>
</defs>
<use fill="currentColor" transform="matrix(1 0 0 -1 0 24.042)" xlinkHref="#Arrow-Up_svg__a" fillRule="evenodd" />
<path
d="M10.514 6.707c.82-.82 2.151-.82 2.972 0l9.014 9.014-2.229 2.229-8.27-8.272-8.272 8.272L1.5 15.721l9.014-9.014z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgCalendar = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M19.35 4.65V1.5h-2.1v5.25H16.2v-2.1H8.85V1.5h-2.1v5.25H5.7v-2.1H3.6c-1.158 0-2.1.943-2.1 2.1V20.4c0 1.158.942 2.1 2.1 2.1h16.8c1.158 0 2.1-.942 2.1-2.1V6.75c0-1.157-.942-2.1-2.1-2.1h-1.05zM3.6 20.4V8.85h16.8l-.003 11.55H3.6zm11.6-9.6v1.05c0 .297-.032.537-.097.72a5.67 5.67 0 01-.186.469l-2.225 4.787a1.542 1.542 0 01-.478.586c-.21.159-.489.238-.834.238H9.55l2.314-4.504a4.26 4.26 0 01.368-.622 5.33 5.33 0 01.433-.526H9.567a.528.528 0 01-.215-.044.58.58 0 01-.178-.121.642.642 0 01-.125-.178.47.47 0 01-.049-.206V10.8h6.2z"
id="Calendar_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Calendar_svg__a" fillRule="evenodd" />
<path
d="M19.35 4.65V1.5h-2.1v5.25H16.2v-2.1H8.85V1.5h-2.1v5.25H5.7v-2.1H3.6c-1.158 0-2.1.943-2.1 2.1V20.4c0 1.158.942 2.1 2.1 2.1h16.8c1.158 0 2.1-.942 2.1-2.1V6.75c0-1.157-.942-2.1-2.1-2.1h-1.05zM3.6 20.4V8.85h16.8l-.003 11.55H3.6zm11.6-9.6v1.05c0 .297-.032.537-.097.72a5.67 5.67 0 01-.186.469l-2.225 4.787a1.542 1.542 0 01-.478.586c-.21.159-.489.238-.834.238H9.55l2.314-4.504a4.26 4.26 0 01.368-.622 5.33 5.33 0 01.433-.526H9.567a.528.528 0 01-.215-.044.58.58 0 01-.178-.121.642.642 0 01-.125-.178.47.47 0 01-.049-.206V10.8h6.2z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
14 changes: 5 additions & 9 deletions packages/Icon/src/CaretDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@ const SvgCaretDown = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M8.71 10.87a1.501 1.501 0 000 2.222l5.79 5.256a.753.753 0 001.257-.556V6.17a.751.751 0 00-1.258-.555c-1.57 1.424-4.235 3.845-5.789 5.256z"
id="caret-down_svg__a"
/>
</defs>
<g fill="none" fillRule="evenodd">
<use fill="currentColor" transform="scale(1 -1) rotate(90 23.968 0)" xlinkHref="#caret-down_svg__a" />
</g>
<path
d="M13.099 15.258a1.501 1.501 0 01-2.223 0c-1.41-1.554-3.83-4.22-5.256-5.789a.753.753 0 01.556-1.257h11.623a.751.751 0 01.556 1.257l-5.256 5.789z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/CaretUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgCaretUp = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M8.71 10.908a1.501 1.501 0 000 2.222l5.79 5.256a.753.753 0 001.257-.555V6.208a.751.751 0 00-1.258-.556L8.71 10.908z"
id="caret-up_svg__a"
/>
</defs>
<use fill="currentColor" transform="rotate(90 11.988 12.02)" xlinkHref="#caret-up_svg__a" fillRule="evenodd" />
<path
d="M13.099 8.742a1.501 1.501 0 00-2.223 0c-1.41 1.554-3.83 4.22-5.256 5.789a.753.753 0 00.556 1.257h11.623a.751.751 0 00.556-1.257l-5.256-5.789z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Caution.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgCaution = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M12 19.566a1.313 1.313 0 11.001-2.626A1.313 1.313 0 0112 19.566zm-1.05-9.713h2.1v6.3h-2.1v-6.3zm11.44 11.08l-9.45-18.9c-.356-.711-1.524-.711-1.88 0l-9.45 18.9c-.161.326-.145.713.046 1.023.193.308.53.497.894.497h18.9c.364 0 .701-.189.894-.497.19-.31.207-.697.046-1.022z"
id="Caution_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Caution_svg__a" fillRule="evenodd" />
<path
d="M12 19.566a1.313 1.313 0 11.001-2.626A1.313 1.313 0 0112 19.566zm-1.05-9.713h2.1v6.3h-2.1v-6.3zm11.44 11.08l-9.45-18.9c-.356-.711-1.524-.711-1.88 0l-9.45 18.9c-.161.326-.145.713.046 1.023.193.308.53.497.894.497h18.9c.364 0 .701-.189.894-.497.19-.31.207-.697.046-1.022z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Check.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgCheck = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M22.5 5.695l-11.362 14.04-.071.08c-.13.129-.267.24-.43.323-.42.214-.925.227-1.355.035a1.724 1.724 0 01-.446-.3L1.5 12.853l2.174-2.271 6.11 5.847L20.07 3.7l2.43 1.995z"
id="Check_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Check_svg__a" fillRule="evenodd" />
<path
d="M22.5 5.695l-11.362 14.04-.071.08c-.13.129-.267.24-.43.323-.42.214-.925.227-1.355.035a1.724 1.724 0 01-.446-.3L1.5 12.853l2.174-2.271 6.11 5.847L20.07 3.7l2.43 1.995z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Ellipsis.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgEllipsis = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M6 12a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0zm9 0a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0zm9 0a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0z"
id="ellipsis_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#ellipsis_svg__a" fillRule="evenodd" />
<path
d="M6 12a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0zm9 0a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0zm9 0a3.001 3.001 0 01-6 0 3.001 3.001 0 016 0z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/ExclamationCircle.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgExclamationCircle = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M12 17.512a1.313 1.313 0 11.001-2.625A1.313 1.313 0 0112 17.512zM10.95 5.7h2.1v7.35h-2.1V5.7zM12 1.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"
id="Exclamation-Circle_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Exclamation-Circle_svg__a" fillRule="evenodd" />
<path
d="M12 17.512a1.313 1.313 0 11.001-2.625A1.313 1.313 0 0112 17.512zM10.95 5.7h2.1v7.35h-2.1V5.7zM12 1.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/InfoCircle.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgInfoCircle = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M15.15 17.25h-6.3v-2.1h2.1V12H9.9V9.9H12c.58 0 1.05.47 1.05 1.05v4.2h2.1v2.1zM12 6.488a1.313 1.313 0 11-.001 2.625A1.313 1.313 0 0112 6.488zM12 1.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"
id="Info-Circle_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Info-Circle_svg__a" fillRule="evenodd" />
<path
d="M15.15 17.25h-6.3v-2.1h2.1V12H9.9V9.9H12c.58 0 1.05.47 1.05 1.05v4.2h2.1v2.1zM12 6.488a1.313 1.313 0 11-.001 2.625A1.313 1.313 0 0112 6.488zM12 1.5C6.21 1.5 1.5 6.21 1.5 12S6.21 22.5 12 22.5 22.5 17.79 22.5 12 17.79 1.5 12 1.5z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgLock = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M17.25 10.95v-4.2A5.257 5.257 0 0012 1.5a5.255 5.255 0 00-5.25 5.25v4.2c-1.158 0-2.1.94-2.1 2.1v7.35c0 1.158.942 2.1 2.1 2.1h10.5c1.158 0 2.1-.942 2.1-2.1v-7.35c0-1.16-.942-2.1-2.1-2.1zM12 18.3a1.576 1.576 0 11.001-3.151A1.576 1.576 0 0112 18.3zm3.15-7.35h-6.3v-4.2A3.154 3.154 0 0112 3.6a3.154 3.154 0 013.15 3.15v4.2z"
id="Lock_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Lock_svg__a" fillRule="evenodd" />
<path
d="M17.25 10.95v-4.2A5.257 5.257 0 0012 1.5a5.255 5.255 0 00-5.25 5.25v4.2c-1.158 0-2.1.94-2.1 2.1v7.35c0 1.158.942 2.1 2.1 2.1h10.5c1.158 0 2.1-.942 2.1-2.1v-7.35c0-1.16-.942-2.1-2.1-2.1zM12 18.3a1.576 1.576 0 11.001-3.151A1.576 1.576 0 0112 18.3zm3.15-7.35h-6.3v-4.2A3.154 3.154 0 0112 3.6a3.154 3.154 0 013.15 3.15v4.2z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
10 changes: 5 additions & 5 deletions packages/Icon/src/NewTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ const SvgNewTab = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<g fill="none" fillRule="evenodd">
<path d="M0-1h24v24H0z" />
<path
d="M9.21306122,2.39448743 L9.21306122,5.47311412 L3.07102041,5.47311412 L3.07102041,20.8662476 L18.4261224,20.8662476 L18.4261224,14.7089942 L21.4971429,14.7089942 L21.4971429,20.8662476 C21.4971429,22.5656495 20.1213257,23.9448743 18.4261224,23.9448743 L18.4261224,23.9448743 L3.07102041,23.9448743 C1.37581714,23.9448743 0,22.5656495 0,20.8662476 L0,20.8662476 L0,5.47311412 C0,3.77371219 1.37581714,2.39448743 3.07102041,2.39448743 L3.07102041,2.39448743 L9.21306122,2.39448743 Z M24,3.55271368e-15 L24,9.49703986 L21.2932641,9.49703986 L21.2932641,4.63184201 L12.7765194,13.1696809 L10.8628571,11.2512788 L19.3796018,2.71343996 L14.5264242,2.71343996 L14.5264242,3.55271368e-15 L24,3.55271368e-15 Z"
id="new_tab_svg__a"
d="M9.213 2.394v3.08H3.071v15.392h15.355V14.71h3.071v6.157c0 1.7-1.376 3.079-3.07 3.079H3.07A3.076 3.076 0 010 20.866V5.473c0-1.7 1.376-3.079 3.071-3.079h6.142zM24 0v9.497h-2.707V4.632l-8.516 8.538-1.914-1.919 8.517-8.538h-4.854V0H24z"
fill="#757575"
/>
</defs>
<use fill="currentColor" xlinkHref="#new_tab_svg__a" fillRule="evenodd" />
</g>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgRefresh = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M6.069 6.069L8.85 8.85h-6.3v-6.3l2.035 2.035A10.425 10.425 0 0112 1.5c5.79 0 10.5 4.71 10.5 10.5h-2.1c0-4.632-3.768-8.4-8.4-8.4-2.28 0-4.385.915-5.931 2.469zM17.93 17.93L15.15 15.15h6.3v6.3l-2.034-2.035A10.427 10.427 0 0112 22.5C6.21 22.5 1.5 17.79 1.5 12h2.1c0 4.632 3.768 8.4 8.4 8.4a8.334 8.334 0 005.931-2.469z"
id="refresh_svg__a"
/>
</defs>
<use fill="currentColor" transform="matrix(-1 0 0 1 24 0)" xlinkHref="#refresh_svg__a" fillRule="evenodd" />
<path
d="M17.931 6.069L15.15 8.85h6.3v-6.3l-2.035 2.035A10.425 10.425 0 0012 1.5C6.21 1.5 1.5 6.21 1.5 12h2.1c0-4.632 3.768-8.4 8.4-8.4 2.28 0 4.385.915 5.931 2.469zM6.07 17.93L8.85 15.15h-6.3v6.3l2.034-2.035A10.427 10.427 0 0012 22.5c5.79 0 10.5-4.71 10.5-10.5h-2.1c0 4.632-3.768 8.4-8.4 8.4a8.334 8.334 0 01-5.931-2.469z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgSearch = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M21.942 19.24l-3.779-3.779a9.052 9.052 0 00-7.607-13.96A9.05 9.05 0 001.5 10.553a9.051 9.051 0 009.056 9.054 8.986 8.986 0 004.906-1.448l3.779 3.778c.748.75 1.956.748 2.7 0a1.91 1.91 0 00.001-2.698zM10.425 3.6c3.77 0 6.825 3.051 6.825 6.823 0 1.822-.71 3.536-2 4.824a6.776 6.776 0 01-4.826 1.999A6.821 6.821 0 013.6 10.423 6.82 6.82 0 0110.425 3.6z"
id="search_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#search_svg__a" fillRule="evenodd" />
<path
d="M21.942 19.24l-3.779-3.779a9.052 9.052 0 00-7.607-13.96A9.05 9.05 0 001.5 10.553a9.051 9.051 0 009.056 9.054 8.986 8.986 0 004.906-1.448l3.779 3.778c.748.75 1.956.748 2.7 0a1.91 1.91 0 00.001-2.698zM10.425 3.6c3.77 0 6.825 3.051 6.825 6.823 0 1.822-.71 3.536-2 4.824a6.776 6.776 0 01-4.826 1.999A6.821 6.821 0 013.6 10.423 6.82 6.82 0 0110.425 3.6z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Times.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgTimes = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M12.743 9.029L20.27 1.5 22.5 3.728l-7.529 7.53a1.05 1.05 0 000 1.485l7.529 7.529-2.229 2.228-7.528-7.529a1.05 1.05 0 00-1.486 0L3.728 22.5 1.5 20.272l7.529-7.53a1.05 1.05 0 000-1.485L1.5 3.728 3.728 1.5l7.53 7.529c.41.41 1.074.41 1.485 0z"
id="times_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#times_svg__a" fillRule="evenodd" />
<path
d="M12.743 9.029L20.27 1.5 22.5 3.728l-7.529 7.53a1.05 1.05 0 000 1.485l7.529 7.529-2.229 2.228-7.528-7.529a1.05 1.05 0 00-1.486 0L3.728 22.5 1.5 20.272l7.529-7.53a1.05 1.05 0 000-1.485L1.5 3.728 3.728 1.5l7.53 7.529c.41.41 1.074.41 1.485 0z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/TimesCircle.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgTimesCircle = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M12 1.5C6.218 1.5 1.5 6.235 1.5 12S6.218 22.5 12 22.5 22.5 17.782 22.5 12 17.765 1.5 12 1.5zm-.755 7.532a1.05 1.05 0 001.481.004l2.624-2.598 2.228 2.228-2.617 2.591a1.05 1.05 0 00-.003 1.489l2.604 2.604-2.228 2.227-2.604-2.604a1.05 1.05 0 00-1.489.004l-2.575 2.6-2.228-2.227 2.582-2.608a1.05 1.05 0 00-.003-1.482L6.423 8.666 8.65 6.438l2.595 2.594z"
id="Times-Circle_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#Times-Circle_svg__a" fillRule="evenodd" />
<path
d="M12 1.5C6.218 1.5 1.5 6.235 1.5 12S6.218 22.5 12 22.5 22.5 17.782 22.5 12 17.765 1.5 12 1.5zm-.755 7.532a1.05 1.05 0 001.481.004l2.624-2.598 2.228 2.228-2.617 2.591a1.05 1.05 0 00-.003 1.489l2.604 2.604-2.228 2.227-2.604-2.604a1.05 1.05 0 00-1.489.004l-2.575 2.6-2.228-2.227 2.582-2.608a1.05 1.05 0 00-.003-1.482L6.423 8.666 8.65 6.438l2.595 2.594z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
12 changes: 5 additions & 7 deletions packages/Icon/src/Trashbin.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ const SvgTrashbin = ({ title, ...props }) => (
{...props}
>
{title ? <title>{title}</title> : null}
<defs>
<path
d="M9.35 18.3H7.6V8.85h1.75v9.45zm3.5 0H11.1V8.85h1.75v9.45zm3.5 0H14.6V8.85h1.75v9.45zm1.4-11.55H6.2V20.4h11.55V6.75zM9.176 4.6h5.618l-.405-1.086a.488.488 0 00-.233-.164H9.827a.496.496 0 00-.232.164L9.176 4.6zM21.85 6.324a.425.425 0 01-.124.314.383.383 0 01-.313.112H19.85V20.4c0 1.15-.95 2.1-2.1 2.1H6.2c-1.15 0-2.1-.95-2.1-2.1V6.75H2.56a.382.382 0 01-.314-.113.567.567 0 01-.146-.314V5.049a.556.556 0 01.146-.314.49.49 0 01.314-.135h4.47l.956-1.87c.136-.336.382-.623.737-.86a2.087 2.087 0 011.08-.37h4.37c.363.016.723.134 1.078.37.356.237.602.524.738.86l.956 1.87h4.47a.483.483 0 01.314.135.42.42 0 01.121.314v1.275z"
id="trashbin_svg__a"
/>
</defs>
<use fill="currentColor" xlinkHref="#trashbin_svg__a" fillRule="evenodd" />
<path
d="M9.35 18.3H7.6V8.85h1.75v9.45zm3.5 0H11.1V8.85h1.75v9.45zm3.5 0H14.6V8.85h1.75v9.45zm1.4-11.55H6.2V20.4h11.55V6.75zM9.176 4.6h5.618l-.405-1.086a.488.488 0 00-.233-.164H9.827a.496.496 0 00-.232.164L9.176 4.6zM21.85 6.324a.425.425 0 01-.124.314.383.383 0 01-.313.112H19.85V20.4c0 1.15-.95 2.1-2.1 2.1H6.2c-1.15 0-2.1-.95-2.1-2.1V6.75H2.56a.382.382 0 01-.314-.113.567.567 0 01-.146-.314V5.049a.556.556 0 01.146-.314.49.49 0 01.314-.135h4.47l.956-1.87c.136-.336.382-.623.737-.86a2.087 2.087 0 011.08-.37h4.37c.363.016.723.134 1.078.37.356.237.602.524.738.86l.956 1.87h4.47a.483.483 0 01.314.135.42.42 0 01.121.314v1.275z"
fillRule="evenodd"
fill="currentColor"
/>
</svg>
);

Expand Down
Loading