@progress/kendo-angular-tooltip 25.0.0-develop.4 → 25.0.0-develop.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.
|
@@ -302,8 +302,8 @@ const packageMetadata = {
|
|
|
302
302
|
productName: 'Kendo UI for Angular',
|
|
303
303
|
productCode: 'KENDOUIANGULAR',
|
|
304
304
|
productCodes: ['KENDOUIANGULAR'],
|
|
305
|
-
publishDate:
|
|
306
|
-
version: '25.0.0-develop.
|
|
305
|
+
publishDate: 1784041099,
|
|
306
|
+
version: '25.0.0-develop.6',
|
|
307
307
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
308
308
|
};
|
|
309
309
|
|
|
@@ -2509,7 +2509,7 @@ class TooltipDirective {
|
|
|
2509
2509
|
}
|
|
2510
2510
|
const popupInstance = this.popupRef.content.instance;
|
|
2511
2511
|
if (anchorRef) {
|
|
2512
|
-
this.renderer.setAttribute(anchorRef.nativeElement, 'aria-
|
|
2512
|
+
this.renderer.setAttribute(anchorRef.nativeElement, 'aria-describedby', popupInstance.tooltipId);
|
|
2513
2513
|
}
|
|
2514
2514
|
if (popupInstance.callout) {
|
|
2515
2515
|
this.popupPositionChangeSubscription = this.popupRef.popupPositionChange
|
|
@@ -2529,7 +2529,7 @@ class TooltipDirective {
|
|
|
2529
2529
|
closePopup() {
|
|
2530
2530
|
if (this.popupRef) {
|
|
2531
2531
|
if (this.anchor) {
|
|
2532
|
-
this.renderer.removeAttribute(this.anchor?.nativeElement, 'aria-
|
|
2532
|
+
this.renderer.removeAttribute(this.anchor?.nativeElement, 'aria-describedby');
|
|
2533
2533
|
}
|
|
2534
2534
|
this.popupRef.close();
|
|
2535
2535
|
this.popupRef = null;
|
|
@@ -2572,14 +2572,14 @@ class TooltipDirective {
|
|
|
2572
2572
|
const target = event.target;
|
|
2573
2573
|
if (this.popupRef) {
|
|
2574
2574
|
const tooltipId = this.popupRef.content.location.nativeElement.getAttribute('id');
|
|
2575
|
-
const
|
|
2576
|
-
if (keyCode === Keys.Escape && this.canCloseTooltip(target, tooltipId,
|
|
2575
|
+
const anchorDescribedBy = target.getAttribute('aria-describedby');
|
|
2576
|
+
if (keyCode === Keys.Escape && this.canCloseTooltip(target, tooltipId, anchorDescribedBy)) {
|
|
2577
2577
|
this.closePopup();
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
2580
|
}
|
|
2581
|
-
canCloseTooltip(target, tooltipId,
|
|
2582
|
-
const isIdEqualsLabel = tooltipId ===
|
|
2581
|
+
canCloseTooltip(target, tooltipId, anchorDescribedBy) {
|
|
2582
|
+
const isIdEqualsLabel = tooltipId === anchorDescribedBy;
|
|
2583
2583
|
const filterElement = closestBySelector(target, this.filter);
|
|
2584
2584
|
const isTargetFocused = target === document.activeElement;
|
|
2585
2585
|
const isTargetInsideWrapper = this.tooltipWrapper.nativeElement.contains(target);
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1784041099,
|
|
11
|
+
"version": "25.0.0-develop.6",
|
|
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": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.6",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"package": {
|
|
37
37
|
"productName": "Kendo UI for Angular",
|
|
38
38
|
"productCode": "KENDOUIANGULAR",
|
|
39
|
-
"publishDate":
|
|
39
|
+
"publishDate": 1784041099,
|
|
40
40
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"@angular/core": "20 - 22",
|
|
47
47
|
"@angular/platform-browser": "20 - 22",
|
|
48
48
|
"@progress/kendo-licensing": "^1.11.0",
|
|
49
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
50
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
51
|
-
"@progress/kendo-angular-popup": "25.0.0-develop.
|
|
52
|
-
"@progress/kendo-angular-icons": "25.0.0-develop.
|
|
49
|
+
"@progress/kendo-angular-common": "25.0.0-develop.6",
|
|
50
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.6",
|
|
51
|
+
"@progress/kendo-angular-popup": "25.0.0-develop.6",
|
|
52
|
+
"@progress/kendo-angular-icons": "25.0.0-develop.6",
|
|
53
53
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
57
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.6"
|
|
58
58
|
},
|
|
59
59
|
"schematics": "./schematics/collection.json",
|
|
60
60
|
"module": "fesm2022/progress-kendo-angular-tooltip.mjs",
|