@angular/material 15.2.7 → 15.2.9
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/dialog/index.d.ts +2 -0
- package/esm2020/chips/chip-listbox.mjs +1 -2
- package/esm2020/core/option/option.mjs +5 -3
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/date-range-input.mjs +2 -4
- package/esm2020/dialog/dialog-container.mjs +18 -7
- package/esm2020/form-field/form-field.mjs +3 -3
- package/fesm2015/chips.mjs +0 -1
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +5 -3
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +1 -3
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs +17 -6
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/form-field.mjs +2 -2
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2020/chips.mjs +0 -1
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +5 -3
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +1 -3
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs +17 -6
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/form-field.mjs +2 -2
- package/fesm2020/form-field.mjs.map +1 -1
- package/form-field/_user-agent-overrides.scss +24 -0
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/fesm2020/datepicker.mjs
CHANGED
|
@@ -4220,9 +4220,7 @@ class MatDateRangeInput {
|
|
|
4220
4220
|
// The datepicker module can be used both with MDC and non-MDC form fields. We have
|
|
4221
4221
|
// to conditionally add the MDC input class so that the range picker looks correctly.
|
|
4222
4222
|
if (_formField?._elementRef.nativeElement.classList.contains('mat-mdc-form-field')) {
|
|
4223
|
-
|
|
4224
|
-
classList.add('mat-mdc-input-element');
|
|
4225
|
-
classList.add('mat-mdc-form-field-input-control');
|
|
4223
|
+
_elementRef.nativeElement.classList.add('mat-mdc-input-element', 'mat-mdc-form-field-input-control', 'mdc-text-field__input');
|
|
4226
4224
|
}
|
|
4227
4225
|
// TODO(crisbeto): remove `as any` after #18206 lands.
|
|
4228
4226
|
this.ngControl = control;
|