29 Commits

Author SHA1 Message Date
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
9025af316a fix(all)!: update tokens to 0.160
BREAKING CHANGE: checkbox container-width/height tokens have been renamed to container-size

PiperOrigin-RevId: 509559497
2023-02-14 09:51:47 -08:00
Elizabeth Mitchell
ff84a66f3e fix(ripple)!: remove "state-layer" from token names
PiperOrigin-RevId: 509298729
2023-02-13 12:17:37 -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
Elizabeth Mitchell
bf1c13286b chore(checkbox): add documentation
PiperOrigin-RevId: 501136153
2023-01-10 17:32:57 -08:00
Material Web Team
dd6a56bace fix(checkbox): Fixes incorrect styling of native input which also caused tapping to check to sometimes fail.
PiperOrigin-RevId: 499282285
2023-01-03 12:05:21 -08:00
Material Web Team
eec25b393e fix(styling): Removes tap highlight color visible on mobile Safari for checkbox, radio, iconbutton, and textfield.
PiperOrigin-RevId: 499279539
2023-01-03 11:54:32 -08:00
Daniel Freedman
f330c51d17 fix(checkbox): Make focus ring circular
PiperOrigin-RevId: 496777780
2022-12-20 16:20:26 -08:00
Material Web Team
7b84fca5b8 feat(checkbox): Checkbox now supports form submission and label activation by using FormController and setting formAssociated.
PiperOrigin-RevId: 496420219
2022-12-19 09:34:40 -08:00
Elizabeth Mitchell
27f7ea89ce feat(checkbox): refactor and simplify rendering/style logic
BREAKING CHANGE: Removed reducedTouchTarget. Instead, set the width and height on the checkbox.

PiperOrigin-RevId: 495087302
2022-12-13 11:59:05 -08:00
Material Web Team
73ed7a0233 fix(checkbox): Update checkbox to use property bindings for disabled and checked on internal input element.
After interaction with the native input, attribute bindings to it are ignored per platform standard behavior. Binding to the property fixes this issue.

PiperOrigin-RevId: 493048723
2022-12-05 10:33:36 -08:00
Elizabeth Mitchell
85e8c46acc chore(checkbox): update tokens
PiperOrigin-RevId: 491730162
2022-11-29 13:59:07 -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
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
7e144f85ad chore(checkbox): remove compat deps
PiperOrigin-RevId: 477469746
2022-09-28 09:16:36 -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
9152fed0b9 fix(checkbox): Remove unused methods and cleanup styles
PiperOrigin-RevId: 463285386
2022-07-26 02:19:21 -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
42168d3c89 chore(checkbox): move test code closer to the code it's testing.
PiperOrigin-RevId: 462696819
2022-07-22 13:54:33 -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
c98019fc58 refactor(checkbox): remove need for helper methods in unit tests
PiperOrigin-RevId: 462175907
2022-07-20 10:36:51 -07:00
Material Web Team
2253608c9b refactor(checkbox): Move public sass mixins/functions to the top
PiperOrigin-RevId: 461244186
2022-07-15 14:50:07 -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
Elizabeth Mitchell
503baf3a6c chore(actionelement): remove folder underscore
PiperOrigin-RevId: 455806028
2022-06-18 07:20:00 -07:00
Elizabeth Mitchell
2752e6d60e chore: add ripple
PiperOrigin-RevId: 455677714
2022-06-17 12:56:30 -07:00
Material Web Team
41d41cc278 chore: update repository for Material 3
PiperOrigin-RevId: 455635969
2022-06-17 16:42:04 +00:00