Skip to content

Commit 82506e0

Browse files
authored
Merge branch 'angular:main' into chip-edit
2 parents 9ab6680 + 9f249d0 commit 82506e0

File tree

162 files changed

+1921
-718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+1921
-718
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# `material.angular.io/` folder renamed to `docs/`
1+
# `material.angular.dev/` folder renamed to `docs/`
22
cc8d090758b6448a3f745e1faf3e503a293b1757

.github/ISSUE_TEMPLATE/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Documentation
2-
description: Suggest an improvement to our documentation at material.angular.io
2+
description: Suggest an improvement to our documentation at material.angular.dev
33
title: 'docs-bug(COMPONENT): TITLE'
44
labels: ['docs', 'needs triage']
55
body:
@@ -8,14 +8,14 @@ body:
88
attributes:
99
label: Documentation Feedback
1010
description: |
11-
Provide a brief summary of what you would like to see changed in our documentation at [material.angular.io](https://material.angular.io/).
11+
Provide a brief summary of what you would like to see changed in our documentation at [material.angular.dev](https://material.angular.dev/).
1212
Feel free to provide any suggestions of content or examples you’d like us to include.
1313
validations:
1414
required: true
1515
- type: input
1616
id: affected-documentation-page
1717
attributes:
1818
label: Affected documentation page
19-
description: Insert a link to the affected page on [material.angular.io](https://material.angular.io/).
19+
description: Insert a link to the affected page on [material.angular.dev](https://material.angular.dev/).
2020
validations:
2121
required: true

.github/workflows/ci.material-aio.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'CI (material.angular.io)'
1+
name: 'CI (material.angular.dev)'
22

33
on:
44
push:
@@ -49,7 +49,7 @@ jobs:
4949
if: always()
5050
with:
5151
name: test-logs
52-
path: material.angular.io/bazel-testlogs/
52+
path: material.angular.dev/bazel-testlogs/
5353
retention-days: 14
5454

5555
lighthouse:
@@ -70,5 +70,5 @@ jobs:
7070
if: always()
7171
with:
7272
name: lighthouse-logs
73-
path: material.angular.io/bazel-testlogs/
73+
path: material.angular.dev/bazel-testlogs/
7474
retention-days: 14

.github/workflows/docs-preview-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
workflow-artifact-name: 'docs-preview'
3636
pull-number: '${{github.event.pull_request.number}}'
3737
artifact-build-revision: '${{github.event.pull_request.head.sha}}'
38-
deploy-directory: './dist/bin/docs/material-angular-io.production'
38+
deploy-directory: './dist/bin/docs/dist/browser'

.github/workflows/docs-preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
github-token: '${{secrets.GITHUB_TOKEN}}'
4646
workflow-artifact-name: 'docs-preview'
4747
firebase-config-dir: './docs'
48-
firebase-public-dir: './docs/dist/material-angular-io.production'
48+
firebase-public-dir: './docs/dist'
4949
firebase-project-id: '${{env.PREVIEW_PROJECT}}'
5050
firebase-service-key: '${{secrets.FIREBASE_PREVIEW_SERVICE_TOKEN}}'

.github/workflows/pr.material-aio.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'PR (material.angular.io)'
1+
name: 'PR (material.angular.dev)'
22

33
on:
44
pull_request:
@@ -47,7 +47,7 @@ jobs:
4747
if: always()
4848
with:
4949
name: test-logs
50-
path: material.angular.io/bazel-testlogs/
50+
path: material.angular.dev/bazel-testlogs/
5151
retention-days: 14
5252

5353
lighthouse:
@@ -68,5 +68,5 @@ jobs:
6868
if: always()
6969
with:
7070
name: lighthouse-logs
71-
path: material.angular.io/bazel-testlogs/
71+
path: material.angular.dev/bazel-testlogs/
7272
retention-days: 14

CHANGELOG.md

Lines changed: 60 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,61 @@
1+
<a name="20.0.0-next.10"></a>
2+
# 20.0.0-next.10 "sodium-swallow" (2025-05-01)
3+
4+
<!-- CHANGELOG SPLIT MARKER -->
5+
6+
<a name="20.0.0-next.9"></a>
7+
# 20.0.0-next.9 "sodium-salamander" (2025-05-01)
8+
## Breaking Changes
9+
### cdk
10+
- * `CanStick` has been removed.
11+
* `CDK_TABLE_TEMPLATE` has been removed.
12+
* `StickyDirection` has been removed.
13+
* `StickyStyler` has been removed.
14+
### cdk-experimental
15+
| Commit | Type | Description |
16+
| -- | -- | -- |
17+
| [e456c751c](https://github.com/angular/components/commit/e456c751cdeff2f196e90933d4c99de317e70b31) | feat | **listbox:** add cdk-active class ([#30932](https://github.com/angular/components/pull/30932)) |
18+
| [96fa9fc55](https://github.com/angular/components/commit/96fa9fc5526e79127edf028eef88f547c8c93b88) | feat | **popover-edit:** Support skipping over annotated rows when the user moves focus up/down. ([#30916](https://github.com/angular/components/pull/30916)) |
19+
| [025010b64](https://github.com/angular/components/commit/025010b64c59b4aa2bfec8593f050e75fe3eefaa) | feat | **tabs:** add cdk-active class and update example styles ([#30950](https://github.com/angular/components/pull/30950)) |
20+
| [44e9ccbf5](https://github.com/angular/components/commit/44e9ccbf5080abade2d35478ad3c82451ac61585) | fix | **listbox:** initial listbox focus state ([#30764](https://github.com/angular/components/pull/30764)) |
21+
| [0e391700c](https://github.com/angular/components/commit/0e391700cb55786a74a3aa16757e90596eb55e6c) | fix | **tabs:** handle space and enter events ([#30889](https://github.com/angular/components/pull/30889)) |
22+
### google-maps
23+
| Commit | Type | Description |
24+
| -- | -- | -- |
25+
| [cc61697fb](https://github.com/angular/components/commit/cc61697fb9cf234c0e6a4f95a587d377cdb23a4b) | fix | implicitly include google.maps types instead of the triple slash workaround ([#30942](https://github.com/angular/components/pull/30942)) |
26+
### material
27+
| Commit | Type | Description |
28+
| -- | -- | -- |
29+
| [663585a1c](https://github.com/angular/components/commit/663585a1c4f539b946d12bc0d014c97f02d940d0) | feat | **card:** support filled variant ([#29868](https://github.com/angular/components/pull/29868)) |
30+
| [764a1ccd1](https://github.com/angular/components/commit/764a1ccd15f5f231058789eb98cdcf4e40dc69db) | feat | **dialog:** add closePredicate option |
31+
| [48644f56a](https://github.com/angular/components/commit/48644f56a134fd1c78847bae01ab9e35f6ad9320) | fix | **chips:** icon cut off when text-spacing is increased ([#30867](https://github.com/angular/components/pull/30867)) |
32+
| [86ea718e7](https://github.com/angular/components/commit/86ea718e7813d360a620df6bf1ddba77e93cdb6e) | fix | **schematics:** surface-container-low token not emitted ([#30985](https://github.com/angular/components/pull/30985)) |
33+
| [d3a8c5b89](https://github.com/angular/components/commit/d3a8c5b8921c057a7655b44e2e6fc7c282b66b0b) | fix | **slide-toggle:** opacity tokens not being used ([#30946](https://github.com/angular/components/pull/30946)) |
34+
| [0cf6ba107](https://github.com/angular/components/commit/0cf6ba1076dff1a7ec9f6e6c88f39a71751bb5d9) | fix | **stepper:** done icon tokens not emitted in M3 ([#30996](https://github.com/angular/components/pull/30996)) |
35+
| [50a9a9b9d](https://github.com/angular/components/commit/50a9a9b9daabc06e16a63f03668df2fde192ab44) | fix | **table:** height tokens not applying to flex table ([#30978](https://github.com/angular/components/pull/30978)) |
36+
| [c63b1fe7b](https://github.com/angular/components/commit/c63b1fe7b340796d21492b9ccc28e91df6464f37) | fix | **tabs:** flicker when animationDuration is set to zero ([#30966](https://github.com/angular/components/pull/30966)) |
37+
| [6c9678e69](https://github.com/angular/components/commit/6c9678e6902f13a841511df671efc724720cca1e) | perf | **form-field:** set notch outline variable only on relevant element ([#30955](https://github.com/angular/components/pull/30955)) |
38+
### cdk
39+
| Commit | Type | Description |
40+
| -- | -- | -- |
41+
| [06821d85a](https://github.com/angular/components/commit/06821d85a0d75648fcc936c714f333908d5be017) | feat | **dialog:** add closePredicate option |
42+
| [e4a1f54d8](https://github.com/angular/components/commit/e4a1f54d80f8cf2ea05cd7153b798eb5e6c2bd03) | fix | **overlay:** reduce touch interaction delay on backdrop ([#30971](https://github.com/angular/components/pull/30971)) |
43+
| [87501e866](https://github.com/angular/components/commit/87501e8662e1bd551376cd452fdd181b4091751c) | fix | **schematics:** support project index file discovery for object-form and default ([#30967](https://github.com/angular/components/pull/30967)) |
44+
| [6bdea0b86](https://github.com/angular/components/commit/6bdea0b864e153ab501557aa480418c798c5c869) | fix | **stepper:** resolve null pointer errors ([#30944](https://github.com/angular/components/pull/30944)) |
45+
| [0f48b04dd](https://github.com/angular/components/commit/0f48b04dd340461811f974d112c05374a5fb1a4a) | fix | **table:** move out unused style scheduler ([#30963](https://github.com/angular/components/pull/30963)) |
46+
| [6ffe9c748](https://github.com/angular/components/commit/6ffe9c748ef85cea8c7af1018962d5807a78a8ee) | fix | **table:** remove private symbols from public API ([#30956](https://github.com/angular/components/pull/30956)) |
47+
### multiple
48+
| Commit | Type | Description |
49+
| -- | -- | -- |
50+
| [3465f9271](https://github.com/angular/components/commit/3465f9271811733fb623536af0e53cd529b4b2a9) | fix | ensure mat-option parents are the offsetParent ([#30977](https://github.com/angular/components/pull/30977)) |
51+
52+
<!-- CHANGELOG SPLIT MARKER -->
53+
54+
<a name="19.2.14"></a>
55+
# 19.2.14 "sodium-scallop" (2025-05-01)
56+
57+
<!-- CHANGELOG SPLIT MARKER -->
58+
159
<a name="20.0.0-next.8"></a>
260
# 20.0.0-next.8 "glutamate-gyoza" (2025-04-23)
361
### cdk
@@ -3266,7 +3324,7 @@ Andy Chrzaszcz, Bobby Galli, Joey Perrott, Kristiyan Kostadinov, Miles Malerba,
32663324
- `mat-tabs`
32673325
- The TypeScript API should remain largely unchanged, but the DOM and CSS classes for these components have changed.
32683326
- See the MDC migration guide for more information about the changes and
3269-
how to migrate your app: https://material.angular.io/guide/mdc-migration.
3327+
how to migrate your app: https://material.angular.dev/guide/mdc-migration.
32703328
- Buttons inside the datepicker popup and datepicker toggle now use the
32713329
MDC-based button implementation. They have different CSS classes and
32723330
styles, so custom style overrides may need to be updated.
@@ -6105,4 +6163,4 @@ _Breaking changes:_
61056163

61066164
# Changes Prior to 12.0.0
61076165

6108-
To view changes that occurred prior to 12.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/main/CHANGELOG_ARCHIVE.md).
6166+
To view changes that occurred prior to 12.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/main/CHANGELOG_ARCHIVE.md).

CHANGELOG_ARCHIVE.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1891,8 +1891,8 @@ And the same test with harnesses:
18911891
```
18921892

18931893
Learn more about
1894-
[Angular Material's component harnesses](https://material.angular.io/guide/using-component-harnesses)
1895-
or [building your own with the CDK](https://v9.material.angular.io/cdk/testing/overview).
1894+
[Angular Material's component harnesses](https://material.angular.dev/guide/using-component-harnesses)
1895+
or [building your own with the CDK](https://v9.material.angular.dev/cdk/testing/overview).
18961896

18971897
#### New `@angular/google-maps` package!
18981898

@@ -1911,7 +1911,7 @@ Big thanks to @mbehrlich for contributing this!
19111911
#### New `cdk/clipboard` subpackage containing helpers for working with the clipboard.
19121912

19131913
This new capability for `@angular/cdk` provides some convenient helpers for dealign with
1914-
the clipboard. [See the documentation for more information](https://material.angular.io/cdk/clipboard).
1914+
the clipboard. [See the documentation for more information](https://material.angular.dev/cdk/clipboard).
19151915

19161916
Big thanks to @xkxx for contributing this!
19171917

@@ -3242,8 +3242,8 @@ It was always required, but is now correctly listed in the `package.json`.
32423242

32433243
### Highlights
32443244

3245-
* Support for [Drag and Drop](https://material.angular.io/cdk/drag-drop/overview) in `@angular/cdk/drag-drop`.
3246-
* Support for [Virtual Scrolling](https://material.angular.io/cdk/scrolling/overview) in `@angular/cdk/scrolling`.
3245+
* Support for [Drag and Drop](https://material.angular.dev/cdk/drag-drop/overview) in `@angular/cdk/drag-drop`.
3246+
* Support for [Virtual Scrolling](https://material.angular.dev/cdk/scrolling/overview) in `@angular/cdk/scrolling`.
32473247
* Support for native `<select>` element in `<mat-form-field>` .
32483248
* Added `<mat-action-list>`, a list where each item is a `<button>`.
32493249
* Updated component styles throughout the library matching the 2018 Material Design Spec refresh.
@@ -4334,18 +4334,18 @@ You can view a beta version of the docs at https://beta-angular-material-io.fire
43344334

43354335
### Highlights
43364336

4337-
* [`MatTree`](https://material.angular.io/components/tree/overview) component is now available, [@tinayuangao](https://github.com/tinayuangao) recently gave a [talk at ng-conf about the new component](https://www.youtube.com/watch?v=s0Vy3sLbeyA)
4338-
* `<mat-table>` and `<cdk-table>` now native [`<table>` elements](https://material.angular.io/components/table/overview#applying-material-styles-to-native-table) in addition to the existing [`display: flex` based layout](https://material.angular.io/components/table/overview#tables-with-code-display-flex-code-)
4339-
* `MatTable` now supports having an optional [footer row](https://material.angular.io/components/table/overview#footer_row)
4340-
* [Schematics](https://material.angular.io/guides/schematics) are now available for Angular Material, [@jelbourn](https://github.com/jelbourn) recently gave a [talk at ng-conf about using schematics](https://www.youtube.com/watch?v=v__RuD9RX3I)
4341-
* `MatTabs` content can now be [lazy loaded](https://material.angular.io/components/tabs/overview#lazy_loading)
4342-
* [`MatBadge`](https://material.angular.io/components/badge/overview) and [`MatBottomSheet`](https://material.angular.io/components/bottom-sheet/overview) components are now available
4343-
* `@angular/cdk/overlay` has a new positioning strategy available, [`FlexibleConnectedPositionStrategy`](https://material.angular.io/cdk/overlay/overview#position-strategies), which intelligently handles sizing and positioning to ensure that overlay contents always remain on the screen
4337+
* [`MatTree`](https://material.angular.dev/components/tree/overview) component is now available, [@tinayuangao](https://github.com/tinayuangao) recently gave a [talk at ng-conf about the new component](https://www.youtube.com/watch?v=s0Vy3sLbeyA)
4338+
* `<mat-table>` and `<cdk-table>` now native [`<table>` elements](https://material.angular.dev/components/table/overview#applying-material-styles-to-native-table) in addition to the existing [`display: flex` based layout](https://material.angular.dev/components/table/overview#tables-with-code-display-flex-code-)
4339+
* `MatTable` now supports having an optional [footer row](https://material.angular.dev/components/table/overview#footer_row)
4340+
* [Schematics](https://material.angular.dev/guides/schematics) are now available for Angular Material, [@jelbourn](https://github.com/jelbourn) recently gave a [talk at ng-conf about using schematics](https://www.youtube.com/watch?v=v__RuD9RX3I)
4341+
* `MatTabs` content can now be [lazy loaded](https://material.angular.dev/components/tabs/overview#lazy_loading)
4342+
* [`MatBadge`](https://material.angular.dev/components/badge/overview) and [`MatBottomSheet`](https://material.angular.dev/components/bottom-sheet/overview) components are now available
4343+
* `@angular/cdk/overlay` has a new positioning strategy available, [`FlexibleConnectedPositionStrategy`](https://material.angular.dev/cdk/overlay/overview#position-strategies), which intelligently handles sizing and positioning to ensure that overlay contents always remain on the screen
43444344
* `MatIcon` now allows SVG icons to be registered from strings
43454345
* `@angular/cdk/keycodes` now includes most keycodes you might need for building a web application
43464346
* 130+ bug fixes
4347-
* Docs for v5 are now available at [v5.material.angular.io](https://v5.material.angular.io)
4348-
* A version picker is available [material.angular.io](https://material.angular.io) to switch between docs versions
4347+
* Docs for v5 are now available at [v5.material.angular.dev](https://v5.material.angular.dev)
4348+
* A version picker is available [material.angular.dev](https://material.angular.dev) to switch between docs versions
43494349

43504350

43514351
### Upgrading to Angular Material 6.0
@@ -5526,7 +5526,7 @@ rather than being based on the existing config object.
55265526
* **tabs:** fix accidentally setting `top` instead of `width` after removing Renderer use ([#8602](https://github.com/angular/material2/issues/8602)) ([6e865b7](https://github.com/angular/material2/commit/6e865b7))
55275527

55285528
### Features
5529-
* The examples on [material.angular.io](https://material.angular.io) are now opened externally via
5529+
* The examples on [material.angular.dev](https://material.angular.dev) are now opened externally via
55305530
StackBlitz instead of Plunker.
55315531

55325532
<!-- CHANGELOG SPLIT MARKER -->
@@ -5572,7 +5572,7 @@ StackBlitz instead of Plunker.
55725572
* consistently coerce boolean and number properties ([#7283](https://github.com/angular/material2/issues/7283)) ([3ca801a](https://github.com/angular/material2/commit/3ca801a))
55735573
* replace extendObject utility w/ object spread ([#7372](https://github.com/angular/material2/issues/7372)) ([ea54edb](https://github.com/angular/material2/commit/ea54edb))
55745574
* using correct global name in rollup bundle ([#8407](https://github.com/angular/material2/issues/8407)) ([40be1f2](https://github.com/angular/material2/commit/40be1f2))
5575-
* TypeScript interfaces are now documented on https://material.angular.io
5575+
* TypeScript interfaces are now documented on https://material.angular.dev
55765576

55775577
### Features
55785578

@@ -6350,7 +6350,7 @@ initial release, code from Angular Material's `core/` have been moved for `a11y/
63506350
re-exports these symbols, marked as deprecated. The re-exports will be removed in a subsequent
63516351
release.
63526352
* Initial version of data-table component. There is both a `<cdk-table>` (the core) and the
6353-
`<md-table>` (with Material Design styles). See the documentation on material.angular.io for more
6353+
`<md-table>` (with Material Design styles). See the documentation on material.angular.dev for more
63546354
information.
63556355
* Initial version of `<md-paginator>` and `<md-sort-header>` components, which can be used either
63566356
with `<md-table>` or any other table.

CODING_STANDARDS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ three lines, introduce a new method to contain the logic.
162162
#### JsDoc comments
163163

164164
All public APIs must have user-facing comments. These are extracted and shown in the documentation
165-
on [material.angular.io](https://material.angular.io).
165+
on [material.angular.dev](https://material.angular.dev).
166166

167167
Private and internal APIs should have JsDoc when they are not obvious. Ultimately it is the purview
168168
of the code reviewer as to what is "obvious", but the rule of thumb is that *most* classes,

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ We aim for great user experience with the following screen readers:
6868
[Material Design]: https://material.io
6969
[Google Maps JavaScript API]: https://developers.google.com/maps/documentation/javascript/tutorial
7070
[YouTube Player API]: https://developers.google.com/youtube/iframe_api_reference
71-
[cdk-docs]: https://material.angular.io/cdk/categories
72-
[mat-docs]: https://material.angular.io
71+
[cdk-docs]: https://material.angular.dev/cdk/categories
72+
[mat-docs]: https://material.angular.dev
7373
[map-docs]: https://github.com/angular/components/blob/main/src/google-maps/README.md
7474
[ytp-docs]: https://github.com/angular/components/blob/main/src/youtube-player/README.md
75-
[getting-started]: https://material.angular.io/guide/getting-started
75+
[getting-started]: https://material.angular.dev/guide/getting-started
7676
[contributing]: https://github.com/angular/components/blob/main/CONTRIBUTING.md
7777
[help-wanted]: https://github.com/angular/components/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22
7878
[good-first-issue]: https://github.com/angular/components/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+label%3A%22good+first+issue%22

WORKSPACE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ npm_translate_lock(
8888
},
8989
data = [
9090
"//:package.json",
91-
"//:patches/@angular-devkit__architect-cli.patch",
9291
"//:pnpm-workspace.yaml",
9392
"//integration:package.json",
9493
"//src/cdk:package.json",
@@ -204,7 +203,7 @@ setup_dependencies_2()
204203

205204
git_repository(
206205
name = "rules_angular",
207-
commit = "0a54fca16350cab2b823908f1725aec175fcfeb2",
206+
commit = "84a8039330a4accc86f0b53c4ef5ff745c3e1bbe",
208207
remote = "https://github.com/devversion/rules_angular.git",
209208
)
210209

0 commit comments

Comments
 (0)