@angular/material 17.2.0-next.0 → 17.2.0-next.1
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/chips/_chips-theme.scss +11 -0
- package/core/tokens/m2/mat/_chip.scss +39 -0
- package/core/tokens/m2/mat/_form-field.scss +1 -1
- package/core/tokens/m2/mdc/_chip.scss +8 -8
- package/esm2022/autocomplete/autocomplete-origin.mjs +4 -4
- package/esm2022/autocomplete/autocomplete-trigger.mjs +4 -4
- package/esm2022/autocomplete/autocomplete.mjs +4 -4
- package/esm2022/autocomplete/module.mjs +5 -5
- package/esm2022/badge/badge-module.mjs +5 -5
- package/esm2022/badge/badge.mjs +7 -7
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +5 -5
- package/esm2022/bottom-sheet/bottom-sheet.mjs +4 -4
- package/esm2022/button/button-base.mjs +7 -7
- package/esm2022/button/button.mjs +7 -7
- package/esm2022/button/fab.mjs +13 -13
- package/esm2022/button/icon-button.mjs +7 -7
- package/esm2022/button/module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle-module.mjs +5 -5
- package/esm2022/button-toggle/button-toggle.mjs +7 -7
- package/esm2022/card/card.mjs +43 -43
- package/esm2022/card/module.mjs +5 -5
- package/esm2022/checkbox/checkbox-required-validator.mjs +4 -4
- package/esm2022/checkbox/checkbox.mjs +4 -4
- package/esm2022/checkbox/module.mjs +9 -9
- package/esm2022/chips/chip-action.mjs +4 -4
- package/esm2022/chips/chip-edit-input.mjs +4 -4
- package/esm2022/chips/chip-grid.mjs +4 -4
- package/esm2022/chips/chip-icons.mjs +10 -10
- package/esm2022/chips/chip-input.mjs +4 -4
- package/esm2022/chips/chip-listbox.mjs +4 -4
- package/esm2022/chips/chip-option.mjs +6 -6
- package/esm2022/chips/chip-row.mjs +6 -6
- package/esm2022/chips/chip-set.mjs +4 -4
- package/esm2022/chips/chip.mjs +5 -5
- package/esm2022/chips/module.mjs +5 -5
- package/esm2022/core/common-behaviors/common-module.mjs +5 -5
- package/esm2022/core/datetime/index.mjs +9 -9
- package/esm2022/core/datetime/native-date-adapter.mjs +4 -4
- package/esm2022/core/error/error-options.mjs +7 -7
- package/esm2022/core/internal-form-field/internal-form-field.mjs +4 -4
- package/esm2022/core/line/line.mjs +8 -8
- package/esm2022/core/option/index.mjs +5 -5
- package/esm2022/core/option/optgroup.mjs +4 -4
- package/esm2022/core/option/option.mjs +5 -5
- package/esm2022/core/private/ripple-loader.mjs +4 -4
- package/esm2022/core/ripple/index.mjs +5 -5
- package/esm2022/core/ripple/ripple.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +4 -4
- package/esm2022/datepicker/calendar.mjs +7 -7
- package/esm2022/datepicker/date-range-input-parts.mjs +10 -10
- package/esm2022/datepicker/date-range-input.mjs +4 -4
- package/esm2022/datepicker/date-range-picker.mjs +4 -4
- package/esm2022/datepicker/date-range-selection-strategy.mjs +4 -4
- package/esm2022/datepicker/date-selection-model.mjs +10 -10
- package/esm2022/datepicker/datepicker-actions.mjs +10 -10
- package/esm2022/datepicker/datepicker-base.mjs +7 -7
- package/esm2022/datepicker/datepicker-input-base.mjs +4 -4
- package/esm2022/datepicker/datepicker-input.mjs +4 -4
- package/esm2022/datepicker/datepicker-intl.mjs +4 -4
- package/esm2022/datepicker/datepicker-module.mjs +5 -5
- package/esm2022/datepicker/datepicker-toggle.mjs +7 -7
- package/esm2022/datepicker/datepicker.mjs +4 -4
- package/esm2022/datepicker/month-view.mjs +4 -4
- package/esm2022/datepicker/multi-year-view.mjs +4 -4
- package/esm2022/datepicker/year-view.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +4 -4
- package/esm2022/dialog/dialog-content-directives.mjs +16 -16
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/dialog/module.mjs +5 -5
- package/esm2022/divider/divider-module.mjs +5 -5
- package/esm2022/divider/divider.mjs +4 -4
- package/esm2022/expansion/accordion.mjs +4 -4
- package/esm2022/expansion/expansion-module.mjs +5 -5
- package/esm2022/expansion/expansion-panel-content.mjs +4 -4
- package/esm2022/expansion/expansion-panel-header.mjs +10 -10
- package/esm2022/expansion/expansion-panel.mjs +7 -7
- package/esm2022/form-field/directives/error.mjs +4 -4
- package/esm2022/form-field/directives/floating-label.mjs +4 -4
- package/esm2022/form-field/directives/hint.mjs +4 -4
- package/esm2022/form-field/directives/label.mjs +4 -4
- package/esm2022/form-field/directives/line-ripple.mjs +4 -4
- package/esm2022/form-field/directives/notched-outline.mjs +4 -4
- package/esm2022/form-field/directives/prefix.mjs +4 -4
- package/esm2022/form-field/directives/suffix.mjs +4 -4
- package/esm2022/form-field/form-field-control.mjs +4 -4
- package/esm2022/form-field/form-field.mjs +4 -4
- package/esm2022/form-field/module.mjs +5 -5
- package/esm2022/grid-list/grid-list-module.mjs +5 -5
- package/esm2022/grid-list/grid-list.mjs +4 -4
- package/esm2022/grid-list/grid-tile.mjs +16 -16
- package/esm2022/icon/icon-module.mjs +5 -5
- package/esm2022/icon/icon-registry.mjs +4 -4
- package/esm2022/icon/icon.mjs +4 -4
- package/esm2022/icon/testing/fake-icon-registry.mjs +8 -8
- package/esm2022/input/input.mjs +4 -4
- package/esm2022/input/module.mjs +5 -5
- package/esm2022/list/action-list.mjs +4 -4
- package/esm2022/list/list-base.mjs +7 -7
- package/esm2022/list/list-item-sections.mjs +19 -19
- package/esm2022/list/list-module.mjs +5 -5
- package/esm2022/list/list-option.mjs +4 -4
- package/esm2022/list/list.mjs +7 -7
- package/esm2022/list/nav-list.mjs +4 -4
- package/esm2022/list/selection-list.mjs +4 -4
- package/esm2022/list/subheader.mjs +4 -4
- package/esm2022/menu/menu-content.mjs +4 -4
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/menu/module.mjs +5 -5
- package/esm2022/paginator/module.mjs +5 -5
- package/esm2022/paginator/paginator-intl.mjs +4 -4
- package/esm2022/paginator/paginator.mjs +4 -4
- package/esm2022/progress-bar/module.mjs +5 -5
- package/esm2022/progress-bar/progress-bar.mjs +4 -4
- package/esm2022/progress-spinner/module.mjs +5 -5
- package/esm2022/progress-spinner/progress-spinner.mjs +4 -4
- package/esm2022/radio/module.mjs +5 -5
- package/esm2022/radio/radio.mjs +7 -7
- package/esm2022/select/module.mjs +5 -5
- package/esm2022/select/select.mjs +7 -7
- package/esm2022/sidenav/drawer.mjs +10 -10
- package/esm2022/sidenav/sidenav-module.mjs +5 -5
- package/esm2022/sidenav/sidenav.mjs +10 -10
- package/esm2022/slide-toggle/module.mjs +9 -9
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +4 -4
- package/esm2022/slide-toggle/slide-toggle.mjs +4 -4
- package/esm2022/slider/module.mjs +5 -5
- package/esm2022/slider/slider-input.mjs +7 -7
- package/esm2022/slider/slider-thumb.mjs +12 -10
- package/esm2022/slider/slider.mjs +4 -4
- package/esm2022/snack-bar/module.mjs +5 -5
- package/esm2022/snack-bar/simple-snack-bar.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-container.mjs +4 -4
- package/esm2022/snack-bar/snack-bar-content.mjs +10 -10
- package/esm2022/snack-bar/snack-bar.mjs +4 -4
- package/esm2022/sort/sort-header-intl.mjs +4 -4
- package/esm2022/sort/sort-header.mjs +4 -4
- package/esm2022/sort/sort-module.mjs +5 -5
- package/esm2022/sort/sort.mjs +4 -4
- package/esm2022/stepper/step-content.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +7 -7
- package/esm2022/stepper/stepper-icon.mjs +4 -4
- package/esm2022/stepper/stepper-intl.mjs +4 -4
- package/esm2022/stepper/stepper-module.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +7 -7
- package/esm2022/table/cell.mjs +22 -22
- package/esm2022/table/module.mjs +5 -5
- package/esm2022/table/row.mjs +22 -22
- package/esm2022/table/table.mjs +7 -7
- package/esm2022/table/text-column.mjs +4 -4
- package/esm2022/tabs/module.mjs +5 -5
- package/esm2022/tabs/paginated-tab-header.mjs +4 -4
- package/esm2022/tabs/tab-body.mjs +7 -7
- package/esm2022/tabs/tab-content.mjs +4 -4
- package/esm2022/tabs/tab-group.mjs +4 -4
- package/esm2022/tabs/tab-header.mjs +4 -4
- package/esm2022/tabs/tab-label-wrapper.mjs +4 -4
- package/esm2022/tabs/tab-label.mjs +4 -4
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
- package/esm2022/tabs/tab.mjs +4 -4
- package/esm2022/toolbar/toolbar-module.mjs +5 -5
- package/esm2022/toolbar/toolbar.mjs +7 -7
- package/esm2022/tooltip/module.mjs +5 -5
- package/esm2022/tooltip/tooltip.mjs +7 -7
- package/esm2022/tree/node.mjs +10 -10
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.mjs +4 -4
- package/esm2022/tree/toggle.mjs +4 -4
- package/esm2022/tree/tree-module.mjs +5 -5
- package/esm2022/tree/tree.mjs +4 -4
- package/fesm2022/autocomplete.mjs +13 -13
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +10 -10
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +34 -34
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +45 -45
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +60 -60
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +82 -82
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +25 -25
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion.mjs +25 -25
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +34 -34
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -16
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +10 -10
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +10 -10
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +22 -22
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +14 -14
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +24 -22
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +22 -22
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +31 -31
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +40 -40
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- 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/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/mdc-migration/index_bundled.js +87 -53
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
- package/schematics/ng-update/index_bundled.js +31 -31
- package/slide-toggle/_slide-toggle-theme.scss +26 -19
|
@@ -474,9 +474,9 @@ var require_tslib = __commonJS({
|
|
|
474
474
|
}
|
|
475
475
|
});
|
|
476
476
|
|
|
477
|
-
// bazel-out/
|
|
477
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js
|
|
478
478
|
var require_legacy_imports_error = __commonJS({
|
|
479
|
-
"bazel-out/
|
|
479
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/legacy-imports-error.js"(exports) {
|
|
480
480
|
"use strict";
|
|
481
481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
482
482
|
exports.legacyImportsError = void 0;
|
|
@@ -547,9 +547,9 @@ ${filesMessage}
|
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
549
|
|
|
550
|
-
// bazel-out/
|
|
550
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js
|
|
551
551
|
var require_attribute_selectors = __commonJS({
|
|
552
|
-
"bazel-out/
|
|
552
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/attribute-selectors.js"(exports) {
|
|
553
553
|
"use strict";
|
|
554
554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
555
555
|
exports.attributeSelectors = void 0;
|
|
@@ -557,9 +557,9 @@ var require_attribute_selectors = __commonJS({
|
|
|
557
557
|
}
|
|
558
558
|
});
|
|
559
559
|
|
|
560
|
-
// bazel-out/
|
|
560
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js
|
|
561
561
|
var require_class_names = __commonJS({
|
|
562
|
-
"bazel-out/
|
|
562
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/class-names.js"(exports) {
|
|
563
563
|
"use strict";
|
|
564
564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
565
565
|
exports.classNames = void 0;
|
|
@@ -567,9 +567,9 @@ var require_class_names = __commonJS({
|
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
569
|
|
|
570
|
-
// bazel-out/
|
|
570
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js
|
|
571
571
|
var require_constructor_checks = __commonJS({
|
|
572
|
-
"bazel-out/
|
|
572
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/constructor-checks.js"(exports) {
|
|
573
573
|
"use strict";
|
|
574
574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
575
575
|
exports.constructorChecks = void 0;
|
|
@@ -577,9 +577,9 @@ var require_constructor_checks = __commonJS({
|
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
579
|
|
|
580
|
-
// bazel-out/
|
|
580
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js
|
|
581
581
|
var require_css_selectors = __commonJS({
|
|
582
|
-
"bazel-out/
|
|
582
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/css-selectors.js"(exports) {
|
|
583
583
|
"use strict";
|
|
584
584
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
585
585
|
exports.cssSelectors = void 0;
|
|
@@ -587,9 +587,9 @@ var require_css_selectors = __commonJS({
|
|
|
587
587
|
}
|
|
588
588
|
});
|
|
589
589
|
|
|
590
|
-
// bazel-out/
|
|
590
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js
|
|
591
591
|
var require_element_selectors = __commonJS({
|
|
592
|
-
"bazel-out/
|
|
592
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/element-selectors.js"(exports) {
|
|
593
593
|
"use strict";
|
|
594
594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
595
595
|
exports.elementSelectors = void 0;
|
|
@@ -597,9 +597,9 @@ var require_element_selectors = __commonJS({
|
|
|
597
597
|
}
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
// bazel-out/
|
|
600
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js
|
|
601
601
|
var require_input_names = __commonJS({
|
|
602
|
-
"bazel-out/
|
|
602
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/input-names.js"(exports) {
|
|
603
603
|
"use strict";
|
|
604
604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
605
605
|
exports.inputNames = void 0;
|
|
@@ -607,9 +607,9 @@ var require_input_names = __commonJS({
|
|
|
607
607
|
}
|
|
608
608
|
});
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js
|
|
611
611
|
var require_method_call_checks = __commonJS({
|
|
612
|
-
"bazel-out/
|
|
612
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/method-call-checks.js"(exports) {
|
|
613
613
|
"use strict";
|
|
614
614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
615
615
|
exports.methodCallChecks = void 0;
|
|
@@ -617,9 +617,9 @@ var require_method_call_checks = __commonJS({
|
|
|
617
617
|
}
|
|
618
618
|
});
|
|
619
619
|
|
|
620
|
-
// bazel-out/
|
|
620
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js
|
|
621
621
|
var require_output_names = __commonJS({
|
|
622
|
-
"bazel-out/
|
|
622
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/output-names.js"(exports) {
|
|
623
623
|
"use strict";
|
|
624
624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
625
625
|
exports.outputNames = void 0;
|
|
@@ -627,9 +627,9 @@ var require_output_names = __commonJS({
|
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
629
|
|
|
630
|
-
// bazel-out/
|
|
630
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js
|
|
631
631
|
var require_property_names = __commonJS({
|
|
632
|
-
"bazel-out/
|
|
632
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/property-names.js"(exports) {
|
|
633
633
|
"use strict";
|
|
634
634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
635
635
|
exports.propertyNames = void 0;
|
|
@@ -637,9 +637,9 @@ var require_property_names = __commonJS({
|
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
|
|
640
|
-
// bazel-out/
|
|
640
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js
|
|
641
641
|
var require_symbol_removal = __commonJS({
|
|
642
|
-
"bazel-out/
|
|
642
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/symbol-removal.js"(exports) {
|
|
643
643
|
"use strict";
|
|
644
644
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
645
645
|
exports.symbolRemoval = void 0;
|
|
@@ -647,9 +647,9 @@ var require_symbol_removal = __commonJS({
|
|
|
647
647
|
}
|
|
648
648
|
});
|
|
649
649
|
|
|
650
|
-
// bazel-out/
|
|
650
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js
|
|
651
651
|
var require_data = __commonJS({
|
|
652
|
-
"bazel-out/
|
|
652
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/data/index.js"(exports) {
|
|
653
653
|
"use strict";
|
|
654
654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
655
655
|
var tslib_1 = require_tslib();
|
|
@@ -666,9 +666,9 @@ var require_data = __commonJS({
|
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
|
|
669
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js
|
|
670
670
|
var require_upgrade_data = __commonJS({
|
|
671
|
-
"bazel-out/
|
|
671
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/upgrade-data.js"(exports) {
|
|
672
672
|
"use strict";
|
|
673
673
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
674
674
|
exports.materialUpgradeData = void 0;
|
|
@@ -688,9 +688,9 @@ var require_upgrade_data = __commonJS({
|
|
|
688
688
|
}
|
|
689
689
|
});
|
|
690
690
|
|
|
691
|
-
// bazel-out/
|
|
691
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js
|
|
692
692
|
var require_migration = __commonJS({
|
|
693
|
-
"bazel-out/
|
|
693
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/migration.js"(exports) {
|
|
694
694
|
"use strict";
|
|
695
695
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
696
696
|
exports.addThemeBaseMixins = exports.checkThemeBaseMixins = void 0;
|
|
@@ -907,9 +907,9 @@ var require_migration = __commonJS({
|
|
|
907
907
|
}
|
|
908
908
|
});
|
|
909
909
|
|
|
910
|
-
// bazel-out/
|
|
910
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js
|
|
911
911
|
var require_theme_base_v17 = __commonJS({
|
|
912
|
-
"bazel-out/
|
|
912
|
+
"bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/migrations/theme-base-v17/index.js"(exports) {
|
|
913
913
|
"use strict";
|
|
914
914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
915
915
|
exports.ThemeBaseMigration = void 0;
|
|
@@ -992,7 +992,7 @@ ${mixinsText}`
|
|
|
992
992
|
}
|
|
993
993
|
});
|
|
994
994
|
|
|
995
|
-
// bazel-out/
|
|
995
|
+
// bazel-out/k8-fastbuild/bin/src/material/schematics/ng-update/index.mjs
|
|
996
996
|
var ng_update_exports = {};
|
|
997
997
|
__export(ng_update_exports, {
|
|
998
998
|
updateToV17: () => updateToV17
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@use '@material/switch/switch-theme' as mdc-switch-theme;
|
|
2
2
|
@use '@material/form-field/form-field-theme' as mdc-form-field-theme;
|
|
3
|
+
@use '../core/style/sass-utils';
|
|
3
4
|
@use '../core/theming/theming';
|
|
4
5
|
@use '../core/theming/inspection';
|
|
5
6
|
@use '../core/tokens/token-utils';
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
16
17
|
}
|
|
17
18
|
@else {
|
|
18
|
-
.
|
|
19
|
+
@include sass-utils.current-selector-or-root() {
|
|
19
20
|
@include mdc-switch-theme.theme(tokens-mdc-switch.get-unthemable-tokens());
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -35,26 +36,29 @@
|
|
|
35
36
|
$mdc-switch-color-tokens: tokens-mdc-switch.get-color-tokens($theme);
|
|
36
37
|
|
|
37
38
|
// Add values for MDC slide toggles tokens
|
|
38
|
-
.
|
|
39
|
+
@include sass-utils.current-selector-or-root() {
|
|
39
40
|
@include mdc-switch-theme.theme($mdc-switch-color-tokens);
|
|
40
|
-
@include mdc-form-field-theme.theme(tokens-mdc-form-field.get-color-tokens($theme));
|
|
41
41
|
|
|
42
42
|
// TODO(wagnermaciel): Use our token system to define this css variable.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
--mdc-switch-disabled-label-text-color: #{inspection.get-theme-color(
|
|
44
|
+
$theme,
|
|
45
|
+
foreground,
|
|
46
|
+
disabled-text
|
|
47
|
+
)};
|
|
48
48
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
.mat-mdc-slide-toggle {
|
|
50
|
+
@include mdc-form-field-theme.theme(tokens-mdc-form-field.get-color-tokens($theme));
|
|
51
|
+
|
|
52
|
+
// Change the color palette related tokens to accent or warn if applicable
|
|
53
|
+
&.mat-accent {
|
|
54
|
+
@include mdc-switch-theme.theme(
|
|
55
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, accent));
|
|
56
|
+
}
|
|
54
57
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
&.mat-warn {
|
|
59
|
+
@include mdc-switch-theme.theme(
|
|
60
|
+
tokens-mdc-switch.private-get-color-palette-color-tokens($theme, warn));
|
|
61
|
+
}
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
}
|
|
@@ -70,9 +74,12 @@
|
|
|
70
74
|
$mdc-switch-typography-tokens: tokens-mdc-switch.get-typography-tokens($theme);
|
|
71
75
|
|
|
72
76
|
// Add values for MDC slide toggle tokens
|
|
73
|
-
.
|
|
77
|
+
@include sass-utils.current-selector-or-root() {
|
|
74
78
|
@include mdc-switch-theme.theme($mdc-switch-typography-tokens);
|
|
75
|
-
|
|
79
|
+
|
|
80
|
+
.mat-mdc-slide-toggle {
|
|
81
|
+
@include mdc-form-field-theme.theme(tokens-mdc-form-field.get-typography-tokens($theme));
|
|
82
|
+
}
|
|
76
83
|
}
|
|
77
84
|
}
|
|
78
85
|
}
|
|
@@ -84,7 +91,7 @@
|
|
|
84
91
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
85
92
|
}
|
|
86
93
|
@else {
|
|
87
|
-
.
|
|
94
|
+
@include sass-utils.current-selector-or-root() {
|
|
88
95
|
@include mdc-switch-theme.theme(tokens-mdc-switch.get-density-tokens($theme));
|
|
89
96
|
}
|
|
90
97
|
}
|