dgz-ui-shared
Version:
Custom ui library using React.js, Shadcn/ui, TailwindCSS, Typescript, dgz-ui library
31 lines (30 loc) • 619 B
JavaScript
import * as o from "react";
import { a as i, h as t } from "./index-DqTIeHVj-CeLMF2B2.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"
}), p = "VisuallyHidden", r = o.forwardRef(
(e, a) => /* @__PURE__ */ i.jsx(
t.span,
{
...e,
ref: a,
style: { ...d, ...e.style }
}
)
);
r.displayName = p;
var l = r;
export {
l as n,
d as s
};