UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

57 lines (56 loc) 3.02 kB
import { g as r } from "../../utils-BOfnFgIH.js"; import { I as s } from "../../constants-DeVuDy8J.js"; import { n as o } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; const i = { name: "DtIconDialpadAiColor", props: { /** * The size of the icon. * @values 100, 200, 300, 400, 500, 600, 700, 800 */ size: { type: String, default: "500", validator: (e) => Object.keys(s).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 s[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"), this.uniqueID = r(); } }; var n = function() { var a = this, t = a._self._c; return t("svg", { staticClass: "d-icon d-icon--dialpad-ai-color", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Dialpad Ai Color", viewBox: "0 0 24 25", xmlns: "http://www.w3.org/2000/svg" } }, [t("path", { attrs: { d: "M21.442 7.332a1.916 1.916 0 1 0 0-3.832 1.916 1.916 0 0 0 0 3.832Z", fill: `url(#${a.uniqueID}a)` } }), t("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.182 6.888c-.434 0-1.182.413-1.57 1.683l-.001.002-3.683 11.873a1.498 1.498 0 0 1-2.86-.888l3.68-11.864V7.69c.6-1.952 2.168-3.798 4.434-3.798 2.265 0 3.831 1.842 4.431 3.79 0 0 0 .001 0 0l2.835 9.142c.39 1.265 1.136 1.68 1.57 1.68a1.926 1.926 0 0 0 1.926-1.927V10.32a1.497 1.497 0 1 1 2.995 0v6.257a4.921 4.921 0 0 1-4.921 4.922c-2.263 0-3.831-1.842-4.431-3.791 0-.001 0 0 0 0l-2.837-9.14c-.389-1.267-1.134-1.68-1.57-1.68Z", fill: `url(#${a.uniqueID}b)` } }), t("defs", [t("linearGradient", { attrs: { id: `${a.uniqueID}a`, x1: "2.799", y1: "3.5", x2: "17.027", y2: "24.562", gradientUnits: "userSpaceOnUse" } }, [t("stop", { attrs: { "stop-color": "#FF5E2F" } }), t("stop", { attrs: { offset: ".25", "stop-color": "#FF1356" } }), t("stop", { attrs: { offset: ".66", "stop-color": "#FF1BA4" } }), t("stop", { attrs: { offset: "1", "stop-color": "#9D42EA" } })], 1), t("linearGradient", { attrs: { id: `${a.uniqueID}b`, x1: "2.799", y1: "3.5", x2: "17.027", y2: "24.562", gradientUnits: "userSpaceOnUse" } }, [t("stop", { attrs: { "stop-color": "#FF5E2F" } }), t("stop", { attrs: { offset: ".25", "stop-color": "#FF1356" } }), t("stop", { attrs: { offset: ".66", "stop-color": "#FF1BA4" } }), t("stop", { attrs: { offset: "1", "stop-color": "#9D42EA" } })], 1)], 1)]); }, l = [], d = /* @__PURE__ */ o( i, n, l ); const u = d.exports; export { u as default }; //# sourceMappingURL=dialpad-ai-color.js.map