@angular/material 17.0.0-rc.1 → 17.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.
Files changed (251) hide show
  1. package/button/_button-base.scss +37 -18
  2. package/button/_button-theme.scss +86 -142
  3. package/button/_fab-theme.scss +21 -49
  4. package/button/_icon-button-theme.scss +25 -25
  5. package/core/_core-theme.scss +4 -4
  6. package/core/ripple/_ripple-theme.scss +27 -17
  7. package/core/ripple/_ripple.scss +8 -0
  8. package/core/theming/_theming.scss +0 -14
  9. package/core/tokens/m2/mat/_fab.scss +87 -0
  10. package/core/tokens/m2/mat/_filled-button.scss +76 -0
  11. package/core/tokens/m2/mat/_icon-button.scss +73 -0
  12. package/core/tokens/m2/mat/_outlined-button.scss +73 -0
  13. package/core/tokens/m2/mat/_protected-button.scss +76 -0
  14. package/core/tokens/m2/mat/_ripple.scss +49 -0
  15. package/core/tokens/m2/mat/_text-button.scss +73 -0
  16. package/core/tokens/m2/mdc/_extended-fab.scss +3 -0
  17. package/core/tokens/m2/mdc/_fab.scss +17 -3
  18. package/core/tokens/m2/mdc/_filled-button.scss +24 -18
  19. package/core/tokens/m2/mdc/_icon-button.scss +0 -3
  20. package/core/tokens/m2/mdc/_outlined-button.scss +120 -0
  21. package/core/tokens/m2/mdc/_protected-button.scss +24 -19
  22. package/dialog/index.d.ts +2 -1
  23. package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
  24. package/esm2022/autocomplete/autocomplete-trigger.mjs +3 -3
  25. package/esm2022/autocomplete/autocomplete.mjs +3 -3
  26. package/esm2022/autocomplete/module.mjs +4 -4
  27. package/esm2022/badge/badge-module.mjs +4 -4
  28. package/esm2022/badge/badge.mjs +3 -3
  29. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +3 -3
  30. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
  31. package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
  32. package/esm2022/button/button-base.mjs +6 -6
  33. package/esm2022/button/button.mjs +8 -8
  34. package/esm2022/button/fab.mjs +16 -16
  35. package/esm2022/button/icon-button.mjs +8 -8
  36. package/esm2022/button/module.mjs +4 -4
  37. package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
  38. package/esm2022/button-toggle/button-toggle.mjs +6 -6
  39. package/esm2022/card/card.mjs +42 -42
  40. package/esm2022/card/module.mjs +4 -4
  41. package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
  42. package/esm2022/checkbox/checkbox.mjs +3 -3
  43. package/esm2022/checkbox/module.mjs +8 -8
  44. package/esm2022/chips/chip-action.mjs +3 -3
  45. package/esm2022/chips/chip-edit-input.mjs +3 -3
  46. package/esm2022/chips/chip-grid.mjs +3 -3
  47. package/esm2022/chips/chip-icons.mjs +9 -9
  48. package/esm2022/chips/chip-input.mjs +3 -3
  49. package/esm2022/chips/chip-listbox.mjs +3 -3
  50. package/esm2022/chips/chip-option.mjs +3 -3
  51. package/esm2022/chips/chip-row.mjs +3 -3
  52. package/esm2022/chips/chip-set.mjs +3 -3
  53. package/esm2022/chips/chip.mjs +3 -3
  54. package/esm2022/chips/module.mjs +4 -4
  55. package/esm2022/core/common-behaviors/common-module.mjs +4 -4
  56. package/esm2022/core/datetime/index.mjs +8 -8
  57. package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
  58. package/esm2022/core/error/error-options.mjs +6 -6
  59. package/esm2022/core/line/line.mjs +7 -7
  60. package/esm2022/core/option/index.mjs +4 -4
  61. package/esm2022/core/option/optgroup.mjs +3 -3
  62. package/esm2022/core/option/option.mjs +3 -3
  63. package/esm2022/core/private/ripple-loader.mjs +3 -3
  64. package/esm2022/core/ripple/index.mjs +4 -4
  65. package/esm2022/core/ripple/ripple.mjs +3 -3
  66. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
  67. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
  68. package/esm2022/core/version.mjs +1 -1
  69. package/esm2022/datepicker/calendar-body.mjs +3 -3
  70. package/esm2022/datepicker/calendar.mjs +6 -6
  71. package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
  72. package/esm2022/datepicker/date-range-input.mjs +3 -3
  73. package/esm2022/datepicker/date-range-picker.mjs +3 -3
  74. package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
  75. package/esm2022/datepicker/date-selection-model.mjs +9 -9
  76. package/esm2022/datepicker/datepicker-actions.mjs +9 -9
  77. package/esm2022/datepicker/datepicker-base.mjs +6 -6
  78. package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
  79. package/esm2022/datepicker/datepicker-input.mjs +3 -3
  80. package/esm2022/datepicker/datepicker-intl.mjs +3 -3
  81. package/esm2022/datepicker/datepicker-module.mjs +4 -4
  82. package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
  83. package/esm2022/datepicker/datepicker.mjs +3 -3
  84. package/esm2022/datepicker/month-view.mjs +3 -3
  85. package/esm2022/datepicker/multi-year-view.mjs +3 -3
  86. package/esm2022/datepicker/year-view.mjs +3 -3
  87. package/esm2022/dialog/dialog-container.mjs +3 -3
  88. package/esm2022/dialog/dialog-content-directives.mjs +12 -12
  89. package/esm2022/dialog/dialog.mjs +4 -4
  90. package/esm2022/dialog/module.mjs +4 -4
  91. package/esm2022/divider/divider-module.mjs +4 -4
  92. package/esm2022/divider/divider.mjs +3 -3
  93. package/esm2022/expansion/accordion.mjs +3 -3
  94. package/esm2022/expansion/expansion-module.mjs +4 -4
  95. package/esm2022/expansion/expansion-panel-content.mjs +3 -3
  96. package/esm2022/expansion/expansion-panel-header.mjs +9 -9
  97. package/esm2022/expansion/expansion-panel.mjs +6 -6
  98. package/esm2022/form-field/directives/error.mjs +3 -3
  99. package/esm2022/form-field/directives/floating-label.mjs +3 -3
  100. package/esm2022/form-field/directives/hint.mjs +3 -3
  101. package/esm2022/form-field/directives/label.mjs +3 -3
  102. package/esm2022/form-field/directives/line-ripple.mjs +3 -3
  103. package/esm2022/form-field/directives/notched-outline.mjs +3 -3
  104. package/esm2022/form-field/directives/prefix.mjs +3 -3
  105. package/esm2022/form-field/directives/suffix.mjs +3 -3
  106. package/esm2022/form-field/form-field-control.mjs +3 -3
  107. package/esm2022/form-field/form-field.mjs +3 -3
  108. package/esm2022/form-field/module.mjs +4 -4
  109. package/esm2022/grid-list/grid-list-module.mjs +4 -4
  110. package/esm2022/grid-list/grid-list.mjs +3 -3
  111. package/esm2022/grid-list/grid-tile.mjs +15 -15
  112. package/esm2022/icon/icon-module.mjs +4 -4
  113. package/esm2022/icon/icon-registry.mjs +3 -3
  114. package/esm2022/icon/icon.mjs +3 -3
  115. package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
  116. package/esm2022/input/input.mjs +3 -3
  117. package/esm2022/input/module.mjs +4 -4
  118. package/esm2022/list/action-list.mjs +3 -3
  119. package/esm2022/list/list-base.mjs +6 -6
  120. package/esm2022/list/list-item-sections.mjs +18 -18
  121. package/esm2022/list/list-module.mjs +4 -4
  122. package/esm2022/list/list-option.mjs +3 -3
  123. package/esm2022/list/list.mjs +6 -6
  124. package/esm2022/list/nav-list.mjs +3 -3
  125. package/esm2022/list/selection-list.mjs +3 -3
  126. package/esm2022/list/subheader.mjs +3 -3
  127. package/esm2022/menu/menu-content.mjs +3 -3
  128. package/esm2022/menu/menu-item.mjs +3 -3
  129. package/esm2022/menu/menu-trigger.mjs +3 -3
  130. package/esm2022/menu/menu.mjs +3 -3
  131. package/esm2022/menu/module.mjs +4 -4
  132. package/esm2022/paginator/module.mjs +4 -4
  133. package/esm2022/paginator/paginator-intl.mjs +3 -3
  134. package/esm2022/paginator/paginator.mjs +3 -3
  135. package/esm2022/progress-bar/module.mjs +4 -4
  136. package/esm2022/progress-bar/progress-bar.mjs +3 -3
  137. package/esm2022/progress-spinner/module.mjs +4 -4
  138. package/esm2022/progress-spinner/progress-spinner.mjs +3 -3
  139. package/esm2022/radio/module.mjs +4 -4
  140. package/esm2022/radio/radio.mjs +6 -6
  141. package/esm2022/select/module.mjs +4 -4
  142. package/esm2022/select/select.mjs +6 -6
  143. package/esm2022/sidenav/drawer.mjs +9 -9
  144. package/esm2022/sidenav/sidenav-module.mjs +4 -4
  145. package/esm2022/sidenav/sidenav.mjs +9 -9
  146. package/esm2022/slide-toggle/module.mjs +8 -8
  147. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
  148. package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
  149. package/esm2022/slider/module.mjs +4 -4
  150. package/esm2022/slider/slider-input.mjs +6 -6
  151. package/esm2022/slider/slider-thumb.mjs +3 -3
  152. package/esm2022/slider/slider.mjs +3 -3
  153. package/esm2022/snack-bar/module.mjs +4 -4
  154. package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
  155. package/esm2022/snack-bar/snack-bar-container.mjs +5 -5
  156. package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
  157. package/esm2022/snack-bar/snack-bar.mjs +3 -3
  158. package/esm2022/sort/sort-header-intl.mjs +3 -3
  159. package/esm2022/sort/sort-header.mjs +3 -3
  160. package/esm2022/sort/sort-module.mjs +4 -4
  161. package/esm2022/sort/sort.mjs +3 -3
  162. package/esm2022/stepper/step-content.mjs +3 -3
  163. package/esm2022/stepper/step-header.mjs +3 -3
  164. package/esm2022/stepper/step-label.mjs +3 -3
  165. package/esm2022/stepper/stepper-button.mjs +6 -6
  166. package/esm2022/stepper/stepper-icon.mjs +3 -3
  167. package/esm2022/stepper/stepper-intl.mjs +3 -3
  168. package/esm2022/stepper/stepper-module.mjs +4 -4
  169. package/esm2022/stepper/stepper.mjs +6 -6
  170. package/esm2022/table/cell.mjs +21 -21
  171. package/esm2022/table/module.mjs +4 -4
  172. package/esm2022/table/row.mjs +21 -21
  173. package/esm2022/table/table.mjs +6 -6
  174. package/esm2022/table/text-column.mjs +3 -3
  175. package/esm2022/tabs/module.mjs +4 -4
  176. package/esm2022/tabs/paginated-tab-header.mjs +3 -3
  177. package/esm2022/tabs/tab-body.mjs +6 -6
  178. package/esm2022/tabs/tab-content.mjs +3 -3
  179. package/esm2022/tabs/tab-group.mjs +3 -3
  180. package/esm2022/tabs/tab-header.mjs +3 -3
  181. package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
  182. package/esm2022/tabs/tab-label.mjs +3 -3
  183. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
  184. package/esm2022/tabs/tab.mjs +3 -3
  185. package/esm2022/toolbar/toolbar-module.mjs +4 -4
  186. package/esm2022/toolbar/toolbar.mjs +6 -6
  187. package/esm2022/tooltip/module.mjs +4 -4
  188. package/esm2022/tooltip/tooltip.mjs +6 -6
  189. package/esm2022/tree/node.mjs +9 -9
  190. package/esm2022/tree/outlet.mjs +3 -3
  191. package/esm2022/tree/padding.mjs +3 -3
  192. package/esm2022/tree/toggle.mjs +3 -3
  193. package/esm2022/tree/tree-module.mjs +4 -4
  194. package/esm2022/tree/tree.mjs +3 -3
  195. package/fesm2022/autocomplete.mjs +13 -13
  196. package/fesm2022/badge.mjs +7 -7
  197. package/fesm2022/bottom-sheet.mjs +10 -10
  198. package/fesm2022/button-toggle.mjs +10 -10
  199. package/fesm2022/button.mjs +42 -42
  200. package/fesm2022/button.mjs.map +1 -1
  201. package/fesm2022/card.mjs +46 -46
  202. package/fesm2022/checkbox.mjs +14 -14
  203. package/fesm2022/chips.mjs +40 -40
  204. package/fesm2022/core.mjs +56 -56
  205. package/fesm2022/core.mjs.map +1 -1
  206. package/fesm2022/datepicker.mjs +82 -82
  207. package/fesm2022/dialog.mjs +22 -22
  208. package/fesm2022/dialog.mjs.map +1 -1
  209. package/fesm2022/divider.mjs +7 -7
  210. package/fesm2022/expansion.mjs +25 -25
  211. package/fesm2022/form-field.mjs +34 -34
  212. package/fesm2022/grid-list.mjs +22 -22
  213. package/fesm2022/icon/testing.mjs +7 -7
  214. package/fesm2022/icon.mjs +10 -10
  215. package/fesm2022/input.mjs +7 -7
  216. package/fesm2022/list.mjs +49 -49
  217. package/fesm2022/menu.mjs +16 -16
  218. package/fesm2022/paginator.mjs +10 -10
  219. package/fesm2022/progress-bar.mjs +7 -7
  220. package/fesm2022/progress-spinner.mjs +7 -7
  221. package/fesm2022/radio.mjs +10 -10
  222. package/fesm2022/select.mjs +10 -10
  223. package/fesm2022/sidenav.mjs +22 -22
  224. package/fesm2022/slide-toggle.mjs +14 -14
  225. package/fesm2022/slider.mjs +16 -16
  226. package/fesm2022/snack-bar.mjs +23 -23
  227. package/fesm2022/snack-bar.mjs.map +1 -1
  228. package/fesm2022/sort.mjs +13 -13
  229. package/fesm2022/stepper.mjs +31 -31
  230. package/fesm2022/table.mjs +55 -55
  231. package/fesm2022/tabs.mjs +40 -40
  232. package/fesm2022/toolbar.mjs +10 -10
  233. package/fesm2022/tooltip.mjs +10 -10
  234. package/fesm2022/tree.mjs +25 -25
  235. package/package.json +2 -2
  236. package/prebuilt-themes/deeppurple-amber.css +1 -1
  237. package/prebuilt-themes/indigo-pink.css +1 -1
  238. package/prebuilt-themes/pink-bluegrey.css +1 -1
  239. package/prebuilt-themes/purple-green.css +1 -1
  240. package/schematics/migration.json +1 -1
  241. package/schematics/ng-add/fonts/material-fonts.js +1 -3
  242. package/schematics/ng-add/fonts/material-fonts.mjs +1 -3
  243. package/schematics/ng-add/index.js +1 -1
  244. package/schematics/ng-add/index.mjs +1 -1
  245. package/schematics/ng-generate/mdc-migration/index_bundled.js +1664 -936
  246. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
  247. package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +4 -1
  248. package/schematics/ng-update/index_bundled.js +123 -30
  249. package/schematics/ng-update/index_bundled.js.map +4 -4
  250. package/button/_button-theme-private.scss +0 -67
  251. package/core/density/private/_compatibility.scss +0 -74
@@ -7,6 +7,7 @@ import { MatListModule } from '@angular/material/list';
7
7
  import { MatIconModule } from '@angular/material/icon';<% } %>
8
8
  import { Observable } from 'rxjs';
9
9
  import { map, shareReplay } from 'rxjs/operators';
10
+ import { AsyncPipe, NgIf } from '@angular/common';
10
11
 
11
12
  @Component({
12
13
  selector: '<%= selector %>',<% if(inlineTemplate) { %>
@@ -26,7 +27,9 @@ import { map, shareReplay } from 'rxjs/operators';
26
27
  MatButtonModule,
27
28
  MatSidenavModule,
28
29
  MatListModule,
29
- MatIconModule
30
+ MatIconModule,
31
+ AsyncPipe,
32
+ NgIf
30
33
  ]<% } %>
31
34
  })
32
35
  export class <%= classify(name) %>Component {
@@ -24,6 +24,26 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  mod
25
25
  ));
26
26
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var __async = (__this, __arguments, generator) => {
28
+ return new Promise((resolve, reject) => {
29
+ var fulfilled = (value) => {
30
+ try {
31
+ step(generator.next(value));
32
+ } catch (e) {
33
+ reject(e);
34
+ }
35
+ };
36
+ var rejected = (value) => {
37
+ try {
38
+ step(generator.throw(value));
39
+ } catch (e) {
40
+ reject(e);
41
+ }
42
+ };
43
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
44
+ step((generator = generator.apply(__this, __arguments)).next());
45
+ });
46
+ };
27
47
 
28
48
  // node_modules/tslib/tslib.js
29
49
  var require_tslib = __commonJS({
@@ -454,9 +474,78 @@ var require_tslib = __commonJS({
454
474
  }
455
475
  });
456
476
 
457
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
477
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
478
+ var require_legacy_imports_error = __commonJS({
479
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
480
+ "use strict";
481
+ Object.defineProperty(exports, "__esModule", { value: true });
482
+ exports.legacyImportsError = void 0;
483
+ var tslib_1 = require_tslib();
484
+ var tasks_1 = require("@angular-devkit/schematics/tasks");
485
+ var ts = tslib_1.__importStar(require("typescript"));
486
+ var LEGACY_IMPORTS_START = "@angular/material/legacy-";
487
+ var MAX_FILES_TO_PRINT = 50;
488
+ function legacyImportsError2(onSuccess) {
489
+ return (tree, context) => __async(this, null, function* () {
490
+ const filesUsingLegacyImports = /* @__PURE__ */ new Set();
491
+ tree.visit((path) => {
492
+ if (!path.endsWith(".ts")) {
493
+ return;
494
+ }
495
+ const content = tree.readText(path);
496
+ const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest);
497
+ sourceFile.forEachChild(function walk(node) {
498
+ const isImportOrExport = ts.isImportDeclaration(node) || ts.isExportDeclaration(node);
499
+ if (isImportOrExport && node.moduleSpecifier && ts.isStringLiteralLike(node.moduleSpecifier) && node.moduleSpecifier.text.startsWith(LEGACY_IMPORTS_START)) {
500
+ filesUsingLegacyImports.add(path);
501
+ }
502
+ node.forEachChild(walk);
503
+ });
504
+ });
505
+ if (filesUsingLegacyImports.size === 0) {
506
+ return onSuccess;
507
+ }
508
+ if (tree.exists("package.json")) {
509
+ let packageJson = null;
510
+ try {
511
+ packageJson = JSON.parse(tree.readText("package.json"));
512
+ } catch (e) {
513
+ }
514
+ if (packageJson !== null && packageJson["dependencies"]) {
515
+ packageJson["dependencies"]["@angular/material"] = "^16.2.0";
516
+ tree.overwrite("package.json", JSON.stringify(packageJson, null, 2));
517
+ context.addTask(new tasks_1.NodePackageInstallTask());
518
+ }
519
+ }
520
+ context.logger.fatal(formatErrorMessage(filesUsingLegacyImports));
521
+ return;
522
+ });
523
+ }
524
+ exports.legacyImportsError = legacyImportsError2;
525
+ function formatErrorMessage(filesUsingLegacyImports) {
526
+ const files = Array.from(filesUsingLegacyImports, (path) => " - " + path);
527
+ const filesMessage = files.length > MAX_FILES_TO_PRINT ? [
528
+ ...files.slice(0, MAX_FILES_TO_PRINT),
529
+ `${files.length - MAX_FILES_TO_PRINT} more...`,
530
+ `Search your project for "${LEGACY_IMPORTS_START}" to view all usages.`
531
+ ].join("\n") : files.join("\n");
532
+ return `Cannot update to Angular Material v17 because the project is using the legacy Material components
533
+ that have been deleted. While Angular Material v16 is compatible with Angular v17, it is recommended
534
+ to switch away from the legacy components as soon as possible because they no longer receive bug fixes,
535
+ accessibility improvements and new features.
536
+
537
+ Read more about migrating away from legacy components: https://material.angular.io/guide/mdc-migration
538
+
539
+ Files in the project using legacy Material components:
540
+ ${filesMessage}
541
+ `;
542
+ }
543
+ }
544
+ });
545
+
546
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
458
547
  var require_attribute_selectors = __commonJS({
459
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
548
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
460
549
  "use strict";
461
550
  Object.defineProperty(exports, "__esModule", { value: true });
462
551
  exports.attributeSelectors = void 0;
@@ -464,9 +553,9 @@ var require_attribute_selectors = __commonJS({
464
553
  }
465
554
  });
466
555
 
467
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
556
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
468
557
  var require_class_names = __commonJS({
469
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
558
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
470
559
  "use strict";
471
560
  Object.defineProperty(exports, "__esModule", { value: true });
472
561
  exports.classNames = void 0;
@@ -474,9 +563,9 @@ var require_class_names = __commonJS({
474
563
  }
475
564
  });
476
565
 
477
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
566
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
478
567
  var require_constructor_checks = __commonJS({
479
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
568
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
480
569
  "use strict";
481
570
  Object.defineProperty(exports, "__esModule", { value: true });
482
571
  exports.constructorChecks = void 0;
@@ -484,9 +573,9 @@ var require_constructor_checks = __commonJS({
484
573
  }
485
574
  });
486
575
 
487
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
576
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
488
577
  var require_css_selectors = __commonJS({
489
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
578
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
490
579
  "use strict";
491
580
  Object.defineProperty(exports, "__esModule", { value: true });
492
581
  exports.cssSelectors = void 0;
@@ -494,9 +583,9 @@ var require_css_selectors = __commonJS({
494
583
  }
495
584
  });
496
585
 
497
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
586
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
498
587
  var require_element_selectors = __commonJS({
499
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
588
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
500
589
  "use strict";
501
590
  Object.defineProperty(exports, "__esModule", { value: true });
502
591
  exports.elementSelectors = void 0;
@@ -504,9 +593,9 @@ var require_element_selectors = __commonJS({
504
593
  }
505
594
  });
506
595
 
507
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
596
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
508
597
  var require_input_names = __commonJS({
509
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
598
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
510
599
  "use strict";
511
600
  Object.defineProperty(exports, "__esModule", { value: true });
512
601
  exports.inputNames = void 0;
@@ -514,9 +603,9 @@ var require_input_names = __commonJS({
514
603
  }
515
604
  });
516
605
 
517
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
606
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
518
607
  var require_method_call_checks = __commonJS({
519
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
608
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
520
609
  "use strict";
521
610
  Object.defineProperty(exports, "__esModule", { value: true });
522
611
  exports.methodCallChecks = void 0;
@@ -524,9 +613,9 @@ var require_method_call_checks = __commonJS({
524
613
  }
525
614
  });
526
615
 
527
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
616
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
528
617
  var require_output_names = __commonJS({
529
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
618
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
530
619
  "use strict";
531
620
  Object.defineProperty(exports, "__esModule", { value: true });
532
621
  exports.outputNames = void 0;
@@ -534,9 +623,9 @@ var require_output_names = __commonJS({
534
623
  }
535
624
  });
536
625
 
537
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
626
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
538
627
  var require_property_names = __commonJS({
539
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
628
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
540
629
  "use strict";
541
630
  Object.defineProperty(exports, "__esModule", { value: true });
542
631
  exports.propertyNames = void 0;
@@ -544,9 +633,9 @@ var require_property_names = __commonJS({
544
633
  }
545
634
  });
546
635
 
547
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
636
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
548
637
  var require_symbol_removal = __commonJS({
549
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
638
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
550
639
  "use strict";
551
640
  Object.defineProperty(exports, "__esModule", { value: true });
552
641
  exports.symbolRemoval = void 0;
@@ -554,9 +643,9 @@ var require_symbol_removal = __commonJS({
554
643
  }
555
644
  });
556
645
 
557
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/index.js
646
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
558
647
  var require_data = __commonJS({
559
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
648
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
560
649
  "use strict";
561
650
  Object.defineProperty(exports, "__esModule", { value: true });
562
651
  var tslib_1 = require_tslib();
@@ -573,9 +662,9 @@ var require_data = __commonJS({
573
662
  }
574
663
  });
575
664
 
576
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
665
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
577
666
  var require_upgrade_data = __commonJS({
578
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
667
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
579
668
  "use strict";
580
669
  Object.defineProperty(exports, "__esModule", { value: true });
581
670
  exports.materialUpgradeData = void 0;
@@ -595,9 +684,9 @@ var require_upgrade_data = __commonJS({
595
684
  }
596
685
  });
597
686
 
598
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
687
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
599
688
  var require_migration = __commonJS({
600
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
689
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
601
690
  "use strict";
602
691
  Object.defineProperty(exports, "__esModule", { value: true });
603
692
  exports.addThemeBaseMixins = exports.checkThemeBaseMixins = void 0;
@@ -611,6 +700,9 @@ var require_migration = __commonJS({
611
700
  // Please note: you do not need to include the 'base' mixins, if you include the corresponding
612
701
  // 'theme' mixin elsewhere in your Sass. The full 'theme' mixins already include the base styles.
613
702
  //
703
+ // To learn more about "base" theme styles visit our theming guide:
704
+ // https://material.angular.io/guide/theming#theming-dimensions
705
+ //
614
706
  // TODO(v17): Please move these @include statements to the preferred place in your Sass, and pass
615
707
  // your theme to them. This will ensure the correct values for your app are included.`.split("\n");
616
708
  var THEME_MIXIN_SETS = [
@@ -811,9 +903,9 @@ var require_migration = __commonJS({
811
903
  }
812
904
  });
813
905
 
814
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
906
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
815
907
  var require_theme_base_v17 = __commonJS({
816
- "bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
908
+ "bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
817
909
  "use strict";
818
910
  Object.defineProperty(exports, "__esModule", { value: true });
819
911
  exports.ThemeBaseMigration = void 0;
@@ -896,18 +988,19 @@ ${mixinsText}`
896
988
  }
897
989
  });
898
990
 
899
- // bazel-out/darwin-fastbuild/bin/src/material/schematics/ng-update/index.mjs
991
+ // bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
900
992
  var ng_update_exports = {};
901
993
  __export(ng_update_exports, {
902
994
  updateToV17: () => updateToV17
903
995
  });
904
996
  module.exports = __toCommonJS(ng_update_exports);
905
997
  var import_schematics = require("@angular/cdk/schematics");
998
+ var import_legacy_imports_error = __toESM(require_legacy_imports_error(), 1);
906
999
  var import_upgrade_data = __toESM(require_upgrade_data(), 1);
907
1000
  var import_theme_base_v17 = __toESM(require_theme_base_v17(), 1);
908
1001
  var materialMigrations = [import_theme_base_v17.ThemeBaseMigration];
909
1002
  function updateToV17() {
910
- return (0, import_schematics.createMigrationSchematicRule)(import_schematics.TargetVersion.V17, materialMigrations, import_upgrade_data.materialUpgradeData, onMigrationComplete);
1003
+ return (0, import_legacy_imports_error.legacyImportsError)((0, import_schematics.createMigrationSchematicRule)(import_schematics.TargetVersion.V17, materialMigrations, import_upgrade_data.materialUpgradeData, onMigrationComplete));
911
1004
  }
912
1005
  function onMigrationComplete(context, targetVersion, hasFailures) {
913
1006
  context.logger.info("");