@angular/material 19.0.0-next.1 → 19.0.0-next.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/_index.scss +3 -4
- package/button/_button-base.scss +2 -2
- package/button/index.d.ts +2 -10
- package/checkbox/_checkbox-common.scss +4 -4
- package/checkbox/index.d.ts +0 -7
- package/chips/index.d.ts +1 -10
- package/core/_core.scss +1 -7
- package/core/focus-indicators/_private.scss +21 -82
- package/core/index.d.ts +10 -167
- package/core/ripple/_ripple.scss +1 -1
- package/core/style/_elevation.scss +1 -1
- package/core/style/_menu-common.scss +1 -1
- package/core/style/_sass-utils.scss +4 -0
- package/core/theming/_palettes.scss +132 -45
- package/core/tokens/_m3-system.scss +93 -20
- package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
- package/core/tokens/m3/mat/_sidenav.scss +0 -1
- package/fesm2022/autocomplete.mjs +14 -14
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +11 -11
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +11 -11
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +11 -11
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +42 -53
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +16 -19
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips.mjs +46 -57
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +122 -256
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +87 -87
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +26 -26
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +28 -28
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +36 -36
- package/fesm2022/form-field.mjs.map +1 -1
- 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 +59 -59
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +18 -18
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -11
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +8 -8
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +8 -8
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio.mjs +11 -11
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select.mjs +12 -12
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +26 -26
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +16 -16
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +18 -18
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +23 -23
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +14 -14
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper.mjs +33 -33
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +57 -57
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +48 -48
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -11
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +26 -17
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/form-field/_form-field-high-contrast.scss +4 -4
- package/form-field/_mdc-text-field-structure.scss +2 -2
- package/list/_list-inherited-structure.scss +1 -1
- package/list/_list-item-hcm-indicator.scss +1 -1
- package/package.json +2 -146
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/m3-theme/index_bundled.js +2 -2
- package/schematics/ng-update/index_bundled.js +27 -27
- package/tabs/_tabs-common.scss +2 -2
- package/tree/index.d.ts +2 -2
- package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
- package/core/focus-indicators/_focus-indicators.scss +0 -6
- package/esm2022/autocomplete/animations.mjs +0 -24
- package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
- package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
- package/esm2022/autocomplete/autocomplete.mjs +0 -238
- package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
- package/esm2022/autocomplete/index.mjs +0 -9
- package/esm2022/autocomplete/module.mjs +0 -61
- package/esm2022/autocomplete/public-api.mjs +0 -14
- package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
- package/esm2022/autocomplete/testing/index.mjs +0 -9
- package/esm2022/autocomplete/testing/public-api.mjs +0 -10
- package/esm2022/badge/badge-module.mjs +0 -27
- package/esm2022/badge/badge.mjs +0 -288
- package/esm2022/badge/badge_public_index.mjs +0 -5
- package/esm2022/badge/index.mjs +0 -9
- package/esm2022/badge/public-api.mjs +0 -10
- package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
- package/esm2022/badge/testing/badge-harness.mjs +0 -71
- package/esm2022/badge/testing/index.mjs +0 -9
- package/esm2022/badge/testing/public-api.mjs +0 -10
- package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
- package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
- package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
- package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
- package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
- package/esm2022/bottom-sheet/index.mjs +0 -9
- package/esm2022/bottom-sheet/public-api.mjs +0 -14
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
- package/esm2022/bottom-sheet/testing/index.mjs +0 -9
- package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
- package/esm2022/button/button-base.mjs +0 -230
- package/esm2022/button/button.mjs +0 -67
- package/esm2022/button/button_public_index.mjs +0 -5
- package/esm2022/button/fab.mjs +0 -166
- package/esm2022/button/icon-button.mjs +0 -56
- package/esm2022/button/index.mjs +0 -9
- package/esm2022/button/module.mjs +0 -65
- package/esm2022/button/public-api.mjs +0 -13
- package/esm2022/button/testing/button-harness-filters.mjs +0 -9
- package/esm2022/button/testing/button-harness.mjs +0 -80
- package/esm2022/button/testing/index.mjs +0 -9
- package/esm2022/button/testing/public-api.mjs +0 -10
- package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
- package/esm2022/button-toggle/button-toggle.mjs +0 -651
- package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
- package/esm2022/button-toggle/index.mjs +0 -9
- package/esm2022/button-toggle/public-api.mjs +0 -10
- package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
- package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
- package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
- package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
- package/esm2022/button-toggle/testing/index.mjs +0 -9
- package/esm2022/button-toggle/testing/public-api.mjs +0 -12
- package/esm2022/card/card.mjs +0 -273
- package/esm2022/card/card_public_index.mjs +0 -5
- package/esm2022/card/index.mjs +0 -9
- package/esm2022/card/module.mjs +0 -67
- package/esm2022/card/public-api.mjs +0 -10
- package/esm2022/card/testing/card-harness-filters.mjs +0 -9
- package/esm2022/card/testing/card-harness.mjs +0 -50
- package/esm2022/card/testing/index.mjs +0 -9
- package/esm2022/card/testing/public-api.mjs +0 -10
- package/esm2022/checkbox/checkbox-config.mjs +0 -22
- package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
- package/esm2022/checkbox/checkbox.mjs +0 -443
- package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
- package/esm2022/checkbox/index.mjs +0 -9
- package/esm2022/checkbox/module.mjs +0 -41
- package/esm2022/checkbox/public-api.mjs +0 -12
- package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
- package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
- package/esm2022/checkbox/testing/index.mjs +0 -9
- package/esm2022/checkbox/testing/public-api.mjs +0 -9
- package/esm2022/chips/chip-action.mjs +0 -113
- package/esm2022/chips/chip-edit-input.mjs +0 -61
- package/esm2022/chips/chip-grid.mjs +0 -420
- package/esm2022/chips/chip-icons.mjs +0 -107
- package/esm2022/chips/chip-input.mjs +0 -192
- package/esm2022/chips/chip-listbox.mjs +0 -369
- package/esm2022/chips/chip-option.mjs +0 -190
- package/esm2022/chips/chip-row.mjs +0 -173
- package/esm2022/chips/chip-set.mjs +0 -283
- package/esm2022/chips/chip-text-control.mjs +0 -9
- package/esm2022/chips/chip.mjs +0 -322
- package/esm2022/chips/chips_public_index.mjs +0 -5
- package/esm2022/chips/index.mjs +0 -9
- package/esm2022/chips/module.mjs +0 -85
- package/esm2022/chips/public-api.mjs +0 -20
- package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
- package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
- package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
- package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
- package/esm2022/chips/testing/chip-harness.mjs +0 -62
- package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
- package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
- package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
- package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
- package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
- package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
- package/esm2022/chips/testing/index.mjs +0 -9
- package/esm2022/chips/testing/public-api.mjs +0 -19
- package/esm2022/chips/tokens.mjs +0 -39
- package/esm2022/core/animation/animation.mjs +0 -21
- package/esm2022/core/common-behaviors/color.mjs +0 -33
- package/esm2022/core/common-behaviors/common-module.mjs +0 -127
- package/esm2022/core/common-behaviors/constructor.mjs +0 -9
- package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
- package/esm2022/core/common-behaviors/disabled.mjs +0 -23
- package/esm2022/core/common-behaviors/error-state.mjs +0 -66
- package/esm2022/core/common-behaviors/index.mjs +0 -15
- package/esm2022/core/common-behaviors/initialized.mjs +0 -62
- package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
- package/esm2022/core/core_public_index.mjs +0 -5
- package/esm2022/core/datetime/date-adapter.mjs +0 -109
- package/esm2022/core/datetime/date-formats.mjs +0 -10
- package/esm2022/core/datetime/index.mjs +0 -46
- package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
- package/esm2022/core/datetime/native-date-formats.mjs +0 -19
- package/esm2022/core/error/error-options.mjs +0 -33
- package/esm2022/core/index.mjs +0 -9
- package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
- package/esm2022/core/line/line.mjs +0 -64
- package/esm2022/core/option/index.mjs +0 -30
- package/esm2022/core/option/optgroup.mjs +0 -71
- package/esm2022/core/option/option-parent.mjs +0 -13
- package/esm2022/core/option/option.mjs +0 -283
- package/esm2022/core/private/index.mjs +0 -9
- package/esm2022/core/private/ripple-loader.mjs +0 -160
- package/esm2022/core/public-api.mjs +0 -19
- package/esm2022/core/ripple/index.mjs +0 -27
- package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
- package/esm2022/core/ripple/ripple-ref.mjs +0 -39
- package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
- package/esm2022/core/ripple/ripple.mjs +0 -156
- package/esm2022/core/selection/index.mjs +0 -10
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
- package/esm2022/core/testing/index.mjs +0 -9
- package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2022/core/testing/optgroup-harness.mjs +0 -43
- package/esm2022/core/testing/option-harness-filters.mjs +0 -9
- package/esm2022/core/testing/option-harness.mjs +0 -53
- package/esm2022/core/testing/public-api.mjs +0 -12
- package/esm2022/core/version.mjs +0 -11
- package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
- package/esm2022/datepicker/calendar-body.mjs +0 -509
- package/esm2022/datepicker/calendar.mjs +0 -426
- package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
- package/esm2022/datepicker/date-range-input.mjs +0 -369
- package/esm2022/datepicker/date-range-picker.mjs +0 -51
- package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
- package/esm2022/datepicker/date-selection-model.mjs +0 -188
- package/esm2022/datepicker/datepicker-actions.mjs +0 -91
- package/esm2022/datepicker/datepicker-animations.mjs +0 -35
- package/esm2022/datepicker/datepicker-base.mjs +0 -609
- package/esm2022/datepicker/datepicker-errors.mjs +0 -14
- package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
- package/esm2022/datepicker/datepicker-input.mjs +0 -200
- package/esm2022/datepicker/datepicker-intl.mjs +0 -69
- package/esm2022/datepicker/datepicker-module.mjs +0 -138
- package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
- package/esm2022/datepicker/datepicker.mjs +0 -38
- package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
- package/esm2022/datepicker/index.mjs +0 -9
- package/esm2022/datepicker/month-view.mjs +0 -460
- package/esm2022/datepicker/multi-year-view.mjs +0 -330
- package/esm2022/datepicker/public-api.mjs +0 -27
- package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
- package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
- package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
- package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
- package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
- package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
- package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
- package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
- package/esm2022/datepicker/testing/index.mjs +0 -9
- package/esm2022/datepicker/testing/public-api.mjs +0 -14
- package/esm2022/datepicker/year-view.mjs +0 -324
- package/esm2022/dialog/dialog-animations.mjs +0 -38
- package/esm2022/dialog/dialog-config.mjs +0 -59
- package/esm2022/dialog/dialog-container.mjs +0 -253
- package/esm2022/dialog/dialog-content-directives.mjs +0 -212
- package/esm2022/dialog/dialog-ref.mjs +0 -177
- package/esm2022/dialog/dialog.mjs +0 -212
- package/esm2022/dialog/dialog_public_index.mjs +0 -5
- package/esm2022/dialog/index.mjs +0 -9
- package/esm2022/dialog/module.mjs +0 -45
- package/esm2022/dialog/public-api.mjs +0 -15
- package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
- package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
- package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
- package/esm2022/dialog/testing/index.mjs +0 -10
- package/esm2022/dialog/testing/public-api.mjs +0 -10
- package/esm2022/divider/divider-module.mjs +0 -24
- package/esm2022/divider/divider.mjs +0 -48
- package/esm2022/divider/divider_public_index.mjs +0 -5
- package/esm2022/divider/index.mjs +0 -9
- package/esm2022/divider/public-api.mjs +0 -10
- package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
- package/esm2022/divider/testing/divider-harness.mjs +0 -22
- package/esm2022/divider/testing/index.mjs +0 -9
- package/esm2022/divider/testing/public-api.mjs +0 -10
- package/esm2022/expansion/accordion-base.mjs +0 -14
- package/esm2022/expansion/accordion.mjs +0 -96
- package/esm2022/expansion/expansion-animations.mjs +0 -51
- package/esm2022/expansion/expansion-module.mjs +0 -65
- package/esm2022/expansion/expansion-panel-base.mjs +0 -14
- package/esm2022/expansion/expansion-panel-content.mjs +0 -35
- package/esm2022/expansion/expansion-panel-header.mjs +0 -218
- package/esm2022/expansion/expansion-panel.mjs +0 -211
- package/esm2022/expansion/expansion_public_index.mjs +0 -5
- package/esm2022/expansion/index.mjs +0 -9
- package/esm2022/expansion/public-api.mjs +0 -16
- package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
- package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
- package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
- package/esm2022/expansion/testing/index.mjs +0 -9
- package/esm2022/expansion/testing/public-api.mjs +0 -11
- package/esm2022/form-field/directives/error.mjs +0 -48
- package/esm2022/form-field/directives/floating-label.mjs +0 -135
- package/esm2022/form-field/directives/hint.mjs +0 -40
- package/esm2022/form-field/directives/label.mjs +0 -22
- package/esm2022/form-field/directives/line-ripple.mjs +0 -60
- package/esm2022/form-field/directives/notched-outline.mjs +0 -66
- package/esm2022/form-field/directives/prefix.mjs +0 -38
- package/esm2022/form-field/directives/suffix.mjs +0 -38
- package/esm2022/form-field/form-field-animations.mjs +0 -24
- package/esm2022/form-field/form-field-control.mjs +0 -11
- package/esm2022/form-field/form-field-errors.mjs +0 -20
- package/esm2022/form-field/form-field.mjs +0 -620
- package/esm2022/form-field/form-field_public_index.mjs +0 -5
- package/esm2022/form-field/index.mjs +0 -9
- package/esm2022/form-field/module.mjs +0 -51
- package/esm2022/form-field/public-api.mjs +0 -18
- package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
- package/esm2022/form-field/testing/control/index.mjs +0 -9
- package/esm2022/form-field/testing/error-harness.mjs +0 -29
- package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
- package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
- package/esm2022/form-field/testing/index.mjs +0 -9
- package/esm2022/form-field/testing/public-api.mjs +0 -15
- package/esm2022/grid-list/grid-list-base.mjs +0 -14
- package/esm2022/grid-list/grid-list-module.mjs +0 -59
- package/esm2022/grid-list/grid-list.mjs +0 -146
- package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
- package/esm2022/grid-list/grid-tile.mjs +0 -128
- package/esm2022/grid-list/index.mjs +0 -9
- package/esm2022/grid-list/public-api.mjs +0 -14
- package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
- package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
- package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
- package/esm2022/grid-list/testing/index.mjs +0 -9
- package/esm2022/grid-list/testing/public-api.mjs +0 -11
- package/esm2022/grid-list/tile-coordinator.mjs +0 -145
- package/esm2022/grid-list/tile-styler.mjs +0 -231
- package/esm2022/icon/fake-svgs.mjs +0 -62
- package/esm2022/icon/icon-module.mjs +0 -24
- package/esm2022/icon/icon-registry.mjs +0 -592
- package/esm2022/icon/icon.mjs +0 -379
- package/esm2022/icon/icon_public_index.mjs +0 -5
- package/esm2022/icon/index.mjs +0 -9
- package/esm2022/icon/public-api.mjs +0 -11
- package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
- package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
- package/esm2022/icon/testing/icon-harness.mjs +0 -60
- package/esm2022/icon/testing/index.mjs +0 -9
- package/esm2022/icon/testing/public-api.mjs +0 -11
- package/esm2022/icon/testing/testing_public_index.mjs +0 -5
- package/esm2022/icon/trusted-types.mjs +0 -43
- package/esm2022/index.mjs +0 -14
- package/esm2022/input/index.mjs +0 -9
- package/esm2022/input/input-errors.mjs +0 -12
- package/esm2022/input/input-value-accessor.mjs +0 -16
- package/esm2022/input/input.mjs +0 -524
- package/esm2022/input/input_public_index.mjs +0 -5
- package/esm2022/input/module.mjs +0 -26
- package/esm2022/input/public-api.mjs +0 -14
- package/esm2022/input/testing/index.mjs +0 -9
- package/esm2022/input/testing/input-harness-filters.mjs +0 -9
- package/esm2022/input/testing/input-harness.mjs +0 -119
- package/esm2022/input/testing/native-option-harness.mjs +0 -42
- package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
- package/esm2022/input/testing/native-select-harness.mjs +0 -79
- package/esm2022/input/testing/public-api.mjs +0 -13
- package/esm2022/list/action-list.mjs +0 -31
- package/esm2022/list/index.mjs +0 -9
- package/esm2022/list/list-base.mjs +0 -284
- package/esm2022/list/list-item-sections.mjs +0 -144
- package/esm2022/list/list-module.mjs +0 -97
- package/esm2022/list/list-option-types.mjs +0 -16
- package/esm2022/list/list-option.mjs +0 -295
- package/esm2022/list/list.mjs +0 -103
- package/esm2022/list/list_public_index.mjs +0 -5
- package/esm2022/list/nav-list.mjs +0 -37
- package/esm2022/list/public-api.mjs +0 -18
- package/esm2022/list/selection-list.mjs +0 -391
- package/esm2022/list/subheader.mjs +0 -28
- package/esm2022/list/testing/action-list-harness.mjs +0 -59
- package/esm2022/list/testing/index.mjs +0 -9
- package/esm2022/list/testing/list-harness-base.mjs +0 -95
- package/esm2022/list/testing/list-harness-filters.mjs +0 -9
- package/esm2022/list/testing/list-harness.mjs +0 -41
- package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
- package/esm2022/list/testing/nav-list-harness.mjs +0 -69
- package/esm2022/list/testing/public-api.mjs +0 -14
- package/esm2022/list/testing/selection-list-harness.mjs +0 -122
- package/esm2022/list/tokens.mjs +0 -11
- package/esm2022/menu/index.mjs +0 -9
- package/esm2022/menu/menu-animations.mjs +0 -61
- package/esm2022/menu/menu-content.mjs +0 -87
- package/esm2022/menu/menu-errors.mjs +0 -35
- package/esm2022/menu/menu-item.mjs +0 -148
- package/esm2022/menu/menu-panel.mjs +0 -14
- package/esm2022/menu/menu-positions.mjs +0 -9
- package/esm2022/menu/menu-trigger.mjs +0 -542
- package/esm2022/menu/menu.mjs +0 -405
- package/esm2022/menu/menu_public_index.mjs +0 -5
- package/esm2022/menu/module.mjs +0 -63
- package/esm2022/menu/public-api.mjs +0 -16
- package/esm2022/menu/testing/index.mjs +0 -9
- package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
- package/esm2022/menu/testing/menu-harness.mjs +0 -166
- package/esm2022/menu/testing/public-api.mjs +0 -10
- package/esm2022/paginator/index.mjs +0 -9
- package/esm2022/paginator/module.mjs +0 -28
- package/esm2022/paginator/paginator-intl.mjs +0 -62
- package/esm2022/paginator/paginator.mjs +0 -266
- package/esm2022/paginator/paginator_public_index.mjs +0 -5
- package/esm2022/paginator/public-api.mjs +0 -11
- package/esm2022/paginator/testing/index.mjs +0 -9
- package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
- package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
- package/esm2022/paginator/testing/public-api.mjs +0 -10
- package/esm2022/progress-bar/index.mjs +0 -9
- package/esm2022/progress-bar/module.mjs +0 -24
- package/esm2022/progress-bar/progress-bar.mjs +0 -181
- package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
- package/esm2022/progress-bar/public-api.mjs +0 -10
- package/esm2022/progress-bar/testing/index.mjs +0 -9
- package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
- package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
- package/esm2022/progress-bar/testing/public-api.mjs +0 -10
- package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
- package/esm2022/progress-spinner/index.mjs +0 -9
- package/esm2022/progress-spinner/module.mjs +0 -25
- package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
- package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
- package/esm2022/progress-spinner/public-api.mjs +0 -10
- package/esm2022/progress-spinner/testing/index.mjs +0 -9
- package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
- package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
- package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
- package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
- package/esm2022/radio/index.mjs +0 -9
- package/esm2022/radio/module.mjs +0 -25
- package/esm2022/radio/public-api.mjs +0 -10
- package/esm2022/radio/radio.mjs +0 -680
- package/esm2022/radio/radio_public_index.mjs +0 -5
- package/esm2022/radio/testing/index.mjs +0 -9
- package/esm2022/radio/testing/public-api.mjs +0 -10
- package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
- package/esm2022/radio/testing/radio-harness.mjs +0 -228
- package/esm2022/select/index.mjs +0 -9
- package/esm2022/select/module.mjs +0 -59
- package/esm2022/select/public-api.mjs +0 -15
- package/esm2022/select/select-animations.mjs +0 -38
- package/esm2022/select/select-errors.mjs +0 -35
- package/esm2022/select/select.mjs +0 -1160
- package/esm2022/select/select_public_index.mjs +0 -5
- package/esm2022/select/testing/index.mjs +0 -9
- package/esm2022/select/testing/public-api.mjs +0 -10
- package/esm2022/select/testing/select-harness-filters.mjs +0 -9
- package/esm2022/select/testing/select-harness.mjs +0 -129
- package/esm2022/sidenav/drawer-animations.mjs +0 -33
- package/esm2022/sidenav/drawer.mjs +0 -863
- package/esm2022/sidenav/index.mjs +0 -9
- package/esm2022/sidenav/public-api.mjs +0 -12
- package/esm2022/sidenav/sidenav-module.mjs +0 -60
- package/esm2022/sidenav/sidenav.mjs +0 -148
- package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
- package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
- package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
- package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
- package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
- package/esm2022/sidenav/testing/index.mjs +0 -9
- package/esm2022/sidenav/testing/public-api.mjs +0 -15
- package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
- package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
- package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
- package/esm2022/slide-toggle/index.mjs +0 -9
- package/esm2022/slide-toggle/module.mjs +0 -41
- package/esm2022/slide-toggle/public-api.mjs +0 -12
- package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
- package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
- package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
- package/esm2022/slide-toggle/testing/index.mjs +0 -9
- package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
- package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
- package/esm2022/slider/index.mjs +0 -9
- package/esm2022/slider/module.mjs +0 -39
- package/esm2022/slider/public-api.mjs +0 -13
- package/esm2022/slider/slider-input.mjs +0 -701
- package/esm2022/slider/slider-interface.mjs +0 -56
- package/esm2022/slider/slider-thumb.mjs +0 -231
- package/esm2022/slider/slider.mjs +0 -746
- package/esm2022/slider/slider_public_index.mjs +0 -5
- package/esm2022/slider/testing/index.mjs +0 -9
- package/esm2022/slider/testing/public-api.mjs +0 -11
- package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
- package/esm2022/slider/testing/slider-harness.mjs +0 -67
- package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
- package/esm2022/snack-bar/index.mjs +0 -9
- package/esm2022/snack-bar/module.mjs +0 -47
- package/esm2022/snack-bar/public-api.mjs +0 -16
- package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
- package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
- package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
- package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
- package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
- package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
- package/esm2022/snack-bar/snack-bar.mjs +0 -267
- package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
- package/esm2022/snack-bar/testing/index.mjs +0 -9
- package/esm2022/snack-bar/testing/public-api.mjs +0 -10
- package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
- package/esm2022/sort/index.mjs +0 -9
- package/esm2022/sort/public-api.mjs +0 -14
- package/esm2022/sort/sort-animations.mjs +0 -69
- package/esm2022/sort/sort-direction.mjs +0 -9
- package/esm2022/sort/sort-errors.mjs +0 -24
- package/esm2022/sort/sort-header-intl.mjs +0 -41
- package/esm2022/sort/sort-header.mjs +0 -317
- package/esm2022/sort/sort-module.mjs +0 -27
- package/esm2022/sort/sort.mjs +0 -155
- package/esm2022/sort/sort_public_index.mjs +0 -5
- package/esm2022/sort/testing/index.mjs +0 -9
- package/esm2022/sort/testing/public-api.mjs +0 -11
- package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
- package/esm2022/sort/testing/sort-harness.mjs +0 -36
- package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
- package/esm2022/stepper/index.mjs +0 -9
- package/esm2022/stepper/public-api.mjs +0 -17
- package/esm2022/stepper/step-content.mjs +0 -27
- package/esm2022/stepper/step-header.mjs +0 -105
- package/esm2022/stepper/step-label.mjs +0 -22
- package/esm2022/stepper/stepper-animations.mjs +0 -47
- package/esm2022/stepper/stepper-button.mjs +0 -43
- package/esm2022/stepper/stepper-icon.mjs +0 -30
- package/esm2022/stepper/stepper-intl.mjs +0 -43
- package/esm2022/stepper/stepper-module.mjs +0 -88
- package/esm2022/stepper/stepper.mjs +0 -205
- package/esm2022/stepper/stepper_public_index.mjs +0 -5
- package/esm2022/stepper/testing/index.mjs +0 -9
- package/esm2022/stepper/testing/public-api.mjs +0 -12
- package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
- package/esm2022/stepper/testing/step-harness.mjs +0 -90
- package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
- package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
- package/esm2022/table/cell.mjs +0 -147
- package/esm2022/table/index.mjs +0 -9
- package/esm2022/table/module.mjs +0 -93
- package/esm2022/table/public-api.mjs +0 -14
- package/esm2022/table/row.mjs +0 -163
- package/esm2022/table/table-data-source.mjs +0 -317
- package/esm2022/table/table.mjs +0 -122
- package/esm2022/table/table_public_index.mjs +0 -5
- package/esm2022/table/testing/cell-harness.mjs +0 -77
- package/esm2022/table/testing/index.mjs +0 -9
- package/esm2022/table/testing/public-api.mjs +0 -12
- package/esm2022/table/testing/row-harness.mjs +0 -84
- package/esm2022/table/testing/table-harness-filters.mjs +0 -2
- package/esm2022/table/testing/table-harness.mjs +0 -86
- package/esm2022/table/text-column.mjs +0 -60
- package/esm2022/tabs/index.mjs +0 -9
- package/esm2022/tabs/ink-bar.mjs +0 -149
- package/esm2022/tabs/module.mjs +0 -60
- package/esm2022/tabs/paginated-tab-header.mjs +0 -539
- package/esm2022/tabs/public-api.mjs +0 -21
- package/esm2022/tabs/tab-body.mjs +0 -199
- package/esm2022/tabs/tab-config.mjs +0 -11
- package/esm2022/tabs/tab-content.mjs +0 -32
- package/esm2022/tabs/tab-group.mjs +0 -469
- package/esm2022/tabs/tab-header.mjs +0 -86
- package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
- package/esm2022/tabs/tab-label.mjs +0 -44
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
- package/esm2022/tabs/tab.mjs +0 -128
- package/esm2022/tabs/tabs-animations.mjs +0 -45
- package/esm2022/tabs/tabs_public_index.mjs +0 -5
- package/esm2022/tabs/testing/index.mjs +0 -9
- package/esm2022/tabs/testing/public-api.mjs +0 -13
- package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
- package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2022/tabs/testing/tab-harness.mjs +0 -66
- package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
- package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
- package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
- package/esm2022/toolbar/index.mjs +0 -9
- package/esm2022/toolbar/public-api.mjs +0 -10
- package/esm2022/toolbar/testing/index.mjs +0 -9
- package/esm2022/toolbar/testing/public-api.mjs +0 -10
- package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
- package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
- package/esm2022/toolbar/toolbar-module.mjs +0 -24
- package/esm2022/toolbar/toolbar.mjs +0 -84
- package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
- package/esm2022/tooltip/index.mjs +0 -9
- package/esm2022/tooltip/module.mjs +0 -29
- package/esm2022/tooltip/public-api.mjs +0 -11
- package/esm2022/tooltip/testing/index.mjs +0 -9
- package/esm2022/tooltip/testing/public-api.mjs +0 -10
- package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
- package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
- package/esm2022/tooltip/tooltip-animations.mjs +0 -24
- package/esm2022/tooltip/tooltip.mjs +0 -920
- package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
- package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
- package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
- package/esm2022/tree/index.mjs +0 -9
- package/esm2022/tree/node.mjs +0 -220
- package/esm2022/tree/outlet.mjs +0 -46
- package/esm2022/tree/padding.mjs +0 -46
- package/esm2022/tree/public-api.mjs +0 -16
- package/esm2022/tree/testing/index.mjs +0 -9
- package/esm2022/tree/testing/node-harness.mjs +0 -73
- package/esm2022/tree/testing/public-api.mjs +0 -11
- package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
- package/esm2022/tree/testing/tree-harness.mjs +0 -123
- package/esm2022/tree/toggle.mjs +0 -27
- package/esm2022/tree/tree-module.mjs +0 -50
- package/esm2022/tree/tree.mjs +0 -34
- package/esm2022/tree/tree_public_index.mjs +0 -5
package/_index.scss
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@forward './core/tokens/m3-system' show system-level-colors,
|
|
22
22
|
system-level-typography, system-level-elevation, system-level-shape,
|
|
23
23
|
system-level-motion, system-level-state;
|
|
24
|
+
@forward './core/tokens/m3-system' as private-experimental-* show private-experimental-theme;
|
|
24
25
|
|
|
25
26
|
// Private/Internal
|
|
26
27
|
@forward './core/density/private/all-density' show all-component-densities;
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
// Structural
|
|
38
39
|
@forward './core/core' show core;
|
|
39
40
|
@forward './core/ripple/ripple' show ripple;
|
|
40
|
-
@forward './core/focus-indicators/
|
|
41
|
-
|
|
41
|
+
@forward './core/focus-indicators/private' show strong-focus-indicators,
|
|
42
|
+
strong-focus-indicators-color, strong-focus-indicators-theme;
|
|
42
43
|
@forward './core/style/elevation' show elevation, overridable-elevation, elevation-transition;
|
|
43
44
|
|
|
44
45
|
// Theme bundles
|
|
@@ -60,8 +61,6 @@
|
|
|
60
61
|
pseudo-checkbox-base, pseudo-checkbox-overrides;
|
|
61
62
|
@forward './core/selection/pseudo-checkbox/pseudo-checkbox-common' as pseudo-checkbox-* show
|
|
62
63
|
pseudo-checkbox-legacy-size;
|
|
63
|
-
@forward './core/focus-indicators/focus-indicators-theme' as strong-focus-indicators-* show
|
|
64
|
-
strong-focus-indicators-color, strong-focus-indicators-theme;
|
|
65
64
|
@forward './autocomplete/autocomplete-theme' as autocomplete-* show autocomplete-theme,
|
|
66
65
|
autocomplete-color, autocomplete-typography, autocomplete-density, autocomplete-base,
|
|
67
66
|
autocomplete-overrides;
|
package/button/_button-base.scss
CHANGED
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
// The focus indicator should match the bounds of the entire button.
|
|
51
|
-
.mat-
|
|
51
|
+
.mat-focus-indicator {
|
|
52
52
|
@include layout-common.fill();
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
&:focus .mat-
|
|
55
|
+
&:focus .mat-focus-indicator::before {
|
|
56
56
|
content: '';
|
|
57
57
|
}
|
|
58
58
|
}
|
package/button/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { FocusOrigin } from '@angular/cdk/a11y';
|
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import * as i1 from '@angular/material/core';
|
|
6
6
|
import { InjectionToken } from '@angular/core';
|
|
7
|
-
import { MatRipple } from '@angular/material/core';
|
|
8
7
|
import { MatRippleLoader } from '@angular/material/core';
|
|
9
8
|
import { NgZone } from '@angular/core';
|
|
10
9
|
import { OnDestroy } from '@angular/core';
|
|
@@ -104,16 +103,9 @@ declare class MatButtonBase implements AfterViewInit, OnDestroy {
|
|
|
104
103
|
* Handles the lazy creation of the MatButton ripple.
|
|
105
104
|
* Used to improve initial load time of large applications.
|
|
106
105
|
*/
|
|
107
|
-
_rippleLoader: MatRippleLoader;
|
|
106
|
+
protected _rippleLoader: MatRippleLoader;
|
|
108
107
|
/** Whether this button is a FAB. Used to apply the correct class on the ripple. */
|
|
109
|
-
_isFab: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* Reference to the MatRipple instance of the button.
|
|
112
|
-
* @deprecated Considered an implementation detail. To be removed.
|
|
113
|
-
* @breaking-change 17.0.0
|
|
114
|
-
*/
|
|
115
|
-
get ripple(): MatRipple;
|
|
116
|
-
set ripple(v: MatRipple);
|
|
108
|
+
protected _isFab: boolean;
|
|
117
109
|
/**
|
|
118
110
|
* Theme color of the button. This API is supported in M2 themes only, it has
|
|
119
111
|
* no effect in M3 themes.
|
|
@@ -66,7 +66,7 @@ $_fallback-size: 40px;
|
|
|
66
66
|
cursor: default;
|
|
67
67
|
pointer-events: none;
|
|
68
68
|
|
|
69
|
-
@include cdk.high-contrast
|
|
69
|
+
@include cdk.high-contrast {
|
|
70
70
|
opacity: 0.5;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -177,7 +177,7 @@ $_fallback-size: 40px;
|
|
|
177
177
|
@include token-utils.create-token-slot(color, selected-checkmark-color);
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
@include cdk.high-contrast
|
|
180
|
+
@include cdk.high-contrast {
|
|
181
181
|
color: CanvasText;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
@@ -188,7 +188,7 @@ $_fallback-size: 40px;
|
|
|
188
188
|
.mdc-checkbox__checkmark {
|
|
189
189
|
@include token-utils.create-token-slot(color, disabled-selected-checkmark-color);
|
|
190
190
|
|
|
191
|
-
@include cdk.high-contrast
|
|
191
|
+
@include cdk.high-contrast {
|
|
192
192
|
color: CanvasText;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
@@ -220,7 +220,7 @@ $_fallback-size: 40px;
|
|
|
220
220
|
@include token-utils.create-token-slot(border-color, selected-checkmark-color);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
@include cdk.high-contrast
|
|
223
|
+
@include cdk.high-contrast {
|
|
224
224
|
margin: 0 1px;
|
|
225
225
|
}
|
|
226
226
|
}
|
package/checkbox/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { FocusableOption } from '@angular/cdk/a11y';
|
|
|
9
9
|
import * as i0 from '@angular/core';
|
|
10
10
|
import * as i3 from '@angular/material/core';
|
|
11
11
|
import { InjectionToken } from '@angular/core';
|
|
12
|
-
import { MatRipple } from '@angular/material/core';
|
|
13
12
|
import { NgZone } from '@angular/core';
|
|
14
13
|
import { OnChanges } from '@angular/core';
|
|
15
14
|
import { Provider } from '@angular/core';
|
|
@@ -119,12 +118,6 @@ export declare class MatCheckbox implements AfterViewInit, OnChanges, ControlVal
|
|
|
119
118
|
color: string | undefined;
|
|
120
119
|
/** Whether the checkbox should remain interactive when it is disabled. */
|
|
121
120
|
disabledInteractive: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Reference to the MatRipple instance of the checkbox.
|
|
124
|
-
* @deprecated Considered an implementation detail. To be removed.
|
|
125
|
-
* @breaking-change 17.0.0
|
|
126
|
-
*/
|
|
127
|
-
ripple: MatRipple;
|
|
128
121
|
/**
|
|
129
122
|
* Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.
|
|
130
123
|
* @docs-private
|
package/chips/index.d.ts
CHANGED
|
@@ -16,8 +16,6 @@ import { InjectionToken } from '@angular/core';
|
|
|
16
16
|
import { Injector } from '@angular/core';
|
|
17
17
|
import { MatFormField } from '@angular/material/form-field';
|
|
18
18
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
19
|
-
import { MatRipple } from '@angular/material/core';
|
|
20
|
-
import { MatRippleLoader } from '@angular/material/core';
|
|
21
19
|
import { NgControl } from '@angular/forms';
|
|
22
20
|
import { NgForm } from '@angular/forms';
|
|
23
21
|
import { NgZone } from '@angular/core';
|
|
@@ -217,20 +215,13 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
217
215
|
trailingIcon: MatChipTrailingIcon;
|
|
218
216
|
/** The chip's trailing remove icon. */
|
|
219
217
|
removeIcon: MatChipRemove;
|
|
220
|
-
/**
|
|
221
|
-
* Reference to the MatRipple instance of the chip.
|
|
222
|
-
* @deprecated Considered an implementation detail. To be removed.
|
|
223
|
-
* @breaking-change 17.0.0
|
|
224
|
-
*/
|
|
225
|
-
get ripple(): MatRipple;
|
|
226
|
-
set ripple(v: MatRipple);
|
|
227
218
|
/** Action receiving the primary set of user interactions. */
|
|
228
219
|
primaryAction: MatChipAction;
|
|
229
220
|
/**
|
|
230
221
|
* Handles the lazy creation of the MatChip ripple.
|
|
231
222
|
* Used to improve initial load time of large applications.
|
|
232
223
|
*/
|
|
233
|
-
_rippleLoader
|
|
224
|
+
private _rippleLoader;
|
|
234
225
|
protected _injector: Injector;
|
|
235
226
|
constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone, _focusMonitor: FocusMonitor, _document: any, animationMode?: string, _globalRippleOptions?: RippleGlobalOptions | undefined);
|
|
236
227
|
ngOnInit(): void;
|
package/core/_core.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use '@angular/cdk';
|
|
2
2
|
@use './tokens/m2/mat/app' as tokens-mat-app;
|
|
3
3
|
@use './tokens/token-utils';
|
|
4
|
-
@use './ripple/ripple';
|
|
5
4
|
@use './style/elevation';
|
|
6
5
|
@use './focus-indicators/private';
|
|
7
6
|
|
|
@@ -15,13 +14,8 @@
|
|
|
15
14
|
--mat-app-on-surface: initial;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
|
-
@include ripple.ripple();
|
|
19
17
|
@include cdk.a11y-visually-hidden();
|
|
20
|
-
@include
|
|
21
|
-
@include cdk.text-field-autosize();
|
|
22
|
-
@include cdk.text-field-autofill();
|
|
23
|
-
@include private.structural-styling('mat');
|
|
24
|
-
@include private.structural-styling('mat-mdc');
|
|
18
|
+
@include private.structural-styling();
|
|
25
19
|
|
|
26
20
|
// Wrapper element that provides the theme background when the
|
|
27
21
|
// user's content isn't inside of a `mat-sidenav-container`.
|
|
@@ -12,31 +12,19 @@ $default-border-color: transparent;
|
|
|
12
12
|
$default-border-radius: 4px;
|
|
13
13
|
|
|
14
14
|
// Mixin that renders the focus indicator structural styles.
|
|
15
|
-
@mixin structural-styling(
|
|
16
|
-
|
|
15
|
+
@mixin structural-styling() {
|
|
16
|
+
.mat-focus-indicator {
|
|
17
17
|
position: relative;
|
|
18
18
|
|
|
19
19
|
&::before {
|
|
20
20
|
@include layout-common.fill();
|
|
21
21
|
box-sizing: border-box;
|
|
22
22
|
pointer-events: none;
|
|
23
|
-
display: var(
|
|
24
|
-
border: var(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var(
|
|
29
|
-
--#{$prefix}-focus-indicator-border-style,
|
|
30
|
-
#{$default-border-style}
|
|
31
|
-
)
|
|
32
|
-
var(
|
|
33
|
-
--#{$prefix}-focus-indicator-border-color,
|
|
34
|
-
#{$default-border-color}
|
|
35
|
-
);
|
|
36
|
-
border-radius: var(
|
|
37
|
-
--#{$prefix}-focus-indicator-border-radius,
|
|
38
|
-
#{$default-border-radius}
|
|
39
|
-
);
|
|
23
|
+
display: var(--mat-focus-indicator-display, none); // Hide the indicator by default.
|
|
24
|
+
border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
|
|
25
|
+
border-style: var(--mat-focus-indicator-border-style, #{$default-border-style});
|
|
26
|
+
border-color: var(--mat-focus-indicator-border-color, #{$default-border-color});
|
|
27
|
+
border-radius: var(--mat-focus-indicator-border-radius, #{$default-border-radius});
|
|
40
28
|
}
|
|
41
29
|
|
|
42
30
|
// By default, render the focus indicator when the focus indicator host element takes focus.
|
|
@@ -47,8 +35,8 @@ $default-border-radius: 4px;
|
|
|
47
35
|
}
|
|
48
36
|
|
|
49
37
|
// Enable the indicator in high contrast mode.
|
|
50
|
-
@include cdk.high-contrast
|
|
51
|
-
@include
|
|
38
|
+
@include cdk.high-contrast {
|
|
39
|
+
@include _customize-focus-indicators((display: block));
|
|
52
40
|
}
|
|
53
41
|
}
|
|
54
42
|
|
|
@@ -62,18 +50,18 @@ $default-border-radius: 4px;
|
|
|
62
50
|
}
|
|
63
51
|
|
|
64
52
|
// Mixin that dedups CSS variables for the strong-focus-indicators mixin.
|
|
65
|
-
@mixin
|
|
53
|
+
@mixin _customize-focus-indicators($config) {
|
|
66
54
|
$border-style: map.get($config, border-style);
|
|
67
55
|
$border-width: map.get($config, border-width);
|
|
68
56
|
$border-radius: map.get($config, border-radius);
|
|
69
57
|
$border-color: map.get($config, border-color);
|
|
70
58
|
$display: map.get($config, display);
|
|
71
59
|
$map: (
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
60
|
+
'mat-focus-indicator-border-style': $border-style,
|
|
61
|
+
'mat-focus-indicator-border-width': $border-width,
|
|
62
|
+
'mat-focus-indicator-border-radius': $border-radius,
|
|
63
|
+
'mat-focus-indicator-border-color': $border-color,
|
|
64
|
+
'mat-focus-indicator-display': $display,
|
|
77
65
|
);
|
|
78
66
|
|
|
79
67
|
@if (&) {
|
|
@@ -91,48 +79,29 @@ $default-border-radius: 4px;
|
|
|
91
79
|
@mixin strong-focus-indicators($config: ()) {
|
|
92
80
|
// Default focus indicator config.
|
|
93
81
|
$default-config: (
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
border-color: black,
|
|
83
|
+
display: block,
|
|
96
84
|
);
|
|
97
85
|
|
|
98
86
|
// Merge default config with user config.
|
|
99
87
|
$config: map.merge($default-config, $config);
|
|
100
88
|
|
|
101
|
-
@include
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin mdc-strong-focus-indicators($config: ()) {
|
|
105
|
-
// Default focus indicator config.
|
|
106
|
-
$default-config: (
|
|
107
|
-
border-color: black,
|
|
108
|
-
display: block,
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
// Merge default config with user config.
|
|
112
|
-
$config: map.merge($default-config, $config);
|
|
113
|
-
|
|
114
|
-
@include customize-focus-indicators($config, 'mat-mdc');
|
|
89
|
+
@include _customize-focus-indicators($config);
|
|
115
90
|
}
|
|
116
91
|
|
|
117
92
|
@mixin strong-focus-indicators-color($theme-or-color) {
|
|
118
93
|
@if meta.type-of($theme-or-color) == 'color' {
|
|
119
|
-
@include
|
|
120
|
-
border-color: $theme-or-color
|
|
121
|
-
), 'mat');
|
|
94
|
+
@include _customize-focus-indicators((border-color: $theme-or-color));
|
|
122
95
|
}
|
|
123
96
|
@else {
|
|
124
97
|
$border-color: inspection.get-theme-color($theme-or-color, primary);
|
|
125
|
-
@include
|
|
126
|
-
border-color: $border-color
|
|
127
|
-
), 'mat');
|
|
98
|
+
@include _customize-focus-indicators((border-color: $border-color));
|
|
128
99
|
}
|
|
129
100
|
}
|
|
130
101
|
|
|
131
102
|
@mixin strong-focus-indicators-theme($theme-or-color) {
|
|
132
103
|
@if meta.type-of($theme-or-color) == 'color' {
|
|
133
|
-
@include
|
|
134
|
-
border-color: $theme-or-color
|
|
135
|
-
), 'mat');
|
|
104
|
+
@include _customize-focus-indicators((border-color: $theme-or-color));
|
|
136
105
|
}
|
|
137
106
|
@else {
|
|
138
107
|
@include theming.private-check-duplicate-theme-styles($theme-or-color, 'mat-focus-indicators') {
|
|
@@ -142,33 +111,3 @@ $default-border-radius: 4px;
|
|
|
142
111
|
}
|
|
143
112
|
}
|
|
144
113
|
}
|
|
145
|
-
|
|
146
|
-
@mixin mdc-strong-focus-indicators-color($theme-or-color) {
|
|
147
|
-
@if meta.type-of($theme-or-color) == 'color' {
|
|
148
|
-
@include customize-focus-indicators((
|
|
149
|
-
border-color: $theme-or-color
|
|
150
|
-
), 'mat-mdc');
|
|
151
|
-
}
|
|
152
|
-
@else {
|
|
153
|
-
$border-color: inspection.get-theme-color($theme-or-color, primary);
|
|
154
|
-
@include customize-focus-indicators((
|
|
155
|
-
border-color: $border-color
|
|
156
|
-
), 'mat-mdc');
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin mdc-strong-focus-indicators-theme($theme-or-color) {
|
|
161
|
-
@if meta.type-of($theme-or-color) == 'color' {
|
|
162
|
-
@include customize-focus-indicators((
|
|
163
|
-
border-color: $theme-or-color
|
|
164
|
-
), 'mat-mdc');
|
|
165
|
-
}
|
|
166
|
-
@else {
|
|
167
|
-
@include theming.private-check-duplicate-theme-styles(
|
|
168
|
-
$theme-or-color, 'mat-mdc-focus-indicators') {
|
|
169
|
-
@if inspection.theme-has($theme-or-color, color) {
|
|
170
|
-
@include mdc-strong-focus-indicators-color($theme-or-color);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
package/core/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import { HighContrastModeDetector } from '@angular/cdk/a11y';
|
|
|
10
10
|
import * as i0 from '@angular/core';
|
|
11
11
|
import * as i1 from '@angular/cdk/bidi';
|
|
12
12
|
import { InjectionToken } from '@angular/core';
|
|
13
|
+
import { Injector } from '@angular/core';
|
|
13
14
|
import { NgControl } from '@angular/forms';
|
|
14
15
|
import { NgForm } from '@angular/forms';
|
|
15
16
|
import { NgZone } from '@angular/core';
|
|
@@ -22,12 +23,6 @@ import { QueryList } from '@angular/core';
|
|
|
22
23
|
import { Subject } from 'rxjs';
|
|
23
24
|
import { Version } from '@angular/core';
|
|
24
25
|
|
|
25
|
-
/**
|
|
26
|
-
* This is a permissive type for abstract class constructors.
|
|
27
|
-
* @docs-private
|
|
28
|
-
*/
|
|
29
|
-
export declare type _AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
|
|
30
|
-
|
|
31
26
|
|
|
32
27
|
/** @docs-private */
|
|
33
28
|
export declare class AnimationCurves {
|
|
@@ -44,64 +39,6 @@ export declare class AnimationDurations {
|
|
|
44
39
|
static EXITING: string;
|
|
45
40
|
}
|
|
46
41
|
|
|
47
|
-
/**
|
|
48
|
-
* @docs-private
|
|
49
|
-
* @deprecated Will be removed together with `mixinColor`.
|
|
50
|
-
* @breaking-change 19.0.0
|
|
51
|
-
*/
|
|
52
|
-
export declare interface CanColor {
|
|
53
|
-
/** Theme color palette for the component. */
|
|
54
|
-
color: ThemePalette;
|
|
55
|
-
/** Default color to fall back to if no value is set. */
|
|
56
|
-
defaultColor: ThemePalette | undefined;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare type CanColorCtor = _Constructor<CanColor> & _AbstractConstructor<CanColor>;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @docs-private
|
|
63
|
-
* @deprecated Will be removed together with `mixinDisabled`.
|
|
64
|
-
* @breaking-change 19.0.0
|
|
65
|
-
*/
|
|
66
|
-
export declare interface CanDisable {
|
|
67
|
-
/** Whether the component is disabled. */
|
|
68
|
-
disabled: boolean;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
declare type CanDisableCtor = _Constructor<CanDisable> & _AbstractConstructor<CanDisable>;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @docs-private
|
|
75
|
-
* @deprecated Will be removed together with `mixinDisableRipple`.
|
|
76
|
-
* @breaking-change 19.0.0
|
|
77
|
-
*/
|
|
78
|
-
export declare interface CanDisableRipple {
|
|
79
|
-
/** Whether ripples are disabled. */
|
|
80
|
-
disableRipple: boolean;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
declare type CanDisableRippleCtor = _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple>;
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @docs-private
|
|
87
|
-
* @deprecated Will be removed together with `mixinErrorState`.
|
|
88
|
-
* @breaking-change 19.0.0
|
|
89
|
-
*/
|
|
90
|
-
export declare interface CanUpdateErrorState {
|
|
91
|
-
/** Updates the error state based on the provided error state matcher. */
|
|
92
|
-
updateErrorState(): void;
|
|
93
|
-
/** Whether the component is in an error state. */
|
|
94
|
-
errorState: boolean;
|
|
95
|
-
/** An object used to control the error state of the component. */
|
|
96
|
-
errorStateMatcher: ErrorStateMatcher_2;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
declare type CanUpdateErrorStateCtor = _Constructor<CanUpdateErrorState> & _AbstractConstructor<CanUpdateErrorState>;
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/** @docs-private */
|
|
103
|
-
export declare type _Constructor<T> = new (...args: any[]) => T;
|
|
104
|
-
|
|
105
42
|
/**
|
|
106
43
|
* Counts the amount of option group labels that precede the specified option.
|
|
107
44
|
* @param optionIndex Index of the option at which to start counting.
|
|
@@ -369,56 +306,6 @@ export declare interface GranularSanityChecks {
|
|
|
369
306
|
version: boolean;
|
|
370
307
|
}
|
|
371
308
|
|
|
372
|
-
/** @docs-private */
|
|
373
|
-
declare interface HasElementRef {
|
|
374
|
-
_elementRef: ElementRef;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/** @docs-private */
|
|
378
|
-
declare interface HasErrorState {
|
|
379
|
-
_parentFormGroup: FormGroupDirective | null;
|
|
380
|
-
_parentForm: NgForm | null;
|
|
381
|
-
_defaultErrorStateMatcher: ErrorStateMatcher_2;
|
|
382
|
-
ngControl: NgControl | null;
|
|
383
|
-
stateChanges: Subject<void>;
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* Mixin that adds an initialized property to a directive which, when subscribed to, will emit a
|
|
388
|
-
* value once markInitialized has been called, which should be done during the ngOnInit function.
|
|
389
|
-
* If the subscription is made after it has already been marked as initialized, then it will trigger
|
|
390
|
-
* an emit immediately.
|
|
391
|
-
* @docs-private
|
|
392
|
-
* @deprecated Will be removed together with `mixinInitializer`.
|
|
393
|
-
* @breaking-change 19.0.0
|
|
394
|
-
*/
|
|
395
|
-
export declare interface HasInitialized {
|
|
396
|
-
/** Stream that emits once during the directive/component's ngOnInit. */
|
|
397
|
-
initialized: Observable<void>;
|
|
398
|
-
/**
|
|
399
|
-
* Sets the state as initialized and must be called during ngOnInit to notify subscribers that
|
|
400
|
-
* the directive has been initialized.
|
|
401
|
-
* @docs-private
|
|
402
|
-
*/
|
|
403
|
-
_markInitialized: () => void;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
declare type HasInitializedCtor = _Constructor<HasInitialized>;
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* @docs-private
|
|
410
|
-
* @deprecated Will be removed together with `mixinTabIndex`.
|
|
411
|
-
* @breaking-change 19.0.0
|
|
412
|
-
*/
|
|
413
|
-
export declare interface HasTabIndex {
|
|
414
|
-
/** Tabindex of the component. */
|
|
415
|
-
tabIndex: number;
|
|
416
|
-
/** Tabindex to which to fall back to if no value is set. */
|
|
417
|
-
defaultTabIndex: number;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
declare type HasTabIndexCtor = _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex>;
|
|
421
|
-
|
|
422
309
|
declare namespace i1_2 {
|
|
423
310
|
export {
|
|
424
311
|
MATERIAL_SANITY_CHECKS_FACTORY,
|
|
@@ -431,6 +318,9 @@ declare namespace i1_2 {
|
|
|
431
318
|
|
|
432
319
|
declare namespace i1_3 {
|
|
433
320
|
export {
|
|
321
|
+
RippleRenderer,
|
|
322
|
+
RippleTarget,
|
|
323
|
+
defaultRippleAnimationConfig,
|
|
434
324
|
MatRippleModule,
|
|
435
325
|
RippleGlobalOptions,
|
|
436
326
|
MAT_RIPPLE_GLOBAL_OPTIONS,
|
|
@@ -438,10 +328,7 @@ declare namespace i1_3 {
|
|
|
438
328
|
RippleState,
|
|
439
329
|
RippleConfig,
|
|
440
330
|
RippleAnimationConfig,
|
|
441
|
-
RippleRef
|
|
442
|
-
RippleTarget,
|
|
443
|
-
defaultRippleAnimationConfig,
|
|
444
|
-
RippleRenderer
|
|
331
|
+
RippleRef
|
|
445
332
|
}
|
|
446
333
|
}
|
|
447
334
|
|
|
@@ -799,7 +686,7 @@ export declare class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
|
|
799
686
|
private _globalOptions;
|
|
800
687
|
/** @docs-private Whether ripple directive is initialized and the input bindings are set. */
|
|
801
688
|
_isInitialized: boolean;
|
|
802
|
-
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone, platform: Platform, globalOptions?: RippleGlobalOptions, _animationMode?: string | undefined);
|
|
689
|
+
constructor(_elementRef: ElementRef<HTMLElement>, ngZone: NgZone, platform: Platform, globalOptions?: RippleGlobalOptions, _animationMode?: string | undefined, injector?: Injector);
|
|
803
690
|
ngOnInit(): void;
|
|
804
691
|
ngOnDestroy(): void;
|
|
805
692
|
/** Fades out all currently showing ripple elements. */
|
|
@@ -832,7 +719,7 @@ export declare class MatRipple implements OnInit, OnDestroy, RippleTarget {
|
|
|
832
719
|
* @param config Optional ripple configuration for the manual ripple.
|
|
833
720
|
*/
|
|
834
721
|
launch(x: number, y: number, config?: RippleConfig): RippleRef;
|
|
835
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatRipple, [null, null, null, { optional: true; }, { optional: true; }]>;
|
|
722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatRipple, [null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
836
723
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatRipple, "[mat-ripple], [matRipple]", ["matRipple"], { "color": { "alias": "matRippleColor"; "required": false; }; "unbounded": { "alias": "matRippleUnbounded"; "required": false; }; "centered": { "alias": "matRippleCentered"; "required": false; }; "radius": { "alias": "matRippleRadius"; "required": false; }; "animation": { "alias": "matRippleAnimation"; "required": false; }; "disabled": { "alias": "matRippleDisabled"; "required": false; }; "trigger": { "alias": "matRippleTrigger"; "required": false; }; }, {}, never, never, true, never>;
|
|
837
724
|
}
|
|
838
725
|
|
|
@@ -850,6 +737,7 @@ export declare class MatRippleLoader implements OnDestroy {
|
|
|
850
737
|
private _globalRippleOptions;
|
|
851
738
|
private _platform;
|
|
852
739
|
private _ngZone;
|
|
740
|
+
private _injector;
|
|
853
741
|
private _hosts;
|
|
854
742
|
constructor();
|
|
855
743
|
ngOnDestroy(): void;
|
|
@@ -864,8 +752,6 @@ export declare class MatRippleLoader implements OnDestroy {
|
|
|
864
752
|
centered?: boolean;
|
|
865
753
|
disabled?: boolean;
|
|
866
754
|
}): void;
|
|
867
|
-
/** Returns the ripple instance for the given host element. */
|
|
868
|
-
getRipple(host: HTMLElement): MatRipple | undefined;
|
|
869
755
|
/** Sets the disabled state on the ripple instance corresponding to the given host element. */
|
|
870
756
|
setDisabled(host: HTMLElement, disabled: boolean): void;
|
|
871
757
|
/**
|
|
@@ -875,7 +761,6 @@ export declare class MatRippleLoader implements OnDestroy {
|
|
|
875
761
|
private _onInteraction;
|
|
876
762
|
/** Creates a MatRipple and appends it to the given element. */
|
|
877
763
|
private _createRipple;
|
|
878
|
-
attachRipple(host: HTMLElement, ripple: MatRipple): void;
|
|
879
764
|
destroyRipple(host: HTMLElement): void;
|
|
880
765
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRippleLoader, never>;
|
|
881
766
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatRippleLoader>;
|
|
@@ -887,49 +772,6 @@ export declare class MatRippleModule {
|
|
|
887
772
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatRippleModule>;
|
|
888
773
|
}
|
|
889
774
|
|
|
890
|
-
/**
|
|
891
|
-
* Mixin to augment a directive with a `color` property.
|
|
892
|
-
* @deprecated Use a plain input and host bindings instead.
|
|
893
|
-
* @breaking-change 19.0.0
|
|
894
|
-
*/
|
|
895
|
-
export declare function mixinColor<T extends _AbstractConstructor<HasElementRef>>(base: T, defaultColor?: ThemePalette): CanColorCtor & T;
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* Mixin to augment a directive with a `disabled` property.
|
|
899
|
-
* @deprecated Use an input with a transform instead.
|
|
900
|
-
* @breaking-change 19.0.0
|
|
901
|
-
*/
|
|
902
|
-
export declare function mixinDisabled<T extends _AbstractConstructor<{}>>(base: T): CanDisableCtor & T;
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* Mixin to augment a directive with a `disableRipple` property.
|
|
906
|
-
* @deprecated Use an input with a transform instead.
|
|
907
|
-
* @breaking-change 19.0.0
|
|
908
|
-
*/
|
|
909
|
-
export declare function mixinDisableRipple<T extends _AbstractConstructor<{}>>(base: T): CanDisableRippleCtor & T;
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* Mixin to augment a directive with updateErrorState method.
|
|
913
|
-
* For component with `errorState` and need to update `errorState`.
|
|
914
|
-
* @deprecated Implement the `updateErrorState` method directly.
|
|
915
|
-
* @breaking-change 19.0.0
|
|
916
|
-
*/
|
|
917
|
-
export declare function mixinErrorState<T extends _AbstractConstructor<HasErrorState>>(base: T): CanUpdateErrorStateCtor & T;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* Mixin to augment a directive with an initialized property that will emits when ngOnInit ends.
|
|
921
|
-
* @deprecated Track the initialized state manually.
|
|
922
|
-
* @breaking-change 19.0.0
|
|
923
|
-
*/
|
|
924
|
-
export declare function mixinInitialized<T extends _Constructor<{}>>(base: T): HasInitializedCtor & T;
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Mixin to augment a directive with a `tabIndex` property.
|
|
928
|
-
* @deprecated Use an input with a transform instead.
|
|
929
|
-
* @breaking-change 19.0.0
|
|
930
|
-
*/
|
|
931
|
-
export declare function mixinTabIndex<T extends _AbstractConstructor<CanDisable>>(base: T, defaultTabIndex?: number): HasTabIndexCtor & T;
|
|
932
|
-
|
|
933
775
|
/** Adapts the native JS Date for use with cdk-based components that work with dates. */
|
|
934
776
|
export declare class NativeDateAdapter extends DateAdapter<Date> {
|
|
935
777
|
/**
|
|
@@ -1108,7 +950,7 @@ export declare class RippleRenderer implements EventListenerObject {
|
|
|
1108
950
|
*/
|
|
1109
951
|
private _containerRect;
|
|
1110
952
|
private static _eventManager;
|
|
1111
|
-
constructor(_target: RippleTarget, _ngZone: NgZone, elementOrElementRef: HTMLElement | ElementRef<HTMLElement>, _platform: Platform);
|
|
953
|
+
constructor(_target: RippleTarget, _ngZone: NgZone, elementOrElementRef: HTMLElement | ElementRef<HTMLElement>, _platform: Platform, injector?: Injector);
|
|
1112
954
|
/**
|
|
1113
955
|
* Fades in a ripple at the given coordinates.
|
|
1114
956
|
* @param x Coordinate within the element, along the X axis at which to start the ripple.
|
|
@@ -1189,6 +1031,7 @@ export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
|
|
1189
1031
|
static ɵprov: i0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
|
|
1190
1032
|
}
|
|
1191
1033
|
|
|
1034
|
+
|
|
1192
1035
|
/** Possible color palette values. */
|
|
1193
1036
|
export declare type ThemePalette = 'primary' | 'accent' | 'warn' | undefined;
|
|
1194
1037
|
|
package/core/ripple/_ripple.scss
CHANGED
|
@@ -110,7 +110,7 @@ $_ambient-map: (
|
|
|
110
110
|
// <div id="external-card" class="mat-elevation-z2"><p>Some content</p></div>
|
|
111
111
|
//
|
|
112
112
|
// For an explanation of the design behind how elevation is implemented, see the design doc at
|
|
113
|
-
// https://
|
|
113
|
+
// https://docs.google.com/document/d/1W3NGSLqDZzjbBBLW2C6y_6NUxtvdZAVaJvg58LY3Q0E/edit
|
|
114
114
|
|
|
115
115
|
// The default duration value for elevation transitions.
|
|
116
116
|
$transition-duration: 280ms !default;
|