@progress/kendo-angular-buttons 11.0.1-develop.5 → 11.1.0-develop.10

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.
@@ -297,12 +297,17 @@ export class ButtonComponent {
297
297
  if (this.role) {
298
298
  this.setAttribute('role', this.role);
299
299
  }
300
+ if (isSpanOrKendoButton && !this.isDisabled) {
301
+ this.tabIndex = 0;
302
+ }
300
303
  this.ngZone.runOutsideAngular(() => {
301
304
  this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
302
305
  this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
303
306
  const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
304
307
  if (isSpanOrKendoButton && isSpaceOrEnter) {
305
- this.click.emit(event);
308
+ this.ngZone.run(() => {
309
+ this.click.emit(event);
310
+ });
306
311
  this._onButtonClick();
307
312
  }
308
313
  }));
@@ -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: 1674214287,
13
- version: '11.0.1-develop.5',
12
+ publishDate: 1675171511,
13
+ version: '11.1.0-develop.10',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -29,8 +29,8 @@ const packageMetadata = {
29
29
  name: '@progress/kendo-angular-buttons',
30
30
  productName: 'Kendo UI for Angular',
31
31
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
32
- publishDate: 1674214287,
33
- version: '11.0.1-develop.5',
32
+ publishDate: 1675171511,
33
+ version: '11.1.0-develop.10',
34
34
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
35
35
  };
36
36
 
@@ -436,12 +436,17 @@ class ButtonComponent {
436
436
  if (this.role) {
437
437
  this.setAttribute('role', this.role);
438
438
  }
439
+ if (isSpanOrKendoButton && !this.isDisabled) {
440
+ this.tabIndex = 0;
441
+ }
439
442
  this.ngZone.runOutsideAngular(() => {
440
443
  this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
441
444
  this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
442
445
  const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
443
446
  if (isSpanOrKendoButton && isSpaceOrEnter) {
444
- this.click.emit(event);
447
+ this.ngZone.run(() => {
448
+ this.click.emit(event);
449
+ });
445
450
  this._onButtonClick();
446
451
  }
447
452
  }));
@@ -47,8 +47,8 @@ const packageMetadata = {
47
47
  name: '@progress/kendo-angular-buttons',
48
48
  productName: 'Kendo UI for Angular',
49
49
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
50
- publishDate: 1674214287,
51
- version: '11.0.1-develop.5',
50
+ publishDate: 1675171511,
51
+ version: '11.1.0-develop.10',
52
52
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
53
53
  };
54
54
 
@@ -436,12 +436,17 @@ class ButtonComponent {
436
436
  if (this.role) {
437
437
  this.setAttribute('role', this.role);
438
438
  }
439
+ if (isSpanOrKendoButton && !this.isDisabled) {
440
+ this.tabIndex = 0;
441
+ }
439
442
  this.ngZone.runOutsideAngular(() => {
440
443
  this.subs.add(this.renderer.listen(this.element, 'click', this._onButtonClick.bind(this)));
441
444
  this.subs.add(this.renderer.listen(this.element, 'keydown', (event) => {
442
445
  const isSpaceOrEnter = event.keyCode === Keys.Space || event.keyCode === Keys.Enter;
443
446
  if (isSpanOrKendoButton && isSpaceOrEnter) {
444
- this.click.emit(event);
447
+ this.ngZone.run(() => {
448
+ this.click.emit(event);
449
+ });
445
450
  this._onButtonClick();
446
451
  }
447
452
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-buttons",
3
- "version": "11.0.1-develop.5",
3
+ "version": "11.1.0-develop.10",
4
4
  "description": "Buttons Package for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -25,15 +25,15 @@
25
25
  "@angular/core": "13 - 15",
26
26
  "@angular/platform-browser": "13 - 15",
27
27
  "@progress/kendo-licensing": "^1.0.2",
28
- "@progress/kendo-angular-common": "11.0.1-develop.5",
29
- "@progress/kendo-angular-l10n": "11.0.1-develop.5",
30
- "@progress/kendo-angular-popup": "11.0.1-develop.5",
31
- "@progress/kendo-angular-icons": "11.0.1-develop.5",
28
+ "@progress/kendo-angular-common": "11.1.0-develop.10",
29
+ "@progress/kendo-angular-l10n": "11.1.0-develop.10",
30
+ "@progress/kendo-angular-popup": "11.1.0-develop.10",
31
+ "@progress/kendo-angular-icons": "11.1.0-develop.10",
32
32
  "rxjs": "^6.5.3 || ^7.0.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "tslib": "^2.3.1",
36
- "@progress/kendo-angular-schematics": "11.0.1-develop.5",
36
+ "@progress/kendo-angular-schematics": "11.1.0-develop.10",
37
37
  "@progress/kendo-common": "^0.2.1"
38
38
  },
39
39
  "schematics": "./schematics/collection.json",