UNPKG

@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

39 lines (38 loc) 2.16 kB
/* 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 PresetIcon = ({ width = 24, height = 24, hidden = false, title = 'Preset' } = {}) => { 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="M34 14a12 12 0 00-23.483-3.483 12.038 12.038 0 012.3-.457A10 10 0 1125.94 23.185a12.038 12.038 0 01-.457 2.3A12 12 0 0034 14z" /> <path d="M14 12h2v2h-2zm-2 2h2v2h-2zm2 2h2v2h-2zm-2 2h2v2h-2zm2 2h2v2h-2zm2 2h2v2h-2zm0-4h2v2h-2zm0-4h2v2h-2zm2 2h2v2h-2zm0 4h2v2h-2z" /> <path d="M24 25.817V24h-2v2a11.986 11.986 0 01-2-.18V24h-2v1.3a11.939 11.939 0 01-2-.922V24h-.628A11.886 11.886 0 0114 22.926V22h-.926A12.173 12.173 0 0112 20.628V20h-.381a11.856 11.856 0 01-.921-2H12v-2h-1.82a11.986 11.986 0 01-.18-2h2v-2h-1.817a12.068 12.068 0 01.334-1.482 12 12 0 1014.966 14.964 12.128 12.128 0 01-1.483.335z" /> <path d="M20 22h2v2h-2zm2-2h2v2h-2zm-2-2h2v2h-2zm2-2h2v2h-2zm-2-2h2v2h-2zm-2-2h2v2h-2zm8 10h-2v2h1.817A11.881 11.881 0 0026 22zm-.7-4H24v2h1.82a11.908 11.908 0 00-.52-2zM24 15.372V16h.381a11.785 11.785 0 00-.381-.628zM12 12h2v-2a11.881 11.881 0 00-2 .183zm4-1.82V12h2v-1.3a11.908 11.908 0 00-2-.52zm4 1.439V12h.628a11.785 11.785 0 00-.628-.381zm2 1.455V14h.926a11.9 11.9 0 00-.926-.926z" /> </svg>`; }; //# sourceMappingURL=Preset.js.map