Skip to content

Changelog

1.1.0

Minor changes

  • Add the @kyralabs/m3e-elements/ripple.js entry: importing it gives plain-HTML m3e-css buttons, icon buttons, assist chips, .m3e-state-layer hosts, interactive cards and navigation items the press ripple through one set of delegated listeners on document. Hosts already driven by m3e-react or attachRipple (they carry data-ripple) are skipped. attachAutoRipple(root, signal) (package root, no side effect) scopes and stops it.

    m3e-elements 95cd4d2

  • createTheme accepts optional core colors, like Material Theme Builder: coreColors: { secondary, tertiary, neutral, neutralVariant, error }. Each one replaces the palette the variant would derive from the seed with TonalPalette.fromInt(color), so a red seed can keep grey surfaces (coreColors: { neutral: '#808080', neutralVariant: '#808080' }). The m3e-theme CLI takes the same colors as --secondary, --tertiary, --neutral, --neutral-variant and --error, and tokens.coreColors reports them. Themes without core colors are unchanged.

    m3e-tokens 1aa96fa

Patch changes

  • State layer: hover, focus and dragged overlays are visible again on hosts with data-ripple (every m3e-react component and m3e-elements attachRipple hosts). A press now grows the ripple circle from the press point over the resting layer, and release fades back instead of shrinking the circle.

    m3e-css e364cab

  • @kyralabs/m3e-motion@1.1.0

    • @kyralabs/m3e-shapes@1.1.0

    m3e-react