@angular/material 14.1.0-rc.0 → 14.2.0-next.1
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/chips/index.d.ts +1 -1
- package/core/index.d.ts +1 -1
- package/datepicker/index.d.ts +7 -7
- package/dialog/index.d.ts +1 -1
- package/esm2020/autocomplete/autocomplete-trigger.mjs +5 -1
- package/esm2020/button/button.mjs +2 -2
- package/esm2020/checkbox/checkbox.mjs +5 -3
- package/esm2020/chips/chip.mjs +2 -2
- package/esm2020/core/datetime/native-date-adapter.mjs +2 -2
- package/esm2020/core/version.mjs +1 -1
- package/esm2020/datepicker/calendar.mjs +2 -2
- package/esm2020/datepicker/datepicker-toggle.mjs +1 -1
- package/esm2020/datepicker/month-view.mjs +3 -3
- package/esm2020/datepicker/multi-year-view.mjs +3 -3
- package/esm2020/datepicker/year-view.mjs +3 -3
- package/esm2020/dialog/dialog-content-directives.mjs +1 -1
- package/esm2020/form-field/form-field.mjs +2 -2
- package/esm2020/grid-list/grid-list.mjs +1 -1
- package/esm2020/list/selection-list.mjs +2 -2
- package/esm2020/paginator/paginator.mjs +2 -2
- package/esm2020/select/select.mjs +2 -2
- package/esm2020/slider/slider.mjs +7 -3
- package/esm2020/sort/sort.mjs +3 -3
- package/esm2020/tabs/tab-body.mjs +1 -1
- package/fesm2015/autocomplete.mjs +4 -0
- package/fesm2015/autocomplete.mjs.map +1 -1
- package/fesm2015/button.mjs +1 -1
- package/fesm2015/button.mjs.map +1 -1
- package/fesm2015/checkbox.mjs +4 -2
- package/fesm2015/checkbox.mjs.map +1 -1
- package/fesm2015/chips.mjs +1 -1
- package/fesm2015/chips.mjs.map +1 -1
- package/fesm2015/core.mjs +2 -2
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/datepicker.mjs +7 -7
- package/fesm2015/datepicker.mjs.map +1 -1
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/form-field.mjs +1 -1
- package/fesm2015/form-field.mjs.map +1 -1
- package/fesm2015/grid-list.mjs.map +1 -1
- package/fesm2015/list.mjs +1 -1
- package/fesm2015/list.mjs.map +1 -1
- package/fesm2015/paginator.mjs +2 -2
- package/fesm2015/paginator.mjs.map +1 -1
- package/fesm2015/select.mjs +1 -1
- package/fesm2015/select.mjs.map +1 -1
- package/fesm2015/slider.mjs +6 -2
- package/fesm2015/slider.mjs.map +1 -1
- package/fesm2015/sort.mjs +2 -2
- package/fesm2015/sort.mjs.map +1 -1
- package/fesm2015/tabs.mjs.map +1 -1
- package/fesm2020/autocomplete.mjs +4 -0
- package/fesm2020/autocomplete.mjs.map +1 -1
- package/fesm2020/button.mjs +1 -1
- package/fesm2020/button.mjs.map +1 -1
- package/fesm2020/checkbox.mjs +4 -2
- package/fesm2020/checkbox.mjs.map +1 -1
- package/fesm2020/chips.mjs +1 -1
- package/fesm2020/chips.mjs.map +1 -1
- package/fesm2020/core.mjs +2 -2
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/datepicker.mjs +7 -7
- package/fesm2020/datepicker.mjs.map +1 -1
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/form-field.mjs +1 -1
- package/fesm2020/form-field.mjs.map +1 -1
- package/fesm2020/grid-list.mjs.map +1 -1
- package/fesm2020/list.mjs +1 -1
- package/fesm2020/list.mjs.map +1 -1
- package/fesm2020/paginator.mjs +2 -2
- package/fesm2020/paginator.mjs.map +1 -1
- package/fesm2020/select.mjs +1 -1
- package/fesm2020/select.mjs.map +1 -1
- package/fesm2020/slider.mjs +6 -2
- package/fesm2020/slider.mjs.map +1 -1
- package/fesm2020/sort.mjs +2 -2
- package/fesm2020/sort.mjs.map +1 -1
- package/fesm2020/tabs.mjs.map +1 -1
- package/grid-list/index.d.ts +1 -1
- package/package.json +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/select/index.d.ts +1 -1
- package/sort/index.d.ts +2 -2
- package/tabs/index.d.ts +1 -1
package/fesm2020/datepicker.mjs
CHANGED
|
@@ -795,9 +795,9 @@ class MatMonthView {
|
|
|
795
795
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
796
796
|
* that date.
|
|
797
797
|
*
|
|
798
|
-
* This
|
|
798
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
799
799
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
800
|
-
* parent's value
|
|
800
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
801
801
|
* updated value asynchronously via the `activeCell` Input.
|
|
802
802
|
*/
|
|
803
803
|
_updateActiveDate(event) {
|
|
@@ -1179,9 +1179,9 @@ class MatMultiYearView {
|
|
|
1179
1179
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1180
1180
|
* that date.
|
|
1181
1181
|
*
|
|
1182
|
-
* This
|
|
1182
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1183
1183
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1184
|
-
* parent's value
|
|
1184
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1185
1185
|
* updated value asynchronously via the `activeCell` Input.
|
|
1186
1186
|
*/
|
|
1187
1187
|
_updateActiveDate(event) {
|
|
@@ -1481,9 +1481,9 @@ class MatYearView {
|
|
|
1481
1481
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1482
1482
|
* that date.
|
|
1483
1483
|
*
|
|
1484
|
-
* This
|
|
1484
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1485
1485
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1486
|
-
* parent's value
|
|
1486
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1487
1487
|
* updated value asynchronously via the `activeCell` Input.
|
|
1488
1488
|
*/
|
|
1489
1489
|
_updateActiveDate(event) {
|
|
@@ -1997,7 +1997,7 @@ class MatCalendar {
|
|
|
1997
1997
|
/** Returns the component instance that corresponds to the current calendar view. */
|
|
1998
1998
|
_getCurrentViewComponent() {
|
|
1999
1999
|
// The return type is explicitly written as a union to ensure that the Closure compiler does
|
|
2000
|
-
// not optimize calls to _init(). Without the
|
|
2000
|
+
// not optimize calls to _init(). Without the explicit return type, TypeScript narrows it to
|
|
2001
2001
|
// only the first component type. See https://github.com/angular/components/issues/22996.
|
|
2002
2002
|
return this.monthView || this.yearView || this.multiYearView;
|
|
2003
2003
|
}
|