Skip to content

Commit 4cc6a85

Browse files
committed
main - 4230292 fix(cdk/menu): close sibling triggers when opening a menu (#30894)
1 parent 0a6283c commit 4cc6a85

File tree

2 files changed

+32
-15
lines changed

2 files changed

+32
-15
lines changed

docs-content/api-docs/cdk-menu.html

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ <h3 id="cdk-menu-services" class="docs-header-link docs-api-h3">
3434

3535

3636

37-
<h4 id="ContextMenuTracker" class="docs-header-link docs-api-h4 docs-api-class-name">
38-
<span header-link="ContextMenuTracker"></span>
39-
<code>ContextMenuTracker</code>
37+
<h4 id="MenuTracker" class="docs-header-link docs-api-h4 docs-api-class-name">
38+
<span header-link="MenuTracker"></span>
39+
<code>MenuTracker</code>
4040

41-
</h4><p class="docs-api-class-description"><p>Tracks the last open context menu trigger across the entire application.</p>
41+
</h4><p class="docs-api-class-description"><p>Tracks the last open menu trigger across the entire application.</p>
4242
</p>
4343

4444

@@ -54,7 +54,7 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
5454
</tr>
5555
</thead><tr class="docs-api-method-description-row">
5656
<td colspan="2" class="docs-api-method-description-cell">
57-
<p>Close the previous open context menu and set the given one as being open.</p>
57+
<p>Close the previous open menu and set the given one as being open.</p>
5858

5959
</td>
6060
</tr><thead>
@@ -67,11 +67,11 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
6767
<td class="docs-api-method-parameter-cell">
6868
<p class="docs-api-method-parameter-name">
6969
trigger</p>
70-
<code class="docs-api-method-parameter-type">CdkContextMenuTrigger</code>
70+
<code class="docs-api-method-parameter-type">CdkMenuTriggerBase</code>
7171
</td>
7272
<td class="docs-api-method-parameter-description-cell">
7373
<p class="docs-api-method-parameter-description">
74-
<p>The trigger for the currently open Context Menu.</p>
74+
<p>The trigger for the currently open Menu.</p>
7575

7676
</p>
7777
</td>
@@ -3261,6 +3261,23 @@ <h5 class="docs-api-h5 docs-api-method-header">Methods</h5>
32613261

32623262

32633263

3264+
<table class="docs-api-method-table">
3265+
<thead>
3266+
<tr class="docs-api-method-name-row">
3267+
<th colspan="2" class="docs-api-method-name-cell">close
3268+
</th>
3269+
</tr>
3270+
</thead><tr class="docs-api-method-description-row">
3271+
<td colspan="2" class="docs-api-method-description-cell">
3272+
<p>Close the opened menu.</p>
3273+
3274+
</td>
3275+
</tr></table>
3276+
3277+
3278+
3279+
3280+
32643281
<table class="docs-api-method-table">
32653282
<thead>
32663283
<tr class="docs-api-method-name-row">

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/components-examples",
3-
"version": "20.1.0-next.1+sha-b80dd55",
3+
"version": "20.1.0-next.1+sha-4230292",
44
"description": "Angular Components Examples",
55
"private": true,
66
"repository": {
@@ -259,15 +259,15 @@
259259
},
260260
"homepage": "https://github.com/angular/components#readme",
261261
"peerDependencies": {
262-
"@angular/cdk": "20.1.0-next.1+sha-b80dd55",
263-
"@angular/cdk-experimental": "20.1.0-next.1+sha-b80dd55",
262+
"@angular/cdk": "20.1.0-next.1+sha-4230292",
263+
"@angular/cdk-experimental": "20.1.0-next.1+sha-4230292",
264264
"@angular/core": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
265265
"@angular/common": "^20.0.0-0 || ^20.1.0-0 || ^20.2.0-0 || ^20.3.0-0 || ^21.0.0-0",
266-
"@angular/material": "20.1.0-next.1+sha-b80dd55",
267-
"@angular/material-experimental": "20.1.0-next.1+sha-b80dd55",
268-
"@angular/material-moment-adapter": "20.1.0-next.1+sha-b80dd55",
269-
"@angular/material-luxon-adapter": "20.1.0-next.1+sha-b80dd55",
270-
"@angular/material-date-fns-adapter": "20.1.0-next.1+sha-b80dd55"
266+
"@angular/material": "20.1.0-next.1+sha-4230292",
267+
"@angular/material-experimental": "20.1.0-next.1+sha-4230292",
268+
"@angular/material-moment-adapter": "20.1.0-next.1+sha-4230292",
269+
"@angular/material-luxon-adapter": "20.1.0-next.1+sha-4230292",
270+
"@angular/material-date-fns-adapter": "20.1.0-next.1+sha-4230292"
271271
},
272272
"devDependencies": {
273273
"@angular/cdk": "workspace:*",

0 commit comments

Comments
 (0)