@angular/cdk 21.0.0-rc.2 → 21.0.0-rc.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.map +1 -1
- package/fesm2022/_activedescendant-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_array-chunk.mjs.map +1 -1
- package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
- package/fesm2022/_css-pixel-value-chunk.mjs.map +1 -1
- package/fesm2022/_data-source-chunk.mjs.map +1 -1
- package/fesm2022/_directionality-chunk.mjs.map +1 -1
- package/fesm2022/_dispose-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_element-chunk.mjs.map +1 -1
- package/fesm2022/_fake-event-detection-chunk.mjs.map +1 -1
- package/fesm2022/_focus-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs.map +1 -1
- package/fesm2022/_keycodes-chunk.mjs.map +1 -1
- package/fesm2022/_list-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_overlay-module-chunk.mjs +35 -11
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs.map +1 -1
- package/fesm2022/_recycle-view-repeater-strategy-chunk.mjs.map +1 -1
- package/fesm2022/_scrolling-chunk.mjs.map +1 -1
- package/fesm2022/_selection-model-chunk.mjs.map +1 -1
- package/fesm2022/_shadow-dom-chunk.mjs.map +1 -1
- package/fesm2022/_style-loader-chunk.mjs.map +1 -1
- package/fesm2022/_test-environment-chunk.mjs.map +1 -1
- package/fesm2022/_tree-key-manager-chunk.mjs.map +1 -1
- package/fesm2022/_typeahead-chunk.mjs.map +1 -1
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs.map +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.map +1 -1
- package/fesm2022/coercion-private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers-private.mjs.map +1 -1
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/types/_overlay-module-chunk.d.ts +14 -3
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.0.0-rc.
|
|
29
|
+
return (0, utility_1.addDependency)('@angular/cdk', `~21.0.0-rc.3`, { existing: utility_1.ExistingBehavior.Skip });
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -235,7 +235,10 @@ interface PositionStrategy {
|
|
|
235
235
|
* Gets the element in the DOM after which to insert
|
|
236
236
|
* the overlay when it is rendered out as a popover.
|
|
237
237
|
*/
|
|
238
|
-
getPopoverInsertionPoint?(): Element | null
|
|
238
|
+
getPopoverInsertionPoint?(): Element | null | {
|
|
239
|
+
type: 'parent';
|
|
240
|
+
element: Element;
|
|
241
|
+
};
|
|
239
242
|
}
|
|
240
243
|
|
|
241
244
|
/** Initial configuration used when creating an overlay. */
|
|
@@ -424,7 +427,10 @@ type FlexibleConnectedPositionStrategyOrigin = ElementRef | Element | (Point & {
|
|
|
424
427
|
*/
|
|
425
428
|
declare function createFlexibleConnectedPositionStrategy(injector: Injector, origin: FlexibleConnectedPositionStrategyOrigin): FlexibleConnectedPositionStrategy;
|
|
426
429
|
/** Supported locations in the DOM for connected overlays. */
|
|
427
|
-
type FlexibleOverlayPopoverLocation = 'global' | 'inline'
|
|
430
|
+
type FlexibleOverlayPopoverLocation = 'global' | 'inline' | {
|
|
431
|
+
type: 'parent';
|
|
432
|
+
element: Element;
|
|
433
|
+
};
|
|
428
434
|
/**
|
|
429
435
|
* A strategy for positioning overlays. Using this strategy, an overlay is given an
|
|
430
436
|
* implicit position relative some origin element. The relative position is defined in terms of
|
|
@@ -591,10 +597,15 @@ declare class FlexibleConnectedPositionStrategy implements PositionStrategy {
|
|
|
591
597
|
* @param location Configures the location in the DOM. Supports the following values:
|
|
592
598
|
* - `global` - The default which inserts the overlay inside the overlay container.
|
|
593
599
|
* - `inline` - Inserts the overlay next to the trigger.
|
|
600
|
+
* - {type: 'parent', element: element} - Inserts the overlay to a child of a custom parent
|
|
601
|
+
* element.
|
|
594
602
|
*/
|
|
595
603
|
withPopoverLocation(location: FlexibleOverlayPopoverLocation): this;
|
|
596
604
|
/** @docs-private */
|
|
597
|
-
getPopoverInsertionPoint(): Element | null
|
|
605
|
+
getPopoverInsertionPoint(): Element | null | {
|
|
606
|
+
type: 'parent';
|
|
607
|
+
element: Element;
|
|
608
|
+
};
|
|
598
609
|
/**
|
|
599
610
|
* Gets the (x, y) coordinate of a connection point on the origin based on a relative position.
|
|
600
611
|
*/
|