@progress/kendo-angular-buttons 7.0.5-dev.202203241407 → 7.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.
@@ -136,7 +136,7 @@ let ButtonDirective = class ButtonDirective {
136
136
  */
137
137
  set disabled(disabled) {
138
138
  //Required, because in FF focused buttons are not blurred on disabled
139
- if (isFirefox(navigator.userAgent) && disabled) {
139
+ if (disabled && isDocumentAvailable() && isFirefox(navigator.userAgent)) {
140
140
  this.blur();
141
141
  }
142
142
  this.isDisabled = disabled;
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-buttons',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1648130763,
12
+ publishDate: 1648649426,
13
13
  version: '',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -5,7 +5,7 @@
5
5
  import { __decorate, __metadata, __param } from 'tslib';
6
6
  import { Injectable, EventEmitter, Input, Output, HostBinding, HostListener, Directive, Optional, ElementRef, Renderer2, NgZone, isDevMode, ContentChildren, QueryList, Component, NgModule, TemplateRef, ViewContainerRef, InjectionToken, Inject, ContentChild, ViewChild, ChangeDetectorRef, forwardRef } from '@angular/core';
7
7
  import { Subject, fromEvent, merge, Subscription } from 'rxjs';
8
- import { Keys, isChanged, isDocumentAvailable, hasObservers, guid, EventsModule } from '@progress/kendo-angular-common';
8
+ import { isDocumentAvailable, Keys, isChanged, hasObservers, guid, EventsModule } from '@progress/kendo-angular-common';
9
9
  import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
10
10
  import { validatePackage } from '@progress/kendo-licensing';
11
11
  import { detectDesktopBrowser, detectMobileOS } from '@progress/kendo-common';
@@ -40,7 +40,7 @@ const packageMetadata = {
40
40
  name: '@progress/kendo-angular-buttons',
41
41
  productName: 'Kendo UI for Angular',
42
42
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
43
- publishDate: 1648130763,
43
+ publishDate: 1648649426,
44
44
  version: '',
45
45
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
46
46
  };
@@ -272,7 +272,7 @@ let ButtonDirective = class ButtonDirective {
272
272
  */
273
273
  set disabled(disabled) {
274
274
  //Required, because in FF focused buttons are not blurred on disabled
275
- if (isFirefox(navigator.userAgent) && disabled) {
275
+ if (disabled && isDocumentAvailable() && isFirefox(navigator.userAgent)) {
276
276
  this.blur();
277
277
  }
278
278
  this.isDisabled = disabled;
@@ -5,7 +5,7 @@
5
5
  import { __decorate, __metadata, __param, __extends } from 'tslib';
6
6
  import { Injectable, Input, Output, EventEmitter, HostBinding, HostListener, Directive, Optional, ElementRef, Renderer2, NgZone, isDevMode, ContentChildren, QueryList, Component, NgModule, TemplateRef, ViewContainerRef, InjectionToken, Inject, ContentChild, ViewChild, ChangeDetectorRef, forwardRef } from '@angular/core';
7
7
  import { Subject, fromEvent, merge, Subscription } from 'rxjs';
8
- import { Keys, isChanged, isDocumentAvailable, hasObservers, guid, EventsModule } from '@progress/kendo-angular-common';
8
+ import { isDocumentAvailable, Keys, isChanged, hasObservers, guid, EventsModule } from '@progress/kendo-angular-common';
9
9
  import { LocalizationService, L10N_PREFIX, ComponentMessages } from '@progress/kendo-angular-l10n';
10
10
  import { validatePackage } from '@progress/kendo-licensing';
11
11
  import { detectDesktopBrowser, detectMobileOS } from '@progress/kendo-common';
@@ -38,7 +38,7 @@ var packageMetadata = {
38
38
  name: '@progress/kendo-angular-buttons',
39
39
  productName: 'Kendo UI for Angular',
40
40
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
41
- publishDate: 1648130763,
41
+ publishDate: 1648649426,
42
42
  version: '',
43
43
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
44
44
  };
@@ -306,7 +306,7 @@ var ButtonDirective = /** @class */ (function () {
306
306
  */
307
307
  set: function (disabled) {
308
308
  //Required, because in FF focused buttons are not blurred on disabled
309
- if (isFirefox(navigator.userAgent) && disabled) {
309
+ if (disabled && isDocumentAvailable() && isFirefox(navigator.userAgent)) {
310
310
  this.blur();
311
311
  }
312
312
  this.isDisabled = disabled;
@@ -172,7 +172,7 @@ var ButtonDirective = /** @class */ (function () {
172
172
  */
173
173
  set: function (disabled) {
174
174
  //Required, because in FF focused buttons are not blurred on disabled
175
- if (util_1.isFirefox(navigator.userAgent) && disabled) {
175
+ if (disabled && kendo_angular_common_1.isDocumentAvailable() && util_1.isFirefox(navigator.userAgent)) {
176
176
  this.blur();
177
177
  }
178
178
  this.isDisabled = disabled;
@@ -11,7 +11,7 @@ exports.packageMetadata = {
11
11
  name: '@progress/kendo-angular-buttons',
12
12
  productName: 'Kendo UI for Angular',
13
13
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1648130763,
14
+ publishDate: 1648649426,
15
15
  version: '',
16
16
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
17
  };