@spectrum-web-components/icons-workflow
Version:
[Spectrum Workflow Icons](https://spectrum.adobe.com/page/icons/) delivered in a flexible template tag so that they can be leveraged across various frameworks. The default export of this package pre-applies the `html` template tag from `lit-html` for ease
30 lines (29 loc) • 1.76 kB
JavaScript
/*
Copyright 2020 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/
import { tag as html } from '../custom-tag.js';
export { setCustomTemplateLiteralTag } from '../custom-tag.js';
export const ImageMapPolygonIcon = ({ width = 24, height = 24, hidden = false, title = 'Image Map Polygon', } = {}) => {
return html `<svg
xmlns="http://www.w3.org/2000/svg"
height="${height}"
viewBox="0 0 36 36"
width="${width}"
aria-hidden="${hidden ? 'true' : 'false'}"
role="img"
fill="currentColor"
aria-label="${title}"
>
<path
d="M35.5 2h-7a.5.5 0 00-.5.5v4.412l-6.011 3.561A.5.5 0 0021.5 10h-7a.5.5 0 00-.5.5v.952L8 9.23V4.5a.5.5 0 00-.5-.5h-7a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h3.877l3.691 12H6.5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-2.57l10-1.667V29.5a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-1.449L31.9 10h3.6a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zM16 12h4v4h-4zM6 10H2V6h4zm6 20H8v-4h4zm12-7.5v2.736L14 26.9v-2.4a.5.5 0 00-.5-.5h-3.338L6.469 12H7.5a.5.5 0 00.5-.5v-.137l6 2.222V17.5a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-4.708l6-3.556V9.5a.5.5 0 00.5.5h1.372l-1.846 12H24.5a.5.5 0 00-.5.5zm6 5.5h-4v-4h4zm4-20h-4V4h4z"
/>
</svg>`;
};
//# sourceMappingURL=ImageMapPolygon.js.map