@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
42 lines (41 loc) • 1.57 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 DeselectIcon = ({ width = 24, height = 24, hidden = false, title = 'Deselect' } = {}) => {
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="M4 18h2v6H4zm2 12v-2H4v3.111a.889.889 0 00.889.889H8v-2zm6 0h6v2h-6zm18-18h2v6h-2zm1.111-8H28v2h2v2h2V4.889A.889.889 0 0031.111 4zM18 4h6v2h-6z"
/>
<rect
height="43.854"
rx=".818"
ry=".818"
transform="rotate(-45 18 18)"
width="2.455"
x="16.773"
y="-3.927"
/>
<path
d="M32 27.437V22h-2v3.437l2 2zM25.436 30H22v2h5.436l-2-2zM4 8.563V14h2v-3.437l-2-2zM10.562 6H14V4H8.562l2 2z"
/>
</svg>`;
};
//# sourceMappingURL=Deselect.js.map