Elizabeth Mitchell
c390291687
chore: format files with prettier
...
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
06909e5b20
refactor(checkbox): move cursor styles to host
...
related: #5066 #5069
PiperOrigin-RevId: 574302352
2023-10-17 16:48:36 -07:00
Elliott Marquez
18fe45170a
fix(checkbox): cursor should be pointer when not disabled
...
fixes #5079
PiperOrigin-RevId: 574295359
2023-10-17 16:19:03 -07:00
Material Web Team
556e6f95e4
chore: fix closure compiler issues
...
PiperOrigin-RevId: 564867173
2023-09-12 16:30:19 -07:00
Elizabeth Mitchell
c26a578448
fix(textfield): broken required validity on Safari
...
Fixes #4796
PiperOrigin-RevId: 564562802
2023-09-11 18:39:59 -07:00
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
3e13634d64
chore: make formAssociated readonly
...
PiperOrigin-RevId: 558255234
2023-08-18 14:57:38 -07:00
Elizabeth Mitchell
33803aba39
fix(checkbox): not working after formAssociated changes
...
Fixes #4747
PiperOrigin-RevId: 558187176
2023-08-18 10:40:13 -07:00
Elizabeth Mitchell
a167cabeff
fix(textfield): add form validity support
...
Also fixes form.reportValidity() not working for checkbox.
Fixes #4435
PiperOrigin-RevId: 557654271
2023-08-16 17:43:25 -07:00
Elizabeth Mitchell
9adb11c472
chore: ensure touch target wrappers are not negative
...
PiperOrigin-RevId: 555639643
2023-08-10 13:53:26 -07:00
Elizabeth Mitchell
f574b00a63
feat(checkbox)!: add touch target configurations
...
BREAKING CHANGE: Checkbox's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size.
PiperOrigin-RevId: 555547024
2023-08-10 10:21:31 -07:00
Elizabeth Mitchell
0510496e60
chore: avoid this in static context
...
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elizabeth Mitchell
ce248dc383
fix(checkbox)!: remove error property
...
BREAKING CHANGE: Design is still exploring error-state checkboxes. If needed, theme with an error color and set aria-invalid.
PiperOrigin-RevId: 552914338
2023-08-01 14:01:41 -07:00
Elizabeth Mitchell
5606eefc38
feat(checkbox): add required and form validity
...
PiperOrigin-RevId: 551311394
2023-07-26 14:12:37 -07:00
Elizabeth Mitchell
f7b3ef7ad2
chore(checkbox): remove focus override for delegatesFocus
...
PiperOrigin-RevId: 550699584
2023-07-24 16:02:40 -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
Andrew Jakubowicz
c4ac9f73d9
fix(checkbox)!: rename "lib" directory to "internal"
...
BREAKING CHANGE: Rename `@material/web/checkbox/lib` to `@material/web/checkbox/internal`. Prefer not using internal files.
PiperOrigin-RevId: 550034503
2023-07-21 13:25:47 -07:00