@angular/cdk 21.0.0-rc.3 → 21.0.1
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/_adev_assets/cdk_drag_drop.json +5 -0
- package/_adev_assets/cdk_testing.json +6 -0
- package/fesm2022/_a11y-module-chunk.mjs +23 -23
- 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 +6 -6
- 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 +3 -3
- 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 +9 -9
- package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
- package/fesm2022/_id-generator-chunk.mjs +3 -3
- 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 +52 -68
- package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
- package/fesm2022/_passive-listeners-chunk.mjs.map +1 -1
- package/fesm2022/_platform-chunk.mjs +3 -3
- 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 +3 -3
- 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 +3 -3
- package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
- package/fesm2022/_visually-hidden-chunk.mjs +46 -0
- package/fesm2022/_visually-hidden-chunk.mjs.map +1 -0
- package/fesm2022/a11y.mjs +10 -10
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +7 -7
- 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/coercion-private.mjs.map +1 -1
- package/fesm2022/coercion.mjs.map +1 -1
- package/fesm2022/dialog.mjs +11 -11
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +31 -31
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/keycodes.mjs.map +1 -1
- package/fesm2022/layout.mjs +4 -4
- 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 +3 -3
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +4 -4
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +10 -10
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +20 -42
- 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 +73 -73
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing-selenium-webdriver.mjs.map +1 -1
- package/fesm2022/testing-testbed.mjs +6 -3
- package/fesm2022/testing-testbed.mjs.map +1 -1
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/text-field.mjs +16 -16
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/types/private.d.ts +17 -1
|
@@ -179,6 +179,7 @@
|
|
|
179
179
|
"rawComment": "/** Possible values that can be used to configure the drag start delay. */",
|
|
180
180
|
"description": "Possible values that can be used to configure the drag start delay.",
|
|
181
181
|
"jsdocTags": [],
|
|
182
|
+
"members": [],
|
|
182
183
|
"source": {
|
|
183
184
|
"filePath": "src/cdk/drag-drop/directives/config.ts",
|
|
184
185
|
"startLine": 13,
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
"rawComment": "/** Possible axis along which dragging can be locked. */",
|
|
194
195
|
"description": "Possible axis along which dragging can be locked.",
|
|
195
196
|
"jsdocTags": [],
|
|
197
|
+
"members": [],
|
|
196
198
|
"source": {
|
|
197
199
|
"filePath": "src/cdk/drag-drop/directives/config.ts",
|
|
198
200
|
"startLine": 16,
|
|
@@ -225,6 +227,7 @@
|
|
|
225
227
|
"rawComment": "/** Possible orientations for a drop list. */",
|
|
226
228
|
"description": "Possible orientations for a drop list.",
|
|
227
229
|
"jsdocTags": [],
|
|
230
|
+
"members": [],
|
|
228
231
|
"source": {
|
|
229
232
|
"filePath": "src/cdk/drag-drop/directives/config.ts",
|
|
230
233
|
"startLine": 19,
|
|
@@ -4564,6 +4567,7 @@
|
|
|
4564
4567
|
"rawComment": "/** Function that can be used to constrain the position of a dragged element. */",
|
|
4565
4568
|
"description": "Function that can be used to constrain the position of a dragged element.",
|
|
4566
4569
|
"jsdocTags": [],
|
|
4570
|
+
"members": [],
|
|
4567
4571
|
"source": {
|
|
4568
4572
|
"filePath": "/src/cdk/drag-drop/drag-ref.ts",
|
|
4569
4573
|
"startLine": 61,
|
|
@@ -4774,6 +4778,7 @@
|
|
|
4774
4778
|
"rawComment": "/**\n * Possible places into which the preview of a drag item can be inserted.\n * - `global` - Preview will be inserted at the bottom of the `<body>`. The advantage is that\n * you don't have to worry about `overflow: hidden` or `z-index`, but the item won't retain\n * its inherited styles.\n * - `parent` - Preview will be inserted into the parent of the drag item. The advantage is that\n * inherited styles will be preserved, but it may be clipped by `overflow: hidden` or not be\n * visible due to `z-index`. Furthermore, the preview is going to have an effect over selectors\n * like `:nth-child` and some flexbox configurations.\n * - `ElementRef<HTMLElement> | HTMLElement` - Preview will be inserted into a specific element.\n * Same advantages and disadvantages as `parent`.\n */",
|
|
4775
4779
|
"description": "Possible places into which the preview of a drag item can be inserted.\n- `global` - Preview will be inserted at the bottom of the `<body>`. The advantage is that\nyou don't have to worry about `overflow: hidden` or `z-index`, but the item won't retain\nits inherited styles.\n- `parent` - Preview will be inserted into the parent of the drag item. The advantage is that\ninherited styles will be preserved, but it may be clipped by `overflow: hidden` or not be\nvisible due to `z-index`. Furthermore, the preview is going to have an effect over selectors\nlike `:nth-child` and some flexbox configurations.\n- `ElementRef<HTMLElement> | HTMLElement` - Preview will be inserted into a specific element.\nSame advantages and disadvantages as `parent`.",
|
|
4776
4780
|
"jsdocTags": [],
|
|
4781
|
+
"members": [],
|
|
4777
4782
|
"source": {
|
|
4778
4783
|
"filePath": "/src/cdk/drag-drop/drag-ref.ts",
|
|
4779
4784
|
"startLine": 125,
|
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
"comment": ""
|
|
222
222
|
}
|
|
223
223
|
],
|
|
224
|
+
"members": [],
|
|
224
225
|
"source": {
|
|
225
226
|
"filePath": "src/cdk/testing/component-harness.ts",
|
|
226
227
|
"startLine": 18,
|
|
@@ -235,6 +236,7 @@
|
|
|
235
236
|
"rawComment": "/** Data that can be attached to a custom event dispatched from a `TestElement`. */",
|
|
236
237
|
"description": "Data that can be attached to a custom event dispatched from a `TestElement`.",
|
|
237
238
|
"jsdocTags": [],
|
|
239
|
+
"members": [],
|
|
238
240
|
"source": {
|
|
239
241
|
"filePath": "/src/cdk/testing/test-element.ts",
|
|
240
242
|
"startLine": 20,
|
|
@@ -253,6 +255,7 @@
|
|
|
253
255
|
"rawComment": "/** An async function that takes an item and returns a boolean promise */",
|
|
254
256
|
"description": "An async function that takes an item and returns a boolean promise",
|
|
255
257
|
"jsdocTags": [],
|
|
258
|
+
"members": [],
|
|
256
259
|
"source": {
|
|
257
260
|
"filePath": "src/cdk/testing/component-harness.ts",
|
|
258
261
|
"startLine": 21,
|
|
@@ -567,6 +570,7 @@
|
|
|
567
570
|
"rawComment": "/** An async function that takes an item and an option value and returns a boolean promise. */",
|
|
568
571
|
"description": "An async function that takes an item and an option value and returns a boolean promise.",
|
|
569
572
|
"jsdocTags": [],
|
|
573
|
+
"members": [],
|
|
570
574
|
"source": {
|
|
571
575
|
"filePath": "src/cdk/testing/component-harness.ts",
|
|
572
576
|
"startLine": 24,
|
|
@@ -586,6 +590,7 @@
|
|
|
586
590
|
"rawComment": "/**\n * A query for a `ComponentHarness`, which is expressed as either a `ComponentHarnessConstructor` or\n * a `HarnessPredicate`.\n */",
|
|
587
591
|
"description": "A query for a `ComponentHarness`, which is expressed as either a `ComponentHarnessConstructor` or\na `HarnessPredicate`.",
|
|
588
592
|
"jsdocTags": [],
|
|
593
|
+
"members": [],
|
|
589
594
|
"source": {
|
|
590
595
|
"filePath": "src/cdk/testing/component-harness.ts",
|
|
591
596
|
"startLine": 30,
|
|
@@ -610,6 +615,7 @@
|
|
|
610
615
|
"comment": "### Example\n\nThe type:\n```ts\nLocatorFnResult<[\n ComponentHarnessConstructor<MyHarness>,\n HarnessPredicate<MyOtherHarness>,\n string\n]>\n```\n\nis equivalent to:\n\n```ts\nMyHarness | MyOtherHarness | TestElement\n```"
|
|
611
616
|
}
|
|
612
617
|
],
|
|
618
|
+
"members": [],
|
|
613
619
|
"source": {
|
|
614
620
|
"filePath": "src/cdk/testing/component-harness.ts",
|
|
615
621
|
"startLine": 64,
|
|
@@ -4,7 +4,7 @@ import { CdkMonitorFocus } from './_focus-monitor-chunk.mjs';
|
|
|
4
4
|
import { Platform } from './_platform-chunk.mjs';
|
|
5
5
|
import { _getFocusedElementPierceShadowDom } from './_shadow-dom-chunk.mjs';
|
|
6
6
|
import { _CdkPrivateStyleLoader } from './_style-loader-chunk.mjs';
|
|
7
|
-
import { _VisuallyHiddenLoader } from './
|
|
7
|
+
import { _VisuallyHiddenLoader } from './_visually-hidden-chunk.mjs';
|
|
8
8
|
import { BreakpointObserver } from './_breakpoints-observer-chunk.mjs';
|
|
9
9
|
import { ContentObserver, ObserversModule } from './observers.mjs';
|
|
10
10
|
|
|
@@ -66,7 +66,7 @@ class InteractivityChecker {
|
|
|
66
66
|
}
|
|
67
67
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
68
68
|
minVersion: "12.0.0",
|
|
69
|
-
version: "
|
|
69
|
+
version: "21.0.0",
|
|
70
70
|
ngImport: i0,
|
|
71
71
|
type: InteractivityChecker,
|
|
72
72
|
deps: [],
|
|
@@ -74,7 +74,7 @@ class InteractivityChecker {
|
|
|
74
74
|
});
|
|
75
75
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
76
76
|
minVersion: "12.0.0",
|
|
77
|
-
version: "
|
|
77
|
+
version: "21.0.0",
|
|
78
78
|
ngImport: i0,
|
|
79
79
|
type: InteractivityChecker,
|
|
80
80
|
providedIn: 'root'
|
|
@@ -82,7 +82,7 @@ class InteractivityChecker {
|
|
|
82
82
|
}
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({
|
|
84
84
|
minVersion: "12.0.0",
|
|
85
|
-
version: "
|
|
85
|
+
version: "21.0.0",
|
|
86
86
|
ngImport: i0,
|
|
87
87
|
type: InteractivityChecker,
|
|
88
88
|
decorators: [{
|
|
@@ -348,7 +348,7 @@ class FocusTrapFactory {
|
|
|
348
348
|
}
|
|
349
349
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
350
350
|
minVersion: "12.0.0",
|
|
351
|
-
version: "
|
|
351
|
+
version: "21.0.0",
|
|
352
352
|
ngImport: i0,
|
|
353
353
|
type: FocusTrapFactory,
|
|
354
354
|
deps: [],
|
|
@@ -356,7 +356,7 @@ class FocusTrapFactory {
|
|
|
356
356
|
});
|
|
357
357
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
358
358
|
minVersion: "12.0.0",
|
|
359
|
-
version: "
|
|
359
|
+
version: "21.0.0",
|
|
360
360
|
ngImport: i0,
|
|
361
361
|
type: FocusTrapFactory,
|
|
362
362
|
providedIn: 'root'
|
|
@@ -364,7 +364,7 @@ class FocusTrapFactory {
|
|
|
364
364
|
}
|
|
365
365
|
i0.ɵɵngDeclareClassMetadata({
|
|
366
366
|
minVersion: "12.0.0",
|
|
367
|
-
version: "
|
|
367
|
+
version: "21.0.0",
|
|
368
368
|
ngImport: i0,
|
|
369
369
|
type: FocusTrapFactory,
|
|
370
370
|
decorators: [{
|
|
@@ -425,7 +425,7 @@ class CdkTrapFocus {
|
|
|
425
425
|
}
|
|
426
426
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
427
427
|
minVersion: "12.0.0",
|
|
428
|
-
version: "
|
|
428
|
+
version: "21.0.0",
|
|
429
429
|
ngImport: i0,
|
|
430
430
|
type: CdkTrapFocus,
|
|
431
431
|
deps: [],
|
|
@@ -433,7 +433,7 @@ class CdkTrapFocus {
|
|
|
433
433
|
});
|
|
434
434
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
435
435
|
minVersion: "16.1.0",
|
|
436
|
-
version: "
|
|
436
|
+
version: "21.0.0",
|
|
437
437
|
type: CdkTrapFocus,
|
|
438
438
|
isStandalone: true,
|
|
439
439
|
selector: "[cdkTrapFocus]",
|
|
@@ -448,7 +448,7 @@ class CdkTrapFocus {
|
|
|
448
448
|
}
|
|
449
449
|
i0.ɵɵngDeclareClassMetadata({
|
|
450
450
|
minVersion: "12.0.0",
|
|
451
|
-
version: "
|
|
451
|
+
version: "21.0.0",
|
|
452
452
|
ngImport: i0,
|
|
453
453
|
type: CdkTrapFocus,
|
|
454
454
|
decorators: [{
|
|
@@ -578,7 +578,7 @@ class LiveAnnouncer {
|
|
|
578
578
|
}
|
|
579
579
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
580
580
|
minVersion: "12.0.0",
|
|
581
|
-
version: "
|
|
581
|
+
version: "21.0.0",
|
|
582
582
|
ngImport: i0,
|
|
583
583
|
type: LiveAnnouncer,
|
|
584
584
|
deps: [],
|
|
@@ -586,7 +586,7 @@ class LiveAnnouncer {
|
|
|
586
586
|
});
|
|
587
587
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
588
588
|
minVersion: "12.0.0",
|
|
589
|
-
version: "
|
|
589
|
+
version: "21.0.0",
|
|
590
590
|
ngImport: i0,
|
|
591
591
|
type: LiveAnnouncer,
|
|
592
592
|
providedIn: 'root'
|
|
@@ -594,7 +594,7 @@ class LiveAnnouncer {
|
|
|
594
594
|
}
|
|
595
595
|
i0.ɵɵngDeclareClassMetadata({
|
|
596
596
|
minVersion: "12.0.0",
|
|
597
|
-
version: "
|
|
597
|
+
version: "21.0.0",
|
|
598
598
|
ngImport: i0,
|
|
599
599
|
type: LiveAnnouncer,
|
|
600
600
|
decorators: [{
|
|
@@ -646,7 +646,7 @@ class CdkAriaLive {
|
|
|
646
646
|
}
|
|
647
647
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
648
648
|
minVersion: "12.0.0",
|
|
649
|
-
version: "
|
|
649
|
+
version: "21.0.0",
|
|
650
650
|
ngImport: i0,
|
|
651
651
|
type: CdkAriaLive,
|
|
652
652
|
deps: [],
|
|
@@ -654,7 +654,7 @@ class CdkAriaLive {
|
|
|
654
654
|
});
|
|
655
655
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
656
656
|
minVersion: "14.0.0",
|
|
657
|
-
version: "
|
|
657
|
+
version: "21.0.0",
|
|
658
658
|
type: CdkAriaLive,
|
|
659
659
|
isStandalone: true,
|
|
660
660
|
selector: "[cdkAriaLive]",
|
|
@@ -668,7 +668,7 @@ class CdkAriaLive {
|
|
|
668
668
|
}
|
|
669
669
|
i0.ɵɵngDeclareClassMetadata({
|
|
670
670
|
minVersion: "12.0.0",
|
|
671
|
-
version: "
|
|
671
|
+
version: "21.0.0",
|
|
672
672
|
ngImport: i0,
|
|
673
673
|
type: CdkAriaLive,
|
|
674
674
|
decorators: [{
|
|
@@ -754,7 +754,7 @@ class HighContrastModeDetector {
|
|
|
754
754
|
}
|
|
755
755
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
756
756
|
minVersion: "12.0.0",
|
|
757
|
-
version: "
|
|
757
|
+
version: "21.0.0",
|
|
758
758
|
ngImport: i0,
|
|
759
759
|
type: HighContrastModeDetector,
|
|
760
760
|
deps: [],
|
|
@@ -762,7 +762,7 @@ class HighContrastModeDetector {
|
|
|
762
762
|
});
|
|
763
763
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
764
764
|
minVersion: "12.0.0",
|
|
765
|
-
version: "
|
|
765
|
+
version: "21.0.0",
|
|
766
766
|
ngImport: i0,
|
|
767
767
|
type: HighContrastModeDetector,
|
|
768
768
|
providedIn: 'root'
|
|
@@ -770,7 +770,7 @@ class HighContrastModeDetector {
|
|
|
770
770
|
}
|
|
771
771
|
i0.ɵɵngDeclareClassMetadata({
|
|
772
772
|
minVersion: "12.0.0",
|
|
773
|
-
version: "
|
|
773
|
+
version: "21.0.0",
|
|
774
774
|
ngImport: i0,
|
|
775
775
|
type: HighContrastModeDetector,
|
|
776
776
|
decorators: [{
|
|
@@ -788,7 +788,7 @@ class A11yModule {
|
|
|
788
788
|
}
|
|
789
789
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
790
790
|
minVersion: "12.0.0",
|
|
791
|
-
version: "
|
|
791
|
+
version: "21.0.0",
|
|
792
792
|
ngImport: i0,
|
|
793
793
|
type: A11yModule,
|
|
794
794
|
deps: [],
|
|
@@ -796,7 +796,7 @@ class A11yModule {
|
|
|
796
796
|
});
|
|
797
797
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
798
798
|
minVersion: "14.0.0",
|
|
799
|
-
version: "
|
|
799
|
+
version: "21.0.0",
|
|
800
800
|
ngImport: i0,
|
|
801
801
|
type: A11yModule,
|
|
802
802
|
imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
|
@@ -804,7 +804,7 @@ class A11yModule {
|
|
|
804
804
|
});
|
|
805
805
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
806
806
|
minVersion: "12.0.0",
|
|
807
|
-
version: "
|
|
807
|
+
version: "21.0.0",
|
|
808
808
|
ngImport: i0,
|
|
809
809
|
type: A11yModule,
|
|
810
810
|
imports: [ObserversModule]
|
|
@@ -812,7 +812,7 @@ class A11yModule {
|
|
|
812
812
|
}
|
|
813
813
|
i0.ɵɵngDeclareClassMetadata({
|
|
814
814
|
minVersion: "12.0.0",
|
|
815
|
-
version: "
|
|
815
|
+
version: "21.0.0",
|
|
816
816
|
ngImport: i0,
|
|
817
817
|
type: A11yModule,
|
|
818
818
|
decorators: [{
|