@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.
- package/button/_button-base.scss +37 -18
- package/button/_button-theme.scss +86 -142
- package/button/_fab-theme.scss +21 -49
- package/button/_icon-button-theme.scss +25 -25
- package/core/_core-theme.scss +4 -4
- package/core/ripple/_ripple-theme.scss +27 -17
- package/core/ripple/_ripple.scss +8 -0
- package/core/theming/_theming.scss +0 -14
- package/core/tokens/m2/mat/_fab.scss +87 -0
- package/core/tokens/m2/mat/_filled-button.scss +76 -0
- package/core/tokens/m2/mat/_icon-button.scss +73 -0
- package/core/tokens/m2/mat/_outlined-button.scss +73 -0
- package/core/tokens/m2/mat/_protected-button.scss +76 -0
- package/core/tokens/m2/mat/_ripple.scss +49 -0
- package/core/tokens/m2/mat/_text-button.scss +73 -0
- package/core/tokens/m2/mdc/_extended-fab.scss +3 -0
- package/core/tokens/m2/mdc/_fab.scss +17 -3
- package/core/tokens/m2/mdc/_filled-button.scss +24 -18
- package/core/tokens/m2/mdc/_icon-button.scss +0 -3
- package/core/tokens/m2/mdc/_outlined-button.scss +120 -0
- package/core/tokens/m2/mdc/_protected-button.scss +24 -19
- package/dialog/index.d.ts +2 -1
- package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.mjs +3 -3
- package/esm2022/autocomplete/autocomplete.mjs +3 -3
- package/esm2022/autocomplete/module.mjs +4 -4
- package/esm2022/badge/badge-module.mjs +4 -4
- package/esm2022/badge/badge.mjs +3 -3
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +3 -3
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
- package/esm2022/button/button-base.mjs +6 -6
- package/esm2022/button/button.mjs +8 -8
- package/esm2022/button/fab.mjs +16 -16
- package/esm2022/button/icon-button.mjs +8 -8
- package/esm2022/button/module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.mjs +6 -6
- package/esm2022/card/card.mjs +42 -42
- package/esm2022/card/module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/checkbox/module.mjs +8 -8
- package/esm2022/chips/chip-action.mjs +3 -3
- package/esm2022/chips/chip-edit-input.mjs +3 -3
- package/esm2022/chips/chip-grid.mjs +3 -3
- package/esm2022/chips/chip-icons.mjs +9 -9
- package/esm2022/chips/chip-input.mjs +3 -3
- package/esm2022/chips/chip-listbox.mjs +3 -3
- package/esm2022/chips/chip-option.mjs +3 -3
- package/esm2022/chips/chip-row.mjs +3 -3
- package/esm2022/chips/chip-set.mjs +3 -3
- package/esm2022/chips/chip.mjs +3 -3
- package/esm2022/chips/module.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +4 -4
- package/esm2022/core/datetime/index.mjs +8 -8
- package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/option/index.mjs +4 -4
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/private/ripple-loader.mjs +3 -3
- package/esm2022/core/ripple/index.mjs +4 -4
- package/esm2022/core/ripple/ripple.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +3 -3
- package/esm2022/datepicker/calendar.mjs +6 -6
- package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
- package/esm2022/datepicker/date-range-input.mjs +3 -3
- package/esm2022/datepicker/date-range-picker.mjs +3 -3
- package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
- package/esm2022/datepicker/date-selection-model.mjs +9 -9
- package/esm2022/datepicker/datepicker-actions.mjs +9 -9
- package/esm2022/datepicker/datepicker-base.mjs +6 -6
- package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.mjs +3 -3
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
- package/esm2022/datepicker/datepicker.mjs +3 -3
- package/esm2022/datepicker/month-view.mjs +3 -3
- package/esm2022/datepicker/multi-year-view.mjs +3 -3
- package/esm2022/datepicker/year-view.mjs +3 -3
- package/esm2022/dialog/dialog-container.mjs +3 -3
- package/esm2022/dialog/dialog-content-directives.mjs +12 -12
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/dialog/module.mjs +4 -4
- package/esm2022/divider/divider-module.mjs +4 -4
- package/esm2022/divider/divider.mjs +3 -3
- package/esm2022/expansion/accordion.mjs +3 -3
- package/esm2022/expansion/expansion-module.mjs +4 -4
- package/esm2022/expansion/expansion-panel-content.mjs +3 -3
- package/esm2022/expansion/expansion-panel-header.mjs +9 -9
- package/esm2022/expansion/expansion-panel.mjs +6 -6
- package/esm2022/form-field/directives/error.mjs +3 -3
- package/esm2022/form-field/directives/floating-label.mjs +3 -3
- package/esm2022/form-field/directives/hint.mjs +3 -3
- package/esm2022/form-field/directives/label.mjs +3 -3
- package/esm2022/form-field/directives/line-ripple.mjs +3 -3
- package/esm2022/form-field/directives/notched-outline.mjs +3 -3
- package/esm2022/form-field/directives/prefix.mjs +3 -3
- package/esm2022/form-field/directives/suffix.mjs +3 -3
- package/esm2022/form-field/form-field-control.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +3 -3
- package/esm2022/form-field/module.mjs +4 -4
- package/esm2022/grid-list/grid-list-module.mjs +4 -4
- package/esm2022/grid-list/grid-list.mjs +3 -3
- package/esm2022/grid-list/grid-tile.mjs +15 -15
- package/esm2022/icon/icon-module.mjs +4 -4
- package/esm2022/icon/icon-registry.mjs +3 -3
- package/esm2022/icon/icon.mjs +3 -3
- package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
- package/esm2022/input/input.mjs +3 -3
- package/esm2022/input/module.mjs +4 -4
- package/esm2022/list/action-list.mjs +3 -3
- package/esm2022/list/list-base.mjs +6 -6
- package/esm2022/list/list-item-sections.mjs +18 -18
- package/esm2022/list/list-module.mjs +4 -4
- package/esm2022/list/list-option.mjs +3 -3
- package/esm2022/list/list.mjs +6 -6
- package/esm2022/list/nav-list.mjs +3 -3
- package/esm2022/list/selection-list.mjs +3 -3
- package/esm2022/list/subheader.mjs +3 -3
- package/esm2022/menu/menu-content.mjs +3 -3
- package/esm2022/menu/menu-item.mjs +3 -3
- package/esm2022/menu/menu-trigger.mjs +3 -3
- package/esm2022/menu/menu.mjs +3 -3
- package/esm2022/menu/module.mjs +4 -4
- package/esm2022/paginator/module.mjs +4 -4
- package/esm2022/paginator/paginator-intl.mjs +3 -3
- package/esm2022/paginator/paginator.mjs +3 -3
- package/esm2022/progress-bar/module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.mjs +3 -3
- package/esm2022/progress-spinner/module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.mjs +3 -3
- package/esm2022/radio/module.mjs +4 -4
- package/esm2022/radio/radio.mjs +6 -6
- package/esm2022/select/module.mjs +4 -4
- package/esm2022/select/select.mjs +6 -6
- package/esm2022/sidenav/drawer.mjs +9 -9
- package/esm2022/sidenav/sidenav-module.mjs +4 -4
- package/esm2022/sidenav/sidenav.mjs +9 -9
- package/esm2022/slide-toggle/module.mjs +8 -8
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
- package/esm2022/slide-toggle/slide-toggle.mjs +3 -3
- package/esm2022/slider/module.mjs +4 -4
- package/esm2022/slider/slider-input.mjs +6 -6
- package/esm2022/slider/slider-thumb.mjs +3 -3
- package/esm2022/slider/slider.mjs +3 -3
- package/esm2022/snack-bar/module.mjs +4 -4
- package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2022/snack-bar/snack-bar-container.mjs +5 -5
- package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
- package/esm2022/snack-bar/snack-bar.mjs +3 -3
- package/esm2022/sort/sort-header-intl.mjs +3 -3
- package/esm2022/sort/sort-header.mjs +3 -3
- package/esm2022/sort/sort-module.mjs +4 -4
- package/esm2022/sort/sort.mjs +3 -3
- package/esm2022/stepper/step-content.mjs +3 -3
- package/esm2022/stepper/step-header.mjs +3 -3
- package/esm2022/stepper/step-label.mjs +3 -3
- package/esm2022/stepper/stepper-button.mjs +6 -6
- package/esm2022/stepper/stepper-icon.mjs +3 -3
- package/esm2022/stepper/stepper-intl.mjs +3 -3
- package/esm2022/stepper/stepper-module.mjs +4 -4
- package/esm2022/stepper/stepper.mjs +6 -6
- package/esm2022/table/cell.mjs +21 -21
- package/esm2022/table/module.mjs +4 -4
- package/esm2022/table/row.mjs +21 -21
- package/esm2022/table/table.mjs +6 -6
- package/esm2022/table/text-column.mjs +3 -3
- package/esm2022/tabs/module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +3 -3
- package/esm2022/tabs/tab-body.mjs +6 -6
- package/esm2022/tabs/tab-content.mjs +3 -3
- package/esm2022/tabs/tab-group.mjs +3 -3
- package/esm2022/tabs/tab-header.mjs +3 -3
- package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
- package/esm2022/tabs/tab-label.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +9 -9
- package/esm2022/tabs/tab.mjs +3 -3
- package/esm2022/toolbar/toolbar-module.mjs +4 -4
- package/esm2022/toolbar/toolbar.mjs +6 -6
- package/esm2022/tooltip/module.mjs +4 -4
- package/esm2022/tooltip/tooltip.mjs +6 -6
- package/esm2022/tree/node.mjs +9 -9
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.mjs +3 -3
- package/esm2022/tree/toggle.mjs +3 -3
- package/esm2022/tree/tree-module.mjs +4 -4
- package/esm2022/tree/tree.mjs +3 -3
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/badge.mjs +7 -7
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +42 -42
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/chips.mjs +40 -40
- package/fesm2022/core.mjs +56 -56
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/dialog.mjs +22 -22
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/menu.mjs +16 -16
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/snack-bar.mjs +23 -23
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/tabs.mjs +40 -40
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tree.mjs +25 -25
- package/package.json +2 -2
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/migration.json +1 -1
- package/schematics/ng-add/fonts/material-fonts.js +1 -3
- package/schematics/ng-add/fonts/material-fonts.mjs +1 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/mdc-migration/index_bundled.js +1664 -936
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +4 -1
- package/schematics/ng-update/index_bundled.js +123 -30
- package/schematics/ng-update/index_bundled.js.map +4 -4
- package/button/_button-theme-private.scss +0 -67
- 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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
646
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
558
647
|
var require_data = __commonJS({
|
|
559
|
-
"bazel-out/
|
|
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/
|
|
665
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
577
666
|
var require_upgrade_data = __commonJS({
|
|
578
|
-
"bazel-out/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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("");
|