@progress/kendo-angular-buttons 11.5.0-develop.6 → 11.5.0-develop.8

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.
@@ -384,8 +384,7 @@ export class FloatingActionButtonComponent {
384
384
  min: 0,
385
385
  flipNavigation: this.align.vertical === 'bottom'
386
386
  });
387
- if (action !== NavigationAction.Undefined &&
388
- action !== NavigationAction.Tab) {
387
+ if (action !== NavigationAction.Undefined && action !== NavigationAction.Tab) {
389
388
  event.preventDefault();
390
389
  }
391
390
  if (action === NavigationAction.EnterUp && !this.hasDialItems) {
@@ -406,7 +405,7 @@ export class FloatingActionButtonComponent {
406
405
  if (!item) {
407
406
  return;
408
407
  }
409
- const index = item.getAttribute('data-fab-item-index');
408
+ const index = parseInt(item.getAttribute('data-fab-item-index'));
410
409
  this.emitItemClick(index);
411
410
  }
412
411
  /**
@@ -453,6 +452,7 @@ export class FloatingActionButtonComponent {
453
452
  const clickEventArgs = { item: item, index: index };
454
453
  this.dialItemClick.emit(clickEventArgs);
455
454
  this.toggleDialWithEvents(false);
455
+ this.focusService.focused = index;
456
456
  }
457
457
  }
458
458
  subscribeNavigationEvents() {
@@ -40,9 +40,11 @@ export class FocusableDirective {
40
40
  this.subs.add(this.focusService.onFocus.subscribe((index) => {
41
41
  if (this.index === index) {
42
42
  this.renderer.addClass(this.element, 'k-focus');
43
+ this.renderer.setAttribute(this.element, 'tabidnex', '0');
43
44
  this.element.focus();
44
45
  }
45
46
  else {
47
+ this.renderer.setAttribute(this.element, 'tabidnex', '-1');
46
48
  this.renderer.removeClass(this.element, 'k-focus');
47
49
  }
48
50
  }));
@@ -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: 1680200435,
13
- version: '11.5.0-develop.6',
12
+ publishDate: 1680246880,
13
+ version: '11.5.0-develop.8',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -28,8 +28,8 @@ const packageMetadata = {
28
28
  name: '@progress/kendo-angular-buttons',
29
29
  productName: 'Kendo UI for Angular',
30
30
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
31
- publishDate: 1680200435,
32
- version: '11.5.0-develop.6',
31
+ publishDate: 1680246880,
32
+ version: '11.5.0-develop.8',
33
33
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
34
34
  };
35
35
 
@@ -1149,9 +1149,11 @@ class FocusableDirective {
1149
1149
  this.subs.add(this.focusService.onFocus.subscribe((index) => {
1150
1150
  if (this.index === index) {
1151
1151
  this.renderer.addClass(this.element, 'k-focus');
1152
+ this.renderer.setAttribute(this.element, 'tabidnex', '0');
1152
1153
  this.element.focus();
1153
1154
  }
1154
1155
  else {
1156
+ this.renderer.setAttribute(this.element, 'tabidnex', '-1');
1155
1157
  this.renderer.removeClass(this.element, 'k-focus');
1156
1158
  }
1157
1159
  }));
@@ -4736,8 +4738,7 @@ class FloatingActionButtonComponent {
4736
4738
  min: 0,
4737
4739
  flipNavigation: this.align.vertical === 'bottom'
4738
4740
  });
4739
- if (action !== NavigationAction.Undefined &&
4740
- action !== NavigationAction.Tab) {
4741
+ if (action !== NavigationAction.Undefined && action !== NavigationAction.Tab) {
4741
4742
  event.preventDefault();
4742
4743
  }
4743
4744
  if (action === NavigationAction.EnterUp && !this.hasDialItems) {
@@ -4758,7 +4759,7 @@ class FloatingActionButtonComponent {
4758
4759
  if (!item) {
4759
4760
  return;
4760
4761
  }
4761
- const index = item.getAttribute('data-fab-item-index');
4762
+ const index = parseInt(item.getAttribute('data-fab-item-index'));
4762
4763
  this.emitItemClick(index);
4763
4764
  }
4764
4765
  /**
@@ -4805,6 +4806,7 @@ class FloatingActionButtonComponent {
4805
4806
  const clickEventArgs = { item: item, index: index };
4806
4807
  this.dialItemClick.emit(clickEventArgs);
4807
4808
  this.toggleDialWithEvents(false);
4809
+ this.focusService.focused = index;
4808
4810
  }
4809
4811
  }
4810
4812
  subscribeNavigationEvents() {
@@ -46,8 +46,8 @@ const packageMetadata = {
46
46
  name: '@progress/kendo-angular-buttons',
47
47
  productName: 'Kendo UI for Angular',
48
48
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
49
- publishDate: 1680200435,
50
- version: '11.5.0-develop.6',
49
+ publishDate: 1680246880,
50
+ version: '11.5.0-develop.8',
51
51
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
52
52
  };
53
53
 
@@ -1209,9 +1209,11 @@ class FocusableDirective {
1209
1209
  this.subs.add(this.focusService.onFocus.subscribe((index) => {
1210
1210
  if (this.index === index) {
1211
1211
  this.renderer.addClass(this.element, 'k-focus');
1212
+ this.renderer.setAttribute(this.element, 'tabidnex', '0');
1212
1213
  this.element.focus();
1213
1214
  }
1214
1215
  else {
1216
+ this.renderer.setAttribute(this.element, 'tabidnex', '-1');
1215
1217
  this.renderer.removeClass(this.element, 'k-focus');
1216
1218
  }
1217
1219
  }));
@@ -4724,8 +4726,7 @@ class FloatingActionButtonComponent {
4724
4726
  min: 0,
4725
4727
  flipNavigation: this.align.vertical === 'bottom'
4726
4728
  });
4727
- if (action !== NavigationAction.Undefined &&
4728
- action !== NavigationAction.Tab) {
4729
+ if (action !== NavigationAction.Undefined && action !== NavigationAction.Tab) {
4729
4730
  event.preventDefault();
4730
4731
  }
4731
4732
  if (action === NavigationAction.EnterUp && !this.hasDialItems) {
@@ -4746,7 +4747,7 @@ class FloatingActionButtonComponent {
4746
4747
  if (!item) {
4747
4748
  return;
4748
4749
  }
4749
- const index = item.getAttribute('data-fab-item-index');
4750
+ const index = parseInt(item.getAttribute('data-fab-item-index'));
4750
4751
  this.emitItemClick(index);
4751
4752
  }
4752
4753
  /**
@@ -4793,6 +4794,7 @@ class FloatingActionButtonComponent {
4793
4794
  const clickEventArgs = { item: item, index: index };
4794
4795
  this.dialItemClick.emit(clickEventArgs);
4795
4796
  this.toggleDialWithEvents(false);
4797
+ this.focusService.focused = index;
4796
4798
  }
4797
4799
  }
4798
4800
  subscribeNavigationEvents() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-buttons",
3
- "version": "11.5.0-develop.6",
3
+ "version": "11.5.0-develop.8",
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.5.0-develop.6",
29
- "@progress/kendo-angular-l10n": "11.5.0-develop.6",
30
- "@progress/kendo-angular-popup": "11.5.0-develop.6",
31
- "@progress/kendo-angular-icons": "11.5.0-develop.6",
28
+ "@progress/kendo-angular-common": "11.5.0-develop.8",
29
+ "@progress/kendo-angular-l10n": "11.5.0-develop.8",
30
+ "@progress/kendo-angular-popup": "11.5.0-develop.8",
31
+ "@progress/kendo-angular-icons": "11.5.0-develop.8",
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.5.0-develop.6",
36
+ "@progress/kendo-angular-schematics": "11.5.0-develop.8",
37
37
  "@progress/kendo-common": "^0.2.1"
38
38
  },
39
39
  "schematics": "./schematics/collection.json",