5052 Commits

Author SHA1 Message Date
lit-robot
8c4358f3b4 docs: update API docs 2026-03-05 07:43:40 +00:00
Elizabeth Mitchell
4142a697ca feat(labs): change form-submitter to a behavior mixin
PiperOrigin-RevId: 878869545
2026-03-04 23:43:05 -08:00
Elizabeth Mitchell
1cbfc757e9 feat: export CSSStyleSheet as default from CSSResult-in-js files
PiperOrigin-RevId: 878547222
2026-03-04 10:13:04 -08:00
Elizabeth Mitchell
9538d26d86 fix(iconbutton): use event dispatch hooks for toggle clicks
PiperOrigin-RevId: 878162906
2026-03-03 15:54:09 -08:00
Elizabeth Mitchell
605055229c chore: fix dispatch-hooks skipping internal event listeners
PiperOrigin-RevId: 877477670
2026-03-02 10:53:48 -08:00
Elizabeth Mitchell
36ed114cb5 chore: refactor custom state set unit tests for code coverage
PiperOrigin-RevId: 877423793
2026-03-02 08:58:23 -08:00
dependabot[bot]
9c2a5ebc34
chore: bump qs from 6.14.1 to 6.14.2 (#5889)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 21:27:38 -08:00
dependabot[bot]
25ff820827
chore: bump minimatch from 3.1.2 to 3.1.5 (#5897)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.5.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Mitchell <lizmitchell@google.com>
2026-03-01 09:14:33 -08:00
dependabot[bot]
2f150d2841
chore: bump rollup (#5893)
Bumps [rollup](https://github.com/rollup/rollup) to 2.80.0 and updates ancestor dependency . These dependencies need to be updated together.


Updates `rollup` from 2.79.2 to 2.80.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/v2.80.0/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.2...v2.80.0)

Updates `rollup` from 4.24.4 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/v2.80.0/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.2...v2.80.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 2.80.0
  dependency-type: direct:development
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 13:20:42 -08:00
dependabot[bot]
663d766478
chore: bump basic-ftp from 5.0.5 to 5.2.0 (#5892)
Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.0.5 to 5.2.0.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases)
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.0.5...v5.2.0)

---
updated-dependencies:
- dependency-name: basic-ftp
  dependency-version: 5.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 13:16:02 -08:00
dependabot[bot]
516cbc02bf
chore: bump qs from 6.11.2 to 6.14.1 (#5881)
Bumps [qs](https://github.com/ljharb/qs) from 6.11.2 to 6.14.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.11.2...v6.14.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Mitchell <lizmitchell@google.com>
2026-01-14 10:44:37 -08:00
Elizabeth Mitchell
977909925e fix(tokens): add expressive token versions
PiperOrigin-RevId: 853901522
2026-01-08 15:13:50 -08:00
Elizabeth Mitchell
555b0add40 chore(labs): fix code coverage failures
PiperOrigin-RevId: 852359587
2026-01-05 10:31:48 -08:00
Elizabeth Mitchell
0231054f78 docs: update sass-ext page title
PiperOrigin-RevId: 838889082
2025-12-01 12:36:05 -08:00
Elizabeth Mitchell
dd87fd2117 feat(sass-ext): add @material/web/sass/ext helper utilities
PiperOrigin-RevId: 838854429
2025-12-01 11:12:29 -08:00
Copybara-Service
8b67064baa Merge pull request #5872 from material-components:node-types
PiperOrigin-RevId: 838777114
2025-12-01 08:05:15 -08:00
Elizabeth Mitchell
ca9c6529dc chore: fix package-lock registry 2025-11-29 19:42:21 -08:00
Elizabeth Mitchell
a0c6a4b704 chore: update node types for util.parseArgs in scripts 2025-11-29 15:28:56 -08:00
Elizabeth Mitchell
c72e5fe8d2 docs: update freshness
PiperOrigin-RevId: 836781444
2025-11-25 13:01:25 -08:00
Elizabeth Mitchell
a7ba471a62 fix(tokens): add readme for the @material/web/tokens/versions folder
PiperOrigin-RevId: 836373118
2025-11-24 14:53:53 -08:00
Elizabeth Mitchell
81a7e2bc93 chore: add list and map utilities to sass-ext
PiperOrigin-RevId: 836346666
2025-11-24 13:36:10 -08:00
Elizabeth Mitchell
ab81566809 chore: add var utilities to sass-ext
PiperOrigin-RevId: 836343515
2025-11-24 13:27:36 -08:00
Copybara-Service
563da62b58 Merge pull request #5864 from vdegenne:main
PiperOrigin-RevId: 832473933
2025-11-14 15:14:37 -08:00
Valentin Degenne
46fc0ead2f fix(slider): prevent internal selection and a frozen knob. 2025-11-12 17:16:27 +01:00
Elizabeth Mitchell
be012462c8 chore: add errors and type assertions to sass-ext
PiperOrigin-RevId: 826549583
2025-10-31 10:51:54 -07:00
Elizabeth Mitchell
0a1f511ed8 chore: move and set up sass/ext folder
PiperOrigin-RevId: 826089867
2025-10-30 10:25:57 -07:00
Copybara-Service
83415940e3 Merge pull request #5860 from ejmurc:fix-nan-transforms-hidden-field
PiperOrigin-RevId: 825691442
2025-10-29 13:46:56 -07:00
eliasmurcray
590ae99ff7 fix(field): prevent NaN transforms when element is hidden
Fixes #5815

When a field's display is set to none, getBoundingClientRect() returns
zeros, causing division by zero in getLabelKeyframes(). This resulted
in NaN values in transform strings.

Added check to skip animation when label dimensions are zero.
2025-10-28 10:21:47 -07:00
Copybara-Service
7619df0d64 Merge pull request #5847 from material-components:release-please--branches--main--components--web
PiperOrigin-RevId: 824546909
v2.4.1
2025-10-27 09:17:17 -07:00
dependabot[bot]
3fd3f557e4
chore: bump rollup from 2.79.1 to 2.79.2 (#5726)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Mitchell <lizmitchell@google.com>
2025-10-26 17:30:22 -07:00
Lit Robot
995b27d222 chore: release 2.4.1 2025-10-26 17:25:56 -07:00
dependabot[bot]
857e502e04
chore: bump playwright from 1.49.0 to 1.56.1 (#5859)
Bumps [playwright](https://github.com/microsoft/playwright) from 1.49.0 to 1.56.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.49.0...v1.56.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.56.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-26 17:25:16 -07:00
Elizabeth Mitchell
fb6798bc02 chore(tokens): update token imports and remove "./" from paths
PiperOrigin-RevId: 816752521
2025-10-08 09:59:03 -07:00
Elizabeth Mitchell
60c0cfa58a fix(tokens): @material/web/tokens/v* moved to @material/web/tokens/versions/v*
The `@material/web/tokens/v0_192` directory will be removed in the next major version. The new import path is `@material/web/tokens/versions/v0_192`

PiperOrigin-RevId: 816189853
2025-10-07 07:00:48 -07:00
Copybara-Service
509954105d Merge pull request #5852 from material-components:sass-update
PiperOrigin-RevId: 815960171
2025-10-06 18:00:23 -07:00
Elizabeth Mitchell
717b6ebfdd chore: update sass dependency 2025-10-06 16:02:16 -07:00
Elizabeth Mitchell
417e1cfe67 chore: add explicit GitHub workflow permissions
PiperOrigin-RevId: 815915576
2025-10-06 15:49:25 -07:00
dependabot[bot]
5345efddde
chore: bump tar-fs from 3.0.9 to 3.1.1 (#5849)
Bumps [tar-fs](https://github.com/mafintosh/tar-fs) from 3.0.9 to 3.1.1.
- [Commits](https://github.com/mafintosh/tar-fs/compare/v3.0.9...v3.1.1)

---
updated-dependencies:
- dependency-name: tar-fs
  dependency-version: 3.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 10:53:08 -07:00
Copybara-Service
834a1664ef Merge pull request #5845 from austinw-fineart:patch-1
PiperOrigin-RevId: 804446918
2025-09-08 08:38:46 -07:00
austinw-fineart
6010e52c8f
fix(radio): also move sibling uncheck logic after root assignment 2025-09-03 09:52:27 +08:00
austinw-fineart
adb8d104f2
fix(radio): move root assignment to mirror hostDisconnected
Fixes a regression caused by 688ab3c where calling hostConnected / hostDisconnected in rapid succession can cause root to become null.
2025-09-02 17:40:25 +08:00
Copybara-Service
9f85b3e0c0 Merge pull request #5841 from material-components:auto-update-docs
PiperOrigin-RevId: 799209912
2025-08-25 11:50:54 -07:00
lit-robot
aa8b30d1f6 docs: update API docs 2025-08-21 17:32:12 +00:00
Copybara-Service
2206d7f01c Merge pull request #5788 from material-components:release-please--branches--main--components--web
PiperOrigin-RevId: 797819446
v2.4.0
2025-08-21 10:26:43 -07:00
Lit Robot
7285819c4a chore: release 2.4.0 2025-08-20 17:14:56 -07:00
Copybara-Service
470d82d6c3 Merge pull request #5839 from material-components:auto-update-sizes
PiperOrigin-RevId: 797526267
2025-08-20 17:14:10 -07:00
lit-robot
daa2ef5046 chore: update sizes 2025-08-20 23:30:47 +00:00
Elizabeth Mitchell
347455f130 chore: move permissions block in release-please workflow
PiperOrigin-RevId: 797508115
2025-08-20 16:22:18 -07:00
Material Web Team
70a1d8e59a chore: refactor code to be compatible with es2022
PiperOrigin-RevId: 794698100
2025-08-13 12:55:39 -07:00
Elizabeth Mitchell
cd7512ff90 fix(ripple): remove pointerdown contextmenu bounds check for Chrome
tl;dr; the bug this check was handling is no longer reproducible in Chrome, where a `pointerdown` event would be dispatched after the user closes the `contextmenu`

PiperOrigin-RevId: 791839195
2025-08-06 14:12:20 -07:00