Commit Graph

84 Commits

Author SHA1 Message Date
Elizabeth Mitchell
0e8afc0175 fix: ripple and focus ring not centered in Safari
PiperOrigin-RevId: 559826221
2023-08-24 12:00:23 -07:00
Elizabeth Mitchell
9694191ec0 feat(switch): add required and form validity
Swapped switch's interactive element back to an `<input>` to more easily support platform validation messages.

PiperOrigin-RevId: 559671594
2023-08-24 00:54:57 -07:00
Elizabeth Mitchell
3e13634d64 chore: make formAssociated readonly
PiperOrigin-RevId: 558255234
2023-08-18 14:57:38 -07:00
Elizabeth Mitchell
ecf83a0e7a fix(switch): unselected handle too big with selected icon only
PiperOrigin-RevId: 557923981
2023-08-17 13:43:10 -07:00
Elizabeth Mitchell
de37349ec5 chore: fix demo a11y for switch and checkbox
PiperOrigin-RevId: 556113327
2023-08-11 15:30:26 -07:00
Elizabeth Mitchell
8bad07bcf7 feat(switch): add touch target configs
PiperOrigin-RevId: 556012902
2023-08-11 10:54:09 -07:00
Elizabeth Mitchell
0510496e60 chore: avoid this in static context
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elizabeth Mitchell
3681b588e0 fix(switch)!: remove unselected token prefix
BREAKING CHANGE: Rename `--md-switch-unselected-<token>` to `--md-switch-<token>`

PiperOrigin-RevId: 552339215
2023-07-30 19:44:14 -07:00
Elliott Marquez
86ccec3e7e build: use firebase for hosting and remove url prefixes 2023-07-27 09:17:27 -07:00
Andrew Jakubowicz
6ec3f06429 fix!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550633216
2023-07-24 12:02:59 -07:00
Elizabeth Mitchell
d49f9b89e4 fix(focus)!: rename import to md-focus-ring.ts
BREAKING CHANGE: Change `@material/web/focus/focus-ring.js` to `@material/web/focus/md-focus-ring.js`.

PiperOrigin-RevId: 550608428
2023-07-24 10:43:31 -07:00
Elizabeth Mitchell
243e231a13 feat(all): expose focus-ring parts
PiperOrigin-RevId: 548873009
2023-07-17 20:28:04 -07:00
Elizabeth Mitchell
fd28dd1a5b chore(all): move focus tokens to focus ring element
PiperOrigin-RevId: 548872335
2023-07-17 20:24:46 -07:00
Andrew Jakubowicz
a8e489e2d8 fix(switch)!: change showonlyselectedicon to show-only-selected-icon
PiperOrigin-RevId: 542412707
2023-06-21 17:55:56 -07:00
Elizabeth Mitchell
1790a5bbf8 chore: remove closure comments from static blocks
PiperOrigin-RevId: 539772537
2023-06-12 15:07:36 -07:00
Elizabeth Mitchell
0607d9ca53 chore: fix jscompiler issues
PiperOrigin-RevId: 539716693
2023-06-12 11:42:52 -07:00
Elizabeth Mitchell
2434257086 chore: update annotations after closure extern fixes
PiperOrigin-RevId: 537935481
2023-06-05 11:34:43 -07:00
Elizabeth Mitchell
b9daa95164 chore(controller): move to internal
PiperOrigin-RevId: 536574896
2023-05-30 19:43:02 -07:00
Elizabeth Mitchell
abb98eb983 chore: fix closure issues with FACE
PiperOrigin-RevId: 536495179
2023-05-30 13:35:07 -07:00
Elizabeth Mitchell
5efdc593fa chore(aria): move to internal
PiperOrigin-RevId: 536444453
2023-05-30 10:37:46 -07:00
Elizabeth Mitchell
7c08efdd66 chore(all): remove ripple directive
PiperOrigin-RevId: 535647846
2023-05-26 10:06:39 -07:00
Elizabeth Mitchell
933fc2e013 fix(all): remove focus state layer tokens
BREAKING CHANGE: Remove any *-focus-state-layer-* custom properties (they don't do anything)

PiperOrigin-RevId: 535302944
2023-05-25 10:33:20 -07:00
Elizabeth Mitchell
b69e24241e fix(ripple)!: remove unbounded
BREAKING CHANGE: Set `border-radius: 50%` and remove `unbounded` attribute

PiperOrigin-RevId: 535301943
2023-05-25 10:30:22 -07:00
Elizabeth Mitchell
a6c988bedd fix(ripple)!: remove shape token and will-change
BREAKING CHANGE: Use `border-radius` instead of `--md-ripple-shape`

PiperOrigin-RevId: 535034875
2023-05-24 17:14:12 -07:00
Elizabeth Mitchell
c1ba0fb3b6 fix: formAssociated being stripped from closure
PiperOrigin-RevId: 534091935
2023-05-22 09:36:29 -07:00
Elizabeth Mitchell
921a905758 feat(switch): add full form association support
PiperOrigin-RevId: 532627572
2023-05-16 17:58:23 -07:00
Elizabeth Mitchell
b1e9c4abb3 fix(switch): add missing tokens
PiperOrigin-RevId: 532593357
2023-05-16 15:37:22 -07:00
Elizabeth Mitchell
c87792a757 chore(sass): remove dom, feature-flags, map-ext, and touch-target APIs
PiperOrigin-RevId: 531352456
2023-05-11 17:38:43 -07:00
Elizabeth Mitchell
c623c941df feat(switch): add disabled handle opacity tokens
PiperOrigin-RevId: 531346467
2023-05-11 17:09:26 -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
a2045f5444 feat(switch): add disabled track tokens
PiperOrigin-RevId: 530932722
2023-05-10 09:43:04 -07:00
Elizabeth Mitchell
61550d2baa feat(switch): add disabled icon opacity tokens
PiperOrigin-RevId: 530925315
2023-05-10 09:12:26 -07:00
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