@angular/material 17.0.0-next.5 → 17.0.0-next.7
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/_index.scss +41 -35
- package/autocomplete/_autocomplete-theme.scss +3 -0
- package/badge/_badge-theme.scss +3 -0
- package/bottom-sheet/_bottom-sheet-theme.scss +8 -0
- package/button/_button-theme.scss +24 -5
- package/button/_fab-theme.scss +15 -11
- package/button/_icon-button-theme.scss +5 -0
- package/button-toggle/_button-toggle-theme.scss +14 -0
- package/chips/_chips-theme.scss +7 -0
- package/core/_core-theme.scss +9 -0
- package/core/option/_optgroup-theme.scss +3 -0
- package/core/option/_option-theme.scss +3 -0
- package/core/ripple/_ripple-theme.scss +5 -0
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +5 -0
- package/core/style/_sass-utils.scss +6 -1
- package/core/theming/_all-theme.scss +40 -0
- package/core/tokens/m2/mdc/_button-filled.scss +19 -3
- package/core/tokens/m2/mdc/_button-protected.scss +16 -3
- package/datepicker/_datepicker-theme.scss +3 -0
- package/dialog/_dialog-theme.scss +2 -2
- package/dialog/index.d.ts +22 -14
- package/divider/_divider-theme.scss +5 -0
- package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +16 -6
- package/esm2022/autocomplete/autocomplete.mjs +6 -6
- package/esm2022/autocomplete/module.mjs +4 -4
- package/esm2022/badge/badge-module.mjs +4 -4
- package/esm2022/badge/badge.mjs +6 -6
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +7 -7
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet.mjs +5 -5
- package/esm2022/button/button-base.mjs +9 -9
- package/esm2022/button/button.mjs +12 -12
- package/esm2022/button/fab.mjs +21 -21
- package/esm2022/button/icon-button.mjs +10 -10
- package/esm2022/button/module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.mjs +12 -12
- package/esm2022/card/card.mjs +45 -45
- package/esm2022/card/module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +6 -6
- package/esm2022/checkbox/module.mjs +8 -8
- package/esm2022/chips/chip-action.mjs +6 -6
- package/esm2022/chips/chip-edit-input.mjs +5 -5
- package/esm2022/chips/chip-grid.mjs +6 -6
- package/esm2022/chips/chip-icons.mjs +9 -9
- package/esm2022/chips/chip-input.mjs +6 -6
- package/esm2022/chips/chip-listbox.mjs +3 -3
- package/esm2022/chips/chip-option.mjs +5 -5
- package/esm2022/chips/chip-row.mjs +8 -8
- package/esm2022/chips/chip-set.mjs +6 -6
- package/esm2022/chips/chip.mjs +7 -7
- package/esm2022/chips/module.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +6 -6
- package/esm2022/core/datetime/index.mjs +8 -8
- package/esm2022/core/datetime/native-date-adapter.mjs +5 -5
- 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 +6 -6
- package/esm2022/core/option/option.mjs +6 -6
- package/esm2022/core/private/ripple-loader.mjs +4 -4
- package/esm2022/core/ripple/index.mjs +4 -4
- package/esm2022/core/ripple/ripple.mjs +6 -6
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +6 -6
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +5 -5
- package/esm2022/datepicker/calendar.mjs +11 -11
- package/esm2022/datepicker/date-range-input-parts.mjs +15 -15
- package/esm2022/datepicker/date-range-input.mjs +6 -6
- package/esm2022/datepicker/date-range-picker.mjs +3 -3
- package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2022/datepicker/date-selection-model.mjs +12 -12
- package/esm2022/datepicker/datepicker-actions.mjs +13 -13
- package/esm2022/datepicker/datepicker-base.mjs +11 -11
- package/esm2022/datepicker/datepicker-input-base.mjs +6 -6
- package/esm2022/datepicker/datepicker-input.mjs +6 -6
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.mjs +9 -9
- package/esm2022/datepicker/datepicker.mjs +3 -3
- package/esm2022/datepicker/month-view.mjs +6 -6
- package/esm2022/datepicker/multi-year-view.mjs +6 -6
- package/esm2022/datepicker/year-view.mjs +6 -6
- package/esm2022/dialog/dialog-container.mjs +8 -7
- package/esm2022/dialog/dialog-content-directives.mjs +21 -17
- package/esm2022/dialog/dialog.mjs +26 -11
- package/esm2022/dialog/module.mjs +18 -26
- 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 +5 -5
- package/esm2022/expansion/expansion-panel-header.mjs +12 -12
- package/esm2022/expansion/expansion-panel.mjs +9 -9
- package/esm2022/form-field/directives/error.mjs +6 -6
- package/esm2022/form-field/directives/floating-label.mjs +5 -5
- 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 +4 -4
- package/esm2022/form-field/directives/notched-outline.mjs +5 -5
- 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 +6 -6
- 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 +6 -6
- package/esm2022/grid-list/grid-tile.mjs +19 -19
- package/esm2022/icon/icon-module.mjs +4 -4
- package/esm2022/icon/icon-registry.mjs +5 -5
- package/esm2022/icon/icon.mjs +6 -6
- package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
- package/esm2022/input/input.mjs +6 -6
- package/esm2022/input/module.mjs +4 -4
- package/esm2022/list/action-list.mjs +3 -3
- package/esm2022/list/list-base.mjs +9 -9
- package/esm2022/list/list-item-sections.mjs +22 -22
- package/esm2022/list/list-module.mjs +4 -4
- package/esm2022/list/list-option.mjs +6 -6
- package/esm2022/list/list.mjs +9 -9
- package/esm2022/list/nav-list.mjs +3 -3
- package/esm2022/list/selection-list.mjs +5 -5
- package/esm2022/list/subheader.mjs +3 -3
- package/esm2022/menu/menu-content.mjs +5 -5
- package/esm2022/menu/menu-item.mjs +6 -6
- package/esm2022/menu/menu-trigger.mjs +6 -6
- package/esm2022/menu/menu.mjs +7 -7
- 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 +6 -6
- package/esm2022/progress-bar/module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.mjs +6 -6
- package/esm2022/progress-spinner/module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.mjs +6 -6
- package/esm2022/radio/module.mjs +4 -4
- package/esm2022/radio/radio.mjs +10 -10
- package/esm2022/select/module.mjs +4 -4
- package/esm2022/select/select.mjs +9 -9
- package/esm2022/sidenav/drawer.mjs +18 -18
- package/esm2022/sidenav/sidenav-module.mjs +4 -4
- package/esm2022/sidenav/sidenav.mjs +14 -14
- 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 +7 -7
- package/esm2022/slider/module.mjs +4 -4
- package/esm2022/slider/slider-input.mjs +11 -11
- package/esm2022/slider/slider-thumb.mjs +6 -6
- package/esm2022/slider/slider.mjs +6 -6
- package/esm2022/snack-bar/module.mjs +22 -26
- package/esm2022/snack-bar/simple-snack-bar.mjs +12 -10
- package/esm2022/snack-bar/snack-bar-container.mjs +7 -7
- package/esm2022/snack-bar/snack-bar-content.mjs +13 -10
- package/esm2022/snack-bar/snack-bar.mjs +7 -8
- package/esm2022/sort/sort-header-intl.mjs +3 -3
- package/esm2022/sort/sort-header.mjs +6 -6
- package/esm2022/sort/sort-module.mjs +4 -4
- package/esm2022/sort/sort.mjs +6 -6
- package/esm2022/stepper/step-content.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +5 -5
- package/esm2022/stepper/step-label.mjs +3 -3
- package/esm2022/stepper/stepper-button.mjs +6 -6
- package/esm2022/stepper/stepper-icon.mjs +5 -5
- package/esm2022/stepper/stepper-intl.mjs +3 -3
- package/esm2022/stepper/stepper-module.mjs +4 -4
- package/esm2022/stepper/stepper.mjs +11 -11
- 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 +8 -8
- package/esm2022/table/text-column.mjs +3 -3
- package/esm2022/tabs/module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +6 -6
- package/esm2022/tabs/tab-body.mjs +11 -11
- package/esm2022/tabs/tab-content.mjs +4 -4
- package/esm2022/tabs/tab-group.mjs +6 -6
- package/esm2022/tabs/tab-header.mjs +7 -7
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2022/tabs/tab-label.mjs +5 -5
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +22 -20
- package/esm2022/tabs/tab.mjs +6 -6
- package/esm2022/toolbar/toolbar-module.mjs +4 -4
- package/esm2022/toolbar/toolbar.mjs +9 -9
- package/esm2022/tooltip/module.mjs +4 -4
- package/esm2022/tooltip/tooltip.mjs +11 -11
- package/esm2022/tree/node.mjs +14 -14
- package/esm2022/tree/outlet.mjs +5 -5
- 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/expansion/_expansion-theme.scss +5 -0
- package/fesm2022/autocomplete.mjs +29 -19
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +9 -9
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +15 -15
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +15 -15
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +54 -54
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +48 -48
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +16 -16
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +59 -59
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +69 -69
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +118 -118
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +67 -56
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +31 -31
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +41 -41
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +27 -27
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +14 -14
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +9 -9
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +60 -60
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +25 -25
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +12 -12
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +9 -9
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +9 -9
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +13 -13
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +34 -34
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +17 -17
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +24 -24
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +65 -66
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +17 -17
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +38 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +57 -57
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +69 -67
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +12 -12
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +14 -14
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +31 -31
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +5 -0
- package/grid-list/_grid-list-theme.scss +2 -0
- package/icon/_icon-theme.scss +3 -0
- package/input/_input-theme.scss +3 -0
- package/list/_list-theme.scss +5 -0
- package/menu/_menu-theme.scss +8 -0
- package/package.json +2 -2
- package/paginator/_paginator-theme.scss +3 -0
- 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/progress-bar/_progress-bar-theme.scss +40 -19
- package/progress-spinner/_progress-spinner-theme.scss +37 -17
- package/radio/_radio-theme.scss +80 -43
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-add/theming/theming.js +3 -4
- package/schematics/ng-add/theming/theming.mjs +3 -4
- package/schematics/ng-generate/mdc-migration/index_bundled.js +1554 -593
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-update/index_bundled.js +25 -25
- package/select/_select-theme.scss +3 -0
- package/sidenav/_sidenav-theme.scss +8 -0
- package/slide-toggle/_slide-toggle-theme.scss +7 -0
- package/slider/_slider-theme.scss +16 -16
- package/snack-bar/index.d.ts +13 -14
- package/sort/_sort-theme.scss +5 -0
- package/stepper/_stepper-theme.scss +3 -0
- package/table/_table-theme.scss +9 -11
- package/tabs/_tabs-common.scss +0 -10
- package/tabs/_tabs-theme.scss +15 -0
- package/toolbar/_toolbar-theme.scss +3 -0
- package/tree/_tree-theme.scss +5 -0
|
@@ -454,9 +454,9 @@ var require_tslib = __commonJS({
|
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
458
458
|
var require_attribute_selectors = __commonJS({
|
|
459
|
-
"bazel-out/
|
|
459
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
460
460
|
"use strict";
|
|
461
461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
462
462
|
exports.attributeSelectors = void 0;
|
|
@@ -464,9 +464,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
464
464
|
}
|
|
465
465
|
});
|
|
466
466
|
|
|
467
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
468
468
|
var require_class_names = __commonJS({
|
|
469
|
-
"bazel-out/
|
|
469
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
470
470
|
"use strict";
|
|
471
471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
472
472
|
exports.classNames = void 0;
|
|
@@ -474,9 +474,9 @@ var require_class_names = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
// bazel-out/
|
|
477
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
478
478
|
var require_constructor_checks = __commonJS({
|
|
479
|
-
"bazel-out/
|
|
479
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
482
482
|
exports.constructorChecks = void 0;
|
|
@@ -484,9 +484,9 @@ var require_constructor_checks = __commonJS({
|
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
|
|
487
|
-
// bazel-out/
|
|
487
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
488
488
|
var require_css_selectors = __commonJS({
|
|
489
|
-
"bazel-out/
|
|
489
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
490
490
|
"use strict";
|
|
491
491
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
492
492
|
exports.cssSelectors = void 0;
|
|
@@ -494,9 +494,9 @@ var require_css_selectors = __commonJS({
|
|
|
494
494
|
}
|
|
495
495
|
});
|
|
496
496
|
|
|
497
|
-
// bazel-out/
|
|
497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
498
498
|
var require_element_selectors = __commonJS({
|
|
499
|
-
"bazel-out/
|
|
499
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
500
500
|
"use strict";
|
|
501
501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
502
502
|
exports.elementSelectors = void 0;
|
|
@@ -504,9 +504,9 @@ var require_element_selectors = __commonJS({
|
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
|
|
507
|
-
// bazel-out/
|
|
507
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
508
508
|
var require_input_names = __commonJS({
|
|
509
|
-
"bazel-out/
|
|
509
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
510
510
|
"use strict";
|
|
511
511
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
512
512
|
exports.inputNames = void 0;
|
|
@@ -514,9 +514,9 @@ var require_input_names = __commonJS({
|
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
516
|
|
|
517
|
-
// bazel-out/
|
|
517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
518
518
|
var require_method_call_checks = __commonJS({
|
|
519
|
-
"bazel-out/
|
|
519
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
520
520
|
"use strict";
|
|
521
521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
522
522
|
exports.methodCallChecks = void 0;
|
|
@@ -524,9 +524,9 @@ var require_method_call_checks = __commonJS({
|
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
526
|
|
|
527
|
-
// bazel-out/
|
|
527
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
528
528
|
var require_output_names = __commonJS({
|
|
529
|
-
"bazel-out/
|
|
529
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
530
530
|
"use strict";
|
|
531
531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
532
532
|
exports.outputNames = void 0;
|
|
@@ -534,9 +534,9 @@ var require_output_names = __commonJS({
|
|
|
534
534
|
}
|
|
535
535
|
});
|
|
536
536
|
|
|
537
|
-
// bazel-out/
|
|
537
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
538
538
|
var require_property_names = __commonJS({
|
|
539
|
-
"bazel-out/
|
|
539
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
540
540
|
"use strict";
|
|
541
541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
542
542
|
exports.propertyNames = void 0;
|
|
@@ -544,9 +544,9 @@ var require_property_names = __commonJS({
|
|
|
544
544
|
}
|
|
545
545
|
});
|
|
546
546
|
|
|
547
|
-
// bazel-out/
|
|
547
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
548
548
|
var require_symbol_removal = __commonJS({
|
|
549
|
-
"bazel-out/
|
|
549
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
550
550
|
"use strict";
|
|
551
551
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
552
552
|
exports.symbolRemoval = void 0;
|
|
@@ -554,9 +554,9 @@ var require_symbol_removal = __commonJS({
|
|
|
554
554
|
}
|
|
555
555
|
});
|
|
556
556
|
|
|
557
|
-
// bazel-out/
|
|
557
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
558
558
|
var require_data = __commonJS({
|
|
559
|
-
"bazel-out/
|
|
559
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
560
560
|
"use strict";
|
|
561
561
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
562
562
|
var tslib_1 = require_tslib();
|
|
@@ -573,9 +573,9 @@ var require_data = __commonJS({
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
|
|
576
|
-
// bazel-out/
|
|
576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
577
577
|
var require_upgrade_data = __commonJS({
|
|
578
|
-
"bazel-out/
|
|
578
|
+
"bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
579
579
|
"use strict";
|
|
580
580
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
581
581
|
exports.materialUpgradeData = void 0;
|
|
@@ -595,7 +595,7 @@ var require_upgrade_data = __commonJS({
|
|
|
595
595
|
}
|
|
596
596
|
});
|
|
597
597
|
|
|
598
|
-
// bazel-out/
|
|
598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
599
599
|
var ng_update_exports = {};
|
|
600
600
|
__export(ng_update_exports, {
|
|
601
601
|
updateToV17: () => updateToV17
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
@use '../core/theming/inspection';
|
|
9
9
|
@use '../core/typography/typography';
|
|
10
10
|
|
|
11
|
+
@mixin base($theme) {}
|
|
12
|
+
|
|
11
13
|
@mixin color($theme) {
|
|
12
14
|
@include sass-utils.current-selector-or-root() {
|
|
13
15
|
@include token-utils.create-token-values(tokens-mat-select.$prefix,
|
|
@@ -58,6 +60,7 @@
|
|
|
58
60
|
|
|
59
61
|
@mixin theme($theme) {
|
|
60
62
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-select') {
|
|
63
|
+
@include base($theme);
|
|
61
64
|
@if inspection.theme-has($theme, color) {
|
|
62
65
|
@include color($theme);
|
|
63
66
|
}
|
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
@use '../core/tokens/token-utils';
|
|
5
5
|
@use '../core/style/sass-utils';
|
|
6
6
|
|
|
7
|
+
@mixin base($theme) {
|
|
8
|
+
@include sass-utils.current-selector-or-root() {
|
|
9
|
+
@include token-utils.create-token-values(
|
|
10
|
+
tokens-mat-sidenav.$prefix, tokens-mat-sidenav.get-unthemable-tokens());
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
7
14
|
@mixin color($theme) {
|
|
8
15
|
@include sass-utils.current-selector-or-root() {
|
|
9
16
|
@include token-utils.create-token-values(tokens-mat-sidenav.$prefix,
|
|
@@ -17,6 +24,7 @@
|
|
|
17
24
|
|
|
18
25
|
@mixin theme($theme) {
|
|
19
26
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-sidenav') {
|
|
27
|
+
@include base($theme);
|
|
20
28
|
@if inspection.theme-has($theme, color) {
|
|
21
29
|
@include color($theme);
|
|
22
30
|
}
|
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
@use '../core/tokens/m2/mat/slide-toggle' as m2-mat-slide-toggle;
|
|
9
9
|
@use '../core/tokens/token-utils';
|
|
10
10
|
|
|
11
|
+
@mixin base($theme) {
|
|
12
|
+
.mdc-switch {
|
|
13
|
+
@include mdc-switch-theme.theme(m2-mdc-switch.get-unthemable-tokens());
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
11
17
|
@mixin color($theme) {
|
|
12
18
|
$is-dark: inspection.get-theme-type($theme) == dark;
|
|
13
19
|
$mdc-switch-color-tokens: m2-mdc-switch.get-color-tokens($theme);
|
|
@@ -62,6 +68,7 @@
|
|
|
62
68
|
|
|
63
69
|
@mixin theme($theme) {
|
|
64
70
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-slide-toggle') {
|
|
71
|
+
@include base($theme);
|
|
65
72
|
@if inspection.theme-has($theme, color) {
|
|
66
73
|
@include color($theme);
|
|
67
74
|
}
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
|
|
36
36
|
$mat-slider-color-tokens: tokens-mat-slider.get-color-tokens($theme);
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
38
|
+
// Add values for MDC slider tokens.
|
|
39
|
+
@include sass-utils.current-selector-or-root() {
|
|
40
|
+
@include mdc-slider-theme.theme($mdc-color-tokens);
|
|
41
|
+
@include _slider-ripple-color($theme, primary);
|
|
42
|
+
@include token-utils.create-token-values(
|
|
43
|
+
tokens-mat-slider.$prefix,
|
|
44
|
+
$mat-slider-color-tokens
|
|
45
|
+
);
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
.mat-accent {
|
|
48
|
+
@include mdc-slider-theme.theme(
|
|
49
|
+
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, accent));
|
|
50
|
+
@include _slider-ripple-color($theme, accent);
|
|
51
|
+
}
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
.mat-warn {
|
|
54
54
|
@include mdc-slider-theme.theme(
|
|
55
55
|
tokens-mdc-slider.private-get-color-palette-color-tokens($theme, warn));
|
|
56
56
|
@include _slider-ripple-color($theme, warn);
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
@else {
|
|
67
67
|
// Add values for MDC slider tokens.
|
|
68
|
-
.
|
|
68
|
+
@include sass-utils.current-selector-or-root() {
|
|
69
69
|
@include mdc-slider-theme.theme(tokens-mdc-slider.get-typography-tokens($theme));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
}
|
|
78
78
|
@else {
|
|
79
79
|
// Add values for MDC slider tokens.
|
|
80
|
-
.
|
|
80
|
+
@include sass-utils.current-selector-or-root() {
|
|
81
81
|
@include mdc-slider-theme.theme(tokens-mdc-slider.get-density-tokens($theme));
|
|
82
82
|
}
|
|
83
83
|
}
|
package/snack-bar/index.d.ts
CHANGED
|
@@ -13,11 +13,10 @@ import { DomPortal } from '@angular/cdk/portal';
|
|
|
13
13
|
import { ElementRef } from '@angular/core';
|
|
14
14
|
import { EmbeddedViewRef } from '@angular/core';
|
|
15
15
|
import * as i0 from '@angular/core';
|
|
16
|
-
import * as
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as i8 from '@angular/material/core';
|
|
16
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
17
|
+
import * as i2 from '@angular/cdk/portal';
|
|
18
|
+
import * as i3 from '@angular/material/button';
|
|
19
|
+
import * as i4 from '@angular/material/core';
|
|
21
20
|
import { InjectionToken } from '@angular/core';
|
|
22
21
|
import { Injector } from '@angular/core';
|
|
23
22
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
@@ -32,20 +31,20 @@ import { TemplatePortal } from '@angular/cdk/portal';
|
|
|
32
31
|
import { TemplateRef } from '@angular/core';
|
|
33
32
|
import { ViewContainerRef } from '@angular/core';
|
|
34
33
|
|
|
35
|
-
declare namespace
|
|
34
|
+
declare namespace i5 {
|
|
36
35
|
export {
|
|
37
36
|
TextOnlySnackBar,
|
|
38
37
|
SimpleSnackBar
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
declare namespace
|
|
41
|
+
declare namespace i6 {
|
|
43
42
|
export {
|
|
44
43
|
MatSnackBarContainer
|
|
45
44
|
}
|
|
46
45
|
}
|
|
47
46
|
|
|
48
|
-
declare namespace
|
|
47
|
+
declare namespace i7 {
|
|
49
48
|
export {
|
|
50
49
|
MatSnackBarLabel,
|
|
51
50
|
MatSnackBarActions,
|
|
@@ -144,13 +143,13 @@ export declare class MatSnackBar implements OnDestroy {
|
|
|
144
143
|
/** Directive that should be applied to each of the snack bar's action buttons. */
|
|
145
144
|
export declare class MatSnackBarAction {
|
|
146
145
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarAction, never>;
|
|
147
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarAction, "[matSnackBarAction]", never, {}, {}, never, never,
|
|
146
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarAction, "[matSnackBarAction]", never, {}, {}, never, never, true, never>;
|
|
148
147
|
}
|
|
149
148
|
|
|
150
149
|
/** Directive that should be applied to the element containing the snack bar's action buttons. */
|
|
151
150
|
export declare class MatSnackBarActions {
|
|
152
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarActions, never>;
|
|
153
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarActions, "[matSnackBarActions]", never, {}, {}, never, never,
|
|
152
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarActions, "[matSnackBarActions]", never, {}, {}, never, never, true, never>;
|
|
154
153
|
}
|
|
155
154
|
|
|
156
155
|
/**
|
|
@@ -282,7 +281,7 @@ export declare class MatSnackBarContainer extends BasePortalOutlet implements On
|
|
|
282
281
|
*/
|
|
283
282
|
private _screenReaderAnnounce;
|
|
284
283
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarContainer, never>;
|
|
285
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatSnackBarContainer, "mat-snack-bar-container", never, {}, {}, never, never,
|
|
284
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSnackBarContainer, "mat-snack-bar-container", never, {}, {}, never, never, true, never>;
|
|
286
285
|
}
|
|
287
286
|
|
|
288
287
|
/** Event that is emitted when a snack bar is dismissed. */
|
|
@@ -297,12 +296,12 @@ export declare type MatSnackBarHorizontalPosition = 'start' | 'center' | 'end' |
|
|
|
297
296
|
/** Directive that should be applied to the text element to be rendered in the snack bar. */
|
|
298
297
|
export declare class MatSnackBarLabel {
|
|
299
298
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarLabel, never>;
|
|
300
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarLabel, "[matSnackBarLabel]", never, {}, {}, never, never,
|
|
299
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarLabel, "[matSnackBarLabel]", never, {}, {}, never, never, true, never>;
|
|
301
300
|
}
|
|
302
301
|
|
|
303
302
|
export declare class MatSnackBarModule {
|
|
304
303
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarModule, never>;
|
|
305
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSnackBarModule, [typeof i1.
|
|
304
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MatSnackBarModule, never, [typeof i1.OverlayModule, typeof i2.PortalModule, typeof i3.MatButtonModule, typeof i4.MatCommonModule, typeof i5.SimpleSnackBar, typeof i6.MatSnackBarContainer, typeof i7.MatSnackBarLabel, typeof i7.MatSnackBarActions, typeof i7.MatSnackBarAction], [typeof i4.MatCommonModule, typeof i6.MatSnackBarContainer, typeof i7.MatSnackBarLabel, typeof i7.MatSnackBarActions, typeof i7.MatSnackBarAction]>;
|
|
306
305
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatSnackBarModule>;
|
|
307
306
|
}
|
|
308
307
|
|
|
@@ -374,7 +373,7 @@ export declare class SimpleSnackBar implements TextOnlySnackBar {
|
|
|
374
373
|
/** If the action button should be shown. */
|
|
375
374
|
get hasAction(): boolean;
|
|
376
375
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleSnackBar, never>;
|
|
377
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleSnackBar, "simple-snack-bar", ["matSnackBar"], {}, {}, never, never,
|
|
376
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleSnackBar, "simple-snack-bar", ["matSnackBar"], {}, {}, never, never, true, never>;
|
|
378
377
|
}
|
|
379
378
|
|
|
380
379
|
/**
|
package/sort/_sort-theme.scss
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
@use '../core/theming/theming';
|
|
4
4
|
@use '../core/theming/inspection';
|
|
5
5
|
|
|
6
|
+
@mixin base($theme) {
|
|
7
|
+
// TODO(mmalerba): Move sort header base tokens here
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
@mixin color($theme) {
|
|
7
11
|
.mat-sort-header-arrow {
|
|
8
12
|
$table-background: inspection.get-theme-color($theme, background, card);
|
|
@@ -30,6 +34,7 @@
|
|
|
30
34
|
|
|
31
35
|
@mixin theme($theme) {
|
|
32
36
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-sort') {
|
|
37
|
+
@include base($theme);
|
|
33
38
|
@if inspection.theme-has($theme, color) {
|
|
34
39
|
@include color($theme);
|
|
35
40
|
}
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
@use '../core/tokens/token-utils';
|
|
6
6
|
@use '../core/tokens/m2/mat/stepper' as tokens-mat-stepper;
|
|
7
7
|
|
|
8
|
+
@mixin base($theme) {}
|
|
9
|
+
|
|
8
10
|
@mixin color($theme) {
|
|
9
11
|
@include sass-utils.current-selector-or-root() {
|
|
10
12
|
@include token-utils.create-token-values(tokens-mat-stepper.$prefix,
|
|
@@ -38,6 +40,7 @@
|
|
|
38
40
|
|
|
39
41
|
@mixin theme($theme) {
|
|
40
42
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-stepper') {
|
|
43
|
+
@include base($theme);
|
|
41
44
|
@if inspection.theme-has($theme, color) {
|
|
42
45
|
@include color($theme);
|
|
43
46
|
}
|
package/table/_table-theme.scss
CHANGED
|
@@ -3,34 +3,31 @@
|
|
|
3
3
|
@use '../core/theming/inspection';
|
|
4
4
|
@use '../core/typography/typography';
|
|
5
5
|
@use '../core/tokens/token-utils';
|
|
6
|
+
@use '../core/style/sass-utils';
|
|
6
7
|
|
|
7
|
-
@mixin
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
|
|
11
|
-
@else {
|
|
12
|
-
html {
|
|
13
|
-
@content;
|
|
14
|
-
}
|
|
8
|
+
@mixin base($theme) {
|
|
9
|
+
@include sass-utils.current-selector-or-root() {
|
|
10
|
+
@include token-utils.create-token-values(
|
|
11
|
+
tokens-mat-table.$prefix, tokens-mat-table.get-unthemable-tokens());
|
|
15
12
|
}
|
|
16
13
|
}
|
|
17
14
|
|
|
18
15
|
@mixin color($theme) {
|
|
19
|
-
@include
|
|
16
|
+
@include sass-utils.current-selector-or-root() {
|
|
20
17
|
@include token-utils.create-token-values(tokens-mat-table.$prefix,
|
|
21
18
|
tokens-mat-table.get-color-tokens($theme));
|
|
22
19
|
}
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
@mixin typography($theme) {
|
|
26
|
-
@include
|
|
23
|
+
@include sass-utils.current-selector-or-root() {
|
|
27
24
|
@include token-utils.create-token-values(tokens-mat-table.$prefix,
|
|
28
25
|
tokens-mat-table.get-typography-tokens($theme));
|
|
29
26
|
}
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
@mixin density($theme) {
|
|
33
|
-
@include
|
|
30
|
+
@include sass-utils.current-selector-or-root() {
|
|
34
31
|
@include token-utils.create-token-values(tokens-mat-table.$prefix,
|
|
35
32
|
tokens-mat-table.get-density-tokens($theme));
|
|
36
33
|
}
|
|
@@ -38,6 +35,7 @@
|
|
|
38
35
|
|
|
39
36
|
@mixin theme($theme) {
|
|
40
37
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-table') {
|
|
38
|
+
@include base($theme);
|
|
41
39
|
@if inspection.theme-has($theme, color) {
|
|
42
40
|
@include color($theme);
|
|
43
41
|
}
|
package/tabs/_tabs-common.scss
CHANGED
|
@@ -215,11 +215,6 @@ $mat-tab-animation-duration: 500ms !default;
|
|
|
215
215
|
overflow: hidden;
|
|
216
216
|
position: relative;
|
|
217
217
|
flex-shrink: 0;
|
|
218
|
-
|
|
219
|
-
@include mdc-tab-indicator-theme.theme(tokens-mdc-tab-indicator.get-unthemable-tokens());
|
|
220
|
-
@include mdc-tab-theme.secondary-navigation-tab-theme(tokens-mdc-tab.get-unthemable-tokens());
|
|
221
|
-
@include token-utils.create-token-values(
|
|
222
|
-
tokens-mat-tab-header.$prefix, tokens-mat-tab-header.get-unthemable-tokens());
|
|
223
218
|
}
|
|
224
219
|
|
|
225
220
|
.mdc-tab-indicator .mdc-tab-indicator__content {
|
|
@@ -352,11 +347,6 @@ $mat-tab-animation-duration: 500ms !default;
|
|
|
352
347
|
|
|
353
348
|
@mixin paginated-tab-header-with-background($header-selector, $tab-selector) {
|
|
354
349
|
&.mat-tabs-with-background {
|
|
355
|
-
@include token-utils.create-token-values(
|
|
356
|
-
tokens-mat-tab-header-with-background.$prefix,
|
|
357
|
-
tokens-mat-tab-header-with-background.get-unthemable-tokens()
|
|
358
|
-
);
|
|
359
|
-
|
|
360
350
|
@include token-utils.use-tokens(
|
|
361
351
|
tokens-mat-tab-header-with-background.$prefix,
|
|
362
352
|
tokens-mat-tab-header-with-background.get-token-slots()
|
package/tabs/_tabs-theme.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '@material/tab-indicator/tab-indicator-theme' as mdc-tab-indicator-theme;
|
|
2
2
|
@use '@material/tab/tab-theme' as mdc-tab-theme;
|
|
3
|
+
@use '../core/style/sass-utils';
|
|
3
4
|
@use '../core/tokens/m2/mdc/tab' as tokens-mdc-tab;
|
|
4
5
|
@use '../core/tokens/m2/mdc/tab-indicator' as tokens-mdc-tab-indicator;
|
|
5
6
|
@use '../core/tokens/m2/mat/tab-header' as tokens-mat-tab-header;
|
|
@@ -9,6 +10,19 @@
|
|
|
9
10
|
@use '../core/typography/typography';
|
|
10
11
|
@use '../core/tokens/token-utils';
|
|
11
12
|
|
|
13
|
+
@mixin base($theme) {
|
|
14
|
+
@include sass-utils.current-selector-or-root() {
|
|
15
|
+
@include mdc-tab-indicator-theme.theme(tokens-mdc-tab-indicator.get-unthemable-tokens());
|
|
16
|
+
@include mdc-tab-theme.secondary-navigation-tab-theme(tokens-mdc-tab.get-unthemable-tokens());
|
|
17
|
+
@include token-utils.create-token-values(
|
|
18
|
+
tokens-mat-tab-header.$prefix, tokens-mat-tab-header.get-unthemable-tokens());
|
|
19
|
+
@include token-utils.create-token-values(
|
|
20
|
+
tokens-mat-tab-header-with-background.$prefix,
|
|
21
|
+
tokens-mat-tab-header-with-background.get-unthemable-tokens()
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
12
26
|
@mixin color($theme) {
|
|
13
27
|
.mat-mdc-tab-group, .mat-mdc-tab-nav-bar {
|
|
14
28
|
@include _palette-styles($theme, primary);
|
|
@@ -77,6 +91,7 @@
|
|
|
77
91
|
|
|
78
92
|
@mixin theme($theme) {
|
|
79
93
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-tabs') {
|
|
94
|
+
@include base($theme);
|
|
80
95
|
@if inspection.theme-has($theme, color) {
|
|
81
96
|
@include color($theme);
|
|
82
97
|
}
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
@mixin base($theme) {}
|
|
20
|
+
|
|
19
21
|
@mixin color($theme) {
|
|
20
22
|
@if inspection.get-theme-version($theme) == 1 {
|
|
21
23
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
@@ -75,6 +77,7 @@
|
|
|
75
77
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme));
|
|
76
78
|
}
|
|
77
79
|
@else {
|
|
80
|
+
@include base($theme);
|
|
78
81
|
@if inspection.theme-has($theme, color) {
|
|
79
82
|
@include color($theme);
|
|
80
83
|
}
|
package/tree/_tree-theme.scss
CHANGED
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
@use '../core/typography/typography';
|
|
5
5
|
@use './tree-variables';
|
|
6
6
|
|
|
7
|
+
@mixin base($theme) {
|
|
8
|
+
// TODO(mmalerba): Move tree base tokens here
|
|
9
|
+
}
|
|
10
|
+
|
|
7
11
|
@mixin color($theme) {
|
|
8
12
|
.mat-tree {
|
|
9
13
|
background: inspection.get-theme-color($theme, background, card);
|
|
@@ -44,6 +48,7 @@
|
|
|
44
48
|
|
|
45
49
|
@mixin theme($theme) {
|
|
46
50
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-tree') {
|
|
51
|
+
@include base($theme);
|
|
47
52
|
@if inspection.theme-has($theme, color) {
|
|
48
53
|
@include color($theme);
|
|
49
54
|
}
|