Skip to content

Commit 1144b39

Browse files
committed
main - 3daa360 feat(material/core): introduce custom token for controlling animations (#30749)
1 parent 4f31b4e commit 1144b39

File tree

2 files changed

+56
-8
lines changed

2 files changed

+56
-8
lines changed

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4578,6 +4578,40 @@ <h3 id="material-core-interfaces" class="docs-header-link docs-api-h3">
45784578

45794579

45804580

4581+
<h4 id="AnimationsConfig" class="docs-header-link docs-api-h4 docs-api-interface-name">
4582+
<span header-link="AnimationsConfig"></span>
4583+
<code>AnimationsConfig</code>
4584+
</h4><p class="docs-api-interface-description"><p>Object used to configure the animation in Angular Material.</p>
4585+
</p><h5 class="docs-api-h5 docs-api-method-header">Properties</h5>
4586+
<table class="docs-api-properties-table">
4587+
<tr class="docs-api-properties-header-row">
4588+
<th class="docs-api-properties-th">Name</th>
4589+
<th class="docs-api-properties-th">Description</th>
4590+
</tr>
4591+
4592+
4593+
4594+
<tr class="docs-api-properties-row">
4595+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
4596+
<code>animationsDisabled: boolean</code>
4597+
</p>
4598+
</td>
4599+
<td class="docs-api-property-description"><p>Whether all animations should be disabled.</p>
4600+
</td>
4601+
</tr>
4602+
4603+
4604+
4605+
</table>
4606+
4607+
4608+
4609+
4610+
4611+
4612+
4613+
4614+
45814615
<h4 id="GranularSanityChecks" class="docs-header-link docs-api-h4 docs-api-interface-name">
45824616
<span header-link="GranularSanityChecks"></span>
45834617
<code>GranularSanityChecks</code>
@@ -4768,6 +4802,20 @@ <h4 id="VERSION" class="docs-header-link docs-api-h4 docs-api-constant-name">
47684802

47694803

47704804

4805+
<h4 id="MATERIAL_ANIMATIONS" class="docs-header-link docs-api-h4 docs-api-constant-name">
4806+
<span header-link="MATERIAL_ANIMATIONS"></span>
4807+
<code>MATERIAL_ANIMATIONS</code>
4808+
</h4><p class="docs-api-constant-description"><p>Injection token used to configure the animations in Angular Material.</p>
4809+
</p><div class="docs-markdown">
4810+
<pre class="docs-markdown-pre">
4811+
<code class="docs-markdown-code"><span class="hljs-keyword">const</span> MATERIAL_ANIMATIONS: InjectionToken&lt;AnimationsConfig&gt;;</code>
4812+
</pre>
4813+
</div>
4814+
4815+
4816+
4817+
4818+
47714819
<h4 id="MATERIAL_SANITY_CHECKS" class="docs-header-link docs-api-h4 docs-api-constant-name">
47724820
<span header-link="MATERIAL_SANITY_CHECKS"></span>
47734821
<code>MATERIAL_SANITY_CHECKS</code>

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.0.0-next.4+sha-66fe9f5",
3+
"version": "20.0.0-next.4+sha-3daa360",
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.0.0-next.4+sha-66fe9f5",
263-
"@angular/cdk-experimental": "20.0.0-next.4+sha-66fe9f5",
262+
"@angular/cdk": "20.0.0-next.4+sha-3daa360",
263+
"@angular/cdk-experimental": "20.0.0-next.4+sha-3daa360",
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.0.0-next.4+sha-66fe9f5",
267-
"@angular/material-experimental": "20.0.0-next.4+sha-66fe9f5",
268-
"@angular/material-moment-adapter": "20.0.0-next.4+sha-66fe9f5",
269-
"@angular/material-luxon-adapter": "20.0.0-next.4+sha-66fe9f5",
270-
"@angular/material-date-fns-adapter": "20.0.0-next.4+sha-66fe9f5"
266+
"@angular/material": "20.0.0-next.4+sha-3daa360",
267+
"@angular/material-experimental": "20.0.0-next.4+sha-3daa360",
268+
"@angular/material-moment-adapter": "20.0.0-next.4+sha-3daa360",
269+
"@angular/material-luxon-adapter": "20.0.0-next.4+sha-3daa360",
270+
"@angular/material-date-fns-adapter": "20.0.0-next.4+sha-3daa360"
271271
},
272272
"dependencies": {
273273
"tslib": "^2.3.0"

0 commit comments

Comments
 (0)