API and Development
@prepared911/ui/styles.css once at the document root.
| Name | Required | Description |
|---|---|---|
active | yes | Shows the error alert and inert content when true. |
regionLabel | yes | Accessible name of the affected region. |
title | yes | Primary error message. |
description | no | Supporting copy under the title. |
goTo | no | { label, onPress }; does not dismiss the overlay. |
notificationId | no | Stable router notification id for host wiring. |
children | no | Region content; inert while active. |
| Name | Type | Default | Description |
|---|---|---|---|
active | boolean | — | When true, shows the inline error alert and makes {@link AreaOverlayProps.children} inert. When false, renders children only with no alert. |
regionLabel | LocalizedMessage | — | Accessible name of the affected region (role="group"). |
title | LocalizedMessage | — | Primary error message in the inline alert. |
children | ReactNode | — | Region content; inert while active. |
className | string | — | @deprecated Pass layout through enum props and shipped parts. Request a missing case via find-pattern. |
description | LocalizedMessage | — | Supporting copy under the title. |
goTo | AreaOverlayGoTo | — | Optional go-to action; never dismisses the overlay. |
notificationId | string | — | Stable notification id from the router effect, for host wiring and tests. Does not appear in visible copy. |
ref | Ref<HTMLDivElement> | — | Ref to the root element. |
createAreaOverlayRegistry(registeredAreas) returns { has(area) } for the host's area-effect renderer (for example resolveAreaEffectRendering when available on @prepared911/core/notifications). emptyAreaOverlayRegistry registers nothing.