29 Commits

Author SHA1 Message Date
Elizabeth Mitchell
c27bdee027 chore(catalog): fix text field icon usage for SSR
Fixes #5723

These examples were missing their SSR attributes for slotted content.

PiperOrigin-RevId: 678364136
2024-09-24 13:01:08 -07:00
Elliott Marquez
7859b39afe feat(menu): add popover functionality
Uses popover API for browsers that support it. Falls back to fixed positioning on browsers that do not.

fixes #2023
fixes #5120

PiperOrigin-RevId: 580633646
2023-11-08 13:14:25 -08:00
Elliott Marquez
2b591ca759 feat(menu): add document-level positioning
related #5120

PiperOrigin-RevId: 580293404
2023-11-07 14:04:00 -08:00
Elliott Marquez
e8fcfa3889 docs(list): update the list docs off of old list implementation
PiperOrigin-RevId: 568694592
2023-09-26 17:28:31 -07:00
Elliott Marquez
c789c99036 chore(fab): explicitly mark function as protected for API docs
PiperOrigin-RevId: 568274397
2023-09-25 11:20:26 -07:00
Elliott Marquez
0e3a4af9ef docs(menu): update menu docs to use new item format
PiperOrigin-RevId: 567885727
2023-09-23 11:23:59 -07:00
Elliott Marquez
5e4434bfed fix(select): update select docs and fix initial selection
PiperOrigin-RevId: 567884899
2023-09-23 11:14:56 -07:00
Elliott Marquez
63b01425e7 refactor(menu,select)!: rename fixed to positioning
This will enable forwards compatibility for `positioning="top-layer"` with popover.

BREAKING CHANGE: refactor `fixed` property to `positioning="fixed"` in Menu and `menuFixed` to `menuPositioning="fixed"`

PiperOrigin-RevId: 567723646
2023-09-22 14:54:57 -07:00
Elliott Marquez
54fbb2ed5e feat(menu): implement md-sub-menu
md-sub-menu will succeed md-sub-menu-item. It allows for screen reader linear navigation

PiperOrigin-RevId: 567057310
2023-09-20 13:09:44 -07:00
Elizabeth Mitchell
e8b5b29d1e feat(iconbutton): update tokens to v0.192
BREAKING CHANGE: Replace `container-size` tokens with `container-width` and `container-height`.

PiperOrigin-RevId: 566801178
2023-09-19 17:52:12 -07:00
Elliott Marquez
80c53d3a8b docs(textfield): textfield images and figures
PiperOrigin-RevId: 566773604
2023-09-19 16:09:25 -07:00
Andrew Jakubowicz
3b5cbc4ede fix(list)!: list items are now noninteractive by default
BREAKING CHANGE: the `noninteractive` property has been replaced by the `interactive` property, and by default, a list-item will no longer show a ripple or focus ring.
What to change:
- To preserve prior default behavior, add the `interactive` attribute explicitly.
- Any setting of a truthy `noninteractive` attribute or property can be removed as it's the new default behavior.

PiperOrigin-RevId: 566696782
2023-09-19 11:43:59 -07:00
Andrew Jakubowicz
e3b3d86fa9 docs(select): add select documentation
PiperOrigin-RevId: 566674810
2023-09-19 10:34:58 -07:00
Elliott Marquez
6e54048f1e refactor(menu)!: rename corner and focus state values lowercase with dashes
BREAKING: for style guide enum consistency, we have renamed the corner values START_START etc. to be lowercase with dashes. e.g. start-start. The same has been done with MdMenu.defaultFocus' values.
PiperOrigin-RevId: 566454879
2023-09-18 17:09:17 -07:00
Elliott Marquez
ed689952dd feat(list,menu,select): add slots for specific slotted variants
PiperOrigin-RevId: 565536994
2023-09-14 18:42:43 -07:00
Elliott Marquez
0211944b7e docs(menu): document menu
PiperOrigin-RevId: 563523511
2023-09-07 13:11:42 -07:00
Elizabeth Mitchell
ca2cd56bd1 fix(list): remove font shorthand tokens
BREAKING CHANGE: replace `*-type` font tokens with `-font`, `-size`, `-line-height`, and `-weight`

PiperOrigin-RevId: 563162539
2023-09-06 11:22:42 -07:00
Elizabeth Mitchell
f77ee3628c fix(fab): remove font shorthand tokens
BREAKING CHANGE: replace `label-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`

PiperOrigin-RevId: 563160852
2023-09-06 11:18:43 -07:00
Elizabeth Mitchell
2295f12e71 fix: add aria-hidden="true" to ripple, focus ring, and elevation
PiperOrigin-RevId: 562075778
2023-09-01 16:33:32 -07:00
Elizabeth Mitchell
9647f5e514 fix(iconbutton): rename selectedIcon slot to selected
BREAKING CHANGE: change `slot="selectedIcon"` to `slot="selected"` for toggle icon buttons.

PiperOrigin-RevId: 561740365
2023-08-31 13:14:41 -07:00
Elliott Marquez
e702a40ca5 docs(list): document list
PiperOrigin-RevId: 558041510
2023-08-17 23:05:12 -07:00
Elliott Marquez
156ca3cbe7 feat(fab): do not require has-icon
PiperOrigin-RevId: 557976838
2023-08-17 17:05:27 -07:00
Elliott Marquez
89f03273b4 docs(checkbox): match example code to include touch targets
PiperOrigin-RevId: 557601532
2023-08-16 14:23:22 -07:00
Elizabeth Mitchell
8588a3f52e feat(fab)!: add touch target configurations
BREAKING CHANGE: Replace `reduced-touch-target` with `touch-target="none"`

PiperOrigin-RevId: 555666950
2023-08-10 14:58:51 -07:00
Elizabeth Mitchell
a117b06b7b fix(iconbutton)!: rename <md-standard-icon-button> to <md-icon-button>
PiperOrigin-RevId: 552545415
2023-07-31 11:37:56 -07:00
Copybara-Service
6116ed8f47 Merge pull request #4502 from material-components:fab-docs
PiperOrigin-RevId: 547954160
2023-07-13 16:03:30 -07:00
Elliott Marquez
2c4822d9b8 implement suggestions 2023-06-30 14:56:04 -07:00
Elliott Marquez
bfda7ab328 fab docs 2023-06-26 17:50:50 -07:00
Elliott Marquez
0ba56b64ba docs: create build system for demoing docs figures internally
PiperOrigin-RevId: 542967564
2023-06-23 15:05:14 -07:00