@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.77 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 AttributesIcon = ({ width = 24, height = 24, hidden = false, title = 'Attributes', } = {}) => {
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="M6.25 5.634V3a1 1 0 011-1h1.5a1 1 0 011 1v1H24v2H9.756a11.028 11.028 0 00.869 4H22a2 2 0 01-2 2h-8.214a7.636 7.636 0 002.628 2.219l1.358.682-3.827 1.921-.011.006A13.187 13.187 0 016.25 5.634zm17.817 13.5l-.012.006-3.826 1.92 1.357.681A7.675 7.675 0 0124.247 24H16a2 2 0 00-2 2h11.394a11.048 11.048 0 01.851 4H12v2h14.25v1a1 1 0 001 1h1.5a1 1 0 001-1v-2.678a13.189 13.189 0 00-5.683-11.193zM28.75 2h-1.5a1 1 0 00-1 1v2.634c0 3.793-1.83 7.163-4.664 8.586l-8.742 4.389c-4.006 2.012-6.594 6.61-6.594 11.713V33a1 1 0 001 1h1.5a1 1 0 001-1v-2.678c0-3.792 1.83-7.162 4.664-8.586l8.742-4.388c4.006-2.012 6.594-6.61 6.594-11.714V3a1 1 0 00-1-1z"
/>
</svg>`;
};
//# sourceMappingURL=Attributes.js.map