@angular/material 13.2.0 → 14.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/ripple/_ripple.scss +4 -1
- package/esm2020/core/ripple/ripple-renderer.mjs +4 -2
- package/esm2020/core/version.mjs +1 -1
- package/fesm2015/core.mjs +4 -2
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2020/core.mjs +4 -2
- package/fesm2020/core.mjs.map +1 -1
- package/package.json +2 -2
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
package/fesm2020/core.mjs
CHANGED
|
@@ -22,7 +22,7 @@ import { ENTER, SPACE, hasModifierKey } from '@angular/cdk/keycodes';
|
|
|
22
22
|
* found in the LICENSE file at https://angular.io/license
|
|
23
23
|
*/
|
|
24
24
|
/** Current version of Angular Material. */
|
|
25
|
-
const VERSION = new Version('
|
|
25
|
+
const VERSION = new Version('14.0.0-next.0');
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* @license
|
|
@@ -938,7 +938,9 @@ class RippleRenderer {
|
|
|
938
938
|
// By default the browser does not recalculate the styles of dynamically created
|
|
939
939
|
// ripple elements. This is critical because then the `scale` would not animate properly.
|
|
940
940
|
enforceStyleRecalculation(ripple);
|
|
941
|
-
|
|
941
|
+
// We use a 3d transform here in order to avoid an issue in Safari where
|
|
942
|
+
// the ripples aren't clipped when inside the shadow DOM (see #24028).
|
|
943
|
+
ripple.style.transform = 'scale3d(1, 1, 1)';
|
|
942
944
|
// Exposed reference to the ripple that will be returned.
|
|
943
945
|
const rippleRef = new RippleRef(this, ripple, config);
|
|
944
946
|
rippleRef.state = 0 /* FADING_IN */;
|