@angular/cdk 21.0.0 → 21.1.0-next.0

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 (65) hide show
  1. package/fesm2022/_a11y-module-chunk.mjs +23 -23
  2. package/fesm2022/_a11y-module-chunk.mjs.map +1 -1
  3. package/fesm2022/_breakpoints-observer-chunk.mjs +6 -6
  4. package/fesm2022/_breakpoints-observer-chunk.mjs.map +1 -1
  5. package/fesm2022/_directionality-chunk.mjs +3 -3
  6. package/fesm2022/_directionality-chunk.mjs.map +1 -1
  7. package/fesm2022/_focus-monitor-chunk.mjs +9 -9
  8. package/fesm2022/_focus-monitor-chunk.mjs.map +1 -1
  9. package/fesm2022/_id-generator-chunk.mjs +3 -3
  10. package/fesm2022/_id-generator-chunk.mjs.map +1 -1
  11. package/fesm2022/_overlay-module-chunk.mjs +52 -68
  12. package/fesm2022/_overlay-module-chunk.mjs.map +1 -1
  13. package/fesm2022/_platform-chunk.mjs +3 -3
  14. package/fesm2022/_platform-chunk.mjs.map +1 -1
  15. package/fesm2022/_style-loader-chunk.mjs +3 -3
  16. package/fesm2022/_style-loader-chunk.mjs.map +1 -1
  17. package/fesm2022/_unique-selection-dispatcher-chunk.mjs +3 -3
  18. package/fesm2022/_unique-selection-dispatcher-chunk.mjs.map +1 -1
  19. package/fesm2022/_visually-hidden-chunk.mjs +46 -0
  20. package/fesm2022/_visually-hidden-chunk.mjs.map +1 -0
  21. package/fesm2022/a11y.mjs +10 -10
  22. package/fesm2022/a11y.mjs.map +1 -1
  23. package/fesm2022/accordion.mjs +10 -10
  24. package/fesm2022/accordion.mjs.map +1 -1
  25. package/fesm2022/bidi.mjs +7 -7
  26. package/fesm2022/bidi.mjs.map +1 -1
  27. package/fesm2022/cdk.mjs +1 -1
  28. package/fesm2022/cdk.mjs.map +1 -1
  29. package/fesm2022/clipboard.mjs +10 -10
  30. package/fesm2022/clipboard.mjs.map +1 -1
  31. package/fesm2022/dialog.mjs +11 -11
  32. package/fesm2022/dialog.mjs.map +1 -1
  33. package/fesm2022/drag-drop.mjs +31 -31
  34. package/fesm2022/drag-drop.mjs.map +1 -1
  35. package/fesm2022/layout.mjs +4 -4
  36. package/fesm2022/listbox.mjs +10 -10
  37. package/fesm2022/listbox.mjs.map +1 -1
  38. package/fesm2022/menu.mjs +49 -49
  39. package/fesm2022/menu.mjs.map +1 -1
  40. package/fesm2022/observers-private.mjs +3 -3
  41. package/fesm2022/observers-private.mjs.map +1 -1
  42. package/fesm2022/observers.mjs +13 -13
  43. package/fesm2022/observers.mjs.map +1 -1
  44. package/fesm2022/overlay.mjs +3 -3
  45. package/fesm2022/overlay.mjs.map +1 -1
  46. package/fesm2022/platform.mjs +4 -4
  47. package/fesm2022/portal.mjs +10 -10
  48. package/fesm2022/portal.mjs.map +1 -1
  49. package/fesm2022/private.mjs +20 -42
  50. package/fesm2022/private.mjs.map +1 -1
  51. package/fesm2022/scrolling.mjs +35 -35
  52. package/fesm2022/scrolling.mjs.map +1 -1
  53. package/fesm2022/stepper.mjs +22 -22
  54. package/fesm2022/stepper.mjs.map +1 -1
  55. package/fesm2022/table.mjs +73 -73
  56. package/fesm2022/table.mjs.map +1 -1
  57. package/fesm2022/testing-testbed.mjs +6 -3
  58. package/fesm2022/testing-testbed.mjs.map +1 -1
  59. package/fesm2022/text-field.mjs +16 -16
  60. package/fesm2022/text-field.mjs.map +1 -1
  61. package/fesm2022/tree.mjs +25 -25
  62. package/fesm2022/tree.mjs.map +1 -1
  63. package/package.json +3 -3
  64. package/schematics/ng-add/index.js +1 -1
  65. package/types/private.d.ts +17 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/cdk",
3
- "version": "21.0.0",
3
+ "version": "21.1.0-next.0",
4
4
  "description": "Angular Material Component Development Kit",
5
5
  "repository": {
6
6
  "type": "git",
@@ -158,8 +158,8 @@
158
158
  }
159
159
  },
160
160
  "peerDependencies": {
161
- "@angular/core": "^21.0.0 || ^22.0.0",
162
- "@angular/common": "^21.0.0 || ^22.0.0",
161
+ "@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
162
+ "@angular/common": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0",
163
163
  "rxjs": "^6.5.3 || ^7.4.0"
164
164
  },
165
165
  "dependencies": {
@@ -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`, { existing: utility_1.ExistingBehavior.Skip });
29
+ return (0, utility_1.addDependency)('@angular/cdk', `~21.1.0-next.0`, { existing: utility_1.ExistingBehavior.Skip });
30
30
  }
31
31
  //# sourceMappingURL=index.js.map
@@ -10,4 +10,20 @@ declare class _VisuallyHiddenLoader {
10
10
  static ɵcmp: i0.ɵɵComponentDeclaration<_VisuallyHiddenLoader, "ng-component", ["cdkVisuallyHidden"], {}, {}, never, never, true, never>;
11
11
  }
12
12
 
13
- export { _VisuallyHiddenLoader };
13
+ interface TrustedHTML {
14
+ __brand__: 'TrustedHTML';
15
+ }
16
+ /**
17
+ * Unsafely promote a string to a TrustedHTML, falling back to strings when
18
+ * Trusted Types are not available.
19
+ *
20
+ * Important!!! This is a security-sensitive function; any use of this function
21
+ * must go through security review. In particular, it must be assured that the
22
+ * provided string will never cause an XSS vulnerability if used in a context
23
+ * that will be interpreted as HTML by a browser, e.g. when assigning to
24
+ * element.innerHTML.
25
+ */
26
+ declare function trustedHTMLFromString(html: string): TrustedHTML;
27
+
28
+ export { _VisuallyHiddenLoader, trustedHTMLFromString };
29
+ export type { TrustedHTML };