@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/fesm2015/datepicker.mjs
CHANGED
|
@@ -737,9 +737,9 @@ class MatMonthView {
|
|
|
737
737
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
738
738
|
* that date.
|
|
739
739
|
*
|
|
740
|
-
* This
|
|
740
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
741
741
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
742
|
-
* parent's value
|
|
742
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
743
743
|
* updated value asynchronously via the `activeCell` Input.
|
|
744
744
|
*/
|
|
745
745
|
_updateActiveDate(event) {
|
|
@@ -1123,9 +1123,9 @@ class MatMultiYearView {
|
|
|
1123
1123
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1124
1124
|
* that date.
|
|
1125
1125
|
*
|
|
1126
|
-
* This
|
|
1126
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1127
1127
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1128
|
-
* parent's value
|
|
1128
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1129
1129
|
* updated value asynchronously via the `activeCell` Input.
|
|
1130
1130
|
*/
|
|
1131
1131
|
_updateActiveDate(event) {
|
|
@@ -1427,9 +1427,9 @@ class MatYearView {
|
|
|
1427
1427
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1428
1428
|
* that date.
|
|
1429
1429
|
*
|
|
1430
|
-
* This
|
|
1430
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1431
1431
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1432
|
-
* parent's value
|
|
1432
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1433
1433
|
* updated value asynchronously via the `activeCell` Input.
|
|
1434
1434
|
*/
|
|
1435
1435
|
_updateActiveDate(event) {
|
|
@@ -2005,7 +2005,7 @@ class MatCalendar {
|
|
|
2005
2005
|
/** Returns the component instance that corresponds to the current calendar view. */
|
|
2006
2006
|
_getCurrentViewComponent() {
|
|
2007
2007
|
// The return type is explicitly written as a union to ensure that the Closure compiler does
|
|
2008
|
-
// not optimize calls to _init(). Without the
|
|
2008
|
+
// not optimize calls to _init(). Without the explicit return type, TypeScript narrows it to
|
|
2009
2009
|
// only the first component type. See https://github.com/angular/components/issues/22996.
|
|
2010
2010
|
return this.monthView || this.yearView || this.multiYearView;
|
|
2011
2011
|
}
|