1.1.0
Minor changes
-
Add the
@kyralabs/m3e-elements/ripple.jsentry: importing it gives plain-HTML m3e-css buttons, icon buttons, assist chips,.m3e-state-layerhosts, interactive cards and navigation items the press ripple through one set of delegated listeners ondocument. Hosts already driven by m3e-react orattachRipple(they carrydata-ripple) are skipped.attachAutoRipple(root, signal)(package root, no side effect) scopes and stops it. -
createThemeaccepts 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 withTonalPalette.fromInt(color), so a red seed can keep grey surfaces (coreColors: { neutral: '#808080', neutralVariant: '#808080' }). Them3e-themeCLI takes the same colors as--secondary,--tertiary,--neutral,--neutral-variantand--error, andtokens.coreColorsreports them. Themes without core colors are unchanged.
Patch changes
-
State layer: hover, focus and dragged overlays are visible again on hosts with
data-ripple(every m3e-react component and m3e-elementsattachRipplehosts). A press now grows the ripple circle from the press point over the resting layer, and release fades back instead of shrinking the circle. -
@kyralabs/[email protected]
- @kyralabs/[email protected]