@anoki/fse-ui
Version:
FSE UI components library
34 lines (33 loc) • 737 B
JavaScript
import * as a from "react";
import { Primitive as o } from "./index.es487.js";
import { j as t } from "./index.es237.js";
var d = Object.freeze({
// See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
position: "absolute",
border: 0,
width: 1,
height: 1,
padding: 0,
margin: -1,
overflow: "hidden",
clip: "rect(0, 0, 0, 0)",
whiteSpace: "nowrap",
wordWrap: "normal"
}), s = "VisuallyHidden", e = a.forwardRef(
(r, i) => /* @__PURE__ */ t.jsx(
o.span,
{
...r,
ref: i,
style: { ...d, ...r.style }
}
)
);
e.displayName = s;
var n = e;
export {
n as Root,
d as VISUALLY_HIDDEN_STYLES,
e as VisuallyHidden
};
//# sourceMappingURL=index.es641.js.map