150 Commits

Author SHA1 Message Date
lit-robot
f0e8dea8b7 docs: update API docs 2023-10-24 20:59:01 +00:00
Copybara-Service
fb60ce608a Merge pull request #5040 from Burtan:main
PiperOrigin-RevId: 576260743
2023-10-24 13:39:21 -07:00
Copybara-Service
b5bab09ed0 Merge pull request #5080 from datvm:correct-progress-buffer-doc
PiperOrigin-RevId: 576191728
2023-10-24 10:44:39 -07:00
Elizabeth Mitchell
33e4293eca docs: update card status on roadmap
PiperOrigin-RevId: 575915719
2023-10-23 13:40:24 -07:00
lit-robot
aeb015ca2a docs: update API docs 2023-10-17 23:22:01 +00:00
Luke Vo
0f5a4f4067 Corrected buffer value description 2023-10-13 17:58:50 -05:00
Elizabeth Mitchell
19a2ea2687 docs: add FAQ on automatic dark mode
PiperOrigin-RevId: 572601794
2023-10-11 09:42:33 -07:00
Frederik Bertling
c26f206a01 List docs: moved img width into styles block for img in start slot example 2023-10-03 09:30:45 +02:00
Frederik Bertling
2b05c7fe0d Removed various slots, like avatar/icon/image from list documentations 2023-09-30 09:33:11 +02:00
Copybara-Service
edb2eb7207 Merge pull request #5007 from material-components:auto-update-docs
PiperOrigin-RevId: 569297194
2023-09-28 14:50:33 -07:00
Elizabeth Mitchell
6be6dd8e12 docs: update quick-start
PiperOrigin-RevId: 569278595
2023-09-28 13:43:46 -07:00
lit-robot
93243e0290 docs: update API docs 2023-09-28 20:14:04 +00:00
Jeremy Odekirk
12bd004b55
Update select fix URL to material design select.md 2023-09-28 09:05:54 -05:00
Elliott Marquez
57f7ff51ed docs(radio): document events on radio
PiperOrigin-RevId: 568945525
2023-09-27 13:35:14 -07: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
Elizabeth Mitchell
c4146ebfab docs: update roadmap
PiperOrigin-RevId: 568650855
2023-09-26 14:33:49 -07:00
Elizabeth Mitchell
2f549a4f74 docs: mark select as stable
PiperOrigin-RevId: 568345715
2023-09-25 15:51:22 -07:00
Elizabeth Mitchell
b7262d9f2f docs: mark menu as stable
PiperOrigin-RevId: 568338996
2023-09-25 15:24:46 -07: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
Copybara-Service
1b0461884e Merge pull request #4981 from material-components:catalog-fixes
PiperOrigin-RevId: 567885328
2023-09-23 11:19:40 -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
5f6a011f93 prefer Material web over MWC per branding guidelines 2023-09-22 23:38:53 -07:00
Elliott Marquez
186e8fc188 add all docs content to the catalog 2023-09-22 23:05:50 -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
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
Elizabeth Mitchell
05957992e8 docs: add support doc for browser support and FAQ
PiperOrigin-RevId: 566777068
2023-09-19 16:20:38 -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
Copybara-Service
ff3073a280 Merge pull request #4944 from datvm:patch-1
PiperOrigin-RevId: 566394877
2023-09-18 13:19:40 -07:00
Elizabeth Mitchell
16bfac1343 feat(chips): swap to toolbar a11y pattern
BREAKING CHANGE: chips now follow the [aria toolbar pattern](https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/examples/toolbar/). Chip sets are toolbars and chips are buttons or links. Filter chips are toggle buttons.
What to change:
- Remove `type` attribute from `<md-chip-set>` (you can mix and match chip types!)
- Remove `single-select` from `<md-chip-set>`. Use JS to control filter chips if single selection is required. Radio filter chips will come in a future update.
- Disabled chips CAN be focused with the keyboard if `always-focusable` is set.
- Filter chips no longer dispatch a `"selected"` event. Listen to `"click"` and use `event.target.selected` instead.
- ArrowUp and ArrowDown no longer navigate between chips. These are reserved for chip actions, like dropdown menu chips.

PiperOrigin-RevId: 566352830
2023-09-18 10:57:56 -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
9447ec7d72 refactor(list)!: move list aria to host
BREAKING CHANGE: Aria and roles on List have been moved to the host element. list-tabindex attribute should be migrated to tabindex attribute. type attribute should be migrated to role attribute.

PiperOrigin-RevId: 565767899
2023-09-15 13:45:32 -07:00
Luke Vo
2a6b689a0d
Corrected button trailing-icon 2023-09-15 14:44:03 -05: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
6cca5d6819 docs: mark text field as stable
PiperOrigin-RevId: 565192865
2023-09-13 16:24:17 -07:00
Andrew Jakubowicz
fe79d2adfd docs: mark slider as stable
PiperOrigin-RevId: 564883811
2023-09-12 17:40:22 -07:00
Elizabeth Mitchell
103892ead2 docs: mark tabs as stable
PiperOrigin-RevId: 564479341
2023-09-11 13:11:53 -07:00
Elizabeth Mitchell
c6a914d70e docs: add dedicated roadmap doc
PiperOrigin-RevId: 564472462
2023-09-11 12:47:12 -07:00
Elizabeth Mitchell
58f2446246 fix(tabs): a11y and tabs sometimes not activating
PiperOrigin-RevId: 564453926
2023-09-11 11:43:09 -07:00
Elizabeth Mitchell
1442f9b223 fix(tabs): setting active on tab selects them
BREAKING CHANGE: Rename the `selected` index property on md-tabs to `activeTabIndex` (`active-tab-index` attribute). Rename `select-on-focus` to `auto-activate`

PiperOrigin-RevId: 564437639
2023-09-11 10:53:44 -07:00
Elizabeth Mitchell
a8ce2ab427 docs: fix broken theming links
PiperOrigin-RevId: 564410908
2023-09-11 09:32:57 -07:00
Elizabeth Mitchell
99e334b3f1 docs: add color and typography docs
PiperOrigin-RevId: 563843200
2023-09-08 13:52:18 -07:00