Skip to content

Commit d29c328

Browse files
authored
Merge branch 'angular:master' into feature/select-accessibility2
2 parents ad5012e + 653457e commit d29c328

File tree

307 files changed

+3901
-4008
lines changed

Some content is hidden

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

307 files changed

+3901
-4008
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ var_13: &attach_release_output
8383
var_14: &publish_branches_filter
8484
branches:
8585
only:
86+
- main
87+
# TODO(BRANCH_RENAME_CLEANUP): remove
8688
- master
8789
# 6.0.x, 7.1.x, etc.
8890
- /\d+\.\d+\.x/
@@ -134,6 +136,8 @@ var_20: &slack_notify_on_failure
134136
var_21: &only_main_branch_filter
135137
branches:
136138
only:
139+
- main
140+
# TODO(BRANCH_RENAME_CLEANUP): remove
137141
- master
138142

139143
# -----------------------------
@@ -668,7 +672,9 @@ workflows:
668672
filters:
669673
branches:
670674
only:
671-
# We only want to run the "master" branch against the snapshot builds because
675+
# We only want to run the main branch against the snapshot builds because
672676
# it's not guaranteed that older versions of Angular Material always work
673677
# with the latest Angular version.
678+
- main
679+
# TODO(BRANCH_RENAME_CLEANUP): remove
674680
- master

.circleci/rebase-pr.js

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,22 +97,31 @@ async function _main() {
9797
/**
9898
* Sort a list of fullpath refs into a list and then provide the first entry.
9999
*
100-
* The sort order will first find master ref, and then any semver ref, followed
100+
* The sort order will first find main branch, and then any semver ref, followed
101101
* by the rest of the refs in the order provided.
102102
*
103-
* Branches are sorted in this order as work is primarily done on master, and
104-
* otherwise on a semver branch. If neither of those were to match, the most
103+
* Branches are sorted in this order as work is primarily done on main branches,
104+
* and otherwise on a semver branch. If neither of those were to match, the most
105105
* likely correct branch will be the first one encountered in the list.
106106
*/
107107
function getRefFromBranchList(gitOutput) {
108108
const branches = gitOutput.split('\n').map(b => b.split('/').slice(1).join('').trim());
109109
return branches.sort((a, b) => {
110+
if (a === 'main') {
111+
return -1;
112+
}
113+
if (b === 'main') {
114+
return 1;
115+
}
116+
117+
// TODO(BRANCH_RENAME_CLEANUP): remove
110118
if (a === 'master') {
111119
return -1;
112120
}
113121
if (b === 'master') {
114122
return 1;
115123
}
124+
116125
const aIsSemver = semverRegex.test(a);
117126
const bIsSemver = semverRegex.test(b);
118127
if (aIsSemver && bIsSemver) {

.github/CODEOWNERS

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/src/material/card/** @andrewseguin
99
/src/material/checkbox/** @andrewseguin @devversion
1010
/src/material/chips/** @andrewseguin
11-
/src/material/datepicker/** @mmalerba @crisbeto
11+
/src/material/datepicker/** @mmalerba @crisbeto @zarend
1212
/src/material/dialog/** @andrewseguin @crisbeto
1313
/src/material/divider/** @andrewseguin @crisbeto
1414
/src/material/expansion/** @andrewseguin
@@ -47,7 +47,7 @@
4747
/src/material/core/datetime/** @mmalerba
4848
/src/material/core/density/** @devversion
4949
/src/material/core/error/** @crisbeto @mmalerba
50-
/src/material/core/focus-indicators/** @jelbourn @zelliott
50+
/src/material/core/focus-indicators/** @jelbourn
5151
/src/material/core/gestures/** @andrewseguin
5252
/src/material/core/label/** @mmalerba
5353
/src/material/core/line/** @andrewseguin
@@ -62,20 +62,22 @@
6262
/src/material/core/util/** @andrewseguin
6363

6464
# Miscellaneous components
65-
/src/google-maps/** @crisbeto @mbehrlich
66-
/src/youtube-player/** @crisbeto @nathantate
65+
/src/google-maps/** @crisbeto
66+
/src/youtube-player/** @crisbeto
6767

6868
# CDK
6969
/src/cdk/* @andrewseguin
7070
/src/cdk/a11y/** @jelbourn @devversion
7171
/src/cdk/accordion/** @andrewseguin
7272
/src/cdk/bidi/** @andrewseguin
73-
/src/cdk/clipboard/** @andrewseguin @xkxx
73+
/src/cdk/clipboard/** @andrewseguin
7474
/src/cdk/coercion/** @andrewseguin
7575
/src/cdk/collections/** @crisbeto @andrewseguin
76+
/src/cdk/dialog/** @jelbourn @crisbeto
7677
/src/cdk/drag-drop/** @crisbeto
7778
/src/cdk/keycodes/** @andrewseguin
7879
/src/cdk/layout/** @andrewseguin
80+
/src/cdk/menu/** @mmalerba @crisbeto
7981
/src/cdk/observers/** @andrewseguin @crisbeto
8082
/src/cdk/overlay/** @jelbourn @crisbeto
8183
/src/cdk/platform/** @andrewseguin @devversion
@@ -95,7 +97,7 @@
9597

9698
# Material experimental package
9799
/src/material-experimental/* @andrewseguin
98-
/src/material-experimental/column-resize/** @kseamon @andrewseguin
100+
/src/material-experimental/column-resize/** @andrewseguin
99101
/src/material-experimental/mdc-autocomplete/** @crisbeto
100102
/src/material-experimental/mdc-button/** @andrewseguin
101103
/src/material-experimental/mdc-card/** @mmalerba
@@ -124,20 +126,18 @@
124126
/src/material-experimental/mdc-theming/** @mmalerba
125127
/src/material-experimental/mdc-typography/** @mmalerba
126128
/src/material-experimental/menubar/** @jelbourn
127-
/src/material-experimental/popover-edit/** @kseamon @andrewseguin
128-
/src/material-experimental/selection/** @yifange @andrewseguin
129+
/src/material-experimental/popover-edit/** @andrewseguin
130+
/src/material-experimental/selection/** @andrewseguin
129131

130132
# CDK experimental package
131133
/src/cdk-experimental/* @andrewseguin
132-
/src/cdk-experimental/column-resize/** @kseamon @andrewseguin
134+
/src/cdk-experimental/column-resize/** @andrewseguin
133135
/src/cdk-experimental/combobox/** @jelbourn
134-
/src/cdk-experimental/dialog/** @jelbourn @crisbeto
135-
/src/cdk-experimental/menu/** @jelbourn
136-
/src/cdk-experimental/popover-edit/** @kseamon @andrewseguin
136+
/src/cdk-experimental/popover-edit/** @andrewseguin
137137
/src/cdk-experimental/scrolling/** @mmalerba
138-
/src/cdk-experimental/table-scroll-container/** @kseamon @andrewseguin
138+
/src/cdk-experimental/table-scroll-container/** @andrewseguin
139139
/src/cdk-experimental/listbox/** @jelbourn
140-
/src/cdk-experimental/selection/** @yifange @andrewseguin
140+
/src/cdk-experimental/selection/** @andrewseguin
141141

142142
# Docs examples & guides
143143
/guides/** @jelbourn
@@ -153,16 +153,16 @@
153153
/src/dev-app/mdc-autocomplete/** @crisbeto
154154
/src/dev-app/button/** @andrewseguin
155155
/src/dev-app/card/** @andrewseguin
156+
/src/dev-app/cdk-dialog/** @crisbeto
156157
/src/dev-app/cdk-experimental-combobox/** @jelbourn
157158
/src/dev-app/cdk-experimental-listbox/** @jelbourn
158-
/src/dev-app/cdk-experimental-menu/** @jelbourn
159159
/src/dev-app/checkbox/** @jelbourn @devversion
160160
/src/dev-app/chips/** @andrewseguin
161-
/src/dev-app/clipboard/** @andrewseguin @xkxx
162-
/src/dev-app/column-resize/** @kseamon @andrewseguin
161+
/src/dev-app/clipboard/** @andrewseguin
162+
/src/dev-app/column-resize/** @andrewseguin
163163
/src/dev-app/connected-overlay/** @jelbourn @crisbeto
164164
/src/dev-app/dataset/** @andrewseguin
165-
/src/dev-app/datepicker/** @mmalerba @crisbeto
165+
/src/dev-app/datepicker/** @mmalerba @crisbeto @zarend
166166
/src/dev-app/dev-app/** @mmalerba
167167
/src/dev-app/dialog/** @andrewseguin @crisbeto
168168
/src/dev-app/drag-drop/** @crisbeto
@@ -172,12 +172,13 @@
172172
/src/dev-app/expansion/** @andrewseguin
173173
/src/dev-app/focus-origin/** @mmalerba
174174
/src/dev-app/focus-trap/** @jelbourn
175-
/src/dev-app/google-map/** @mbehrlich
175+
/src/dev-app/google-map/** @crisbeto
176176
/src/dev-app/grid-list/** @andrewseguin
177177
/src/dev-app/icon/** @andrewseguin
178178
/src/dev-app/input/** @mmalerba
179179
/src/dev-app/layout/** @andrewseguin
180-
/src/dev-app/input-modality/** @jelbourn @zelliott
180+
/src/dev-app/cdk-menu/** @mmalerba @crisbeto
181+
/src/dev-app/input-modality/** @jelbourn
181182
/src/dev-app/list/** @andrewseguin @crisbeto @devversion
182183
/src/dev-app/live-announcer/** @jelbourn
183184
/src/dev-app/mdc-button/** @andrewseguin
@@ -191,7 +192,7 @@
191192
/src/dev-app/mdc-menu/** @crisbeto
192193
/src/dev-app/mdc-paginator/** @crisbeto
193194
/src/dev-app/mdc-progress-bar/** @crisbeto
194-
/src/dev-app/mdc-progress-spinner/** @annieyw @mmalerba
195+
/src/dev-app/mdc-progress-spinner/** @mmalerba
195196
/src/dev-app/mdc-radio/** @mmalerba
196197
/src/dev-app/mdc-select/** @crisbeto
197198
/src/dev-app/mdc-snack-bar/** @andrewseguin
@@ -207,7 +208,7 @@
207208
/src/dev-app/paginator/** @andrewseguin
208209
/src/dev-app/platform/** @andrewseguin @devversion
209210
/src/dev-app/portal/** @andrewseguin
210-
/src/dev-app/popover-edit/** @kseamon @andrewseguin
211+
/src/dev-app/popover-edit/** @andrewseguin
211212
/src/dev-app/progress-bar/** @andrewseguin @crisbeto
212213
/src/dev-app/progress-spinner/** @andrewseguin @crisbeto
213214
/src/dev-app/radio/** @andrewseguin @devversion
@@ -220,15 +221,15 @@
220221
/src/dev-app/snack-bar/** @andrewseguin @crisbeto
221222
/src/dev-app/stepper/** @mmalerba
222223
/src/dev-app/table/** @andrewseguin
223-
/src/dev-app/table-scroll-container/** @kseamon @andrewseguin
224+
/src/dev-app/table-scroll-container/** @andrewseguin
224225
/src/dev-app/tabs/** @andrewseguin
225226
/src/dev-app/toolbar/** @devversion
226227
/src/dev-app/tooltip/** @andrewseguin
227228
/src/dev-app/tree/** @andrewseguin
228229
/src/dev-app/typography/** @crisbeto
229230
/src/dev-app/virtual-scroll/** @mmalerba
230-
/src/dev-app/youtube-player/** @nathantate
231-
/src/dev-app/selection/** @yifange @andrewseguin
231+
/src/dev-app/youtube-player/** @crisbeto
232+
/src/dev-app/selection/** @andrewseguin
232233

233234
# E2E app
234235
/src/e2e-app/* @andrewseguin
@@ -255,7 +256,7 @@
255256
/src/e2e-app/mdc-input/** @devversion
256257
/src/e2e-app/mdc-menu/** @crisbeto
257258
/src/e2e-app/mdc-progress-bar/** @crisbeto
258-
/src/e2e-app/mdc-progress-spinner/** @annieyw @mmalerba
259+
/src/e2e-app/mdc-progress-spinner/** @mmalerba
259260
/src/e2e-app/mdc-radio/** @mmalerba
260261
/src/e2e-app/mdc-slider/** @andrewseguin
261262
/src/e2e-app/mdc-slide-toggle/** @crisbeto
@@ -292,7 +293,7 @@
292293
/tools/public_api_guard/cdk/accordion** @andrewseguin
293294
/tools/public_api_guard/cdk/bidi** @andrewseguin
294295
/tools/public_api_guard/cdk/cdk** @andrewseguin
295-
/tools/public_api_guard/cdk/clipboard** @andrewseguin @xkxx
296+
/tools/public_api_guard/cdk/clipboard** @andrewseguin
296297
/tools/public_api_guard/cdk/coercion** @andrewseguin
297298
/tools/public_api_guard/cdk/collections** @crisbeto @andrewseguin
298299
/tools/public_api_guard/cdk/drag-drop** @crisbeto
@@ -318,7 +319,7 @@
318319
/tools/public_api_guard/material/chips** @andrewseguin
319320
/tools/public_api_guard/material/chips/testing** @andrewseguin
320321
/tools/public_api_guard/material/core** @andrewseguin
321-
/tools/public_api_guard/material/datepicker** @mmalerba @crisbeto
322+
/tools/public_api_guard/material/datepicker** @mmalerba @crisbeto @zarend
322323
/tools/public_api_guard/material/dialog** @andrewseguin @crisbeto
323324
/tools/public_api_guard/material/divider** @andrewseguin @crisbeto
324325
/tools/public_api_guard/material/expansion** @andrewseguin
@@ -345,8 +346,8 @@
345346
/tools/public_api_guard/material/tooltip** @andrewseguin
346347
/tools/public_api_guard/material/tree** @jelbourn @andrewseguin
347348
/tools/public_api_guard/material/material** @andrewseguin
348-
/tools/public_api_guard/google-maps/** @crisbeto @mbehrlich
349-
/tools/public_api_guard/youtube-player/** @andrewseguin @nathantate
349+
/tools/public_api_guard/google-maps/** @crisbeto
350+
/tools/public_api_guard/youtube-player/** @andrewseguin
350351

351352
# Misc
352353
/.github/** @angular/dev-infra-components

.github/workflows/dev-infra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # renovate: tag=v2.0.0
12-
- uses: angular/dev-infra/github-actions/commit-message-based-labels@44e81e16f235c8bdc846c854128a60987bd2ee38
12+
- uses: angular/dev-infra/github-actions/commit-message-based-labels@c9d0bf5e5facaf816f0af90547728fb8752ef97e
1313
with:
1414
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.github/workflows/feature-requests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
if: github.repository == 'angular/components'
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: angular/dev-infra/github-actions/feature-request@44e81e16f235c8bdc846c854128a60987bd2ee38
13+
- uses: angular/dev-infra/github-actions/feature-request@c9d0bf5e5facaf816f0af90547728fb8752ef97e
1414
with:
1515
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.github/workflows/lock-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ jobs:
99
lock_closed:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: angular/dev-infra/github-actions/lock-closed@44e81e16f235c8bdc846c854128a60987bd2ee38
12+
- uses: angular/dev-infra/github-actions/lock-closed@c9d0bf5e5facaf816f0af90547728fb8752ef97e
1313
with:
1414
lock-bot-key: ${{ secrets.LOCK_BOT_PRIVATE_KEY }}

.github/workflows/scorecard.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ on:
44
schedule:
55
- cron: '0 3 * * 0'
66
push:
7-
branches: [master]
7+
branches: [
8+
main,
9+
# TODO(BRANCH_RENAME_CLEANUP): remove
10+
master,
11+
]
812
workflow_dispatch:
913

1014
# Declare default permissions as read only.

.ng-dev/commit-message.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ export const commitMessage: CommitMessageConfig = {
1111
'multiple', // For when a commit applies to multiple components.
1212
'cdk-experimental/column-resize',
1313
'cdk-experimental/combobox',
14-
'cdk-experimental/dialog',
1514
'cdk-experimental/listbox',
16-
'cdk-experimental/menu',
1715
'cdk-experimental/popover-edit',
1816
'cdk-experimental/scrolling',
1917
'cdk-experimental/selection',
@@ -24,9 +22,11 @@ export const commitMessage: CommitMessageConfig = {
2422
'cdk/clipboard',
2523
'cdk/coercion',
2624
'cdk/collections',
25+
'cdk/dialog',
2726
'cdk/drag-drop',
2827
'cdk/keycodes',
2928
'cdk/layout',
29+
'cdk/menu',
3030
'cdk/observers',
3131
'cdk/overlay',
3232
'cdk/platform',

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
<a name="14.0.0-next.11"></a>
2+
# 14.0.0-next.11 "madras-macaque" (2022-04-20)
3+
### cdk
4+
| Commit | Type | Description |
5+
| -- | -- | -- |
6+
| [c04f941fe](https://github.com/angular/components/commit/c04f941fe0cbe18022c97f1481254f3510db5ded) | fix | **portal:** prevent calling `ApplicationRef.detachView` on destroyed instance ([#24775](https://github.com/angular/components/pull/24775)) |
7+
### material
8+
| Commit | Type | Description |
9+
| -- | -- | -- |
10+
| [a55a8368b](https://github.com/angular/components/commit/a55a8368b30cf8e9ba787ad3530a8c9b66182d7b) | feat | **paginator:** Add `isNextPageEnabled` and `isPreviousPageEnabled` methods to `MatPaginatorHarness` ([#24784](https://github.com/angular/components/pull/24784)) |
11+
| [1aa5a2064](https://github.com/angular/components/commit/1aa5a206472f523a1ae189acc77a5abe15d71d5e) | feat | **select:** allow user-defined aria-describedby ([#24644](https://github.com/angular/components/pull/24644)) |
12+
## Special Thanks
13+
Andrew Kushnir, Kristiyan Kostadinov, Paul Gschwendtner, Richie Foreman, Robin (Robert) Thomas, Zach Arend and renovate[bot]
14+
15+
<!-- CHANGELOG SPLIT MARKER -->
16+
17+
<a name="13.3.4"></a>
18+
# 13.3.4 "adamantium-albatross" (2022-04-20)
19+
### cdk
20+
| Commit | Type | Description |
21+
| -- | -- | -- |
22+
| [eef47579f](https://github.com/angular/components/commit/eef47579fd5a1e2f1f9423a6ba5bc2a4955142cc) | fix | **portal:** prevent calling `ApplicationRef.detachView` on destroyed instance ([#24775](https://github.com/angular/components/pull/24775)) |
23+
## Special Thanks
24+
Andrew Kushnir, Kristiyan Kostadinov, Paul Gschwendtner and Zach Arend
25+
26+
<!-- CHANGELOG SPLIT MARKER -->
27+
128
<a name="14.0.0-next.10"></a>
229
# 14.0.0-next.10 "organza-oatmeal" (2022-04-13)
330
### cdk

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you would like to chat about the question in real-time, you can reach out via
3131

3232
## <a name="issue"></a> Found an Issue?
3333
If you find a bug in the source code or a mistake in the documentation, you can help us by
34-
[submitting an issue](#submit-issue) to our [GitHub Repository][github]. Including an issue
34+
[submitting an issue](#submit-issue) to our [GitHub Repository][github]. Including an issue
3535
reproduction (via CodePen, JsBin, Plunkr, etc.) is the absolute best way to help the team quickly
3636
diagnose the problem. Screenshots are also helpful.
3737

@@ -40,7 +40,7 @@ You can help the team even more and [submit a Pull Request](#submit-pr) with a f
4040
## <a name="feature"></a> Want a Feature?
4141
You can *request* a new feature by [submitting an issue](#submit-issue) to our [GitHub
4242
Repository][github]. If you would like to *implement* a new feature, please submit an issue with
43-
a proposal for your work first, to be sure that we can use it.
43+
a proposal for your work first, to be sure that we can use it.
4444
Please consider what kind of change it is:
4545

4646
* For a **Major Feature**, first open an issue and outline your proposal so that it can be
@@ -194,7 +194,7 @@ Fixes a bug in the Angular Material `button` component where buttons
194194
cannot be disabled through an binding. This is because the `disabled`
195195
input did not set the `.mat-button-disabled` class on the host element.
196196
197-
Fixes #1234
197+
Fixes #1234
198198
```
199199

200200
### Revert
@@ -221,7 +221,7 @@ The commit message should specify which package is affected by the change. For e
221221
222222
### Scope
223223
The scope specifies place of the commit change. For example
224-
`material/datepicker`, `cdk-experimental/dialog`, etc.
224+
`material/datepicker`, `cdk/dialog`, etc.
225225
See full list [here][commit-message-scopes].
226226
227227
### Subject

0 commit comments

Comments
 (0)