@angular/material 14.0.5 → 14.0.6
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/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/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/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
|
@@ -787,9 +787,9 @@ class MatMonthView {
|
|
|
787
787
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
788
788
|
* that date.
|
|
789
789
|
*
|
|
790
|
-
* This
|
|
790
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
791
791
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
792
|
-
* parent's value
|
|
792
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
793
793
|
* updated value asynchronously via the `activeCell` Input.
|
|
794
794
|
*/
|
|
795
795
|
_updateActiveDate(event) {
|
|
@@ -1171,9 +1171,9 @@ class MatMultiYearView {
|
|
|
1171
1171
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1172
1172
|
* that date.
|
|
1173
1173
|
*
|
|
1174
|
-
* This
|
|
1174
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1175
1175
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1176
|
-
* parent's value
|
|
1176
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1177
1177
|
* updated value asynchronously via the `activeCell` Input.
|
|
1178
1178
|
*/
|
|
1179
1179
|
_updateActiveDate(event) {
|
|
@@ -1473,9 +1473,9 @@ class MatYearView {
|
|
|
1473
1473
|
* corresponds to the given cell, set `activeDate` to that date and fire `activeDateChange` with
|
|
1474
1474
|
* that date.
|
|
1475
1475
|
*
|
|
1476
|
-
* This
|
|
1476
|
+
* This function is used to match each component's model of the active date with the calendar
|
|
1477
1477
|
* body cell that was focused. It updates its value of `activeDate` synchronously and updates the
|
|
1478
|
-
* parent's value
|
|
1478
|
+
* parent's value asynchronously via the `activeDateChange` event. The child component receives an
|
|
1479
1479
|
* updated value asynchronously via the `activeCell` Input.
|
|
1480
1480
|
*/
|
|
1481
1481
|
_updateActiveDate(event) {
|
|
@@ -1989,7 +1989,7 @@ class MatCalendar {
|
|
|
1989
1989
|
/** Returns the component instance that corresponds to the current calendar view. */
|
|
1990
1990
|
_getCurrentViewComponent() {
|
|
1991
1991
|
// The return type is explicitly written as a union to ensure that the Closure compiler does
|
|
1992
|
-
// not optimize calls to _init(). Without the
|
|
1992
|
+
// not optimize calls to _init(). Without the explicit return type, TypeScript narrows it to
|
|
1993
1993
|
// only the first component type. See https://github.com/angular/components/issues/22996.
|
|
1994
1994
|
return this.monthView || this.yearView || this.multiYearView;
|
|
1995
1995
|
}
|