Skip to content

v1.4.0

Choose a tag to compare

@Aejkatappaja Aejkatappaja released this 01 Jul 17:47
· 50 commits to main since this release
b20435c

What's new

Refresh mode: A new mode="overlay" keeps your existing content on screen, dimmed, while a structure-aware light glint sweeps over each element, for refresh / stale-while-revalidate states (a grid you already have data for and are refetching). Pair it with your data library's two states: skeleton on the first load, overlay on refetch. During the refresh the content is not clickable, so users can't act on stale data, but it stays readable and in the accessibility tree (aria-busy announces the update). Dim it with the new --phantom-content-opacity variable (default 0.5). The default mode="skeleton" is unchanged.

Thanks to the community discussion that suggested this.

Other

Tooling: The published custom elements manifest now resolves the element tag name and constant-backed default values instead of emitting internal symbol names.