lion/packages/button/test
Jorge del Casar 26b605939f
refactor(button): several improvements (#1019)
- remove click-area --> move styles to host::before
- reduce css so that extending styles makes sense. Merge .btn with host
- reduce the template and remove the if else construction inside the template
- hide focus styles if they're not needed, for example, when an element receives focus via the mouse.
- improve __clickDelegationHandler. Use current slotted native button instead of create new one
- fix vertical align when 2 buttons are inline and one has icon. Example included.
- add min-with to ensure target size for mobile, not only height
- add test to check event.target in all situations (inside and outside form)
2020-10-15 12:13:46 +02:00
..
demos.screenshots-test.js chore: types button and combobox 2020-10-08 16:06:50 +02:00
lion-button.test.js refactor(button): several improvements (#1019) 2020-10-15 12:13:46 +02:00