@angular/material 17.1.0-next.2 → 17.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/_index.scss +6 -6
- package/bottom-sheet/index.d.ts +2 -4
- package/button/_button-base.scss +20 -2
- package/button/_button-theme.scss +131 -97
- package/button/_fab-theme.scss +2 -8
- package/button/_icon-button-theme.scss +11 -9
- package/button/index.d.ts +31 -2
- package/core/_core-theme.scss +6 -7
- package/core/_core.scss +17 -2
- package/core/index.d.ts +10 -3
- package/core/mdc-helpers/_mdc-helpers.scss +0 -184
- package/core/style/_sass-utils.scss +19 -0
- package/core/tokens/_token-utils.scss +56 -0
- package/core/tokens/m2/_index.scss +19 -5
- package/core/tokens/m2/mat/{_slide-toggle.scss → _app.scss} +12 -15
- package/core/tokens/m2/mat/_fab.scss +3 -0
- package/core/tokens/m2/mat/_filled-button.scss +3 -0
- package/core/tokens/m2/mat/_form-field.scss +50 -1
- package/core/tokens/m2/mat/_icon-button.scss +3 -0
- package/core/tokens/m2/mat/_outlined-button.scss +3 -0
- package/core/tokens/m2/mat/_protected-button.scss +3 -0
- package/core/tokens/m2/mat/_slider.scss +34 -8
- package/core/tokens/m2/mat/_tab-header.scss +6 -1
- package/core/tokens/m2/mat/_text-button.scss +3 -0
- package/core/tokens/m2/mdc/_extended-fab.scss +7 -6
- package/core/tokens/m2/mdc/_fab.scss +5 -5
- package/core/tokens/m2/mdc/_filled-button.scss +13 -12
- package/core/tokens/m2/mdc/_outlined-button.scss +7 -7
- package/core/tokens/m2/mdc/_protected-button.scss +14 -13
- package/core/tokens/m2/mdc/_text-button.scss +7 -12
- package/esm2022/autocomplete/autocomplete-origin.mjs +3 -3
- package/esm2022/autocomplete/autocomplete-trigger.mjs +7 -5
- package/esm2022/autocomplete/autocomplete.mjs +4 -5
- package/esm2022/autocomplete/module.mjs +4 -4
- package/esm2022/badge/badge-module.mjs +4 -4
- package/esm2022/badge/badge.mjs +3 -3
- package/esm2022/bottom-sheet/bottom-sheet-container.mjs +7 -8
- package/esm2022/bottom-sheet/bottom-sheet-module.mjs +4 -4
- package/esm2022/bottom-sheet/bottom-sheet.mjs +3 -3
- package/esm2022/button/button-base.mjs +46 -19
- package/esm2022/button/button.mjs +9 -9
- package/esm2022/button/fab.mjs +17 -17
- package/esm2022/button/icon-button.mjs +9 -9
- package/esm2022/button/module.mjs +4 -4
- package/esm2022/button/public-api.mjs +2 -1
- package/esm2022/button/testing/button-harness.mjs +4 -3
- package/esm2022/button-toggle/button-toggle-module.mjs +4 -4
- package/esm2022/button-toggle/button-toggle.mjs +6 -6
- package/esm2022/card/card.mjs +42 -42
- package/esm2022/card/module.mjs +4 -4
- package/esm2022/checkbox/checkbox-required-validator.mjs +3 -3
- package/esm2022/checkbox/checkbox.mjs +3 -3
- package/esm2022/checkbox/module.mjs +8 -8
- package/esm2022/chips/chip-action.mjs +3 -3
- package/esm2022/chips/chip-edit-input.mjs +3 -3
- package/esm2022/chips/chip-grid.mjs +3 -3
- package/esm2022/chips/chip-icons.mjs +9 -9
- package/esm2022/chips/chip-input.mjs +3 -3
- package/esm2022/chips/chip-listbox.mjs +4 -5
- package/esm2022/chips/chip-option.mjs +3 -3
- package/esm2022/chips/chip-row.mjs +3 -3
- package/esm2022/chips/chip-set.mjs +3 -3
- package/esm2022/chips/chip.mjs +5 -4
- package/esm2022/chips/module.mjs +4 -4
- package/esm2022/core/common-behaviors/common-module.mjs +4 -4
- package/esm2022/core/datetime/index.mjs +16 -11
- package/esm2022/core/datetime/native-date-adapter.mjs +3 -3
- package/esm2022/core/error/error-options.mjs +6 -6
- package/esm2022/core/internal-form-field/internal-form-field.mjs +3 -3
- package/esm2022/core/line/line.mjs +7 -7
- package/esm2022/core/option/index.mjs +4 -4
- package/esm2022/core/option/optgroup.mjs +3 -3
- package/esm2022/core/option/option.mjs +3 -3
- package/esm2022/core/private/ripple-loader.mjs +30 -12
- package/esm2022/core/ripple/index.mjs +4 -4
- package/esm2022/core/ripple/ripple-renderer.mjs +1 -1
- package/esm2022/core/ripple/ripple.mjs +3 -3
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +4 -4
- package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +3 -3
- package/esm2022/core/version.mjs +1 -1
- package/esm2022/datepicker/calendar-body.mjs +3 -3
- package/esm2022/datepicker/calendar.mjs +8 -8
- package/esm2022/datepicker/date-range-input-parts.mjs +9 -9
- package/esm2022/datepicker/date-range-input.mjs +3 -3
- package/esm2022/datepicker/date-range-picker.mjs +3 -3
- package/esm2022/datepicker/date-range-selection-strategy.mjs +3 -3
- package/esm2022/datepicker/date-selection-model.mjs +9 -9
- package/esm2022/datepicker/datepicker-actions.mjs +9 -9
- package/esm2022/datepicker/datepicker-base.mjs +6 -6
- package/esm2022/datepicker/datepicker-errors.mjs +4 -4
- package/esm2022/datepicker/datepicker-input-base.mjs +3 -3
- package/esm2022/datepicker/datepicker-input.mjs +3 -3
- package/esm2022/datepicker/datepicker-intl.mjs +3 -3
- package/esm2022/datepicker/datepicker-module.mjs +4 -4
- package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
- package/esm2022/datepicker/datepicker.mjs +3 -3
- package/esm2022/datepicker/month-view.mjs +3 -3
- package/esm2022/datepicker/multi-year-view.mjs +3 -3
- package/esm2022/datepicker/year-view.mjs +3 -3
- package/esm2022/dialog/dialog-container.mjs +5 -5
- package/esm2022/dialog/dialog-content-directives.mjs +18 -21
- package/esm2022/dialog/dialog.mjs +3 -3
- package/esm2022/dialog/module.mjs +4 -4
- package/esm2022/divider/divider-module.mjs +4 -4
- package/esm2022/divider/divider.mjs +3 -3
- package/esm2022/expansion/accordion.mjs +4 -5
- package/esm2022/expansion/expansion-module.mjs +4 -4
- package/esm2022/expansion/expansion-panel-content.mjs +3 -3
- package/esm2022/expansion/expansion-panel-header.mjs +9 -9
- package/esm2022/expansion/expansion-panel.mjs +8 -8
- package/esm2022/form-field/directives/error.mjs +3 -3
- package/esm2022/form-field/directives/floating-label.mjs +3 -3
- package/esm2022/form-field/directives/hint.mjs +3 -3
- package/esm2022/form-field/directives/label.mjs +3 -3
- package/esm2022/form-field/directives/line-ripple.mjs +3 -3
- package/esm2022/form-field/directives/notched-outline.mjs +3 -3
- package/esm2022/form-field/directives/prefix.mjs +3 -3
- package/esm2022/form-field/directives/suffix.mjs +3 -3
- package/esm2022/form-field/form-field-control.mjs +3 -3
- package/esm2022/form-field/form-field.mjs +6 -6
- package/esm2022/form-field/module.mjs +4 -4
- package/esm2022/grid-list/grid-list-module.mjs +4 -4
- package/esm2022/grid-list/grid-list.mjs +3 -3
- package/esm2022/grid-list/grid-tile.mjs +15 -15
- package/esm2022/icon/icon-module.mjs +4 -4
- package/esm2022/icon/icon-registry.mjs +3 -3
- package/esm2022/icon/icon.mjs +3 -3
- package/esm2022/icon/testing/fake-icon-registry.mjs +7 -7
- package/esm2022/input/input.mjs +3 -3
- package/esm2022/input/module.mjs +4 -4
- package/esm2022/list/action-list.mjs +3 -3
- package/esm2022/list/list-base.mjs +6 -6
- package/esm2022/list/list-item-sections.mjs +18 -18
- package/esm2022/list/list-module.mjs +4 -4
- package/esm2022/list/list-option.mjs +6 -6
- package/esm2022/list/list.mjs +6 -6
- package/esm2022/list/nav-list.mjs +3 -3
- package/esm2022/list/selection-list.mjs +3 -3
- package/esm2022/list/subheader.mjs +3 -3
- package/esm2022/list/tokens.mjs +2 -2
- package/esm2022/menu/menu-content.mjs +3 -3
- package/esm2022/menu/menu-item.mjs +3 -3
- package/esm2022/menu/menu-trigger.mjs +3 -3
- package/esm2022/menu/menu.mjs +4 -5
- package/esm2022/menu/module.mjs +4 -4
- package/esm2022/paginator/module.mjs +4 -4
- package/esm2022/paginator/paginator-intl.mjs +3 -3
- package/esm2022/paginator/paginator.mjs +5 -5
- package/esm2022/progress-bar/module.mjs +4 -4
- package/esm2022/progress-bar/progress-bar.mjs +3 -3
- package/esm2022/progress-spinner/module.mjs +4 -4
- package/esm2022/progress-spinner/progress-spinner.mjs +3 -3
- package/esm2022/radio/module.mjs +4 -4
- package/esm2022/radio/radio.mjs +6 -6
- package/esm2022/select/module.mjs +4 -4
- package/esm2022/select/select.mjs +19 -19
- package/esm2022/sidenav/drawer.mjs +22 -18
- package/esm2022/sidenav/sidenav-module.mjs +4 -4
- package/esm2022/sidenav/sidenav.mjs +10 -13
- package/esm2022/slide-toggle/module.mjs +8 -8
- package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +3 -3
- package/esm2022/slide-toggle/slide-toggle.mjs +7 -7
- package/esm2022/slider/module.mjs +4 -4
- package/esm2022/slider/slider-input.mjs +43 -26
- package/esm2022/slider/slider-interface.mjs +1 -1
- package/esm2022/slider/slider-thumb.mjs +12 -5
- package/esm2022/slider/slider.mjs +5 -6
- package/esm2022/snack-bar/module.mjs +4 -4
- package/esm2022/snack-bar/simple-snack-bar.mjs +3 -3
- package/esm2022/snack-bar/snack-bar-container.mjs +13 -12
- package/esm2022/snack-bar/snack-bar-content.mjs +9 -9
- package/esm2022/snack-bar/snack-bar.mjs +3 -3
- package/esm2022/sort/sort-header-intl.mjs +3 -3
- package/esm2022/sort/sort-header.mjs +3 -3
- package/esm2022/sort/sort-module.mjs +4 -4
- package/esm2022/sort/sort.mjs +3 -3
- package/esm2022/stepper/step-content.mjs +3 -3
- package/esm2022/stepper/step-header.mjs +3 -3
- package/esm2022/stepper/step-label.mjs +3 -3
- package/esm2022/stepper/stepper-button.mjs +7 -9
- package/esm2022/stepper/stepper-icon.mjs +3 -3
- package/esm2022/stepper/stepper-intl.mjs +3 -3
- package/esm2022/stepper/stepper-module.mjs +4 -4
- package/esm2022/stepper/stepper.mjs +16 -12
- package/esm2022/table/cell.mjs +21 -21
- package/esm2022/table/module.mjs +4 -4
- package/esm2022/table/row.mjs +21 -21
- package/esm2022/table/table.mjs +64 -31
- package/esm2022/table/text-column.mjs +3 -3
- package/esm2022/tabs/ink-bar.mjs +4 -4
- package/esm2022/tabs/module.mjs +4 -4
- package/esm2022/tabs/paginated-tab-header.mjs +13 -6
- package/esm2022/tabs/tab-body.mjs +6 -6
- package/esm2022/tabs/tab-content.mjs +3 -3
- package/esm2022/tabs/tab-group.mjs +20 -9
- package/esm2022/tabs/tab-header.mjs +6 -6
- package/esm2022/tabs/tab-label-wrapper.mjs +3 -3
- package/esm2022/tabs/tab-label.mjs +3 -3
- package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +12 -12
- package/esm2022/tabs/tab.mjs +9 -5
- package/esm2022/toolbar/toolbar-module.mjs +4 -4
- package/esm2022/toolbar/toolbar.mjs +7 -7
- package/esm2022/tooltip/module.mjs +4 -4
- package/esm2022/tooltip/tooltip.mjs +6 -6
- package/esm2022/tree/node.mjs +9 -9
- package/esm2022/tree/outlet.mjs +3 -3
- package/esm2022/tree/padding.mjs +3 -3
- package/esm2022/tree/toggle.mjs +3 -3
- package/esm2022/tree/tree-module.mjs +4 -4
- package/esm2022/tree/tree.mjs +3 -3
- package/expansion/index.d.ts +2 -2
- package/fesm2022/autocomplete.mjs +16 -15
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge.mjs +7 -7
- package/fesm2022/bottom-sheet.mjs +12 -13
- package/fesm2022/bottom-sheet.mjs.map +1 -1
- package/fesm2022/button/testing.mjs +3 -2
- package/fesm2022/button/testing.mjs.map +1 -1
- package/fesm2022/button-toggle.mjs +10 -10
- package/fesm2022/button.mjs +82 -55
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/checkbox.mjs +14 -14
- package/fesm2022/chips.mjs +41 -41
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/core.mjs +93 -70
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +86 -86
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog.mjs +28 -31
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/expansion.mjs +26 -27
- package/fesm2022/expansion.mjs.map +1 -1
- package/fesm2022/form-field.mjs +36 -36
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- package/fesm2022/icon/testing.mjs +7 -7
- package/fesm2022/icon.mjs +10 -10
- package/fesm2022/input.mjs +7 -7
- package/fesm2022/list.mjs +52 -52
- package/fesm2022/list.mjs.map +1 -1
- package/fesm2022/menu.mjs +16 -17
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/paginator.mjs +11 -11
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +7 -7
- package/fesm2022/progress-spinner.mjs +7 -7
- package/fesm2022/radio.mjs +10 -10
- package/fesm2022/select.mjs +22 -22
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +34 -33
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +17 -17
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider.mjs +60 -38
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +32 -30
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort.mjs +13 -13
- package/fesm2022/stepper.mjs +40 -38
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +111 -78
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs.mjs +76 -55
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +11 -11
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +10 -10
- package/fesm2022/tree.mjs +25 -25
- package/form-field/_form-field-subscript.scss +1 -2
- package/form-field/_form-field-theme.scss +4 -2
- package/form-field/_mdc-text-field-density-overrides.scss +60 -0
- package/icon/_icon-theme.scss +24 -10
- package/list/index.d.ts +1 -1
- package/package.json +49 -49
- package/paginator/_paginator-theme.scss +5 -4
- 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/schematics/ng-add/index.mjs +1 -1
- package/schematics/ng-generate/address-form/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +3 -3
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -1
- package/schematics/ng-generate/dashboard/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +5 -3
- package/schematics/ng-generate/mdc-migration/index_bundled.js +1251 -633
- package/schematics/ng-generate/mdc-migration/index_bundled.js.map +4 -4
- package/schematics/ng-generate/mdc-migration/schema.json +0 -1
- package/schematics/ng-generate/navigation/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +3 -3
- package/schematics/ng-generate/table/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +3 -3
- package/schematics/ng-generate/tree/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +3 -3
- package/slide-toggle/_slide-toggle-theme.scss +16 -28
- package/slide-toggle/index.d.ts +2 -2
- package/slider/_slider-theme.scss +10 -12
- package/slider/index.d.ts +9 -12
- package/snack-bar/index.d.ts +2 -2
- package/stepper/index.d.ts +5 -3
- package/table/index.d.ts +2 -4
- package/tabs/_tabs-common.scss +20 -1
- package/tabs/index.d.ts +14 -7
- package/form-field/_form-field-density.scss +0 -118
- package/form-field/_form-field-sizing.scss +0 -40
|
@@ -12,19 +12,15 @@ $prefix: (mdc, extended-fab);
|
|
|
12
12
|
// = TOKENS NOT USED IN ANGULAR MATERIAL =
|
|
13
13
|
// =============================================================================================
|
|
14
14
|
container-color: null,
|
|
15
|
-
container-elevation: null,
|
|
16
15
|
container-height: null,
|
|
17
|
-
container-shadow-color: null,
|
|
18
16
|
container-shape: null,
|
|
19
17
|
container-surface-tint-layer-color: null,
|
|
20
|
-
focus-container-elevation: null,
|
|
21
18
|
focus-icon-color: null,
|
|
22
19
|
focus-label-text-color: null,
|
|
23
20
|
focus-outline-color: null,
|
|
24
21
|
focus-outline-width: null,
|
|
25
22
|
focus-state-layer-color: null,
|
|
26
23
|
focus-state-layer-opacity: null,
|
|
27
|
-
hover-container-elevation: null,
|
|
28
24
|
hover-icon-color: null,
|
|
29
25
|
hover-label-text-color: null,
|
|
30
26
|
hover-state-layer-color: null,
|
|
@@ -36,7 +32,6 @@ $prefix: (mdc, extended-fab);
|
|
|
36
32
|
lowered-focus-container-elevation: null,
|
|
37
33
|
lowered-hover-container-elevation: null,
|
|
38
34
|
lowered-pressed-container-elevation: null,
|
|
39
|
-
pressed-container-elevation: null,
|
|
40
35
|
pressed-icon-color: null,
|
|
41
36
|
pressed-label-text-color: null,
|
|
42
37
|
pressed-ripple-color: null,
|
|
@@ -48,7 +43,13 @@ $prefix: (mdc, extended-fab);
|
|
|
48
43
|
|
|
49
44
|
// Tokens that can be configured through Angular Material's color theming API.
|
|
50
45
|
@function get-color-tokens($theme) {
|
|
51
|
-
@return (
|
|
46
|
+
@return (
|
|
47
|
+
container-elevation: 6,
|
|
48
|
+
focus-container-elevation: 8,
|
|
49
|
+
hover-container-elevation: 8,
|
|
50
|
+
pressed-container-elevation: 12,
|
|
51
|
+
container-shadow-color: #000,
|
|
52
|
+
);
|
|
52
53
|
}
|
|
53
54
|
|
|
54
55
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
@@ -29,20 +29,16 @@ $ripple-target: '.mdc-fab__ripple';
|
|
|
29
29
|
// =============================================================================================
|
|
30
30
|
// = TOKENS NOT USED IN ANGULAR MATERIAL =
|
|
31
31
|
// =============================================================================================
|
|
32
|
-
container-elevation: null,
|
|
33
32
|
container-height: null,
|
|
34
|
-
container-shadow-color: null,
|
|
35
33
|
container-surface-tint-layer-color: null,
|
|
36
34
|
container-width: null,
|
|
37
35
|
|
|
38
|
-
focus-container-elevation: null,
|
|
39
36
|
focus-icon-color: null,
|
|
40
37
|
focus-outline-color: null,
|
|
41
38
|
focus-outline-width: null,
|
|
42
39
|
focus-state-layer-color: null,
|
|
43
40
|
focus-state-layer-opacity: null,
|
|
44
41
|
|
|
45
|
-
hover-container-elevation: null,
|
|
46
42
|
hover-icon-color: null,
|
|
47
43
|
hover-state-layer-color: null,
|
|
48
44
|
hover-state-layer-opacity: null,
|
|
@@ -52,7 +48,6 @@ $ripple-target: '.mdc-fab__ripple';
|
|
|
52
48
|
lowered-hover-container-elevation: null,
|
|
53
49
|
lowered-pressed-container-elevation: null,
|
|
54
50
|
|
|
55
|
-
pressed-container-elevation: null,
|
|
56
51
|
pressed-icon-color: null,
|
|
57
52
|
pressed-ripple-color: null,
|
|
58
53
|
pressed-ripple-opacity: null,
|
|
@@ -66,6 +61,11 @@ $ripple-target: '.mdc-fab__ripple';
|
|
|
66
61
|
@return (
|
|
67
62
|
// Background color of the FAB.
|
|
68
63
|
container-color: inspection.get-theme-color($theme, background, card),
|
|
64
|
+
container-elevation: 6,
|
|
65
|
+
focus-container-elevation: 8,
|
|
66
|
+
hover-container-elevation: 8,
|
|
67
|
+
pressed-container-elevation: 12,
|
|
68
|
+
container-shadow-color: #000,
|
|
69
69
|
);
|
|
70
70
|
}
|
|
71
71
|
|
|
@@ -17,12 +17,6 @@ $prefix: (mdc, filled-button);
|
|
|
17
17
|
@function get-unthemable-tokens() {
|
|
18
18
|
@return (
|
|
19
19
|
container-shape: 4px,
|
|
20
|
-
container-elevation: 0,
|
|
21
|
-
disabled-container-elevation: 0,
|
|
22
|
-
focus-container-elevation: 0,
|
|
23
|
-
hover-container-elevation: 0,
|
|
24
|
-
keep-touch-target: false,
|
|
25
|
-
pressed-container-elevation: 0,
|
|
26
20
|
|
|
27
21
|
// =============================================================================================
|
|
28
22
|
// = TOKENS NOT USED IN ANGULAR MATERIAL =
|
|
@@ -33,13 +27,14 @@ $prefix: (mdc, filled-button);
|
|
|
33
27
|
hover-state-layer-opacity: null,
|
|
34
28
|
pressed-state-layer-opacity: null,
|
|
35
29
|
container-shadow-color: null,
|
|
30
|
+
container-elevation: null,
|
|
31
|
+
disabled-container-elevation: null,
|
|
32
|
+
focus-container-elevation: null,
|
|
33
|
+
hover-container-elevation: null,
|
|
34
|
+
keep-touch-target: false,
|
|
35
|
+
pressed-container-elevation: null,
|
|
36
36
|
focus-label-text-color: null,
|
|
37
37
|
hover-label-text-color: null,
|
|
38
|
-
label-text-font: null,
|
|
39
|
-
label-text-size: null,
|
|
40
|
-
label-text-tracking: null,
|
|
41
|
-
label-text-transform: null,
|
|
42
|
-
label-text-weight: null,
|
|
43
38
|
pressed-label-text-color: null,
|
|
44
39
|
with-icon-disabled-icon-color: null,
|
|
45
40
|
with-icon-focus-icon-color: null,
|
|
@@ -81,7 +76,13 @@ $prefix: (mdc, filled-button);
|
|
|
81
76
|
|
|
82
77
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
83
78
|
@function get-typography-tokens($theme) {
|
|
84
|
-
@return (
|
|
79
|
+
@return (
|
|
80
|
+
label-text-font: inspection.get-theme-typography($theme, button, font-family),
|
|
81
|
+
label-text-size: inspection.get-theme-typography($theme, button, font-size),
|
|
82
|
+
label-text-tracking: inspection.get-theme-typography($theme, button, letter-spacing),
|
|
83
|
+
label-text-weight: inspection.get-theme-typography($theme, button, font-weight),
|
|
84
|
+
label-text-transform: none,
|
|
85
|
+
);
|
|
85
86
|
}
|
|
86
87
|
|
|
87
88
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
@@ -49,12 +49,6 @@ $prefix: (mdc, outlined-button);
|
|
|
49
49
|
with-icon-focus-icon-color: null,
|
|
50
50
|
with-icon-pressed-icon-color: null,
|
|
51
51
|
with-icon-disabled-icon-color: null,
|
|
52
|
-
|
|
53
|
-
label-text-size: null,
|
|
54
|
-
label-text-font: null,
|
|
55
|
-
label-text-weight: null,
|
|
56
|
-
label-text-tracking: null,
|
|
57
|
-
label-text-transform: null
|
|
58
52
|
);
|
|
59
53
|
}
|
|
60
54
|
|
|
@@ -87,7 +81,13 @@ $prefix: (mdc, outlined-button);
|
|
|
87
81
|
|
|
88
82
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
89
83
|
@function get-typography-tokens($theme) {
|
|
90
|
-
@return (
|
|
84
|
+
@return (
|
|
85
|
+
label-text-font: inspection.get-theme-typography($theme, button, font-family),
|
|
86
|
+
label-text-size: inspection.get-theme-typography($theme, button, font-size),
|
|
87
|
+
label-text-tracking: inspection.get-theme-typography($theme, button, letter-spacing),
|
|
88
|
+
label-text-weight: inspection.get-theme-typography($theme, button, font-weight),
|
|
89
|
+
label-text-transform: none,
|
|
90
|
+
);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
@@ -27,17 +27,6 @@ $prefix: (mdc, protected-button);
|
|
|
27
27
|
focus-state-layer-opacity: null,
|
|
28
28
|
hover-state-layer-opacity: null,
|
|
29
29
|
pressed-state-layer-opacity: null,
|
|
30
|
-
container-shadow-color: null,
|
|
31
|
-
container-elevation: null,
|
|
32
|
-
hover-container-elevation: null,
|
|
33
|
-
disabled-container-elevation: null,
|
|
34
|
-
focus-container-elevation: null,
|
|
35
|
-
pressed-container-elevation: null,
|
|
36
|
-
label-text-font: null,
|
|
37
|
-
label-text-size: null,
|
|
38
|
-
label-text-tracking: null,
|
|
39
|
-
label-text-transform: null,
|
|
40
|
-
label-text-weight: null,
|
|
41
30
|
with-icon-icon-size: null,
|
|
42
31
|
focus-label-text-color: null,
|
|
43
32
|
hover-label-text-color: null,
|
|
@@ -62,7 +51,13 @@ $prefix: (mdc, protected-button);
|
|
|
62
51
|
container-color: inspection.get-theme-color($theme, background, card),
|
|
63
52
|
label-text-color: $on-surface,
|
|
64
53
|
disabled-container-color: rgba($on-surface, 0.12),
|
|
65
|
-
disabled-label-text-color: rgba($on-surface, if($is-dark, 0.5, 0.38))
|
|
54
|
+
disabled-label-text-color: rgba($on-surface, if($is-dark, 0.5, 0.38)),
|
|
55
|
+
container-elevation: 2,
|
|
56
|
+
disabled-container-elevation: 0,
|
|
57
|
+
focus-container-elevation: 4,
|
|
58
|
+
hover-container-elevation: 4,
|
|
59
|
+
pressed-container-elevation: 8,
|
|
60
|
+
container-shadow-color: #000,
|
|
66
61
|
);
|
|
67
62
|
}
|
|
68
63
|
|
|
@@ -80,7 +75,13 @@ $prefix: (mdc, protected-button);
|
|
|
80
75
|
|
|
81
76
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
82
77
|
@function get-typography-tokens($theme) {
|
|
83
|
-
@return (
|
|
78
|
+
@return (
|
|
79
|
+
label-text-font: inspection.get-theme-typography($theme, button, font-family),
|
|
80
|
+
label-text-size: inspection.get-theme-typography($theme, button, font-size),
|
|
81
|
+
label-text-tracking: inspection.get-theme-typography($theme, button, letter-spacing),
|
|
82
|
+
label-text-weight: inspection.get-theme-typography($theme, button, font-weight),
|
|
83
|
+
label-text-transform: none,
|
|
84
|
+
);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
@@ -17,17 +17,6 @@ $prefix: (mdc, text-button);
|
|
|
17
17
|
@return (
|
|
18
18
|
container-shape: 4px,
|
|
19
19
|
|
|
20
|
-
// TODO: `container-height` is also included so it has a default value to
|
|
21
|
-
// prevent the buttons from collapsing if a density mixin isn't included.
|
|
22
|
-
container-height: 36px,
|
|
23
|
-
|
|
24
|
-
// TODO: handle these through the typography styles eventually.
|
|
25
|
-
label-text-font: null,
|
|
26
|
-
label-text-size: null,
|
|
27
|
-
label-text-tracking: null,
|
|
28
|
-
label-text-transform: null,
|
|
29
|
-
label-text-weight: null,
|
|
30
|
-
|
|
31
20
|
// =============================================================================================
|
|
32
21
|
// = TOKENS NOT USED IN ANGULAR MATERIAL =
|
|
33
22
|
// =============================================================================================
|
|
@@ -74,7 +63,13 @@ $prefix: (mdc, text-button);
|
|
|
74
63
|
|
|
75
64
|
// Tokens that can be configured through Angular Material's typography theming API.
|
|
76
65
|
@function get-typography-tokens($theme) {
|
|
77
|
-
@return (
|
|
66
|
+
@return (
|
|
67
|
+
label-text-font: inspection.get-theme-typography($theme, button, font-family),
|
|
68
|
+
label-text-size: inspection.get-theme-typography($theme, button, font-size),
|
|
69
|
+
label-text-tracking: inspection.get-theme-typography($theme, button, letter-spacing),
|
|
70
|
+
label-text-weight: inspection.get-theme-typography($theme, button, font-weight),
|
|
71
|
+
label-text-transform: none,
|
|
72
|
+
);
|
|
78
73
|
}
|
|
79
74
|
|
|
80
75
|
// Tokens that can be configured through Angular Material's density theming API.
|
|
@@ -17,10 +17,10 @@ export class MatAutocompleteOrigin {
|
|
|
17
17
|
elementRef) {
|
|
18
18
|
this.elementRef = elementRef;
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: MatAutocompleteOrigin, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: MatAutocompleteOrigin, isStandalone: true, selector: "[matAutocompleteOrigin]", exportAs: ["matAutocompleteOrigin"], ngImport: i0 }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: MatAutocompleteOrigin, decorators: [{
|
|
24
24
|
type: Directive,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: '[matAutocompleteOrigin]',
|