API and Development
@prepared911/ui/styles.css once at the document root.
| Name | Required | Description |
|---|---|---|
rendering | yes | Output of resolveAreaEffectRendering from @prepared911/core/notifications. |
regionLabel | yes | Accessible name of the affected region on the overlay path. |
title | yes | Primary message for the overlay alert and fallback banner. |
description | no | Supporting copy for the overlay alert. |
goTo | no | Overlay-path go-to action. |
notificationId | yes | Stable router notification id. |
fallbackInlineAlertTitle | yes | Inline alert title on the fallback path. |
fallbackInlineAlertDescription | no | Inline alert description on the fallback path. |
children | no | Region content; inert only on the overlay path. |
| 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 resolveAreaEffectRendering on @prepared911/core/notifications. Pass the result with notification copy to AreaNotificationEffectSurface. emptyAreaOverlayRegistry registers nothing.