UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

106 lines (105 loc) 3.37 kB
import { g as s } from "../utils-BOfnFgIH.js"; import { I as i } from "../constants-DeVuDy8J.js"; import { openBlock as l, createElementBlock as d, normalizeClass as n, createElementVNode as e } from "vue"; import { _ as r } from "../_plugin-vue_export-helper-CHgC5LLL.js"; const c = { name: "DtIconDialpadAiColorReversed", 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"), this.uniqueID = s(); } }, _ = ["aria-label", "data-qa", "aria-hidden"], u = ["clip-path"], f = ["fill"], p = /* @__PURE__ */ e("path", { 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" }, null, -1), h = ["id"], m = /* @__PURE__ */ e("stop", { offset: ".297", "stop-color": "#7C52FF" }, null, -1), v = /* @__PURE__ */ e("stop", { offset: ".762", "stop-color": "#F9008E" }, null, -1), g = /* @__PURE__ */ e("stop", { offset: "1", "stop-color": "#F6AB3C" }, null, -1), I = [ m, v, g ], b = ["id"], q = /* @__PURE__ */ e("path", { fill: "#fff", d: "M0 0h24v24H0z" }, null, -1), A = [ q ]; function C(t, D, o, S, z, a) { return l(), d("svg", { "aria-label": o.ariaLabel, class: n([a.iconSizeClass, "d-icon d-icon--dialpad-ai-color-reversed"]), "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Dialpad Ai Color Reversed", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, [ e("g", { "clip-path": `url(#${t.uniqueID}a)` }, [ e("path", { 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)` }, null, 8, f), p ], 8, u), e("defs", null, [ e("linearGradient", { id: `${t.uniqueID}b`, x1: "25.431", y1: "23.998", x2: "10.959", y2: "-6.687", gradientUnits: "userSpaceOnUse" }, I, 8, h), e("clipPath", { id: `${t.uniqueID}a` }, A, 8, b) ]) ], 10, _); } const F = /* @__PURE__ */ r(c, [["render", C]]); export { F as default }; //# sourceMappingURL=dialpad-ai-color-reversed.js.map