Skip to content

Commit 1aa3548

Browse files
committed
main - 5b010dc build: update cross-repo angular dependencies (#32997)
1 parent 712645d commit 1aa3548

2 files changed

Lines changed: 24 additions & 13 deletions

File tree

docs-content/api-docs/material-tooltip.html

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -348,13 +348,24 @@ <h4 id="MatTooltipDefaultOptions" class="docs-header-link docs-api-h4 docs-api-i
348348

349349
<tr class="docs-api-properties-row">
350350
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
351-
<code>detectHoverCapability: <code class="docs-api-property-type">boolean</code></code>
351+
<code>detectHoverCapability: <code class="docs-api-property-type">boolean | (() =&gt; boolean)</code></code>
352352
</p>
353353
</td>
354-
<td class="docs-api-property-description"><p>Whether the tooltip should use a media query to detect if the device is able to hover.
355-
Note that this may affect tests that run in a headless browser which reports that it&#39;s
356-
unable to hover. In such cases you may need to include an additional timeout, because
357-
the tooltip will fall back to treating the device as a touch screen.</p>
354+
<td class="docs-api-property-description"><p>By default the tooltip attempts to detect whether the user&#39;s device is able to hover by
355+
consulting the <code>Platform</code> provider that was created a long time ago and is based on
356+
some data points that may not be entirely accurate anymore (e.g. user agent string and
357+
Android/iOS-specific APIs), however changing them will break existing users. You can use this
358+
config property to opt into a more modern detection mechanism.</p>
359+
<p>The supported values include:</p>
360+
<ul>
361+
<li><code>false</code> - Default value. Detection is based on the <code>Platform</code> provider.</li>
362+
<li><code>true</code> - The tooltip will use the <code>any-hover</code> media query for more accurate detection.
363+
Note that this may break existing unit tests running in a headless browser.</li>
364+
<li><code>() =&gt; boolean</code> - If the automatic detection doesn&#39;t work properly in your case (e.g. the
365+
<code>any-hover</code> media query isn&#39;t supported) and you&#39;re able to detect more accurately, you can
366+
pass in a function that will be used for detection instead. It should return <code>true</code> if the
367+
device <strong>has the ability to hover</strong>, or <code>false</code> if it cannot.</li>
368+
</ul>
358369
</td>
359370
</tr>
360371

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": "22.0.0-next.2+sha-43320d4",
3+
"version": "22.0.0-next.2+sha-5b010dc",
44
"description": "Angular Components Examples",
55
"private": true,
66
"repository": {
@@ -255,15 +255,15 @@
255255
},
256256
"homepage": "https://github.com/angular/components#readme",
257257
"peerDependencies": {
258-
"@angular/aria": "22.0.0-next.2+sha-43320d4",
259-
"@angular/cdk": "22.0.0-next.2+sha-43320d4",
260-
"@angular/cdk-experimental": "22.0.0-next.2+sha-43320d4",
258+
"@angular/aria": "22.0.0-next.2+sha-5b010dc",
259+
"@angular/cdk": "22.0.0-next.2+sha-5b010dc",
260+
"@angular/cdk-experimental": "22.0.0-next.2+sha-5b010dc",
261261
"@angular/core": "^22.0.0-0 || ^22.1.0-0 || ^22.2.0-0 || ^22.3.0-0 || ^23.0.0-0",
262262
"@angular/common": "^22.0.0-0 || ^22.1.0-0 || ^22.2.0-0 || ^22.3.0-0 || ^23.0.0-0",
263-
"@angular/material": "22.0.0-next.2+sha-43320d4",
264-
"@angular/material-experimental": "22.0.0-next.2+sha-43320d4",
265-
"@angular/material-luxon-adapter": "22.0.0-next.2+sha-43320d4",
266-
"@angular/material-date-fns-adapter": "22.0.0-next.2+sha-43320d4"
263+
"@angular/material": "22.0.0-next.2+sha-5b010dc",
264+
"@angular/material-experimental": "22.0.0-next.2+sha-5b010dc",
265+
"@angular/material-luxon-adapter": "22.0.0-next.2+sha-5b010dc",
266+
"@angular/material-date-fns-adapter": "22.0.0-next.2+sha-5b010dc"
267267
},
268268
"devDependencies": {
269269
"@angular/aria": "workspace:*",

0 commit comments

Comments
 (0)