alinea
Version:
Headless git-based CMS
20 lines (17 loc) • 804 B
JavaScript
import {
K,
L
} from "./chunk-VUACWPFC.js";
// node_modules/@headlessui/react/dist/internal/hidden.js
var a = "span";
var s = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(s || {});
function l(t, r) {
var n;
let { features: d = 1, ...e } = t, o = { ref: r, "aria-hidden": (d & 2) === 2 ? true : (n = e["aria-hidden"]) != null ? n : void 0, hidden: (d & 4) === 4 ? true : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(d & 4) === 4 && (d & 2) !== 2 && { display: "none" } } };
return L()({ ourProps: o, theirProps: e, slot: {}, defaultTag: a, name: "Hidden" });
}
var f = K(l);
export {
s,
f
};