17 Commits

Author SHA1 Message Date
Material Web Team
1ddba0ca3c fix(forms): fix form association for switch, checkbox, and radio, including label activation
PiperOrigin-RevId: 507004348
2023-02-03 15:08:23 -08:00
Daniel Freedman
23d2c68111 chore(switch): Lazily render ripple, and remove ActionElement
PiperOrigin-RevId: 496485990
2022-12-19 14:04:02 -08:00
Material Web Team
7473f4647d feat(switch): Switch now supports label activation by setting formAssociated.
PiperOrigin-RevId: 495993033
2022-12-16 17:06:39 -08:00
Material Web Team
2ce167ff70 clean up soy comments, remove hidden input, and add change event
PiperOrigin-RevId: 495453747
2022-12-14 16:49:43 -08:00
Material Web Team
c8341bbaee Document Switch
PiperOrigin-RevId: 494890466
2022-12-12 19:02:03 -08:00
Elizabeth Mitchell
73ca8ae0eb chore: use relative paths
PiperOrigin-RevId: 481941267
2022-10-18 09:28:59 -07:00
Elizabeth Mitchell
7fa7574cdc chore(switch): remove compat deps
PiperOrigin-RevId: 477537891
2022-09-28 13:33:48 -07:00
Material Web Team
4a8c333625 feat(switch): add ripple to switch
PiperOrigin-RevId: 474893973
2022-09-16 13:52:13 -07:00
Alexander Marks
30c95aeee1 chore: add ".js" extensions to import statements.
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal).

PiperOrigin-RevId: 469772992
2022-08-24 11:01:21 -07:00
Material Web Team
92a5ee4506 refactor(switch): select input by class name.
PiperOrigin-RevId: 463479217
2022-07-26 19:20:00 -07:00
Material Web Team
1d3701a94d refactor(switch): rename property to not start with 'on'
PiperOrigin-RevId: 463352763
2022-07-26 09:20:42 -07:00
Material Web Team
10a6d353fc refactor: mark disabled and checked as boolean values in lit templates.
PiperOrigin-RevId: 462716556
2022-07-22 15:27:12 -07:00
Material Web Team
85e85b21ba feat(switch): added action-element to fire event on press.
PiperOrigin-RevId: 462648870
2022-07-22 10:13:46 -07:00
Material Web Team
40fdd8ed29 chore: disable tslint for ariaProperty and legacyAriaProperty
PiperOrigin-RevId: 462424828
2022-07-21 10:55:48 -07:00
Andrew Jakubowicz
163711d218 chore: fix SSR compatibility issue with ifDefined
Fix soy compatible case where binary operators evaluate to booleans incorrectly.

PiperOrigin-RevId: 458510657
2022-07-01 11:30:23 -07:00
Elizabeth Mitchell
15d04ae3d2 chore(compat): add mwc-base compatibility deps
PiperOrigin-RevId: 456942410
2022-06-23 23:48:44 -07:00
Material Web Team
41d41cc278 chore: update repository for Material 3
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00