@dialpad/dialtone-icons
Version:
Dialtone icon library
56 lines (55 loc) • 2.16 kB
JavaScript
import { I as i } from "../../constants-DeVuDy8J.js";
import { n as r } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const l = {
name: "DtIconGoogleMeet",
props: {
/**
* The size of the icon.
* @values 100, 200, 300, 400, 500, 600, 700, 800
*/
size: {
type: String,
default: "500",
validator: (e) => Object.keys(i).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 i[this.size];
},
ariaHidden() {
return this.ariaLabel ? "false" : "true";
},
dataQA() {
return this.$attrs["data-qa"] ?? "dt-icon";
}
},
created() {
this.$emit("loaded");
}
};
var s = function() {
var t = this, a = t._self._c;
return a("svg", { staticClass: "d-icon d-icon--google-meet", class: t.iconSizeClass, attrs: { "aria-label": t.ariaLabel, "data-qa": t.dataQA, "aria-hidden": t.ariaHidden, role: "img", "data-name": "Google Meet", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" } }, [a("path", { attrs: { d: "M1.5 8.5v7L4 16l2.5-.5v-7L4 8l-2.5.5Z", fill: "#1E88E5" } }), a("path", { attrs: { d: "M18.5 12v7a1.5 1.5 0 0 1-1.5 1.5H6.5L6 18l.5-2.5h7V12l2.5-.5 2.5.5Z", fill: "#4CAF50" } }), a("path", { attrs: { d: "M18.5 5v7h-5V8.5h-7L6 6l.5-2.5H17A1.5 1.5 0 0 1 18.5 5Z", fill: "#FBC02D" } }), a("path", { attrs: { d: "M6.5 15.5v5H3A1.5 1.5 0 0 1 1.5 19v-3.5h5Z", fill: "#1565C0" } }), a("path", { attrs: { d: "M6.5 3.5v5h-5l5-5Z", fill: "#E53935" } }), a("path", { attrs: { d: "m19 12-.5 4.225-5-4.225 5-4.225L19 12Z", fill: "#2E7D32" } }), a("path", { attrs: { d: "M23 5.055v13.89c0 .42-.49.655-.815.39l-3.685-3.11v-8.45l3.685-3.11a.501.501 0 0 1 .815.39Z", fill: "#4CAF50" } })]);
}, d = [], n = /* @__PURE__ */ r(
l,
s,
d
);
const _ = n.exports;
export {
_ as default
};
//# sourceMappingURL=google-meet.js.map