Migrate to lit. #2207
- Fix: Remove unnecessary code.
- Fix: correct icons used for attention and warning variants. Font size corrected. (#2257)
- Feature: allow for icons, be more usable on mobile, and closable. (#2252)
- Fixed vertical alignment, in case a button is being used. (#2039)
- Fixed button size (small now).
- Fix: prevent duplicate style attachment. (#1727)
- Replaced old typography with new one. This changes could have changed the components design. (#1796 and #1750)
- You can now import ts type for
variant
.
- Upgrade to versioned component.
- The implementation of the wrapper to make a component React-ready has
fundamentally changed. In particular, unknown Boolean- or
string-valued properties are now accepted and converted to HTML
attributes. E.g.
data-seleniumid="my-id"
is now supported. - All defined attributes attached to a component before component construction time are now taken into account. Conversely, all undefined component attributes are initialized with type-appropriate default values at this time. This may amount to a breaking change if the component consumer had previously assumed undefined or uninitialized behaviour.