Migrating to the stable API
The stable package has no compatibility CSS or behavior adapter. Convert older markup before upgrading.
Semantic scope
Add data-mr to every subtree that should receive semantic/reset styling. Replace the transitional .mdl-scope root with[data-mr].
Package imports
Use markup-refine-lib/css and, when needed,markup-refine-lib/behaviors. Compatibility and direct historicaldist/* package imports are no longer exported.
Group deprecation
The historical .group helper is deprecated and no longer ships as a component or compatibility selector. Its layout responsibility moved to the stable .mr-cluster primitive and its namespaced modifiers. See Layout primitives for live examples and the full modifier mapping.
Common mappings
| Older API | Stable API |
|---|---|
.card | .mr-card |
.pill | .mr-pill |
.group (deprecated/removed) | .mr-cluster |
.responsive-container | .mr-container |
.stt-component | .mr-shell |
data-copyable-snippet | data-mr-copyable |
data-search-tool | data-mr-search |
data-stt-action | data-mr-shell-action |
--color-primary | --mr-color-primary |