@angular/material-experimental 14.2.1 → 15.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 +0 -69
- package/esm2020/selection/selection-column.mjs +11 -11
- package/esm2020/selection/selection-module.mjs +5 -5
- package/esm2020/version.mjs +1 -1
- package/fesm2015/material-experimental.mjs +1 -1
- package/fesm2015/material-experimental.mjs.map +1 -1
- package/fesm2015/selection.mjs +13 -13
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2020/material-experimental.mjs +1 -1
- package/fesm2020/material-experimental.mjs.map +1 -1
- package/fesm2020/selection.mjs +13 -13
- package/fesm2020/selection.mjs.map +1 -1
- package/package.json +55 -422
- package/selection/index.d.ts +4 -4
- package/esm2020/mdc-autocomplete/animations.mjs +0 -25
- package/esm2020/mdc-autocomplete/autocomplete-origin.mjs +0 -26
- package/esm2020/mdc-autocomplete/autocomplete-trigger.mjs +0 -54
- package/esm2020/mdc-autocomplete/autocomplete.mjs +0 -35
- package/esm2020/mdc-autocomplete/index.mjs +0 -9
- package/esm2020/mdc-autocomplete/mdc-autocomplete_public_index.mjs +0 -5
- package/esm2020/mdc-autocomplete/module.mjs +0 -46
- package/esm2020/mdc-autocomplete/public-api.mjs +0 -14
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2020/mdc-autocomplete/testing/autocomplete-harness.mjs +0 -31
- package/esm2020/mdc-autocomplete/testing/index.mjs +0 -9
- package/esm2020/mdc-autocomplete/testing/public-api.mjs +0 -10
- package/esm2020/mdc-button/button-base.mjs +0 -152
- package/esm2020/mdc-button/button.mjs +0 -69
- package/esm2020/mdc-button/fab.mjs +0 -175
- package/esm2020/mdc-button/icon-button.mjs +0 -57
- package/esm2020/mdc-button/index.mjs +0 -9
- package/esm2020/mdc-button/mdc-button_public_index.mjs +0 -5
- package/esm2020/mdc-button/module.mjs +0 -61
- package/esm2020/mdc-button/public-api.mjs +0 -12
- package/esm2020/mdc-button/testing/button-harness.mjs +0 -50
- package/esm2020/mdc-button/testing/index.mjs +0 -9
- package/esm2020/mdc-button/testing/public-api.mjs +0 -9
- package/esm2020/mdc-card/card.mjs +0 -261
- package/esm2020/mdc-card/index.mjs +0 -9
- package/esm2020/mdc-card/mdc-card_public_index.mjs +0 -5
- package/esm2020/mdc-card/module.mjs +0 -68
- package/esm2020/mdc-card/public-api.mjs +0 -10
- package/esm2020/mdc-card/testing/card-harness-filters.mjs +0 -9
- package/esm2020/mdc-card/testing/card-harness.mjs +0 -42
- package/esm2020/mdc-card/testing/index.mjs +0 -9
- package/esm2020/mdc-card/testing/public-api.mjs +0 -10
- package/esm2020/mdc-checkbox/checkbox.mjs +0 -93
- package/esm2020/mdc-checkbox/index.mjs +0 -9
- package/esm2020/mdc-checkbox/mdc-checkbox_public_index.mjs +0 -5
- package/esm2020/mdc-checkbox/module.mjs +0 -26
- package/esm2020/mdc-checkbox/public-api.mjs +0 -11
- package/esm2020/mdc-checkbox/testing/checkbox-harness.mjs +0 -41
- package/esm2020/mdc-checkbox/testing/index.mjs +0 -9
- package/esm2020/mdc-checkbox/testing/public-api.mjs +0 -9
- package/esm2020/mdc-chips/chip-action.mjs +0 -90
- package/esm2020/mdc-chips/chip-edit-input.mjs +0 -60
- package/esm2020/mdc-chips/chip-grid.mjs +0 -407
- package/esm2020/mdc-chips/chip-icons.mjs +0 -110
- package/esm2020/mdc-chips/chip-input.mjs +0 -212
- package/esm2020/mdc-chips/chip-listbox.mjs +0 -332
- package/esm2020/mdc-chips/chip-option.mjs +0 -160
- package/esm2020/mdc-chips/chip-row.mjs +0 -176
- package/esm2020/mdc-chips/chip-set.mjs +0 -271
- package/esm2020/mdc-chips/chip-text-control.mjs +0 -9
- package/esm2020/mdc-chips/chip.mjs +0 -287
- package/esm2020/mdc-chips/index.mjs +0 -9
- package/esm2020/mdc-chips/mdc-chips_public_index.mjs +0 -5
- package/esm2020/mdc-chips/module.mjs +0 -87
- package/esm2020/mdc-chips/public-api.mjs +0 -20
- package/esm2020/mdc-chips/testing/chip-avatar-harness.mjs +0 -22
- package/esm2020/mdc-chips/testing/chip-grid-harness.mjs +0 -43
- package/esm2020/mdc-chips/testing/chip-harness-filters.mjs +0 -9
- package/esm2020/mdc-chips/testing/chip-harness.mjs +0 -58
- package/esm2020/mdc-chips/testing/chip-input-harness.mjs +0 -82
- package/esm2020/mdc-chips/testing/chip-listbox-harness.mjs +0 -59
- package/esm2020/mdc-chips/testing/chip-option-harness.mjs +0 -45
- package/esm2020/mdc-chips/testing/chip-remove-harness.mjs +0 -26
- package/esm2020/mdc-chips/testing/chip-row-harness.mjs +0 -22
- package/esm2020/mdc-chips/testing/chip-set-harness.mjs +0 -26
- package/esm2020/mdc-chips/testing/index.mjs +0 -9
- package/esm2020/mdc-chips/testing/public-api.mjs +0 -18
- package/esm2020/mdc-chips/tokens.mjs +0 -33
- package/esm2020/mdc-core/index.mjs +0 -9
- package/esm2020/mdc-core/mdc-core_public_index.mjs +0 -5
- package/esm2020/mdc-core/option/index.mjs +0 -30
- package/esm2020/mdc-core/option/optgroup.mjs +0 -46
- package/esm2020/mdc-core/option/option.mjs +0 -52
- package/esm2020/mdc-core/public-api.mjs +0 -10
- package/esm2020/mdc-core/testing/index.mjs +0 -9
- package/esm2020/mdc-core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2020/mdc-core/testing/optgroup-harness.mjs +0 -43
- package/esm2020/mdc-core/testing/option-harness-filters.mjs +0 -9
- package/esm2020/mdc-core/testing/option-harness.mjs +0 -53
- package/esm2020/mdc-core/testing/public-api.mjs +0 -12
- package/esm2020/mdc-dialog/dialog-container.mjs +0 -171
- package/esm2020/mdc-dialog/dialog-content-directives.mjs +0 -179
- package/esm2020/mdc-dialog/dialog-ref.mjs +0 -14
- package/esm2020/mdc-dialog/dialog.mjs +0 -82
- package/esm2020/mdc-dialog/index.mjs +0 -9
- package/esm2020/mdc-dialog/mdc-dialog_public_index.mjs +0 -5
- package/esm2020/mdc-dialog/module.mjs +0 -53
- package/esm2020/mdc-dialog/public-api.mjs +0 -14
- package/esm2020/mdc-dialog/testing/dialog-harness.mjs +0 -29
- package/esm2020/mdc-dialog/testing/dialog-opener.mjs +0 -45
- package/esm2020/mdc-dialog/testing/index.mjs +0 -9
- package/esm2020/mdc-dialog/testing/public-api.mjs +0 -10
- package/esm2020/mdc-form-field/directives/error.mjs +0 -47
- package/esm2020/mdc-form-field/directives/floating-label.mjs +0 -73
- package/esm2020/mdc-form-field/directives/hint.mjs +0 -39
- package/esm2020/mdc-form-field/directives/label.mjs +0 -21
- package/esm2020/mdc-form-field/directives/line-ripple.mjs +0 -59
- package/esm2020/mdc-form-field/directives/notched-outline.mjs +0 -68
- package/esm2020/mdc-form-field/directives/prefix.mjs +0 -32
- package/esm2020/mdc-form-field/directives/suffix.mjs +0 -32
- package/esm2020/mdc-form-field/form-field.mjs +0 -608
- package/esm2020/mdc-form-field/index.mjs +0 -9
- package/esm2020/mdc-form-field/mdc-form-field_public_index.mjs +0 -5
- package/esm2020/mdc-form-field/module.mjs +0 -53
- package/esm2020/mdc-form-field/public-api.mjs +0 -16
- package/esm2020/mdc-form-field/testing/form-field-harness.mjs +0 -58
- package/esm2020/mdc-form-field/testing/index.mjs +0 -9
- package/esm2020/mdc-form-field/testing/public-api.mjs +0 -13
- package/esm2020/mdc-input/index.mjs +0 -9
- package/esm2020/mdc-input/input.mjs +0 -55
- package/esm2020/mdc-input/mdc-input_public_index.mjs +0 -5
- package/esm2020/mdc-input/module.mjs +0 -27
- package/esm2020/mdc-input/public-api.mjs +0 -11
- package/esm2020/mdc-input/testing/index.mjs +0 -9
- package/esm2020/mdc-input/testing/public-api.mjs +0 -9
- package/esm2020/mdc-list/action-list.mjs +0 -31
- package/esm2020/mdc-list/index.mjs +0 -9
- package/esm2020/mdc-list/list-base.mjs +0 -272
- package/esm2020/mdc-list/list-item-sections.mjs +0 -138
- package/esm2020/mdc-list/list-option-types.mjs +0 -16
- package/esm2020/mdc-list/list-option.mjs +0 -253
- package/esm2020/mdc-list/list.mjs +0 -82
- package/esm2020/mdc-list/mdc-list_public_index.mjs +0 -5
- package/esm2020/mdc-list/module.mjs +0 -98
- package/esm2020/mdc-list/nav-list.mjs +0 -31
- package/esm2020/mdc-list/public-api.mjs +0 -18
- package/esm2020/mdc-list/selection-list.mjs +0 -338
- package/esm2020/mdc-list/subheader.mjs +0 -27
- package/esm2020/mdc-list/testing/action-list-harness.mjs +0 -59
- package/esm2020/mdc-list/testing/index.mjs +0 -9
- package/esm2020/mdc-list/testing/list-harness-base.mjs +0 -95
- package/esm2020/mdc-list/testing/list-harness-filters.mjs +0 -9
- package/esm2020/mdc-list/testing/list-harness.mjs +0 -41
- package/esm2020/mdc-list/testing/list-item-harness-base.mjs +0 -150
- package/esm2020/mdc-list/testing/nav-list-harness.mjs +0 -69
- package/esm2020/mdc-list/testing/public-api.mjs +0 -14
- package/esm2020/mdc-list/testing/selection-list-harness.mjs +0 -117
- package/esm2020/mdc-menu/directives.mjs +0 -38
- package/esm2020/mdc-menu/index.mjs +0 -9
- package/esm2020/mdc-menu/mdc-menu_public_index.mjs +0 -5
- package/esm2020/mdc-menu/menu-item.mjs +0 -36
- package/esm2020/mdc-menu/menu.mjs +0 -43
- package/esm2020/mdc-menu/module.mjs +0 -44
- package/esm2020/mdc-menu/public-api.mjs +0 -13
- package/esm2020/mdc-menu/testing/index.mjs +0 -9
- package/esm2020/mdc-menu/testing/menu-harness.mjs +0 -46
- package/esm2020/mdc-menu/testing/public-api.mjs +0 -9
- package/esm2020/mdc-paginator/index.mjs +0 -9
- package/esm2020/mdc-paginator/mdc-paginator_public_index.mjs +0 -5
- package/esm2020/mdc-paginator/module.mjs +0 -30
- package/esm2020/mdc-paginator/paginator.mjs +0 -48
- package/esm2020/mdc-paginator/public-api.mjs +0 -11
- package/esm2020/mdc-paginator/testing/index.mjs +0 -9
- package/esm2020/mdc-paginator/testing/paginator-harness.mjs +0 -36
- package/esm2020/mdc-paginator/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-bar/index.mjs +0 -9
- package/esm2020/mdc-progress-bar/mdc-progress-bar_public_index.mjs +0 -5
- package/esm2020/mdc-progress-bar/module.mjs +0 -24
- package/esm2020/mdc-progress-bar/progress-bar.mjs +0 -152
- package/esm2020/mdc-progress-bar/public-api.mjs +0 -11
- package/esm2020/mdc-progress-bar/testing/index.mjs +0 -9
- package/esm2020/mdc-progress-bar/testing/progress-bar-harness.mjs +0 -33
- package/esm2020/mdc-progress-bar/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-bar/testing/testing_public_index.mjs +0 -5
- package/esm2020/mdc-progress-spinner/index.mjs +0 -9
- package/esm2020/mdc-progress-spinner/mdc-progress-spinner_public_index.mjs +0 -5
- package/esm2020/mdc-progress-spinner/module.mjs +0 -26
- package/esm2020/mdc-progress-spinner/progress-spinner.mjs +0 -151
- package/esm2020/mdc-progress-spinner/public-api.mjs +0 -11
- package/esm2020/mdc-progress-spinner/testing/index.mjs +0 -9
- package/esm2020/mdc-progress-spinner/testing/progress-spinner-harness.mjs +0 -35
- package/esm2020/mdc-progress-spinner/testing/public-api.mjs +0 -9
- package/esm2020/mdc-progress-spinner/testing/testing_public_index.mjs +0 -5
- package/esm2020/mdc-radio/index.mjs +0 -9
- package/esm2020/mdc-radio/mdc-radio_public_index.mjs +0 -5
- package/esm2020/mdc-radio/module.mjs +0 -26
- package/esm2020/mdc-radio/public-api.mjs +0 -11
- package/esm2020/mdc-radio/radio.mjs +0 -111
- package/esm2020/mdc-radio/testing/index.mjs +0 -9
- package/esm2020/mdc-radio/testing/public-api.mjs +0 -9
- package/esm2020/mdc-radio/testing/radio-harness.mjs +0 -50
- package/esm2020/mdc-select/index.mjs +0 -9
- package/esm2020/mdc-select/mdc-select_public_index.mjs +0 -5
- package/esm2020/mdc-select/module.mjs +0 -46
- package/esm2020/mdc-select/public-api.mjs +0 -12
- package/esm2020/mdc-select/select-animations.mjs +0 -38
- package/esm2020/mdc-select/select-errors.mjs +0 -35
- package/esm2020/mdc-select/select.mjs +0 -172
- package/esm2020/mdc-select/testing/index.mjs +0 -9
- package/esm2020/mdc-select/testing/public-api.mjs +0 -10
- package/esm2020/mdc-select/testing/select-harness-filters.mjs +0 -9
- package/esm2020/mdc-select/testing/select-harness.mjs +0 -29
- package/esm2020/mdc-slide-toggle/index.mjs +0 -9
- package/esm2020/mdc-slide-toggle/mdc-slide-toggle_public_index.mjs +0 -5
- package/esm2020/mdc-slide-toggle/module.mjs +0 -27
- package/esm2020/mdc-slide-toggle/public-api.mjs +0 -12
- package/esm2020/mdc-slide-toggle/slide-toggle-config.mjs +0 -14
- package/esm2020/mdc-slide-toggle/slide-toggle.mjs +0 -99
- package/esm2020/mdc-slide-toggle/testing/index.mjs +0 -9
- package/esm2020/mdc-slide-toggle/testing/public-api.mjs +0 -9
- package/esm2020/mdc-slide-toggle/testing/slide-toggle-harness.mjs +0 -47
- package/esm2020/mdc-slider/global-change-and-input-listener.mjs +0 -59
- package/esm2020/mdc-slider/index.mjs +0 -9
- package/esm2020/mdc-slider/mdc-slider_public_index.mjs +0 -5
- package/esm2020/mdc-slider/module.mjs +0 -26
- package/esm2020/mdc-slider/public-api.mjs +0 -10
- package/esm2020/mdc-slider/slider.mjs +0 -1094
- package/esm2020/mdc-slider/testing/index.mjs +0 -9
- package/esm2020/mdc-slider/testing/public-api.mjs +0 -11
- package/esm2020/mdc-slider/testing/slider-harness-filters.mjs +0 -2
- package/esm2020/mdc-slider/testing/slider-harness.mjs +0 -62
- package/esm2020/mdc-slider/testing/slider-thumb-harness.mjs +0 -94
- package/esm2020/mdc-snack-bar/index.mjs +0 -9
- package/esm2020/mdc-snack-bar/mdc-snack-bar_public_index.mjs +0 -5
- package/esm2020/mdc-snack-bar/module.mjs +0 -51
- package/esm2020/mdc-snack-bar/public-api.mjs +0 -14
- package/esm2020/mdc-snack-bar/simple-snack-bar.mjs +0 -40
- package/esm2020/mdc-snack-bar/snack-bar-container.mjs +0 -41
- package/esm2020/mdc-snack-bar/snack-bar-content.mjs +0 -52
- package/esm2020/mdc-snack-bar/snack-bar.mjs +0 -45
- package/esm2020/mdc-snack-bar/testing/index.mjs +0 -9
- package/esm2020/mdc-snack-bar/testing/public-api.mjs +0 -9
- package/esm2020/mdc-snack-bar/testing/snack-bar-harness.mjs +0 -34
- package/esm2020/mdc-table/cell.mjs +0 -141
- package/esm2020/mdc-table/index.mjs +0 -9
- package/esm2020/mdc-table/mdc-table_public_index.mjs +0 -5
- package/esm2020/mdc-table/module.mjs +0 -94
- package/esm2020/mdc-table/public-api.mjs +0 -14
- package/esm2020/mdc-table/row.mjs +0 -143
- package/esm2020/mdc-table/table-data-source.mjs +0 -24
- package/esm2020/mdc-table/table.mjs +0 -74
- package/esm2020/mdc-table/testing/cell-harness.mjs +0 -50
- package/esm2020/mdc-table/testing/index.mjs +0 -9
- package/esm2020/mdc-table/testing/public-api.mjs +0 -11
- package/esm2020/mdc-table/testing/row-harness.mjs +0 -64
- package/esm2020/mdc-table/testing/table-harness.mjs +0 -30
- package/esm2020/mdc-table/text-column.mjs +0 -58
- package/esm2020/mdc-tabs/index.mjs +0 -9
- package/esm2020/mdc-tabs/ink-bar.mjs +0 -130
- package/esm2020/mdc-tabs/mdc-tabs_public_index.mjs +0 -5
- package/esm2020/mdc-tabs/module.mjs +0 -93
- package/esm2020/mdc-tabs/public-api.mjs +0 -19
- package/esm2020/mdc-tabs/tab-body.mjs +0 -60
- package/esm2020/mdc-tabs/tab-content.mjs +0 -20
- package/esm2020/mdc-tabs/tab-group.mjs +0 -98
- package/esm2020/mdc-tabs/tab-header.mjs +0 -73
- package/esm2020/mdc-tabs/tab-label-wrapper.mjs +0 -32
- package/esm2020/mdc-tabs/tab-label.mjs +0 -22
- package/esm2020/mdc-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -202
- package/esm2020/mdc-tabs/tab.mjs +0 -34
- package/esm2020/mdc-tabs/testing/index.mjs +0 -9
- package/esm2020/mdc-tabs/testing/public-api.mjs +0 -13
- package/esm2020/mdc-tabs/testing/tab-group-harness.mjs +0 -56
- package/esm2020/mdc-tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2020/mdc-tabs/testing/tab-harness.mjs +0 -64
- package/esm2020/mdc-tabs/testing/tab-link-harness.mjs +0 -40
- package/esm2020/mdc-tabs/testing/tab-nav-bar-harness.mjs +0 -66
- package/esm2020/mdc-tabs/testing/tab-nav-panel-harness.mjs +0 -27
- package/esm2020/mdc-tooltip/index.mjs +0 -9
- package/esm2020/mdc-tooltip/mdc-tooltip_public_index.mjs +0 -5
- package/esm2020/mdc-tooltip/module.mjs +0 -31
- package/esm2020/mdc-tooltip/public-api.mjs +0 -12
- package/esm2020/mdc-tooltip/testing/index.mjs +0 -9
- package/esm2020/mdc-tooltip/testing/public-api.mjs +0 -9
- package/esm2020/mdc-tooltip/testing/tooltip-harness.mjs +0 -30
- package/esm2020/mdc-tooltip/tooltip-animations.mjs +0 -24
- package/esm2020/mdc-tooltip/tooltip.mjs +0 -132
- package/fesm2015/mdc-autocomplete/testing.mjs +0 -50
- package/fesm2015/mdc-autocomplete/testing.mjs.map +0 -1
- package/fesm2015/mdc-autocomplete.mjs +0 -196
- package/fesm2015/mdc-autocomplete.mjs.map +0 -1
- package/fesm2015/mdc-button/testing.mjs +0 -75
- package/fesm2015/mdc-button/testing.mjs.map +0 -1
- package/fesm2015/mdc-button.mjs +0 -490
- package/fesm2015/mdc-button.mjs.map +0 -1
- package/fesm2015/mdc-card/testing.mjs +0 -63
- package/fesm2015/mdc-card/testing.mjs.map +0 -1
- package/fesm2015/mdc-card.mjs +0 -351
- package/fesm2015/mdc-card.mjs.map +0 -1
- package/fesm2015/mdc-checkbox/testing.mjs +0 -56
- package/fesm2015/mdc-checkbox/testing.mjs.map +0 -1
- package/fesm2015/mdc-checkbox.mjs +0 -142
- package/fesm2015/mdc-checkbox.mjs.map +0 -1
- package/fesm2015/mdc-chips/testing.mjs +0 -394
- package/fesm2015/mdc-chips/testing.mjs.map +0 -1
- package/fesm2015/mdc-chips.mjs +0 -2169
- package/fesm2015/mdc-chips.mjs.map +0 -1
- package/fesm2015/mdc-core/testing.mjs +0 -118
- package/fesm2015/mdc-core/testing.mjs.map +0 -1
- package/fesm2015/mdc-core.mjs +0 -141
- package/fesm2015/mdc-core.mjs.map +0 -1
- package/fesm2015/mdc-dialog/testing.mjs +0 -90
- package/fesm2015/mdc-dialog/testing.mjs.map +0 -1
- package/fesm2015/mdc-dialog.mjs +0 -500
- package/fesm2015/mdc-dialog.mjs.map +0 -1
- package/fesm2015/mdc-form-field/testing.mjs +0 -78
- package/fesm2015/mdc-form-field/testing.mjs.map +0 -1
- package/fesm2015/mdc-form-field.mjs +0 -1018
- package/fesm2015/mdc-form-field.mjs.map +0 -1
- package/fesm2015/mdc-input/testing.mjs +0 -18
- package/fesm2015/mdc-input/testing.mjs.map +0 -1
- package/fesm2015/mdc-input.mjs +0 -103
- package/fesm2015/mdc-input.mjs.map +0 -1
- package/fesm2015/mdc-list/testing.mjs +0 -574
- package/fesm2015/mdc-list/testing.mjs.map +0 -1
- package/fesm2015/mdc-list.mjs +0 -1264
- package/fesm2015/mdc-list.mjs.map +0 -1
- package/fesm2015/mdc-menu/testing.mjs +0 -59
- package/fesm2015/mdc-menu/testing.mjs.map +0 -1
- package/fesm2015/mdc-menu.mjs +0 -174
- package/fesm2015/mdc-menu.mjs.map +0 -1
- package/fesm2015/mdc-paginator/testing.mjs +0 -55
- package/fesm2015/mdc-paginator/testing.mjs.map +0 -1
- package/fesm2015/mdc-paginator.mjs +0 -100
- package/fesm2015/mdc-paginator.mjs.map +0 -1
- package/fesm2015/mdc-progress-bar/testing.mjs +0 -54
- package/fesm2015/mdc-progress-bar/testing.mjs.map +0 -1
- package/fesm2015/mdc-progress-bar.mjs +0 -198
- package/fesm2015/mdc-progress-bar.mjs.map +0 -1
- package/fesm2015/mdc-progress-spinner/testing.mjs +0 -56
- package/fesm2015/mdc-progress-spinner/testing.mjs.map +0 -1
- package/fesm2015/mdc-progress-spinner.mjs +0 -200
- package/fesm2015/mdc-progress-spinner.mjs.map +0 -1
- package/fesm2015/mdc-radio/testing.mjs +0 -63
- package/fesm2015/mdc-radio/testing.mjs.map +0 -1
- package/fesm2015/mdc-radio.mjs +0 -155
- package/fesm2015/mdc-radio.mjs.map +0 -1
- package/fesm2015/mdc-select/testing.mjs +0 -48
- package/fesm2015/mdc-select/testing.mjs.map +0 -1
- package/fesm2015/mdc-select.mjs +0 -273
- package/fesm2015/mdc-select.mjs.map +0 -1
- package/fesm2015/mdc-slide-toggle/testing.mjs +0 -66
- package/fesm2015/mdc-slide-toggle/testing.mjs.map +0 -1
- package/fesm2015/mdc-slide-toggle.mjs +0 -159
- package/fesm2015/mdc-slide-toggle.mjs.map +0 -1
- package/fesm2015/mdc-slider/testing.mjs +0 -199
- package/fesm2015/mdc-slider/testing.mjs.map +0 -1
- package/fesm2015/mdc-slider.mjs +0 -1212
- package/fesm2015/mdc-slider.mjs.map +0 -1
- package/fesm2015/mdc-snack-bar/testing.mjs +0 -49
- package/fesm2015/mdc-snack-bar/testing.mjs.map +0 -1
- package/fesm2015/mdc-snack-bar.mjs +0 -229
- package/fesm2015/mdc-snack-bar.mjs.map +0 -1
- package/fesm2015/mdc-table/testing.mjs +0 -158
- package/fesm2015/mdc-table/testing.mjs.map +0 -1
- package/fesm2015/mdc-table.mjs +0 -540
- package/fesm2015/mdc-table.mjs.map +0 -1
- package/fesm2015/mdc-tabs/testing.mjs +0 -273
- package/fesm2015/mdc-tabs/testing.mjs.map +0 -1
- package/fesm2015/mdc-tabs.mjs +0 -737
- package/fesm2015/mdc-tabs.mjs.map +0 -1
- package/fesm2015/mdc-tooltip/testing.mjs +0 -49
- package/fesm2015/mdc-tooltip/testing.mjs.map +0 -1
- package/fesm2015/mdc-tooltip.mjs +0 -206
- package/fesm2015/mdc-tooltip.mjs.map +0 -1
- package/fesm2020/mdc-autocomplete/testing.mjs +0 -58
- package/fesm2020/mdc-autocomplete/testing.mjs.map +0 -1
- package/fesm2020/mdc-autocomplete.mjs +0 -196
- package/fesm2020/mdc-autocomplete.mjs.map +0 -1
- package/fesm2020/mdc-button/testing.mjs +0 -69
- package/fesm2020/mdc-button/testing.mjs.map +0 -1
- package/fesm2020/mdc-button.mjs +0 -510
- package/fesm2020/mdc-button.mjs.map +0 -1
- package/fesm2020/mdc-card/testing.mjs +0 -69
- package/fesm2020/mdc-card/testing.mjs.map +0 -1
- package/fesm2020/mdc-card.mjs +0 -349
- package/fesm2020/mdc-card.mjs.map +0 -1
- package/fesm2020/mdc-checkbox/testing.mjs +0 -60
- package/fesm2020/mdc-checkbox/testing.mjs.map +0 -1
- package/fesm2020/mdc-checkbox.mjs +0 -139
- package/fesm2020/mdc-checkbox.mjs.map +0 -1
- package/fesm2020/mdc-chips/testing.mjs +0 -395
- package/fesm2020/mdc-chips/testing.mjs.map +0 -1
- package/fesm2020/mdc-chips.mjs +0 -2161
- package/fesm2020/mdc-chips.mjs.map +0 -1
- package/fesm2020/mdc-core/testing.mjs +0 -129
- package/fesm2020/mdc-core/testing.mjs.map +0 -1
- package/fesm2020/mdc-core.mjs +0 -139
- package/fesm2020/mdc-core.mjs.map +0 -1
- package/fesm2020/mdc-dialog/testing.mjs +0 -90
- package/fesm2020/mdc-dialog/testing.mjs.map +0 -1
- package/fesm2020/mdc-dialog.mjs +0 -499
- package/fesm2020/mdc-dialog.mjs.map +0 -1
- package/fesm2020/mdc-form-field/testing.mjs +0 -78
- package/fesm2020/mdc-form-field/testing.mjs.map +0 -1
- package/fesm2020/mdc-form-field.mjs +0 -1014
- package/fesm2020/mdc-form-field.mjs.map +0 -1
- package/fesm2020/mdc-input/testing.mjs +0 -18
- package/fesm2020/mdc-input/testing.mjs.map +0 -1
- package/fesm2020/mdc-input.mjs +0 -103
- package/fesm2020/mdc-input.mjs.map +0 -1
- package/fesm2020/mdc-list/testing.mjs +0 -544
- package/fesm2020/mdc-list/testing.mjs.map +0 -1
- package/fesm2020/mdc-list.mjs +0 -1260
- package/fesm2020/mdc-list.mjs.map +0 -1
- package/fesm2020/mdc-menu/testing.mjs +0 -65
- package/fesm2020/mdc-menu/testing.mjs.map +0 -1
- package/fesm2020/mdc-menu.mjs +0 -172
- package/fesm2020/mdc-menu.mjs.map +0 -1
- package/fesm2020/mdc-paginator/testing.mjs +0 -55
- package/fesm2020/mdc-paginator/testing.mjs.map +0 -1
- package/fesm2020/mdc-paginator.mjs +0 -98
- package/fesm2020/mdc-paginator.mjs.map +0 -1
- package/fesm2020/mdc-progress-bar/testing.mjs +0 -56
- package/fesm2020/mdc-progress-bar/testing.mjs.map +0 -1
- package/fesm2020/mdc-progress-bar.mjs +0 -196
- package/fesm2020/mdc-progress-bar.mjs.map +0 -1
- package/fesm2020/mdc-progress-spinner/testing.mjs +0 -58
- package/fesm2020/mdc-progress-spinner/testing.mjs.map +0 -1
- package/fesm2020/mdc-progress-spinner.mjs +0 -197
- package/fesm2020/mdc-progress-spinner.mjs.map +0 -1
- package/fesm2020/mdc-radio/testing.mjs +0 -69
- package/fesm2020/mdc-radio/testing.mjs.map +0 -1
- package/fesm2020/mdc-radio.mjs +0 -153
- package/fesm2020/mdc-radio.mjs.map +0 -1
- package/fesm2020/mdc-select/testing.mjs +0 -56
- package/fesm2020/mdc-select/testing.mjs.map +0 -1
- package/fesm2020/mdc-select.mjs +0 -273
- package/fesm2020/mdc-select.mjs.map +0 -1
- package/fesm2020/mdc-slide-toggle/testing.mjs +0 -66
- package/fesm2020/mdc-slide-toggle/testing.mjs.map +0 -1
- package/fesm2020/mdc-slide-toggle.mjs +0 -157
- package/fesm2020/mdc-slide-toggle.mjs.map +0 -1
- package/fesm2020/mdc-slider/testing.mjs +0 -172
- package/fesm2020/mdc-slider/testing.mjs.map +0 -1
- package/fesm2020/mdc-slider.mjs +0 -1191
- package/fesm2020/mdc-slider.mjs.map +0 -1
- package/fesm2020/mdc-snack-bar/testing.mjs +0 -53
- package/fesm2020/mdc-snack-bar/testing.mjs.map +0 -1
- package/fesm2020/mdc-snack-bar.mjs +0 -232
- package/fesm2020/mdc-snack-bar.mjs.map +0 -1
- package/fesm2020/mdc-table/testing.mjs +0 -158
- package/fesm2020/mdc-table/testing.mjs.map +0 -1
- package/fesm2020/mdc-table.mjs +0 -539
- package/fesm2020/mdc-table.mjs.map +0 -1
- package/fesm2020/mdc-tabs/testing.mjs +0 -265
- package/fesm2020/mdc-tabs/testing.mjs.map +0 -1
- package/fesm2020/mdc-tabs.mjs +0 -723
- package/fesm2020/mdc-tabs.mjs.map +0 -1
- package/fesm2020/mdc-tooltip/testing.mjs +0 -49
- package/fesm2020/mdc-tooltip/testing.mjs.map +0 -1
- package/fesm2020/mdc-tooltip.mjs +0 -202
- package/fesm2020/mdc-tooltip.mjs.map +0 -1
- package/mdc-autocomplete/_autocomplete-theme.import.scss +0 -5
- package/mdc-autocomplete/_autocomplete-theme.scss +0 -48
- package/mdc-autocomplete/index.d.ts +0 -97
- package/mdc-autocomplete/testing/index.d.ts +0 -32
- package/mdc-button/_button-base.import.scss +0 -4
- package/mdc-button/_button-base.scss +0 -95
- package/mdc-button/_button-theme-private.scss +0 -62
- package/mdc-button/_button-theme.import.scss +0 -16
- package/mdc-button/_button-theme.scss +0 -224
- package/mdc-button/_fab-theme.scss +0 -90
- package/mdc-button/_icon-button-theme.scss +0 -76
- package/mdc-button/index.d.ts +0 -216
- package/mdc-button/testing/index.d.ts +0 -41
- package/mdc-card/_card-theme.import.scss +0 -7
- package/mdc-card/_card-theme.scss +0 -74
- package/mdc-card/index.d.ts +0 -194
- package/mdc-card/testing/index.d.ts +0 -44
- package/mdc-checkbox/_checkbox-private.scss +0 -53
- package/mdc-checkbox/_checkbox-theme.import.scss +0 -15
- package/mdc-checkbox/_checkbox-theme.scss +0 -122
- package/mdc-checkbox/index.d.ts +0 -87
- package/mdc-checkbox/testing/index.d.ts +0 -28
- package/mdc-chips/_chips-theme.import.scss +0 -8
- package/mdc-chips/_chips-theme.scss +0 -117
- package/mdc-chips/index.d.ts +0 -979
- package/mdc-chips/testing/index.d.ts +0 -232
- package/mdc-core/_core-theme.import.scss +0 -10
- package/mdc-core/_core-theme.scss +0 -78
- package/mdc-core/_elevation.scss +0 -38
- package/mdc-core/color/_all-color.scss +0 -25
- package/mdc-core/density/_all-density.scss +0 -25
- package/mdc-core/index.d.ts +0 -206
- package/mdc-core/mdc-helpers/_focus-indicators-theme.scss +0 -39
- package/mdc-core/mdc-helpers/_focus-indicators.import.scss +0 -10
- package/mdc-core/mdc-helpers/_focus-indicators.scss +0 -15
- package/mdc-core/mdc-helpers/_mdc-helpers.import.scss +0 -8
- package/mdc-core/mdc-helpers/_mdc-helpers.scss +0 -221
- package/mdc-core/option/_optgroup-theme.import.scss +0 -7
- package/mdc-core/option/_optgroup-theme.scss +0 -44
- package/mdc-core/option/_option-theme.import.scss +0 -7
- package/mdc-core/option/_option-theme.scss +0 -87
- package/mdc-core/testing/index.d.ts +0 -64
- package/mdc-core/theming/_all-theme.scss +0 -61
- package/mdc-core/theming/prebuilt/deeppurple-amber.css +0 -1
- package/mdc-core/theming/prebuilt/indigo-pink.css +0 -1
- package/mdc-core/theming/prebuilt/pink-bluegrey.css +0 -1
- package/mdc-core/theming/prebuilt/purple-green.css +0 -1
- package/mdc-core/typography/_all-typography.scss +0 -99
- package/mdc-dialog/_dialog-legacy-padding.import.scss +0 -1
- package/mdc-dialog/_dialog-legacy-padding.scss +0 -31
- package/mdc-dialog/_dialog-theme.import.scss +0 -5
- package/mdc-dialog/_dialog-theme.scss +0 -78
- package/mdc-dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
- package/mdc-dialog/_mdc-dialog-structure-overrides.scss +0 -56
- package/mdc-dialog/index.d.ts +0 -217
- package/mdc-dialog/testing/index.d.ts +0 -47
- package/mdc-form-field/_form-field-density.scss +0 -119
- package/mdc-form-field/_form-field-focus-overlay.scss +0 -34
- package/mdc-form-field/_form-field-high-contrast.scss +0 -39
- package/mdc-form-field/_form-field-native-select.scss +0 -133
- package/mdc-form-field/_form-field-sizing.scss +0 -40
- package/mdc-form-field/_form-field-subscript.scss +0 -83
- package/mdc-form-field/_form-field-theme.scss +0 -148
- package/mdc-form-field/_mdc-text-field-structure-overrides.scss +0 -129
- package/mdc-form-field/_mdc-text-field-textarea-overrides.scss +0 -36
- package/mdc-form-field/_mdc-text-field-theme-variable-refresh.scss +0 -63
- package/mdc-form-field/index.d.ts +0 -431
- package/mdc-form-field/testing/index.d.ts +0 -48
- package/mdc-input/_input-theme.import.scss +0 -5
- package/mdc-input/_input-theme.scss +0 -35
- package/mdc-input/index.d.ts +0 -30
- package/mdc-input/testing/index.d.ts +0 -20
- package/mdc-list/_interactive-list-theme.import.scss +0 -5
- package/mdc-list/_interactive-list-theme.scss +0 -40
- package/mdc-list/_list-option-theme.import.scss +0 -13
- package/mdc-list/_list-option-theme.scss +0 -28
- package/mdc-list/_list-option-trailing-avatar-compat.scss +0 -58
- package/mdc-list/_list-theme.import.scss +0 -17
- package/mdc-list/_list-theme.scss +0 -81
- package/mdc-list/index.d.ts +0 -534
- package/mdc-list/testing/index.d.ts +0 -372
- package/mdc-menu/_menu-theme.import.scss +0 -5
- package/mdc-menu/_menu-theme.scss +0 -88
- package/mdc-menu/index.d.ts +0 -110
- package/mdc-menu/testing/index.d.ts +0 -38
- package/mdc-paginator/_paginator-theme.import.scss +0 -9
- package/mdc-paginator/_paginator-theme.scss +0 -106
- package/mdc-paginator/_paginator-variables.import.scss +0 -1
- package/mdc-paginator/_paginator-variables.scss +0 -13
- package/mdc-paginator/index.d.ts +0 -72
- package/mdc-paginator/testing/index.d.ts +0 -30
- package/mdc-progress-bar/_progress-bar-theme.import.scss +0 -6
- package/mdc-progress-bar/_progress-bar-theme.scss +0 -57
- package/mdc-progress-bar/index.d.ts +0 -98
- package/mdc-progress-bar/testing/index.d.ts +0 -24
- package/mdc-progress-spinner/_progress-spinner-theme.import.scss +0 -6
- package/mdc-progress-spinner/_progress-spinner-theme.scss +0 -48
- package/mdc-progress-spinner/index.d.ts +0 -90
- package/mdc-progress-spinner/testing/index.d.ts +0 -26
- package/mdc-radio/_radio-theme.import.scss +0 -7
- package/mdc-radio/_radio-theme.scss +0 -110
- package/mdc-radio/index.d.ts +0 -72
- package/mdc-radio/testing/index.d.ts +0 -43
- package/mdc-select/_select-theme.import.scss +0 -10
- package/mdc-select/_select-theme.scss +0 -100
- package/mdc-select/index.d.ts +0 -111
- package/mdc-select/testing/index.d.ts +0 -28
- package/mdc-slide-toggle/_slide-toggle-theme.import.scss +0 -11
- package/mdc-slide-toggle/_slide-toggle-theme.scss +0 -140
- package/mdc-slide-toggle/index.d.ts +0 -83
- package/mdc-slide-toggle/testing/index.d.ts +0 -27
- package/mdc-slider/_slider-theme.import.scss +0 -5
- package/mdc-slider/_slider-theme.scss +0 -125
- package/mdc-slider/index.d.ts +0 -435
- package/mdc-slider/testing/index.d.ts +0 -92
- package/mdc-snack-bar/_snack-bar-theme.import.scss +0 -8
- package/mdc-snack-bar/_snack-bar-theme.scss +0 -81
- package/mdc-snack-bar/index.d.ts +0 -136
- package/mdc-snack-bar/testing/index.d.ts +0 -23
- package/mdc-table/_table-theme.import.scss +0 -11
- package/mdc-table/_table-theme.scss +0 -78
- package/mdc-table/index.d.ts +0 -238
- package/mdc-table/testing/index.d.ts +0 -118
- package/mdc-tabs/_tabs-common.import.scss +0 -14
- package/mdc-tabs/_tabs-common.scss +0 -196
- package/mdc-tabs/_tabs-theme.import.scss +0 -8
- package/mdc-tabs/_tabs-theme.scss +0 -146
- package/mdc-tabs/index.d.ts +0 -307
- package/mdc-tabs/testing/index.d.ts +0 -151
- package/mdc-tooltip/_tooltip-theme.import.scss +0 -5
- package/mdc-tooltip/_tooltip-theme.scss +0 -49
- package/mdc-tooltip/index.d.ts +0 -118
- package/mdc-tooltip/testing/index.d.ts +0 -26
package/mdc-dialog/index.d.ts
DELETED
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { AutoFocusTarget } from '@angular/material/dialog';
|
|
2
|
-
import { DialogPosition } from '@angular/material/dialog';
|
|
3
|
-
import { DialogRole } from '@angular/material/dialog';
|
|
4
|
-
import { ElementRef } from '@angular/core';
|
|
5
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
6
|
-
import { FocusTrapFactory } from '@angular/cdk/a11y';
|
|
7
|
-
import * as i0 from '@angular/core';
|
|
8
|
-
import * as i3 from '@angular/cdk/dialog';
|
|
9
|
-
import * as i4 from '@angular/cdk/overlay';
|
|
10
|
-
import * as i5 from '@angular/cdk/portal';
|
|
11
|
-
import * as i6 from '@angular/material-experimental/mdc-core';
|
|
12
|
-
import { InjectionToken } from '@angular/core';
|
|
13
|
-
import { Injector } from '@angular/core';
|
|
14
|
-
import { InteractivityChecker } from '@angular/cdk/a11y';
|
|
15
|
-
import { Location as Location_2 } from '@angular/common';
|
|
16
|
-
import { MAT_DIALOG_SCROLL_STRATEGY_FACTORY } from '@angular/material/dialog';
|
|
17
|
-
import { matDialogAnimations } from '@angular/material/dialog';
|
|
18
|
-
import { _MatDialogBase } from '@angular/material/dialog';
|
|
19
|
-
import { MatDialogConfig } from '@angular/material/dialog';
|
|
20
|
-
import { _MatDialogContainerBase } from '@angular/material/dialog';
|
|
21
|
-
import { MatDialogRef as MatDialogRef_2 } from '@angular/material/dialog';
|
|
22
|
-
import { MatDialogState } from '@angular/material/dialog';
|
|
23
|
-
import { NgZone } from '@angular/core';
|
|
24
|
-
import { OnChanges } from '@angular/core';
|
|
25
|
-
import { OnDestroy } from '@angular/core';
|
|
26
|
-
import { OnInit } from '@angular/core';
|
|
27
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
28
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
29
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
30
|
-
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
31
|
-
import { SimpleChanges } from '@angular/core';
|
|
32
|
-
|
|
33
|
-
export { AutoFocusTarget }
|
|
34
|
-
|
|
35
|
-
export { DialogPosition }
|
|
36
|
-
|
|
37
|
-
export { DialogRole }
|
|
38
|
-
|
|
39
|
-
declare namespace i1 {
|
|
40
|
-
export {
|
|
41
|
-
MatDialogContainer
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare namespace i2 {
|
|
46
|
-
export {
|
|
47
|
-
MatDialogClose,
|
|
48
|
-
MatDialogTitle,
|
|
49
|
-
MatDialogContent,
|
|
50
|
-
MatDialogActions
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/** Injection token that can be used to access the data that was passed in to a dialog. */
|
|
55
|
-
export declare const MAT_DIALOG_DATA: InjectionToken<any>;
|
|
56
|
-
|
|
57
|
-
/** Injection token that can be used to specify default dialog options. */
|
|
58
|
-
export declare const MAT_DIALOG_DEFAULT_OPTIONS: InjectionToken<MatDialogConfig<any>>;
|
|
59
|
-
|
|
60
|
-
/** Injection token that determines the scroll handling while the dialog is open. */
|
|
61
|
-
export declare const MAT_DIALOG_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
62
|
-
|
|
63
|
-
export { MAT_DIALOG_SCROLL_STRATEGY_FACTORY }
|
|
64
|
-
|
|
65
|
-
/** @docs-private */
|
|
66
|
-
export declare const MAT_DIALOG_SCROLL_STRATEGY_PROVIDER: {
|
|
67
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
68
|
-
deps: (typeof Overlay)[];
|
|
69
|
-
useFactory: typeof MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
/** @docs-private */
|
|
73
|
-
export declare function MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Service to open Material Design modal dialogs.
|
|
77
|
-
*/
|
|
78
|
-
export declare class MatDialog extends _MatDialogBase<MatDialogContainer> {
|
|
79
|
-
constructor(overlay: Overlay, injector: Injector,
|
|
80
|
-
/**
|
|
81
|
-
* @deprecated `_location` parameter to be removed.
|
|
82
|
-
* @breaking-change 10.0.0
|
|
83
|
-
*/
|
|
84
|
-
location: Location_2, defaultOptions: MatDialogConfig, scrollStrategy: any, parentDialog: MatDialog,
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated No longer used. To be removed.
|
|
87
|
-
* @breaking-change 15.0.0
|
|
88
|
-
*/
|
|
89
|
-
overlayContainer: OverlayContainer,
|
|
90
|
-
/**
|
|
91
|
-
* @deprecated No longer used. To be removed.
|
|
92
|
-
* @breaking-change 14.0.0
|
|
93
|
-
*/
|
|
94
|
-
animationMode?: 'NoopAnimations' | 'BrowserAnimations');
|
|
95
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialog, [null, null, { optional: true; }, { optional: true; }, null, { optional: true; skipSelf: true; }, null, { optional: true; }]>;
|
|
96
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<MatDialog>;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Container for the bottom action buttons in a dialog.
|
|
101
|
-
* Stays fixed to the bottom when scrolling.
|
|
102
|
-
*/
|
|
103
|
-
export declare class MatDialogActions {
|
|
104
|
-
/**
|
|
105
|
-
* Horizontal alignment of action buttons.
|
|
106
|
-
*/
|
|
107
|
-
align?: 'start' | 'center' | 'end';
|
|
108
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogActions, never>;
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, { "align": "align"; }, {}, never, never, false>;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
export { matDialogAnimations }
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Button that will close the current dialog.
|
|
116
|
-
*/
|
|
117
|
-
export declare class MatDialogClose implements OnInit, OnChanges {
|
|
118
|
-
dialogRef: MatDialogRef<any>;
|
|
119
|
-
private _elementRef;
|
|
120
|
-
private _dialog;
|
|
121
|
-
/** Screen-reader label for the button. */
|
|
122
|
-
ariaLabel: string;
|
|
123
|
-
/** Default to "button" to prevents accidental form submits. */
|
|
124
|
-
type: 'submit' | 'button' | 'reset';
|
|
125
|
-
/** Dialog close input. */
|
|
126
|
-
dialogResult: any;
|
|
127
|
-
_matDialogClose: any;
|
|
128
|
-
constructor(dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
|
129
|
-
ngOnInit(): void;
|
|
130
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
131
|
-
_onButtonClick(event: MouseEvent): void;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
|
|
133
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "ariaLabel": "aria-label"; "type": "type"; "dialogResult": "mat-dialog-close"; "_matDialogClose": "matDialogClose"; }, {}, never, never, false>;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
export { MatDialogConfig }
|
|
137
|
-
|
|
138
|
-
/**
|
|
139
|
-
* Internal component that wraps user-provided dialog content in a MDC dialog.
|
|
140
|
-
* @docs-private
|
|
141
|
-
*/
|
|
142
|
-
export declare class MatDialogContainer extends _MatDialogContainerBase implements OnDestroy {
|
|
143
|
-
private _animationMode?;
|
|
144
|
-
/** Whether animations are enabled. */
|
|
145
|
-
_animationsEnabled: boolean;
|
|
146
|
-
/** Host element of the dialog container component. */
|
|
147
|
-
private _hostElement;
|
|
148
|
-
/** Duration of the dialog open animation. */
|
|
149
|
-
private _openAnimationDuration;
|
|
150
|
-
/** Duration of the dialog close animation. */
|
|
151
|
-
private _closeAnimationDuration;
|
|
152
|
-
/** Current timer for dialog animations. */
|
|
153
|
-
private _animationTimer;
|
|
154
|
-
constructor(elementRef: ElementRef, focusTrapFactory: FocusTrapFactory, document: any, dialogConfig: MatDialogConfig, checker: InteractivityChecker, ngZone: NgZone, overlayRef: OverlayRef, _animationMode?: string | undefined, focusMonitor?: FocusMonitor);
|
|
155
|
-
protected _contentAttached(): void;
|
|
156
|
-
ngOnDestroy(): void;
|
|
157
|
-
/** Starts the dialog open animation if enabled. */
|
|
158
|
-
private _startOpenAnimation;
|
|
159
|
-
/**
|
|
160
|
-
* Starts the exit animation of the dialog if enabled. This method is
|
|
161
|
-
* called by the dialog ref.
|
|
162
|
-
*/
|
|
163
|
-
_startExitAnimation(): void;
|
|
164
|
-
/**
|
|
165
|
-
* Completes the dialog open by clearing potential animation classes, trapping
|
|
166
|
-
* focus and emitting an opened event.
|
|
167
|
-
*/
|
|
168
|
-
private _finishDialogOpen;
|
|
169
|
-
/**
|
|
170
|
-
* Completes the dialog close by clearing potential animation classes, restoring
|
|
171
|
-
* focus and emitting a closed event.
|
|
172
|
-
*/
|
|
173
|
-
private _finishDialogClose;
|
|
174
|
-
/** Clears all dialog animation classes. */
|
|
175
|
-
private _clearAnimationClasses;
|
|
176
|
-
private _waitForAnimationToComplete;
|
|
177
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContainer, [null, null, { optional: true; }, null, null, null, null, { optional: true; }, null]>;
|
|
178
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MatDialogContainer, "mat-dialog-container", never, {}, {}, never, never, false>;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Scrollable content container of a dialog.
|
|
183
|
-
*/
|
|
184
|
-
export declare class MatDialogContent {
|
|
185
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogContent, never>;
|
|
186
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogContent, "[mat-dialog-content], mat-dialog-content, [matDialogContent]", never, {}, {}, never, never, false>;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export declare class MatDialogModule {
|
|
190
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogModule, never>;
|
|
191
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MatDialogModule, [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogActions, typeof i2.MatDialogContent], [typeof i3.DialogModule, typeof i4.OverlayModule, typeof i5.PortalModule, typeof i6.MatCommonModule], [typeof i1.MatDialogContainer, typeof i2.MatDialogClose, typeof i2.MatDialogTitle, typeof i2.MatDialogContent, typeof i2.MatDialogActions, typeof i6.MatCommonModule]>;
|
|
192
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MatDialogModule>;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Reference to a dialog opened via the MatDialog service.
|
|
197
|
-
*/
|
|
198
|
-
export declare class MatDialogRef<T, R = any> extends MatDialogRef_2<T, R> {
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export { MatDialogState }
|
|
202
|
-
|
|
203
|
-
/**
|
|
204
|
-
* Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
|
|
205
|
-
*/
|
|
206
|
-
export declare class MatDialogTitle implements OnInit {
|
|
207
|
-
private _dialogRef;
|
|
208
|
-
private _elementRef;
|
|
209
|
-
private _dialog;
|
|
210
|
-
id: string;
|
|
211
|
-
constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
|
212
|
-
ngOnInit(): void;
|
|
213
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatDialogTitle, [{ optional: true; }, null, null]>;
|
|
214
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatDialogTitle, "[mat-dialog-title], [matDialogTitle]", ["matDialogTitle"], { "id": "id"; }, {}, never, never, false>;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export { }
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { AsyncFactoryFn } from '@angular/cdk/testing';
|
|
2
|
-
import { ComponentHarnessConstructor } from '@angular/cdk/testing';
|
|
3
|
-
import { ComponentType } from '@angular/cdk/overlay';
|
|
4
|
-
import { DialogHarnessFilters } from '@angular/material/dialog/testing';
|
|
5
|
-
import { HarnessPredicate } from '@angular/cdk/testing';
|
|
6
|
-
import { MatDialog } from '@angular/material-experimental/mdc-dialog';
|
|
7
|
-
import { MatDialogConfig } from '@angular/material-experimental/mdc-dialog';
|
|
8
|
-
import { MatDialogContainer } from '@angular/material-experimental/mdc-dialog';
|
|
9
|
-
import { _MatDialogHarnessBase } from '@angular/material/dialog/testing';
|
|
10
|
-
import { _MatTestDialogOpenerBase } from '@angular/material/dialog/testing';
|
|
11
|
-
import { TestElement } from '@angular/cdk/testing';
|
|
12
|
-
|
|
13
|
-
export { DialogHarnessFilters }
|
|
14
|
-
|
|
15
|
-
/** Harness for interacting with a standard `MatDialog` in tests. */
|
|
16
|
-
export declare class MatDialogHarness extends _MatDialogHarnessBase {
|
|
17
|
-
/** The selector for the host element of a `MatDialog` instance. */
|
|
18
|
-
static hostSelector: string;
|
|
19
|
-
/**
|
|
20
|
-
* Gets a `HarnessPredicate` that can be used to search for a dialog with specific attributes.
|
|
21
|
-
* @param options Options for filtering which dialog instances are considered a match.
|
|
22
|
-
* @return a `HarnessPredicate` configured with the given options.
|
|
23
|
-
*/
|
|
24
|
-
static with<T extends MatDialogHarness>(this: ComponentHarnessConstructor<T>, options?: DialogHarnessFilters): HarnessPredicate<T>;
|
|
25
|
-
protected _title: AsyncFactoryFn<TestElement | null>;
|
|
26
|
-
protected _content: AsyncFactoryFn<TestElement | null>;
|
|
27
|
-
protected _actions: AsyncFactoryFn<TestElement | null>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/** Selectors for different sections of the mat-dialog that can contain user content. */
|
|
31
|
-
export declare const enum MatDialogSection {
|
|
32
|
-
TITLE = ".mat-mdc-dialog-title",
|
|
33
|
-
CONTENT = ".mat-mdc-dialog-content",
|
|
34
|
-
ACTIONS = ".mat-mdc-dialog-actions"
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/** Test component that immediately opens a dialog when bootstrapped. */
|
|
38
|
-
export declare class MatTestDialogOpener<T = unknown, R = unknown> extends _MatTestDialogOpenerBase<MatDialogContainer, T, R> {
|
|
39
|
-
constructor(dialog: MatDialog);
|
|
40
|
-
/** Static method that prepares this class to open the provided component. */
|
|
41
|
-
static withComponent<T = unknown, R = unknown>(component: ComponentType<T>, config?: MatDialogConfig): ComponentType<MatTestDialogOpener<T, R>>;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export declare class MatTestDialogOpenerModule {
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export { }
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:math';
|
|
3
|
-
@use '@angular/material' as mat;
|
|
4
|
-
@use '@material/density' as mdc-density;
|
|
5
|
-
@use '@material/textfield' as mdc-textfield;
|
|
6
|
-
|
|
7
|
-
@use './form-field-sizing';
|
|
8
|
-
|
|
9
|
-
// Mixin that sets the vertical spacing for the infix container of filled form fields.
|
|
10
|
-
// We need to apply spacing to the infix container because we removed the input padding
|
|
11
|
-
// provided by MDC in order to support arbitrary form-field controls.
|
|
12
|
-
@mixin _infix-vertical-spacing-filled($with-label-padding, $no-label-padding) {
|
|
13
|
-
.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix {
|
|
14
|
-
padding-top: map.get($with-label-padding, top);
|
|
15
|
-
padding-bottom: map.get($with-label-padding, bottom);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)
|
|
19
|
-
.mat-mdc-form-field-infix {
|
|
20
|
-
padding-top: map.get($no-label-padding, top);
|
|
21
|
-
padding-bottom: map.get($no-label-padding, bottom);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// Mixin that sets the vertical spacing for the infix container of outlined form fields.
|
|
26
|
-
// We need to apply spacing to the infix container because we removed the input padding
|
|
27
|
-
// provided by MDC in order to support arbitrary form-field controls.
|
|
28
|
-
@mixin _infix-vertical-spacing-outlined($padding) {
|
|
29
|
-
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix {
|
|
30
|
-
padding-top: map.get($padding, top);
|
|
31
|
-
padding-bottom: map.get($padding, bottom);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Mixin that includes the density styles for form fields. MDC provides their own density
|
|
36
|
-
// styles for MDC text-field which we cannot use. MDC relies on input elements to stretch
|
|
37
|
-
// vertically when the height is reduced as per density scale. This doesn't work for our
|
|
38
|
-
// form field since we support custom form field controls without a fixed height. Instead, we
|
|
39
|
-
// provide spacing that makes arbitrary controls align as specified in the Material Design
|
|
40
|
-
// specification. In order to support density, we need to adjust the vertical spacing to be
|
|
41
|
-
// based on the density scale.
|
|
42
|
-
@mixin private-form-field-density($config-or-theme) {
|
|
43
|
-
$density-scale: mat.get-density-config($config-or-theme);
|
|
44
|
-
// Height of the form field that is based on the current density scale.
|
|
45
|
-
$height: mdc-density.prop-value(
|
|
46
|
-
$density-config: mdc-textfield.$density-config,
|
|
47
|
-
$density-scale: $density-scale,
|
|
48
|
-
$property-name: height,
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
// Whether floating labels for filled form fields should be hidden. MDC hides the label in
|
|
52
|
-
// their density styles when the height decreases too much. We match their density styles.
|
|
53
|
-
$hide-filled-floating-label: $height < mdc-textfield.$minimum-height-for-filled-label;
|
|
54
|
-
// We computed the desired height of the form-field using the density configuration. The
|
|
55
|
-
// spec only describes vertical spacing/alignment in non-dense mode. This means that we
|
|
56
|
-
// cannot update the spacing to explicit numbers based on the density scale. Instead, we
|
|
57
|
-
// determine the height reduction and equally subtract it from the default `top` and `bottom`
|
|
58
|
-
// padding that is provided by the Material Design specification.
|
|
59
|
-
$vertical-deduction: math.div(mdc-textfield.$height - $height, 2);
|
|
60
|
-
// Map that describes the padding for form-fields with label.
|
|
61
|
-
$with-label-padding: (
|
|
62
|
-
top: form-field-sizing.$mat-form-field-with-label-input-padding-top - $vertical-deduction,
|
|
63
|
-
bottom: form-field-sizing.$mat-form-field-with-label-input-padding-bottom - $vertical-deduction,
|
|
64
|
-
);
|
|
65
|
-
// Map that describes the padding for form-fields without label.
|
|
66
|
-
$no-label-padding: (
|
|
67
|
-
top: form-field-sizing.$mat-form-field-no-label-padding-top - $vertical-deduction,
|
|
68
|
-
bottom: form-field-sizing.$mat-form-field-no-label-padding-bottom - $vertical-deduction,
|
|
69
|
-
);
|
|
70
|
-
|
|
71
|
-
// We add a minimum height to the infix container in order to ensure that custom controls have
|
|
72
|
-
// the same default vertical space as text-field inputs (with respect to the vertical padding).
|
|
73
|
-
.mat-mdc-form-field-infix {
|
|
74
|
-
min-height: $height;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// By default, MDC aligns the label using percentage. This will be overwritten based
|
|
78
|
-
// on whether a textarea is used. This is not possible in our implementation of the
|
|
79
|
-
// form-field because we do not know what type of form-field control is set up. Hence
|
|
80
|
-
// we always use a fixed position for the label. This does not have any implications.
|
|
81
|
-
.mat-mdc-form-field .mat-mdc-text-field-wrapper .mat-mdc-floating-label {
|
|
82
|
-
top: math.div($height, 2);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
// For the outline appearance, we re-create the active floating label transform. This is
|
|
86
|
-
// necessary because the transform for docked floating labels can be updated to account for
|
|
87
|
-
// the width of prefix container.
|
|
88
|
-
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded
|
|
89
|
-
.mdc-floating-label--float-above {
|
|
90
|
-
--mat-mdc-form-field-label-transform: translateY(
|
|
91
|
-
-#{mdc-textfield.get-outlined-label-position-y($height)})
|
|
92
|
-
scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
93
|
-
transform: var(--mat-mdc-form-field-label-transform);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Add vertical spacing to the infix to ensure that outlined form fields have their controls
|
|
97
|
-
// aligned as if there is no label. This is done similarly in MDC and is specified in the
|
|
98
|
-
// Material Design specification. Outline form fields position the control as if there is no
|
|
99
|
-
// label. This is because the label overflows the form-field and doesn't need space at the top.
|
|
100
|
-
@include _infix-vertical-spacing-outlined($no-label-padding);
|
|
101
|
-
|
|
102
|
-
// MDC hides labels for filled form fields when the form field height decreases. We match
|
|
103
|
-
// this behavior in our custom density styles.
|
|
104
|
-
@if $hide-filled-floating-label {
|
|
105
|
-
// Update the spacing for filled form fields to account for the hidden floating label.
|
|
106
|
-
@include _infix-vertical-spacing-filled(
|
|
107
|
-
$no-label-padding, $no-label-padding);
|
|
108
|
-
.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label {
|
|
109
|
-
display: none;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
@else {
|
|
113
|
-
// By default, filled form fields align their controls differently based on whether there
|
|
114
|
-
// is a label or not. MDC does this too, but we cannot rely on their styles as we support
|
|
115
|
-
// arbitrary form field controls and MDC only applies their spacing to the `<input>` elements.
|
|
116
|
-
@include _infix-vertical-spacing-filled(
|
|
117
|
-
$with-label-padding, $no-label-padding);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@use '@angular/material' as mat;
|
|
2
|
-
@use '@material/ripple/functions' as mdc-ripple-functions;
|
|
3
|
-
@use '@material/textfield' as mdc-textfield;
|
|
4
|
-
|
|
5
|
-
// MDC text-field uses `@material/ripple` in order to show a focus and hover effect for
|
|
6
|
-
// text-fields. This is unnecessary because the ripples bring in a lot of unnecessary
|
|
7
|
-
// styles and runtime code while the actual goal for the text-field is simply showing a
|
|
8
|
-
// focus and hover effect. The ripples will unnecessarily provide CSS selectors and JS
|
|
9
|
-
// runtime code for launching interaction ripples at pointer location. This is not needed
|
|
10
|
-
// for the text-field, so we create our own minimal focus overlay styles. Our focus overlay
|
|
11
|
-
// uses the exact same logic to compute the colors as in the default MDC text-field ripples.
|
|
12
|
-
@mixin private-form-field-focus-overlay() {
|
|
13
|
-
.mat-mdc-form-field-focus-overlay {
|
|
14
|
-
@include mat.private-fill;
|
|
15
|
-
opacity: 0;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin private-form-field-focus-overlay-color() {
|
|
20
|
-
$focus-opacity: mdc-ripple-functions.states-opacity(mdc-textfield.$ink-color, focus);
|
|
21
|
-
$hover-opacity: mdc-ripple-functions.states-opacity(mdc-textfield.$ink-color, hover);
|
|
22
|
-
|
|
23
|
-
.mat-mdc-form-field-focus-overlay {
|
|
24
|
-
background-color: mdc-textfield.$ink-color;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.mat-mdc-form-field:hover .mat-mdc-form-field-focus-overlay {
|
|
28
|
-
opacity: $hover-opacity;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
|
|
32
|
-
opacity: $focus-opacity;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
@use '@angular/cdk';
|
|
2
|
-
|
|
3
|
-
@mixin private-form-field-high-contrast() {
|
|
4
|
-
$focus-indicator-width: 3px;
|
|
5
|
-
$focus-indicator-style: dashed;
|
|
6
|
-
|
|
7
|
-
.mat-form-field-appearance-fill {
|
|
8
|
-
// The outline of the `fill` appearance is achieved through a background color
|
|
9
|
-
// which won't be visible in high contrast mode. Add an outline to replace it.
|
|
10
|
-
.mat-mdc-text-field-wrapper {
|
|
11
|
-
@include cdk.high-contrast(active, off) {
|
|
12
|
-
outline: solid 1px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
// Use GreyText for the disabled outline color which will account for the user's configuration.
|
|
17
|
-
&.mat-form-field-disabled .mat-mdc-text-field-wrapper {
|
|
18
|
-
@include cdk.high-contrast(active, off) {
|
|
19
|
-
outline-color: GrayText;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// If a form field with fill appearance is focused, update the outline to be
|
|
25
|
-
// dashed and thicker to indicate focus.
|
|
26
|
-
.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {
|
|
27
|
-
@include cdk.high-contrast(active, off) {
|
|
28
|
-
outline: $focus-indicator-style $focus-indicator-width;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
// For form fields with outline appearance, we show a dashed thick border on top
|
|
33
|
-
// of the solid notched-outline border to indicate focus.
|
|
34
|
-
.mat-mdc-form-field.mat-focused .mdc-notched-outline {
|
|
35
|
-
@include cdk.high-contrast(active, off) {
|
|
36
|
-
border: $focus-indicator-style $focus-indicator-width;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:math';
|
|
3
|
-
@use '@angular/material' as mat;
|
|
4
|
-
@use '@material/theme/theme-color' as mdc-theme-color;
|
|
5
|
-
|
|
6
|
-
@use '../mdc-core/mdc-helpers/mdc-helpers';
|
|
7
|
-
|
|
8
|
-
// Width of the Material Design form-field select arrow.
|
|
9
|
-
$mat-form-field-select-arrow-width: 10px;
|
|
10
|
-
// Height of the Material Design form-field select arrow.
|
|
11
|
-
$mat-form-field-select-arrow-height: 5px;
|
|
12
|
-
// Horizontal padding that needs to be applied to the native select in an form-field so
|
|
13
|
-
// that the absolute positioned arrow does not overlap the select content.
|
|
14
|
-
$mat-form-field-select-horizontal-end-padding: $mat-form-field-select-arrow-width + 5px;
|
|
15
|
-
|
|
16
|
-
// Mixin that creates styles for native select controls in a form-field.
|
|
17
|
-
@mixin private-form-field-native-select() {
|
|
18
|
-
// Remove the native select down arrow and ensure that the native appearance
|
|
19
|
-
// does not conflict with the form-field. e.g. Focus indication of the native
|
|
20
|
-
// select is undesired since we handle focus as part of the form-field.
|
|
21
|
-
select.mat-mdc-form-field-input-control {
|
|
22
|
-
-moz-appearance: none;
|
|
23
|
-
-webkit-appearance: none;
|
|
24
|
-
background-color: transparent;
|
|
25
|
-
display: inline-flex;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
|
|
28
|
-
// By default the cursor does not change when hovering over a select. We want to
|
|
29
|
-
// change this for non-disabled select elements so that it's more obvious that the
|
|
30
|
-
// control can be clicked.
|
|
31
|
-
&:not(:disabled) {
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Native select elements with the `matInput` directive should have Material Design
|
|
37
|
-
// styling. This means that we add an arrow to the form-field that is based on the
|
|
38
|
-
// Material Design specification. We achieve this by adding a pseudo element to the
|
|
39
|
-
// form-field infix.
|
|
40
|
-
.mat-mdc-form-field-type-mat-native-select {
|
|
41
|
-
.mat-mdc-form-field-infix::after {
|
|
42
|
-
content: '';
|
|
43
|
-
width: 0;
|
|
44
|
-
height: 0;
|
|
45
|
-
border-left: math.div($mat-form-field-select-arrow-width, 2) solid transparent;
|
|
46
|
-
border-right: math.div($mat-form-field-select-arrow-width, 2) solid transparent;
|
|
47
|
-
border-top: $mat-form-field-select-arrow-height solid;
|
|
48
|
-
position: absolute;
|
|
49
|
-
right: 0;
|
|
50
|
-
|
|
51
|
-
// Make the arrow non-clickable so the user can click on the form control under it.
|
|
52
|
-
pointer-events: none;
|
|
53
|
-
|
|
54
|
-
[dir='rtl'] & {
|
|
55
|
-
right: auto;
|
|
56
|
-
left: 0;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
// Add padding on the end of the native select so that the content does not
|
|
61
|
-
// overlap with the Material Design arrow.
|
|
62
|
-
.mat-mdc-form-field-input-control {
|
|
63
|
-
padding-right: $mat-form-field-select-horizontal-end-padding;
|
|
64
|
-
[dir='rtl'] & {
|
|
65
|
-
padding-right: 0;
|
|
66
|
-
padding-left: $mat-form-field-select-horizontal-end-padding;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Gets the color to use for some text that is highlighted while a select has focus.
|
|
73
|
-
@function _get-focused-arrow-color($palette) {
|
|
74
|
-
@return rgba(mdc-theme-color.prop-value($palette), 0.87);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@mixin private-form-field-native-select-color($config) {
|
|
78
|
-
@include mdc-helpers.mat-using-mdc-theme($config) {
|
|
79
|
-
// These values are taken from the MDC select implementation:
|
|
80
|
-
// https://github.com/material-components/material-components-web/blob/master/packages/mdc-select/_select-theme.scss
|
|
81
|
-
$dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.54);
|
|
82
|
-
$disabled-dropdown-icon-color: rgba(mdc-theme-color.prop-value(on-surface), 0.38);
|
|
83
|
-
|
|
84
|
-
select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) {
|
|
85
|
-
// On dark themes we set the native `select` color to some shade of white,
|
|
86
|
-
// however the color propagates to all of the `option` elements, which are
|
|
87
|
-
// always on a white background inside the dropdown, causing them to blend in.
|
|
88
|
-
// Since we can't change background of the dropdown, we need to explicitly
|
|
89
|
-
// reset the color of the options to something dark.
|
|
90
|
-
@if (map.get($config, is-dark)) {
|
|
91
|
-
option {
|
|
92
|
-
color: mat.$private-dark-primary-text;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
option:disabled {
|
|
96
|
-
color: mat.$private-dark-disabled-text;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.mat-mdc-form-field-type-mat-native-select {
|
|
102
|
-
.mat-mdc-form-field-infix::after {
|
|
103
|
-
color: $dropdown-icon-color;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&.mat-focused {
|
|
107
|
-
&.mat-primary {
|
|
108
|
-
.mat-mdc-form-field-infix::after {
|
|
109
|
-
color: _get-focused-arrow-color(primary);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.mat-accent {
|
|
114
|
-
.mat-mdc-form-field-infix::after {
|
|
115
|
-
color: _get-focused-arrow-color(secondary);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.mat-warn {
|
|
120
|
-
.mat-mdc-form-field-infix::after {
|
|
121
|
-
color: _get-focused-arrow-color(error);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.mat-form-field-disabled {
|
|
127
|
-
.mat-mdc-form-field-infix::after {
|
|
128
|
-
color: $disabled-dropdown-icon-color;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Top spacing of the form-field outline. MDC does not have a variable for this
|
|
2
|
-
// and just hard-codes it into their styles.
|
|
3
|
-
$mat-form-field-outline-top-spacing: 12px;
|
|
4
|
-
|
|
5
|
-
// Infix stretches to fit the container, but naturally wants to be this wide. We set
|
|
6
|
-
// this in order to have a a consistent natural size for the various types of controls
|
|
7
|
-
// that can go in a form field.
|
|
8
|
-
$mat-form-field-default-infix-width: 180px !default;
|
|
9
|
-
|
|
10
|
-
// Minimum amount of space between start and end hints in the subscript. MDC does not
|
|
11
|
-
// have built-in support for hints.
|
|
12
|
-
$mat-form-field-hint-min-space: 1em !default;
|
|
13
|
-
|
|
14
|
-
// Vertical spacing of the text-field if there is no label. MDC hard-codes the spacing
|
|
15
|
-
// into their styles, but their spacing variables would not work for our form-field
|
|
16
|
-
// structure anyway. This is because MDC's input elements are larger than the text, and
|
|
17
|
-
// their padding variables are calculated with respect to the vertical empty space of the
|
|
18
|
-
// inputs. We take the explicit numbers provided by the Material Design specification.
|
|
19
|
-
// https://material.io/components/text-fields/#specs
|
|
20
|
-
|
|
21
|
-
// Vertical spacing of the text-field if there is a label. MDC hard-codes the spacing into
|
|
22
|
-
// their styles, but their spacing variables would not work for our form-field structure anyway.
|
|
23
|
-
// This is because MDC's alignment depends on the input element to expand to full infix height.
|
|
24
|
-
// We allow for arbitrary form controls and support dynamic height, so we manage the control
|
|
25
|
-
// infix alignment through padding on the infix that works for any control. We manually measure
|
|
26
|
-
// spacing as provided by the Material Design specification. The outlined dimensions in the
|
|
27
|
-
// spec section do not match with the text fields shown in the overview or the ones implemented
|
|
28
|
-
// by MDC. Note that we need to account for the input box offset. See above for more context.
|
|
29
|
-
$mat-form-field-with-label-input-padding-top: 24px;
|
|
30
|
-
$mat-form-field-with-label-input-padding-bottom: 8px;
|
|
31
|
-
|
|
32
|
-
// Vertical spacing of the text-field if there is no label. We manually measure the
|
|
33
|
-
// spacing in the specs. See comment above for padding for text fields with label. The
|
|
34
|
-
// same reasoning applies to the padding for text fields without label.
|
|
35
|
-
$mat-form-field-no-label-padding-bottom: 16px;
|
|
36
|
-
$mat-form-field-no-label-padding-top: 16px;
|
|
37
|
-
|
|
38
|
-
// The amount of padding between the icon prefix/suffix and the infix.
|
|
39
|
-
// This assumes that the icon will be a 24px square with 12px padding.
|
|
40
|
-
$mat-form-field-icon-prefix-infix-padding: 4px;
|