Commit Graph

100 Commits

Author SHA1 Message Date
Elizabeth Mitchell
5841e43c8c chore(switch): flatten sass selectors
PiperOrigin-RevId: 530783676
2023-05-09 20:21:30 -07:00
Elizabeth Mitchell
a791f3fe98 chore(switch): remove md3 class prefix
PiperOrigin-RevId: 530782937
2023-05-09 20:18:20 -07:00
Elizabeth Mitchell
7e5ab3cba4 chore(switch): remove shape resolver
PiperOrigin-RevId: 528568022
2023-05-01 14:02:10 -07:00
Elizabeth Mitchell
83373eeb0c chore: remove strong focus
PiperOrigin-RevId: 528564626
2023-05-01 13:49:51 -07:00
Elizabeth Mitchell
5934de0603 fix(focus): update focus-ring tokens
PiperOrigin-RevId: 527319619
2023-04-26 11:13:00 -07:00
Elizabeth Mitchell
db8ee4d1df chore: use private instead of protected
PiperOrigin-RevId: 527010546
2023-04-25 10:40:48 -07:00
Elizabeth Mitchell
7b52c4515f fix: remove @ariaProperty decorator
PiperOrigin-RevId: 526750432
2023-04-24 14:10:38 -07:00
Elliott Marquez
5e1fe1ccc7 fix(ssr): try to remove event listener calls on server
PiperOrigin-RevId: 525534289
2023-04-19 13:24:58 -07:00
Daniel Freedman
9ce10bc100 chore(all): remove unnecessary property typing for strings
PiperOrigin-RevId: 523201301
2023-04-10 13:43:10 -07:00
Elizabeth Mitchell
6c2aef6901 chore(all): add keep-sorted comments to Sass imports
PiperOrigin-RevId: 509583504
2023-02-14 11:10:23 -08:00
Elizabeth Mitchell
ff84a66f3e fix(ripple)!: remove "state-layer" from token names
PiperOrigin-RevId: 509298729
2023-02-13 12:17:37 -08:00
Daniel Freedman
44a8d74f56 fix(all)!: use shape.resolve-tokens and remove shape.resolve-theme
PiperOrigin-RevId: 509284550
2023-02-13 11:26:55 -08:00
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
9e9bf845be fix(switch): update to latest animations, and implement sizing tokens
PiperOrigin-RevId: 503245453
2023-01-19 13:09:51 -08:00
Elizabeth Mitchell
1d81416863 refactor(textfield)!: remove container-height token
PiperOrigin-RevId: 501699310
2023-01-12 16:43:06 -08:00
Elizabeth Mitchell
060d204334 chore: update component tokens to v0.152
PiperOrigin-RevId: 501055718
2023-01-10 11:56:25 -08:00
Daniel Freedman
23d2c68111 chore(switch): Lazily render ripple, and remove ActionElement
PiperOrigin-RevId: 496485990
2022-12-19 14:04:02 -08:00
Elizabeth Mitchell
e7ededa579 chore(radio): remove ripple-theme.scss
PiperOrigin-RevId: 496483211
2022-12-19 13:52:45 -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
3f6070ea31 chore(testing): Adds submitForm to testing harness. This submits the element's associated form if one exists and returns the submitted FormData object.
* updates form_controller tests.
* updates switch tests.
* adds form submission tests to text field.

PiperOrigin-RevId: 495992202
2022-12-16 17:01:56 -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
eedb7f5d3c chore: replace * selector with :host
PiperOrigin-RevId: 493992896
2022-12-08 14:15:19 -08:00
Elizabeth Mitchell
0e41c696a7 chore(switch): update tokens
PiperOrigin-RevId: 491730567
2022-11-29 14:00:44 -08:00
Elizabeth Mitchell
bff01dadf7 chore(tokens): update to v0.144
PiperOrigin-RevId: 491464625
2022-11-28 15:53:25 -08:00
Daniel Freedman
601c331d37 fix(focus): Update focus ring to new design
PiperOrigin-RevId: 487571074
2022-11-10 10:11:40 -08:00
Elizabeth Mitchell
aff34c73ea chore(switch): merge static/theme-styles
PiperOrigin-RevId: 482926043
2022-10-21 17:29:55 -07:00
Elizabeth Mitchell
4568e25dcc chore(switch): update to local custom properties
PiperOrigin-RevId: 482899763
2022-10-21 15:16:02 -07:00
Elizabeth Mitchell
911bb674b7 chore(switch): flatten static/theme-styles
PiperOrigin-RevId: 482892454
2022-10-21 14:43:55 -07:00
Elizabeth Mitchell
a9da9bbf5e chore(focus): merge static/theme-styles
PiperOrigin-RevId: 482832904
2022-10-21 10:44:33 -07: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
Material Web Team
f75dd05f43 chore: fix typo in code comment
PiperOrigin-RevId: 474644012
2022-09-15 13:32:15 -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
e2f3c28bbf feat(switch): add warning for handle-height and handle-width which are not yet implmented.
PiperOrigin-RevId: 467226388
2022-08-12 09:29:05 -07:00
Material Web Team
003579af1d refactor(switch): format the Sass files.
PiperOrigin-RevId: 466951853
2022-08-11 07:50:42 -07:00
Material Web Team
ad1db85d4f feat(switch): mark opacity tokens as hardcoded.
PiperOrigin-RevId: 466428204
2022-08-09 12:04:30 -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
57c2cfde38 refactor(switch): move focus-ring styles to the :host level.
PiperOrigin-RevId: 462729325
2022-07-22 16:38:22 -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
Material Web Team
9398e77987 refactor: Update test to use fewer helper functions.
PiperOrigin-RevId: 462185355
2022-07-20 11:08:57 -07:00
Material Web Team
ed58af19c7 feat(switch): use tokens to shape the focus ring
PiperOrigin-RevId: 460478882
2022-07-12 09:14:13 -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
Elizabeth Mitchell
2e04eb07e6 chore: remove screenshots
PiperOrigin-RevId: 456350749
2022-06-21 14:26:21 -07:00
Material Web Team
41d41cc278 chore: update repository for Material 3
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00