kit-disclosure
<kit-disclosure> wraps native <details> and <summary> so disclosure behavior, keyboard handling, and semantics stay with the browser.
<kit-disclosure summary="Advanced settings"> <p>Additional configuration lives here.</p></kit-disclosure>Attributes
Section titled “Attributes”| Attribute | Type | Notes |
|---|---|---|
open | boolean | Reflects the native disclosure state. |
summary | string | Fallback summary text when no slot="summary" is provided. |
Events
Section titled “Events”kit-disclosure-toggle— emitted when the native details state changes, with{ open }.
summary— optional custom summary content.- default — disclosure content.
Runtime participation
Section titled “Runtime participation”Use @atheory-ai/kitsune-ui/elements/kit-disclosure for the standalone class or /components/kit-disclosure for createKitDisclosureComponent. Both imports are registration-free; only /register registers the catalog. The factory borrows a compatible host session and preserves this renderer’s native controls/slots. See supplied participation for property bindings, fixed JSON interactions, working drafts and cleanup.