@marketplace-co/icons
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,19 +0,21 @@ | ||
import { html } from "lit"; | ||
import { svg, LitElement, css } from "lit"; | ||
import Icon from "../../Icon"; | ||
const icon = ({ className = "h-5 w-5" } = {}) => { | ||
return html`<svg | ||
class="${className}" | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 20 20" | ||
fill="currentColor" | ||
aria-hidden="true" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" | ||
clip-rule="evenodd" | ||
/> | ||
</svg>`; | ||
}; | ||
const path = svg`<path | ||
fill-rule="evenodd" | ||
d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" | ||
clip-rule="evenodd" | ||
/>`; | ||
export default icon; | ||
export class ExclamationCircle extends Icon { | ||
constructor() { | ||
super(); | ||
this.path = path; | ||
} | ||
} | ||
customElements.define( | ||
"mpc-icon-hero-solid-exclamation-circle", | ||
ExclamationCircle | ||
); | ||
export default ExclamationCircle; |
{ | ||
"name": "@marketplace-co/icons", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"dependencies": { | ||
@@ -10,3 +10,3 @@ "lit": "^2.0.2" | ||
}, | ||
"gitHead": "4151ee5350e471c5bce4917fce696f60ac93dba7" | ||
"gitHead": "ff0d0866b38b14144709127d4335ef9f60273abf" | ||
} |
1504
3
57