v2.0.0
Live Demo →
API Documentation →
⚠️ Breaking Changes Since v1.x:
- The element uses Lumo theme by default. The previous default theme has been dropped. You can import the unstyled version from the
src/vaadin-button.html
- Removed the wrapping native button and the "button" styling part. The element still uses native button under the hood, but that one is now considered as implementation detail
- The CSS position is now set to
relative
on host element forced with!important
New Features Since v1.x:
- Added three new styling parts:
part="label"
: wrapper for the default slotpart="prefix"
: wrapper for the named slot withname="prefix"
part="suffix"
: wrapper for the named slot withname="suffix"
Changes Since 2.0.0-beta3:
- Remove will-change properties
- Adding description file for Vaadin Directory
- Remove min-width from tertiary variant [skip ci] - Remove min-width from tertiary variant (in addition to tertiary-inline). The button does not have any visible edge, so the text is the only hint of the clickable area.
- Fix border radius for pseudo elements (Lumo) [skip ci] - Fix border radius for pseudo elements (let it inherit, so that custom adjustments on the button border-radius is affected regardless of the custom property.
- Update inline demo: align with the screenshot [skip ci]
- Enable tests for Safari 9