UNPKG

welcome-ui

Version:

Customizable design system with react, typescript, tailwindcss and ariakit.

26 lines (25 loc) 727 B
"use client"; import { u } from "./NMGNQVTG-a9HpYqEe.js"; import { b as c } from "./T22PY7TE-BxbmImwX.js"; import { f as l, c as p, b as D, _ as m, i as g, a, C as v } from "./OE2EFRVA-C3721cM3.js"; var f = "button", d = p( function(r) { var s = r, { store: o } = s, e = m(s, ["store"]); const i = c(); o = o || i, g( o, process.env.NODE_ENV !== "production" && "DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component." ); const n = o.useState("contentElement"); return e = a({ "aria-haspopup": v(n, "dialog") }, e), e = u(a({ store: o }, e)), e; } ), P = l(function(r) { const s = d(r); return D(f, s); }); export { P as D, d as u };