@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) • 2.21 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 QuickSelectIcon = ({ width = 24, height = 24, hidden = false, title = 'Quick Select', } = {}) => {
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="M16.333 17.814a4.468 4.468 0 00-3.14.838 6.435 6.435 0 00-1.968 3.436c-.433 1.378-.948 2.877-2.182 3.627a2.28 2.28 0 00-.588.41.524.524 0 00-.062.657.729.729 0 00.4.189c3.317.764 7.549 1.018 10.278-1.434a4.4 4.4 0 00-1.281-7.327 4.714 4.714 0 00-1.457-.396zm6.604 1.713c5.707-6.49 12.954-15.41 11.056-17.308S24.235 9.174 18.582 15.37a7.93 7.93 0 014.355 4.157zM7.469 5.954l-.6-2.037A11.153 11.153 0 003.064 8.39l1.985.483a9.007 9.007 0 012.42-2.919zM4 13c0-.242.052-.469.071-.706l-1.988-.484A11.163 11.163 0 002 13.111v3.111h2zm0 10v-3.222H2v3.111a11.167 11.167 0 00.11 1.483l1.98-.483A8.717 8.717 0 014 23zm1.14 4.293l-1.994.486a11.151 11.151 0 003.726 4.3l.6-2.038a8.979 8.979 0 01-2.332-2.748zM13 32a8.87 8.87 0 01-2.3-.336l-.563 1.921a10.864 10.864 0 005.948 0L15.5 31.6a8.868 8.868 0 01-2.5.4zm7.886-4.755A8.991 8.991 0 0118.71 29.9l.64 2.185a11.154 11.154 0 003.727-4.3zm.056-18.389q.805-.869 1.554-1.66a11.1 11.1 0 00-3.146-3.279L18.71 6.1a8.98 8.98 0 012.232 2.756zM13 4a8.867 8.867 0 012.5.4l.581-1.983a10.864 10.864 0 00-5.948 0l.562 1.92A8.884 8.884 0 0113 4z"
/>
</svg>`;
};
//# sourceMappingURL=QuickSelect.js.map