UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

57 lines (56 loc) 2.88 kB
import { g as i } from "../utils-BOfnFgIH.js"; import { I as r } from "../constants-DeVuDy8J.js"; import { n as s } from "../_plugin-vue2_normalizer-DSLOjnn3.js"; const o = { name: "DtIconDialpadAiColorReversed", props: { /** * The size of the icon. * @values 100, 200, 300, 400, 500, 600, 700, 800 */ size: { type: String, default: "500", validator: (e) => Object.keys(r).includes(e) }, /** * 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 r[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"), this.uniqueID = i(); } }; var n = function() { var t = this, a = t._self._c; return a("svg", { staticClass: "d-icon d-icon--dialpad-ai-color-reversed", class: t.iconSizeClass, attrs: { "aria-label": t.ariaLabel, "data-qa": t.dataQA, "aria-hidden": t.ariaHidden, role: "img", "data-name": "Dialpad Ai Color Reversed", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" } }, [a("g", { attrs: { "clip-path": `url(#${t.uniqueID}a)` } }, [a("path", { attrs: { d: "M0 5.301A5.301 5.301 0 0 1 5.301 0h13.398A5.301 5.301 0 0 1 24 5.301v13.398A5.301 5.301 0 0 1 18.699 24H5.301A5.301 5.301 0 0 1 0 18.699V5.301Z", fill: `url(#${t.uniqueID}b)` } }), a("path", { attrs: { d: "M19.725 7.634c0 .693-.585 1.255-1.307 1.255s-1.307-.562-1.307-1.255c0-.693.585-1.255 1.307-1.255s1.307.562 1.307 1.255ZM8.856 9.142c.27-.88.787-1.166 1.088-1.166.301 0 .817.285 1.087 1.162v.001l1.964 6.332v.002c.417 1.35 1.503 2.626 3.071 2.626a3.41 3.41 0 0 0 3.41-3.41v-4.335a1.038 1.038 0 0 0-2.075 0v4.336c0 .737-.598 1.334-1.335 1.334-.3 0-.817-.286-1.087-1.163l-1.964-6.333C12.598 7.177 11.512 5.9 9.943 5.9c-1.57 0-2.657 1.28-3.072 2.632v.002l-2.55 8.22a1.038 1.038 0 0 0 1.982.615l2.551-8.226v-.001Z", fill: "#fff" } })]), a("defs", [a("linearGradient", { attrs: { id: `${t.uniqueID}b`, x1: "25.431", y1: "23.998", x2: "10.959", y2: "-6.687", gradientUnits: "userSpaceOnUse" } }, [a("stop", { attrs: { offset: ".297", "stop-color": "#7C52FF" } }), a("stop", { attrs: { offset: ".762", "stop-color": "#F9008E" } }), a("stop", { attrs: { offset: "1", "stop-color": "#F6AB3C" } })], 1), a("clipPath", { attrs: { id: `${t.uniqueID}a` } }, [a("path", { attrs: { fill: "#fff", d: "M0 0h24v24H0z" } })])], 1)]); }, l = [], d = /* @__PURE__ */ s( o, n, l ); const u = d.exports; export { u as default }; //# sourceMappingURL=dialpad-ai-color-reversed.js.map