@progress/kendo-angular-tooltip 24.0.0-develop.2 → 24.0.0-develop.20

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.
@@ -302,8 +302,8 @@ const packageMetadata = {
302
302
  productName: 'Kendo UI for Angular',
303
303
  productCode: 'KENDOUIANGULAR',
304
304
  productCodes: ['KENDOUIANGULAR'],
305
- publishDate: 1776936160,
306
- version: '24.0.0-develop.2',
305
+ publishDate: 1778149470,
306
+ version: '24.0.0-develop.20',
307
307
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
308
308
  };
309
309
 
@@ -531,7 +531,7 @@ class PopoverComponent {
531
531
  * @hidden
532
532
  */
533
533
  get hasAttributeHidden() {
534
- return !this.visible;
534
+ return this.visible ? null : true;
535
535
  }
536
536
  /**
537
537
  * Fires before the Popover is shown. The event is preventable. If canceled, the Popover will not display. [See example](https://www.telerik.com/kendo-angular-ui/components/tooltips/popover/events).
@@ -663,19 +663,17 @@ class PopoverComponent {
663
663
  }
664
664
  }
665
665
  setAriaAttributes(wrapper, focusablePopoverChildren) {
666
- if (this.titleTemplate) {
667
- const titleRef = this.titleTemplateWrapper.nativeElement;
668
- const focusableHeaderChildren = getAllFocusableChildren(titleRef).length > 0;
669
- if (focusableHeaderChildren) {
666
+ if (this.titleTemplate || this.title) {
667
+ const titleRef = this.titleTemplateWrapper?.nativeElement;
668
+ if (titleRef) {
670
669
  const headerId = getId('k-popover-header', 'popoverTitle');
671
670
  this.renderer.setAttribute(titleRef, 'id', headerId);
672
671
  this.renderer.setAttribute(wrapper, 'aria-labelledby', headerId);
673
672
  }
674
673
  }
675
- if (this.bodyTemplate) {
676
- const bodyRef = this.bodyTemplateWrapper.nativeElement;
677
- const focusableBodyChildren = getAllFocusableChildren(bodyRef).length > 0;
678
- if (focusableBodyChildren) {
674
+ if (this.bodyTemplate || this.body) {
675
+ const bodyRef = this.bodyTemplateWrapper?.nativeElement;
676
+ if (bodyRef) {
679
677
  const bodyId = getId('k-popover-body', 'popoverBody');
680
678
  this.renderer.setAttribute(bodyRef, 'id', bodyId);
681
679
  this.renderer.setAttribute(wrapper, 'aria-describedby', bodyId);
@@ -1815,13 +1813,12 @@ class TooltipContentComponent {
1815
1813
  </div>
1816
1814
 
1817
1815
  @if (closable) {
1818
- <div [attr.aria-hidden]="true" class="k-tooltip-button" (click)="onCloseClick($event)">
1819
- <a href="#" [attr.title]="closeButtonTitle" class="k-icon">
1820
- <kendo-icon-wrapper
1821
- name="x"
1822
- [svgIcon]="xIcon">
1823
- </kendo-icon-wrapper>
1824
- </a>
1816
+ <div class="k-tooltip-button" role="button" [attr.aria-label]="closeButtonTitle" tabindex="0"
1817
+ (click)="onCloseClick($event)" (keydown.enter)="onCloseClick($event)" (keydown.space)="onCloseClick($event)">
1818
+ <kendo-icon-wrapper
1819
+ name="x"
1820
+ [svgIcon]="xIcon">
1821
+ </kendo-icon-wrapper>
1825
1822
  </div>
1826
1823
  }
1827
1824
 
@@ -1865,13 +1862,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
1865
1862
  </div>
1866
1863
 
1867
1864
  @if (closable) {
1868
- <div [attr.aria-hidden]="true" class="k-tooltip-button" (click)="onCloseClick($event)">
1869
- <a href="#" [attr.title]="closeButtonTitle" class="k-icon">
1870
- <kendo-icon-wrapper
1871
- name="x"
1872
- [svgIcon]="xIcon">
1873
- </kendo-icon-wrapper>
1874
- </a>
1865
+ <div class="k-tooltip-button" role="button" [attr.aria-label]="closeButtonTitle" tabindex="0"
1866
+ (click)="onCloseClick($event)" (keydown.enter)="onCloseClick($event)" (keydown.space)="onCloseClick($event)">
1867
+ <kendo-icon-wrapper
1868
+ name="x"
1869
+ [svgIcon]="xIcon">
1870
+ </kendo-icon-wrapper>
1875
1871
  </div>
1876
1872
  }
1877
1873
 
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1776936160,
11
- "version": "24.0.0-develop.2",
10
+ "publishDate": 1778149470,
11
+ "version": "24.0.0-develop.20",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-tooltip",
3
- "version": "24.0.0-develop.2",
3
+ "version": "24.0.0-develop.20",
4
4
  "description": "Kendo UI Tooltip for Angular - A highly customizable and easily themeable tooltip from the creators developers trust for professional Angular components.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -21,7 +21,7 @@
21
21
  "package": {
22
22
  "productName": "Kendo UI for Angular",
23
23
  "productCode": "KENDOUIANGULAR",
24
- "publishDate": 1776936160,
24
+ "publishDate": 1778149470,
25
25
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
26
26
  }
27
27
  },
@@ -31,15 +31,15 @@
31
31
  "@angular/core": "19 - 21",
32
32
  "@angular/platform-browser": "19 - 21",
33
33
  "@progress/kendo-licensing": "^1.11.0",
34
- "@progress/kendo-angular-common": "24.0.0-develop.2",
35
- "@progress/kendo-angular-l10n": "24.0.0-develop.2",
36
- "@progress/kendo-angular-popup": "24.0.0-develop.2",
37
- "@progress/kendo-angular-icons": "24.0.0-develop.2",
34
+ "@progress/kendo-angular-common": "24.0.0-develop.20",
35
+ "@progress/kendo-angular-l10n": "24.0.0-develop.20",
36
+ "@progress/kendo-angular-popup": "24.0.0-develop.20",
37
+ "@progress/kendo-angular-icons": "24.0.0-develop.20",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "24.0.0-develop.2"
42
+ "@progress/kendo-angular-schematics": "24.0.0-develop.20"
43
43
  },
44
44
  "schematics": "./schematics/collection.json",
45
45
  "module": "fesm2022/progress-kendo-angular-tooltip.mjs",
@@ -112,7 +112,7 @@ export declare class PopoverComponent implements OnInit, AfterViewInit, OnDestro
112
112
  /**
113
113
  * @hidden
114
114
  */
115
- get hasAttributeHidden(): boolean;
115
+ get hasAttributeHidden(): boolean | null;
116
116
  /**
117
117
  * Fires before the Popover is shown. The event is preventable. If canceled, the Popover will not display. [See example](https://www.telerik.com/kendo-angular-ui/components/tooltips/popover/events).
118
118
  */