@angular/cdk 19.1.0 → 19.1.2
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/a11y/index.d.ts +2 -4
- package/dialog/index.d.ts +5 -1
- package/fesm2022/a11y.mjs +43 -43
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +10 -10
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +16 -12
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +31 -31
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs +10 -10
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +10 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +49 -49
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +37 -37
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +7 -7
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +16 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +6 -6
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +35 -35
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +22 -22
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +77 -77
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +34 -26
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/platform/index.d.ts +8 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/text-field/index.d.ts +1 -1
package/package.json
CHANGED
package/platform/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ListenerOptions } from '@angular/core';
|
|
3
2
|
import { Renderer2 } from '@angular/core';
|
|
4
3
|
|
|
5
4
|
/**
|
|
@@ -8,7 +7,7 @@ import { Renderer2 } from '@angular/core';
|
|
|
8
7
|
* after 19.1 and during the v19 period we support any 19.x version.
|
|
9
8
|
* @docs-private
|
|
10
9
|
*/
|
|
11
|
-
export declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options:
|
|
10
|
+
export declare function _bindEventWithOptions(renderer: Renderer2, target: EventTarget, eventName: string, callback: (event: any) => boolean | void, options: _ListenerOptions): () => void;
|
|
12
11
|
|
|
13
12
|
/** Gets the target of an event while accounting for Shadow DOM. */
|
|
14
13
|
export declare function _getEventTarget<T extends EventTarget>(event: Event): T | null;
|
|
@@ -36,6 +35,13 @@ export declare function getSupportedInputTypes(): Set<string>;
|
|
|
36
35
|
/** Gets whether the code is currently running in a test environment. */
|
|
37
36
|
export declare function _isTestEnvironment(): boolean;
|
|
38
37
|
|
|
38
|
+
/** Options when binding events manually. */
|
|
39
|
+
export declare interface _ListenerOptions {
|
|
40
|
+
capture?: boolean;
|
|
41
|
+
once?: boolean;
|
|
42
|
+
passive?: boolean;
|
|
43
|
+
}
|
|
44
|
+
|
|
39
45
|
/**
|
|
40
46
|
* Normalizes an `AddEventListener` object to something that can be passed
|
|
41
47
|
* to `addEventListener` on any browser, no matter whether it supports the
|
|
@@ -29,7 +29,7 @@ function default_1() {
|
|
|
29
29
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
30
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
31
|
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.1.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.1.2`);
|
|
33
33
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
34
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
35
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
@@ -29,7 +29,7 @@ function default_1() {
|
|
|
29
29
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
30
30
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
31
31
|
// dependencies in new CLI projects.
|
|
32
|
-
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.1.
|
|
32
|
+
(0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.1.2`);
|
|
33
33
|
// Add a task to run the package manager. This is necessary because we updated the
|
|
34
34
|
// workspace "package.json" file and we want lock files to reflect the new version range.
|
|
35
35
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
package/text-field/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export declare class CdkTextareaAutosize implements AfterViewInit, DoCheck, OnDe
|
|
|
101
101
|
get placeholder(): string;
|
|
102
102
|
set placeholder(value: string);
|
|
103
103
|
/** Cached height of a textarea with a single row. */
|
|
104
|
-
private _cachedLineHeight
|
|
104
|
+
private _cachedLineHeight?;
|
|
105
105
|
/** Cached height of a textarea with only the placeholder. */
|
|
106
106
|
private _cachedPlaceholderHeight?;
|
|
107
107
|
/** Used to reference correct document/window */
|