UNPKG

@dialpad/dialtone-icons

Version:

Dialtone icon library

56 lines (55 loc) 2.11 kB
import { I as r } from "../constants-DeVuDy8J.js"; import { n as i } from "../_plugin-vue2_normalizer-DSLOjnn3.js"; const n = { name: "DtIconFolderTree", 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 s = function() { var a = this, e = a._self._c; return e("svg", { staticClass: "d-icon d-icon--folder-tree", class: a.iconSizeClass, attrs: { "aria-label": a.ariaLabel, "data-qa": a.dataQA, "aria-hidden": a.ariaHidden, role: "img", "data-name": "Folder Tree", viewBox: "0 0 12 12", xmlns: "http://www.w3.org/2000/svg" } }, [e("path", { attrs: { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M5.793 1.293A1 1 0 0 1 6.5 1h1a1 1 0 0 1 .8.4l.45.6H10a1 1 0 0 1 1 1v1.5a1 1 0 0 1-1 1H6.5a1 1 0 0 1-1-1V2a1 1 0 0 1 .293-.707ZM7.5 2h-1v2.5H10V3H8.75a1 1 0 0 1-.8-.4L7.5 2Zm-.061 4.5a1 1 0 0 1 .898.55l.002.005.218.445H10a1 1 0 0 1 1 1V10a1 1 0 0 1-1 1H6.5a1 1 0 0 1-1-1V7.5a1 1 0 0 1 1-1h.939Zm.001 1H6.5V10H10V8.5H8.561m-1.118-1H7.44Z", fill: "currentColor" } }), e("path", { attrs: { d: "M2 1.5a.5.5 0 0 0-1 0V8c0 .826.674 1.5 1.5 1.5H4a.5.5 0 0 0 0-1H2.5A.503.503 0 0 1 2 8V3.914c.157.056.325.086.5.086H4a.5.5 0 0 0 0-1H2.5a.503.503 0 0 1-.5-.5v-1Z", fill: "currentColor" } })]); }, d = [], l = /* @__PURE__ */ i( n, s, d ); const _ = l.exports; export { _ as default }; //# sourceMappingURL=folder-tree.js.map