Skip to content

v1.2.0

Choose a tag to compare

@Aejkatappaja Aejkatappaja released this 10 Jun 22:45
· 76 commits to main since this release
a001588

What's new

Reduced-motion support - Under prefers-reduced-motion: reduce, every animation mode (shimmer, pulse, breathe) now degrades to the static solid look automatically. No configuration needed (WCAG 2.3.3).

Fixes

Global theming now works - CSS custom properties set on the element (phantom-ui { --shimmer-color: ... }) were shadowed by inline defaults on the overlay and had no effect. They now apply as documented. Per-instance attributes still take precedence.

React 18 reveal - Toggling loading from true to false left slotted content permanently hidden when loading="false" was set as an attribute (React 18, attribute-based bindings). The stale attribute is now cleared so content reveals correctly.

Thanks to @SrPalha for reporting all three and contributing the reduced-motion fix.