@dialpad/dialtone-icons
Version:
Dialtone icon library
56 lines (55 loc) • 2.07 kB
JavaScript
import { I as r } from "../../constants-DeVuDy8J.js";
import { n as i } from "../../_plugin-vue2_normalizer-DSLOjnn3.js";
const s = {
name: "DtIconBreakoutRooms",
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");
}
};
var o = function() {
var a = this, e = a._self._c;
return e("svg", { staticClass: "d-icon d-icon--breakout-rooms", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Breakout Rooms", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" } }, [e("path", { attrs: { d: "M7 10h2V8H7v2Zm-5 0h2V8H2v2Zm5-5h3V2H7v3ZM2 5h2V3H2v2Zm3 5.089a.911.911 0 0 1-.911.911H1.91a.911.911 0 0 1-.91-.911V7.91c0-.503.408-.91.911-.911H4.09c.503 0 .91.408.911.911v2.178Zm5 0a.911.911 0 0 1-.911.911H6.91a.911.911 0 0 1-.91-.911V7.91c0-.503.408-.91.911-.911H9.09c.503 0 .91.408.911.911v2.178Zm-5-5A.911.911 0 0 1 4.089 6H1.91A.911.911 0 0 1 1 5.089V2.91c0-.503.408-.91.911-.911H4.09c.503 0 .91.408.911.911v2.18Zm6 0a.911.911 0 0 1-.911.911H6.91A.911.911 0 0 1 6 5.089V1.91c0-.503.408-.91.911-.911h3.178c.503 0 .91.408.911.911v3.18Z", fill: "currentColor" } })]);
}, n = [], c = /* @__PURE__ */ i(
s,
o,
n
);
const m = c.exports;
export {
m as default
};
//# sourceMappingURL=breakout-rooms.js.map