const e = "https://nice2dev.com/schemas/component-doc-v1.json", o = "NiceModal", a = "Modal", n = "1.0.0", t = "stable", i = "overlays", s = "dialog", l = "Dialog overlay with focus trapping, customizable header/footer, and fullscreen support.", c = "1.0.0", r = ["web", "mobile", "desktop"], d = ["modal", "dialog", "popup", "overlay"], p = [{ name: "open", type: "boolean", required: !0, description: "Controls visibility." }, { name: "title", type: "string", required: !1, description: "Modal title." }, { name: "size", type: "NiceSize", required: !1, default: "'md'", description: "Modal size." }, { name: "children", type: "ReactNode", required: !0, description: "Modal content." }, { name: "footer", type: "ReactNode", required: !1, description: "Footer content (buttons)." }, { name: "closeOnOverlay", type: "boolean", required: !1, default: "true", description: "Close on backdrop click." }, { name: "closeOnEscape", type: "boolean", required: !1, default: "true", description: "Close on Escape key." }, { name: "fullscreenable", type: "boolean", required: !1, description: "Show fullscreen toggle." }, { name: "zIndex", type: "number", required: !1, description: "Custom z-index." }], u = [{ name: "onClose", parameters: [], description: "Called when modal should close." }], m = [{ name: "--nice-modal-bg", default: "var(--nice-surface-bg)", description: "Modal background" }, { name: "--nice-modal-overlay-bg", default: "rgba(0,0,0,0.5)", description: "Backdrop color" }], f = { aria: ['role="dialog"', 'aria-modal="true"', "aria-labelledby"], keyboard: [{ key: "Escape", action: "Close modal" }, { key: "Tab", action: "Focus trap" }] }, y = [{ title: "Basic Modal", code: `<NiceModal
  open={isOpen}
  title="Edit Profile"
  onClose={() => setIsOpen(false)}
  footer={
    <>
      <NiceButton onClick={() => setIsOpen(false)}>Cancel</NiceButton>
      <NiceButton variant="primary" onClick={handleSave}>Save</NiceButton>
    </>
  }
>
  <ProfileForm />
</NiceModal>`, language: "tsx" }], b = [{ name: "NiceDrawer", relationship: "alternative" }, { name: "NiceConfirmDialog", relationship: "specialized" }], g = {
  $schema: e,
  name: o,
  displayName: a,
  version: n,
  status: t,
  category: i,
  subcategory: s,
  package: "@nicetoDev/ui",
  description: l,
  since: c,
  platforms: r,
  keywords: d,
  props: p,
  events: u,
  cssVariables: m,
  accessibility: f,
  examples: y,
  related: b
};
export {
  e as $schema,
  f as accessibility,
  i as category,
  m as cssVariables,
  g as default,
  l as description,
  a as displayName,
  u as events,
  y as examples,
  d as keywords,
  o as name,
  r as platforms,
  p as props,
  b as related,
  c as since,
  t as status,
  s as subcategory,
  n as version
};
