UNPKG

@dialpad/dialtone-icons

Version:
71 lines (70 loc) 2.42 kB
import { t as e } from "../../constants-B7fXbm2f.js"; import { t } from "../../_plugin-vue_export-helper-B52Kst-M.js"; import { createElementBlock as n, createElementVNode as r, normalizeClass as i, openBlock as a } from "vue"; //#region ../src/icons/slack.vue var o = { name: "DtIconSlack", props: { size: { type: String, default: "500", validator: (t) => Object.keys(e).includes(t) }, ariaLabel: { type: String, default: void 0 } }, emits: ["loaded"], computed: { iconSizeClass() { return e[this.size]; }, ariaHidden() { return this.ariaLabel ? "false" : "true"; }, dataQA() { return this.$attrs["data-qa"] ?? "dt-icon"; } }, created() { this.$emit("loaded"); } }, s = [ "aria-label", "data-qa", "aria-hidden" ]; function c(e, t, o, c, l, u) { return a(), n("svg", { "aria-label": o.ariaLabel, class: i([u.iconSizeClass, "d-icon d-icon--slack"]), "data-qa": u.dataQA, "aria-hidden": u.ariaHidden, role: "img", "data-name": "Slack", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, [...t[0] || (t[0] = [ r("path", { d: "M6.202 14.639c0 1.156-.945 2.1-2.101 2.1A2.106 2.106 0 0 1 2 14.64c0-1.157.945-2.101 2.101-2.101h2.101v2.1Zm1.058-.001c0-1.156.945-2.1 2.102-2.1 1.156 0 2.1.944 2.1 2.1V19.9A2.106 2.106 0 0 1 9.363 22a2.106 2.106 0 0 1-2.101-2.101v-5.26Z", fill: "#E01E5A" }, null, -1), r("path", { d: "M9.362 6.202A2.106 2.106 0 0 1 7.26 4.101C7.26 2.945 8.205 2 9.36 2c1.157 0 2.101.945 2.101 2.101v2.101h-2.1Zm0 1.058c1.156 0 2.1.945 2.1 2.102 0 1.156-.944 2.1-2.1 2.1H4.1A2.106 2.106 0 0 1 2 9.363c0-1.157.945-2.101 2.101-2.101h5.26Z", fill: "#36C5F0" }, null, -1), r("path", { d: "M17.798 9.362c0-1.157.945-2.101 2.101-2.101 1.156 0 2.101.944 2.101 2.1a2.106 2.106 0 0 1-2.101 2.101h-2.101v-2.1Zm-1.058 0c0 1.156-.945 2.1-2.102 2.1a2.106 2.106 0 0 1-2.1-2.1V4.1c0-1.156.944-2.101 2.1-2.101 1.157 0 2.101.945 2.101 2.101v5.26Z", fill: "#2EB67D" }, null, -1), r("path", { d: "M14.638 17.798c1.157 0 2.101.945 2.101 2.101A2.106 2.106 0 0 1 14.64 22a2.106 2.106 0 0 1-2.102-2.101v-2.1h2.101Zm0-1.058a2.106 2.106 0 0 1-2.1-2.101c0-1.157.944-2.101 2.1-2.101H19.9c1.156 0 2.1.944 2.1 2.1a2.105 2.105 0 0 1-2.1 2.101h-5.26Z", fill: "#ECB22E" }, null, -1) ])], 10, s); } var l = /* @__PURE__ */ t(o, [["render", c]]); //#endregion export { l as default }; //# sourceMappingURL=slack.js.map