@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
32 lines (31 loc) • 960 B
JavaScript
import n from "./NeonDrawer.es.js";
import { openBlock as a, createElementBlock as d, normalizeClass as r, createElementVNode as o, renderSlot as l } from "vue";
import s from "../../../_virtual/_plugin-vue_export-helper.es.js";
const t = /* @__PURE__ */ o("div", { class: "neon-drawer__overlay" }, null, -1);
function i(e, c, p, w, f, _) {
return a(), d("div", {
class: r(["neon-drawer", [
`neon-drawer--${e.position}`,
{
"neon-drawer--open": e.open,
"neon-drawer--with-overlay": e.overlay
}
]]),
role: "dialog",
"aria-describedby": "neonDrawerDesc"
}, [
t,
o("div", {
id: "neonDrawerDesc",
ref: "drawer",
class: r(["neon-drawer__container", { "neon-drawer__container--full-width": e.fullWidth }])
}, [
l(e.$slots, "default")
], 2)
], 2);
}
const $ = /* @__PURE__ */ s(n, [["render", i]]);
export {
$ as default
};
//# sourceMappingURL=NeonDrawer.vue.es.js.map