alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
19 lines (16 loc) • 716 B
JavaScript
import {
D,
X
} from "./chunk-QEHUZJO2.js";
// node_modules/@headlessui/react/dist/internal/hidden.js
var a = "div";
var p = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(p || {});
function s(t, o) {
let { features: n = 1, ...e } = t, d = { ref: o, "aria-hidden": (n & 2) === 2 ? 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", ...(n & 4) === 4 && (n & 2) !== 2 && { display: "none" } } };
return X({ ourProps: d, theirProps: e, slot: {}, defaultTag: a, name: "Hidden" });
}
var c = D(s);
export {
p,
c
};