Commit Graph

4877 Commits

Author SHA1 Message Date
christophe-g
f0dab482fd chore(progress): use ternary operator + nothing instead of when 2023-12-18 21:26:00 +01:00
Elizabeth Mitchell
3f46ab6c14 docs: add contributing guide
Fixes #246

PiperOrigin-RevId: 591967524
2023-12-18 11:52:14 -08:00
christophe-g
4de5e74b5c fix(progress): prevent unnecessary animation to run when not visible
Progress has an infinite animation on `<div class="dots">`. `.dots` is
only visible when `value` < `max` or `buffer` < `max`. But the animation
runs in any case.
2023-12-18 11:53:52 +01:00
Elizabeth Mitchell
839667dcf6 perf(ripple): don't process events in high contrast mode
PiperOrigin-RevId: 591368699
2023-12-15 15:01:49 -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
Elizabeth Mitchell
ddf1fb0c61 fix(tabs): --md-elevation-level no longer leaks into tabs
Fixes #5137

PiperOrigin-RevId: 591357826
2023-12-15 14:19:15 -08:00
Copybara-Service
80edf15920 Merge pull request #5229 from aarondrabeck:md-menu-color-fix
PiperOrigin-RevId: 591297433
2023-12-15 10:37:44 -08:00
Elizabeth Mitchell
926edfb367 fix(textfield): remove Firefox high contrast mode background on linux
PiperOrigin-RevId: 591065806
2023-12-14 15:16:41 -08:00
Elizabeth Mitchell
b0eea7f59d chore: add commitlint config for scopes
PiperOrigin-RevId: 591061701
2023-12-14 15:02:12 -08:00
Copybara-Service
4095c06e5a Merge pull request #5294 from material-components:auto-update-size
PiperOrigin-RevId: 591043696
2023-12-14 13:57:53 -08:00
lit-robot
de692ecad5 chore: update sizes 2023-12-14 21:40:19 +00:00
Elizabeth Mitchell
53ec44b4b8 fix(labs): add card support for high contrast mode
PiperOrigin-RevId: 591038474
2023-12-14 13:38:48 -08:00
Copybara-Service
6eb9fe670f Merge pull request #5285 from material-components:size
PiperOrigin-RevId: 591037361
2023-12-14 13:34:17 -08:00
Liz Mitchell
3638187e5f chore: add leading and trailing table pipes 2023-12-13 20:22:56 -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
Elizabeth Mitchell
f92eb0efe0 chore: add feature request template
PiperOrigin-RevId: 590796188
2023-12-13 20:18:26 -08:00
Copybara-Service
98ba0b9436 Merge pull request #5288 from material-components:release-please--branches--main--components--web
PiperOrigin-RevId: 590713647
2023-12-13 14:31:37 -08:00
release-please[bot]
79ef9f6f5d
chore: release 1.1.1 2023-12-13 22:22:57 +00:00
Liz Mitchell
ab042992ac fix: formAssociated disabled attribute not working 2023-12-13 14:21:57 -08:00
Elizabeth Mitchell
2234a1279f chore: fix formAssociated disabled attribute not working
There is out-of-sync state when lit's built-in accessor tries to reflect attributes alongside the getter and setter. Instead, the properties just read from attributes and requestUpdate is called when those attributes change.

PiperOrigin-RevId: 590710159
2023-12-13 14:17:48 -08:00
Copybara-Service
eaefb5040b Merge pull request #5094 from material-components:release-please--branches--main--components--web
PiperOrigin-RevId: 590708481
2023-12-13 14:12:10 -08:00
Liz Mitchell
5d8f453ba5 chore: remove trailing whitespace 2023-12-13 11:59:50 -08:00
Liz Mitchell
52d1ca59fc chore: add extra | to table row start for GitHub empty starting columns 2023-12-13 11:35:12 -08:00
Liz Mitchell
3749911d16 chore: add build dependecy to update-size 2023-12-13 11:27:32 -08:00
Liz Mitchell
381189da9b chore: add readme link to size and bot 2023-12-13 11:23:32 -08:00
Liz Mitchell
1d9a552dcf docs: add size tracking 2023-12-12 17:25:03 -08:00
Elizabeth Mitchell
79f7dd2470 chore(chips): move trailing icon aria-hidden
PiperOrigin-RevId: 590311910
2023-12-12 13:15:54 -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
release-please[bot]
40e63ec3ee
chore: release 1.1.0 2023-12-12 20:48:06 +00:00
Copybara-Service
27d3541910 Merge pull request #5263 from vdegenne:md-filter-chip-icons
PiperOrigin-RevId: 590301589
2023-12-12 12:46:32 -08:00
vdegenne
b44b90c826 feat(chip): trailing remove icon can now be customized 2023-12-12 09:46:50 +01:00
vdegenne
49a6be141b feat(chip): trailing remove icon can now be customized 2023-12-12 09:45:52 +01: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
vdegenne
76883cd420 feat(chip): trailing remove icon can now be customized 2023-12-09 11:39:31 +01:00
Valentin Degenne
2a4db32ccf
Merge branch 'main' into md-filter-chip-icons 2023-12-09 11:24:46 +01:00
Elizabeth Mitchell
739cf339b1
chore: audit npm dependencies (#5273) 2023-12-08 15:09:43 -08:00
Elizabeth Mitchell
89b4c2e752 feat(chips): add filter chip selected-icon slot to customize checkmark
PiperOrigin-RevId: 589186323
2023-12-08 11:06:09 -08:00
Elliott Marquez
c4cbd3612c fix(menu): shift tab into anchor closes menu
PiperOrigin-RevId: 589173373
2023-12-08 10:25:43 -08:00
Elizabeth Mitchell
c9e8de0207 feat(chips): add tokens to customize padding
Added chip tokens for `leading-space`, `trailing-space`, `icon-label-space`, `with-leading-icon-leading-space`, and `with-trailing-icon-trailing-space`.

PiperOrigin-RevId: 588942324
2023-12-07 16:19:41 -08:00
Elizabeth Mitchell
6a0d1b8440 chore: add code of conduct
PiperOrigin-RevId: 588939327
2023-12-07 16:09:33 -08:00
Elizabeth Mitchell
9de82ba2ed chore: set up security policy
PiperOrigin-RevId: 588939087
2023-12-07 16:08:14 -08:00
Elizabeth Mitchell
9e3f0801aa fix(button): sometimes submits form even when click listener prevents default
Fixes #5032

PiperOrigin-RevId: 588925434
2023-12-07 15:18:05 -08:00
Elizabeth Mitchell
e78a52f1e4 fix(checkbox): checked and indeterminate not updated during input event
Fixes #5028

The input event is dispatched before the change event, so we need to update state there instead of on change.

PiperOrigin-RevId: 588497817
2023-12-06 11:50:41 -08:00
vdegenne
b30d09e75b add hasSlottedTrailingIcon 2023-12-06 18:27:54 +01:00
vdegenne
9ff29ac8fa chore(md-chip): filter chip trailing icon can now be customized 2023-12-06 17:12:05 +01:00
vdegenne
a4bfc96a0b chore(md-chip): filter chip trailing icon can now be customized 2023-12-06 16:57:51 +01:00
Elizabeth Mitchell
a6d984afb6 docs: add browser support go link
PiperOrigin-RevId: 588118753
2023-12-05 10:36:00 -08:00
Elizabeth Mitchell
1e8067bca7 test: add classes to shared template props
This makes it easier to add classes in a render method. Also updates the TemplateBuilder type to not require a Harness (ex: card does not need one)

PiperOrigin-RevId: 588110635
2023-12-05 10:11:56 -08:00
Elizabeth Mitchell
a0baa4dc10 chore(card): remove host padding and update demo
Cards often have content that extends to the bounds of the card. Instead of adding default padding that must be removed, cards' content should add their own padding as needed.

This makes adding full-width media and dividers easier.

Also moved background z-indices to -1 since the slot doesn't have a display and the z-index wasn't doing anything.

PiperOrigin-RevId: 587883362
2023-12-04 16:58:37 -08:00