@dialpad/dialtone-icons
Version:
Dialtone icon library
56 lines (55 loc) • 2.06 kB
JavaScript
import { I as s } from "../constants-DeVuDy8J.js";
import { n as i } from "../_plugin-vue2_normalizer-DSLOjnn3.js";
const r = {
name: "DtIconGoogleBusinessMessaging",
props: {
/**
* The size of the icon.
* @values 100, 200, 300, 400, 500, 600, 700, 800
*/
size: {
type: String,
default: "500",
validator: (t) => Object.keys(s).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 s[this.size];
},
ariaHidden() {
return this.ariaLabel ? "false" : "true";
},
dataQA() {
return this.$attrs["data-qa"] ?? "dt-icon";
}
},
created() {
this.$emit("loaded");
}
};
var n = function() {
var a = this, e = a._self._c;
return e("svg", { staticClass: "d-icon d-icon--google-business-messaging", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Google Business Messaging", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" } }, [e("path", { attrs: { d: "M20.331 7.245A6.191 6.191 0 0 0 14.312 2.5H7.939a6.187 6.187 0 0 0-4.252 10.683z", fill: "#86a9ff" } }), e("path", { attrs: { d: "M3.686 13.182A6.114 6.114 0 0 0 5.29 16.01l6.369 6.369a.42.42 0 0 0 .717-.298v-4.205h3.688a6.187 6.187 0 0 0 6.186-6.294 6.106 6.106 0 0 0-1.919-4.337z", fill: "#578cff" } }), e("path", { attrs: { d: "M14.313 14.875a6.187 6.187 0 0 0 6.018-7.63 6.337 6.337 0 0 0-4.37-1.745H9.687A6.187 6.187 0 0 0 3.5 11.688a6.1 6.1 0 0 0 .186 1.494 6.167 6.167 0 0 0 4.251 1.693z", fill: "#0057cc" } })]);
}, o = [], d = /* @__PURE__ */ i(
r,
n,
o
);
const _ = d.exports;
export {
_ as default
};
//# sourceMappingURL=google-business-messaging.js.map