UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

56 lines (55 loc) 1.92 kB
import { I as i } from "../constants-DeVuDy8J.js"; import { n as r } from "../_plugin-vue2_normalizer-DSLOjnn3.js"; const s = { name: "DtIconMiro", props: { /** * The size of the icon. * @values 100, 200, 300, 400, 500, 600, 700, 800 */ size: { type: String, default: "500", validator: (t) => Object.keys(i).includes(t) }, /** * The label of the icon as read out by a screenreader. Leave this unset if your icon is purely presentational */ ariaLabel: { type: String, default: void 0 } }, /** * @TODO: Remove this emit once the icons migration is complete, * they will no longer need this event. * */ emits: ["loaded"], computed: { iconSizeClass() { return i[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"); } }; var n = function() { var a = this, e = a._self._c; return e("svg", { staticClass: "d-icon d-icon--miro", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Miro", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" } }, [e("path", { attrs: { d: "M18.774 2H5.226A3.226 3.226 0 0 0 2 5.226v13.548A3.226 3.226 0 0 0 5.226 22h13.548A3.226 3.226 0 0 0 22 18.774V5.226A3.226 3.226 0 0 0 18.774 2Z", fill: "#FFD02F" } }), e("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M15.506 5.125h-1.951l1.626 2.946-3.577-2.946H9.652l1.789 3.601-3.74-3.601H5.75l1.951 4.583-1.951 9.167h1.951l3.74-9.821-1.789 9.821h1.952L15.18 8.399l-1.626 10.476h1.951l3.577-11.458-3.577-2.292Z", fill: "#050038" } })]); }, l = [], d = /* @__PURE__ */ r( s, n, l ); const _ = d.exports; export { _ as default }; //# sourceMappingURL=miro.js.map