@angular/material 21.0.0-next.0 → 21.0.0-next.2
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 +1 -1
- package/autocomplete/index.d.ts +1 -23
- package/bottom-sheet/index.d.ts +1 -10
- package/button/index.d.ts +1 -7
- package/button-toggle/index.d.ts +1 -1
- package/button-toggle.d.d.ts +1 -7
- package/checkbox/index.d.ts +1 -7
- package/chips/_m3-chip.scss +5 -2
- package/chips/index.d.ts +19 -18
- package/core/index.d.ts +1 -1
- package/core/tokens/_classes.scss +40 -38
- package/date-adapter.d.d.ts +1 -7
- package/datepicker/index.d.ts +2 -55
- package/dialog/index.d.ts +1 -23
- package/expansion/index.d.ts +1 -36
- package/fesm2022/animation.mjs.map +1 -1
- package/fesm2022/autocomplete/testing.mjs.map +1 -1
- package/fesm2022/autocomplete.mjs +17 -45
- package/fesm2022/autocomplete.mjs.map +1 -1
- package/fesm2022/badge/testing.mjs.map +1 -1
- package/fesm2022/badge.mjs +10 -10
- package/fesm2022/badge.mjs.map +1 -1
- package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
- package/fesm2022/bottom-sheet.mjs +11 -92
- 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 +15 -23
- package/fesm2022/button-toggle.mjs.map +1 -1
- package/fesm2022/button.mjs +19 -27
- package/fesm2022/button.mjs.map +1 -1
- package/fesm2022/card/testing.mjs.map +1 -1
- package/fesm2022/card.mjs +46 -46
- package/fesm2022/card.mjs.map +1 -1
- package/fesm2022/checkbox/testing.mjs.map +1 -1
- package/fesm2022/checkbox.mjs +17 -26
- package/fesm2022/checkbox.mjs.map +1 -1
- package/fesm2022/chips/testing.mjs.map +1 -1
- package/fesm2022/chips.mjs +123 -111
- package/fesm2022/chips.mjs.map +1 -1
- package/fesm2022/common-module.mjs +4 -4
- package/fesm2022/common-module.mjs.map +1 -1
- package/fesm2022/core/testing.mjs.map +1 -1
- package/fesm2022/core.mjs +12 -13
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/date-formats.mjs +2 -10
- package/fesm2022/date-formats.mjs.map +1 -1
- package/fesm2022/date-range-input-harness.mjs.map +1 -1
- package/fesm2022/datepicker/testing.mjs.map +1 -1
- package/fesm2022/datepicker.mjs +109 -260
- package/fesm2022/datepicker.mjs.map +1 -1
- package/fesm2022/dialog/testing.mjs +5 -5
- package/fesm2022/dialog/testing.mjs.map +1 -1
- package/fesm2022/dialog.mjs +882 -114
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/divider/testing.mjs.map +1 -1
- package/fesm2022/divider.mjs +7 -7
- package/fesm2022/divider.mjs.map +1 -1
- package/fesm2022/error-options.mjs +6 -6
- package/fesm2022/error-options.mjs.map +1 -1
- package/fesm2022/error-state.mjs.map +1 -1
- package/fesm2022/expansion/testing.mjs.map +1 -1
- package/fesm2022/expansion.mjs +26 -128
- 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 +37 -49
- package/fesm2022/form-field.mjs.map +1 -1
- package/fesm2022/form-field2.mjs +30 -30
- package/fesm2022/form-field2.mjs.map +1 -1
- package/fesm2022/grid-list/testing.mjs.map +1 -1
- package/fesm2022/grid-list.mjs +22 -22
- 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-button.mjs +6 -6
- package/fesm2022/icon-button.mjs.map +1 -1
- package/fesm2022/icon-registry.mjs +5 -32
- package/fesm2022/icon-registry.mjs.map +1 -1
- package/fesm2022/icon.mjs +18 -24
- package/fesm2022/icon.mjs.map +1 -1
- package/fesm2022/input/testing.mjs.map +1 -1
- package/fesm2022/input-harness.mjs.map +1 -1
- package/fesm2022/input-value-accessor.mjs.map +1 -1
- package/fesm2022/input.mjs +8 -8
- package/fesm2022/input.mjs.map +1 -1
- package/fesm2022/internal-form-field.mjs +3 -3
- package/fesm2022/internal-form-field.mjs.map +1 -1
- package/fesm2022/line.mjs +7 -7
- package/fesm2022/line.mjs.map +1 -1
- package/fesm2022/list/testing.mjs.map +1 -1
- package/fesm2022/list.mjs +49 -49
- 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 +26 -173
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/option-harness.mjs.map +1 -1
- package/fesm2022/option-module.mjs +4 -4
- package/fesm2022/option-module.mjs.map +1 -1
- package/fesm2022/option.mjs +6 -6
- package/fesm2022/option.mjs.map +1 -1
- package/fesm2022/paginator/testing.mjs.map +1 -1
- package/fesm2022/paginator.mjs +18 -37
- package/fesm2022/paginator.mjs.map +1 -1
- package/fesm2022/progress-bar/testing.mjs.map +1 -1
- package/fesm2022/progress-bar.mjs +20 -23
- package/fesm2022/progress-bar.mjs.map +1 -1
- package/fesm2022/progress-spinner/testing.mjs.map +1 -1
- package/fesm2022/progress-spinner.mjs +9 -17
- package/fesm2022/progress-spinner.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox-module.mjs +4 -4
- package/fesm2022/pseudo-checkbox-module.mjs.map +1 -1
- package/fesm2022/pseudo-checkbox.mjs +3 -3
- package/fesm2022/pseudo-checkbox.mjs.map +1 -1
- package/fesm2022/public-api.mjs.map +1 -1
- package/fesm2022/radio/testing.mjs.map +1 -1
- package/fesm2022/radio.mjs +14 -22
- package/fesm2022/radio.mjs.map +1 -1
- package/fesm2022/ripple-loader.mjs +3 -3
- package/fesm2022/ripple-loader.mjs.map +1 -1
- package/fesm2022/ripple-module.mjs +4 -4
- package/fesm2022/ripple-module.mjs.map +1 -1
- package/fesm2022/ripple.mjs +8 -8
- package/fesm2022/ripple.mjs.map +1 -1
- package/fesm2022/select/testing.mjs.map +1 -1
- package/fesm2022/select.mjs +1293 -90
- package/fesm2022/select.mjs.map +1 -1
- package/fesm2022/sidenav/testing.mjs.map +1 -1
- package/fesm2022/sidenav.mjs +24 -110
- package/fesm2022/sidenav.mjs.map +1 -1
- package/fesm2022/slide-toggle/testing.mjs.map +1 -1
- package/fesm2022/slide-toggle.mjs +7 -7
- package/fesm2022/slide-toggle.mjs.map +1 -1
- package/fesm2022/slider/testing.mjs.map +1 -1
- package/fesm2022/slider.mjs +16 -16
- package/fesm2022/slider.mjs.map +1 -1
- package/fesm2022/snack-bar/testing.mjs.map +1 -1
- package/fesm2022/snack-bar.mjs +24 -102
- package/fesm2022/snack-bar.mjs.map +1 -1
- package/fesm2022/sort/testing.mjs.map +1 -1
- package/fesm2022/sort.mjs +20 -344
- package/fesm2022/sort.mjs.map +1 -1
- package/fesm2022/stepper/testing.mjs.map +1 -1
- package/fesm2022/stepper.mjs +34 -201
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/structural-styles.mjs +3 -3
- package/fesm2022/structural-styles.mjs.map +1 -1
- package/fesm2022/table/testing.mjs.map +1 -1
- package/fesm2022/table.mjs +55 -55
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/tabs/testing.mjs.map +1 -1
- package/fesm2022/tabs.mjs +51 -196
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/timepicker/testing.mjs.map +1 -1
- package/fesm2022/timepicker.mjs +13 -13
- package/fesm2022/timepicker.mjs.map +1 -1
- package/fesm2022/toolbar/testing.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +10 -10
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tooltip/testing.mjs.map +1 -1
- package/fesm2022/tooltip.mjs +21 -52
- package/fesm2022/tooltip.mjs.map +1 -1
- package/fesm2022/{tooltip-module.mjs → tooltip2.mjs} +17 -60
- package/fesm2022/tooltip2.mjs.map +1 -0
- package/fesm2022/tree/testing.mjs.map +1 -1
- package/fesm2022/tree.mjs +25 -25
- package/fesm2022/tree.mjs.map +1 -1
- package/form-field/index.d.ts +1 -11
- package/icon/index.d.ts +2 -2
- package/icon-module.d.d.ts +1 -7
- package/icon-registry.d.d.ts +2 -18
- package/menu/index.d.ts +1 -42
- package/package.json +2 -2
- package/paginator/index.d.ts +3 -3
- package/paginator.d.d.ts +2 -18
- package/progress-bar/index.d.ts +1 -7
- package/progress-spinner/index.d.ts +1 -1
- package/progress-spinner.d.d.ts +3 -9
- package/radio/index.d.ts +1 -7
- package/ripple.d.d.ts +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/index_bundled.js +7 -3
- package/schematics/ng-update/index_bundled.js.map +1 -1
- package/select/index.d.ts +439 -27
- package/sidenav/index.d.ts +1 -17
- package/snack-bar/index.d.ts +1 -17
- package/sort/index.d.ts +2 -33
- package/stepper/index.d.ts +2 -29
- package/tabs/index.d.ts +1 -18
- package/tooltip/index.d.ts +302 -16
- package/fesm2022/dialog-module.mjs +0 -891
- package/fesm2022/dialog-module.mjs.map +0 -1
- package/fesm2022/form-field-module.mjs +0 -39
- package/fesm2022/form-field-module.mjs.map +0 -1
- package/fesm2022/select-module.mjs +0 -1318
- package/fesm2022/select-module.mjs.map +0 -1
- package/fesm2022/tooltip-module.mjs.map +0 -1
- package/select-module.d.d.ts +0 -456
- package/tooltip-module.d.d.ts +0 -329
package/_index.scss
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@forward 'core/tokens/system' show system-level-colors,
|
|
21
21
|
system-level-typography, system-level-elevation, system-level-shape,
|
|
22
22
|
system-level-motion, system-level-state, theme, theme-overrides, m2-theme;
|
|
23
|
-
@forward 'core/tokens/classes' show
|
|
23
|
+
@forward 'core/tokens/classes' show system-classes;
|
|
24
24
|
|
|
25
25
|
// Private/Internal
|
|
26
26
|
@forward './core/density/private/all-density' show all-component-densities;
|
package/autocomplete/index.d.ts
CHANGED
|
@@ -57,12 +57,6 @@ interface MatAutocompleteDefaultOptions {
|
|
|
57
57
|
}
|
|
58
58
|
/** Injection token to be used to override the default options for `mat-autocomplete`. */
|
|
59
59
|
declare const MAT_AUTOCOMPLETE_DEFAULT_OPTIONS: InjectionToken<MatAutocompleteDefaultOptions>;
|
|
60
|
-
/**
|
|
61
|
-
* @docs-private
|
|
62
|
-
* @deprecated No longer used, will be removed.
|
|
63
|
-
* @breaking-change 21.0.0
|
|
64
|
-
*/
|
|
65
|
-
declare function MAT_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY(): MatAutocompleteDefaultOptions;
|
|
66
60
|
/** Autocomplete component. */
|
|
67
61
|
declare class MatAutocomplete implements AfterContentInit, OnDestroy {
|
|
68
62
|
private _changeDetectorRef;
|
|
@@ -194,22 +188,6 @@ declare const MAT_AUTOCOMPLETE_VALUE_ACCESSOR: any;
|
|
|
194
188
|
declare function getMatAutocompleteMissingPanelError(): Error;
|
|
195
189
|
/** Injection token that determines the scroll handling while the autocomplete panel is open. */
|
|
196
190
|
declare const MAT_AUTOCOMPLETE_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
197
|
-
/**
|
|
198
|
-
* @docs-private
|
|
199
|
-
* @deprecated No longer used, will be removed.
|
|
200
|
-
* @breaking-change 21.0.0
|
|
201
|
-
*/
|
|
202
|
-
declare function MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;
|
|
203
|
-
/**
|
|
204
|
-
* @docs-private
|
|
205
|
-
* @deprecated No longer used, will be removed.
|
|
206
|
-
* @breaking-change 21.0.0
|
|
207
|
-
*/
|
|
208
|
-
declare const MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
209
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
210
|
-
deps: any[];
|
|
211
|
-
useFactory: typeof MAT_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY;
|
|
212
|
-
};
|
|
213
191
|
/** Base class with all of the `MatAutocompleteTrigger` functionality. */
|
|
214
192
|
declare class MatAutocompleteTrigger implements ControlValueAccessor, AfterViewInit, OnChanges, OnDestroy {
|
|
215
193
|
private _environmentInjector;
|
|
@@ -439,5 +417,5 @@ declare class MatAutocompleteModule {
|
|
|
439
417
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatAutocompleteModule>;
|
|
440
418
|
}
|
|
441
419
|
|
|
442
|
-
export { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS,
|
|
420
|
+
export { MAT_AUTOCOMPLETE_DEFAULT_OPTIONS, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_VALUE_ACCESSOR, MatAutocomplete, MatAutocompleteModule, MatAutocompleteOrigin, MatAutocompleteSelectedEvent, MatAutocompleteTrigger, MatOptgroup, MatOption, getMatAutocompleteMissingPanelError };
|
|
443
421
|
export type { MatAutocompleteActivatedEvent, MatAutocompleteDefaultOptions };
|
package/bottom-sheet/index.d.ts
CHANGED
|
@@ -186,14 +186,5 @@ declare class MatBottomSheet implements OnDestroy {
|
|
|
186
186
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatBottomSheet>;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
|
|
190
|
-
* Animations used by the Material bottom sheet.
|
|
191
|
-
* @deprecated No longer used. Will be removed.
|
|
192
|
-
* @breaking-change 21.0.0
|
|
193
|
-
*/
|
|
194
|
-
declare const matBottomSheetAnimations: {
|
|
195
|
-
readonly bottomSheetState: any;
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
export { MAT_BOTTOM_SHEET_DATA, MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, MatBottomSheet, MatBottomSheetConfig, MatBottomSheetContainer, MatBottomSheetModule, MatBottomSheetRef, matBottomSheetAnimations };
|
|
189
|
+
export { MAT_BOTTOM_SHEET_DATA, MAT_BOTTOM_SHEET_DEFAULT_OPTIONS, MatBottomSheet, MatBottomSheetConfig, MatBottomSheetContainer, MatBottomSheetModule, MatBottomSheetRef };
|
|
199
190
|
export type { AutoFocusTarget };
|
package/button/index.d.ts
CHANGED
|
@@ -138,12 +138,6 @@ interface MatFabDefaultOptions {
|
|
|
138
138
|
}
|
|
139
139
|
/** Injection token to be used to override the default options for FAB. */
|
|
140
140
|
declare const MAT_FAB_DEFAULT_OPTIONS: InjectionToken<MatFabDefaultOptions>;
|
|
141
|
-
/**
|
|
142
|
-
* @docs-private
|
|
143
|
-
* @deprecated No longer used, will be removed.
|
|
144
|
-
* @breaking-change 21.0.0
|
|
145
|
-
*/
|
|
146
|
-
declare function MAT_FAB_DEFAULT_OPTIONS_FACTORY(): MatFabDefaultOptions;
|
|
147
141
|
/**
|
|
148
142
|
* Material Design floating action button (FAB) component. These buttons represent the primary
|
|
149
143
|
* or most common action for users to interact with.
|
|
@@ -213,5 +207,5 @@ declare class MatButtonModule {
|
|
|
213
207
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatButtonModule>;
|
|
214
208
|
}
|
|
215
209
|
|
|
216
|
-
export { MAT_BUTTON_CONFIG, MAT_FAB_DEFAULT_OPTIONS,
|
|
210
|
+
export { MAT_BUTTON_CONFIG, MAT_FAB_DEFAULT_OPTIONS, MatAnchor, MatButton, MatButtonModule, MatFabAnchor, MatFabButton, MatIconAnchor, MatIconButton, MatMiniFabAnchor, MatMiniFabButton };
|
|
217
211
|
export type { MatButtonAppearance, MatButtonConfig, MatFabDefaultOptions };
|
package/button-toggle/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MatButtonToggleGroup, MatButtonToggle } from '../button-toggle.d.js';
|
|
2
|
-
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP,
|
|
2
|
+
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggleAppearance, MatButtonToggleChange, MatButtonToggleDefaultOptions, ToggleType } from '../button-toggle.d.js';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { MatCommonModule } from '../common-module.d.js';
|
|
5
5
|
import { MatRippleModule } from '../ripple-module.d.js';
|
package/button-toggle.d.d.ts
CHANGED
|
@@ -32,12 +32,6 @@ interface MatButtonToggleDefaultOptions {
|
|
|
32
32
|
* default options for all button toggles within an app.
|
|
33
33
|
*/
|
|
34
34
|
declare const MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS: InjectionToken<MatButtonToggleDefaultOptions>;
|
|
35
|
-
/**
|
|
36
|
-
* @docs-private
|
|
37
|
-
* @deprecated No longer used, will be removed.
|
|
38
|
-
* @breaking-change 21.0.0
|
|
39
|
-
*/
|
|
40
|
-
declare function MAT_BUTTON_TOGGLE_GROUP_DEFAULT_OPTIONS_FACTORY(): MatButtonToggleDefaultOptions;
|
|
41
35
|
/**
|
|
42
36
|
* Injection token that can be used to reference instances of `MatButtonToggleGroup`.
|
|
43
37
|
* It serves as alternative token to the actual `MatButtonToggleGroup` class which
|
|
@@ -254,5 +248,5 @@ declare class MatButtonToggle implements OnInit, AfterViewInit, OnDestroy {
|
|
|
254
248
|
static ngAcceptInputType_disabledInteractive: unknown;
|
|
255
249
|
}
|
|
256
250
|
|
|
257
|
-
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP,
|
|
251
|
+
export { MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS, MAT_BUTTON_TOGGLE_GROUP, MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR, MatButtonToggle, MatButtonToggleChange, MatButtonToggleGroup };
|
|
258
252
|
export type { MatButtonToggleAppearance, MatButtonToggleDefaultOptions, ToggleType };
|
package/checkbox/index.d.ts
CHANGED
|
@@ -198,12 +198,6 @@ interface MatCheckboxDefaultOptions {
|
|
|
198
198
|
}
|
|
199
199
|
/** Injection token to be used to override the default options for `mat-checkbox`. */
|
|
200
200
|
declare const MAT_CHECKBOX_DEFAULT_OPTIONS: InjectionToken<MatCheckboxDefaultOptions>;
|
|
201
|
-
/**
|
|
202
|
-
* @docs-private
|
|
203
|
-
* @deprecated No longer used, will be removed.
|
|
204
|
-
* @breaking-change 21.0.0
|
|
205
|
-
*/
|
|
206
|
-
declare function MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY(): MatCheckboxDefaultOptions;
|
|
207
201
|
/**
|
|
208
202
|
* Checkbox click action when user click on input element.
|
|
209
203
|
* noop: Do not toggle checked or indeterminate.
|
|
@@ -219,5 +213,5 @@ declare class MatCheckboxModule {
|
|
|
219
213
|
static ɵinj: i0.ɵɵInjectorDeclaration<MatCheckboxModule>;
|
|
220
214
|
}
|
|
221
215
|
|
|
222
|
-
export { MAT_CHECKBOX_DEFAULT_OPTIONS,
|
|
216
|
+
export { MAT_CHECKBOX_DEFAULT_OPTIONS, MatCheckbox, MatCheckboxChange, MatCheckboxModule, TransitionCheckState };
|
|
223
217
|
export type { MatCheckboxClickAction, MatCheckboxDefaultOptions };
|
package/chips/_m3-chip.scss
CHANGED
|
@@ -49,8 +49,11 @@
|
|
|
49
49
|
chip-selected-label-text-color: map.get($system, on-secondary-container),
|
|
50
50
|
chip-selected-trailing-action-state-layer-color: map.get($system, on-secondary-container),
|
|
51
51
|
chip-selected-trailing-icon-color: map.get($system, on-secondary-container),
|
|
52
|
-
|
|
53
|
-
chip-trailing-action-
|
|
52
|
+
// Parent chips will show focus/hover state as well so need stronger focus/hover styling here
|
|
53
|
+
chip-trailing-action-focus-state-layer-opacity:
|
|
54
|
+
calc(map.get($system, focus-state-layer-opacity) * 2),
|
|
55
|
+
chip-trailing-action-hover-state-layer-opacity:
|
|
56
|
+
calc(map.get($system, hover-state-layer-opacity) * 2),
|
|
54
57
|
chip-trailing-action-state-layer-color: map.get($system, on-surface-variant),
|
|
55
58
|
chip-with-icon-disabled-icon-color: map.get($system, on-surface),
|
|
56
59
|
chip-with-icon-icon-color: map.get($system, on-surface-variant),
|
package/chips/index.d.ts
CHANGED
|
@@ -12,10 +12,10 @@ import '../ripple.d.js';
|
|
|
12
12
|
import '@angular/cdk/platform';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* A non-interactive section of a chip.
|
|
16
16
|
* @docs-private
|
|
17
17
|
*/
|
|
18
|
-
declare class
|
|
18
|
+
declare class MatChipContent {
|
|
19
19
|
_elementRef: ElementRef<HTMLElement>;
|
|
20
20
|
protected _parentChip: {
|
|
21
21
|
_handlePrimaryActionInteraction(): void;
|
|
@@ -24,8 +24,6 @@ declare class MatChipAction {
|
|
|
24
24
|
_edit(): void;
|
|
25
25
|
_isEditing?: boolean;
|
|
26
26
|
};
|
|
27
|
-
/** Whether the action is interactive. */
|
|
28
|
-
isInteractive: boolean;
|
|
29
27
|
/** Whether this is the primary action in the chip. */
|
|
30
28
|
_isPrimary: boolean;
|
|
31
29
|
/** Whether this is the leading action in the chip. */
|
|
@@ -44,18 +42,26 @@ declare class MatChipAction {
|
|
|
44
42
|
* Determine the value of the disabled attribute for this chip action.
|
|
45
43
|
*/
|
|
46
44
|
protected _getDisabledAttribute(): string | null;
|
|
45
|
+
constructor(...args: unknown[]);
|
|
46
|
+
focus(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipContent, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipContent, "[matChipContent]", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "_allowFocusWhenDisabled": { "alias": "_allowFocusWhenDisabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
static ngAcceptInputType_disabled: unknown;
|
|
50
|
+
static ngAcceptInputType_tabIndex: unknown;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Interactive section of a chip.
|
|
54
|
+
* @docs-private
|
|
55
|
+
*/
|
|
56
|
+
declare class MatChipAction extends MatChipContent {
|
|
47
57
|
/**
|
|
48
58
|
* Determine the value of the tabindex attribute for this chip action.
|
|
49
59
|
*/
|
|
50
60
|
protected _getTabindex(): string | null;
|
|
51
|
-
constructor(...args: unknown[]);
|
|
52
|
-
focus(): void;
|
|
53
61
|
_handleClick(event: MouseEvent): void;
|
|
54
62
|
_handleKeydown(event: KeyboardEvent): void;
|
|
55
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipAction, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, {
|
|
57
|
-
static ngAcceptInputType_disabled: unknown;
|
|
58
|
-
static ngAcceptInputType_tabIndex: unknown;
|
|
64
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAction, "[matChipAction]", never, {}, {}, never, never, true, never>;
|
|
59
65
|
}
|
|
60
66
|
|
|
61
67
|
/** Avatar image within a chip. */
|
|
@@ -64,12 +70,7 @@ declare class MatChipAvatar {
|
|
|
64
70
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipAvatar, "mat-chip-avatar, [matChipAvatar]", never, {}, {}, never, never, true, never>;
|
|
65
71
|
}
|
|
66
72
|
/** Non-interactive trailing icon in a chip. */
|
|
67
|
-
declare class MatChipTrailingIcon extends
|
|
68
|
-
/**
|
|
69
|
-
* MDC considers all trailing actions as a remove icon,
|
|
70
|
-
* but we support non-interactive trailing icons.
|
|
71
|
-
*/
|
|
72
|
-
isInteractive: boolean;
|
|
73
|
+
declare class MatChipTrailingIcon extends MatChipContent {
|
|
73
74
|
_isPrimary: boolean;
|
|
74
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatChipTrailingIcon, never>;
|
|
75
76
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MatChipTrailingIcon, "mat-chip-trailing-icon, [matChipTrailingIcon]", never, {}, {}, never, never, true, never>;
|
|
@@ -498,7 +499,7 @@ declare class MatChipSet implements AfterViewInit, OnDestroy {
|
|
|
498
499
|
* Determines if key manager should avoid putting a given chip action in the tab index. Skip
|
|
499
500
|
* non-interactive and disabled actions since the user can't do anything with them.
|
|
500
501
|
*/
|
|
501
|
-
protected _skipPredicate(action:
|
|
502
|
+
protected _skipPredicate(action: MatChipContent): boolean;
|
|
502
503
|
/** Listens to changes in the chip set and syncs up the state of the individual chips. */
|
|
503
504
|
private _trackChipSetChanges;
|
|
504
505
|
/** Starts tracking the destroyed chips in order to capture the focused one. */
|
|
@@ -694,9 +695,10 @@ declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterV
|
|
|
694
695
|
*/
|
|
695
696
|
readonly controlType: string;
|
|
696
697
|
/** The chip input to add more chips */
|
|
697
|
-
protected _chipInput
|
|
698
|
+
protected _chipInput?: MatChipTextControl;
|
|
698
699
|
protected _defaultRole: string;
|
|
699
700
|
private _errorStateTracker;
|
|
701
|
+
private _uid;
|
|
700
702
|
/**
|
|
701
703
|
* List of element ids to propagate to the chipInput's aria-describedby attribute.
|
|
702
704
|
*/
|
|
@@ -780,7 +782,6 @@ declare class MatChipGrid extends MatChipSet implements AfterContentInit, AfterV
|
|
|
780
782
|
set errorState(value: boolean);
|
|
781
783
|
constructor(...args: unknown[]);
|
|
782
784
|
ngAfterContentInit(): void;
|
|
783
|
-
ngAfterViewInit(): void;
|
|
784
785
|
ngDoCheck(): void;
|
|
785
786
|
ngOnDestroy(): void;
|
|
786
787
|
/** Associates an HTML input element with this chip grid. */
|
package/core/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { MAT_RIPPLE_GLOBAL_OPTIONS, MatRipple, RippleAnimationConfig, RippleConf
|
|
|
15
15
|
export { MatRippleModule } from '../ripple-module.d.js';
|
|
16
16
|
export { MatPseudoCheckbox, MatPseudoCheckboxModule, MatPseudoCheckboxState } from '../pseudo-checkbox-module.d.js';
|
|
17
17
|
import { DateAdapter } from '../date-adapter.d.js';
|
|
18
|
-
export { MAT_DATE_LOCALE
|
|
18
|
+
export { MAT_DATE_LOCALE } from '../date-adapter.d.js';
|
|
19
19
|
import '@angular/cdk/bidi';
|
|
20
20
|
import '@angular/cdk/a11y';
|
|
21
21
|
import '@angular/cdk/platform';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
// Utility classes that can be used to style elements with the most commonly used tokens in
|
|
2
|
-
// Material Design. Includes color, typography, elevation, and shape.
|
|
3
|
-
|
|
4
|
-
// Use caution depending on this.
|
|
5
|
-
@mixin utility-classes() {
|
|
1
|
+
// Utility classes that can be used to style elements with the most commonly used system tokens in
|
|
2
|
+
// Material Design. Includes color, typography, elevation, state, and shape.
|
|
3
|
+
@mixin system-classes() {
|
|
6
4
|
|
|
7
5
|
// ***********************************************************************************************
|
|
8
|
-
// Background
|
|
6
|
+
// Background - Apply background color and a contrastful corresponding text color
|
|
7
|
+
// See https://m3.material.io/styles/color/roles for guidance.
|
|
9
8
|
// ***********************************************************************************************
|
|
10
9
|
|
|
11
10
|
// Styles an element with a primary color background and applies an accessible contrasting
|
|
@@ -137,7 +136,7 @@
|
|
|
137
136
|
|
|
138
137
|
|
|
139
138
|
// ***********************************************************************************************
|
|
140
|
-
// Text
|
|
139
|
+
// Text - Apply colors to text
|
|
141
140
|
// ***********************************************************************************************
|
|
142
141
|
|
|
143
142
|
// Styles the text of an element with the primary color. Use for text that needs to stand out.
|
|
@@ -166,12 +165,13 @@
|
|
|
166
165
|
|
|
167
166
|
|
|
168
167
|
// ***********************************************************************************************
|
|
169
|
-
// Font
|
|
168
|
+
// Font - Apply typography styles
|
|
169
|
+
// See https://m3.material.io/styles/typography/applying-type for guidance.
|
|
170
170
|
// ***********************************************************************************************
|
|
171
171
|
|
|
172
172
|
// Sets the font to the body small typeface. Use for small body text, such as captions. In Angular
|
|
173
173
|
// Material, this is used for the subscript text in a form field and the text in a paginator.
|
|
174
|
-
.mat-font-body-
|
|
174
|
+
.mat-font-body-sm {
|
|
175
175
|
font: var(--mat-sys-body-small);
|
|
176
176
|
letter-spacing: var(--mat-sys-body-small-tracking);
|
|
177
177
|
}
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
// Sets the font to the body medium typeface. Use for medium body text, this is the default
|
|
180
180
|
// body font. In Angular Material, this is used for the text in a table row and the supporting
|
|
181
181
|
// text in a dialog.
|
|
182
|
-
.mat-font-body-
|
|
182
|
+
.mat-font-body-md {
|
|
183
183
|
font: var(--mat-sys-body-medium);
|
|
184
184
|
letter-spacing: var(--mat-sys-body-medium-tracking);
|
|
185
185
|
}
|
|
@@ -187,54 +187,54 @@
|
|
|
187
187
|
// Sets the font to the body large typeface. Use for large body text, such as an introductory
|
|
188
188
|
// paragraph. In Angular Material, this is used for the text in a list item and the text in a
|
|
189
189
|
// select trigger.
|
|
190
|
-
.mat-font-body-
|
|
190
|
+
.mat-font-body-lg {
|
|
191
191
|
font: var(--mat-sys-body-large);
|
|
192
192
|
letter-spacing: var(--mat-sys-body-large-tracking);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
// Sets the font to the display small typeface. Use for small display text, such as a date.
|
|
196
|
-
.mat-font-display-
|
|
196
|
+
.mat-font-display-sm {
|
|
197
197
|
font: var(--mat-sys-display-small);
|
|
198
198
|
letter-spacing: var(--mat-sys-display-small-tracking);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
// Sets the font to the display medium typeface. Use for medium display text, such as a hero
|
|
202
202
|
// title.
|
|
203
|
-
.mat-font-display-
|
|
203
|
+
.mat-font-display-md {
|
|
204
204
|
font: var(--mat-sys-display-medium);
|
|
205
205
|
letter-spacing: var(--mat-sys-display-medium-tracking);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
// Sets the font to the display large typeface. Use for large display text, such as a hero title.
|
|
209
|
-
.mat-font-display-
|
|
209
|
+
.mat-font-display-lg {
|
|
210
210
|
font: var(--mat-sys-display-large);
|
|
211
211
|
letter-spacing: var(--mat-sys-display-large-tracking);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
// Sets the font to the headline small typeface. Use for small headlines, such as a page title. In
|
|
215
215
|
// Angular Material, this is used for the headline in a dialog.
|
|
216
|
-
.mat-font-headline-
|
|
216
|
+
.mat-font-headline-sm {
|
|
217
217
|
font: var(--mat-sys-headline-small);
|
|
218
218
|
letter-spacing: var(--mat-sys-headline-small-tracking);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
// Sets the font to the headline medium typeface. Use for medium headlines, such as a section
|
|
222
222
|
// title.
|
|
223
|
-
.mat-font-headline-
|
|
223
|
+
.mat-font-headline-md {
|
|
224
224
|
font: var(--mat-sys-headline-medium);
|
|
225
225
|
letter-spacing: var(--mat-sys-headline-medium-tracking);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
// Sets the font to the headline large typeface. Use for large headlines, such as a page title on
|
|
229
229
|
// a large screen.
|
|
230
|
-
.mat-font-headline-
|
|
230
|
+
.mat-font-headline-lg {
|
|
231
231
|
font: var(--mat-sys-headline-large);
|
|
232
232
|
letter-spacing: var(--mat-sys-headline-large-tracking);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
// Sets the font to the title small typeface. Use for small titles, such as a card title. In
|
|
236
236
|
// Angular Material, this is used for the header of a table and the label of an option group.
|
|
237
|
-
.mat-font-title-
|
|
237
|
+
.mat-font-title-sm {
|
|
238
238
|
font: var(--mat-sys-title-small);
|
|
239
239
|
letter-spacing: var(--mat-sys-title-small-tracking);
|
|
240
240
|
}
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
// Sets the font to the title medium typeface. Use for medium titles, such as a dialog title
|
|
243
243
|
// or the primary text in a list item. In Angular Material, this is used for the subtitle
|
|
244
244
|
// of a card and the header of an expansion panel.
|
|
245
|
-
.mat-font-title-
|
|
245
|
+
.mat-font-title-md {
|
|
246
246
|
font: var(--mat-sys-title-medium);
|
|
247
247
|
letter-spacing: var(--mat-sys-title-medium-tracking);
|
|
248
248
|
}
|
|
@@ -250,45 +250,46 @@
|
|
|
250
250
|
// Sets the font to the title large typeface. Use for large titles, such as a page title on a
|
|
251
251
|
// small screen. In Angular Material, this is used for the title of a card and the title of a
|
|
252
252
|
// toolbar.
|
|
253
|
-
.mat-font-title-
|
|
253
|
+
.mat-font-title-lg {
|
|
254
254
|
font: var(--mat-sys-title-large);
|
|
255
255
|
letter-spacing: var(--mat-sys-title-large-tracking);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
|
|
259
259
|
// ***********************************************************************************************
|
|
260
|
-
// Corner
|
|
260
|
+
// Corner - Apply varying amounts of a border radius
|
|
261
|
+
// See https://m3.material.io/styles/shape/corner-radius-scale for guidance.
|
|
261
262
|
// ***********************************************************************************************
|
|
262
263
|
|
|
263
264
|
// Sets the border radius to extra small. Use for components that need a small amount of rounding,
|
|
264
265
|
// such as a chip. In Angular Material, this is used for the shape of a snackbar and a tooltip.
|
|
265
|
-
.mat-corner-extra-
|
|
266
|
+
.mat-corner-extra-sm {
|
|
266
267
|
border-radius: var(--mat-sys-corner-extra-small);
|
|
267
268
|
}
|
|
268
269
|
|
|
269
270
|
// Sets the border radius to small. Use for components that need a small amount of rounding, such
|
|
270
271
|
// as a text field.
|
|
271
|
-
.mat-corner-
|
|
272
|
+
.mat-corner-sm {
|
|
272
273
|
border-radius: var(--mat-sys-corner-small);
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
// Sets the border radius to medium. Use for components that need a medium amount of rounding,
|
|
276
277
|
// such as a button. In Angular Material, this is used for the shape of a card.
|
|
277
|
-
.mat-corner-
|
|
278
|
+
.mat-corner-md {
|
|
278
279
|
border-radius: var(--mat-sys-corner-medium);
|
|
279
280
|
}
|
|
280
281
|
|
|
281
282
|
// Sets the border radius to large. Use for components that need a large amount of rounding, such
|
|
282
283
|
// as a card. In Angular Material, this is used for the shape of a floating action button and a
|
|
283
284
|
// datepicker.
|
|
284
|
-
.mat-corner-
|
|
285
|
+
.mat-corner-lg {
|
|
285
286
|
border-radius: var(--mat-sys-corner-large);
|
|
286
287
|
}
|
|
287
288
|
|
|
288
289
|
// Sets the border radius to extra large. Use for components that need a large amount of
|
|
289
290
|
// rounding. In Angular Material, this is used for the shape of a button toggle and the shape of
|
|
290
291
|
// a dialog.
|
|
291
|
-
.mat-corner-
|
|
292
|
+
.mat-corner-xl {
|
|
292
293
|
border-radius: var(--mat-sys-corner-extra-large);
|
|
293
294
|
}
|
|
294
295
|
|
|
@@ -300,30 +301,30 @@
|
|
|
300
301
|
|
|
301
302
|
|
|
302
303
|
// ***********************************************************************************************
|
|
303
|
-
// Border
|
|
304
|
+
// Border - Applies a 1px solid border
|
|
304
305
|
// ***********************************************************************************************
|
|
305
306
|
|
|
306
307
|
// Adds an outline to an element. Use for components that need a visible boundary. In Angular
|
|
307
308
|
// Material, this is used for the outline of an outlined button.
|
|
308
|
-
.mat-
|
|
309
|
+
.mat-border {
|
|
309
310
|
border: 1px solid var(--mat-sys-outline);
|
|
310
311
|
}
|
|
311
312
|
|
|
312
313
|
// Adds a less prominent outline to an element. Use for components that need a less obvious
|
|
313
314
|
// boundary. In Angular Material, this is used for the outline of an outlined card and the color
|
|
314
315
|
// of the divider
|
|
315
|
-
.mat-
|
|
316
|
+
.mat-border-subtle {
|
|
316
317
|
border: 1px solid var(--mat-sys-outline-variant);
|
|
317
318
|
}
|
|
318
319
|
|
|
319
320
|
|
|
320
321
|
// ***********************************************************************************************
|
|
321
|
-
//
|
|
322
|
+
// Interactive - Adds interaction colors for hover, active, and focus
|
|
322
323
|
// ***********************************************************************************************
|
|
323
324
|
|
|
324
325
|
// Adds hover, focus, and active states to an element by applying varying shades of the surface
|
|
325
326
|
// color. Use for interactive components that are not based on a primary color.
|
|
326
|
-
.mat-
|
|
327
|
+
.mat-interactive {
|
|
327
328
|
&:hover {
|
|
328
329
|
background: color-mix(
|
|
329
330
|
in srgb,
|
|
@@ -351,7 +352,7 @@
|
|
|
351
352
|
|
|
352
353
|
// Adds hover, focus, and active states to an element by applying varying shades of the primary
|
|
353
354
|
// color. Use for interactive components that are not based on a primary color.
|
|
354
|
-
.mat-
|
|
355
|
+
.mat-interactive-primary {
|
|
355
356
|
&:hover {
|
|
356
357
|
background: color-mix(
|
|
357
358
|
in srgb,
|
|
@@ -379,37 +380,38 @@
|
|
|
379
380
|
|
|
380
381
|
|
|
381
382
|
// ***********************************************************************************************
|
|
382
|
-
//
|
|
383
|
+
// Shadow - Applies elevation levels through box-shadow
|
|
384
|
+
// See https://m3.material.io/styles/elevation/applying-elevation for guidance.
|
|
383
385
|
// ***********************************************************************************************
|
|
384
386
|
|
|
385
387
|
// Use to slightly raise the appearance of a surface. In Angular Material, this is used for the
|
|
386
388
|
// elevation of an elevated card and the handle of a slider.
|
|
387
|
-
.mat-shadow-
|
|
389
|
+
.mat-shadow-1 {
|
|
388
390
|
box-shadow: var(--mat-sys-level1);
|
|
389
391
|
}
|
|
390
392
|
|
|
391
393
|
// Use to raise the appearance of a surface. In Angular Material, this is used for the
|
|
392
394
|
// elevation of a menu and a select panel.
|
|
393
|
-
.mat-shadow-
|
|
395
|
+
.mat-shadow-2 {
|
|
394
396
|
box-shadow: var(--mat-sys-level2);
|
|
395
397
|
}
|
|
396
398
|
|
|
397
399
|
// Used to raise the appearance of a surface. In Angular Material, this is used for the elevation
|
|
398
400
|
// of a floating action button.
|
|
399
|
-
.mat-shadow-
|
|
401
|
+
.mat-shadow-3 {
|
|
400
402
|
box-shadow: var(--mat-sys-level3);
|
|
401
403
|
}
|
|
402
404
|
|
|
403
405
|
// Used to raise the appearance of a surface. This is generally reserved for elevation changes
|
|
404
406
|
// due to interaction like focus and hover. In Angular Material, this is used for the elevation
|
|
405
407
|
// of a hovered floating action button.
|
|
406
|
-
.mat-shadow-
|
|
408
|
+
.mat-shadow-4 {
|
|
407
409
|
box-shadow: var(--mat-sys-level4);
|
|
408
410
|
}
|
|
409
411
|
|
|
410
412
|
// Used to greatly raise the appearance of a surface. This is generally reserved for elevation
|
|
411
413
|
// changes due to interaction like focus and hover.
|
|
412
|
-
.mat-shadow-
|
|
414
|
+
.mat-shadow-5 {
|
|
413
415
|
box-shadow: var(--mat-sys-level5);
|
|
414
416
|
}
|
|
415
417
|
}
|
package/date-adapter.d.d.ts
CHANGED
|
@@ -3,12 +3,6 @@ import { Subject, Observable } from 'rxjs';
|
|
|
3
3
|
|
|
4
4
|
/** InjectionToken for datepicker that can be used to override default locale code. */
|
|
5
5
|
declare const MAT_DATE_LOCALE: InjectionToken<{}>;
|
|
6
|
-
/**
|
|
7
|
-
* @docs-private
|
|
8
|
-
* @deprecated No longer used, will be removed.
|
|
9
|
-
* @breaking-change 21.0.0
|
|
10
|
-
*/
|
|
11
|
-
declare function MAT_DATE_LOCALE_FACTORY(): {};
|
|
12
6
|
/** Adapts type `D` to be usable as a date by cdk-based components that work with dates. */
|
|
13
7
|
declare abstract class DateAdapter<D, L = any> {
|
|
14
8
|
/** The locale to use for all dates. */
|
|
@@ -264,4 +258,4 @@ declare abstract class DateAdapter<D, L = any> {
|
|
|
264
258
|
clampDate(date: D, min?: D | null, max?: D | null): D;
|
|
265
259
|
}
|
|
266
260
|
|
|
267
|
-
export { DateAdapter, MAT_DATE_LOCALE
|
|
261
|
+
export { DateAdapter, MAT_DATE_LOCALE };
|
package/datepicker/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnChanges, OnDestroy, AfterViewChecked, EventEmitter, SimpleChanges,
|
|
2
|
+
import { OnChanges, OnDestroy, AfterViewChecked, EventEmitter, SimpleChanges, AfterContentInit, ChangeDetectorRef, AfterViewInit, ElementRef, InjectionToken, OnInit, DoCheck, TemplateRef } from '@angular/core';
|
|
3
3
|
import { MatButton, MatButtonModule } from '../button/index.js';
|
|
4
4
|
import * as i2 from '@angular/cdk/overlay';
|
|
5
5
|
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
@@ -344,32 +344,6 @@ declare class MatRangeDateSelectionModel<D> extends MatDateSelectionModel<DateRa
|
|
|
344
344
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatRangeDateSelectionModel<any>, never>;
|
|
345
345
|
static ɵprov: i0.ɵɵInjectableDeclaration<MatRangeDateSelectionModel<any>>;
|
|
346
346
|
}
|
|
347
|
-
/**
|
|
348
|
-
* @docs-private
|
|
349
|
-
* @deprecated No longer used, will be removed.
|
|
350
|
-
* @breaking-change 21.0.0
|
|
351
|
-
*/
|
|
352
|
-
declare function MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;
|
|
353
|
-
/**
|
|
354
|
-
* Used to provide a single selection model to a component.
|
|
355
|
-
* @docs-private
|
|
356
|
-
* @deprecated No longer used, will be removed.
|
|
357
|
-
* @breaking-change 21.0.0
|
|
358
|
-
*/
|
|
359
|
-
declare const MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
|
|
360
|
-
/**
|
|
361
|
-
* @docs-private
|
|
362
|
-
* @deprecated No longer used, will be removed.
|
|
363
|
-
* @breaking-change 21.0.0
|
|
364
|
-
*/
|
|
365
|
-
declare function MAT_RANGE_DATE_SELECTION_MODEL_FACTORY(parent: MatSingleDateSelectionModel<unknown>, adapter: DateAdapter<unknown>): MatSingleDateSelectionModel<unknown>;
|
|
366
|
-
/**
|
|
367
|
-
* Used to provide a range selection model to a component.
|
|
368
|
-
* @docs-private
|
|
369
|
-
* @deprecated No longer used, will be removed.
|
|
370
|
-
* @breaking-change 21.0.0
|
|
371
|
-
*/
|
|
372
|
-
declare const MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER: FactoryProvider;
|
|
373
347
|
|
|
374
348
|
/**
|
|
375
349
|
* An internal component used to display a single month in the datepicker.
|
|
@@ -1021,26 +995,10 @@ declare abstract class MatDatepickerInputBase<S, D = ExtractDateTypeFromSelectio
|
|
|
1021
995
|
|
|
1022
996
|
/** Injection token that determines the scroll handling while the calendar is open. */
|
|
1023
997
|
declare const MAT_DATEPICKER_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
1024
|
-
/**
|
|
1025
|
-
* @docs-private
|
|
1026
|
-
* @deprecated No longer used, will be removed.
|
|
1027
|
-
* @breaking-change 21.0.0
|
|
1028
|
-
*/
|
|
1029
|
-
declare function MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY(_overlay: unknown): () => ScrollStrategy;
|
|
1030
998
|
/** Possible positions for the datepicker dropdown along the X axis. */
|
|
1031
999
|
type DatepickerDropdownPositionX = 'start' | 'end';
|
|
1032
1000
|
/** Possible positions for the datepicker dropdown along the Y axis. */
|
|
1033
1001
|
type DatepickerDropdownPositionY = 'above' | 'below';
|
|
1034
|
-
/**
|
|
1035
|
-
* @docs-private
|
|
1036
|
-
* @deprecated No longer used, will be removed.
|
|
1037
|
-
* @breaking-change 21.0.0
|
|
1038
|
-
*/
|
|
1039
|
-
declare const MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
1040
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
1041
|
-
deps: any[];
|
|
1042
|
-
useFactory: typeof MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY;
|
|
1043
|
-
};
|
|
1044
1002
|
/**
|
|
1045
1003
|
* Component used as the content for the datepicker overlay. We use this instead of using
|
|
1046
1004
|
* MatCalendar directly as the content so we can control the initial focus. This also gives us a
|
|
@@ -1782,16 +1740,5 @@ declare class DefaultMatCalendarRangeStrategy<D> implements MatDateRangeSelectio
|
|
|
1782
1740
|
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultMatCalendarRangeStrategy<any>>;
|
|
1783
1741
|
}
|
|
1784
1742
|
|
|
1785
|
-
|
|
1786
|
-
* Animations used by the Material datepicker.
|
|
1787
|
-
* @docs-private
|
|
1788
|
-
* @deprecated No longer used, will be removed.
|
|
1789
|
-
* @breaking-change 21.0.0
|
|
1790
|
-
*/
|
|
1791
|
-
declare const matDatepickerAnimations: {
|
|
1792
|
-
readonly transformPanel: any;
|
|
1793
|
-
readonly fadeInCalendar: any;
|
|
1794
|
-
};
|
|
1795
|
-
|
|
1796
|
-
export { DateRange, DefaultMatCalendarRangeStrategy, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_RANGE_SELECTION_STRATEGY, MAT_RANGE_DATE_SELECTION_MODEL_FACTORY, MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER, MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY, MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerModule, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, matDatepickerAnimations, yearsPerPage, yearsPerRow };
|
|
1743
|
+
export { DateRange, DefaultMatCalendarRangeStrategy, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_RANGE_SELECTION_STRATEGY, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerActions, MatDatepickerApply, MatDatepickerCancel, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerModule, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, yearsPerPage, yearsPerRow };
|
|
1797
1744
|
export type { DateFilterFn, DateSelectionModelChange, DatepickerDropdownPositionX, DatepickerDropdownPositionY, ExtractDateTypeFromSelection, MatCalendarCellClassFunction, MatCalendarCellCssClasses, MatCalendarUserEvent, MatCalendarView, MatDateRangeSelectionStrategy, MatDatepickerControl, MatDatepickerPanel };
|