const e = "https://nice2dev.com/schemas/component-doc-v1.json", t = "NiceFocusTrap", c = "Trap focus within a container for modals and dialogs.", o = "accessibility", n = "1.0.0", i = "stable", s = [{ name: "children", type: "React.ReactNode", required: !0, description: "Trapped content" }, { name: "active", type: "boolean", default: "true", description: "Active state" }, { name: "initialFocus", type: "RefObject<HTMLElement> | string", description: "Initial focus target" }, { name: "returnFocus", type: "boolean", default: "true", description: "Return focus on deactivate" }, { name: "clickOutsideDeactivates", type: "boolean", default: "false", description: "Click outside deactivates" }], a = [{ title: "Focus Trap", description: "Trap focus in modal", code: `<NiceFocusTrap active={isModalOpen} returnFocus>
  <div role="dialog">
    <input type="text" />
    <button>Submit</button>
    <button onClick={close}>Close</button>
  </div>
</NiceFocusTrap>` }], r = { keyboard: ["Tab cycles within trap"], aria: ["Focus management"] }, d = ["NiceModal", "NiceSkipLink"], u = {
  $schema: e,
  name: t,
  description: c,
  category: o,
  since: n,
  status: i,
  props: s,
  examples: a,
  accessibility: r,
  seeAlso: d
};
export {
  e as $schema,
  r as accessibility,
  o as category,
  u as default,
  c as description,
  a as examples,
  t as name,
  s as props,
  d as seeAlso,
  n as since,
  i as status
};
