@angular/cdk 19.0.0-next.1 → 19.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 (330) hide show
  1. package/a11y/_index.scss +12 -54
  2. package/a11y/index.d.ts +5 -1
  3. package/fesm2022/a11y.mjs +61 -51
  4. package/fesm2022/a11y.mjs.map +1 -1
  5. package/fesm2022/accordion.mjs +10 -10
  6. package/fesm2022/bidi.mjs +10 -10
  7. package/fesm2022/cdk.mjs +1 -1
  8. package/fesm2022/cdk.mjs.map +1 -1
  9. package/fesm2022/clipboard.mjs +10 -10
  10. package/fesm2022/collections.mjs +3 -3
  11. package/fesm2022/dialog.mjs +10 -10
  12. package/fesm2022/drag-drop.mjs +33 -32
  13. package/fesm2022/drag-drop.mjs.map +1 -1
  14. package/fesm2022/layout.mjs +10 -10
  15. package/fesm2022/listbox.mjs +10 -10
  16. package/fesm2022/menu.mjs +49 -49
  17. package/fesm2022/observers/private.mjs +3 -3
  18. package/fesm2022/observers.mjs +13 -13
  19. package/fesm2022/overlay.mjs +54 -35
  20. package/fesm2022/overlay.mjs.map +1 -1
  21. package/fesm2022/platform.mjs +7 -7
  22. package/fesm2022/portal.mjs +16 -16
  23. package/fesm2022/private.mjs +12 -10
  24. package/fesm2022/private.mjs.map +1 -1
  25. package/fesm2022/scrolling.mjs +38 -35
  26. package/fesm2022/scrolling.mjs.map +1 -1
  27. package/fesm2022/stepper.mjs +22 -22
  28. package/fesm2022/table.mjs +76 -76
  29. package/fesm2022/text-field.mjs +30 -15
  30. package/fesm2022/text-field.mjs.map +1 -1
  31. package/fesm2022/tree.mjs +36 -30
  32. package/fesm2022/tree.mjs.map +1 -1
  33. package/overlay/_index.scss +15 -13
  34. package/overlay/index.d.ts +6 -1
  35. package/overlay-prebuilt.css +1 -1
  36. package/package.json +1 -57
  37. package/private/index.d.ts +1 -0
  38. package/schematics/ng-add/index.js +1 -1
  39. package/schematics/ng-add/index.mjs +1 -1
  40. package/scrolling/index.d.ts +1 -0
  41. package/table/index.d.ts +8 -8
  42. package/text-field/index.d.ts +1 -0
  43. package/tree/index.d.ts +6 -4
  44. package/esm2022/a11y/a11y-module.mjs +0 -31
  45. package/esm2022/a11y/a11y_public_index.mjs +0 -5
  46. package/esm2022/a11y/aria-describer/aria-describer.mjs +0 -232
  47. package/esm2022/a11y/aria-describer/aria-reference.mjs +0 -47
  48. package/esm2022/a11y/fake-event-detection.mjs +0 -29
  49. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +0 -468
  50. package/esm2022/a11y/focus-trap/configurable-focus-trap-config.mjs +0 -9
  51. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +0 -54
  52. package/esm2022/a11y/focus-trap/configurable-focus-trap.mjs +0 -51
  53. package/esm2022/a11y/focus-trap/event-listener-inert-strategy.mjs +0 -61
  54. package/esm2022/a11y/focus-trap/focus-trap-inert-strategy.mjs +0 -11
  55. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +0 -53
  56. package/esm2022/a11y/focus-trap/focus-trap.mjs +0 -396
  57. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +0 -116
  58. package/esm2022/a11y/index.mjs +0 -9
  59. package/esm2022/a11y/input-modality/input-modality-detector.mjs +0 -176
  60. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +0 -238
  61. package/esm2022/a11y/key-manager/activedescendant-key-manager.mjs +0 -20
  62. package/esm2022/a11y/key-manager/focus-key-manager.mjs +0 -29
  63. package/esm2022/a11y/key-manager/list-key-manager.mjs +0 -357
  64. package/esm2022/a11y/key-manager/noop-tree-key-manager.mjs +0 -94
  65. package/esm2022/a11y/key-manager/tree-key-manager-strategy.mjs +0 -9
  66. package/esm2022/a11y/key-manager/tree-key-manager.mjs +0 -345
  67. package/esm2022/a11y/key-manager/typeahead.mjs +0 -91
  68. package/esm2022/a11y/live-announcer/live-announcer-tokens.mjs +0 -19
  69. package/esm2022/a11y/live-announcer/live-announcer.mjs +0 -210
  70. package/esm2022/a11y/public-api.mjs +0 -30
  71. package/esm2022/accordion/accordion-item.mjs +0 -162
  72. package/esm2022/accordion/accordion-module.mjs +0 -24
  73. package/esm2022/accordion/accordion.mjs +0 -65
  74. package/esm2022/accordion/accordion_public_index.mjs +0 -5
  75. package/esm2022/accordion/index.mjs +0 -9
  76. package/esm2022/accordion/public-api.mjs +0 -11
  77. package/esm2022/bidi/bidi-module.mjs +0 -23
  78. package/esm2022/bidi/bidi_public_index.mjs +0 -5
  79. package/esm2022/bidi/dir-document-token.mjs +0 -33
  80. package/esm2022/bidi/dir.mjs +0 -70
  81. package/esm2022/bidi/directionality.mjs +0 -52
  82. package/esm2022/bidi/index.mjs +0 -9
  83. package/esm2022/bidi/public-api.mjs +0 -12
  84. package/esm2022/clipboard/clipboard-module.mjs +0 -23
  85. package/esm2022/clipboard/clipboard.mjs +0 -53
  86. package/esm2022/clipboard/clipboard_public_index.mjs +0 -5
  87. package/esm2022/clipboard/copy-to-clipboard.mjs +0 -100
  88. package/esm2022/clipboard/index.mjs +0 -9
  89. package/esm2022/clipboard/pending-copy.mjs +0 -71
  90. package/esm2022/clipboard/public-api.mjs +0 -12
  91. package/esm2022/coercion/array.mjs +0 -11
  92. package/esm2022/coercion/boolean-property.mjs +0 -12
  93. package/esm2022/coercion/css-pixel-value.mjs +0 -15
  94. package/esm2022/coercion/element.mjs +0 -16
  95. package/esm2022/coercion/index.mjs +0 -9
  96. package/esm2022/coercion/number-property.mjs +0 -24
  97. package/esm2022/coercion/private/index.mjs +0 -9
  98. package/esm2022/coercion/private/observable.mjs +0 -19
  99. package/esm2022/coercion/private/private_public_index.mjs +0 -5
  100. package/esm2022/coercion/public-api.mjs +0 -14
  101. package/esm2022/coercion/string-array.mjs +0 -38
  102. package/esm2022/collections/array-data-source.mjs +0 -21
  103. package/esm2022/collections/collection-viewer.mjs +0 -9
  104. package/esm2022/collections/collections_public_index.mjs +0 -5
  105. package/esm2022/collections/data-source.mjs +0 -19
  106. package/esm2022/collections/dispose-view-repeater-strategy.mjs +0 -48
  107. package/esm2022/collections/index.mjs +0 -9
  108. package/esm2022/collections/public-api.mjs +0 -17
  109. package/esm2022/collections/recycle-view-repeater-strategy.mjs +0 -129
  110. package/esm2022/collections/selection-model.mjs +0 -225
  111. package/esm2022/collections/tree-adapter.mjs +0 -9
  112. package/esm2022/collections/unique-selection-dispatcher.mjs +0 -55
  113. package/esm2022/collections/view-repeater.mjs +0 -26
  114. package/esm2022/dialog/dialog-config.mjs +0 -70
  115. package/esm2022/dialog/dialog-container.mjs +0 -308
  116. package/esm2022/dialog/dialog-injectors.mjs +0 -40
  117. package/esm2022/dialog/dialog-module.mjs +0 -40
  118. package/esm2022/dialog/dialog-ref.mjs +0 -85
  119. package/esm2022/dialog/dialog.mjs +0 -303
  120. package/esm2022/dialog/dialog_public_index.mjs +0 -5
  121. package/esm2022/dialog/index.mjs +0 -9
  122. package/esm2022/dialog/public-api.mjs +0 -14
  123. package/esm2022/drag-drop/directives/assertions.mjs +0 -18
  124. package/esm2022/drag-drop/directives/config.mjs +0 -14
  125. package/esm2022/drag-drop/directives/drag-handle.mjs +0 -68
  126. package/esm2022/drag-drop/directives/drag-placeholder.mjs +0 -43
  127. package/esm2022/drag-drop/directives/drag-preview.mjs +0 -48
  128. package/esm2022/drag-drop/directives/drag.mjs +0 -520
  129. package/esm2022/drag-drop/directives/drop-list-group.mjs +0 -47
  130. package/esm2022/drag-drop/directives/drop-list.mjs +0 -352
  131. package/esm2022/drag-drop/dom/clone-node.mjs +0 -65
  132. package/esm2022/drag-drop/dom/dom-rect.mjs +0 -64
  133. package/esm2022/drag-drop/dom/parent-position-tracker.mjs +0 -76
  134. package/esm2022/drag-drop/dom/root-node.mjs +0 -21
  135. package/esm2022/drag-drop/dom/styling.mjs +0 -89
  136. package/esm2022/drag-drop/dom/transition-duration.mjs +0 -36
  137. package/esm2022/drag-drop/drag-drop-module.mjs +0 -49
  138. package/esm2022/drag-drop/drag-drop-registry.mjs +0 -248
  139. package/esm2022/drag-drop/drag-drop.mjs +0 -57
  140. package/esm2022/drag-drop/drag-drop_public_index.mjs +0 -5
  141. package/esm2022/drag-drop/drag-events.mjs +0 -9
  142. package/esm2022/drag-drop/drag-parent.mjs +0 -16
  143. package/esm2022/drag-drop/drag-ref.mjs +0 -1097
  144. package/esm2022/drag-drop/drag-utils.mjs +0 -60
  145. package/esm2022/drag-drop/drop-list-ref.mjs +0 -672
  146. package/esm2022/drag-drop/index.mjs +0 -9
  147. package/esm2022/drag-drop/preview-ref.mjs +0 -125
  148. package/esm2022/drag-drop/public-api.mjs +0 -23
  149. package/esm2022/drag-drop/sorting/drop-list-sort-strategy.mjs +0 -9
  150. package/esm2022/drag-drop/sorting/mixed-sort-strategy.mjs +0 -246
  151. package/esm2022/drag-drop/sorting/single-axis-sort-strategy.mjs +0 -343
  152. package/esm2022/index.mjs +0 -9
  153. package/esm2022/keycodes/index.mjs +0 -9
  154. package/esm2022/keycodes/keycodes.mjs +0 -127
  155. package/esm2022/keycodes/keycodes_public_index.mjs +0 -5
  156. package/esm2022/keycodes/modifiers.mjs +0 -18
  157. package/esm2022/keycodes/public-api.mjs +0 -10
  158. package/esm2022/layout/breakpoints-observer.mjs +0 -105
  159. package/esm2022/layout/breakpoints.mjs +0 -29
  160. package/esm2022/layout/index.mjs +0 -9
  161. package/esm2022/layout/layout-module.mjs +0 -19
  162. package/esm2022/layout/layout_public_index.mjs +0 -5
  163. package/esm2022/layout/media-matcher.mjs +0 -94
  164. package/esm2022/layout/public-api.mjs +0 -12
  165. package/esm2022/listbox/index.mjs +0 -9
  166. package/esm2022/listbox/listbox-module.mjs +0 -24
  167. package/esm2022/listbox/listbox.mjs +0 -888
  168. package/esm2022/listbox/listbox_public_index.mjs +0 -5
  169. package/esm2022/listbox/public-api.mjs +0 -10
  170. package/esm2022/menu/context-menu-trigger.mjs +0 -221
  171. package/esm2022/menu/event-detection.mjs +0 -28
  172. package/esm2022/menu/index.mjs +0 -9
  173. package/esm2022/menu/menu-aim.mjs +0 -204
  174. package/esm2022/menu/menu-bar.mjs +0 -134
  175. package/esm2022/menu/menu-base.mjs +0 -192
  176. package/esm2022/menu/menu-errors.mjs +0 -22
  177. package/esm2022/menu/menu-group.mjs +0 -31
  178. package/esm2022/menu/menu-interface.mjs +0 -11
  179. package/esm2022/menu/menu-item-checkbox.mjs +0 -50
  180. package/esm2022/menu/menu-item-radio.mjs +0 -72
  181. package/esm2022/menu/menu-item-selectable.mjs +0 -36
  182. package/esm2022/menu/menu-item.mjs +0 -270
  183. package/esm2022/menu/menu-module.mjs +0 -60
  184. package/esm2022/menu/menu-stack.mjs +0 -163
  185. package/esm2022/menu/menu-trigger-base.mjs +0 -119
  186. package/esm2022/menu/menu-trigger.mjs +0 -313
  187. package/esm2022/menu/menu.mjs +0 -135
  188. package/esm2022/menu/menu_public_index.mjs +0 -5
  189. package/esm2022/menu/pointer-focus-tracker.mjs +0 -51
  190. package/esm2022/menu/public-api.mjs +0 -24
  191. package/esm2022/observers/index.mjs +0 -9
  192. package/esm2022/observers/observe-content.mjs +0 -216
  193. package/esm2022/observers/observers_public_index.mjs +0 -5
  194. package/esm2022/observers/private/index.mjs +0 -9
  195. package/esm2022/observers/private/private_public_index.mjs +0 -5
  196. package/esm2022/observers/private/shared-resize-observer.mjs +0 -125
  197. package/esm2022/observers/public-api.mjs +0 -9
  198. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +0 -52
  199. package/esm2022/overlay/dispatchers/index.mjs +0 -10
  200. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +0 -81
  201. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +0 -151
  202. package/esm2022/overlay/fullscreen-overlay-container.mjs +0 -94
  203. package/esm2022/overlay/index.mjs +0 -9
  204. package/esm2022/overlay/overlay-config.mjs +0 -45
  205. package/esm2022/overlay/overlay-container.mjs +0 -81
  206. package/esm2022/overlay/overlay-directives.mjs +0 -432
  207. package/esm2022/overlay/overlay-module.mjs +0 -28
  208. package/esm2022/overlay/overlay-ref.mjs +0 -437
  209. package/esm2022/overlay/overlay.mjs +0 -126
  210. package/esm2022/overlay/overlay_public_index.mjs +0 -5
  211. package/esm2022/overlay/position/connected-position.mjs +0 -88
  212. package/esm2022/overlay/position/flexible-connected-position-strategy.mjs +0 -1002
  213. package/esm2022/overlay/position/global-position-strategy.mjs +0 -237
  214. package/esm2022/overlay/position/overlay-position-builder.mjs +0 -50
  215. package/esm2022/overlay/position/position-strategy.mjs +0 -9
  216. package/esm2022/overlay/position/scroll-clip.mjs +0 -40
  217. package/esm2022/overlay/public-api.mjs +0 -22
  218. package/esm2022/overlay/scroll/block-scroll-strategy.mjs +0 -80
  219. package/esm2022/overlay/scroll/close-scroll-strategy.mjs +0 -65
  220. package/esm2022/overlay/scroll/index.mjs +0 -14
  221. package/esm2022/overlay/scroll/noop-scroll-strategy.mjs +0 -17
  222. package/esm2022/overlay/scroll/reposition-scroll-strategy.mjs +0 -61
  223. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +0 -55
  224. package/esm2022/overlay/scroll/scroll-strategy.mjs +0 -14
  225. package/esm2022/platform/features/input-types.mjs +0 -59
  226. package/esm2022/platform/features/passive-listeners.mjs +0 -36
  227. package/esm2022/platform/features/scrolling.mjs +0 -104
  228. package/esm2022/platform/features/shadow-dom.mjs +0 -54
  229. package/esm2022/platform/features/test-environment.mjs +0 -24
  230. package/esm2022/platform/index.mjs +0 -9
  231. package/esm2022/platform/platform-module.mjs +0 -19
  232. package/esm2022/platform/platform.mjs +0 -82
  233. package/esm2022/platform/platform_public_index.mjs +0 -5
  234. package/esm2022/platform/public-api.mjs +0 -15
  235. package/esm2022/portal/dom-portal-outlet.mjs +0 -158
  236. package/esm2022/portal/index.mjs +0 -9
  237. package/esm2022/portal/portal-directives.mjs +0 -251
  238. package/esm2022/portal/portal-errors.mjs +0 -51
  239. package/esm2022/portal/portal-injector.mjs +0 -28
  240. package/esm2022/portal/portal.mjs +0 -189
  241. package/esm2022/portal/portal_public_index.mjs +0 -5
  242. package/esm2022/portal/public-api.mjs +0 -12
  243. package/esm2022/private/index.mjs +0 -9
  244. package/esm2022/private/private_public_index.mjs +0 -5
  245. package/esm2022/private/public-api.mjs +0 -9
  246. package/esm2022/private/style-loader.mjs +0 -50
  247. package/esm2022/public-api.mjs +0 -9
  248. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +0 -218
  249. package/esm2022/scrolling/index.mjs +0 -9
  250. package/esm2022/scrolling/public-api.mjs +0 -20
  251. package/esm2022/scrolling/scroll-dispatcher.mjs +0 -163
  252. package/esm2022/scrolling/scrollable.mjs +0 -177
  253. package/esm2022/scrolling/scrolling-module.mjs +0 -69
  254. package/esm2022/scrolling/scrolling_public_index.mjs +0 -5
  255. package/esm2022/scrolling/viewport-ruler.mjs +0 -146
  256. package/esm2022/scrolling/virtual-for-of.mjs +0 -299
  257. package/esm2022/scrolling/virtual-scroll-repeater.mjs +0 -9
  258. package/esm2022/scrolling/virtual-scroll-strategy.mjs +0 -11
  259. package/esm2022/scrolling/virtual-scroll-viewport.mjs +0 -445
  260. package/esm2022/scrolling/virtual-scrollable-element.mjs +0 -42
  261. package/esm2022/scrolling/virtual-scrollable-window.mjs +0 -41
  262. package/esm2022/scrolling/virtual-scrollable.mjs +0 -40
  263. package/esm2022/stepper/index.mjs +0 -9
  264. package/esm2022/stepper/public-api.mjs +0 -13
  265. package/esm2022/stepper/step-header.mjs +0 -31
  266. package/esm2022/stepper/step-label.mjs +0 -24
  267. package/esm2022/stepper/stepper-button.mjs +0 -58
  268. package/esm2022/stepper/stepper-module.mjs +0 -41
  269. package/esm2022/stepper/stepper.mjs +0 -452
  270. package/esm2022/stepper/stepper_public_index.mjs +0 -5
  271. package/esm2022/table/can-stick.mjs +0 -46
  272. package/esm2022/table/cell.mjs +0 -245
  273. package/esm2022/table/coalesced-style-scheduler.mjs +0 -79
  274. package/esm2022/table/index.mjs +0 -9
  275. package/esm2022/table/public-api.mjs +0 -20
  276. package/esm2022/table/row.mjs +0 -317
  277. package/esm2022/table/sticky-position-listener.mjs +0 -11
  278. package/esm2022/table/sticky-styler.mjs +0 -347
  279. package/esm2022/table/table-errors.mjs +0 -67
  280. package/esm2022/table/table-module.mjs +0 -93
  281. package/esm2022/table/table.mjs +0 -1148
  282. package/esm2022/table/table_public_index.mjs +0 -5
  283. package/esm2022/table/text-column.mjs +0 -154
  284. package/esm2022/table/tokens.mjs +0 -16
  285. package/esm2022/testing/change-detection.mjs +0 -102
  286. package/esm2022/testing/component-harness.mjs +0 -328
  287. package/esm2022/testing/element-dimensions.mjs +0 -9
  288. package/esm2022/testing/harness-environment.mjs +0 -220
  289. package/esm2022/testing/index.mjs +0 -9
  290. package/esm2022/testing/public-api.mjs +0 -15
  291. package/esm2022/testing/selenium-webdriver/index.mjs +0 -9
  292. package/esm2022/testing/selenium-webdriver/public-api.mjs +0 -10
  293. package/esm2022/testing/selenium-webdriver/selenium-web-driver-element.mjs +0 -216
  294. package/esm2022/testing/selenium-webdriver/selenium-web-driver-harness-environment.mjs +0 -88
  295. package/esm2022/testing/selenium-webdriver/selenium-webdriver-keys.mjs +0 -64
  296. package/esm2022/testing/test-element-errors.mjs +0 -15
  297. package/esm2022/testing/test-element.mjs +0 -49
  298. package/esm2022/testing/testbed/fake-events/dispatch-events.mjs +0 -53
  299. package/esm2022/testing/testbed/fake-events/element-focus.mjs +0 -39
  300. package/esm2022/testing/testbed/fake-events/event-objects.mjs +0 -127
  301. package/esm2022/testing/testbed/fake-events/index.mjs +0 -14
  302. package/esm2022/testing/testbed/fake-events/type-in-element.mjs +0 -97
  303. package/esm2022/testing/testbed/index.mjs +0 -9
  304. package/esm2022/testing/testbed/public-api.mjs +0 -10
  305. package/esm2022/testing/testbed/task-state-zone-interceptor.mjs +0 -83
  306. package/esm2022/testing/testbed/testbed-harness-environment.mjs +0 -165
  307. package/esm2022/testing/testbed/unit-test-element.mjs +0 -258
  308. package/esm2022/testing/text-filtering.mjs +0 -21
  309. package/esm2022/text-field/autofill.mjs +0 -114
  310. package/esm2022/text-field/autosize.mjs +0 -309
  311. package/esm2022/text-field/index.mjs +0 -9
  312. package/esm2022/text-field/public-api.mjs +0 -11
  313. package/esm2022/text-field/text-field-module.mjs +0 -24
  314. package/esm2022/text-field/text-field_public_index.mjs +0 -5
  315. package/esm2022/tree/control/base-tree-control.mjs +0 -62
  316. package/esm2022/tree/control/flat-tree-control.mjs +0 -57
  317. package/esm2022/tree/control/nested-tree-control.mjs +0 -67
  318. package/esm2022/tree/control/tree-control.mjs +0 -2
  319. package/esm2022/tree/index.mjs +0 -9
  320. package/esm2022/tree/nested-node.mjs +0 -103
  321. package/esm2022/tree/node.mjs +0 -36
  322. package/esm2022/tree/outlet.mjs +0 -40
  323. package/esm2022/tree/padding.mjs +0 -129
  324. package/esm2022/tree/public-api.mjs +0 -20
  325. package/esm2022/tree/toggle.mjs +0 -51
  326. package/esm2022/tree/tree-errors.mjs +0 -44
  327. package/esm2022/tree/tree-module.mjs +0 -49
  328. package/esm2022/tree/tree.mjs +0 -1123
  329. package/esm2022/tree/tree_public_index.mjs +0 -5
  330. package/esm2022/version.mjs +0 -11
@@ -76,23 +76,24 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
76
76
  -webkit-tap-highlight-color: transparent;
77
77
  transition: opacity $backdrop-animation-duration $backdrop-animation-timing-function;
78
78
  opacity: 0;
79
+ }
80
+
81
+ .cdk-overlay-backdrop-showing {
82
+ opacity: 1;
79
83
 
80
- &.cdk-overlay-backdrop-showing {
81
- opacity: 1;
82
-
83
- // Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
84
- // this file will be copied to the top-level `cdk` package when putting together the files
85
- // for npm. Any relative import paths we use here will become invalid once the file is copied.
86
- .cdk-high-contrast-active & {
87
- // In high contrast mode the rgba background will become solid
88
- // so we need to fall back to making it opaque using `opacity`.
89
- opacity: 0.6;
90
- }
84
+ // Note that we can't import and use the `high-contrast` mixin from `_a11y.scss`, because
85
+ // this file will be copied to the top-level `cdk` package when putting together the files
86
+ // for npm. Any relative import paths we use here will become invalid once the file is copied.
87
+ .cdk-high-contrast-active & {
88
+ // In high contrast mode the rgba background will become solid
89
+ // so we need to fall back to making it opaque using `opacity`.
90
+ opacity: 0.6;
91
91
  }
92
92
  }
93
93
 
94
94
  .cdk-overlay-dark-backdrop {
95
- background: $overlay-backdrop-color;
95
+ // Add a CSS variable to make this easier to override.
96
+ background: var(--cdk-overlay-backdrop-dark-color, $overlay-backdrop-color);
96
97
  }
97
98
 
98
99
  .cdk-overlay-transparent-backdrop {
@@ -105,7 +106,8 @@ $backdrop-animation-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
105
106
  // capturing the user's mouse scroll events. Since we also can't use something like
106
107
  // `rgba(0, 0, 0, 0)`, we work around the inconsistency by not setting the background at
107
108
  // all and using `opacity` to make the element transparent.
108
- &.cdk-overlay-backdrop-showing {
109
+ &.cdk-overlay-backdrop-showing,
110
+ .cdk-high-contrast-active & {
109
111
  opacity: 0;
110
112
  visibility: visible;
111
113
  }
@@ -1,3 +1,4 @@
1
+ import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
1
2
  import { CdkScrollable } from '@angular/cdk/scrolling';
2
3
  import { ComponentFactoryResolver } from '@angular/core';
3
4
  import { ComponentPortal } from '@angular/cdk/portal';
@@ -721,6 +722,7 @@ export declare class Overlay {
721
722
  private _outsideClickDispatcher;
722
723
  private _animationsModuleType?;
723
724
  private _appRef;
725
+ private _styleLoader;
724
726
  constructor(
725
727
  /** Scrolling strategies that can be used when creating an overlay. */
726
728
  scrollStrategies: ScrollStrategyOptions, _overlayContainer: OverlayContainer, _componentFactoryResolver: ComponentFactoryResolver, _positionBuilder: OverlayPositionBuilder, _keyboardDispatcher: OverlayKeyboardDispatcher, _injector: Injector, _ngZone: NgZone, _document: any, _directionality: Directionality, _location: Location_2, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsModuleType?: string | undefined);
@@ -806,6 +808,7 @@ export declare class OverlayContainer implements OnDestroy {
806
808
  protected _platform: Platform;
807
809
  protected _containerElement: HTMLElement;
808
810
  protected _document: Document;
811
+ protected _styleLoader: _CdkPrivateStyleLoader;
809
812
  constructor(document: any, _platform: Platform);
810
813
  ngOnDestroy(): void;
811
814
  /**
@@ -820,6 +823,8 @@ export declare class OverlayContainer implements OnDestroy {
820
823
  * with the 'cdk-overlay-container' class on the document body.
821
824
  */
822
825
  protected _createContainer(): void;
826
+ /** Loads the structural styles necessary for the overlay to work. */
827
+ protected _loadStyles(): void;
823
828
  static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainer, never>;
824
829
  static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainer>;
825
830
  }
@@ -936,7 +941,7 @@ export declare class OverlayRef implements PortalOutlet {
936
941
  readonly _outsidePointerEvents: Subject<MouseEvent>;
937
942
  private _renders;
938
943
  private _afterRenderRef;
939
- constructor(_portalOutlet: PortalOutlet, _host: HTMLElement, _pane: HTMLElement, _config: ImmutableObject<OverlayConfig>, _ngZone: NgZone, _keyboardDispatcher: OverlayKeyboardDispatcher, _document: Document, _location: Location_2, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsDisabled: boolean, _injector: EnvironmentInjector);
944
+ constructor(_portalOutlet: PortalOutlet, _host: HTMLElement, _pane: HTMLElement, _config: ImmutableObject<OverlayConfig>, _ngZone: NgZone, _keyboardDispatcher: OverlayKeyboardDispatcher, _document: Document, _location: Location_2, _outsideClickDispatcher: OverlayOutsideClickDispatcher, _animationsDisabled: boolean | undefined, _injector: EnvironmentInjector);
940
945
  /** The overlay's HTML element */
941
946
  get overlayElement(): HTMLElement;
942
947
  /** The overlay's backdrop HTML element. */
@@ -1 +1 @@
1
- .cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
1
+ .cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);opacity:0}.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:var(--cdk-overlay-backdrop-dark-color, rgba(0, 0, 0, 0.32))}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "19.0.0-next.1",
3
+ "version": "19.0.0-next.3",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,6 @@
22
22
  ".": {
23
23
  "sass": "./_index.scss",
24
24
  "types": "./index.d.ts",
25
- "esm2022": "./esm2022/index.mjs",
26
- "esm": "./esm2022/index.mjs",
27
25
  "default": "./fesm2022/cdk.mjs"
28
26
  },
29
27
  "./a11y-prebuilt.css": {
@@ -52,164 +50,110 @@
52
50
  },
53
51
  "./a11y": {
54
52
  "types": "./a11y/index.d.ts",
55
- "esm2022": "./esm2022/a11y/a11y_public_index.mjs",
56
- "esm": "./esm2022/a11y/a11y_public_index.mjs",
57
53
  "default": "./fesm2022/a11y.mjs"
58
54
  },
59
55
  "./accordion": {
60
56
  "types": "./accordion/index.d.ts",
61
- "esm2022": "./esm2022/accordion/accordion_public_index.mjs",
62
- "esm": "./esm2022/accordion/accordion_public_index.mjs",
63
57
  "default": "./fesm2022/accordion.mjs"
64
58
  },
65
59
  "./bidi": {
66
60
  "types": "./bidi/index.d.ts",
67
- "esm2022": "./esm2022/bidi/bidi_public_index.mjs",
68
- "esm": "./esm2022/bidi/bidi_public_index.mjs",
69
61
  "default": "./fesm2022/bidi.mjs"
70
62
  },
71
63
  "./clipboard": {
72
64
  "types": "./clipboard/index.d.ts",
73
- "esm2022": "./esm2022/clipboard/clipboard_public_index.mjs",
74
- "esm": "./esm2022/clipboard/clipboard_public_index.mjs",
75
65
  "default": "./fesm2022/clipboard.mjs"
76
66
  },
77
67
  "./coercion": {
78
68
  "types": "./coercion/index.d.ts",
79
- "esm2022": "./esm2022/coercion/index.mjs",
80
- "esm": "./esm2022/coercion/index.mjs",
81
69
  "default": "./fesm2022/coercion.mjs"
82
70
  },
83
71
  "./coercion/private": {
84
72
  "types": "./coercion/private/index.d.ts",
85
- "esm2022": "./esm2022/coercion/private/private_public_index.mjs",
86
- "esm": "./esm2022/coercion/private/private_public_index.mjs",
87
73
  "default": "./fesm2022/coercion/private.mjs"
88
74
  },
89
75
  "./collections": {
90
76
  "types": "./collections/index.d.ts",
91
- "esm2022": "./esm2022/collections/collections_public_index.mjs",
92
- "esm": "./esm2022/collections/collections_public_index.mjs",
93
77
  "default": "./fesm2022/collections.mjs"
94
78
  },
95
79
  "./dialog": {
96
80
  "types": "./dialog/index.d.ts",
97
- "esm2022": "./esm2022/dialog/dialog_public_index.mjs",
98
- "esm": "./esm2022/dialog/dialog_public_index.mjs",
99
81
  "default": "./fesm2022/dialog.mjs"
100
82
  },
101
83
  "./drag-drop": {
102
84
  "types": "./drag-drop/index.d.ts",
103
- "esm2022": "./esm2022/drag-drop/drag-drop_public_index.mjs",
104
- "esm": "./esm2022/drag-drop/drag-drop_public_index.mjs",
105
85
  "default": "./fesm2022/drag-drop.mjs"
106
86
  },
107
87
  "./keycodes": {
108
88
  "types": "./keycodes/index.d.ts",
109
- "esm2022": "./esm2022/keycodes/keycodes_public_index.mjs",
110
- "esm": "./esm2022/keycodes/keycodes_public_index.mjs",
111
89
  "default": "./fesm2022/keycodes.mjs"
112
90
  },
113
91
  "./layout": {
114
92
  "types": "./layout/index.d.ts",
115
- "esm2022": "./esm2022/layout/layout_public_index.mjs",
116
- "esm": "./esm2022/layout/layout_public_index.mjs",
117
93
  "default": "./fesm2022/layout.mjs"
118
94
  },
119
95
  "./listbox": {
120
96
  "types": "./listbox/index.d.ts",
121
- "esm2022": "./esm2022/listbox/listbox_public_index.mjs",
122
- "esm": "./esm2022/listbox/listbox_public_index.mjs",
123
97
  "default": "./fesm2022/listbox.mjs"
124
98
  },
125
99
  "./menu": {
126
100
  "types": "./menu/index.d.ts",
127
- "esm2022": "./esm2022/menu/menu_public_index.mjs",
128
- "esm": "./esm2022/menu/menu_public_index.mjs",
129
101
  "default": "./fesm2022/menu.mjs"
130
102
  },
131
103
  "./observers": {
132
104
  "types": "./observers/index.d.ts",
133
- "esm2022": "./esm2022/observers/observers_public_index.mjs",
134
- "esm": "./esm2022/observers/observers_public_index.mjs",
135
105
  "default": "./fesm2022/observers.mjs"
136
106
  },
137
107
  "./observers/private": {
138
108
  "types": "./observers/private/index.d.ts",
139
- "esm2022": "./esm2022/observers/private/private_public_index.mjs",
140
- "esm": "./esm2022/observers/private/private_public_index.mjs",
141
109
  "default": "./fesm2022/observers/private.mjs"
142
110
  },
143
111
  "./overlay": {
144
112
  "types": "./overlay/index.d.ts",
145
- "esm2022": "./esm2022/overlay/overlay_public_index.mjs",
146
- "esm": "./esm2022/overlay/overlay_public_index.mjs",
147
113
  "default": "./fesm2022/overlay.mjs"
148
114
  },
149
115
  "./platform": {
150
116
  "types": "./platform/index.d.ts",
151
- "esm2022": "./esm2022/platform/platform_public_index.mjs",
152
- "esm": "./esm2022/platform/platform_public_index.mjs",
153
117
  "default": "./fesm2022/platform.mjs"
154
118
  },
155
119
  "./portal": {
156
120
  "types": "./portal/index.d.ts",
157
- "esm2022": "./esm2022/portal/portal_public_index.mjs",
158
- "esm": "./esm2022/portal/portal_public_index.mjs",
159
121
  "default": "./fesm2022/portal.mjs"
160
122
  },
161
123
  "./private": {
162
124
  "types": "./private/index.d.ts",
163
- "esm2022": "./esm2022/private/private_public_index.mjs",
164
- "esm": "./esm2022/private/private_public_index.mjs",
165
125
  "default": "./fesm2022/private.mjs"
166
126
  },
167
127
  "./scrolling": {
168
128
  "types": "./scrolling/index.d.ts",
169
- "esm2022": "./esm2022/scrolling/scrolling_public_index.mjs",
170
- "esm": "./esm2022/scrolling/scrolling_public_index.mjs",
171
129
  "default": "./fesm2022/scrolling.mjs"
172
130
  },
173
131
  "./stepper": {
174
132
  "types": "./stepper/index.d.ts",
175
- "esm2022": "./esm2022/stepper/stepper_public_index.mjs",
176
- "esm": "./esm2022/stepper/stepper_public_index.mjs",
177
133
  "default": "./fesm2022/stepper.mjs"
178
134
  },
179
135
  "./table": {
180
136
  "types": "./table/index.d.ts",
181
- "esm2022": "./esm2022/table/table_public_index.mjs",
182
- "esm": "./esm2022/table/table_public_index.mjs",
183
137
  "default": "./fesm2022/table.mjs"
184
138
  },
185
139
  "./testing": {
186
140
  "types": "./testing/index.d.ts",
187
- "esm2022": "./esm2022/testing/index.mjs",
188
- "esm": "./esm2022/testing/index.mjs",
189
141
  "default": "./fesm2022/testing.mjs"
190
142
  },
191
143
  "./testing/selenium-webdriver": {
192
144
  "types": "./testing/selenium-webdriver/index.d.ts",
193
- "esm2022": "./esm2022/testing/selenium-webdriver/index.mjs",
194
- "esm": "./esm2022/testing/selenium-webdriver/index.mjs",
195
145
  "default": "./fesm2022/testing/selenium-webdriver.mjs"
196
146
  },
197
147
  "./testing/testbed": {
198
148
  "types": "./testing/testbed/index.d.ts",
199
- "esm2022": "./esm2022/testing/testbed/index.mjs",
200
- "esm": "./esm2022/testing/testbed/index.mjs",
201
149
  "default": "./fesm2022/testing/testbed.mjs"
202
150
  },
203
151
  "./text-field": {
204
152
  "types": "./text-field/index.d.ts",
205
- "esm2022": "./esm2022/text-field/text-field_public_index.mjs",
206
- "esm": "./esm2022/text-field/text-field_public_index.mjs",
207
153
  "default": "./fesm2022/text-field.mjs"
208
154
  },
209
155
  "./tree": {
210
156
  "types": "./tree/index.d.ts",
211
- "esm2022": "./esm2022/tree/tree_public_index.mjs",
212
- "esm": "./esm2022/tree/tree_public_index.mjs",
213
157
  "default": "./fesm2022/tree.mjs"
214
158
  }
215
159
  },
@@ -7,6 +7,7 @@ import { Type } from '@angular/core';
7
7
  */
8
8
  export declare class _CdkPrivateStyleLoader {
9
9
  private _appRef;
10
+ private _injector;
10
11
  private _environmentInjector;
11
12
  /**
12
13
  * Loads a set of styles.
@@ -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.0.0-next.1`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.3`);
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.0.0-next.1`);
32
+ (0, package_config_1.addPackageToPackageJson)(host, '@angular/cdk', `~19.0.0-next.3`);
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());
@@ -184,6 +184,7 @@ export declare class CdkVirtualForOf<T> implements CdkVirtualScrollRepeater<T>,
184
184
  /** Update the computed properties on the `CdkVirtualForOfContext`. */
185
185
  private _updateComputedContextProperties;
186
186
  private _getEmbeddedViewArgs;
187
+ static ngTemplateContextGuard<T>(directive: CdkVirtualForOf<T>, context: unknown): context is CdkVirtualForOfContext<T>;
187
188
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkVirtualForOf<any>, [null, null, null, null, { skipSelf: true; }, null]>;
188
189
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkVirtualForOf<any>, "[cdkVirtualFor][cdkVirtualForOf]", never, { "cdkVirtualForOf": { "alias": "cdkVirtualForOf"; "required": false; }; "cdkVirtualForTrackBy": { "alias": "cdkVirtualForTrackBy"; "required": false; }; "cdkVirtualForTemplate": { "alias": "cdkVirtualForTemplate"; "required": false; }; "cdkVirtualForTemplateCacheSize": { "alias": "cdkVirtualForTemplateCacheSize"; "required": false; }; }, {}, never, never, true, never>;
189
190
  }
package/table/index.d.ts CHANGED
@@ -184,7 +184,7 @@ export declare interface CdkCellOutletRowContext<T> {
184
184
  * Defines a set of cells available for a table column.
185
185
  */
186
186
  export declare class CdkColumnDef implements CanStick {
187
- _table?: any | undefined;
187
+ _table?: any;
188
188
  private _hasStickyChanged;
189
189
  /** Unique name for this column. */
190
190
  get name(): string;
@@ -219,7 +219,7 @@ export declare class CdkColumnDef implements CanStick {
219
219
  * @docs-private
220
220
  */
221
221
  _columnCssClassName: string[];
222
- constructor(_table?: any | undefined);
222
+ constructor(_table?: any);
223
223
  /** Whether the sticky state has changed. */
224
224
  hasStickyChanged(): boolean;
225
225
  /** Resets the sticky changed state. */
@@ -274,13 +274,13 @@ export declare class CdkFooterRow {
274
274
  * Captures the footer row's template and other footer properties such as the columns to display.
275
275
  */
276
276
  export declare class CdkFooterRowDef extends BaseRowDef implements CanStick, OnChanges {
277
- _table?: any | undefined;
277
+ _table?: any;
278
278
  private _hasStickyChanged;
279
279
  /** Whether the row is sticky. */
280
280
  get sticky(): boolean;
281
281
  set sticky(value: boolean);
282
282
  private _sticky;
283
- constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any | undefined);
283
+ constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
284
284
  ngOnChanges(changes: SimpleChanges): void;
285
285
  /** Whether the sticky state has changed. */
286
286
  hasStickyChanged(): boolean;
@@ -320,13 +320,13 @@ export declare class CdkHeaderRow {
320
320
  * Captures the header row's template and other header properties such as the columns to display.
321
321
  */
322
322
  export declare class CdkHeaderRowDef extends BaseRowDef implements CanStick, OnChanges {
323
- _table?: any | undefined;
323
+ _table?: any;
324
324
  private _hasStickyChanged;
325
325
  /** Whether the row is sticky. */
326
326
  get sticky(): boolean;
327
327
  set sticky(value: boolean);
328
328
  private _sticky;
329
- constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any | undefined);
329
+ constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
330
330
  ngOnChanges(changes: SimpleChanges): void;
331
331
  /** Whether the sticky state has changed. */
332
332
  hasStickyChanged(): boolean;
@@ -367,7 +367,7 @@ export declare class CdkRow {
367
367
  * a when predicate that describes when this row should be used.
368
368
  */
369
369
  export declare class CdkRowDef<T> extends BaseRowDef {
370
- _table?: any | undefined;
370
+ _table?: any;
371
371
  /**
372
372
  * Function that should return true if this row template should be used for the provided index
373
373
  * and row data. If left undefined, this row will be considered the default row template to use
@@ -375,7 +375,7 @@ export declare class CdkRowDef<T> extends BaseRowDef {
375
375
  * For every row, there must be at least one when function that passes or an undefined to default.
376
376
  */
377
377
  when: (index: number, rowData: T) => boolean;
378
- constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any | undefined);
378
+ constructor(template: TemplateRef<any>, _differs: IterableDiffers, _table?: any);
379
379
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkRowDef<any>, [null, null, { optional: true; }]>;
380
380
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkRowDef<any>, "[cdkRowDef]", never, { "columns": { "alias": "cdkRowDefColumns"; "required": false; }; "when": { "alias": "cdkRowDefWhen"; "required": false; }; }, {}, never, never, true, never>;
381
381
  }
@@ -26,6 +26,7 @@ export declare type AutofillEvent = {
26
26
  export declare class AutofillMonitor implements OnDestroy {
27
27
  private _platform;
28
28
  private _ngZone;
29
+ private _styleLoader;
29
30
  private _monitoredElements;
30
31
  constructor(_platform: Platform, _ngZone: NgZone);
31
32
  /**
package/tree/index.d.ts CHANGED
@@ -212,7 +212,7 @@ export declare class CdkTree<T, K = T> implements AfterContentChecked, AfterCont
212
212
  /** The key manager for this tree. Handles focus and activation based on user keyboard input. */
213
213
  _keyManager: TreeKeyManagerStrategy<CdkTreeNode<T, K>>;
214
214
  private _viewInit;
215
- constructor(_differs: IterableDiffers, _changeDetectorRef: ChangeDetectorRef, _dir: Directionality);
215
+ constructor(_differs: IterableDiffers, _changeDetectorRef: ChangeDetectorRef);
216
216
  ngAfterContentInit(): void;
217
217
  ngAfterContentChecked(): void;
218
218
  ngOnDestroy(): void;
@@ -282,7 +282,7 @@ export declare class CdkTree<T, K = T> implements AfterContentChecked, AfterCont
282
282
  /** Level accessor, used for compatibility between the old Tree and new Tree */
283
283
  _getLevelAccessor(): ((dataNode: T) => number) | undefined;
284
284
  /** Children accessor, used for compatibility between the old Tree and new Tree */
285
- _getChildrenAccessor(): ((dataNode: T) => Observable<T[]> | T[] | undefined | null) | undefined;
285
+ _getChildrenAccessor(): ((dataNode: T) => T[] | Observable<T[]> | null | undefined) | undefined;
286
286
  /**
287
287
  * Gets the direct children of a node; used for compatibility between the old tree and the
288
288
  * new tree.
@@ -476,6 +476,8 @@ export declare class CdkTreeNode<T, K = T> implements OnDestroy, OnInit, TreeKey
476
476
  collapse(): void;
477
477
  /** Expands this data node. Implemented for TreeKeyManagerItem. */
478
478
  expand(): void;
479
+ /** Makes the node focusable. Implemented for TreeKeyManagerItem. */
480
+ makeFocusable(): void;
479
481
  _focusItem(): void;
480
482
  _setActiveItem(): void;
481
483
  _emitExpansionState(expanded: boolean): void;
@@ -511,8 +513,8 @@ export declare class CdkTreeNodeDef<T> {
511
513
  */
512
514
  export declare class CdkTreeNodeOutlet {
513
515
  viewContainer: ViewContainerRef;
514
- _node?: any | undefined;
515
- constructor(viewContainer: ViewContainerRef, _node?: any | undefined);
516
+ _node?: any;
517
+ constructor(viewContainer: ViewContainerRef, _node?: any);
516
518
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkTreeNodeOutlet, [null, { optional: true; }]>;
517
519
  static ɵdir: i0.ɵɵDirectiveDeclaration<CdkTreeNodeOutlet, "[cdkTreeNodeOutlet]", never, {}, {}, never, never, true, never>;
518
520
  }
@@ -1,31 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ObserversModule } from '@angular/cdk/observers';
9
- import { NgModule } from '@angular/core';
10
- import { CdkMonitorFocus } from './focus-monitor/focus-monitor';
11
- import { CdkTrapFocus } from './focus-trap/focus-trap';
12
- import { HighContrastModeDetector } from './high-contrast-mode/high-contrast-mode-detector';
13
- import { CdkAriaLive } from './live-announcer/live-announcer';
14
- import * as i0 from "@angular/core";
15
- import * as i1 from "./high-contrast-mode/high-contrast-mode-detector";
16
- export class A11yModule {
17
- constructor(highContrastModeDetector) {
18
- highContrastModeDetector._applyBodyHighContrastModeCssClasses();
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: A11yModule, deps: [{ token: i1.HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }
21
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0-next.2", ngImport: i0, type: A11yModule, imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }
22
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: A11yModule, decorators: [{
25
- type: NgModule,
26
- args: [{
27
- imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
28
- exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
29
- }]
30
- }], ctorParameters: () => [{ type: i1.HighContrastModeDetector }] });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYTExeS1tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL2ExMXkvYTExeS1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3ZELE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLCtCQUErQixDQUFDO0FBQzlELE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUNyRCxPQUFPLEVBQUMsd0JBQXdCLEVBQUMsTUFBTSxrREFBa0QsQ0FBQztBQUMxRixPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0saUNBQWlDLENBQUM7OztBQU01RCxNQUFNLE9BQU8sVUFBVTtJQUNyQixZQUFZLHdCQUFrRDtRQUM1RCx3QkFBd0IsQ0FBQyxvQ0FBb0MsRUFBRSxDQUFDO0lBQ2xFLENBQUM7cUhBSFUsVUFBVTtzSEFBVixVQUFVLFlBSFgsZUFBZSxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsZUFBZSxhQUMzRCxXQUFXLEVBQUUsWUFBWSxFQUFFLGVBQWU7c0hBRXpDLFVBQVUsWUFIWCxlQUFlOztrR0FHZCxVQUFVO2tCQUp0QixRQUFRO21CQUFDO29CQUNSLE9BQU8sRUFBRSxDQUFDLGVBQWUsRUFBRSxXQUFXLEVBQUUsWUFBWSxFQUFFLGVBQWUsQ0FBQztvQkFDdEUsT0FBTyxFQUFFLENBQUMsV0FBVyxFQUFFLFlBQVksRUFBRSxlQUFlLENBQUM7aUJBQ3REIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbmltcG9ydCB7T2JzZXJ2ZXJzTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jZGsvb2JzZXJ2ZXJzJztcbmltcG9ydCB7TmdNb2R1bGV9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtDZGtNb25pdG9yRm9jdXN9IGZyb20gJy4vZm9jdXMtbW9uaXRvci9mb2N1cy1tb25pdG9yJztcbmltcG9ydCB7Q2RrVHJhcEZvY3VzfSBmcm9tICcuL2ZvY3VzLXRyYXAvZm9jdXMtdHJhcCc7XG5pbXBvcnQge0hpZ2hDb250cmFzdE1vZGVEZXRlY3Rvcn0gZnJvbSAnLi9oaWdoLWNvbnRyYXN0LW1vZGUvaGlnaC1jb250cmFzdC1tb2RlLWRldGVjdG9yJztcbmltcG9ydCB7Q2RrQXJpYUxpdmV9IGZyb20gJy4vbGl2ZS1hbm5vdW5jZXIvbGl2ZS1hbm5vdW5jZXInO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbT2JzZXJ2ZXJzTW9kdWxlLCBDZGtBcmlhTGl2ZSwgQ2RrVHJhcEZvY3VzLCBDZGtNb25pdG9yRm9jdXNdLFxuICBleHBvcnRzOiBbQ2RrQXJpYUxpdmUsIENka1RyYXBGb2N1cywgQ2RrTW9uaXRvckZvY3VzXSxcbn0pXG5leHBvcnQgY2xhc3MgQTExeU1vZHVsZSB7XG4gIGNvbnN0cnVjdG9yKGhpZ2hDb250cmFzdE1vZGVEZXRlY3RvcjogSGlnaENvbnRyYXN0TW9kZURldGVjdG9yKSB7XG4gICAgaGlnaENvbnRyYXN0TW9kZURldGVjdG9yLl9hcHBseUJvZHlIaWdoQ29udHJhc3RNb2RlQ3NzQ2xhc3NlcygpO1xuICB9XG59XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYTExeV9wdWJsaWNfaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL2ExMXkvYTExeV9wdWJsaWNfaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=