Commit Graph

97 Commits

Author SHA1 Message Date
Elizabeth Mitchell
cb3748b4d7 docs: update catalog landing page and add github link
PiperOrigin-RevId: 646604510
2024-06-25 14:19:33 -07:00
Elizabeth Mitchell
3e934e17b9 chore: remove todo from catalog code
PiperOrigin-RevId: 608782651
2024-02-20 16:34:59 -08:00
Elliott Marquez
cc8d02c847 docs: expose component size page and make bold look not fuzzy
PiperOrigin-RevId: 591365088
2023-12-15 14:48:19 -08:00
Elliott Marquez
bad478dd91 docs(menu): fix the popover demo and warning blockquote
PiperOrigin-RevId: 590796459
2023-12-13 20:19:58 -08:00
Copybara-Service
8e75343bbd Merge pull request #5275 from material-components:stories-page
PiperOrigin-RevId: 590302109
2023-12-12 12:48:15 -08:00
Elliott Marquez
4f4792a19a add licenses 2023-12-11 18:51:20 -08:00
Elliott Marquez
8bdc6e79ee docs: make page for full stories 2023-12-11 18:48:22 -08:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
5c3db90541 docs: remove cache for entrypoint JS files until we can diagnose what's going on
PiperOrigin-RevId: 575357630
2023-10-20 17:41:07 -07:00
Valentin Degenne
fbc1fa626a
fix(catalog): align one liners to center 2023-10-11 17:22:50 +02:00
Valentin Degenne
5235b3ea52
fix(catalog): center items in blockquotes 2023-10-11 17:14:04 +02: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
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
9250d95fa8 set url bar and favicon 2023-09-22 23:35:46 -07:00
Elliott Marquez
186e8fc188 add all docs content to the catalog 2023-09-22 23:05:50 -07:00
Elliott Marquez
446558081a docs(catalog): misc catalog fixes 2023-09-22 19:28:01 -07:00
Elizabeth Mitchell
205bdc6ccf chore: update catalog usage of md-list-item
PiperOrigin-RevId: 567738815
2023-09-22 16:01:28 -07:00
Elliott Marquez
dbf930a946 docs(catalog): import all ssr definitions to the server
PiperOrigin-RevId: 567733162
2023-09-22 15:34:44 -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
d6cbf74137 refactor(menu)!: remove sub-menu-item in favor of sub-menu
BREAKING CHANGE: We have deleted `md-sub-menu-item`. Instead it is recommended to use `md-sub-menu` which can have `md-menu-item[slot=item]` and `md-menu[slot=menu]` slotted into it. This makes `sub-menu-item` accessible for screen readers using linear navigation

PiperOrigin-RevId: 567706398
2023-09-22 13:41:43 -07: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
Elliott Marquez
80c53d3a8b docs(textfield): textfield images and figures
PiperOrigin-RevId: 566773604
2023-09-19 16:09:25 -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
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
Andrew Jakubowicz
af27ff8374 fix(catalog): remove TODO from home page
PiperOrigin-RevId: 565459571
2023-09-14 13:25:04 -07:00
Elliott Marquez
56e9044fa6 build: bump wireit versions and catalog ts version 2023-09-08 15:25:09 -07:00
Elliott Marquez
8e79da6f41 docs(menu): lessen indirection code reuse in stories
PiperOrigin-RevId: 563544292
2023-09-07 14:21:40 -07:00
Elliott Marquez
0211944b7e docs(menu): document menu
PiperOrigin-RevId: 563523511
2023-09-07 13:11:42 -07:00
Elliott Marquez
8d3abd4588 docs(catalog): hide the nav bar's default dots in ff and fix tab navigation
PiperOrigin-RevId: 563257951
2023-09-06 17:09:56 -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
Elizabeth Mitchell
5b13b5c05b fix(tabs)!: split md-tab into md-primary-tab and md-secondary-tab
BREAKING CHANGE: remove `variant` attributes and change `md-tab` to `md-primary-tab`, or `md-secondary-tab` if using `variant="secondary"

PiperOrigin-RevId: 561077231
2023-08-29 10:47:55 -07:00
Elliott Marquez
5ba348dfd0 feat(menu)!: allow anchoring with idref string and set element ref on anchorElement
BREAKING: `MdMenu.prototype.anchor` now only accepts a string which will querySelector the rootNode of the menu. The method now to anchor to an element reference is to set `MdMenu.prototype.anchorElement`. This matches the `popover` anchoring proposal more closely, but that proposal may not pass in favor of a CSS approach.
PiperOrigin-RevId: 560955779
2023-08-29 01:40:36 -07:00
Elliott Marquez
e702a40ca5 docs(list): document list
PiperOrigin-RevId: 558041510
2023-08-17 23:05:12 -07:00
Elliott Marquez
10c24edff7 docs(catalog): make the content-less spacing smaller
PiperOrigin-RevId: 557593145
2023-08-16 13:54:49 -07:00
Elliott Marquez
2d9352e3f4 refactor(list-item)!: remove duplicate list-item menu-item from custom prop names
BREAKING: renames custom props from this:

`--md-list-item-list-item-...`
`--md-menu-item-list-item-...`

to:
`--md-list-item-...`
`--md-menu-item-...`
PiperOrigin-RevId: 557337871
2023-08-15 20:48:25 -07:00
Elliott Marquez
cb4468a34b docs(catalog): add margin to checkbox with new touch target
PiperOrigin-RevId: 557161521
2023-08-15 09:47:35 -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
Elliott Marquez
09cb6da8fb refactor(list,menu)!: add href to (list|menu)-item and remove (menu|list)-item-link
BREAKING CHANGE: list-item-link and menu-item-link have been removed and their functionality has been added to menu-item and list-item respectively.

PiperOrigin-RevId: 553894393
2023-08-04 13:18:38 -07:00
Elliott Marquez
673985e55c docs: allow the catalog nav drawer to scroll
PiperOrigin-RevId: 553833563
2023-08-04 09:45:07 -07:00
Elizabeth Mitchell
cc26ef6c02 fix(button)!: rename <md-tonal-button> to <md-filled-tonal-button>
BREAKING CHANGE: Rename "md-tonal-button" elements, imports, and tokens to "md-filled-tonal-button"

PiperOrigin-RevId: 552600206
2023-07-31 14:57:34 -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
Elizabeth Mitchell
e581142d67 fix(dialog)!: remove transition and scrim tokens
PiperOrigin-RevId: 552535303
2023-07-31 11:07:02 -07:00
Elizabeth Mitchell
2329d2b419 fix(button)!: rename spacing tokens
BREAKING CHANGE: Rename `--md-<button>-spacing-<token>` to `--md-<button>-<token>-space`. Rename `--md-<button>-with-icon-*` to `--md-<button>-with-leading-icon-*`.

PiperOrigin-RevId: 552323014
2023-07-30 17:18:48 -07:00
Elliott Marquez
1593d46ffe docs: elide m.dev links internally & clarify comment transform names
PiperOrigin-RevId: 551664326
2023-07-27 15:54:40 -07:00
Elliott Marquez
e861ab3528 add license header 2023-07-27 09:49:35 -07:00
Elliott Marquez
596aa3ddc3 format 2023-07-27 09:48:23 -07:00
Elliott Marquez
176e386680 remove watch flag on start 2023-07-27 09:47:50 -07:00
Elliott Marquez
a7f21a2b2f add no js styles 2023-07-27 09:46:01 -07:00