@angular/material 12.2.8 → 12.2.12

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.
Files changed (72) hide show
  1. package/badge/badge.d.ts +14 -15
  2. package/badge/index.metadata.json +1 -1
  3. package/bundles/material-badge.umd.js +79 -77
  4. package/bundles/material-badge.umd.js.map +1 -1
  5. package/bundles/material-bottom-sheet.umd.js.map +1 -1
  6. package/bundles/material-core.umd.js +2 -2
  7. package/bundles/material-core.umd.js.map +1 -1
  8. package/bundles/material-datepicker.umd.js +2 -2
  9. package/bundles/material-datepicker.umd.js.map +1 -1
  10. package/bundles/material-dialog.umd.js.map +1 -1
  11. package/bundles/material-icon.umd.js +1 -1
  12. package/bundles/material-input.umd.js +6 -0
  13. package/bundles/material-input.umd.js.map +1 -1
  14. package/bundles/material-snack-bar.umd.js.map +1 -1
  15. package/bundles/material-sort.umd.js +46 -8
  16. package/bundles/material-sort.umd.js.map +1 -1
  17. package/bundles/material-stepper.umd.js +5 -1
  18. package/bundles/material-stepper.umd.js.map +1 -1
  19. package/bundles/material-tooltip.umd.js.map +1 -1
  20. package/core/index.metadata.json +1 -1
  21. package/datepicker/_datepicker-theme.scss +1 -1
  22. package/datepicker/index.metadata.json +1 -1
  23. package/esm2015/badge/badge.js +80 -63
  24. package/esm2015/bottom-sheet/bottom-sheet-ref.js +1 -1
  25. package/esm2015/core/common-behaviors/common-module.js +1 -1
  26. package/esm2015/core/version.js +1 -1
  27. package/esm2015/datepicker/calendar.js +3 -3
  28. package/esm2015/dialog/dialog-ref.js +1 -1
  29. package/esm2015/icon/icon.js +1 -1
  30. package/esm2015/input/input.js +7 -1
  31. package/esm2015/snack-bar/snack-bar-container.js +1 -1
  32. package/esm2015/snack-bar/snack-bar-ref.js +1 -1
  33. package/esm2015/sort/sort-header-intl.js +1 -3
  34. package/esm2015/sort/sort-header.js +42 -6
  35. package/esm2015/stepper/step-header.js +2 -2
  36. package/esm2015/stepper/stepper-intl.js +5 -1
  37. package/esm2015/tooltip/tooltip.js +1 -1
  38. package/fesm2015/badge.js +79 -62
  39. package/fesm2015/badge.js.map +1 -1
  40. package/fesm2015/bottom-sheet.js.map +1 -1
  41. package/fesm2015/core.js +2 -2
  42. package/fesm2015/core.js.map +1 -1
  43. package/fesm2015/datepicker.js +2 -2
  44. package/fesm2015/datepicker.js.map +1 -1
  45. package/fesm2015/dialog.js.map +1 -1
  46. package/fesm2015/icon.js +1 -1
  47. package/fesm2015/input.js +6 -0
  48. package/fesm2015/input.js.map +1 -1
  49. package/fesm2015/snack-bar.js.map +1 -1
  50. package/fesm2015/sort.js +40 -6
  51. package/fesm2015/sort.js.map +1 -1
  52. package/fesm2015/stepper.js +5 -1
  53. package/fesm2015/stepper.js.map +1 -1
  54. package/fesm2015/tooltip.js.map +1 -1
  55. package/icon/index.metadata.json +1 -1
  56. package/input/_input-theme.scss +8 -6
  57. package/input/index.metadata.json +1 -1
  58. package/input/input.d.ts +2 -0
  59. package/package.json +2 -2
  60. package/prebuilt-themes/deeppurple-amber.css +1 -1
  61. package/prebuilt-themes/indigo-pink.css +1 -1
  62. package/prebuilt-themes/pink-bluegrey.css +1 -1
  63. package/prebuilt-themes/purple-green.css +1 -1
  64. package/schematics/ng-add/index.js +1 -1
  65. package/schematics/ng-add/index.mjs +1 -1
  66. package/sort/index.metadata.json +1 -1
  67. package/sort/sort-header-intl.d.ts +0 -2
  68. package/sort/sort-header.d.ts +20 -3
  69. package/stepper/index.metadata.json +1 -1
  70. package/stepper/stepper-intl.d.ts +4 -0
  71. package/tabs/_tabs-theme.scss +6 -2
  72. package/tooltip/tooltip.d.ts +2 -2
@@ -1578,7 +1578,7 @@ class MatCalendarHeader {
1578
1578
  MatCalendarHeader.decorators = [
1579
1579
  { type: Component, args: [{
1580
1580
  selector: 'mat-calendar-header',
1581
- template: "<div class=\"mat-calendar-header\">\n <div class=\"mat-calendar-controls\">\n <button mat-button type=\"button\" class=\"mat-calendar-period-button\"\n (click)=\"currentPeriodClicked()\" [attr.aria-label]=\"periodButtonLabel\"\n [attr.aria-describedby]=\"_buttonDescriptionId\"\n cdkAriaLive=\"polite\">\n <span [attr.id]=\"_buttonDescriptionId\">{{periodButtonText}}</span>\n <svg class=\"mat-calendar-arrow\" [class.mat-calendar-invert]=\"calendar.currentView !== 'month'\"\n viewBox=\"0 0 10 5\" focusable=\"false\">\n <polygon points=\"0,0 5,5 10,0\"/>\n </svg>\n </button>\n\n <div class=\"mat-calendar-spacer\"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-previous-button\"\n [disabled]=\"!previousEnabled()\" (click)=\"previousClicked()\"\n [attr.aria-label]=\"prevButtonLabel\">\n </button>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-next-button\"\n [disabled]=\"!nextEnabled()\" (click)=\"nextClicked()\"\n [attr.aria-label]=\"nextButtonLabel\">\n </button>\n </div>\n</div>\n",
1581
+ template: "<div class=\"mat-calendar-header\">\n <div class=\"mat-calendar-controls\">\n <button mat-button type=\"button\" class=\"mat-calendar-period-button\"\n (click)=\"currentPeriodClicked()\" [attr.aria-label]=\"periodButtonLabel\"\n [attr.aria-describedby]=\"_buttonDescriptionId\"\n cdkAriaLive=\"polite\">\n <span [attr.id]=\"_buttonDescriptionId\">{{periodButtonText}}</span>\n <div class=\"mat-calendar-arrow\"\n [class.mat-calendar-invert]=\"calendar.currentView !== 'month'\"></div>\n </button>\n\n <div class=\"mat-calendar-spacer\"></div>\n\n <ng-content></ng-content>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-previous-button\"\n [disabled]=\"!previousEnabled()\" (click)=\"previousClicked()\"\n [attr.aria-label]=\"prevButtonLabel\">\n </button>\n\n <button mat-icon-button type=\"button\" class=\"mat-calendar-next-button\"\n [disabled]=\"!nextEnabled()\" (click)=\"nextClicked()\"\n [attr.aria-label]=\"nextButtonLabel\">\n </button>\n </div>\n</div>\n",
1582
1582
  exportAs: 'matCalendarHeader',
1583
1583
  encapsulation: ViewEncapsulation.None,
1584
1584
  changeDetection: ChangeDetectionStrategy.OnPush
@@ -1764,7 +1764,7 @@ MatCalendar.decorators = [
1764
1764
  encapsulation: ViewEncapsulation.None,
1765
1765
  changeDetection: ChangeDetectionStrategy.OnPush,
1766
1766
  providers: [MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER],
1767
- styles: [".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.cdk-high-contrast-active .mat-calendar-arrow{fill:CanvasText}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-abbr{text-decoration:none}\n"]
1767
+ styles: [".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:\"\";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:\"\";position:absolute;top:0;left:-8px;right:-8px;height:1px}.mat-calendar-abbr{text-decoration:none}\n"]
1768
1768
  },] }
1769
1769
  ];
1770
1770
  MatCalendar.ctorParameters = () => [