@angular/cdk 21.1.0-next.2 → 21.1.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.
- package/fesm2022/_a11y-module-chunk.mjs +7 -9
- package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs +2 -4
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +13 -13
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/bidi.mjs +1 -1
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +1 -1
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/dialog.mjs +2 -2
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +17 -17
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/listbox.mjs +1 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +6 -9
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/portal.mjs +4 -4
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +8 -5
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +3 -3
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs +7 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs +10 -13
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +1 -1
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +8 -12
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_harness-environment-chunk.d.ts +0 -2
- package/types/_overlay-module-chunk.d.ts +1 -1
- package/types/menu.d.ts +1 -3
- package/types/testing-testbed.d.ts +3 -0
package/package.json
CHANGED
|
@@ -26,6 +26,6 @@ function default_1() {
|
|
|
26
26
|
// In order to align the CDK version with other Angular dependencies that are setup by
|
|
27
27
|
// `@schematics/angular`, we use tilde instead of caret. This is default for Angular
|
|
28
28
|
// dependencies in new CLI projects.
|
|
29
|
-
return (0, utility_1.addDependency)('@angular/cdk', `~21.1.0-next.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~21.1.0-next.3`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -687,8 +687,6 @@ declare class HarnessPredicate<T extends ComponentHarness> {
|
|
|
687
687
|
getDescription(): string;
|
|
688
688
|
/** Gets the selector used to find candidate elements. */
|
|
689
689
|
getSelector(): string;
|
|
690
|
-
/** Adds base options common to all harness types. */
|
|
691
|
-
private _addBaseOptions;
|
|
692
690
|
}
|
|
693
691
|
|
|
694
692
|
/**
|
|
@@ -393,7 +393,7 @@ declare function validateHorizontalPosition(property: string, value: HorizontalC
|
|
|
393
393
|
/** Container inside which all overlays will render. */
|
|
394
394
|
declare class OverlayContainer implements OnDestroy {
|
|
395
395
|
protected _platform: Platform;
|
|
396
|
-
protected _containerElement: HTMLElement;
|
|
396
|
+
protected _containerElement: HTMLElement | undefined;
|
|
397
397
|
protected _document: Document;
|
|
398
398
|
protected _styleLoader: _CdkPrivateStyleLoader;
|
|
399
399
|
constructor(...args: unknown[]);
|
package/types/menu.d.ts
CHANGED
|
@@ -347,7 +347,7 @@ declare abstract class CdkMenuTriggerBase implements OnDestroy {
|
|
|
347
347
|
* Get the portal to be attached to the overlay which contains the menu. Allows for the menu
|
|
348
348
|
* content to change dynamically and be reflected in the application.
|
|
349
349
|
*/
|
|
350
|
-
protected getMenuContentPortal(): TemplatePortal<any
|
|
350
|
+
protected getMenuContentPortal(): TemplatePortal<any> | undefined;
|
|
351
351
|
/**
|
|
352
352
|
* Whether the given element is inside the scope of this trigger's menu stack.
|
|
353
353
|
* @param element The element to check.
|
|
@@ -744,8 +744,6 @@ declare class CdkMenuItemRadio extends CdkMenuItemSelectable implements OnDestro
|
|
|
744
744
|
trigger(options?: {
|
|
745
745
|
keepOpen: boolean;
|
|
746
746
|
}): void;
|
|
747
|
-
/** Configure the unique selection dispatcher listener in order to toggle the checked state */
|
|
748
|
-
private _registerDispatcherListener;
|
|
749
747
|
static ɵfac: i0.ɵɵFactoryDeclaration<CdkMenuItemRadio, never>;
|
|
750
748
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CdkMenuItemRadio, "[cdkMenuItemRadio]", ["cdkMenuItemRadio"], {}, {}, never, never, true, never>;
|
|
751
749
|
}
|
|
@@ -43,6 +43,9 @@ declare class TestbedHarnessEnvironment extends HarnessEnvironment<Element> {
|
|
|
43
43
|
/**
|
|
44
44
|
* Waits for all scheduled or running async tasks to complete. This allows harness
|
|
45
45
|
* authors to wait for async tasks outside of the Angular zone.
|
|
46
|
+
*
|
|
47
|
+
* This only works when Zone.js is present _and_ patches are applied to the test framework
|
|
48
|
+
* by `zone.js/testing` (Jasmine and Jest only) or another script.
|
|
46
49
|
*/
|
|
47
50
|
waitForTasksOutsideAngular(): Promise<void>;
|
|
48
51
|
/** Gets the root element for the document. */
|