@angular/material 19.0.0-next.1 → 19.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/_index.scss +6 -6
- package/autocomplete/_autocomplete-theme.scss +37 -24
- package/autocomplete/index.d.ts +5 -15
- package/badge/_badge-theme.scss +38 -24
- package/badge/index.d.ts +3 -7
- package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
- package/bottom-sheet/index.d.ts +5 -15
- package/button/_button-base.scss +2 -2
- package/button/_button-theme.scss +229 -105
- package/button/_fab-theme.scss +95 -44
- package/button/_icon-button-theme.scss +38 -25
- package/button/index.d.ts +24 -36
- package/button-toggle/_button-toggle-theme.scss +62 -37
- package/button-toggle/index.d.ts +5 -8
- package/card/_card-theme.scss +79 -38
- package/card/index.d.ts +2 -2
- package/checkbox/_checkbox-common.scss +4 -4
- package/checkbox/_checkbox-theme.scss +16 -10
- package/checkbox/index.d.ts +16 -14
- package/chips/_chips-theme.scss +64 -30
- package/chips/index.d.ts +19 -35
- package/core/_core-theme.scss +59 -55
- package/core/_core.scss +17 -14
- package/core/focus-indicators/_private.scss +21 -82
- package/core/index.d.ts +116 -200
- package/core/option/_optgroup-theme.scss +29 -18
- package/core/option/_option-theme.scss +34 -21
- package/core/ripple/_ripple-theme.scss +33 -21
- package/core/ripple/_ripple.scss +1 -1
- package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +49 -23
- package/core/style/_elevation.scss +1 -1
- package/core/style/_menu-common.scss +1 -1
- package/core/style/_sass-utils.scss +4 -0
- package/core/theming/_all-theme.scss +3 -0
- package/core/theming/_config-validation.scss +4 -4
- package/core/theming/_definition.scss +12 -2
- package/core/theming/_palettes.scss +132 -45
- package/core/tokens/_density.scss +1 -0
- package/core/tokens/_m3-system.scss +162 -36
- package/core/tokens/_token-utils.scss +91 -34
- package/core/tokens/m2/_index.scss +2 -0
- package/core/tokens/m2/mat/_badge.scss +12 -3
- package/core/tokens/m2/mat/_timepicker.scss +44 -0
- package/core/tokens/m2/mdc/_radio.scss +1 -1
- package/core/tokens/m3/_index.scss +2 -0
- package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
- package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
- package/core/tokens/m3/mat/_badge.scss +3 -0
- package/core/tokens/m3/mat/_sidenav.scss +0 -1
- package/core/tokens/m3/mat/_timepicker.scss +22 -0
- package/core/typography/_all-typography.scss +2 -0
- package/datepicker/_datepicker-theme.scss +53 -32
- package/datepicker/index.d.ts +45 -71
- package/dialog/_dialog-theme.scss +46 -23
- package/dialog/index.d.ts +16 -37
- package/dialog/testing/index.d.ts +1 -1
- package/divider/_divider-theme.scss +28 -17
- package/expansion/_expansion-theme.scss +36 -24
- package/expansion/index.d.ts +9 -13
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +43 -75
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +24 -31
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +26 -41
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +30 -45
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +79 -157
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +53 -68
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +41 -44
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +131 -184
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +370 -411
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +208 -349
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +3 -4
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +50 -113
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +8 -8
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +60 -98
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field/testing/control.mjs.map +1 -1
- package/fesm2022/form-field/testing.mjs.map +1 -1
- package/fesm2022/form-field.mjs +91 -102
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +39 -49
- package/fesm2022/grid-list.mjs.map +1 -1
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon/testing.mjs.map +1 -1
- package/fesm2022/icon.mjs +22 -31
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input.mjs +58 -59
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +112 -158
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/material.mjs.map +1 -1
- package/fesm2022/menu/testing.mjs.map +1 -1
- package/fesm2022/menu.mjs +69 -118
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs +2 -2
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -11
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +19 -26
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +15 -21
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +33 -45
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +36 -69
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +72 -94
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +31 -38
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +66 -74
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +52 -68
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +34 -52
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +63 -77
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +59 -75
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +140 -199
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs +196 -0
- package/fesm2022/timepicker/testing.mjs.map +1 -0
- package/fesm2022/timepicker.mjs +842 -0
- package/fesm2022/timepicker.mjs.map +1 -0
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +18 -23
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +69 -75
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +36 -69
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/_form-field-high-contrast.scss +4 -4
- package/form-field/_form-field-theme.scss +114 -61
- package/form-field/_mdc-text-field-structure.scss +51 -49
- package/form-field/index.d.ts +13 -25
- package/grid-list/_grid-list-theme.scss +25 -15
- package/grid-list/index.d.ts +6 -8
- package/icon/_icon-theme.scss +22 -14
- package/icon/index.d.ts +3 -3
- package/input/_input-theme.scss +18 -11
- package/input/index.d.ts +6 -8
- package/list/_list-inherited-structure.scss +1 -13
- package/list/_list-item-hcm-indicator.scss +1 -1
- package/list/_list-theme.scss +89 -47
- package/list/index.d.ts +10 -14
- package/menu/_menu-theme.scss +33 -21
- package/menu/index.d.ts +15 -50
- package/package.json +10 -146
- package/paginator/_paginator-theme.scss +39 -23
- package/prebuilt-themes/azure-blue.css +1 -1
- package/prebuilt-themes/cyan-orange.css +1 -1
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/magenta-violet.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/prebuilt-themes/rose-red.css +1 -1
- package/progress-bar/_progress-bar-theme.scss +20 -16
- package/progress-bar/index.d.ts +3 -5
- package/progress-spinner/_progress-spinner-theme.scss +41 -25
- package/progress-spinner/index.d.ts +2 -2
- package/radio/_radio-theme.scss +60 -32
- package/radio/index.d.ts +5 -8
- package/schematics/collection.json +3 -3
- package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
- package/schematics/ng-add/fonts/material-fonts.js +2 -2
- package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
- package/schematics/ng-add/index.d.ts +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.d.ts +1 -1
- package/schematics/ng-add/package-config.js +2 -2
- package/schematics/ng-add/package-config.mjs +2 -2
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.js +2 -2
- package/schematics/ng-add/schema.mjs +2 -2
- package/schematics/ng-add/setup-project.d.ts +1 -1
- package/schematics/ng-add/setup-project.js +3 -3
- package/schematics/ng-add/setup-project.mjs +3 -3
- package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
- package/schematics/ng-add/theming/create-custom-theme.js +2 -7
- package/schematics/ng-add/theming/create-custom-theme.mjs +2 -7
- package/schematics/ng-add/theming/theming.d.ts +1 -1
- package/schematics/ng-add/theming/theming.js +2 -2
- package/schematics/ng-add/theming/theming.mjs +2 -2
- package/schematics/ng-generate/address-form/index.d.ts +1 -1
- package/schematics/ng-generate/address-form/index.js +2 -2
- package/schematics/ng-generate/address-form/index.mjs +2 -2
- package/schematics/ng-generate/address-form/schema.d.ts +1 -1
- package/schematics/ng-generate/address-form/schema.js +2 -2
- package/schematics/ng-generate/address-form/schema.mjs +2 -2
- package/schematics/ng-generate/dashboard/index.d.ts +1 -1
- package/schematics/ng-generate/dashboard/index.js +2 -2
- package/schematics/ng-generate/dashboard/index.mjs +2 -2
- package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
- package/schematics/ng-generate/dashboard/schema.js +2 -2
- package/schematics/ng-generate/dashboard/schema.mjs +2 -2
- package/schematics/ng-generate/navigation/index.d.ts +1 -1
- package/schematics/ng-generate/navigation/index.js +2 -2
- package/schematics/ng-generate/navigation/index.mjs +2 -2
- package/schematics/ng-generate/navigation/schema.d.ts +1 -1
- package/schematics/ng-generate/navigation/schema.js +2 -2
- package/schematics/ng-generate/navigation/schema.mjs +2 -2
- package/schematics/ng-generate/table/index.d.ts +1 -1
- package/schematics/ng-generate/table/index.js +2 -2
- package/schematics/ng-generate/table/index.mjs +2 -2
- package/schematics/ng-generate/table/schema.d.ts +1 -1
- package/schematics/ng-generate/table/schema.js +2 -2
- package/schematics/ng-generate/table/schema.mjs +2 -2
- package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +481 -289
- package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
- package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
- package/schematics/ng-generate/tree/index.d.ts +1 -1
- package/schematics/ng-generate/tree/index.js +2 -2
- package/schematics/ng-generate/tree/index.mjs +2 -2
- package/schematics/ng-generate/tree/schema.d.ts +1 -1
- package/schematics/ng-generate/tree/schema.js +2 -2
- package/schematics/ng-generate/tree/schema.mjs +2 -2
- package/schematics/ng-update/index_bundled.js +6518 -2
- package/schematics/ng-update/index_bundled.js.map +4 -4
- package/select/_select-theme.scss +38 -25
- package/select/index.d.ts +4 -14
- package/sidenav/_sidenav-theme.scss +28 -17
- package/sidenav/index.d.ts +7 -17
- package/slide-toggle/_slide-toggle-theme.scss +52 -28
- package/slide-toggle/index.d.ts +2 -2
- package/slider/_slider-theme.scss +62 -38
- package/slider/index.d.ts +8 -8
- package/snack-bar/_snack-bar-theme.scss +29 -17
- package/snack-bar/index.d.ts +6 -22
- package/sort/_sort-theme.scss +33 -21
- package/sort/index.d.ts +4 -20
- package/stepper/_stepper-theme.scss +40 -27
- package/stepper/index.d.ts +6 -13
- package/table/_table-theme.scss +36 -23
- package/tabs/_tabs-common.scss +2 -2
- package/tabs/_tabs-theme.scss +97 -50
- package/tabs/index.d.ts +28 -35
- package/timepicker/_timepicker-theme.scss +124 -0
- package/timepicker/index.d.ts +297 -0
- package/timepicker/testing/index.d.ts +113 -0
- package/toolbar/_toolbar-theme.scss +35 -22
- package/toolbar/index.d.ts +3 -4
- package/tooltip/_tooltip-theme.scss +18 -15
- package/tooltip/index.d.ts +5 -12
- package/tree/_tree-theme.scss +33 -21
- package/tree/index.d.ts +5 -18
- package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
- package/core/focus-indicators/_focus-indicators.scss +0 -6
- package/esm2022/autocomplete/animations.mjs +0 -24
- package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
- package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
- package/esm2022/autocomplete/autocomplete.mjs +0 -238
- package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
- package/esm2022/autocomplete/index.mjs +0 -9
- package/esm2022/autocomplete/module.mjs +0 -61
- package/esm2022/autocomplete/public-api.mjs +0 -14
- package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
- package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
- package/esm2022/autocomplete/testing/index.mjs +0 -9
- package/esm2022/autocomplete/testing/public-api.mjs +0 -10
- package/esm2022/badge/badge-module.mjs +0 -27
- package/esm2022/badge/badge.mjs +0 -288
- package/esm2022/badge/badge_public_index.mjs +0 -5
- package/esm2022/badge/index.mjs +0 -9
- package/esm2022/badge/public-api.mjs +0 -10
- package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
- package/esm2022/badge/testing/badge-harness.mjs +0 -71
- package/esm2022/badge/testing/index.mjs +0 -9
- package/esm2022/badge/testing/public-api.mjs +0 -10
- package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
- package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
- package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
- package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
- package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
- package/esm2022/bottom-sheet/index.mjs +0 -9
- package/esm2022/bottom-sheet/public-api.mjs +0 -14
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
- package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
- package/esm2022/bottom-sheet/testing/index.mjs +0 -9
- package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
- package/esm2022/button/button-base.mjs +0 -230
- package/esm2022/button/button.mjs +0 -67
- package/esm2022/button/button_public_index.mjs +0 -5
- package/esm2022/button/fab.mjs +0 -166
- package/esm2022/button/icon-button.mjs +0 -56
- package/esm2022/button/index.mjs +0 -9
- package/esm2022/button/module.mjs +0 -65
- package/esm2022/button/public-api.mjs +0 -13
- package/esm2022/button/testing/button-harness-filters.mjs +0 -9
- package/esm2022/button/testing/button-harness.mjs +0 -80
- package/esm2022/button/testing/index.mjs +0 -9
- package/esm2022/button/testing/public-api.mjs +0 -10
- package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
- package/esm2022/button-toggle/button-toggle.mjs +0 -651
- package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
- package/esm2022/button-toggle/index.mjs +0 -9
- package/esm2022/button-toggle/public-api.mjs +0 -10
- package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
- package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
- package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
- package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
- package/esm2022/button-toggle/testing/index.mjs +0 -9
- package/esm2022/button-toggle/testing/public-api.mjs +0 -12
- package/esm2022/card/card.mjs +0 -273
- package/esm2022/card/card_public_index.mjs +0 -5
- package/esm2022/card/index.mjs +0 -9
- package/esm2022/card/module.mjs +0 -67
- package/esm2022/card/public-api.mjs +0 -10
- package/esm2022/card/testing/card-harness-filters.mjs +0 -9
- package/esm2022/card/testing/card-harness.mjs +0 -50
- package/esm2022/card/testing/index.mjs +0 -9
- package/esm2022/card/testing/public-api.mjs +0 -10
- package/esm2022/checkbox/checkbox-config.mjs +0 -22
- package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
- package/esm2022/checkbox/checkbox.mjs +0 -443
- package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
- package/esm2022/checkbox/index.mjs +0 -9
- package/esm2022/checkbox/module.mjs +0 -41
- package/esm2022/checkbox/public-api.mjs +0 -12
- package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
- package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
- package/esm2022/checkbox/testing/index.mjs +0 -9
- package/esm2022/checkbox/testing/public-api.mjs +0 -9
- package/esm2022/chips/chip-action.mjs +0 -113
- package/esm2022/chips/chip-edit-input.mjs +0 -61
- package/esm2022/chips/chip-grid.mjs +0 -420
- package/esm2022/chips/chip-icons.mjs +0 -107
- package/esm2022/chips/chip-input.mjs +0 -192
- package/esm2022/chips/chip-listbox.mjs +0 -369
- package/esm2022/chips/chip-option.mjs +0 -190
- package/esm2022/chips/chip-row.mjs +0 -173
- package/esm2022/chips/chip-set.mjs +0 -283
- package/esm2022/chips/chip-text-control.mjs +0 -9
- package/esm2022/chips/chip.mjs +0 -322
- package/esm2022/chips/chips_public_index.mjs +0 -5
- package/esm2022/chips/index.mjs +0 -9
- package/esm2022/chips/module.mjs +0 -85
- package/esm2022/chips/public-api.mjs +0 -20
- package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
- package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
- package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
- package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
- package/esm2022/chips/testing/chip-harness.mjs +0 -62
- package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
- package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
- package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
- package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
- package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
- package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
- package/esm2022/chips/testing/index.mjs +0 -9
- package/esm2022/chips/testing/public-api.mjs +0 -19
- package/esm2022/chips/tokens.mjs +0 -39
- package/esm2022/core/animation/animation.mjs +0 -21
- package/esm2022/core/common-behaviors/color.mjs +0 -33
- package/esm2022/core/common-behaviors/common-module.mjs +0 -127
- package/esm2022/core/common-behaviors/constructor.mjs +0 -9
- package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
- package/esm2022/core/common-behaviors/disabled.mjs +0 -23
- package/esm2022/core/common-behaviors/error-state.mjs +0 -66
- package/esm2022/core/common-behaviors/index.mjs +0 -15
- package/esm2022/core/common-behaviors/initialized.mjs +0 -62
- package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
- package/esm2022/core/core_public_index.mjs +0 -5
- package/esm2022/core/datetime/date-adapter.mjs +0 -109
- package/esm2022/core/datetime/date-formats.mjs +0 -10
- package/esm2022/core/datetime/index.mjs +0 -46
- package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
- package/esm2022/core/datetime/native-date-formats.mjs +0 -19
- package/esm2022/core/error/error-options.mjs +0 -33
- package/esm2022/core/index.mjs +0 -9
- package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
- package/esm2022/core/line/line.mjs +0 -64
- package/esm2022/core/option/index.mjs +0 -30
- package/esm2022/core/option/optgroup.mjs +0 -71
- package/esm2022/core/option/option-parent.mjs +0 -13
- package/esm2022/core/option/option.mjs +0 -283
- package/esm2022/core/private/index.mjs +0 -9
- package/esm2022/core/private/ripple-loader.mjs +0 -160
- package/esm2022/core/public-api.mjs +0 -19
- package/esm2022/core/ripple/index.mjs +0 -27
- package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
- package/esm2022/core/ripple/ripple-ref.mjs +0 -39
- package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
- package/esm2022/core/ripple/ripple.mjs +0 -156
- package/esm2022/core/selection/index.mjs +0 -10
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
- package/esm2022/core/testing/index.mjs +0 -9
- package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
- package/esm2022/core/testing/optgroup-harness.mjs +0 -43
- package/esm2022/core/testing/option-harness-filters.mjs +0 -9
- package/esm2022/core/testing/option-harness.mjs +0 -53
- package/esm2022/core/testing/public-api.mjs +0 -12
- package/esm2022/core/version.mjs +0 -11
- package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
- package/esm2022/datepicker/calendar-body.mjs +0 -509
- package/esm2022/datepicker/calendar.mjs +0 -426
- package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
- package/esm2022/datepicker/date-range-input.mjs +0 -369
- package/esm2022/datepicker/date-range-picker.mjs +0 -51
- package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
- package/esm2022/datepicker/date-selection-model.mjs +0 -188
- package/esm2022/datepicker/datepicker-actions.mjs +0 -91
- package/esm2022/datepicker/datepicker-animations.mjs +0 -35
- package/esm2022/datepicker/datepicker-base.mjs +0 -609
- package/esm2022/datepicker/datepicker-errors.mjs +0 -14
- package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
- package/esm2022/datepicker/datepicker-input.mjs +0 -200
- package/esm2022/datepicker/datepicker-intl.mjs +0 -69
- package/esm2022/datepicker/datepicker-module.mjs +0 -138
- package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
- package/esm2022/datepicker/datepicker.mjs +0 -38
- package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
- package/esm2022/datepicker/index.mjs +0 -9
- package/esm2022/datepicker/month-view.mjs +0 -460
- package/esm2022/datepicker/multi-year-view.mjs +0 -330
- package/esm2022/datepicker/public-api.mjs +0 -27
- package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
- package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
- package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
- package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
- package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
- package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
- package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
- package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
- package/esm2022/datepicker/testing/index.mjs +0 -9
- package/esm2022/datepicker/testing/public-api.mjs +0 -14
- package/esm2022/datepicker/year-view.mjs +0 -324
- package/esm2022/dialog/dialog-animations.mjs +0 -38
- package/esm2022/dialog/dialog-config.mjs +0 -59
- package/esm2022/dialog/dialog-container.mjs +0 -253
- package/esm2022/dialog/dialog-content-directives.mjs +0 -212
- package/esm2022/dialog/dialog-ref.mjs +0 -177
- package/esm2022/dialog/dialog.mjs +0 -212
- package/esm2022/dialog/dialog_public_index.mjs +0 -5
- package/esm2022/dialog/index.mjs +0 -9
- package/esm2022/dialog/module.mjs +0 -45
- package/esm2022/dialog/public-api.mjs +0 -15
- package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
- package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
- package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
- package/esm2022/dialog/testing/index.mjs +0 -10
- package/esm2022/dialog/testing/public-api.mjs +0 -10
- package/esm2022/divider/divider-module.mjs +0 -24
- package/esm2022/divider/divider.mjs +0 -48
- package/esm2022/divider/divider_public_index.mjs +0 -5
- package/esm2022/divider/index.mjs +0 -9
- package/esm2022/divider/public-api.mjs +0 -10
- package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
- package/esm2022/divider/testing/divider-harness.mjs +0 -22
- package/esm2022/divider/testing/index.mjs +0 -9
- package/esm2022/divider/testing/public-api.mjs +0 -10
- package/esm2022/expansion/accordion-base.mjs +0 -14
- package/esm2022/expansion/accordion.mjs +0 -96
- package/esm2022/expansion/expansion-animations.mjs +0 -51
- package/esm2022/expansion/expansion-module.mjs +0 -65
- package/esm2022/expansion/expansion-panel-base.mjs +0 -14
- package/esm2022/expansion/expansion-panel-content.mjs +0 -35
- package/esm2022/expansion/expansion-panel-header.mjs +0 -218
- package/esm2022/expansion/expansion-panel.mjs +0 -211
- package/esm2022/expansion/expansion_public_index.mjs +0 -5
- package/esm2022/expansion/index.mjs +0 -9
- package/esm2022/expansion/public-api.mjs +0 -16
- package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
- package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
- package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
- package/esm2022/expansion/testing/index.mjs +0 -9
- package/esm2022/expansion/testing/public-api.mjs +0 -11
- package/esm2022/form-field/directives/error.mjs +0 -48
- package/esm2022/form-field/directives/floating-label.mjs +0 -135
- package/esm2022/form-field/directives/hint.mjs +0 -40
- package/esm2022/form-field/directives/label.mjs +0 -22
- package/esm2022/form-field/directives/line-ripple.mjs +0 -60
- package/esm2022/form-field/directives/notched-outline.mjs +0 -66
- package/esm2022/form-field/directives/prefix.mjs +0 -38
- package/esm2022/form-field/directives/suffix.mjs +0 -38
- package/esm2022/form-field/form-field-animations.mjs +0 -24
- package/esm2022/form-field/form-field-control.mjs +0 -11
- package/esm2022/form-field/form-field-errors.mjs +0 -20
- package/esm2022/form-field/form-field.mjs +0 -620
- package/esm2022/form-field/form-field_public_index.mjs +0 -5
- package/esm2022/form-field/index.mjs +0 -9
- package/esm2022/form-field/module.mjs +0 -51
- package/esm2022/form-field/public-api.mjs +0 -18
- package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
- package/esm2022/form-field/testing/control/index.mjs +0 -9
- package/esm2022/form-field/testing/error-harness.mjs +0 -29
- package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
- package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
- package/esm2022/form-field/testing/index.mjs +0 -9
- package/esm2022/form-field/testing/public-api.mjs +0 -15
- package/esm2022/grid-list/grid-list-base.mjs +0 -14
- package/esm2022/grid-list/grid-list-module.mjs +0 -59
- package/esm2022/grid-list/grid-list.mjs +0 -146
- package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
- package/esm2022/grid-list/grid-tile.mjs +0 -128
- package/esm2022/grid-list/index.mjs +0 -9
- package/esm2022/grid-list/public-api.mjs +0 -14
- package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
- package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
- package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
- package/esm2022/grid-list/testing/index.mjs +0 -9
- package/esm2022/grid-list/testing/public-api.mjs +0 -11
- package/esm2022/grid-list/tile-coordinator.mjs +0 -145
- package/esm2022/grid-list/tile-styler.mjs +0 -231
- package/esm2022/icon/fake-svgs.mjs +0 -62
- package/esm2022/icon/icon-module.mjs +0 -24
- package/esm2022/icon/icon-registry.mjs +0 -592
- package/esm2022/icon/icon.mjs +0 -379
- package/esm2022/icon/icon_public_index.mjs +0 -5
- package/esm2022/icon/index.mjs +0 -9
- package/esm2022/icon/public-api.mjs +0 -11
- package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
- package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
- package/esm2022/icon/testing/icon-harness.mjs +0 -60
- package/esm2022/icon/testing/index.mjs +0 -9
- package/esm2022/icon/testing/public-api.mjs +0 -11
- package/esm2022/icon/testing/testing_public_index.mjs +0 -5
- package/esm2022/icon/trusted-types.mjs +0 -43
- package/esm2022/index.mjs +0 -14
- package/esm2022/input/index.mjs +0 -9
- package/esm2022/input/input-errors.mjs +0 -12
- package/esm2022/input/input-value-accessor.mjs +0 -16
- package/esm2022/input/input.mjs +0 -524
- package/esm2022/input/input_public_index.mjs +0 -5
- package/esm2022/input/module.mjs +0 -26
- package/esm2022/input/public-api.mjs +0 -14
- package/esm2022/input/testing/index.mjs +0 -9
- package/esm2022/input/testing/input-harness-filters.mjs +0 -9
- package/esm2022/input/testing/input-harness.mjs +0 -119
- package/esm2022/input/testing/native-option-harness.mjs +0 -42
- package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
- package/esm2022/input/testing/native-select-harness.mjs +0 -79
- package/esm2022/input/testing/public-api.mjs +0 -13
- package/esm2022/list/action-list.mjs +0 -31
- package/esm2022/list/index.mjs +0 -9
- package/esm2022/list/list-base.mjs +0 -284
- package/esm2022/list/list-item-sections.mjs +0 -144
- package/esm2022/list/list-module.mjs +0 -97
- package/esm2022/list/list-option-types.mjs +0 -16
- package/esm2022/list/list-option.mjs +0 -295
- package/esm2022/list/list.mjs +0 -103
- package/esm2022/list/list_public_index.mjs +0 -5
- package/esm2022/list/nav-list.mjs +0 -37
- package/esm2022/list/public-api.mjs +0 -18
- package/esm2022/list/selection-list.mjs +0 -391
- package/esm2022/list/subheader.mjs +0 -28
- package/esm2022/list/testing/action-list-harness.mjs +0 -59
- package/esm2022/list/testing/index.mjs +0 -9
- package/esm2022/list/testing/list-harness-base.mjs +0 -95
- package/esm2022/list/testing/list-harness-filters.mjs +0 -9
- package/esm2022/list/testing/list-harness.mjs +0 -41
- package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
- package/esm2022/list/testing/nav-list-harness.mjs +0 -69
- package/esm2022/list/testing/public-api.mjs +0 -14
- package/esm2022/list/testing/selection-list-harness.mjs +0 -122
- package/esm2022/list/tokens.mjs +0 -11
- package/esm2022/menu/index.mjs +0 -9
- package/esm2022/menu/menu-animations.mjs +0 -61
- package/esm2022/menu/menu-content.mjs +0 -87
- package/esm2022/menu/menu-errors.mjs +0 -35
- package/esm2022/menu/menu-item.mjs +0 -148
- package/esm2022/menu/menu-panel.mjs +0 -14
- package/esm2022/menu/menu-positions.mjs +0 -9
- package/esm2022/menu/menu-trigger.mjs +0 -542
- package/esm2022/menu/menu.mjs +0 -405
- package/esm2022/menu/menu_public_index.mjs +0 -5
- package/esm2022/menu/module.mjs +0 -63
- package/esm2022/menu/public-api.mjs +0 -16
- package/esm2022/menu/testing/index.mjs +0 -9
- package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
- package/esm2022/menu/testing/menu-harness.mjs +0 -166
- package/esm2022/menu/testing/public-api.mjs +0 -10
- package/esm2022/paginator/index.mjs +0 -9
- package/esm2022/paginator/module.mjs +0 -28
- package/esm2022/paginator/paginator-intl.mjs +0 -62
- package/esm2022/paginator/paginator.mjs +0 -266
- package/esm2022/paginator/paginator_public_index.mjs +0 -5
- package/esm2022/paginator/public-api.mjs +0 -11
- package/esm2022/paginator/testing/index.mjs +0 -9
- package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
- package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
- package/esm2022/paginator/testing/public-api.mjs +0 -10
- package/esm2022/progress-bar/index.mjs +0 -9
- package/esm2022/progress-bar/module.mjs +0 -24
- package/esm2022/progress-bar/progress-bar.mjs +0 -181
- package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
- package/esm2022/progress-bar/public-api.mjs +0 -10
- package/esm2022/progress-bar/testing/index.mjs +0 -9
- package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
- package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
- package/esm2022/progress-bar/testing/public-api.mjs +0 -10
- package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
- package/esm2022/progress-spinner/index.mjs +0 -9
- package/esm2022/progress-spinner/module.mjs +0 -25
- package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
- package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
- package/esm2022/progress-spinner/public-api.mjs +0 -10
- package/esm2022/progress-spinner/testing/index.mjs +0 -9
- package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
- package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
- package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
- package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
- package/esm2022/radio/index.mjs +0 -9
- package/esm2022/radio/module.mjs +0 -25
- package/esm2022/radio/public-api.mjs +0 -10
- package/esm2022/radio/radio.mjs +0 -680
- package/esm2022/radio/radio_public_index.mjs +0 -5
- package/esm2022/radio/testing/index.mjs +0 -9
- package/esm2022/radio/testing/public-api.mjs +0 -10
- package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
- package/esm2022/radio/testing/radio-harness.mjs +0 -228
- package/esm2022/select/index.mjs +0 -9
- package/esm2022/select/module.mjs +0 -59
- package/esm2022/select/public-api.mjs +0 -15
- package/esm2022/select/select-animations.mjs +0 -38
- package/esm2022/select/select-errors.mjs +0 -35
- package/esm2022/select/select.mjs +0 -1160
- package/esm2022/select/select_public_index.mjs +0 -5
- package/esm2022/select/testing/index.mjs +0 -9
- package/esm2022/select/testing/public-api.mjs +0 -10
- package/esm2022/select/testing/select-harness-filters.mjs +0 -9
- package/esm2022/select/testing/select-harness.mjs +0 -129
- package/esm2022/sidenav/drawer-animations.mjs +0 -33
- package/esm2022/sidenav/drawer.mjs +0 -863
- package/esm2022/sidenav/index.mjs +0 -9
- package/esm2022/sidenav/public-api.mjs +0 -12
- package/esm2022/sidenav/sidenav-module.mjs +0 -60
- package/esm2022/sidenav/sidenav.mjs +0 -148
- package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
- package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
- package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
- package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
- package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
- package/esm2022/sidenav/testing/index.mjs +0 -9
- package/esm2022/sidenav/testing/public-api.mjs +0 -15
- package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
- package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
- package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
- package/esm2022/slide-toggle/index.mjs +0 -9
- package/esm2022/slide-toggle/module.mjs +0 -41
- package/esm2022/slide-toggle/public-api.mjs +0 -12
- package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
- package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
- package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
- package/esm2022/slide-toggle/testing/index.mjs +0 -9
- package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
- package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
- package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
- package/esm2022/slider/index.mjs +0 -9
- package/esm2022/slider/module.mjs +0 -39
- package/esm2022/slider/public-api.mjs +0 -13
- package/esm2022/slider/slider-input.mjs +0 -701
- package/esm2022/slider/slider-interface.mjs +0 -56
- package/esm2022/slider/slider-thumb.mjs +0 -231
- package/esm2022/slider/slider.mjs +0 -746
- package/esm2022/slider/slider_public_index.mjs +0 -5
- package/esm2022/slider/testing/index.mjs +0 -9
- package/esm2022/slider/testing/public-api.mjs +0 -11
- package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
- package/esm2022/slider/testing/slider-harness.mjs +0 -67
- package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
- package/esm2022/snack-bar/index.mjs +0 -9
- package/esm2022/snack-bar/module.mjs +0 -47
- package/esm2022/snack-bar/public-api.mjs +0 -16
- package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
- package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
- package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
- package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
- package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
- package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
- package/esm2022/snack-bar/snack-bar.mjs +0 -267
- package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
- package/esm2022/snack-bar/testing/index.mjs +0 -9
- package/esm2022/snack-bar/testing/public-api.mjs +0 -10
- package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
- package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
- package/esm2022/sort/index.mjs +0 -9
- package/esm2022/sort/public-api.mjs +0 -14
- package/esm2022/sort/sort-animations.mjs +0 -69
- package/esm2022/sort/sort-direction.mjs +0 -9
- package/esm2022/sort/sort-errors.mjs +0 -24
- package/esm2022/sort/sort-header-intl.mjs +0 -41
- package/esm2022/sort/sort-header.mjs +0 -317
- package/esm2022/sort/sort-module.mjs +0 -27
- package/esm2022/sort/sort.mjs +0 -155
- package/esm2022/sort/sort_public_index.mjs +0 -5
- package/esm2022/sort/testing/index.mjs +0 -9
- package/esm2022/sort/testing/public-api.mjs +0 -11
- package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
- package/esm2022/sort/testing/sort-harness.mjs +0 -36
- package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
- package/esm2022/stepper/index.mjs +0 -9
- package/esm2022/stepper/public-api.mjs +0 -17
- package/esm2022/stepper/step-content.mjs +0 -27
- package/esm2022/stepper/step-header.mjs +0 -105
- package/esm2022/stepper/step-label.mjs +0 -22
- package/esm2022/stepper/stepper-animations.mjs +0 -47
- package/esm2022/stepper/stepper-button.mjs +0 -43
- package/esm2022/stepper/stepper-icon.mjs +0 -30
- package/esm2022/stepper/stepper-intl.mjs +0 -43
- package/esm2022/stepper/stepper-module.mjs +0 -88
- package/esm2022/stepper/stepper.mjs +0 -205
- package/esm2022/stepper/stepper_public_index.mjs +0 -5
- package/esm2022/stepper/testing/index.mjs +0 -9
- package/esm2022/stepper/testing/public-api.mjs +0 -12
- package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
- package/esm2022/stepper/testing/step-harness.mjs +0 -90
- package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
- package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
- package/esm2022/table/cell.mjs +0 -147
- package/esm2022/table/index.mjs +0 -9
- package/esm2022/table/module.mjs +0 -93
- package/esm2022/table/public-api.mjs +0 -14
- package/esm2022/table/row.mjs +0 -163
- package/esm2022/table/table-data-source.mjs +0 -317
- package/esm2022/table/table.mjs +0 -122
- package/esm2022/table/table_public_index.mjs +0 -5
- package/esm2022/table/testing/cell-harness.mjs +0 -77
- package/esm2022/table/testing/index.mjs +0 -9
- package/esm2022/table/testing/public-api.mjs +0 -12
- package/esm2022/table/testing/row-harness.mjs +0 -84
- package/esm2022/table/testing/table-harness-filters.mjs +0 -2
- package/esm2022/table/testing/table-harness.mjs +0 -86
- package/esm2022/table/text-column.mjs +0 -60
- package/esm2022/tabs/index.mjs +0 -9
- package/esm2022/tabs/ink-bar.mjs +0 -149
- package/esm2022/tabs/module.mjs +0 -60
- package/esm2022/tabs/paginated-tab-header.mjs +0 -539
- package/esm2022/tabs/public-api.mjs +0 -21
- package/esm2022/tabs/tab-body.mjs +0 -199
- package/esm2022/tabs/tab-config.mjs +0 -11
- package/esm2022/tabs/tab-content.mjs +0 -32
- package/esm2022/tabs/tab-group.mjs +0 -469
- package/esm2022/tabs/tab-header.mjs +0 -86
- package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
- package/esm2022/tabs/tab-label.mjs +0 -44
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
- package/esm2022/tabs/tab.mjs +0 -128
- package/esm2022/tabs/tabs-animations.mjs +0 -45
- package/esm2022/tabs/tabs_public_index.mjs +0 -5
- package/esm2022/tabs/testing/index.mjs +0 -9
- package/esm2022/tabs/testing/public-api.mjs +0 -13
- package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
- package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
- package/esm2022/tabs/testing/tab-harness.mjs +0 -66
- package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
- package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
- package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
- package/esm2022/toolbar/index.mjs +0 -9
- package/esm2022/toolbar/public-api.mjs +0 -10
- package/esm2022/toolbar/testing/index.mjs +0 -9
- package/esm2022/toolbar/testing/public-api.mjs +0 -10
- package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
- package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
- package/esm2022/toolbar/toolbar-module.mjs +0 -24
- package/esm2022/toolbar/toolbar.mjs +0 -84
- package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
- package/esm2022/tooltip/index.mjs +0 -9
- package/esm2022/tooltip/module.mjs +0 -29
- package/esm2022/tooltip/public-api.mjs +0 -11
- package/esm2022/tooltip/testing/index.mjs +0 -9
- package/esm2022/tooltip/testing/public-api.mjs +0 -10
- package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
- package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
- package/esm2022/tooltip/tooltip-animations.mjs +0 -24
- package/esm2022/tooltip/tooltip.mjs +0 -920
- package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
- package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
- package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
- package/esm2022/tree/index.mjs +0 -9
- package/esm2022/tree/node.mjs +0 -220
- package/esm2022/tree/outlet.mjs +0 -46
- package/esm2022/tree/padding.mjs +0 -46
- package/esm2022/tree/public-api.mjs +0 -16
- package/esm2022/tree/testing/index.mjs +0 -9
- package/esm2022/tree/testing/node-harness.mjs +0 -73
- package/esm2022/tree/testing/public-api.mjs +0 -11
- package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
- package/esm2022/tree/testing/tree-harness.mjs +0 -123
- package/esm2022/tree/toggle.mjs +0 -27
- package/esm2022/tree/tree-module.mjs +0 -50
- package/esm2022/tree/tree.mjs +0 -34
- package/esm2022/tree/tree_public_index.mjs +0 -5
- package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
package/chips/index.d.ts
CHANGED
|
@@ -2,31 +2,23 @@ import { AfterContentInit } from '@angular/core';
|
|
|
2
2
|
import { AfterViewInit } from '@angular/core';
|
|
3
3
|
import { ChangeDetectorRef } from '@angular/core';
|
|
4
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
-
import { Directionality } from '@angular/cdk/bidi';
|
|
6
5
|
import { DoCheck } from '@angular/core';
|
|
7
6
|
import { ElementRef } from '@angular/core';
|
|
8
7
|
import { ErrorStateMatcher } from '@angular/material/core';
|
|
9
8
|
import { EventEmitter } from '@angular/core';
|
|
10
9
|
import { FocusKeyManager } from '@angular/cdk/a11y';
|
|
11
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
12
|
-
import { FormGroupDirective } from '@angular/forms';
|
|
13
10
|
import * as i0 from '@angular/core';
|
|
14
11
|
import * as i1 from '@angular/material/core';
|
|
15
12
|
import { InjectionToken } from '@angular/core';
|
|
16
13
|
import { Injector } from '@angular/core';
|
|
17
|
-
import { MatFormField } from '@angular/material/form-field';
|
|
18
14
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
19
|
-
import { MatRipple } from '@angular/material/core';
|
|
20
|
-
import { MatRippleLoader } from '@angular/material/core';
|
|
21
15
|
import { NgControl } from '@angular/forms';
|
|
22
|
-
import { NgForm } from '@angular/forms';
|
|
23
16
|
import { NgZone } from '@angular/core';
|
|
24
17
|
import { Observable } from 'rxjs';
|
|
25
18
|
import { OnChanges } from '@angular/core';
|
|
26
19
|
import { OnDestroy } from '@angular/core';
|
|
27
20
|
import { OnInit } from '@angular/core';
|
|
28
21
|
import { QueryList } from '@angular/core';
|
|
29
|
-
import { RippleGlobalOptions } from '@angular/material/core';
|
|
30
22
|
import { Subject } from 'rxjs';
|
|
31
23
|
|
|
32
24
|
declare namespace i10 {
|
|
@@ -144,7 +136,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
144
136
|
_elementRef: ElementRef<HTMLElement>;
|
|
145
137
|
protected _ngZone: NgZone;
|
|
146
138
|
private _focusMonitor;
|
|
147
|
-
private _globalRippleOptions
|
|
139
|
+
private _globalRippleOptions;
|
|
148
140
|
protected _document: Document;
|
|
149
141
|
/** Emits when the chip is focused. */
|
|
150
142
|
readonly _onFocus: Subject<MatChipEvent>;
|
|
@@ -177,6 +169,8 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
177
169
|
ariaDescription: string | null;
|
|
178
170
|
/** Id of a span that contains this chip's aria description. */
|
|
179
171
|
_ariaDescriptionId: string;
|
|
172
|
+
/** Whether the chip list is disabled. */
|
|
173
|
+
_chipListDisabled: boolean;
|
|
180
174
|
private _textElement;
|
|
181
175
|
/**
|
|
182
176
|
* The value of the chip. Defaults to the content inside
|
|
@@ -204,7 +198,9 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
204
198
|
/** Whether the ripple effect is disabled or not. */
|
|
205
199
|
disableRipple: boolean;
|
|
206
200
|
/** Whether the chip is disabled. */
|
|
207
|
-
disabled: boolean;
|
|
201
|
+
get disabled(): boolean;
|
|
202
|
+
set disabled(value: boolean);
|
|
203
|
+
private _disabled;
|
|
208
204
|
/** Emitted when a chip is to be removed. */
|
|
209
205
|
readonly removed: EventEmitter<MatChipEvent>;
|
|
210
206
|
/** Emitted when the chip is destroyed. */
|
|
@@ -217,22 +213,15 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
217
213
|
trailingIcon: MatChipTrailingIcon;
|
|
218
214
|
/** The chip's trailing remove icon. */
|
|
219
215
|
removeIcon: MatChipRemove;
|
|
220
|
-
/**
|
|
221
|
-
* Reference to the MatRipple instance of the chip.
|
|
222
|
-
* @deprecated Considered an implementation detail. To be removed.
|
|
223
|
-
* @breaking-change 17.0.0
|
|
224
|
-
*/
|
|
225
|
-
get ripple(): MatRipple;
|
|
226
|
-
set ripple(v: MatRipple);
|
|
227
216
|
/** Action receiving the primary set of user interactions. */
|
|
228
217
|
primaryAction: MatChipAction;
|
|
229
218
|
/**
|
|
230
219
|
* Handles the lazy creation of the MatChip ripple.
|
|
231
220
|
* Used to improve initial load time of large applications.
|
|
232
221
|
*/
|
|
233
|
-
_rippleLoader
|
|
222
|
+
private _rippleLoader;
|
|
234
223
|
protected _injector: Injector;
|
|
235
|
-
constructor(
|
|
224
|
+
constructor(...args: unknown[]);
|
|
236
225
|
ngOnInit(): void;
|
|
237
226
|
ngAfterViewInit(): void;
|
|
238
227
|
ngAfterContentInit(): void;
|
|
@@ -260,7 +249,7 @@ export declare class MatChip implements OnInit, AfterViewInit, AfterContentInit,
|
|
|
260
249
|
_handlePrimaryActionInteraction(): void;
|
|
261
250
|
/** Starts the focus monitoring process on the chip. */
|
|
262
251
|
private _monitorFocus;
|
|
263
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip,
|
|
252
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChip, never>;
|
|
264
253
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChip, "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", ["matChip"], { "role": { "alias": "role"; "required": false; }; "id": { "alias": "id"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "highlighted": { "alias": "highlighted"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "removed": "removed"; "destroyed": "destroyed"; }, ["leadingIcon", "trailingIcon", "removeIcon", "_allLeadingIcons", "_allTrailingIcons", "_allRemoveIcons"], ["mat-chip-avatar, [matChipAvatar]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
265
254
|
static ngAcceptInputType_removable: unknown;
|
|
266
255
|
static ngAcceptInputType_highlighted: unknown;
|
|
@@ -302,12 +291,7 @@ declare class MatChipAction {
|
|
|
302
291
|
* Determine the value of the tabindex attribute for this chip action.
|
|
303
292
|
*/
|
|
304
293
|
protected _getTabindex(): string | null;
|
|
305
|
-
constructor(
|
|
306
|
-
_handlePrimaryActionInteraction(): void;
|
|
307
|
-
remove(): void;
|
|
308
|
-
disabled: boolean;
|
|
309
|
-
_isEditing?: boolean;
|
|
310
|
-
});
|
|
294
|
+
constructor(...args: unknown[]);
|
|
311
295
|
focus(): void;
|
|
312
296
|
_handleClick(event: MouseEvent): void;
|
|
313
297
|
_handleKeydown(event: KeyboardEvent): void;
|
|
@@ -336,7 +320,7 @@ export declare interface MatChipEditedEvent extends MatChipEvent {
|
|
|
336
320
|
export declare class MatChipEditInput {
|
|
337
321
|
private readonly _elementRef;
|
|
338
322
|
private readonly _document;
|
|
339
|
-
constructor(
|
|
323
|
+
constructor(...args: unknown[]);
|
|
340
324
|
initialize(initialValue: string): void;
|
|
341
325
|
getNativeElement(): HTMLElement;
|
|
342
326
|
setValue(value: string): void;
|
|
@@ -448,7 +432,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
|
|
|
448
432
|
/** Whether the chip grid is in an error state. */
|
|
449
433
|
get errorState(): boolean;
|
|
450
434
|
set errorState(value: boolean);
|
|
451
|
-
constructor(
|
|
435
|
+
constructor(...args: unknown[]);
|
|
452
436
|
ngAfterContentInit(): void;
|
|
453
437
|
ngAfterViewInit(): void;
|
|
454
438
|
ngDoCheck(): void;
|
|
@@ -507,7 +491,7 @@ export declare class MatChipGrid extends MatChipSet implements AfterContentInit,
|
|
|
507
491
|
private _propagateChanges;
|
|
508
492
|
/** Mark the field as touched */
|
|
509
493
|
private _markAsTouched;
|
|
510
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid,
|
|
494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipGrid, never>;
|
|
511
495
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipGrid, "mat-chip-grid", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; }; }, { "change": "change"; "valueChange": "valueChange"; }, ["_chips"], ["*"], true, never>;
|
|
512
496
|
static ngAcceptInputType_disabled: unknown;
|
|
513
497
|
static ngAcceptInputType_required: unknown;
|
|
@@ -562,7 +546,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
562
546
|
get empty(): boolean;
|
|
563
547
|
/** The native input element to which this directive is attached. */
|
|
564
548
|
readonly inputElement: HTMLInputElement;
|
|
565
|
-
constructor(
|
|
549
|
+
constructor(...args: unknown[]);
|
|
566
550
|
ngOnChanges(): void;
|
|
567
551
|
ngOnDestroy(): void;
|
|
568
552
|
/** Utility method to make host definition/tests more clear. */
|
|
@@ -580,7 +564,7 @@ export declare class MatChipInput implements MatChipTextControl, OnChanges, OnDe
|
|
|
580
564
|
setDescribedByIds(ids: string[]): void;
|
|
581
565
|
/** Checks whether a keycode is one of the configured separators. */
|
|
582
566
|
private _isSeparatorKey;
|
|
583
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput,
|
|
567
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipInput, never>;
|
|
584
568
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipInput, "input[matChipInputFor]", ["matChipInput", "matChipInputFor"], { "chipGrid": { "alias": "matChipInputFor"; "required": false; }; "addOnBlur": { "alias": "matChipInputAddOnBlur"; "required": false; }; "separatorKeyCodes": { "alias": "matChipInputSeparatorKeyCodes"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "chipEnd": "matChipInputTokenEnd"; }, never, never, true, never>;
|
|
585
569
|
static ngAcceptInputType_addOnBlur: unknown;
|
|
586
570
|
static ngAcceptInputType_disabled: unknown;
|
|
@@ -843,7 +827,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
843
827
|
/** The projected chip edit input. */
|
|
844
828
|
contentEditInput?: MatChipEditInput;
|
|
845
829
|
_isEditing: boolean;
|
|
846
|
-
constructor(
|
|
830
|
+
constructor(...args: unknown[]);
|
|
847
831
|
_hasTrailingIcon(): boolean;
|
|
848
832
|
/** Sends focus to the first gridcell when the user clicks anywhere inside the chip. */
|
|
849
833
|
_handleFocus(): void;
|
|
@@ -857,7 +841,7 @@ export declare class MatChipRow extends MatChip implements AfterViewInit {
|
|
|
857
841
|
* two values is guaranteed to be defined.
|
|
858
842
|
*/
|
|
859
843
|
private _getEditInput;
|
|
860
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow,
|
|
844
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipRow, never>;
|
|
861
845
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipRow, "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", never, { "editable": { "alias": "editable"; "required": false; }; }, { "edited": "edited"; }, ["contentEditInput"], ["mat-chip-avatar, [matChipAvatar]", "[matChipEditInput]", "*", "mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"], true, never>;
|
|
862
846
|
}
|
|
863
847
|
|
|
@@ -927,7 +911,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
927
911
|
_chips: QueryList<MatChip>;
|
|
928
912
|
/** Flat list of all the actions contained within the chips. */
|
|
929
913
|
_chipActions: QueryList<MatChipAction>;
|
|
930
|
-
constructor(
|
|
914
|
+
constructor(...args: unknown[]);
|
|
931
915
|
ngAfterViewInit(): void;
|
|
932
916
|
ngOnDestroy(): void;
|
|
933
917
|
/** Checks whether any of the chips is focused. */
|
|
@@ -974,7 +958,7 @@ export declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
974
958
|
* if the currently-focused chip is destroyed.
|
|
975
959
|
*/
|
|
976
960
|
private _redirectDestroyedChipFocus;
|
|
977
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet,
|
|
961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipSet, never>;
|
|
978
962
|
static ɵcmp: i0.ɵɵComponentDeclaration<MatChipSet, "mat-chip-set", never, { "disabled": { "alias": "disabled"; "required": false; }; "role": { "alias": "role"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; }, {}, ["_chips"], ["*"], true, never>;
|
|
979
963
|
static ngAcceptInputType_disabled: unknown;
|
|
980
964
|
static ngAcceptInputType_tabIndex: unknown;
|
package/core/_core-theme.scss
CHANGED
|
@@ -15,53 +15,36 @@
|
|
|
15
15
|
@use './tokens/m2/mat/full-pseudo-checkbox' as tokens-mat-full-pseudo-checkbox;
|
|
16
16
|
@use './tokens/m2/mat/minimal-pseudo-checkbox' as tokens-mat-minimal-pseudo-checkbox;
|
|
17
17
|
|
|
18
|
-
$_has-inserted-loaded-marker: false;
|
|
19
|
-
|
|
20
|
-
@mixin _theme-loaded-marker {
|
|
21
|
-
@if not $_has-inserted-loaded-marker {
|
|
22
|
-
$_has-inserted-loaded-marker: true !global;
|
|
23
|
-
|
|
24
|
-
// Marker that is used to determine whether the user has added a theme to their page.
|
|
25
|
-
// Needs to be generated at the root, because themes may be nested inside classes.
|
|
26
|
-
@at-root {
|
|
27
|
-
.mat-theme-loaded-marker {
|
|
28
|
-
display: none;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
18
|
@mixin base($theme) {
|
|
35
19
|
@if inspection.get-theme-version($theme) == 1 {
|
|
36
20
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, base));
|
|
37
|
-
}
|
|
38
|
-
@else {
|
|
21
|
+
} @else {
|
|
39
22
|
@include ripple-theme.base($theme);
|
|
40
23
|
@include option-theme.base($theme);
|
|
41
24
|
@include optgroup-theme.base($theme);
|
|
42
25
|
@include pseudo-checkbox-theme.base($theme);
|
|
43
26
|
@include sass-utils.current-selector-or-root() {
|
|
44
|
-
@include token-utils.create-token-values(
|
|
45
|
-
tokens-mat-app
|
|
27
|
+
@include token-utils.create-token-values(
|
|
28
|
+
tokens-mat-app.$prefix,
|
|
29
|
+
tokens-mat-app.get-unthemable-tokens()
|
|
30
|
+
);
|
|
46
31
|
}
|
|
47
32
|
}
|
|
48
|
-
|
|
49
|
-
// The marker is a concrete style no matter which Material version we're targeting.
|
|
50
|
-
@include _theme-loaded-marker;
|
|
51
33
|
}
|
|
52
34
|
|
|
53
35
|
@mixin color($theme) {
|
|
54
36
|
@if inspection.get-theme-version($theme) == 1 {
|
|
55
37
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, color));
|
|
56
|
-
}
|
|
57
|
-
@else {
|
|
38
|
+
} @else {
|
|
58
39
|
@include ripple-theme.color($theme);
|
|
59
40
|
@include option-theme.color($theme);
|
|
60
41
|
@include optgroup-theme.color($theme);
|
|
61
42
|
@include pseudo-checkbox-theme.color($theme);
|
|
62
43
|
@include sass-utils.current-selector-or-root() {
|
|
63
|
-
@include token-utils.create-token-values(
|
|
64
|
-
tokens-mat-app
|
|
44
|
+
@include token-utils.create-token-values(
|
|
45
|
+
tokens-mat-app.$prefix,
|
|
46
|
+
tokens-mat-app.get-color-tokens($theme)
|
|
47
|
+
);
|
|
65
48
|
}
|
|
66
49
|
}
|
|
67
50
|
}
|
|
@@ -69,8 +52,7 @@ $_has-inserted-loaded-marker: false;
|
|
|
69
52
|
@mixin typography($theme) {
|
|
70
53
|
@if inspection.get-theme-version($theme) == 1 {
|
|
71
54
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, typography));
|
|
72
|
-
}
|
|
73
|
-
@else {
|
|
55
|
+
} @else {
|
|
74
56
|
@include option-theme.typography($theme);
|
|
75
57
|
@include optgroup-theme.typography($theme);
|
|
76
58
|
@include pseudo-checkbox-theme.typography($theme);
|
|
@@ -81,8 +63,7 @@ $_has-inserted-loaded-marker: false;
|
|
|
81
63
|
@mixin density($theme) {
|
|
82
64
|
@if inspection.get-theme-version($theme) == 1 {
|
|
83
65
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme, density));
|
|
84
|
-
}
|
|
85
|
-
@else {
|
|
66
|
+
} @else {
|
|
86
67
|
@include option-theme.density($theme);
|
|
87
68
|
@include optgroup-theme.density($theme);
|
|
88
69
|
@include pseudo-checkbox-theme.density($theme);
|
|
@@ -90,23 +71,36 @@ $_has-inserted-loaded-marker: false;
|
|
|
90
71
|
}
|
|
91
72
|
}
|
|
92
73
|
|
|
93
|
-
@
|
|
74
|
+
@function _define-overrides() {
|
|
94
75
|
$app-tokens: tokens-mat-app.get-token-slots();
|
|
95
76
|
$ripple-tokens: tokens-mat-ripple.get-token-slots();
|
|
96
77
|
$option-tokens: tokens-mat-option.get-token-slots();
|
|
78
|
+
$optgroup-tokens: tokens-mat-optgroup.get-token-slots();
|
|
97
79
|
$full-pseudo-checkbox-tokens: tokens-mat-full-pseudo-checkbox.get-token-slots();
|
|
98
80
|
$minimal-pseudo-checkbox-tokens: tokens-mat-minimal-pseudo-checkbox.get-token-slots();
|
|
99
81
|
|
|
100
|
-
@
|
|
101
|
-
$tokens,
|
|
102
|
-
(
|
|
103
|
-
(
|
|
104
|
-
(
|
|
105
|
-
(
|
|
106
|
-
|
|
82
|
+
@return (
|
|
83
|
+
(namespace: tokens-mat-app.$prefix, tokens: $app-tokens, prefix: 'app-'),
|
|
84
|
+
(namespace: tokens-mat-ripple.$prefix, tokens: $ripple-tokens, prefix: 'ripple-'),
|
|
85
|
+
(namespace: tokens-mat-option.$prefix, tokens: $option-tokens, prefix: 'option-'),
|
|
86
|
+
(namespace: tokens-mat-optgroup.$prefix, tokens: $optgroup-tokens, prefix: 'optgroup-'),
|
|
87
|
+
(
|
|
88
|
+
namespace: tokens-mat-full-pseudo-checkbox.$prefix,
|
|
89
|
+
tokens: $full-pseudo-checkbox-tokens,
|
|
90
|
+
prefix: 'pseudo-checkbox-full-'
|
|
91
|
+
),
|
|
92
|
+
(
|
|
93
|
+
namespace: tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
94
|
+
tokens: $minimal-pseudo-checkbox-tokens,
|
|
95
|
+
prefix: 'pseudo-checkbox-minimal-'
|
|
96
|
+
)
|
|
107
97
|
);
|
|
108
98
|
}
|
|
109
99
|
|
|
100
|
+
@mixin overrides($tokens: ()) {
|
|
101
|
+
@include token-utils.batch-create-token-values($tokens, _define-overrides()...);
|
|
102
|
+
}
|
|
103
|
+
|
|
110
104
|
// Mixin that renders all of the core styles that depend on the theme.
|
|
111
105
|
@mixin theme($theme, $options...) {
|
|
112
106
|
// Wrap the sub-theme includes in the duplicate theme styles mixin. This ensures that
|
|
@@ -115,8 +109,7 @@ $_has-inserted-loaded-marker: false;
|
|
|
115
109
|
@include theming.private-check-duplicate-theme-styles($theme, 'mat-core') {
|
|
116
110
|
@if inspection.get-theme-version($theme) == 1 {
|
|
117
111
|
@include _theme-from-tokens(inspection.get-theme-tokens($theme), $options...);
|
|
118
|
-
}
|
|
119
|
-
@else {
|
|
112
|
+
} @else {
|
|
120
113
|
@include base($theme);
|
|
121
114
|
@if inspection.theme-has($theme, color) {
|
|
122
115
|
@include color($theme);
|
|
@@ -129,30 +122,41 @@ $_has-inserted-loaded-marker: false;
|
|
|
129
122
|
}
|
|
130
123
|
}
|
|
131
124
|
}
|
|
132
|
-
|
|
133
|
-
// The marker is a concrete style no matter which Material version we're targeting.
|
|
134
|
-
@include _theme-loaded-marker;
|
|
135
125
|
}
|
|
136
126
|
|
|
137
127
|
@mixin _theme-from-tokens($tokens, $options...) {
|
|
138
128
|
@include validation.selector-defined(
|
|
139
|
-
|
|
129
|
+
'Calls to Angular Material theme mixins with an M3 theme must be wrapped in a selector'
|
|
130
|
+
);
|
|
140
131
|
$mat-app-tokens: token-utils.get-tokens-for($tokens, tokens-mat-app.$prefix, $options...);
|
|
141
132
|
$mat-ripple-tokens: token-utils.get-tokens-for($tokens, tokens-mat-ripple.$prefix, $options...);
|
|
142
133
|
$mat-option-tokens: token-utils.get-tokens-for($tokens, tokens-mat-option.$prefix, $options...);
|
|
143
|
-
$mat-optgroup-tokens:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
134
|
+
$mat-optgroup-tokens: token-utils.get-tokens-for(
|
|
135
|
+
$tokens,
|
|
136
|
+
tokens-mat-optgroup.$prefix,
|
|
137
|
+
$options...
|
|
138
|
+
);
|
|
139
|
+
$mat-full-pseudo-checkbox-tokens: token-utils.get-tokens-for(
|
|
140
|
+
$tokens,
|
|
141
|
+
tokens-mat-full-pseudo-checkbox.$prefix,
|
|
142
|
+
$options...
|
|
143
|
+
);
|
|
144
|
+
$mat-minimal-pseudo-checkbox-tokens: token-utils.get-tokens-for(
|
|
145
|
+
$tokens,
|
|
146
|
+
tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
147
|
+
$options...
|
|
148
|
+
);
|
|
149
149
|
|
|
150
150
|
@include token-utils.create-token-values(tokens-mat-app.$prefix, $mat-app-tokens);
|
|
151
151
|
@include token-utils.create-token-values(tokens-mat-ripple.$prefix, $mat-ripple-tokens);
|
|
152
152
|
@include token-utils.create-token-values(tokens-mat-option.$prefix, $mat-option-tokens);
|
|
153
153
|
@include token-utils.create-token-values(tokens-mat-optgroup.$prefix, $mat-optgroup-tokens);
|
|
154
|
-
@include token-utils.create-token-values(
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
154
|
+
@include token-utils.create-token-values(
|
|
155
|
+
tokens-mat-full-pseudo-checkbox.$prefix,
|
|
156
|
+
$mat-full-pseudo-checkbox-tokens
|
|
157
|
+
);
|
|
158
|
+
@include token-utils.create-token-values(
|
|
159
|
+
tokens-mat-minimal-pseudo-checkbox.$prefix,
|
|
160
|
+
$mat-minimal-pseudo-checkbox-tokens
|
|
161
|
+
);
|
|
158
162
|
}
|
package/core/_core.scss
CHANGED
|
@@ -1,28 +1,21 @@
|
|
|
1
|
-
@use '@angular/cdk';
|
|
2
1
|
@use './tokens/m2/mat/app' as tokens-mat-app;
|
|
3
2
|
@use './tokens/token-utils';
|
|
4
|
-
@use './ripple/ripple';
|
|
5
3
|
@use './style/elevation';
|
|
6
|
-
@use './focus-indicators/private';
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
@mixin core() {
|
|
5
|
+
/// @deprecated This mixin is a no-op and is going to be removed in v21.
|
|
6
|
+
@mixin core() {}
|
|
7
|
+
|
|
8
|
+
// Emits the mat-app-background CSS class. This predefined class sets the
|
|
9
|
+
// background color and text color of an element.
|
|
10
|
+
@mixin app-background() {
|
|
10
11
|
// TODO: Move ripple styles to be dynamically loaded instead of in core.
|
|
11
12
|
// This variable is used as a fallback for the ripple element's
|
|
12
13
|
// background color. However, if it isn't defined anywhere, then MSS
|
|
13
14
|
// complains in its verification stage.
|
|
14
15
|
html {
|
|
15
|
-
--mat-
|
|
16
|
+
--mat-sys-on-surface: initial;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
@include ripple.ripple();
|
|
19
|
-
@include cdk.a11y-visually-hidden();
|
|
20
|
-
@include cdk.overlay();
|
|
21
|
-
@include cdk.text-field-autosize();
|
|
22
|
-
@include cdk.text-field-autofill();
|
|
23
|
-
@include private.structural-styling('mat');
|
|
24
|
-
@include private.structural-styling('mat-mdc');
|
|
25
|
-
|
|
26
19
|
// Wrapper element that provides the theme background when the
|
|
27
20
|
// user's content isn't inside of a `mat-sidenav-container`.
|
|
28
21
|
@at-root {
|
|
@@ -32,7 +25,17 @@
|
|
|
32
25
|
@include token-utils.create-token-slot(background-color, background-color, transparent);
|
|
33
26
|
@include token-utils.create-token-slot(color, text-color, inherit);
|
|
34
27
|
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
35
31
|
|
|
32
|
+
// Emits CSS classes for applying elevation. These classes follow the pattern
|
|
33
|
+
// mat-elevation-z#, where # is the elevation number you want, from 0 to 24.
|
|
34
|
+
// These predefined classes use the CSS box-shadow settings defined by the
|
|
35
|
+
// Material Design specification.
|
|
36
|
+
@mixin elevation-classes() {
|
|
37
|
+
@at-root {
|
|
38
|
+
@include token-utils.use-tokens(tokens-mat-app.$prefix, tokens-mat-app.get-token-slots()) {
|
|
36
39
|
// Provides external CSS classes for each elevation value. Each CSS class is formatted as
|
|
37
40
|
// `mat-elevation-z$z-value` where `$z-value` corresponds to the z-space to which the element
|
|
38
41
|
// is elevated.
|
|
@@ -12,31 +12,19 @@ $default-border-color: transparent;
|
|
|
12
12
|
$default-border-radius: 4px;
|
|
13
13
|
|
|
14
14
|
// Mixin that renders the focus indicator structural styles.
|
|
15
|
-
@mixin structural-styling(
|
|
16
|
-
|
|
15
|
+
@mixin structural-styling() {
|
|
16
|
+
.mat-focus-indicator {
|
|
17
17
|
position: relative;
|
|
18
18
|
|
|
19
19
|
&::before {
|
|
20
20
|
@include layout-common.fill();
|
|
21
21
|
box-sizing: border-box;
|
|
22
22
|
pointer-events: none;
|
|
23
|
-
display: var(
|
|
24
|
-
border: var(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
var(
|
|
29
|
-
--#{$prefix}-focus-indicator-border-style,
|
|
30
|
-
#{$default-border-style}
|
|
31
|
-
)
|
|
32
|
-
var(
|
|
33
|
-
--#{$prefix}-focus-indicator-border-color,
|
|
34
|
-
#{$default-border-color}
|
|
35
|
-
);
|
|
36
|
-
border-radius: var(
|
|
37
|
-
--#{$prefix}-focus-indicator-border-radius,
|
|
38
|
-
#{$default-border-radius}
|
|
39
|
-
);
|
|
23
|
+
display: var(--mat-focus-indicator-display, none); // Hide the indicator by default.
|
|
24
|
+
border-width: var(--mat-focus-indicator-border-width, #{$default-border-width});
|
|
25
|
+
border-style: var(--mat-focus-indicator-border-style, #{$default-border-style});
|
|
26
|
+
border-color: var(--mat-focus-indicator-border-color, #{$default-border-color});
|
|
27
|
+
border-radius: var(--mat-focus-indicator-border-radius, #{$default-border-radius});
|
|
40
28
|
}
|
|
41
29
|
|
|
42
30
|
// By default, render the focus indicator when the focus indicator host element takes focus.
|
|
@@ -47,8 +35,8 @@ $default-border-radius: 4px;
|
|
|
47
35
|
}
|
|
48
36
|
|
|
49
37
|
// Enable the indicator in high contrast mode.
|
|
50
|
-
@include cdk.high-contrast
|
|
51
|
-
@include
|
|
38
|
+
@include cdk.high-contrast {
|
|
39
|
+
@include _customize-focus-indicators((display: block));
|
|
52
40
|
}
|
|
53
41
|
}
|
|
54
42
|
|
|
@@ -62,18 +50,18 @@ $default-border-radius: 4px;
|
|
|
62
50
|
}
|
|
63
51
|
|
|
64
52
|
// Mixin that dedups CSS variables for the strong-focus-indicators mixin.
|
|
65
|
-
@mixin
|
|
53
|
+
@mixin _customize-focus-indicators($config) {
|
|
66
54
|
$border-style: map.get($config, border-style);
|
|
67
55
|
$border-width: map.get($config, border-width);
|
|
68
56
|
$border-radius: map.get($config, border-radius);
|
|
69
57
|
$border-color: map.get($config, border-color);
|
|
70
58
|
$display: map.get($config, display);
|
|
71
59
|
$map: (
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
76
|
-
'
|
|
60
|
+
'mat-focus-indicator-border-style': $border-style,
|
|
61
|
+
'mat-focus-indicator-border-width': $border-width,
|
|
62
|
+
'mat-focus-indicator-border-radius': $border-radius,
|
|
63
|
+
'mat-focus-indicator-border-color': $border-color,
|
|
64
|
+
'mat-focus-indicator-display': $display,
|
|
77
65
|
);
|
|
78
66
|
|
|
79
67
|
@if (&) {
|
|
@@ -91,48 +79,29 @@ $default-border-radius: 4px;
|
|
|
91
79
|
@mixin strong-focus-indicators($config: ()) {
|
|
92
80
|
// Default focus indicator config.
|
|
93
81
|
$default-config: (
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
border-color: black,
|
|
83
|
+
display: block,
|
|
96
84
|
);
|
|
97
85
|
|
|
98
86
|
// Merge default config with user config.
|
|
99
87
|
$config: map.merge($default-config, $config);
|
|
100
88
|
|
|
101
|
-
@include
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
@mixin mdc-strong-focus-indicators($config: ()) {
|
|
105
|
-
// Default focus indicator config.
|
|
106
|
-
$default-config: (
|
|
107
|
-
border-color: black,
|
|
108
|
-
display: block,
|
|
109
|
-
);
|
|
110
|
-
|
|
111
|
-
// Merge default config with user config.
|
|
112
|
-
$config: map.merge($default-config, $config);
|
|
113
|
-
|
|
114
|
-
@include customize-focus-indicators($config, 'mat-mdc');
|
|
89
|
+
@include _customize-focus-indicators($config);
|
|
115
90
|
}
|
|
116
91
|
|
|
117
92
|
@mixin strong-focus-indicators-color($theme-or-color) {
|
|
118
93
|
@if meta.type-of($theme-or-color) == 'color' {
|
|
119
|
-
@include
|
|
120
|
-
border-color: $theme-or-color
|
|
121
|
-
), 'mat');
|
|
94
|
+
@include _customize-focus-indicators((border-color: $theme-or-color));
|
|
122
95
|
}
|
|
123
96
|
@else {
|
|
124
97
|
$border-color: inspection.get-theme-color($theme-or-color, primary);
|
|
125
|
-
@include
|
|
126
|
-
border-color: $border-color
|
|
127
|
-
), 'mat');
|
|
98
|
+
@include _customize-focus-indicators((border-color: $border-color));
|
|
128
99
|
}
|
|
129
100
|
}
|
|
130
101
|
|
|
131
102
|
@mixin strong-focus-indicators-theme($theme-or-color) {
|
|
132
103
|
@if meta.type-of($theme-or-color) == 'color' {
|
|
133
|
-
@include
|
|
134
|
-
border-color: $theme-or-color
|
|
135
|
-
), 'mat');
|
|
104
|
+
@include _customize-focus-indicators((border-color: $theme-or-color));
|
|
136
105
|
}
|
|
137
106
|
@else {
|
|
138
107
|
@include theming.private-check-duplicate-theme-styles($theme-or-color, 'mat-focus-indicators') {
|
|
@@ -142,33 +111,3 @@ $default-border-radius: 4px;
|
|
|
142
111
|
}
|
|
143
112
|
}
|
|
144
113
|
}
|
|
145
|
-
|
|
146
|
-
@mixin mdc-strong-focus-indicators-color($theme-or-color) {
|
|
147
|
-
@if meta.type-of($theme-or-color) == 'color' {
|
|
148
|
-
@include customize-focus-indicators((
|
|
149
|
-
border-color: $theme-or-color
|
|
150
|
-
), 'mat-mdc');
|
|
151
|
-
}
|
|
152
|
-
@else {
|
|
153
|
-
$border-color: inspection.get-theme-color($theme-or-color, primary);
|
|
154
|
-
@include customize-focus-indicators((
|
|
155
|
-
border-color: $border-color
|
|
156
|
-
), 'mat-mdc');
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
@mixin mdc-strong-focus-indicators-theme($theme-or-color) {
|
|
161
|
-
@if meta.type-of($theme-or-color) == 'color' {
|
|
162
|
-
@include customize-focus-indicators((
|
|
163
|
-
border-color: $theme-or-color
|
|
164
|
-
), 'mat-mdc');
|
|
165
|
-
}
|
|
166
|
-
@else {
|
|
167
|
-
@include theming.private-check-duplicate-theme-styles(
|
|
168
|
-
$theme-or-color, 'mat-mdc-focus-indicators') {
|
|
169
|
-
@if inspection.theme-has($theme-or-color, color) {
|
|
170
|
-
@include mdc-strong-focus-indicators-color($theme-or-color);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|