@angular/material 21.0.0-next.1 → 21.0.0-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chips/_m3-chip.scss +2 -5
- package/core/focus-indicators/_private.scss +16 -0
- package/core/tokens/_classes.scss +130 -145
- package/core/tokens/m2/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m2/_md-sys-color.scss +28 -19
- package/core/tokens/m3/_md-sys-color-internal.scss +11 -0
- package/core/tokens/m3/_md-sys-color.scss +5 -31
- package/core/tokens/m3/_md-sys-typescale-internal.scss +5 -0
- package/core/tokens/m3/_md-sys-typescale.scss +2 -16
- package/fesm2022/{animation.mjs → _animation-chunk.mjs} +2 -23
- package/fesm2022/_animation-chunk.mjs.map +1 -0
- package/fesm2022/{date-formats.mjs → _date-formats-chunk.mjs} +3 -11
- package/fesm2022/_date-formats-chunk.mjs.map +1 -0
- package/fesm2022/{date-range-input-harness.mjs → _date-range-input-harness-chunk.mjs} +1 -1
- package/fesm2022/_date-range-input-harness-chunk.mjs.map +1 -0
- package/fesm2022/{error-options.mjs → _error-options-chunk.mjs} +1 -1
- package/fesm2022/_error-options-chunk.mjs.map +1 -0
- package/fesm2022/{error-state.mjs → _error-state-chunk.mjs} +1 -1
- package/fesm2022/_error-state-chunk.mjs.map +1 -0
- package/fesm2022/_form-field-chunk.mjs +1114 -0
- package/fesm2022/_form-field-chunk.mjs.map +1 -0
- package/fesm2022/{icon-button.mjs → _icon-button-chunk.mjs} +4 -4
- package/fesm2022/_icon-button-chunk.mjs.map +1 -0
- package/fesm2022/{icon-registry.mjs → _icon-registry-chunk.mjs} +3 -30
- package/fesm2022/_icon-registry-chunk.mjs.map +1 -0
- package/fesm2022/{input-harness.mjs → _input-harness-chunk.mjs} +1 -1
- package/fesm2022/_input-harness-chunk.mjs.map +1 -0
- package/fesm2022/{input-value-accessor.mjs → _input-value-accessor-chunk.mjs} +1 -1
- package/fesm2022/_input-value-accessor-chunk.mjs.map +1 -0
- package/fesm2022/{internal-form-field.mjs → _internal-form-field-chunk.mjs} +1 -1
- package/fesm2022/_internal-form-field-chunk.mjs.map +1 -0
- package/fesm2022/{line.mjs → _line-chunk.mjs} +6 -6
- package/fesm2022/_line-chunk.mjs.map +1 -0
- package/fesm2022/{option.mjs → _option-chunk.mjs} +6 -6
- package/fesm2022/_option-chunk.mjs.map +1 -0
- package/fesm2022/{option-harness.mjs → _option-harness-chunk.mjs} +1 -1
- package/fesm2022/_option-harness-chunk.mjs.map +1 -0
- package/fesm2022/{option-module.mjs → _option-module-chunk.mjs} +9 -9
- package/fesm2022/_option-module-chunk.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox.mjs → _pseudo-checkbox-chunk.mjs} +2 -2
- package/fesm2022/_pseudo-checkbox-chunk.mjs.map +1 -0
- package/fesm2022/{pseudo-checkbox-module.mjs → _pseudo-checkbox-module-chunk.mjs} +7 -7
- package/fesm2022/_pseudo-checkbox-module-chunk.mjs.map +1 -0
- package/fesm2022/{public-api.mjs → _public-api-chunk.mjs} +1 -1
- package/fesm2022/_public-api-chunk.mjs.map +1 -0
- package/fesm2022/{ripple.mjs → _ripple-chunk.mjs} +4 -4
- package/fesm2022/_ripple-chunk.mjs.map +1 -0
- package/fesm2022/{ripple-loader.mjs → _ripple-loader-chunk.mjs} +3 -3
- package/fesm2022/_ripple-loader-chunk.mjs.map +1 -0
- package/fesm2022/{ripple-module.mjs → _ripple-module-chunk.mjs} +7 -7
- package/fesm2022/_ripple-module-chunk.mjs.map +1 -0
- package/fesm2022/{structural-styles.mjs → _structural-styles-chunk.mjs} +1 -1
- package/fesm2022/_structural-styles-chunk.mjs.map +1 -0
- package/fesm2022/{tooltip2.mjs → _tooltip-chunk.mjs} +8 -35
- package/fesm2022/_tooltip-chunk.mjs.map +1 -0
- package/fesm2022/{autocomplete/testing.mjs → autocomplete-testing.mjs} +3 -3
- package/fesm2022/autocomplete-testing.mjs.map +1 -0
- package/fesm2022/autocomplete.mjs +20 -52
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/{badge/testing.mjs → badge-testing.mjs} +1 -1
- package/fesm2022/badge-testing.mjs.map +1 -0
- package/fesm2022/badge.mjs +6 -7
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/{bottom-sheet/testing.mjs → bottom-sheet-testing.mjs} +1 -1
- package/fesm2022/bottom-sheet-testing.mjs.map +1 -0
- package/fesm2022/bottom-sheet.mjs +12 -90
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/{button/testing.mjs → button-testing.mjs} +6 -2
- package/fesm2022/button-testing.mjs.map +1 -0
- package/fesm2022/{button-toggle/testing.mjs → button-toggle-testing.mjs} +1 -1
- package/fesm2022/button-toggle-testing.mjs.map +1 -0
- package/fesm2022/button-toggle.mjs +17 -26
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +24 -46
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/{card/testing.mjs → card-testing.mjs} +1 -1
- package/fesm2022/card-testing.mjs.map +1 -0
- package/fesm2022/card.mjs +6 -8
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/{checkbox/testing.mjs → checkbox-testing.mjs} +1 -1
- package/fesm2022/checkbox-testing.mjs.map +1 -0
- package/fesm2022/checkbox.mjs +21 -31
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/{chips/testing.mjs → chips-testing.mjs} +1 -7
- package/fesm2022/chips-testing.mjs.map +1 -0
- package/fesm2022/chips.mjs +42 -22
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/{core/testing.mjs → core-testing.mjs} +2 -2
- package/fesm2022/core-testing.mjs.map +1 -0
- package/fesm2022/core.mjs +17 -24
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/{datepicker/testing.mjs → datepicker-testing.mjs} +3 -3
- package/fesm2022/datepicker-testing.mjs.map +1 -0
- package/fesm2022/datepicker.mjs +114 -268
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/{dialog/testing.mjs → dialog-testing.mjs} +7 -8
- package/fesm2022/dialog-testing.mjs.map +1 -0
- package/fesm2022/dialog.mjs +882 -115
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{divider/testing.mjs → divider-testing.mjs} +1 -1
- package/fesm2022/divider-testing.mjs.map +1 -0
- package/fesm2022/divider.mjs +5 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/{expansion/testing.mjs → expansion-testing.mjs} +1 -1
- package/fesm2022/expansion-testing.mjs.map +1 -0
- package/fesm2022/expansion.mjs +10 -114
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/{form-field/testing/control.mjs → form-field-testing-control.mjs} +1 -1
- package/fesm2022/form-field-testing-control.mjs.map +1 -0
- package/fesm2022/{form-field/testing.mjs → form-field-testing.mjs} +5 -5
- package/fesm2022/form-field-testing.mjs.map +1 -0
- package/fesm2022/form-field.mjs +20 -51
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/{grid-list/testing.mjs → grid-list-testing.mjs} +2 -2
- package/fesm2022/grid-list-testing.mjs.map +1 -0
- package/fesm2022/grid-list.mjs +9 -14
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/{icon/testing.mjs → icon-testing.mjs} +2 -2
- package/fesm2022/icon-testing.mjs.map +1 -0
- package/fesm2022/icon.mjs +17 -25
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/{input/testing.mjs → input-testing.mjs} +3 -3
- package/fesm2022/{input/testing.mjs.map → input-testing.mjs.map} +1 -1
- package/fesm2022/input.mjs +12 -13
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/{list/testing.mjs → list-testing.mjs} +2 -2
- package/fesm2022/list-testing.mjs.map +1 -0
- package/fesm2022/list.mjs +14 -15
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/{menu/testing.mjs → menu-testing.mjs} +1 -1
- package/fesm2022/menu-testing.mjs.map +1 -0
- package/fesm2022/menu.mjs +25 -173
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/{paginator/testing.mjs → paginator-testing.mjs} +2 -2
- package/fesm2022/paginator-testing.mjs.map +1 -0
- package/fesm2022/paginator.mjs +23 -44
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/{progress-bar/testing.mjs → progress-bar-testing.mjs} +1 -1
- package/fesm2022/progress-bar-testing.mjs.map +1 -0
- package/fesm2022/progress-bar.mjs +20 -25
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/{progress-spinner/testing.mjs → progress-spinner-testing.mjs} +1 -1
- package/fesm2022/progress-spinner-testing.mjs.map +1 -0
- package/fesm2022/progress-spinner.mjs +7 -17
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/{radio/testing.mjs → radio-testing.mjs} +1 -1
- package/fesm2022/radio-testing.mjs.map +1 -0
- package/fesm2022/radio.mjs +16 -25
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/{select/testing.mjs → select-testing.mjs} +1 -1
- package/fesm2022/select-testing.mjs.map +1 -0
- package/fesm2022/select.mjs +1299 -96
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/{sidenav/testing.mjs → sidenav-testing.mjs} +1 -1
- package/fesm2022/sidenav-testing.mjs.map +1 -0
- package/fesm2022/sidenav.mjs +10 -100
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/{slide-toggle/testing.mjs → slide-toggle-testing.mjs} +1 -1
- package/fesm2022/slide-toggle-testing.mjs.map +1 -0
- package/fesm2022/slide-toggle.mjs +9 -10
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/{slider/testing.mjs → slider-testing.mjs} +1 -1
- package/fesm2022/slider-testing.mjs.map +1 -0
- package/fesm2022/slider.mjs +11 -25
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/{snack-bar/testing.mjs → snack-bar-testing.mjs} +1 -1
- package/fesm2022/snack-bar-testing.mjs.map +1 -0
- package/fesm2022/snack-bar.mjs +15 -109
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/{sort/testing.mjs → sort-testing.mjs} +1 -1
- package/fesm2022/sort-testing.mjs.map +1 -0
- package/fesm2022/sort.mjs +11 -338
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/{stepper/testing.mjs → stepper-testing.mjs} +3 -2
- package/fesm2022/stepper-testing.mjs.map +1 -0
- package/fesm2022/stepper.mjs +19 -192
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{table/testing.mjs → table-testing.mjs} +36 -4
- package/fesm2022/table-testing.mjs.map +1 -0
- package/fesm2022/table.mjs +14 -11
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/{tabs/testing.mjs → tabs-testing.mjs} +1 -1
- package/fesm2022/tabs-testing.mjs.map +1 -0
- package/fesm2022/tabs.mjs +27 -181
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/{timepicker/testing.mjs → timepicker-testing.mjs} +2 -2
- package/fesm2022/timepicker-testing.mjs.map +1 -0
- package/fesm2022/timepicker.mjs +27 -21
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/{toolbar/testing.mjs → toolbar-testing.mjs} +1 -1
- package/fesm2022/toolbar-testing.mjs.map +1 -0
- package/fesm2022/toolbar.mjs +5 -7
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/{tooltip/testing.mjs → tooltip-testing.mjs} +1 -1
- package/fesm2022/tooltip-testing.mjs.map +1 -0
- package/fesm2022/tooltip.mjs +22 -55
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/{tree/testing.mjs → tree-testing.mjs} +1 -1
- package/fesm2022/tree-testing.mjs.map +1 -0
- package/fesm2022/tree.mjs +6 -8
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +115 -114
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/slider/_m2-slider.scss +1 -0
- package/slider/_m3-slider.scss +5 -2
- package/{badge.d.d.ts → types/_badge-chunk.d.ts} +1 -1
- package/{button-toggle.d.d.ts → types/_button-toggle-chunk.d.ts} +1 -7
- package/{date-adapter.d.d.ts → types/_date-adapter-chunk.d.ts} +1 -7
- package/{form-field.d.d.ts → types/_form-field-chunk.d.ts} +2 -2
- package/{form-field-module.d.d.ts → types/_form-field-module-chunk.d.ts} +4 -4
- package/{icon-module.d.d.ts → types/_icon-module-chunk.d.ts} +4 -10
- package/{icon-registry.d.d.ts → types/_icon-registry-chunk.d.ts} +2 -18
- package/{line.d.d.ts → types/_line-chunk.d.ts} +2 -2
- package/types/_option-module-chunk.d.ts +13 -0
- package/{paginator.d.d.ts → types/_paginator-chunk.d.ts} +4 -20
- package/{progress-spinner.d.d.ts → types/_progress-spinner-chunk.d.ts} +4 -10
- package/{pseudo-checkbox-module.d.d.ts → types/_pseudo-checkbox-module-chunk.d.ts} +2 -2
- package/{ripple.d.d.ts → types/_ripple-chunk.d.ts} +3 -3
- package/{ripple-module.d.d.ts → types/_ripple-module-chunk.d.ts} +3 -3
- package/{sort.d.d.ts → types/_sort-chunk.d.ts} +1 -1
- package/{autocomplete/testing/index.d.ts → types/autocomplete-testing.d.ts} +2 -2
- package/{autocomplete/index.d.ts → types/autocomplete.d.ts} +10 -33
- package/{badge/testing/index.d.ts → types/badge-testing.d.ts} +2 -2
- package/types/badge.d.ts +14 -0
- package/{bottom-sheet/index.d.ts → types/bottom-sheet.d.ts} +10 -14
- package/{button/testing/index.d.ts → types/button-testing.d.ts} +2 -0
- package/{button-toggle/testing/index.d.ts → types/button-toggle-testing.d.ts} +1 -1
- package/types/button-toggle.d.ts +16 -0
- package/{button/index.d.ts → types/button.d.ts} +7 -14
- package/{card/index.d.ts → types/card.d.ts} +2 -3
- package/{checkbox/index.d.ts → types/checkbox.d.ts} +4 -11
- package/{chips/index.d.ts → types/chips.d.ts} +55 -50
- package/{core/testing/index.d.ts → types/core-testing.d.ts} +1 -1
- package/{core/index.d.ts → types/core.d.ts} +14 -41
- package/{datepicker/testing/index.d.ts → types/datepicker-testing.d.ts} +2 -2
- package/{datepicker/index.d.ts → types/datepicker.d.ts} +48 -101
- package/{dialog/testing/index.d.ts → types/dialog-testing.d.ts} +1 -1
- package/{dialog/index.d.ts → types/dialog.d.ts} +9 -32
- package/{divider/index.d.ts → types/divider.d.ts} +2 -3
- package/{expansion/index.d.ts → types/expansion.d.ts} +5 -41
- package/{form-field/testing/control/index.d.ts → types/form-field-testing-control.d.ts} +1 -1
- package/{form-field/testing/index.d.ts → types/form-field-testing.d.ts} +4 -4
- package/{form-field/index.d.ts → types/form-field.d.ts} +6 -17
- package/{grid-list/index.d.ts → types/grid-list.d.ts} +3 -4
- package/{icon/testing/index.d.ts → types/icon-testing.d.ts} +1 -1
- package/types/icon.d.ts +8 -0
- package/{input/testing/index.d.ts → types/input-testing.d.ts} +2 -2
- package/{input/index.d.ts → types/input.d.ts} +10 -11
- package/{list/testing/index.d.ts → types/list-testing.d.ts} +2 -2
- package/{list/index.d.ts → types/list.d.ts} +10 -11
- package/{menu/index.d.ts → types/menu.d.ts} +7 -48
- package/{paginator/testing/index.d.ts → types/paginator-testing.d.ts} +1 -1
- package/types/paginator.d.ts +35 -0
- package/{progress-bar/index.d.ts → types/progress-bar.d.ts} +4 -11
- package/{progress-spinner/testing/index.d.ts → types/progress-spinner-testing.d.ts} +2 -2
- package/{progress-spinner/index.d.ts → types/progress-spinner.d.ts} +5 -6
- package/{radio/index.d.ts → types/radio.d.ts} +6 -13
- package/{select-module.d.d.ts → types/select.d.ts} +19 -26
- package/{sidenav/index.d.ts → types/sidenav.d.ts} +4 -21
- package/{slide-toggle/index.d.ts → types/slide-toggle.d.ts} +3 -4
- package/{slider/index.d.ts → types/slider.d.ts} +5 -5
- package/{snack-bar/index.d.ts → types/snack-bar.d.ts} +9 -25
- package/{sort/testing/index.d.ts → types/sort-testing.d.ts} +1 -1
- package/{sort/index.d.ts → types/sort.d.ts} +8 -40
- package/{stepper/index.d.ts → types/stepper.d.ts} +11 -39
- package/{table/testing/index.d.ts → types/table-testing.d.ts} +27 -1
- package/{table/index.d.ts → types/table.d.ts} +11 -11
- package/{tabs/index.d.ts → types/tabs.d.ts} +6 -22
- package/{timepicker/testing/index.d.ts → types/timepicker-testing.d.ts} +1 -1
- package/{timepicker/index.d.ts → types/timepicker.d.ts} +151 -130
- package/{toolbar/index.d.ts → types/toolbar.d.ts} +2 -3
- package/{tooltip-module.d.d.ts → types/tooltip.d.ts} +7 -29
- package/{tree/index.d.ts → types/tree.d.ts} +2 -3
- package/badge/index.d.ts +0 -15
- package/button-toggle/index.d.ts +0 -17
- package/common-module.d.d.ts +0 -44
- package/fesm2022/animation.mjs.map +0 -1
- package/fesm2022/autocomplete/testing.mjs.map +0 -1
- package/fesm2022/badge/testing.mjs.map +0 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +0 -1
- package/fesm2022/button/testing.mjs.map +0 -1
- package/fesm2022/button-toggle/testing.mjs.map +0 -1
- package/fesm2022/card/testing.mjs.map +0 -1
- package/fesm2022/checkbox/testing.mjs.map +0 -1
- package/fesm2022/chips/testing.mjs.map +0 -1
- package/fesm2022/common-module.mjs +0 -42
- package/fesm2022/common-module.mjs.map +0 -1
- package/fesm2022/core/testing.mjs.map +0 -1
- package/fesm2022/date-formats.mjs.map +0 -1
- package/fesm2022/date-range-input-harness.mjs.map +0 -1
- package/fesm2022/datepicker/testing.mjs.map +0 -1
- package/fesm2022/dialog/testing.mjs.map +0 -1
- package/fesm2022/dialog-module.mjs +0 -891
- package/fesm2022/dialog-module.mjs.map +0 -1
- package/fesm2022/divider/testing.mjs.map +0 -1
- package/fesm2022/error-options.mjs.map +0 -1
- package/fesm2022/error-state.mjs.map +0 -1
- package/fesm2022/expansion/testing.mjs.map +0 -1
- package/fesm2022/form-field/testing/control.mjs.map +0 -1
- package/fesm2022/form-field/testing.mjs.map +0 -1
- package/fesm2022/form-field-module.mjs +0 -39
- package/fesm2022/form-field-module.mjs.map +0 -1
- package/fesm2022/form-field2.mjs +0 -1114
- package/fesm2022/form-field2.mjs.map +0 -1
- package/fesm2022/grid-list/testing.mjs.map +0 -1
- package/fesm2022/icon/testing.mjs.map +0 -1
- package/fesm2022/icon-button.mjs.map +0 -1
- package/fesm2022/icon-registry.mjs.map +0 -1
- package/fesm2022/input-harness.mjs.map +0 -1
- package/fesm2022/input-value-accessor.mjs.map +0 -1
- package/fesm2022/internal-form-field.mjs.map +0 -1
- package/fesm2022/line.mjs.map +0 -1
- package/fesm2022/list/testing.mjs.map +0 -1
- package/fesm2022/menu/testing.mjs.map +0 -1
- package/fesm2022/option-harness.mjs.map +0 -1
- package/fesm2022/option-module.mjs.map +0 -1
- package/fesm2022/option.mjs.map +0 -1
- package/fesm2022/paginator/testing.mjs.map +0 -1
- package/fesm2022/progress-bar/testing.mjs.map +0 -1
- package/fesm2022/progress-spinner/testing.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox-module.mjs.map +0 -1
- package/fesm2022/pseudo-checkbox.mjs.map +0 -1
- package/fesm2022/public-api.mjs.map +0 -1
- package/fesm2022/radio/testing.mjs.map +0 -1
- package/fesm2022/ripple-loader.mjs.map +0 -1
- package/fesm2022/ripple-module.mjs.map +0 -1
- package/fesm2022/ripple.mjs.map +0 -1
- package/fesm2022/select/testing.mjs.map +0 -1
- package/fesm2022/select-module.mjs +0 -1318
- package/fesm2022/select-module.mjs.map +0 -1
- package/fesm2022/sidenav/testing.mjs.map +0 -1
- package/fesm2022/slide-toggle/testing.mjs.map +0 -1
- package/fesm2022/slider/testing.mjs.map +0 -1
- package/fesm2022/snack-bar/testing.mjs.map +0 -1
- package/fesm2022/sort/testing.mjs.map +0 -1
- package/fesm2022/stepper/testing.mjs.map +0 -1
- package/fesm2022/structural-styles.mjs.map +0 -1
- package/fesm2022/table/testing.mjs.map +0 -1
- package/fesm2022/tabs/testing.mjs.map +0 -1
- package/fesm2022/timepicker/testing.mjs.map +0 -1
- package/fesm2022/toolbar/testing.mjs.map +0 -1
- package/fesm2022/tooltip/testing.mjs.map +0 -1
- package/fesm2022/tooltip-module.mjs +0 -24
- package/fesm2022/tooltip-module.mjs.map +0 -1
- package/fesm2022/tooltip2.mjs.map +0 -1
- package/fesm2022/tree/testing.mjs.map +0 -1
- package/icon/index.d.ts +0 -9
- package/option-module.d.d.ts +0 -13
- package/paginator/index.d.ts +0 -36
- package/select/index.d.ts +0 -38
- package/tooltip/index.d.ts +0 -21
- /package/{date-range-input-harness.d.d.ts → types/_date-range-input-harness-chunk.d.ts} +0 -0
- /package/{dialog.d.d.ts → types/_dialog-chunk.d.ts} +0 -0
- /package/{error-options.d.d.ts → types/_error-options-chunk.d.ts} +0 -0
- /package/{form-field-control.d.d.ts → types/_form-field-control-chunk.d.ts} +0 -0
- /package/{form-field-control-harness.d.d.ts → types/_form-field-control-harness-chunk.d.ts} +0 -0
- /package/{input-harness.d.d.ts → types/_input-harness-chunk.d.ts} +0 -0
- /package/{list-option-types.d.d.ts → types/_list-option-types-chunk.d.ts} +0 -0
- /package/{option.d.d.ts → types/_option-chunk.d.ts} +0 -0
- /package/{option-harness.d.d.ts → types/_option-harness-chunk.d.ts} +0 -0
- /package/{option-parent.d.d.ts → types/_option-parent-chunk.d.ts} +0 -0
- /package/{palette.d.d.ts → types/_palette-chunk.d.ts} +0 -0
- /package/{ripple-loader.d.d.ts → types/_ripple-loader-chunk.d.ts} +0 -0
- /package/{sort-direction.d.d.ts → types/_sort-direction-chunk.d.ts} +0 -0
- /package/{bottom-sheet/testing/index.d.ts → types/bottom-sheet-testing.d.ts} +0 -0
- /package/{card/testing/index.d.ts → types/card-testing.d.ts} +0 -0
- /package/{checkbox/testing/index.d.ts → types/checkbox-testing.d.ts} +0 -0
- /package/{chips/testing/index.d.ts → types/chips-testing.d.ts} +0 -0
- /package/{divider/testing/index.d.ts → types/divider-testing.d.ts} +0 -0
- /package/{expansion/testing/index.d.ts → types/expansion-testing.d.ts} +0 -0
- /package/{grid-list/testing/index.d.ts → types/grid-list-testing.d.ts} +0 -0
- /package/{index.d.ts → types/material.d.ts} +0 -0
- /package/{menu/testing/index.d.ts → types/menu-testing.d.ts} +0 -0
- /package/{progress-bar/testing/index.d.ts → types/progress-bar-testing.d.ts} +0 -0
- /package/{radio/testing/index.d.ts → types/radio-testing.d.ts} +0 -0
- /package/{select/testing/index.d.ts → types/select-testing.d.ts} +0 -0
- /package/{sidenav/testing/index.d.ts → types/sidenav-testing.d.ts} +0 -0
- /package/{slide-toggle/testing/index.d.ts → types/slide-toggle-testing.d.ts} +0 -0
- /package/{slider/testing/index.d.ts → types/slider-testing.d.ts} +0 -0
- /package/{snack-bar/testing/index.d.ts → types/snack-bar-testing.d.ts} +0 -0
- /package/{stepper/testing/index.d.ts → types/stepper-testing.d.ts} +0 -0
- /package/{tabs/testing/index.d.ts → types/tabs-testing.d.ts} +0 -0
- /package/{toolbar/testing/index.d.ts → types/toolbar-testing.d.ts} +0 -0
- /package/{tooltip/testing/index.d.ts → types/tooltip-testing.d.ts} +0 -0
- /package/{tree/testing/index.d.ts → types/tree-testing.d.ts} +0 -0
package/fesm2022/sort.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import { BidiModule } from '@angular/cdk/bidi';
|
|
1
2
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, EventEmitter, booleanAttribute, Directive, Optional, Inject, Input, Output, Injectable,
|
|
3
|
+
import { InjectionToken, EventEmitter, booleanAttribute, Directive, Optional, Inject, Input, Output, Injectable, inject, ChangeDetectorRef, ElementRef, signal, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
4
|
import { FocusMonitor, AriaDescriber } from '@angular/cdk/a11y';
|
|
4
5
|
import { SPACE, ENTER } from '@angular/cdk/keycodes';
|
|
5
6
|
import { ReplaySubject, Subject, merge } from 'rxjs';
|
|
6
7
|
import { _CdkPrivateStyleLoader } from '@angular/cdk/private';
|
|
7
|
-
import { _animationsDisabled } from './
|
|
8
|
-
import { _StructuralStylesLoader } from './
|
|
9
|
-
import { MatCommonModule } from './common-module.mjs';
|
|
8
|
+
import { _animationsDisabled } from './_animation-chunk.mjs';
|
|
9
|
+
import { _StructuralStylesLoader } from './_structural-styles-chunk.mjs';
|
|
10
10
|
import '@angular/cdk/layout';
|
|
11
|
-
import '@angular/cdk/bidi';
|
|
12
11
|
|
|
13
12
|
/** @docs-private */
|
|
14
13
|
function getSortDuplicateSortableIdError(id) {
|
|
@@ -195,25 +194,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
|
|
|
195
194
|
type: Injectable,
|
|
196
195
|
args: [{ providedIn: 'root' }]
|
|
197
196
|
}] });
|
|
198
|
-
/**
|
|
199
|
-
* @docs-private
|
|
200
|
-
* @deprecated No longer used, will be removed.
|
|
201
|
-
* @breaking-change 21.0.0
|
|
202
|
-
*/
|
|
203
|
-
function MAT_SORT_HEADER_INTL_PROVIDER_FACTORY(parentIntl) {
|
|
204
|
-
return parentIntl || new MatSortHeaderIntl();
|
|
205
|
-
}
|
|
206
|
-
/**
|
|
207
|
-
* @docs-private
|
|
208
|
-
* @deprecated No longer used, will be removed.
|
|
209
|
-
* @breaking-change 21.0.0
|
|
210
|
-
*/
|
|
211
|
-
const MAT_SORT_HEADER_INTL_PROVIDER = {
|
|
212
|
-
// If there is already an MatSortHeaderIntl available, use that. Otherwise, provide a new one.
|
|
213
|
-
provide: MatSortHeaderIntl,
|
|
214
|
-
deps: [[new Optional(), new SkipSelf(), MatSortHeaderIntl]],
|
|
215
|
-
useFactory: MAT_SORT_HEADER_INTL_PROVIDER_FACTORY,
|
|
216
|
-
};
|
|
217
197
|
|
|
218
198
|
/**
|
|
219
199
|
* Applies sorting behavior (click to change sort) and styles to an element, including an
|
|
@@ -369,7 +349,7 @@ class MatSortHeader {
|
|
|
369
349
|
this._sortActionDescription = newDescription;
|
|
370
350
|
}
|
|
371
351
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
372
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.2", type: MatSortHeader, isStandalone: true, selector: "[mat-sort-header]", inputs: { id: ["mat-sort-header", "id"], arrowPosition: "arrowPosition", start: "start", disabled: ["disabled", "disabled", booleanAttribute], sortActionDescription: "sortActionDescription", disableClear: ["disableClear", "disableClear", booleanAttribute] }, host: { listeners: { "click": "_toggleOnInteraction()", "keydown": "_handleKeydown($event)", "mouseleave": "_recentlyCleared.set(null)" }, properties: { "attr.aria-sort": "_getAriaSortAttribute()", "class.mat-sort-header-disabled": "_isDisabled()" }, classAttribute: "mat-sort-header" }, exportAs: ["matSortHeader"], ngImport: i0, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"
|
|
352
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.2.0-next.2", type: MatSortHeader, isStandalone: true, selector: "[mat-sort-header]", inputs: { id: ["mat-sort-header", "id"], arrowPosition: "arrowPosition", start: "start", disabled: ["disabled", "disabled", booleanAttribute], sortActionDescription: "sortActionDescription", disableClear: ["disableClear", "disableClear", booleanAttribute] }, host: { listeners: { "click": "_toggleOnInteraction()", "keydown": "_handleKeydown($event)", "mouseleave": "_recentlyCleared.set(null)" }, properties: { "attr.aria-sort": "_getAriaSortAttribute()", "class.mat-sort-header-disabled": "_isDisabled()" }, classAttribute: "mat-sort-header" }, exportAs: ["matSortHeader"], ngImport: i0, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"_sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"_sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <ng-content select=\"[matSortHeaderIcon]\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </ng-content>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow>svg,.mat-sort-header-arrow [matSortHeaderIcon]{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
373
353
|
}
|
|
374
354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortHeader, decorators: [{
|
|
375
355
|
type: Component,
|
|
@@ -380,7 +360,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
|
|
|
380
360
|
'(mouseleave)': '_recentlyCleared.set(null)',
|
|
381
361
|
'[attr.aria-sort]': '_getAriaSortAttribute()',
|
|
382
362
|
'[class.mat-sort-header-disabled]': '_isDisabled()',
|
|
383
|
-
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"
|
|
363
|
+
}, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<!--\n We set the `tabindex` on an element inside the table header, rather than the header itself,\n because of a bug in NVDA where having a `tabindex` on a `th` breaks keyboard navigation in the\n table (see https://github.com/nvaccess/nvda/issues/7718). This allows for the header to both\n be focusable, and have screen readers read out its `aria-sort` state. We prefer this approach\n over having a button with an `aria-label` inside the header, because the button's `aria-label`\n will be read out as the user is navigating the table's cell (see #13012).\n\n The approach is based off of: https://dequeuniversity.com/library/aria/tables/sf-sortable-grid\n-->\n<div class=\"mat-sort-header-container mat-focus-indicator\"\n [class.mat-sort-header-sorted]=\"_isSorted()\"\n [class.mat-sort-header-position-before]=\"arrowPosition === 'before'\"\n [class.mat-sort-header-descending]=\"_sort.direction === 'desc'\"\n [class.mat-sort-header-ascending]=\"_sort.direction === 'asc'\"\n [class.mat-sort-header-recently-cleared-ascending]=\"_recentlyCleared() === 'asc'\"\n [class.mat-sort-header-recently-cleared-descending]=\"_recentlyCleared() === 'desc'\"\n [class.mat-sort-header-animations-disabled]=\"_animationsDisabled\"\n [attr.tabindex]=\"_isDisabled() ? null : 0\"\n [attr.role]=\"_isDisabled() ? null : 'button'\">\n\n <!--\n TODO(crisbeto): this div isn't strictly necessary, but we have to keep it due to a large\n number of screenshot diff failures. It should be removed eventually. Note that the difference\n isn't visible with a shorter header, but once it breaks up into multiple lines, this element\n causes it to be center-aligned, whereas removing it will keep the text to the left.\n -->\n <div class=\"mat-sort-header-content\">\n <ng-content></ng-content>\n </div>\n\n <!-- Disable animations while a current animation is running -->\n @if (_renderArrow()) {\n <div class=\"mat-sort-header-arrow\">\n <ng-content select=\"[matSortHeaderIcon]\">\n <svg viewBox=\"0 -960 960 960\" focusable=\"false\" aria-hidden=\"true\">\n <path d=\"M440-240v-368L296-464l-56-56 240-240 240 240-56 56-144-144v368h-80Z\"/>\n </svg>\n </ng-content>\n </div>\n }\n</div>\n", styles: [".mat-sort-header{cursor:pointer}.mat-sort-header-disabled{cursor:default}.mat-sort-header-container{display:flex;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-sort-header-content{display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}@keyframes _mat-sort-header-recently-cleared-ascending{from{transform:translateY(0);opacity:1}to{transform:translateY(-25%);opacity:0}}@keyframes _mat-sort-header-recently-cleared-descending{from{transform:translateY(0) rotate(180deg);opacity:1}to{transform:translateY(25%) rotate(180deg);opacity:0}}.mat-sort-header-arrow{height:12px;width:12px;position:relative;transition:transform 225ms cubic-bezier(0.4, 0, 0.2, 1),opacity 225ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;overflow:visible;color:var(--mat-sort-arrow-color, var(--mat-sys-on-surface))}.mat-sort-header.cdk-keyboard-focused .mat-sort-header-arrow,.mat-sort-header.cdk-program-focused .mat-sort-header-arrow,.mat-sort-header:hover .mat-sort-header-arrow{opacity:.54}.mat-sort-header .mat-sort-header-sorted .mat-sort-header-arrow{opacity:1}.mat-sort-header-descending .mat-sort-header-arrow{transform:rotate(180deg)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transform:translateY(-25%)}.mat-sort-header-recently-cleared-ascending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-ascending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-recently-cleared-descending .mat-sort-header-arrow{transition:none;animation:_mat-sort-header-recently-cleared-descending 225ms cubic-bezier(0.4, 0, 0.2, 1) forwards}.mat-sort-header-animations-disabled .mat-sort-header-arrow{transition-duration:0ms;animation-duration:0ms}.mat-sort-header-arrow>svg,.mat-sort-header-arrow [matSortHeaderIcon]{width:24px;height:24px;fill:currentColor;position:absolute;top:50%;left:50%;margin:-12px 0 0 -12px;transform:translateZ(0)}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}\n"] }]
|
|
384
364
|
}], ctorParameters: () => [], propDecorators: { id: [{
|
|
385
365
|
type: Input,
|
|
386
366
|
args: ['mat-sort-header']
|
|
@@ -400,323 +380,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2",
|
|
|
400
380
|
|
|
401
381
|
class MatSortModule {
|
|
402
382
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
403
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [
|
|
404
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule,
|
|
383
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [MatSort, MatSortHeader], exports: [MatSort, MatSortHeader, BidiModule] });
|
|
384
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, imports: [BidiModule] });
|
|
405
385
|
}
|
|
406
386
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0-next.2", ngImport: i0, type: MatSortModule, decorators: [{
|
|
407
387
|
type: NgModule,
|
|
408
388
|
args: [{
|
|
409
|
-
imports: [
|
|
410
|
-
exports: [MatSort, MatSortHeader],
|
|
411
|
-
providers: [MAT_SORT_HEADER_INTL_PROVIDER],
|
|
389
|
+
imports: [MatSort, MatSortHeader],
|
|
390
|
+
exports: [MatSort, MatSortHeader, BidiModule],
|
|
412
391
|
}]
|
|
413
392
|
}] });
|
|
414
393
|
|
|
415
|
-
|
|
416
|
-
* Animations used by MatSort.
|
|
417
|
-
* @docs-private
|
|
418
|
-
* @deprecated No longer being used, to be removed.
|
|
419
|
-
* @breaking-change 21.0.0
|
|
420
|
-
*/
|
|
421
|
-
const matSortAnimations = {
|
|
422
|
-
// Represents:
|
|
423
|
-
// trigger('indicator', [
|
|
424
|
-
// state('active-asc, asc', style({transform: 'translateY(0px)'})),
|
|
425
|
-
// // 10px is the height of the sort indicator, minus the width of the pointers
|
|
426
|
-
// state('active-desc, desc', style({transform: 'translateY(10px)'})),
|
|
427
|
-
// transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
|
|
428
|
-
// ])
|
|
429
|
-
/** Animation that moves the sort indicator. */
|
|
430
|
-
indicator: {
|
|
431
|
-
type: 7,
|
|
432
|
-
name: 'indicator',
|
|
433
|
-
definitions: [
|
|
434
|
-
{
|
|
435
|
-
type: 0,
|
|
436
|
-
name: 'active-asc, asc',
|
|
437
|
-
styles: { type: 6, styles: { transform: 'translateY(0px)' }, offset: null },
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
type: 0,
|
|
441
|
-
name: 'active-desc, desc',
|
|
442
|
-
styles: { type: 6, styles: { transform: 'translateY(10px)' }, offset: null },
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
type: 1,
|
|
446
|
-
expr: 'active-asc <=> active-desc',
|
|
447
|
-
animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
|
|
448
|
-
options: null,
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
options: {},
|
|
452
|
-
},
|
|
453
|
-
// Represents:
|
|
454
|
-
// trigger('leftPointer', [
|
|
455
|
-
// state('active-asc, asc', style({transform: 'rotate(-45deg)'})),
|
|
456
|
-
// state('active-desc, desc', style({transform: 'rotate(45deg)'})),
|
|
457
|
-
// transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
|
|
458
|
-
// ])
|
|
459
|
-
/** Animation that rotates the left pointer of the indicator based on the sorting direction. */
|
|
460
|
-
leftPointer: {
|
|
461
|
-
type: 7,
|
|
462
|
-
name: 'leftPointer',
|
|
463
|
-
definitions: [
|
|
464
|
-
{
|
|
465
|
-
type: 0,
|
|
466
|
-
name: 'active-asc, asc',
|
|
467
|
-
styles: { type: 6, styles: { transform: 'rotate(-45deg)' }, offset: null },
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
type: 0,
|
|
471
|
-
name: 'active-desc, desc',
|
|
472
|
-
styles: { type: 6, styles: { transform: 'rotate(45deg)' }, offset: null },
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
type: 1,
|
|
476
|
-
expr: 'active-asc <=> active-desc',
|
|
477
|
-
animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
|
|
478
|
-
options: null,
|
|
479
|
-
},
|
|
480
|
-
],
|
|
481
|
-
options: {},
|
|
482
|
-
},
|
|
483
|
-
// Represents:
|
|
484
|
-
// trigger('rightPointer', [
|
|
485
|
-
// state('active-asc, asc', style({transform: 'rotate(45deg)'})),
|
|
486
|
-
// state('active-desc, desc', style({transform: 'rotate(-45deg)'})),
|
|
487
|
-
// transition('active-asc <=> active-desc', animate(SORT_ANIMATION_TRANSITION)),
|
|
488
|
-
// ])
|
|
489
|
-
/** Animation that rotates the right pointer of the indicator based on the sorting direction. */
|
|
490
|
-
rightPointer: {
|
|
491
|
-
type: 7,
|
|
492
|
-
name: 'rightPointer',
|
|
493
|
-
definitions: [
|
|
494
|
-
{
|
|
495
|
-
type: 0,
|
|
496
|
-
name: 'active-asc, asc',
|
|
497
|
-
styles: { type: 6, styles: { transform: 'rotate(45deg)' }, offset: null },
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
type: 0,
|
|
501
|
-
name: 'active-desc, desc',
|
|
502
|
-
styles: { type: 6, styles: { transform: 'rotate(-45deg)' }, offset: null },
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
type: 1,
|
|
506
|
-
expr: 'active-asc <=> active-desc',
|
|
507
|
-
animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
|
|
508
|
-
options: null,
|
|
509
|
-
},
|
|
510
|
-
],
|
|
511
|
-
options: {},
|
|
512
|
-
},
|
|
513
|
-
// Represents:
|
|
514
|
-
// trigger('arrowOpacity', [
|
|
515
|
-
// state('desc-to-active, asc-to-active, active', style({opacity: 1})),
|
|
516
|
-
// state('desc-to-hint, asc-to-hint, hint', style({opacity: 0.54})),
|
|
517
|
-
// state(
|
|
518
|
-
// 'hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void',
|
|
519
|
-
// style({opacity: 0}),
|
|
520
|
-
// ),
|
|
521
|
-
// // Transition between all states except for immediate transitions
|
|
522
|
-
// transition('* => asc, * => desc, * => active, * => hint, * => void', animate('0ms')),
|
|
523
|
-
// transition('* <=> *', animate(SORT_ANIMATION_TRANSITION)),
|
|
524
|
-
// ])
|
|
525
|
-
/** Animation that controls the arrow opacity. */
|
|
526
|
-
arrowOpacity: {
|
|
527
|
-
type: 7,
|
|
528
|
-
name: 'arrowOpacity',
|
|
529
|
-
definitions: [
|
|
530
|
-
{
|
|
531
|
-
type: 0,
|
|
532
|
-
name: 'desc-to-active, asc-to-active, active',
|
|
533
|
-
styles: { type: 6, styles: { 'opacity': 1 }, offset: null },
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
type: 0,
|
|
537
|
-
name: 'desc-to-hint, asc-to-hint, hint',
|
|
538
|
-
styles: { type: 6, styles: { 'opacity': 0.54 }, offset: null },
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
type: 0,
|
|
542
|
-
name: 'hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void',
|
|
543
|
-
styles: { type: 6, styles: { 'opacity': 0 }, offset: null },
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
type: 1,
|
|
547
|
-
expr: '* => asc, * => desc, * => active, * => hint, * => void',
|
|
548
|
-
animation: { type: 4, styles: null, timings: '0ms' },
|
|
549
|
-
options: null,
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
type: 1,
|
|
553
|
-
expr: '* <=> *',
|
|
554
|
-
animation: { type: 4, styles: null, timings: '225ms cubic-bezier(0.4,0.0,0.2,1)' },
|
|
555
|
-
options: null,
|
|
556
|
-
},
|
|
557
|
-
],
|
|
558
|
-
options: {},
|
|
559
|
-
},
|
|
560
|
-
// Represents:
|
|
561
|
-
// trigger('arrowPosition', [
|
|
562
|
-
// // Hidden Above => Hint Center
|
|
563
|
-
// transition(
|
|
564
|
-
// '* => desc-to-hint, * => desc-to-active',
|
|
565
|
-
// animate(
|
|
566
|
-
// SORT_ANIMATION_TRANSITION,
|
|
567
|
-
// keyframes([style({transform: 'translateY(-25%)'}), style({transform: 'translateY(0)'})]),
|
|
568
|
-
// ),
|
|
569
|
-
// ),
|
|
570
|
-
// // Hint Center => Hidden Below
|
|
571
|
-
// transition(
|
|
572
|
-
// '* => hint-to-desc, * => active-to-desc',
|
|
573
|
-
// animate(
|
|
574
|
-
// SORT_ANIMATION_TRANSITION,
|
|
575
|
-
// keyframes([style({transform: 'translateY(0)'}), style({transform: 'translateY(25%)'})]),
|
|
576
|
-
// ),
|
|
577
|
-
// ),
|
|
578
|
-
// // Hidden Below => Hint Center
|
|
579
|
-
// transition(
|
|
580
|
-
// '* => asc-to-hint, * => asc-to-active',
|
|
581
|
-
// animate(
|
|
582
|
-
// SORT_ANIMATION_TRANSITION,
|
|
583
|
-
// keyframes([style({transform: 'translateY(25%)'}), style({transform: 'translateY(0)'})]),
|
|
584
|
-
// ),
|
|
585
|
-
// ),
|
|
586
|
-
// // Hint Center => Hidden Above
|
|
587
|
-
// transition(
|
|
588
|
-
// '* => hint-to-asc, * => active-to-asc',
|
|
589
|
-
// animate(
|
|
590
|
-
// SORT_ANIMATION_TRANSITION,
|
|
591
|
-
// keyframes([style({transform: 'translateY(0)'}), style({transform: 'translateY(-25%)'})]),
|
|
592
|
-
// ),
|
|
593
|
-
// ),
|
|
594
|
-
// state(
|
|
595
|
-
// 'desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active',
|
|
596
|
-
// style({transform: 'translateY(0)'}),
|
|
597
|
-
// ),
|
|
598
|
-
// state('hint-to-desc, active-to-desc, desc', style({transform: 'translateY(-25%)'})),
|
|
599
|
-
// state('hint-to-asc, active-to-asc, asc', style({transform: 'translateY(25%)'})),
|
|
600
|
-
// ])
|
|
601
|
-
/**
|
|
602
|
-
* Animation for the translation of the arrow as a whole. States are separated into two
|
|
603
|
-
* groups: ones with animations and others that are immediate. Immediate states are asc, desc,
|
|
604
|
-
* peek, and active. The other states define a specific animation (source-to-destination)
|
|
605
|
-
* and are determined as a function of their prev user-perceived state and what the next state
|
|
606
|
-
* should be.
|
|
607
|
-
*/
|
|
608
|
-
arrowPosition: {
|
|
609
|
-
type: 7,
|
|
610
|
-
name: 'arrowPosition',
|
|
611
|
-
definitions: [
|
|
612
|
-
{
|
|
613
|
-
type: 1,
|
|
614
|
-
expr: '* => desc-to-hint, * => desc-to-active',
|
|
615
|
-
animation: {
|
|
616
|
-
type: 4,
|
|
617
|
-
styles: {
|
|
618
|
-
type: 5,
|
|
619
|
-
'steps': [
|
|
620
|
-
{ type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
|
|
621
|
-
{ type: 6, styles: { transform: 'translateY(0)' }, offset: null },
|
|
622
|
-
],
|
|
623
|
-
},
|
|
624
|
-
timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
|
|
625
|
-
},
|
|
626
|
-
options: null,
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
type: 1,
|
|
630
|
-
expr: '* => hint-to-desc, * => active-to-desc',
|
|
631
|
-
animation: {
|
|
632
|
-
type: 4,
|
|
633
|
-
styles: {
|
|
634
|
-
type: 5,
|
|
635
|
-
'steps': [
|
|
636
|
-
{ type: 6, styles: { transform: 'translateY(0)' }, offset: null },
|
|
637
|
-
{ type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
|
|
638
|
-
],
|
|
639
|
-
},
|
|
640
|
-
timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
|
|
641
|
-
},
|
|
642
|
-
options: null,
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
type: 1,
|
|
646
|
-
expr: '* => asc-to-hint, * => asc-to-active',
|
|
647
|
-
animation: {
|
|
648
|
-
type: 4,
|
|
649
|
-
styles: {
|
|
650
|
-
type: 5,
|
|
651
|
-
'steps': [
|
|
652
|
-
{ type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
|
|
653
|
-
{ type: 6, styles: { transform: 'translateY(0)' }, offset: null },
|
|
654
|
-
],
|
|
655
|
-
},
|
|
656
|
-
timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
|
|
657
|
-
},
|
|
658
|
-
options: null,
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
type: 1,
|
|
662
|
-
expr: '* => hint-to-asc, * => active-to-asc',
|
|
663
|
-
animation: {
|
|
664
|
-
type: 4,
|
|
665
|
-
styles: {
|
|
666
|
-
type: 5,
|
|
667
|
-
'steps': [
|
|
668
|
-
{ type: 6, styles: { transform: 'translateY(0)' }, offset: null },
|
|
669
|
-
{ type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
|
|
670
|
-
],
|
|
671
|
-
},
|
|
672
|
-
timings: '225ms cubic-bezier(0.4,0.0,0.2,1)',
|
|
673
|
-
},
|
|
674
|
-
options: null,
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
type: 0,
|
|
678
|
-
name: 'desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active',
|
|
679
|
-
styles: { type: 6, styles: { transform: 'translateY(0)' }, offset: null },
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
type: 0,
|
|
683
|
-
name: 'hint-to-desc, active-to-desc, desc',
|
|
684
|
-
styles: { type: 6, styles: { transform: 'translateY(-25%)' }, offset: null },
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
type: 0,
|
|
688
|
-
name: 'hint-to-asc, active-to-asc, asc',
|
|
689
|
-
styles: { type: 6, styles: { transform: 'translateY(25%)' }, offset: null },
|
|
690
|
-
},
|
|
691
|
-
],
|
|
692
|
-
options: {},
|
|
693
|
-
},
|
|
694
|
-
// Represents:
|
|
695
|
-
// trigger('allowChildren', [
|
|
696
|
-
// transition('* <=> *', [query('@*', animateChild(), {optional: true})]),
|
|
697
|
-
// ])
|
|
698
|
-
/** Necessary trigger that calls animate on children animations. */
|
|
699
|
-
allowChildren: {
|
|
700
|
-
type: 7,
|
|
701
|
-
name: 'allowChildren',
|
|
702
|
-
definitions: [
|
|
703
|
-
{
|
|
704
|
-
type: 1,
|
|
705
|
-
expr: '* <=> *',
|
|
706
|
-
animation: [
|
|
707
|
-
{
|
|
708
|
-
type: 11,
|
|
709
|
-
selector: '@*',
|
|
710
|
-
animation: { type: 9, options: null },
|
|
711
|
-
options: { optional: true },
|
|
712
|
-
},
|
|
713
|
-
],
|
|
714
|
-
options: null,
|
|
715
|
-
},
|
|
716
|
-
],
|
|
717
|
-
options: {},
|
|
718
|
-
},
|
|
719
|
-
};
|
|
720
|
-
|
|
721
|
-
export { MAT_SORT_DEFAULT_OPTIONS, MAT_SORT_HEADER_INTL_PROVIDER, MAT_SORT_HEADER_INTL_PROVIDER_FACTORY, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule, matSortAnimations };
|
|
394
|
+
export { MAT_SORT_DEFAULT_OPTIONS, MatSort, MatSortHeader, MatSortHeaderIntl, MatSortModule };
|
|
722
395
|
//# sourceMappingURL=sort.mjs.map
|