@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
31 lines (30 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 PasteHTMLIcon = ({ width = 24, height = 24, hidden = false, title = 'Paste HTM L', } = {}) => {
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="M22 6V4a4 4 0 00-8 0v2h-4v4h16V6zm-2 0h-4V4a2 2 0 014 0z" />
<path
d="M31 6h-3v5a1 1 0 01-1 1H9a1 1 0 01-1-1V6H5a1 1 0 00-1 1v26a1 1 0 001 1h26a1 1 0 001-1V7a1 1 0 00-1-1zM14.049 25.183a.4.4 0 010 .563l-1.688 1.688a.4.4 0 01-.563 0l-4.871-4.871a.8.8 0 010-1.125l4.873-4.872a.4.4 0 01.563 0l1.688 1.688a.4.4 0 010 .563L10.866 22zm3.833 4.7a.4.4 0 01-.468.312l-2.34-.468a.4.4 0 01-.313-.468l3.027-15.139a.4.4 0 01.468-.312l2.341.468a.4.4 0 01.312.468zm11.191-7.318L24.2 27.434a.4.4 0 01-.563 0l-1.688-1.688a.4.4 0 010-.563L25.134 22l-3.183-3.183a.4.4 0 010-.563l1.688-1.688a.4.4 0 01.563 0l4.871 4.871a.8.8 0 010 1.126z"
/>
</svg>`;
};
//# sourceMappingURL=PasteHTML.js.map