@angular/cdk 20.0.0-next.1 → 20.0.0-next.3

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.
Files changed (45) hide show
  1. package/dialog/index.d.ts +8 -3
  2. package/drag-drop/index.d.ts +2 -1
  3. package/fesm2022/cdk.mjs +1 -1
  4. package/fesm2022/cdk.mjs.map +1 -1
  5. package/fesm2022/dialog.mjs +9 -3
  6. package/fesm2022/dialog.mjs.map +1 -1
  7. package/fesm2022/drag-drop.mjs +2 -1
  8. package/fesm2022/drag-drop.mjs.map +1 -1
  9. package/fesm2022/menu.mjs +3 -3
  10. package/fesm2022/{overlay-module-863b82c9.mjs → overlay-module-6fc4482b.mjs} +6 -4
  11. package/fesm2022/overlay-module-6fc4482b.mjs.map +1 -0
  12. package/fesm2022/overlay.mjs +5 -5
  13. package/fesm2022/{portal-directives-c88fea11.mjs → portal-directives-9accd41a.mjs} +2 -2
  14. package/fesm2022/{portal-directives-c88fea11.mjs.map → portal-directives-9accd41a.mjs.map} +1 -1
  15. package/fesm2022/portal.mjs +1 -1
  16. package/fesm2022/{scrolling-module-aa9eeac5.mjs → scrolling-module-57c5996b.mjs} +2 -2
  17. package/fesm2022/{scrolling-module-aa9eeac5.mjs.map → scrolling-module-57c5996b.mjs.map} +1 -1
  18. package/fesm2022/scrolling.mjs +2 -2
  19. package/fesm2022/table.mjs +1 -1
  20. package/fesm2022/testing/selenium-webdriver.mjs +1 -1
  21. package/fesm2022/testing/testbed.mjs +1 -1
  22. package/fesm2022/testing.mjs +1 -1
  23. package/fesm2022/text-field.mjs +4 -0
  24. package/fesm2022/text-field.mjs.map +1 -1
  25. package/fesm2022/{text-filtering-b60ba8a2.mjs → text-filtering-0c6de6d6.mjs} +1 -1
  26. package/fesm2022/text-filtering-0c6de6d6.mjs.map +1 -0
  27. package/fesm2022/tree.mjs +15 -2
  28. package/fesm2022/tree.mjs.map +1 -1
  29. package/menu/index.d.ts +3 -3
  30. package/overlay/index.d.ts +6 -6
  31. package/{overlay-module.d-5d06db8a.d.ts → overlay-module.d-46197115.d.ts} +4 -2
  32. package/package.json +1 -1
  33. package/portal/index.d.ts +2 -2
  34. package/{portal-directives.d-d345bd53.d.ts → portal-directives.d-fefec9d6.d.ts} +1 -1
  35. package/schematics/ng-add/index.js +1 -1
  36. package/schematics/ng-add/index.mjs +1 -1
  37. package/schematics/ng-update/html-parsing/angular.js +2 -2
  38. package/schematics/ng-update/html-parsing/angular.mjs +2 -2
  39. package/scrolling/index.d.ts +2 -2
  40. package/{scrolling-module.d-a08a462d.d.ts → scrolling-module.d-e4f8e471.d.ts} +1 -1
  41. package/table/index.d.ts +1 -1
  42. package/text-field/index.d.ts +2 -0
  43. package/tree/index.d.ts +2 -0
  44. package/fesm2022/overlay-module-863b82c9.mjs.map +0 -1
  45. package/fesm2022/text-filtering-b60ba8a2.mjs.map +0 -1
package/fesm2022/menu.mjs CHANGED
@@ -4,8 +4,8 @@ import { startWith, debounceTime, distinctUntilChanged, takeUntil, mergeMap, map
4
4
  import { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-1d6f91d8.mjs';
5
5
  import { Subject, merge, partition } from 'rxjs';
6
6
  import { _ as _IdGenerator } from './id-generator-fba495fb.mjs';
7
- import { a as Overlay, c as OverlayConfig, S as STANDARD_DROPDOWN_BELOW_POSITIONS, e as STANDARD_DROPDOWN_ADJACENT_POSITIONS, d as OverlayModule } from './overlay-module-863b82c9.mjs';
8
- import { T as TemplatePortal } from './portal-directives-c88fea11.mjs';
7
+ import { a as Overlay, c as OverlayConfig, S as STANDARD_DROPDOWN_BELOW_POSITIONS, e as STANDARD_DROPDOWN_ADJACENT_POSITIONS, d as OverlayModule } from './overlay-module-6fc4482b.mjs';
8
+ import { T as TemplatePortal } from './portal-directives-9accd41a.mjs';
9
9
  import { h as ENTER, k as SPACE, U as UP_ARROW, D as DOWN_ARROW, L as LEFT_ARROW, R as RIGHT_ARROW, T as TAB, e as ESCAPE } from './keycodes-107cd3e4.mjs';
10
10
  import { I as InputModalityDetector, d as FocusMonitor } from './focus-monitor-cebaa0d1.mjs';
11
11
  import { D as Directionality } from './directionality-7ea26429.mjs';
@@ -19,7 +19,7 @@ import './test-environment-34eef1ee.mjs';
19
19
  import './style-loader-e14dc585.mjs';
20
20
  import './css-pixel-value-286c9a60.mjs';
21
21
  import './array-ee3b4bab.mjs';
22
- import './scrolling-module-aa9eeac5.mjs';
22
+ import './scrolling-module-57c5996b.mjs';
23
23
  import './element-705567fe.mjs';
24
24
  import './scrolling-61955dd1.mjs';
25
25
  import './recycle-view-repeater-strategy-c1712813.mjs';
@@ -10,9 +10,9 @@ import { Subject, Subscription, merge } from 'rxjs';
10
10
  import { filter, takeUntil, takeWhile } from 'rxjs/operators';
11
11
  import { c as coerceCssPixelValue } from './css-pixel-value-286c9a60.mjs';
12
12
  import { c as coerceArray } from './array-ee3b4bab.mjs';
13
- import { S as ScrollDispatcher, V as ViewportRuler, a as ScrollingModule } from './scrolling-module-aa9eeac5.mjs';
13
+ import { S as ScrollDispatcher, V as ViewportRuler, a as ScrollingModule } from './scrolling-module-57c5996b.mjs';
14
14
  import { s as supportsScrollBehavior } from './scrolling-61955dd1.mjs';
15
- import { D as DomPortalOutlet, T as TemplatePortal, P as PortalModule } from './portal-directives-c88fea11.mjs';
15
+ import { D as DomPortalOutlet, T as TemplatePortal, P as PortalModule } from './portal-directives-9accd41a.mjs';
16
16
  import { D as Directionality } from './directionality-7ea26429.mjs';
17
17
  import { _ as _IdGenerator } from './id-generator-fba495fb.mjs';
18
18
  import { e as ESCAPE } from './keycodes-107cd3e4.mjs';
@@ -316,6 +316,8 @@ class OverlayConfig {
316
316
  hasBackdrop = false;
317
317
  /** Custom class to add to the backdrop */
318
318
  backdropClass = 'cdk-overlay-dark-backdrop';
319
+ /** Whether to disable any built-in animations. */
320
+ disableAnimations;
319
321
  /** The width of the overlay panel. If a number is provided, pixel units are assumed. */
320
322
  width;
321
323
  /** The height of the overlay panel. If a number is provided, pixel units are assumed. */
@@ -2519,7 +2521,7 @@ class Overlay {
2519
2521
  const portalOutlet = this._createPortalOutlet(pane);
2520
2522
  const overlayConfig = new OverlayConfig(config);
2521
2523
  overlayConfig.direction = overlayConfig.direction || this._directionality.value;
2522
- return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, this._animationsModuleType === 'NoopAnimations', this._injector.get(EnvironmentInjector), this._renderer);
2524
+ return new OverlayRef(portalOutlet, host, pane, overlayConfig, this._ngZone, this._keyboardDispatcher, this._document, this._location, this._outsideClickDispatcher, config?.disableAnimations ?? this._animationsModuleType === 'NoopAnimations', this._injector.get(EnvironmentInjector), this._renderer);
2523
2525
  }
2524
2526
  /**
2525
2527
  * Gets a position builder that can be used, via fluent API,
@@ -3026,4 +3028,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.1",
3026
3028
  }] });
3027
3029
 
3028
3030
  export { BlockScrollStrategy as B, CdkOverlayOrigin as C, FlexibleConnectedPositionStrategy as F, GlobalPositionStrategy as G, NoopScrollStrategy as N, OverlayRef as O, RepositionScrollStrategy as R, STANDARD_DROPDOWN_BELOW_POSITIONS as S, Overlay as a, OverlayContainer as b, OverlayConfig as c, OverlayModule as d, STANDARD_DROPDOWN_ADJACENT_POSITIONS as e, CdkConnectedOverlay as f, OverlayPositionBuilder as g, ConnectionPositionPair as h, ScrollingVisibility as i, ConnectedOverlayPositionChange as j, validateHorizontalPosition as k, ScrollStrategyOptions as l, CloseScrollStrategy as m, OverlayOutsideClickDispatcher as n, OverlayKeyboardDispatcher as o, validateVerticalPosition as v };
3029
- //# sourceMappingURL=overlay-module-863b82c9.mjs.map
3031
+ //# sourceMappingURL=overlay-module-6fc4482b.mjs.map