Commit Graph

44 Commits

Author SHA1 Message Date
Elizabeth Mitchell
26d69c271e fix(focus)!: corrected outward/inward animations
BREAKING CHANGE: inward focus rings must be specified with `inward` rather than a negative offset.

PiperOrigin-RevId: 534552625
2023-05-23 14:08:36 -07:00
Elizabeth Mitchell
c1ba0fb3b6 fix: formAssociated being stripped from closure
PiperOrigin-RevId: 534091935
2023-05-22 09:36:29 -07:00
Elizabeth Mitchell
9dc8613067 feat(radio): add full form association support
PiperOrigin-RevId: 532652986
2023-05-16 20:28:37 -07:00
Elizabeth Mitchell
4ddeee1a2e chore: remove types folder
PiperOrigin-RevId: 532095745
2023-05-15 06:51:39 -07:00
Elliott Marquez
dc49e0b518 docs: update playground urls to match new base-URI
PiperOrigin-RevId: 531322264
2023-05-11 15:24:11 -07:00
Elliott Marquez
5f80c096e0 refactor: remove extraneous file extensions
PiperOrigin-RevId: 531005525
2023-05-10 14:26:01 -07:00
Elliott Marquez
1cade43ccf refactor: remove extraneous file extensions
PiperOrigin-RevId: 530993820
2023-05-10 14:04:53 -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
Daniel Freedman
61ff27910e fix(focus)!: refactor focus ring to better match component shape
- Focus ring now adds offset and width to look spec correct
- Replace `offset-vertical` and `offset-horizontal` tokens with a single `offset` token.

PiperOrigin-RevId: 516361036
2023-03-13 16:55:26 -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
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
d5c927a88f chore(radio): add documentation
PiperOrigin-RevId: 501139954
2023-01-10 17:57:11 -08:00
Daniel Freedman
f3383cd740 refactor(focusring): Simplify focus ring to just use host element
PiperOrigin-RevId: 500837060
2023-01-09 16:31:10 -08:00
Elizabeth Mitchell
95897b3e25 fix(radio): update motion to current spec
PiperOrigin-RevId: 500761190
2023-01-09 11:13:55 -08:00
Elizabeth Mitchell
3aff084297 fix(radio): update rendering and styles
PiperOrigin-RevId: 499587641
2023-01-04 15:01:14 -08:00
Elizabeth Mitchell
b0e87c538a feat(radio): change SingleSelectionController to a ReactiveController
PiperOrigin-RevId: 499515557
2023-01-04 10:09:23 -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
Elizabeth Mitchell
d749db81dd chore(radio): clean up unit tests
PiperOrigin-RevId: 496971608
2022-12-21 11:47:31 -08:00
Material Web Team
91c24255c2 fix(radio): Radio supports form association and label activation by using FormController and setting formAssociated.
PiperOrigin-RevId: 496788453
2022-12-20 17:19:55 -08:00
Elizabeth Mitchell
72edae4c9d chore(radio): clean up implementation
PiperOrigin-RevId: 496784670
2022-12-20 16:58:00 -08:00
Elizabeth Mitchell
e7ededa579 chore(radio): remove ripple-theme.scss
PiperOrigin-RevId: 496483211
2022-12-19 13:52:45 -08:00
Elizabeth Mitchell
3185819d4a chore(radio): remove ActionElement
PiperOrigin-RevId: 496464440
2022-12-19 12:29:18 -08:00
Material Web Team
9add7345da chore: internal changes
PiperOrigin-RevId: 496460018
2022-12-19 20:24:34 +00:00
Elizabeth Mitchell
395f297875 chore(radio): update tokens
PiperOrigin-RevId: 491730735
2022-11-29 14:03:50 -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
37b1d10031 chore(radio): remove compat deps
PiperOrigin-RevId: 478566674
2022-10-03 11:58:14 -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
Elizabeth Mitchell
65463164c9 chore: various build fixes
PiperOrigin-RevId: 467245676
2022-08-12 10:51:27 -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
40fdd8ed29 chore: disable tslint for ariaProperty and legacyAriaProperty
PiperOrigin-RevId: 462424828
2022-07-21 10:55:48 -07:00
Andrew Jakubowicz
1ef99c82ff Remove unnecessary updating state from SingleSelectionController
PiperOrigin-RevId: 461975985
2022-07-19 14:25:49 -07:00
Andrew Jakubowicz
1054b570e2 Make checked property write to formElement async.
PiperOrigin-RevId: 461929396
2022-07-19 11:16:56 -07:00
Andrew Jakubowicz
78f31a20d4 Fix change handler using the input radio element for checked state.
PiperOrigin-RevId: 461674558
2022-07-18 11:43:12 -07:00
Material Web Team
5b2ec5e549 refactor(radio): Move public sass mixins/functions to the top
PiperOrigin-RevId: 461004251
2022-07-14 11:03:39 -07:00
Material Web Team
5aafcaafb4 chore: move radio into the new directory
PiperOrigin-RevId: 460536739
2022-07-12 13:18:32 -07:00