4 Commits

Author SHA1 Message Date
Elizabeth Mitchell
c1d3cc0f50 chore: add missing licenses
PiperOrigin-RevId: 575915441
2023-10-23 13:39:04 -07:00
Andrew Jakubowicz
1be2b6263f test: move button form test into internal button_test
PiperOrigin-RevId: 554533904
2023-08-07 11:13:15 -07:00
Elizabeth Mitchell
97f5b616d6 fix(button)!: type is submit by default
Also fixes the button not being the correct `submitter` for submit events.

BREAKING CHANGE: Buttons submit forms by default, like `<button>`. Add `type="button"` to not submit forms.

PiperOrigin-RevId: 553248284
2023-08-02 13:57:32 -07:00
Andrew Jakubowicz
9244524471 fix(button)!: remove unnecessary property preventClickDefault
PiperOrigin-RevId: 542958395
2023-06-23 14:27:32 -07:00