3 Commits

Author SHA1 Message Date
Material Web Team
8b58f98a82 fix(controller)!: fix label activation utility on slotted elements
PiperOrigin-RevId: 511523410
2023-02-22 09:57:01 -08:00
Material Web Team
4e3054bab3 feat(controller): add label activation support to FormController
Extends `FormController` to provide label activation via form associated custom elements via a shim where not supported (currently just Safari).

Performing label activation is the responsibility of form associated elements.

Helpers are provided to facilitate this, including `isActivationClick` and `dispatchActivationClick`. Note, any element that should perform an action via a click, could use these helpers to help distinguish external "activation" clicks.

PiperOrigin-RevId: 495689270
2022-12-15 13:56:49 -08:00
Material Web Team
41d41cc278 chore: update repository for Material 3
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00