26 Commits

Author SHA1 Message Date
Elizabeth Mitchell
c72e5fe8d2 docs: update freshness
PiperOrigin-RevId: 836781444
2025-11-25 13:01:25 -08:00
Elizabeth Mitchell
c53bc867a4 docs: update freshness and owners
PiperOrigin-RevId: 761161494
2025-05-20 11:27:21 -07:00
Liz Mitchell
9b498fed6a chore: update typescript to 5.6.2 2024-11-04 10:26:15 -08:00
Pupix
6df7161d69 Allow users to disable surface flipping in md-menu
Sometimes the desired effect is to have the menu extend to the available height and then start overflowing instead of flipping to the opposite corner. Cases like search bar, autocomplete or any kind of input with suggestions below the textfield content.
2024-08-02 22:57:44 +02:00
Elliott Marquez
2c0fafd3d8 docs: update analyzer and update docs 2024-06-04 21:57:37 -07:00
Elizabeth Mitchell
9757681fc5 docs: update freshness
PiperOrigin-RevId: 619269873
2024-03-26 12:09:47 -07:00
Copybara-Service
f39617f469 Merge pull request #5455 from kspar:main
PiperOrigin-RevId: 607479911
2024-02-15 15:46:24 -08:00
Elizabeth Mitchell
41bac9e44d feat: add --md-sys-shape-* tokens for all components
PiperOrigin-RevId: 607427925
2024-02-15 13:00:24 -08:00
Kaspar Papli
e8411378f8
docs: fix typos and wording issues in menu docs 2024-02-12 20:41:10 +01:00
Elliott Marquez
bad478dd91 docs(menu): fix the popover demo and warning blockquote
PiperOrigin-RevId: 590796459
2023-12-13 20:19:58 -08: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
Thorsten Scherler
08673751be
[fix_typo] fix tag name
Signed-off-by: Thorsten Scherler <scherler@gmail.com>
2023-11-06 13:53:31 +01:00
lit-robot
84df854bb7 docs: update API docs 2023-09-25 21:32:35 +00:00
Elliott Marquez
aeb5103e1c fix(menu,select): fix final aria issues
PiperOrigin-RevId: 568326002
2023-09-25 14:31:52 -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
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
lit-robot
621192bc12 docs: update API docs 2023-09-20 06:58:11 +00:00
Elliott Marquez
9f3e55d79a docs: auto-generate API docs
Updates API docs in our markdown files with Lit Analyzer by manually running `npm run update-docs`

COPYBARA_INTEGRATE_REVIEW=https://github.com/material-components/material-web/pull/4946 from material-components:api-docs 1322ca962041a4b1f30ef7ad3ef2c7eb9087f42b
PiperOrigin-RevId: 566834596
2023-09-19 21:05:47 -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
Elizabeth Mitchell
94b5c8125e feat(menu): update tokens to v0.192
- Adds `--md-menu-item-selected-label-text-color` token

BREAKING CHANGE: menu selected container color changed to secondary-container

PiperOrigin-RevId: 565807703
2023-09-15 16:35:25 -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
Elizabeth Mitchell
a8ce2ab427 docs: fix broken theming links
PiperOrigin-RevId: 564410908
2023-09-11 09:32:57 -07:00
Elliott Marquez
0211944b7e docs(menu): document menu
PiperOrigin-RevId: 563523511
2023-09-07 13:11:42 -07:00