@angular/material 15.2.8 → 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/version.mjs +1 -1
- package/esm2020/datepicker/date-range-input.mjs +2 -4
- package/esm2020/dialog/dialog-container.mjs +18 -7
- package/fesm2015/chips.mjs +0 -1
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +1 -1
- 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/fesm2020/chips.mjs +0 -1
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +1 -1
- 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/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
package/fesm2015/datepicker.mjs
CHANGED
|
@@ -4254,9 +4254,7 @@ class MatDateRangeInput {
|
|
|
4254
4254
|
// The datepicker module can be used both with MDC and non-MDC form fields. We have
|
|
4255
4255
|
// to conditionally add the MDC input class so that the range picker looks correctly.
|
|
4256
4256
|
if (_formField === null || _formField === void 0 ? void 0 : _formField._elementRef.nativeElement.classList.contains('mat-mdc-form-field')) {
|
|
4257
|
-
|
|
4258
|
-
classList.add('mat-mdc-input-element');
|
|
4259
|
-
classList.add('mat-mdc-form-field-input-control');
|
|
4257
|
+
_elementRef.nativeElement.classList.add('mat-mdc-input-element', 'mat-mdc-form-field-input-control', 'mdc-text-field__input');
|
|
4260
4258
|
}
|
|
4261
4259
|
// TODO(crisbeto): remove `as any` after #18206 lands.
|
|
4262
4260
|
this.ngControl = control;
|