microsoft/atlas-design @microsoft/atlas-js@2.0.0
microsoft/atlas-design
Captured source
source ↗published May 28, 2026seen Jun 26captured 1whttp 200method plain
@microsoft/atlas-js@2.0.0
Repository: microsoft/atlas-design
Tag: @microsoft/atlas-js@2.0.0
Published: 2026-05-28T00:39:52Z
Prerelease: no
Release notes:
Major Changes
- 914af1e: Restructure the output folder to fix a prior issue where
srcwas being copied intodist.
Minor Changes
- 914af1e: Add a
contentLoadedutility that resolves afterDOMContentLoaded. - 914af1e: Add
createLayoutStatetobehaviors/layoutfor persisting and restoringlayout-*classes on `across page loads, scoped perviewNameand backed by a configurable storage (defaults tolocalStorage). Restoration and aMutationObserverstart synchronously inside the factory, and subscribers receive the current matching state on registration with optionaldocument.startViewTransitionsupport for the initial restore and subsequent dispatches. After the initial callback flush — or if setup or a queued callback throws —createLayoutStatesetsdata-layout-restored="true"onso CSS hooks (e.g. the newdisplay-*-until-layout-restored` helpers) don't permanently hide content on failure.
Notability
notability 2.0/10Design system release, not AI-related.