Generated API snapshot
@askrjs/ui/collapsible
Exports from the declarations published in @askrjs/ui 0.0.13. Signatures are generated from the installed artifact.
@askrjs/ui/collapsible0.0.13
Exports
This entrypoint publishes 9 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.
Collapsibletype
Collapsible: (props: CollapsibleProps) => import("@askrjs/askr/jsx-runtime").JSX.ElementCOLLAPSIBLE_A11Y_CONTRACTtype
COLLAPSIBLE_A11Y_CONTRACT: { readonly TRIGGER_ROLE: "button"; readonly KEYBOARD_ACTIVATION: readonly ["Enter", "Space"]; readonly EXPANDED_ATTRIBUTE: "aria-expanded"; readonly CONTROLS_ATTRIBUTE: "aria-controls"; readonly DATA_ATTRIBUTES: { readonly slot: "data-slot"; readonly state: "data-state"; readonly disabled: "data-disabled"; }; readonly CONTENT_REQUIREMENTS: { readonly idAttribute: "required"; readonly defaultPresence: "unmounted when closed"; }; readonly FOCUS_RULES: { readonly afterActivation: "focus remains on trigger"; readonly contentFocusable: false; }; }CollapsibleContenttype
CollapsibleContent: { (props: CollapsibleContentProps): JSX.Element | null; (props: CollapsibleContentAsChildProps): JSX.Element | null; }CollapsibleContentAsChildPropstype
CollapsibleContentAsChildProps: anyCollapsibleContentPropstype
CollapsibleContentProps: anyCollapsiblePropstype
CollapsibleProps: anyCollapsibleTriggertype
CollapsibleTrigger: { (props: CollapsibleTriggerProps): JSX.Element; (props: CollapsibleTriggerAsChildProps): JSX.Element; }CollapsibleTriggerAsChildPropstype
CollapsibleTriggerAsChildProps: anyCollapsibleTriggerPropstype
CollapsibleTriggerProps: any