UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

57 lines (56 loc) 2.5 kB
import { g as i } from "../../utils-BOfnFgIH.js"; import { I as r } from "../../constants-DeVuDy8J.js"; import { n as l } from "../../_plugin-vue2_normalizer-DSLOjnn3.js"; const s = { name: "DtIconBellOff", props: { /** * The size of the icon. * @values 100, 200, 300, 400, 500, 600, 700, 800 */ size: { type: String, default: "500", validator: (t) => Object.keys(r).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 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 e = this, a = e._self._c; return a("svg", { staticClass: "d-icon d-icon--bell-off", class: e.iconSizeClass, attrs: { "aria-label": e.ariaLabel, "data-qa": e.dataQA, "aria-hidden": e.ariaHidden, role: "img", "data-name": "Bell Off", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" } }, [a("g", { attrs: { "clip-path": `url(#${e.uniqueID}a)`, fill: "currentColor" } }, [a("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M4.884 10.068a.5.5 0 0 1 .684.181.5.5 0 0 0 .865 0 .5.5 0 0 1 .865.502 1.5 1.5 0 0 1-2.595 0 .5.5 0 0 1 .181-.683Z" } }), a("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M1.5 9a.5.5 0 0 1-.283-.912l.001-.001a1.51 1.51 0 0 0 .153-.142c.113-.118.274-.318.44-.622.33-.606.689-1.646.689-3.322v-.794L.646 1.354a.5.5 0 1 1 .708-.708l10 10a.5.5 0 0 1-.708.708L8.293 9H1.5Zm1.075-1c.038-.062.076-.128.114-.198.404-.74.781-1.887.81-3.597L7.292 8H2.575Z" } }), a("path", { attrs: { d: "M9.797 6.368a8.444 8.444 0 0 1-.297-2.36v-.007a3.5 3.5 0 0 0-5.442-2.917.5.5 0 0 0 .555.832A2.5 2.5 0 0 1 8.5 3.994v-.002.007-.006c-.014.891.098 1.78.333 2.639a.5.5 0 1 0 .964-.264Z" } })]), a("defs", [a("clipPath", { attrs: { id: `${e.uniqueID}a` } }, [a("path", { attrs: { fill: "#fff", d: "M0 0h12v12H0z" } })])])]); }, d = [], o = /* @__PURE__ */ l( s, n, d ); const p = o.exports; export { p as default }; //# sourceMappingURL=bell-off.js.map