@angular/material 16.2.1 → 17.0.0-next.0
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 +19 -63
- package/autocomplete/index.d.ts +41 -72
- package/autocomplete/testing/index.d.ts +5 -23
- package/button/_fab-theme.scss +12 -0
- package/card/_card-theme.scss +86 -44
- package/checkbox/_checkbox-theme.scss +78 -43
- package/checkbox/index.d.ts +22 -42
- package/checkbox/testing/index.d.ts +6 -12
- package/core/index.d.ts +17 -28
- package/core/style/_validation.scss +43 -0
- package/core/theming/_inspection.scss +229 -0
- package/core/theming/_theming.scss +110 -10
- package/core/tokens/m2/mat/_form-field.scss +34 -1
- package/core/tokens/m2/mat/_slider.scss +43 -0
- package/core/tokens/m2/mdc/_filled-text-field.scss +1 -1
- package/core/tokens/m2/mdc/_outlined-text-field.scss +1 -1
- package/core/tokens/m2/mdc/_slider.scss +154 -0
- package/dialog/index.d.ts +44 -86
- package/dialog/testing/index.d.ts +6 -18
- package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
- package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
- package/esm2022/autocomplete/autocomplete.mjs +59 -72
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
- package/esm2022/button/fab.mjs +8 -8
- package/esm2022/card/card.mjs +2 -2
- package/esm2022/checkbox/checkbox.mjs +72 -79
- package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
- package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
- package/esm2022/core/option/optgroup.mjs +19 -26
- package/esm2022/core/option/option.mjs +25 -35
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/dialog/dialog-container.mjs +50 -75
- package/esm2022/dialog/dialog-ref.mjs +1 -1
- package/esm2022/dialog/dialog.mjs +16 -46
- package/esm2022/dialog/public-api.mjs +2 -2
- package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
- package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
- package/esm2022/dialog/testing/index.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +3 -3
- package/esm2022/form-field/testing/error-harness.mjs +10 -12
- package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
- package/esm2022/list/action-list.mjs +2 -2
- package/esm2022/list/list.mjs +2 -2
- package/esm2022/list/nav-list.mjs +2 -2
- package/esm2022/list/selection-list.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +9 -16
- package/esm2022/menu/menu-trigger.mjs +14 -25
- package/esm2022/menu/menu.mjs +15 -29
- package/esm2022/menu/public-api.mjs +3 -3
- package/esm2022/menu/testing/menu-harness.mjs +29 -43
- package/esm2022/paginator/paginator.mjs +24 -38
- package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
- package/esm2022/progress-bar/progress-bar.mjs +2 -2
- package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
- package/esm2022/radio/radio.mjs +58 -83
- package/esm2022/radio/testing/radio-harness.mjs +31 -38
- package/esm2022/select/select.mjs +194 -212
- package/esm2022/select/testing/select-harness.mjs +18 -23
- package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
- package/esm2022/slider/slider.mjs +2 -2
- package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
- package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
- package/esm2022/snack-bar/snack-bar.mjs +11 -25
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
- package/esm2022/table/table-data-source.mjs +15 -18
- package/esm2022/table/testing/cell-harness.mjs +4 -4
- package/esm2022/table/testing/row-harness.mjs +4 -4
- package/esm2022/table/testing/table-harness.mjs +22 -24
- package/esm2022/tabs/public-api.mjs +7 -8
- package/esm2022/tabs/tab-body.mjs +13 -29
- package/esm2022/tabs/tab-group.mjs +55 -79
- package/esm2022/tabs/tab-header.mjs +13 -34
- package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
- package/esm2022/tabs/tab.mjs +25 -37
- package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
- package/esm2022/tooltip/tooltip.mjs +68 -101
- package/fesm2022/autocomplete/testing.mjs +20 -33
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +97 -127
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/button.mjs +8 -8
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +2 -2
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs +41 -36
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +72 -79
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/core.mjs +49 -61
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +30 -43
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +65 -120
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs +54 -59
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +2 -2
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/list.mjs +8 -8
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs +30 -44
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +34 -66
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +25 -27
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +24 -38
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +2 -2
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +2 -2
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs +31 -38
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +59 -84
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs +18 -23
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +196 -214
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs +33 -40
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +43 -53
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +2 -2
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs +19 -32
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +26 -55
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/table/testing.mjs +28 -30
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +15 -18
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +234 -368
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs +21 -23
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +69 -102
- package/fesm2022/tooltip.mjs.map +1 -1
- package/form-field/_form-field-focus-overlay.scss +13 -18
- package/form-field/_form-field-native-select.scss +30 -67
- package/form-field/_form-field-subscript.scss +4 -8
- package/form-field/_form-field-theme.scss +15 -48
- package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
- package/form-field/testing/index.d.ts +14 -44
- package/list/_list-theme.scss +9 -0
- package/menu/index.d.ts +22 -44
- package/menu/testing/index.d.ts +6 -23
- package/package.json +7 -286
- package/paginator/index.d.ts +6 -22
- package/paginator/testing/index.d.ts +9 -22
- 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 +9 -0
- package/progress-spinner/_progress-spinner-theme.scss +11 -0
- package/radio/index.d.ts +22 -45
- package/radio/testing/index.d.ts +7 -23
- package/schematics/migration.json +4 -4
- package/schematics/ng-add/index.js +2 -2
- package/schematics/ng-add/index.mjs +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js +2 -2
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
- package/schematics/ng-update/index_bundled.js +4 -4
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +47 -68
- package/select/testing/index.d.ts +9 -22
- package/slide-toggle/index.d.ts +17 -27
- package/slide-toggle/testing/index.d.ts +6 -13
- package/slider/_slider-theme.scss +64 -64
- package/snack-bar/_snack-bar-theme.scss +8 -0
- package/snack-bar/index.d.ts +40 -62
- package/snack-bar/testing/index.d.ts +5 -20
- package/table/index.d.ts +2 -31
- package/table/testing/index.d.ts +17 -34
- package/tabs/index.d.ts +60 -144
- package/tooltip/_tooltip-theme.scss +12 -3
- package/tooltip/index.d.ts +26 -49
- package/tooltip/testing/index.d.ts +7 -17
- package/_theming.scss +0 -43
- package/_token-theming.scss +0 -2
- package/autocomplete/_autocomplete-theme.import.scss +0 -1
- package/badge/_badge-legacy-index.scss +0 -3
- package/badge/_badge-theme.import.scss +0 -11
- package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
- package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
- package/button/_button-base.import.scss +0 -4
- package/button/_button-theme.import.scss +0 -13
- package/button-toggle/_button-toggle-legacy-index.scss +0 -2
- package/button-toggle/_button-toggle-theme.import.scss +0 -15
- package/button-toggle/_button-toggle-variables.import.scss +0 -1
- package/card/_card-theme.import.scss +0 -3
- package/checkbox/_checkbox-theme.import.scss +0 -10
- package/chips/_chips-theme.import.scss +0 -4
- package/core/_core-legacy-index.scss +0 -16
- package/core/_core.import.scss +0 -60
- package/core/color/_all-color.import.scss +0 -53
- package/core/color/_color-legacy-index.scss +0 -1
- package/core/density/private/_all-density.import.scss +0 -15
- package/core/density/private/_compatibility.import.scss +0 -4
- package/core/density/private/_density-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
- package/core/focus-indicators/_focus-indicators.import.scss +0 -23
- package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
- package/core/option/_optgroup-theme.import.scss +0 -4
- package/core/option/_option-legacy-index.scss +0 -5
- package/core/option/_option-theme.import.scss +0 -4
- package/core/ripple/_ripple-legacy-index.scss +0 -3
- package/core/ripple/_ripple.import.scss +0 -20
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
- package/core/style/_button-common.import.scss +0 -4
- package/core/style/_checkbox-common.import.scss +0 -11
- package/core/style/_elevation.import.scss +0 -17
- package/core/style/_form-common.import.scss +0 -16
- package/core/style/_layout-common.import.scss +0 -1
- package/core/style/_list-common.import.scss +0 -2
- package/core/style/_menu-common.import.scss +0 -18
- package/core/style/_private.import.scss +0 -15
- package/core/style/_style-legacy-index.scss +0 -24
- package/core/style/_variables.import.scss +0 -8
- package/core/style/_vendor-prefixes.import.scss +0 -1
- package/core/theming/_all-theme.import.scss +0 -86
- package/core/theming/_palette.import.scss +0 -12
- package/core/theming/_theming-legacy-index.scss +0 -22
- package/core/theming/_theming.import.scss +0 -24
- package/core/typography/_all-typography.import.scss +0 -76
- package/core/typography/_typography-legacy-index.scss +0 -18
- package/core/typography/_typography-utils.import.scss +0 -9
- package/core/typography/_typography.import.scss +0 -14
- package/datepicker/_datepicker-legacy-index.scss +0 -9
- package/datepicker/_datepicker-theme.import.scss +0 -17
- package/dialog/_dialog-legacy-padding.import.scss +0 -1
- package/dialog/_dialog-theme.import.scss +0 -1
- package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
- package/divider/_divider-legacy-index.scss +0 -3
- package/divider/_divider-offset.import.scss +0 -1
- package/divider/_divider-theme.import.scss +0 -6
- package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
- package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
- package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
- package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
- package/esm2022/legacy-autocomplete/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
- package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
- package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
- package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
- package/esm2022/legacy-button/button-module.mjs +0 -29
- package/esm2022/legacy-button/button.mjs +0 -177
- package/esm2022/legacy-button/index.mjs +0 -9
- package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
- package/esm2022/legacy-button/public-api.mjs +0 -10
- package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
- package/esm2022/legacy-button/testing/index.mjs +0 -9
- package/esm2022/legacy-button/testing/public-api.mjs +0 -9
- package/esm2022/legacy-card/card-module.mjs +0 -87
- package/esm2022/legacy-card/card.mjs +0 -276
- package/esm2022/legacy-card/index.mjs +0 -9
- package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
- package/esm2022/legacy-card/public-api.mjs +0 -10
- package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
- package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
- package/esm2022/legacy-card/testing/index.mjs +0 -9
- package/esm2022/legacy-card/testing/public-api.mjs +0 -9
- package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
- package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
- package/esm2022/legacy-checkbox/index.mjs +0 -9
- package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
- package/esm2022/legacy-checkbox/public-api.mjs +0 -36
- package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
- package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
- package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
- package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
- package/esm2022/legacy-chips/chip-input.mjs +0 -198
- package/esm2022/legacy-chips/chip-list.mjs +0 -718
- package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
- package/esm2022/legacy-chips/chip.mjs +0 -445
- package/esm2022/legacy-chips/chips-module.mjs +0 -68
- package/esm2022/legacy-chips/index.mjs +0 -9
- package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
- package/esm2022/legacy-chips/public-api.mjs +0 -13
- package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
- package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
- package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
- package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
- package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
- package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
- package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
- package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
- package/esm2022/legacy-chips/testing/index.mjs +0 -9
- package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
- package/esm2022/legacy-core/index.mjs +0 -9
- package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
- package/esm2022/legacy-core/option/index.mjs +0 -69
- package/esm2022/legacy-core/option/optgroup.mjs +0 -30
- package/esm2022/legacy-core/option/option.mjs +0 -54
- package/esm2022/legacy-core/public-api.mjs +0 -170
- package/esm2022/legacy-core/testing/index.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
- package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
- package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
- package/esm2022/legacy-core/testing/public-api.mjs +0 -12
- package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
- package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
- package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
- package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -209
- package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
- package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
- package/esm2022/legacy-dialog/dialog.mjs +0 -106
- package/esm2022/legacy-dialog/index.mjs +0 -9
- package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
- package/esm2022/legacy-dialog/public-api.mjs +0 -40
- package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
- package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
- package/esm2022/legacy-dialog/testing/index.mjs +0 -9
- package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
- package/esm2022/legacy-form-field/error.mjs +0 -46
- package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
- package/esm2022/legacy-form-field/form-field.mjs +0 -530
- package/esm2022/legacy-form-field/hint.mjs +0 -56
- package/esm2022/legacy-form-field/index.mjs +0 -9
- package/esm2022/legacy-form-field/label.mjs +0 -25
- package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
- package/esm2022/legacy-form-field/placeholder.mjs +0 -26
- package/esm2022/legacy-form-field/prefix.mjs +0 -27
- package/esm2022/legacy-form-field/public-api.mjs +0 -62
- package/esm2022/legacy-form-field/suffix.mjs +0 -27
- package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
- package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
- package/esm2022/legacy-form-field/testing/index.mjs +0 -9
- package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
- package/esm2022/legacy-input/index.mjs +0 -9
- package/esm2022/legacy-input/input-module.mjs +0 -45
- package/esm2022/legacy-input/input.mjs +0 -62
- package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
- package/esm2022/legacy-input/public-api.mjs +0 -21
- package/esm2022/legacy-input/testing/index.mjs +0 -9
- package/esm2022/legacy-input/testing/public-api.mjs +0 -24
- package/esm2022/legacy-list/index.mjs +0 -9
- package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
- package/esm2022/legacy-list/list-module.mjs +0 -75
- package/esm2022/legacy-list/list.mjs +0 -223
- package/esm2022/legacy-list/public-api.mjs +0 -22
- package/esm2022/legacy-list/selection-list.mjs +0 -619
- package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
- package/esm2022/legacy-list/testing/index.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
- package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
- package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
- package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
- package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
- package/esm2022/legacy-list/testing/public-api.mjs +0 -12
- package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
- package/esm2022/legacy-menu/index.mjs +0 -9
- package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
- package/esm2022/legacy-menu/menu-content.mjs +0 -27
- package/esm2022/legacy-menu/menu-item.mjs +0 -41
- package/esm2022/legacy-menu/menu-module.mjs +0 -50
- package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
- package/esm2022/legacy-menu/menu.mjs +0 -40
- package/esm2022/legacy-menu/public-api.mjs +0 -49
- package/esm2022/legacy-menu/testing/index.mjs +0 -9
- package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
- package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
- package/esm2022/legacy-paginator/index.mjs +0 -9
- package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
- package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
- package/esm2022/legacy-paginator/paginator.mjs +0 -53
- package/esm2022/legacy-paginator/public-api.mjs +0 -36
- package/esm2022/legacy-paginator/testing/index.mjs +0 -9
- package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
- package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
- package/esm2022/legacy-progress-bar/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
- package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
- package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
- package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
- package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
- package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-progress-spinner/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
- package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
- package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
- package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
- package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
- package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
- package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/index.mjs +0 -9
- package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
- package/esm2022/legacy-radio/public-api.mjs +0 -31
- package/esm2022/legacy-radio/radio-module.mjs +0 -29
- package/esm2022/legacy-radio/radio.mjs +0 -112
- package/esm2022/legacy-radio/testing/index.mjs +0 -9
- package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
- package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
- package/esm2022/legacy-select/index.mjs +0 -9
- package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
- package/esm2022/legacy-select/public-api.mjs +0 -37
- package/esm2022/legacy-select/select-animations.mjs +0 -56
- package/esm2022/legacy-select/select-errors.mjs +0 -39
- package/esm2022/legacy-select/select-module.mjs +0 -51
- package/esm2022/legacy-select/select.mjs +0 -447
- package/esm2022/legacy-select/testing/index.mjs +0 -9
- package/esm2022/legacy-select/testing/public-api.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
- package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
- package/esm2022/legacy-slide-toggle/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
- package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
- package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
- package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
- package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
- package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
- package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
- package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
- package/esm2022/legacy-slider/index.mjs +0 -9
- package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
- package/esm2022/legacy-slider/public-api.mjs +0 -10
- package/esm2022/legacy-slider/slider-module.mjs +0 -30
- package/esm2022/legacy-slider/slider.mjs +0 -847
- package/esm2022/legacy-slider/testing/index.mjs +0 -9
- package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
- package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
- package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
- package/esm2022/legacy-snack-bar/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
- package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
- package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
- package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
- package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
- package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
- package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
- package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
- package/esm2022/legacy-table/cell.mjs +0 -163
- package/esm2022/legacy-table/index.mjs +0 -9
- package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
- package/esm2022/legacy-table/public-api.mjs +0 -20
- package/esm2022/legacy-table/row.mjs +0 -165
- package/esm2022/legacy-table/table-data-source.mjs +0 -27
- package/esm2022/legacy-table/table-module.mjs +0 -98
- package/esm2022/legacy-table/table.mjs +0 -72
- package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
- package/esm2022/legacy-table/testing/index.mjs +0 -9
- package/esm2022/legacy-table/testing/public-api.mjs +0 -27
- package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
- package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
- package/esm2022/legacy-table/text-column.mjs +0 -65
- package/esm2022/legacy-tabs/index.mjs +0 -9
- package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
- package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
- package/esm2022/legacy-tabs/public-api.mjs +0 -94
- package/esm2022/legacy-tabs/tab-body.mjs +0 -64
- package/esm2022/legacy-tabs/tab-content.mjs +0 -27
- package/esm2022/legacy-tabs/tab-group.mjs +0 -72
- package/esm2022/legacy-tabs/tab-header.mjs +0 -75
- package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
- package/esm2022/legacy-tabs/tab-label.mjs +0 -27
- package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
- package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
- package/esm2022/legacy-tabs/tab.mjs +0 -46
- package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
- package/esm2022/legacy-tabs/testing/index.mjs +0 -9
- package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
- package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
- package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
- package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
- package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
- package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
- package/esm2022/legacy-tooltip/index.mjs +0 -9
- package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
- package/esm2022/legacy-tooltip/public-api.mjs +0 -47
- package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
- package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
- package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
- package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
- package/expansion/_expansion-legacy-index.scss +0 -2
- package/expansion/_expansion-theme.import.scss +0 -12
- package/expansion/_expansion-variables.import.scss +0 -1
- package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
- package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
- package/fesm2022/legacy-autocomplete.mjs +0 -146
- package/fesm2022/legacy-autocomplete.mjs.map +0 -1
- package/fesm2022/legacy-button/testing.mjs +0 -78
- package/fesm2022/legacy-button/testing.mjs.map +0 -1
- package/fesm2022/legacy-button.mjs +0 -194
- package/fesm2022/legacy-button.mjs.map +0 -1
- package/fesm2022/legacy-card/testing.mjs +0 -43
- package/fesm2022/legacy-card/testing.mjs.map +0 -1
- package/fesm2022/legacy-card.mjs +0 -353
- package/fesm2022/legacy-card.mjs.map +0 -1
- package/fesm2022/legacy-checkbox/testing.mjs +0 -42
- package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
- package/fesm2022/legacy-checkbox.mjs +0 -157
- package/fesm2022/legacy-checkbox.mjs.map +0 -1
- package/fesm2022/legacy-chips/testing.mjs +0 -365
- package/fesm2022/legacy-chips/testing.mjs.map +0 -1
- package/fesm2022/legacy-chips.mjs +0 -1399
- package/fesm2022/legacy-chips.mjs.map +0 -1
- package/fesm2022/legacy-core/testing.mjs +0 -92
- package/fesm2022/legacy-core/testing.mjs.map +0 -1
- package/fesm2022/legacy-core.mjs +0 -92
- package/fesm2022/legacy-core.mjs.map +0 -1
- package/fesm2022/legacy-dialog/testing.mjs +0 -80
- package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
- package/fesm2022/legacy-dialog.mjs +0 -449
- package/fesm2022/legacy-dialog.mjs.map +0 -1
- package/fesm2022/legacy-form-field/testing.mjs +0 -87
- package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
- package/fesm2022/legacy-form-field.mjs +0 -726
- package/fesm2022/legacy-form-field.mjs.map +0 -1
- package/fesm2022/legacy-input/testing.mjs +0 -2
- package/fesm2022/legacy-input/testing.mjs.map +0 -1
- package/fesm2022/legacy-input.mjs +0 -97
- package/fesm2022/legacy-input.mjs.map +0 -1
- package/fesm2022/legacy-list/testing.mjs +0 -436
- package/fesm2022/legacy-list/testing.mjs.map +0 -1
- package/fesm2022/legacy-list.mjs +0 -891
- package/fesm2022/legacy-list.mjs.map +0 -1
- package/fesm2022/legacy-menu/testing.mjs +0 -52
- package/fesm2022/legacy-menu/testing.mjs.map +0 -1
- package/fesm2022/legacy-menu.mjs +0 -145
- package/fesm2022/legacy-menu.mjs.map +0 -1
- package/fesm2022/legacy-paginator/testing.mjs +0 -38
- package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
- package/fesm2022/legacy-paginator.mjs +0 -92
- package/fesm2022/legacy-paginator.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
- package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-bar.mjs +0 -210
- package/fesm2022/legacy-progress-bar.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
- package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
- package/fesm2022/legacy-progress-spinner.mjs +0 -312
- package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
- package/fesm2022/legacy-radio/testing.mjs +0 -54
- package/fesm2022/legacy-radio/testing.mjs.map +0 -1
- package/fesm2022/legacy-radio.mjs +0 -130
- package/fesm2022/legacy-radio.mjs.map +0 -1
- package/fesm2022/legacy-select/testing.mjs +0 -32
- package/fesm2022/legacy-select/testing.mjs.map +0 -1
- package/fesm2022/legacy-select.mjs +0 -541
- package/fesm2022/legacy-select.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
- package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
- package/fesm2022/legacy-slide-toggle.mjs +0 -177
- package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
- package/fesm2022/legacy-slider/testing.mjs +0 -118
- package/fesm2022/legacy-slider/testing.mjs.map +0 -1
- package/fesm2022/legacy-slider.mjs +0 -863
- package/fesm2022/legacy-slider.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
- package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
- package/fesm2022/legacy-snack-bar.mjs +0 -128
- package/fesm2022/legacy-snack-bar.mjs.map +0 -1
- package/fesm2022/legacy-table/testing.mjs +0 -150
- package/fesm2022/legacy-table/testing.mjs.map +0 -1
- package/fesm2022/legacy-table.mjs +0 -538
- package/fesm2022/legacy-table.mjs.map +0 -1
- package/fesm2022/legacy-tabs/testing.mjs +0 -239
- package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
- package/fesm2022/legacy-tabs.mjs +0 -549
- package/fesm2022/legacy-tabs.mjs.map +0 -1
- package/fesm2022/legacy-tooltip/testing.mjs +0 -31
- package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
- package/fesm2022/legacy-tooltip.mjs +0 -148
- package/fesm2022/legacy-tooltip.mjs.map +0 -1
- package/form-field/_form-field-theme.import.scss +0 -29
- package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
- package/grid-list/_grid-list-legacy-index.scss +0 -2
- package/grid-list/_grid-list-theme.import.scss +0 -10
- package/icon/_icon-legacy-index.scss +0 -2
- package/icon/_icon-theme.import.scss +0 -5
- package/input/_input-theme.import.scss +0 -1
- package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
- package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
- package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
- package/legacy-autocomplete/index.d.ts +0 -115
- package/legacy-autocomplete/testing/index.d.ts +0 -41
- package/legacy-button/_button-base.import.scss +0 -21
- package/legacy-button/_button-base.scss +0 -114
- package/legacy-button/_button-legacy-index.scss +0 -22
- package/legacy-button/_button-theme.import.scss +0 -11
- package/legacy-button/_button-theme.scss +0 -223
- package/legacy-button/index.d.ts +0 -87
- package/legacy-button/testing/index.d.ts +0 -49
- package/legacy-card/_card-legacy-index.scss +0 -2
- package/legacy-card/_card-theme.import.scss +0 -10
- package/legacy-card/_card-theme.scss +0 -78
- package/legacy-card/index.d.ts +0 -201
- package/legacy-card/testing/index.d.ts +0 -56
- package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
- package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
- package/legacy-checkbox/_checkbox-theme.scss +0 -138
- package/legacy-checkbox/index.d.ts +0 -116
- package/legacy-checkbox/testing/index.d.ts +0 -30
- package/legacy-chips/_chips-legacy-index.scss +0 -7
- package/legacy-chips/_chips-theme.import.scss +0 -14
- package/legacy-chips/_chips-theme.scss +0 -133
- package/legacy-chips/index.d.ts +0 -705
- package/legacy-chips/testing/index.d.ts +0 -316
- package/legacy-core/_core-theme.scss +0 -65
- package/legacy-core/_core.import.scss +0 -5
- package/legacy-core/_core.scss +0 -18
- package/legacy-core/color/_all-color.import.scss +0 -4
- package/legacy-core/color/_all-color.scss +0 -28
- package/legacy-core/density/private/_all-density.import.scss +0 -3
- package/legacy-core/density/private/_all-density.scss +0 -46
- package/legacy-core/density/private/_compatibility.import.scss +0 -4
- package/legacy-core/density/private/_compatibility.scss +0 -74
- package/legacy-core/index.d.ts +0 -218
- package/legacy-core/option/_optgroup-theme.import.scss +0 -27
- package/legacy-core/option/_optgroup-theme.scss +0 -52
- package/legacy-core/option/_option-legacy-index.scss +0 -5
- package/legacy-core/option/_option-theme.import.scss +0 -27
- package/legacy-core/option/_option-theme.scss +0 -86
- package/legacy-core/testing/index.d.ts +0 -80
- package/legacy-core/theming/_all-theme.import.scss +0 -3
- package/legacy-core/theming/_all-theme.scss +0 -89
- package/legacy-core/typography/_all-typography.import.scss +0 -4
- package/legacy-core/typography/_all-typography.scss +0 -105
- package/legacy-dialog/_dialog-legacy-index.scss +0 -2
- package/legacy-dialog/_dialog-theme.import.scss +0 -10
- package/legacy-dialog/_dialog-theme.scss +0 -53
- package/legacy-dialog/index.d.ts +0 -271
- package/legacy-dialog/testing/index.d.ts +0 -63
- package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-fill-theme.scss +0 -136
- package/legacy-form-field/_form-field-legacy-index.scss +0 -29
- package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
- package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
- package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
- package/legacy-form-field/_form-field-outline-theme.scss +0 -167
- package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
- package/legacy-form-field/_form-field-standard-theme.scss +0 -55
- package/legacy-form-field/_form-field-theme.import.scss +0 -29
- package/legacy-form-field/_form-field-theme.scss +0 -278
- package/legacy-form-field/index.d.ts +0 -370
- package/legacy-form-field/testing/index.d.ts +0 -76
- package/legacy-input/_input-legacy-index.scss +0 -2
- package/legacy-input/_input-theme.import.scss +0 -11
- package/legacy-input/_input-theme.scss +0 -115
- package/legacy-input/index.d.ts +0 -41
- package/legacy-input/testing/index.d.ts +0 -20
- package/legacy-list/_list-legacy-index.scss +0 -2
- package/legacy-list/_list-theme.import.scss +0 -10
- package/legacy-list/_list-theme.scss +0 -124
- package/legacy-list/index.d.ts +0 -396
- package/legacy-list/testing/index.d.ts +0 -419
- package/legacy-menu/_menu-legacy-index.scss +0 -2
- package/legacy-menu/_menu-theme.import.scss +0 -10
- package/legacy-menu/_menu-theme.scss +0 -84
- package/legacy-menu/index.d.ts +0 -127
- package/legacy-menu/testing/index.d.ts +0 -47
- package/legacy-paginator/_paginator-legacy-index.scss +0 -2
- package/legacy-paginator/_paginator-theme.import.scss +0 -11
- package/legacy-paginator/_paginator-theme.scss +0 -92
- package/legacy-paginator/_paginator-variables.import.scss +0 -1
- package/legacy-paginator/_paginator-variables.scss +0 -13
- package/legacy-paginator/index.d.ts +0 -87
- package/legacy-paginator/testing/index.d.ts +0 -36
- package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
- package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
- package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
- package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
- package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
- package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
- package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
- package/legacy-progress-bar/index.d.ts +0 -131
- package/legacy-progress-bar/testing/index.d.ts +0 -28
- package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
- package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
- package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
- package/legacy-progress-spinner/index.d.ts +0 -129
- package/legacy-progress-spinner/testing/index.d.ts +0 -29
- package/legacy-radio/_radio-legacy-index.scss +0 -2
- package/legacy-radio/_radio-theme.import.scss +0 -8
- package/legacy-radio/_radio-theme.scss +0 -104
- package/legacy-radio/index.d.ts +0 -75
- package/legacy-radio/testing/index.d.ts +0 -50
- package/legacy-select/_select-legacy-index.scss +0 -2
- package/legacy-select/_select-theme.import.scss +0 -11
- package/legacy-select/_select-theme.scss +0 -107
- package/legacy-select/index.d.ts +0 -230
- package/legacy-select/testing/index.d.ts +0 -38
- package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
- package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
- package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
- package/legacy-slide-toggle/index.d.ts +0 -113
- package/legacy-slide-toggle/testing/index.d.ts +0 -34
- package/legacy-slider/_slider-legacy-index.scss +0 -3
- package/legacy-slider/_slider-theme.import.scss +0 -8
- package/legacy-slider/_slider-theme.scss +0 -210
- package/legacy-slider/index.d.ts +0 -303
- package/legacy-slider/testing/index.d.ts +0 -68
- package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
- package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
- package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
- package/legacy-snack-bar/index.d.ts +0 -118
- package/legacy-snack-bar/testing/index.d.ts +0 -28
- package/legacy-table/_table-legacy-index.scss +0 -3
- package/legacy-table/_table-theme.import.scss +0 -8
- package/legacy-table/_table-theme.scss +0 -78
- package/legacy-table/index.d.ts +0 -298
- package/legacy-table/testing/index.d.ts +0 -149
- package/legacy-tabs/_tabs-common.import.scss +0 -11
- package/legacy-tabs/_tabs-common.scss +0 -173
- package/legacy-tabs/_tabs-legacy-index.scss +0 -6
- package/legacy-tabs/_tabs-theme.import.scss +0 -9
- package/legacy-tabs/_tabs-theme.scss +0 -188
- package/legacy-tabs/index.d.ts +0 -338
- package/legacy-tabs/testing/index.d.ts +0 -195
- package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
- package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
- package/legacy-tooltip/_tooltip-theme.scss +0 -67
- package/legacy-tooltip/index.d.ts +0 -117
- package/legacy-tooltip/testing/index.d.ts +0 -30
- package/list/_list-theme.import.scss +0 -1
- package/menu/_menu-theme.import.scss +0 -2
- package/paginator/_paginator-theme.import.scss +0 -6
- package/paginator/_paginator-variables.import.scss +0 -1
- package/progress-bar/_progress-bar-theme.import.scss +0 -3
- package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
- package/radio/_radio-theme.import.scss +0 -4
- package/select/_select-theme.import.scss +0 -7
- package/sidenav/_sidenav-legacy-index.scss +0 -2
- package/sidenav/_sidenav-theme.import.scss +0 -8
- package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
- package/slider/_slider-theme.import.scss +0 -2
- package/snack-bar/_snack-bar-theme.import.scss +0 -5
- package/sort/_sort-legacy-index.scss +0 -2
- package/sort/_sort-theme.import.scss +0 -5
- package/stepper/_stepper-legacy-index.scss +0 -7
- package/stepper/_stepper-theme.import.scss +0 -16
- package/stepper/_stepper-variables.import.scss +0 -6
- package/table/_table-flex-styles.import.scss +0 -1
- package/table/_table-theme.import.scss +0 -8
- package/tabs/_tabs-common.import.scss +0 -11
- package/tabs/_tabs-theme.import.scss +0 -5
- package/toolbar/_toolbar-legacy-index.scss +0 -4
- package/toolbar/_toolbar-theme.import.scss +0 -14
- package/toolbar/_toolbar-variables.import.scss +0 -1
- package/tooltip/_tooltip-theme.import.scss +0 -2
- package/tree/_tree-legacy-index.scss +0 -2
- package/tree/_tree-theme.import.scss +0 -9
- package/tree/_tree-variables.import.scss +0 -1
|
@@ -1,47 +1,55 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
|
|
3
3
|
@use '@material/slider/slider-theme' as mdc-slider-theme;
|
|
4
|
-
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
5
|
-
@use '@material/typography/typography' as mdc-typography;
|
|
6
|
-
@use '@material/theme/variables' as mdc-theme-variables;
|
|
7
|
-
@use '../core/mdc-helpers/mdc-helpers';
|
|
8
4
|
@use '../core/theming/theming';
|
|
9
5
|
@use '../core/typography/typography';
|
|
10
|
-
|
|
6
|
+
@use '../core/style/sass-utils';
|
|
7
|
+
@use '../core/tokens/token-utils';
|
|
8
|
+
@use '../core/tokens/m2/mat/slider' as m2-mat-slider;
|
|
9
|
+
@use '../core/tokens/m2/mdc/slider' as m2-mdc-slider;
|
|
10
|
+
|
|
11
|
+
@mixin base($config-or-theme) {
|
|
12
|
+
// Add default values for tokens not related to color, typography, or density.
|
|
13
|
+
@include sass-utils.current-selector-or-root() {
|
|
14
|
+
@include mdc-slider-theme.theme(m2-mdc-slider.get-unthemable-tokens());
|
|
15
|
+
}
|
|
16
|
+
}
|
|
11
17
|
|
|
12
18
|
@mixin color($config-or-theme) {
|
|
13
19
|
$config: theming.get-color-config($config-or-theme);
|
|
20
|
+
$is-dark: map.get($config, is-dark);
|
|
21
|
+
|
|
22
|
+
$mdc-color-tokens: token-utils.resolve-elevation(
|
|
23
|
+
m2-mdc-slider.get-color-tokens($config),
|
|
24
|
+
handle-elevation,
|
|
25
|
+
handle-shadow-color
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
$mat-slider-color-tokens: m2-mat-slider.get-color-tokens($config);
|
|
29
|
+
|
|
30
|
+
// Add values for MDC slider tokens.
|
|
31
|
+
.mat-mdc-slider {
|
|
32
|
+
@include mdc-slider-theme.theme($mdc-color-tokens);
|
|
33
|
+
@include _slider-ripple-color(map.get($config, primary));
|
|
34
|
+
@include token-utils.create-token-values(
|
|
35
|
+
m2-mat-slider.$prefix,
|
|
36
|
+
$mat-slider-color-tokens
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
&.mat-accent {
|
|
40
|
+
$accent: map.get($config, accent);
|
|
41
|
+
@include mdc-slider-theme.theme(
|
|
42
|
+
m2-mdc-slider.private-get-color-palette-color-tokens($accent)
|
|
43
|
+
);
|
|
44
|
+
@include _slider-ripple-color($accent);
|
|
45
|
+
}
|
|
14
46
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
@include
|
|
21
|
-
label-container-color: if($is-dark, white, black),
|
|
22
|
-
label-label-text-color: if($is-dark, black, white),
|
|
23
|
-
disabled-handle-color: $on-surface,
|
|
24
|
-
disabled-active-track-color: $on-surface,
|
|
25
|
-
disabled-inactive-track-color: $on-surface,
|
|
26
|
-
with-tick-marks-disabled-container-color: $on-surface,
|
|
27
|
-
));
|
|
28
|
-
|
|
29
|
-
// Note that technically we can control this using an `rgba` color in `label-container-color`.
|
|
30
|
-
// We don't do it, because the shapes MDC uses to construct the indicator overlap which causes
|
|
31
|
-
// their color opacities to stack with an `rgba` color.
|
|
32
|
-
--mat-mdc-slider-value-indicator-opacity: #{if($is-dark, 0.9, 0.6)};
|
|
33
|
-
|
|
34
|
-
&.mat-primary {
|
|
35
|
-
@include _slider-color(primary, on-primary);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.mat-accent {
|
|
39
|
-
@include _slider-color(secondary, on-secondary);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&.mat-warn {
|
|
43
|
-
@include _slider-color(error, on-error);
|
|
44
|
-
}
|
|
47
|
+
&.mat-warn {
|
|
48
|
+
$warn: map.get($config, warn);
|
|
49
|
+
@include mdc-slider-theme.theme(
|
|
50
|
+
m2-mdc-slider.private-get-color-palette-color-tokens($warn)
|
|
51
|
+
);
|
|
52
|
+
@include _slider-ripple-color($warn);
|
|
45
53
|
}
|
|
46
54
|
}
|
|
47
55
|
}
|
|
@@ -49,20 +57,23 @@
|
|
|
49
57
|
@mixin typography($config-or-theme) {
|
|
50
58
|
$config: typography.private-typography-to-2018-config(
|
|
51
59
|
theming.get-typography-config($config-or-theme));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
label-label-text-line-height: mdc-typography.get-line-height(subtitle2),
|
|
58
|
-
label-label-text-tracking: mdc-typography.get-tracking(subtitle2),
|
|
59
|
-
label-label-text-weight: mdc-typography.get-weight(subtitle2),
|
|
60
|
-
));
|
|
61
|
-
}
|
|
60
|
+
$mdc-typography-tokens: m2-mdc-slider.get-typography-tokens($config);
|
|
61
|
+
|
|
62
|
+
// Add values for MDC slider tokens.
|
|
63
|
+
.mat-mdc-slider {
|
|
64
|
+
@include mdc-slider-theme.theme($mdc-typography-tokens);
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
|
|
65
|
-
@mixin density($config-or-theme) {
|
|
68
|
+
@mixin density($config-or-theme) {
|
|
69
|
+
$density-scale: theming.get-density-config($config-or-theme);
|
|
70
|
+
$mdc-density-tokens: m2-mdc-slider.get-density-tokens($density-scale);
|
|
71
|
+
|
|
72
|
+
// Add values for MDC slider tokens.
|
|
73
|
+
.mat-mdc-slider {
|
|
74
|
+
@include mdc-slider-theme.theme($mdc-density-tokens);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
66
77
|
|
|
67
78
|
@mixin theme($theme-or-color-config) {
|
|
68
79
|
$theme: theming.private-legacy-get-theme($theme-or-color-config);
|
|
@@ -71,6 +82,7 @@
|
|
|
71
82
|
$density: theming.get-density-config($theme);
|
|
72
83
|
$typography: theming.get-typography-config($theme);
|
|
73
84
|
|
|
85
|
+
@include base($theme);
|
|
74
86
|
@if $color != null {
|
|
75
87
|
@include color($color);
|
|
76
88
|
}
|
|
@@ -83,22 +95,10 @@
|
|
|
83
95
|
}
|
|
84
96
|
}
|
|
85
97
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
$
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
handle-color: $resolved-color,
|
|
93
|
-
focus-handle-color: $resolved-color,
|
|
94
|
-
hover-handle-color: $resolved-color,
|
|
95
|
-
active-track-color: $resolved-color,
|
|
96
|
-
inactive-track-color: $resolved-color,
|
|
97
|
-
with-tick-marks-active-container-color: $resolved-on-color,
|
|
98
|
-
with-tick-marks-inactive-container-color: $resolved-color,
|
|
99
|
-
));
|
|
100
|
-
|
|
101
|
-
--mat-mdc-slider-ripple-color: #{$ripple-color};
|
|
102
|
-
--mat-mdc-slider-hover-ripple-color: #{rgba($ripple-color, 0.05)};
|
|
103
|
-
--mat-mdc-slider-focus-ripple-color: #{rgba($ripple-color, 0.2)};
|
|
98
|
+
// Generated MDC ripple color tokens are not being calculated so needs to be set
|
|
99
|
+
@mixin _slider-ripple-color($color-palette) {
|
|
100
|
+
$color: theming.get-color-from-palette($color-palette);
|
|
101
|
+
--mat-mdc-slider-ripple-color: #{$color};
|
|
102
|
+
--mat-mdc-slider-hover-ripple-color: #{rgba($color, 0.05)};
|
|
103
|
+
--mat-mdc-slider-focus-ripple-color: #{rgba($color, 0.2)};
|
|
104
104
|
}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
@use '@material/snackbar/snackbar-theme' as mdc-snackbar-theme;
|
|
2
2
|
@use '../core/theming/theming';
|
|
3
|
+
@use '../core/style/sass-utils';
|
|
3
4
|
@use '../core/typography/typography';
|
|
4
5
|
@use '../core/tokens/token-utils';
|
|
5
6
|
@use '../core/tokens/m2/mdc/snack-bar' as tokens-mdc-snack-bar;
|
|
6
7
|
@use '../core/tokens/m2/mat/snack-bar' as tokens-mat-snack-bar;
|
|
7
8
|
|
|
9
|
+
@mixin base($config-or-theme) {
|
|
10
|
+
// Add default values for tokens not related to color, typography, or density.
|
|
11
|
+
@include sass-utils.current-selector-or-root() {
|
|
12
|
+
@include mdc-snackbar-theme.theme(tokens-mdc-snack-bar.get-unthemable-tokens());
|
|
13
|
+
}
|
|
14
|
+
}
|
|
8
15
|
|
|
9
16
|
@mixin color($config-or-theme) {
|
|
10
17
|
$config: theming.get-color-config($config-or-theme);
|
|
@@ -36,6 +43,7 @@
|
|
|
36
43
|
$density: theming.get-density-config($theme);
|
|
37
44
|
$typography: theming.get-typography-config($theme);
|
|
38
45
|
|
|
46
|
+
@include base($theme);
|
|
39
47
|
@if $color != null {
|
|
40
48
|
@include color($color);
|
|
41
49
|
}
|
package/snack-bar/index.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ import { Platform } from '@angular/cdk/platform';
|
|
|
30
30
|
import { Subject } from 'rxjs';
|
|
31
31
|
import { TemplatePortal } from '@angular/cdk/portal';
|
|
32
32
|
import { TemplateRef } from '@angular/core';
|
|
33
|
-
import { Type } from '@angular/core';
|
|
34
33
|
import { ViewContainerRef } from '@angular/core';
|
|
35
34
|
|
|
36
35
|
declare namespace i1 {
|
|
@@ -42,7 +41,6 @@ declare namespace i1 {
|
|
|
42
41
|
|
|
43
42
|
declare namespace i2 {
|
|
44
43
|
export {
|
|
45
|
-
_MatSnackBarContainerBase,
|
|
46
44
|
MatSnackBarContainer
|
|
47
45
|
}
|
|
48
46
|
}
|
|
@@ -67,36 +65,7 @@ export declare function MAT_SNACK_BAR_DEFAULT_OPTIONS_FACTORY(): MatSnackBarConf
|
|
|
67
65
|
/**
|
|
68
66
|
* Service to dispatch Material Design snack bar messages.
|
|
69
67
|
*/
|
|
70
|
-
export declare class MatSnackBar
|
|
71
|
-
protected simpleSnackBarComponent: typeof SimpleSnackBar;
|
|
72
|
-
protected snackBarContainerComponent: typeof MatSnackBarContainer;
|
|
73
|
-
protected handsetCssClass: string;
|
|
74
|
-
constructor(overlay: Overlay, live: LiveAnnouncer, injector: Injector, breakpointObserver: BreakpointObserver, parentSnackBar: MatSnackBar, defaultConfig: MatSnackBarConfig);
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBar, [null, null, null, null, { optional: true; skipSelf: true; }, null]>;
|
|
76
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatSnackBar>;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/** Directive that should be applied to each of the snack bar's action buttons. */
|
|
80
|
-
export declare class MatSnackBarAction {
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarAction, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarAction, "[matSnackBarAction]", never, {}, {}, never, never, false, never>;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/** Directive that should be applied to the element containing the snack bar's action buttons. */
|
|
86
|
-
export declare class MatSnackBarActions {
|
|
87
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarActions, never>;
|
|
88
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarActions, "[matSnackBarActions]", never, {}, {}, never, never, false, never>;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Animations used by the Material snack bar.
|
|
93
|
-
* @docs-private
|
|
94
|
-
*/
|
|
95
|
-
export declare const matSnackBarAnimations: {
|
|
96
|
-
readonly snackBarState: AnimationTriggerMetadata;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export declare abstract class _MatSnackBarBase implements OnDestroy {
|
|
68
|
+
export declare class MatSnackBar implements OnDestroy {
|
|
100
69
|
private _overlay;
|
|
101
70
|
private _live;
|
|
102
71
|
private _injector;
|
|
@@ -110,15 +79,15 @@ export declare abstract class _MatSnackBarBase implements OnDestroy {
|
|
|
110
79
|
*/
|
|
111
80
|
private _snackBarRefAtThisLevel;
|
|
112
81
|
/** The component that should be rendered as the snack bar's simple component. */
|
|
113
|
-
|
|
82
|
+
simpleSnackBarComponent: typeof SimpleSnackBar;
|
|
114
83
|
/** The container component that attaches the provided template or component. */
|
|
115
|
-
|
|
84
|
+
snackBarContainerComponent: typeof MatSnackBarContainer;
|
|
116
85
|
/** The CSS class to apply for handset mode. */
|
|
117
|
-
|
|
86
|
+
handsetCssClass: string;
|
|
118
87
|
/** Reference to the currently opened snackbar at *any* level. */
|
|
119
88
|
get _openedSnackBarRef(): MatSnackBarRef<any> | null;
|
|
120
89
|
set _openedSnackBarRef(value: MatSnackBarRef<any> | null);
|
|
121
|
-
constructor(_overlay: Overlay, _live: LiveAnnouncer, _injector: Injector, _breakpointObserver: BreakpointObserver, _parentSnackBar:
|
|
90
|
+
constructor(_overlay: Overlay, _live: LiveAnnouncer, _injector: Injector, _breakpointObserver: BreakpointObserver, _parentSnackBar: MatSnackBar, _defaultConfig: MatSnackBarConfig);
|
|
122
91
|
/**
|
|
123
92
|
* Creates and dispatches a snack bar with a custom component for the content, removing any
|
|
124
93
|
* currently opened snack bars.
|
|
@@ -168,10 +137,30 @@ export declare abstract class _MatSnackBarBase implements OnDestroy {
|
|
|
168
137
|
* @param snackBarRef Reference to the snack bar.
|
|
169
138
|
*/
|
|
170
139
|
private _createInjector;
|
|
171
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
172
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBar, [null, null, null, null, { optional: true; skipSelf: true; }, null]>;
|
|
141
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MatSnackBar>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** Directive that should be applied to each of the snack bar's action buttons. */
|
|
145
|
+
export declare class MatSnackBarAction {
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarAction, never>;
|
|
147
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarAction, "[matSnackBarAction]", never, {}, {}, never, never, false, never>;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Directive that should be applied to the element containing the snack bar's action buttons. */
|
|
151
|
+
export declare class MatSnackBarActions {
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarActions, never>;
|
|
153
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatSnackBarActions, "[matSnackBarActions]", never, {}, {}, never, never, false, never>;
|
|
173
154
|
}
|
|
174
155
|
|
|
156
|
+
/**
|
|
157
|
+
* Animations used by the Material snack bar.
|
|
158
|
+
* @docs-private
|
|
159
|
+
*/
|
|
160
|
+
export declare const matSnackBarAnimations: {
|
|
161
|
+
readonly snackBarState: AnimationTriggerMetadata;
|
|
162
|
+
};
|
|
163
|
+
|
|
175
164
|
/**
|
|
176
165
|
* Configuration used when opening a snack-bar.
|
|
177
166
|
*/
|
|
@@ -206,26 +195,9 @@ export declare class MatSnackBarConfig<D = any> {
|
|
|
206
195
|
* Internal component that wraps user-provided snack bar content.
|
|
207
196
|
* @docs-private
|
|
208
197
|
*/
|
|
209
|
-
export declare class MatSnackBarContainer extends
|
|
210
|
-
/**
|
|
211
|
-
* Element that will have the `mdc-snackbar__label` class applied if the attached component
|
|
212
|
-
* or template does not have it. This ensures that the appropriate structure, typography, and
|
|
213
|
-
* color is applied to the attached view.
|
|
214
|
-
*/
|
|
215
|
-
_label: ElementRef;
|
|
216
|
-
/** Applies the correct CSS class to the label based on its content. */
|
|
217
|
-
protected _afterPortalAttached(): void;
|
|
218
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarContainer, never>;
|
|
219
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatSnackBarContainer, "mat-snack-bar-container", never, {}, {}, never, never, false, never>;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* Base class for snack bar containers.
|
|
224
|
-
* @docs-private
|
|
225
|
-
*/
|
|
226
|
-
export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet implements OnDestroy {
|
|
198
|
+
export declare class MatSnackBarContainer extends BasePortalOutlet implements OnDestroy {
|
|
227
199
|
private _ngZone;
|
|
228
|
-
|
|
200
|
+
private _elementRef;
|
|
229
201
|
private _changeDetectorRef;
|
|
230
202
|
private _platform;
|
|
231
203
|
/** The snack bar configuration. */
|
|
@@ -250,6 +222,12 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
250
222
|
_animationState: string;
|
|
251
223
|
/** aria-live value for the live region. */
|
|
252
224
|
_live: AriaLivePoliteness;
|
|
225
|
+
/**
|
|
226
|
+
* Element that will have the `mdc-snackbar__label` class applied if the attached component
|
|
227
|
+
* or template does not have it. This ensures that the appropriate structure, typography, and
|
|
228
|
+
* color is applied to the attached view.
|
|
229
|
+
*/
|
|
230
|
+
_label: ElementRef;
|
|
253
231
|
/**
|
|
254
232
|
* Role of the live region. This is only for Firefox as there is a known issue where Firefox +
|
|
255
233
|
* JAWS does not read out aria-live message.
|
|
@@ -287,7 +265,7 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
287
265
|
* Called after the portal contents have been attached. Can be
|
|
288
266
|
* used to modify the DOM once it's guaranteed to be in place.
|
|
289
267
|
*/
|
|
290
|
-
|
|
268
|
+
private _afterPortalAttached;
|
|
291
269
|
/**
|
|
292
270
|
* Some browsers won't expose the accessibility node of the live element if there is an
|
|
293
271
|
* `aria-modal` and the live element is outside of it. This method works around the issue by
|
|
@@ -303,8 +281,8 @@ export declare abstract class _MatSnackBarContainerBase extends BasePortalOutlet
|
|
|
303
281
|
* announce it.
|
|
304
282
|
*/
|
|
305
283
|
private _screenReaderAnnounce;
|
|
306
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
307
|
-
static
|
|
284
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatSnackBarContainer, never>;
|
|
285
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MatSnackBarContainer, "mat-snack-bar-container", never, {}, {}, never, never, false, never>;
|
|
308
286
|
}
|
|
309
287
|
|
|
310
288
|
/** Event that is emitted when a snack bar is dismissed. */
|
|
@@ -339,7 +317,7 @@ export declare class MatSnackBarRef<T> {
|
|
|
339
317
|
* The instance of the component making up the content of the snack bar.
|
|
340
318
|
* @docs-private
|
|
341
319
|
*/
|
|
342
|
-
containerInstance:
|
|
320
|
+
containerInstance: MatSnackBarContainer;
|
|
343
321
|
/** Subject for notifying the user that the snack bar has been dismissed. */
|
|
344
322
|
private readonly _afterDismissed;
|
|
345
323
|
/** Subject for notifying the user that the snack bar has opened and appeared. */
|
|
@@ -353,7 +331,7 @@ export declare class MatSnackBarRef<T> {
|
|
|
353
331
|
private _durationTimeoutId;
|
|
354
332
|
/** Whether the snack bar was dismissed using the action button. */
|
|
355
333
|
private _dismissedByAction;
|
|
356
|
-
constructor(containerInstance:
|
|
334
|
+
constructor(containerInstance: MatSnackBarContainer, _overlayRef: OverlayRef);
|
|
357
335
|
/** Dismisses the snack bar. */
|
|
358
336
|
dismiss(): void;
|
|
359
337
|
/** Marks the snackbar action clicked. */
|
|
@@ -4,11 +4,12 @@ import { ContentContainerComponentHarness } from '@angular/cdk/testing';
|
|
|
4
4
|
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
5
5
|
|
|
6
6
|
/** Harness for interacting with an MDC-based mat-snack-bar in tests. */
|
|
7
|
-
export declare class MatSnackBarHarness extends
|
|
7
|
+
export declare class MatSnackBarHarness extends ContentContainerComponentHarness<string> {
|
|
8
8
|
/** The selector for the host element of a `MatSnackBar` instance. */
|
|
9
9
|
static hostSelector: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
private _messageSelector;
|
|
11
|
+
private _actionButtonSelector;
|
|
12
|
+
private _snackBarLiveRegion;
|
|
12
13
|
/**
|
|
13
14
|
* Gets a `HarnessPredicate` that can be used to search for a `MatSnackBarHarness` that meets
|
|
14
15
|
* certain criteria.
|
|
@@ -16,17 +17,6 @@ export declare class MatSnackBarHarness extends _MatSnackBarHarnessBase {
|
|
|
16
17
|
* @return a `HarnessPredicate` configured with the given options.
|
|
17
18
|
*/
|
|
18
19
|
static with(options?: SnackBarHarnessFilters): HarnessPredicate<MatSnackBarHarness>;
|
|
19
|
-
/**
|
|
20
|
-
* Asserts that the current snack-bar has annotated content. Promise reject
|
|
21
|
-
* if content is not annotated.
|
|
22
|
-
*/
|
|
23
|
-
protected _assertContentAnnotated(): Promise<void>;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export declare abstract class _MatSnackBarHarnessBase extends ContentContainerComponentHarness<string> {
|
|
27
|
-
protected abstract _messageSelector: string;
|
|
28
|
-
protected abstract _actionButtonSelector: string;
|
|
29
|
-
private _snackBarLiveRegion;
|
|
30
20
|
/**
|
|
31
21
|
* Gets the role of the snack-bar. The role of a snack-bar is determined based
|
|
32
22
|
* on the ARIA politeness specified in the snack-bar config.
|
|
@@ -59,16 +49,11 @@ export declare abstract class _MatSnackBarHarnessBase extends ContentContainerCo
|
|
|
59
49
|
getMessage(): Promise<string>;
|
|
60
50
|
/** Gets whether the snack-bar has been dismissed. */
|
|
61
51
|
isDismissed(): Promise<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* Asserts that the current snack-bar has annotated content. Promise reject
|
|
64
|
-
* if content is not annotated.
|
|
65
|
-
*/
|
|
66
|
-
protected abstract _assertContentAnnotated(): Promise<void>;
|
|
67
52
|
/**
|
|
68
53
|
* Asserts that the current snack-bar has an action defined. Otherwise the
|
|
69
54
|
* promise will reject.
|
|
70
55
|
*/
|
|
71
|
-
|
|
56
|
+
private _assertHasAction;
|
|
72
57
|
/** Gets the simple snack bar action button. */
|
|
73
58
|
private _getActionButton;
|
|
74
59
|
}
|
package/table/index.d.ts
CHANGED
|
@@ -19,10 +19,9 @@ import { DataSource } from '@angular/cdk/collections';
|
|
|
19
19
|
import * as i0 from '@angular/core';
|
|
20
20
|
import * as i5 from '@angular/material/core';
|
|
21
21
|
import * as i6 from '@angular/cdk/table';
|
|
22
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
22
23
|
import { MatSort } from '@angular/material/sort';
|
|
23
|
-
import { Observable } from 'rxjs';
|
|
24
24
|
import { OnInit } from '@angular/core';
|
|
25
|
-
import { Subject } from 'rxjs';
|
|
26
25
|
import { Subscription } from 'rxjs';
|
|
27
26
|
|
|
28
27
|
declare namespace i1 {
|
|
@@ -211,11 +210,7 @@ export declare class MatTable<T> extends CdkTable<T> implements OnInit {
|
|
|
211
210
|
* interactions. If your app needs to support more advanced use cases, consider implementing your
|
|
212
211
|
* own `DataSource`.
|
|
213
212
|
*/
|
|
214
|
-
export declare class MatTableDataSource<T, P extends
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/** Shared base class with MDC-based implementation. */
|
|
218
|
-
export declare class _MatTableDataSource<T, P extends MatTableDataSourcePaginator = MatTableDataSourcePaginator> extends DataSource<T> {
|
|
213
|
+
export declare class MatTableDataSource<T, P extends MatPaginator = MatPaginator> extends DataSource<T> {
|
|
219
214
|
/** Stream that emits when a new data array is set on the data source. */
|
|
220
215
|
private readonly _data;
|
|
221
216
|
/** Stream emitting render data to the table (depends on ordered data changes). */
|
|
@@ -338,30 +333,6 @@ export declare class _MatTableDataSource<T, P extends MatTableDataSourcePaginato
|
|
|
338
333
|
disconnect(): void;
|
|
339
334
|
}
|
|
340
335
|
|
|
341
|
-
/**
|
|
342
|
-
* Interface that matches the required API parts for the MatPaginator's PageEvent.
|
|
343
|
-
* Decoupled so that users can depend on either the legacy or MDC-based paginator.
|
|
344
|
-
*/
|
|
345
|
-
export declare interface MatTableDataSourcePageEvent {
|
|
346
|
-
pageIndex: number;
|
|
347
|
-
pageSize: number;
|
|
348
|
-
length: number;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* Interface that matches the required API parts of the MatPaginator.
|
|
353
|
-
* Decoupled so that users can depend on either the legacy or MDC-based paginator.
|
|
354
|
-
*/
|
|
355
|
-
export declare interface MatTableDataSourcePaginator {
|
|
356
|
-
page: Subject<MatTableDataSourcePageEvent>;
|
|
357
|
-
pageIndex: number;
|
|
358
|
-
initialized: Observable<void>;
|
|
359
|
-
pageSize: number;
|
|
360
|
-
length: number;
|
|
361
|
-
firstPage: () => void;
|
|
362
|
-
lastPage: () => void;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
336
|
export declare class MatTableModule {
|
|
366
337
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatTableModule, never>;
|
|
367
338
|
static ɵmod: i0.ɵɵNgModuleDeclaration<MatTableModule, [typeof i1.MatTable, typeof i1.MatRecycleRows, typeof i2.MatHeaderCellDef, typeof i3.MatHeaderRowDef, typeof i2.MatColumnDef, typeof i2.MatCellDef, typeof i3.MatRowDef, typeof i2.MatFooterCellDef, typeof i3.MatFooterRowDef, typeof i2.MatHeaderCell, typeof i2.MatCell, typeof i2.MatFooterCell, typeof i3.MatHeaderRow, typeof i3.MatRow, typeof i3.MatFooterRow, typeof i3.MatNoDataRow, typeof i4.MatTextColumn], [typeof i5.MatCommonModule, typeof i6.CdkTableModule], [typeof i5.MatCommonModule, typeof i1.MatTable, typeof i1.MatRecycleRows, typeof i2.MatHeaderCellDef, typeof i3.MatHeaderRowDef, typeof i2.MatColumnDef, typeof i2.MatCellDef, typeof i3.MatRowDef, typeof i2.MatFooterCellDef, typeof i3.MatFooterRowDef, typeof i2.MatHeaderCell, typeof i2.MatCell, typeof i2.MatFooterCell, typeof i3.MatHeaderRow, typeof i3.MatRow, typeof i3.MatFooterRow, typeof i3.MatNoDataRow, typeof i4.MatTextColumn]>;
|
package/table/testing/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare interface CellHarnessFilters extends BaseHarnessFilters {
|
|
|
12
12
|
columnName?: string | RegExp;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
/** Harness for interacting with an
|
|
15
|
+
/** Harness for interacting with an Angular Material table cell. */
|
|
16
16
|
export declare class MatCellHarness extends _MatCellHarnessBase {
|
|
17
17
|
/** The selector for the host element of a `MatCellHarness` instance. */
|
|
18
18
|
static hostSelector: string;
|
|
@@ -32,7 +32,7 @@ export declare abstract class _MatCellHarnessBase extends ContentContainerCompon
|
|
|
32
32
|
protected static _getCellPredicate<T extends MatCellHarness>(type: ComponentHarnessConstructor<T>, options: CellHarnessFilters): HarnessPredicate<T>;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
/** Harness for interacting with an
|
|
35
|
+
/** Harness for interacting with an Angular Material table footer cell. */
|
|
36
36
|
export declare class MatFooterCellHarness extends _MatCellHarnessBase {
|
|
37
37
|
/** The selector for the host element of a `MatFooterCellHarness` instance. */
|
|
38
38
|
static hostSelector: string;
|
|
@@ -45,7 +45,7 @@ export declare class MatFooterCellHarness extends _MatCellHarnessBase {
|
|
|
45
45
|
static with(options?: CellHarnessFilters): HarnessPredicate<MatFooterCellHarness>;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
/** Harness for interacting with an
|
|
48
|
+
/** Harness for interacting with an Angular Material table footer row. */
|
|
49
49
|
export declare class MatFooterRowHarness extends _MatRowHarnessBase<typeof MatFooterCellHarness, MatFooterCellHarness> {
|
|
50
50
|
/** The selector for the host element of a `MatFooterRowHarness` instance. */
|
|
51
51
|
static hostSelector: string;
|
|
@@ -59,7 +59,7 @@ export declare class MatFooterRowHarness extends _MatRowHarnessBase<typeof MatFo
|
|
|
59
59
|
static with<T extends MatFooterRowHarness>(this: ComponentHarnessConstructor<T>, options?: RowHarnessFilters): HarnessPredicate<T>;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
/** Harness for interacting with an
|
|
62
|
+
/** Harness for interacting with an Angular Material table header cell. */
|
|
63
63
|
export declare class MatHeaderCellHarness extends _MatCellHarnessBase {
|
|
64
64
|
/** The selector for the host element of a `MatHeaderCellHarness` instance. */
|
|
65
65
|
static hostSelector: string;
|
|
@@ -72,7 +72,7 @@ export declare class MatHeaderCellHarness extends _MatCellHarnessBase {
|
|
|
72
72
|
static with(options?: CellHarnessFilters): HarnessPredicate<MatHeaderCellHarness>;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
/** Harness for interacting with an
|
|
75
|
+
/** Harness for interacting with an Angular Material table header row. */
|
|
76
76
|
export declare class MatHeaderRowHarness extends _MatRowHarnessBase<typeof MatHeaderCellHarness, MatHeaderCellHarness> {
|
|
77
77
|
/** The selector for the host element of a `MatHeaderRowHarness` instance. */
|
|
78
78
|
static hostSelector: string;
|
|
@@ -86,7 +86,7 @@ export declare class MatHeaderRowHarness extends _MatRowHarnessBase<typeof MatHe
|
|
|
86
86
|
static with<T extends MatHeaderRowHarness>(this: ComponentHarnessConstructor<T>, options?: RowHarnessFilters): HarnessPredicate<T>;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
/** Harness for interacting with an
|
|
89
|
+
/** Harness for interacting with an Angular Material table row. */
|
|
90
90
|
export declare class MatRowHarness extends _MatRowHarnessBase<typeof MatCellHarness, MatCellHarness> {
|
|
91
91
|
/** The selector for the host element of a `MatRowHarness` instance. */
|
|
92
92
|
static hostSelector: string;
|
|
@@ -116,37 +116,25 @@ export declare interface MatRowHarnessColumnsText {
|
|
|
116
116
|
[columnName: string]: string;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
/** Harness for interacting with
|
|
120
|
-
export declare class MatTableHarness extends
|
|
119
|
+
/** Harness for interacting with a mat-table in tests. */
|
|
120
|
+
export declare class MatTableHarness extends ContentContainerComponentHarness<string> {
|
|
121
121
|
/** The selector for the host element of a `MatTableHarness` instance. */
|
|
122
122
|
static hostSelector: string;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
_headerRowHarness: typeof MatHeaderRowHarness;
|
|
124
|
+
_rowHarness: typeof MatRowHarness;
|
|
125
|
+
private _footerRowHarness;
|
|
126
126
|
/**
|
|
127
127
|
* Gets a `HarnessPredicate` that can be used to search for a table with specific attributes.
|
|
128
128
|
* @param options Options for narrowing the search
|
|
129
129
|
* @return a `HarnessPredicate` configured with the given options.
|
|
130
130
|
*/
|
|
131
131
|
static with<T extends MatTableHarness>(this: ComponentHarnessConstructor<T>, options?: TableHarnessFilters): HarnessPredicate<T>;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}, Row extends RowBase, FooterRowType extends ComponentHarnessConstructor<FooterRow> & {
|
|
139
|
-
with: (options?: RowHarnessFilters) => HarnessPredicate<FooterRow>;
|
|
140
|
-
}, FooterRow extends RowBase> extends ContentContainerComponentHarness<string> {
|
|
141
|
-
protected abstract _headerRowHarness: HeaderRowType;
|
|
142
|
-
protected abstract _rowHarness: RowType;
|
|
143
|
-
protected abstract _footerRowHarness: FooterRowType;
|
|
144
|
-
/** Gets all of the header rows in a table. */
|
|
145
|
-
getHeaderRows(filter?: RowHarnessFilters): Promise<HeaderRow[]>;
|
|
146
|
-
/** Gets all of the regular data rows in a table. */
|
|
147
|
-
getRows(filter?: RowHarnessFilters): Promise<Row[]>;
|
|
148
|
-
/** Gets all of the footer rows in a table. */
|
|
149
|
-
getFooterRows(filter?: RowHarnessFilters): Promise<FooterRow[]>;
|
|
132
|
+
/** Gets all the header rows in a table. */
|
|
133
|
+
getHeaderRows(filter?: RowHarnessFilters): Promise<MatHeaderRowHarness[]>;
|
|
134
|
+
/** Gets all the regular data rows in a table. */
|
|
135
|
+
getRows(filter?: RowHarnessFilters): Promise<MatRowHarness[]>;
|
|
136
|
+
/** Gets all the footer rows in a table. */
|
|
137
|
+
getFooterRows(filter?: RowHarnessFilters): Promise<MatFooterRowHarness[]>;
|
|
150
138
|
/** Gets the text inside the entire table organized by rows. */
|
|
151
139
|
getCellTextByIndex(): Promise<string[][]>;
|
|
152
140
|
/** Gets the text inside the entire table organized by columns. */
|
|
@@ -162,11 +150,6 @@ export declare interface MatTableHarnessColumnsText {
|
|
|
162
150
|
};
|
|
163
151
|
}
|
|
164
152
|
|
|
165
|
-
declare interface RowBase extends ComponentHarness {
|
|
166
|
-
getCellTextByColumnName(): Promise<MatRowHarnessColumnsText>;
|
|
167
|
-
getCellTextByIndex(): Promise<string[]>;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
153
|
/** A set of criteria that can be used to filter a list of row harness instances. */
|
|
171
154
|
export declare interface RowHarnessFilters extends BaseHarnessFilters {
|
|
172
155
|
}
|