Repository navigation
v0.1.0-alpha.11
Pre-releaseFive new optional props, contributed by a consumer that had been carrying them locally and needs them released before it can migrate off its vendored copies.
Added
Drawer takes a dismissal guard: preventDismiss and onDismissAttempt (#18). A drawer holding an unsaved form has to refuse Escape and a backdrop click without simply disabling them, or the user loses work with no signal. When preventDismiss is set, both paths shake the panel and call onDismissAttempt instead of onClose, so the consumer can offer an explicit discard.
The close button and any footer control still call onClose directly. That is deliberate: it lets a consumer route those through its own confirmation rather than being unable to close at all.
.drawer--shaking carries the animation and is suppressed under prefers-reduced-motion.
PageHeader takes errorDetail, onRetry, and retryLabel (#18). An error banner that can only be dismissed makes a transient failure look permanent. onRetry renders a Retry button before the dismiss control, and errorDetail puts the raw server text on a muted second line so a long detail does not crowd the message. Retry and dismiss stay two props on purpose: dismissing must not fire a request. retryLabel follows closeLabel and dismissErrorLabel, a prop with an English default.
Before you upgrade
Nothing renders differently. All five props are optional and a consumer that passes none of them gets exactly what 0.1.0-alpha.10 produced. A minor under the versioning policy.
Full changelog: v0.1.0-alpha.10...v0.1.0-alpha.11