21 Commits

Author SHA1 Message Date
Elizabeth Mitchell
f94de5d302 chore(aria): add separate setup function for polyfill and focusability
PiperOrigin-RevId: 576973090
2023-10-26 13:37:49 -07:00
Elizabeth Mitchell
e7bc633e18 chore(behaviors): add ElementInternals mixin
PiperOrigin-RevId: 576937116
2023-10-26 11:31:33 -07:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
8aa4faf14a fix: aria polyfill overrides user values and user values override internals values
PiperOrigin-RevId: 565570035
2023-09-14 22:11:40 -07:00
Elizabeth Mitchell
08acc413f6 chore: add polyfill for Firefox ElementInternals aria
PiperOrigin-RevId: 563194223
2023-09-06 13:10:49 -07:00
Elizabeth Mitchell
1e7aff50cf feat(focus,ripple): allow setting element.control = elementRef
Why? Makes it easier in lit to attach elements in bindings

```html
<md-ripple .control=${this}>
```

This is needed to support radio, which needs to make the host element interactive.

PiperOrigin-RevId: 559899531
2023-08-24 16:09:25 -07:00
Elizabeth Mitchell
f23fac1465 fix(button): add value to form when submitting
Fixes #4526

PiperOrigin-RevId: 558261952
2023-08-18 15:24:42 -07:00
Elizabeth Mitchell
0e492ade43 chore: remove sass theme utilities
PiperOrigin-RevId: 556915539
2023-08-14 14:39:19 -07:00
Elizabeth Mitchell
c0da72b6dc feat(iconbutton): add form submission
This is needed for `<md-dialog>` for close icon buttons.

I split out button's logic into a static helper method. I also added a symbol to share ElementInternals.

PiperOrigin-RevId: 554943716
2023-08-08 14:33:01 -07:00
Elizabeth Mitchell
0510496e60 chore: avoid this in static context
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -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
fdf67682af chore: remove formcontroller
PiperOrigin-RevId: 537898948
2023-06-05 09:32:39 -07:00
Elliott Marquez
f47bdc3925 fix(ssr): make "for" attribute watcher SSR compatible
PiperOrigin-RevId: 536858733
2023-05-31 16:42:50 -07:00
Elizabeth Mitchell
b9daa95164 chore(controller): move to internal
PiperOrigin-RevId: 536574896
2023-05-30 19:43:02 -07:00
Elizabeth Mitchell
e0add8469e chore: internal change
PiperOrigin-RevId: 536573489
2023-05-30 19:31:40 -07:00
Elizabeth Mitchell
36eec7cab3 chore(demo): move to internal
PiperOrigin-RevId: 536472993
2023-05-30 12:13:09 -07:00
Elizabeth Mitchell
a2bb8458d2 chore(sass): move to internal
PiperOrigin-RevId: 536458468
2023-05-30 11:23:00 -07:00
Elizabeth Mitchell
ed00d30b1d chore(motion): move to internal
PiperOrigin-RevId: 536448206
2023-05-30 10:50:00 -07:00
Elizabeth Mitchell
5efdc593fa chore(aria): move to internal
PiperOrigin-RevId: 536444453
2023-05-30 10:37:46 -07:00
Elizabeth Mitchell
4b0c98c1aa feat: add labs and internal folders for non-client code
PiperOrigin-RevId: 535361884
2023-05-25 13:26:26 -07:00