@syncfusion/ej2-popups
Advanced tools
Comparing version 23.1.38 to 23.1.43
@@ -9,2 +9,10 @@ # Changelog | ||
- `#I490793` - Provided support to open or close the `Tooltip` for the default focusable element through keyboard interaction. | ||
## 23.1.38 (2023-09-26) | ||
### Tooltip | ||
#### Bug Fixes | ||
- `#I498062` - The console errors with the Tooltip component while dragging a diagram node over another node frequently has been resolved. | ||
@@ -11,0 +19,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 23.1.38 | ||
* version : 23.1.43 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-popups@*", | ||
"_id": "@syncfusion/ej2-popups@23.1.36", | ||
"_id": "@syncfusion/ej2-popups@23.1.38", | ||
"_inBundle": false, | ||
"_integrity": "sha512-IM+OViCVE0ILMQQ2kjLfh4afKD15ZW6Ag61k/56PSiXFRXDcLipXPIopduQlZtNRBJzbPJbUbgMi8IlbHrE0zA==", | ||
"_integrity": "sha512-pCrG8uRWMCRC+qYlJsv7pmwtMjWE/Ya4N+AUhadbv5uHx+Qhm0TTPMYig+f2V2yO8xOEpu62IMUSlAvyQWqdoA==", | ||
"_location": "/@syncfusion/ej2-popups", | ||
@@ -46,4 +46,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-23.1.36.tgz", | ||
"_shasum": "d9cfc0ec41acc6aceb726cff9f0095ee488f97c4", | ||
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-popups/-/ej2-popups-23.1.38.tgz", | ||
"_shasum": "e6b849944dfda71a4df8f8d84ec50a8fa87b0faf", | ||
"_spec": "@syncfusion/ej2-popups@*", | ||
@@ -59,4 +59,4 @@ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~23.1.38", | ||
"@syncfusion/ej2-buttons": "~23.1.36" | ||
"@syncfusion/ej2-base": "~23.1.41", | ||
"@syncfusion/ej2-buttons": "~23.1.43" | ||
}, | ||
@@ -96,4 +96,4 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "23.1.38", | ||
"version": "23.1.43", | ||
"sideEffects": false | ||
} |
@@ -175,3 +175,3 @@ /** | ||
function getElementRight() { | ||
var popupWidth = (element && (element.classList.contains('e-date-wrapper') || element.classList.contains('e-datetime-wrapper') || element.classList.contains('e-date-range-wrapper') || element.classList.contains('e-ddl') || element.classList.contains('e-multiselect'))) ? (popupRect ? popupRect.width : 0) : | ||
var popupWidth = (element && (element.classList.contains('e-date-wrapper') || element.classList.contains('e-datetime-wrapper') || element.classList.contains('e-date-range-wrapper') || element.classList.contains('e-multiselect'))) ? (popupRect ? popupRect.width : 0) : | ||
(popupRect && (elementRect.width >= popupRect.width) ? popupRect.width : 0); | ||
@@ -178,0 +178,0 @@ return elementRect.right + getBodyScrollLeft() - popupWidth; |
@@ -903,9 +903,2 @@ var __extends = (this && this.__extends) || (function () { | ||
Tooltip.prototype.keyDown = function (event) { | ||
if (!isNullOrUndefined(this.targetsList) && !isNullOrUndefined(this.target)) { | ||
var target = [].slice.call(selectAll(this.target, this.element)); | ||
if (target.length !== this.targetsList.length) { | ||
this.unwireEvents(this.opensOn); | ||
this.wireEvents(this.opensOn); | ||
} | ||
} | ||
if (this.tooltipEle && event.keyCode === 27) { | ||
@@ -997,16 +990,11 @@ this.close(); | ||
if (!isNullOrUndefined(this.target)) { | ||
if (this.element.nodeName !== "BODY") { | ||
EventHandler.add(this.element, 'focusin', this.targetHover, this); | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
this.targetsList = targetList; | ||
for (var _i = 0, targetList_2 = targetList; _i < targetList_2.length; _i++) { | ||
var target = targetList_2[_i]; | ||
EventHandler.add(target, 'focus', this.targetHover, this); | ||
} | ||
else { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
this.targetsList = targetList; | ||
for (var _i = 0, targetList_2 = targetList; _i < targetList_2.length; _i++) { | ||
var target = targetList_2[_i]; | ||
EventHandler.add(target, 'focus', this.targetHover, this); | ||
} | ||
} | ||
} | ||
else { | ||
EventHandler.add(this.element, 'focus', this.targetHover, this); | ||
EventHandler.add(this.element, 'focusin', this.targetHover, this); | ||
} | ||
@@ -1077,15 +1065,10 @@ }; | ||
if (!isNullOrUndefined(this.target)) { | ||
if (this.element.nodeName === 'BODY') { | ||
EventHandler.remove(this.element, 'focusin', this.targetHover); | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
for (var _i = 0, targetList_3 = targetList; _i < targetList_3.length; _i++) { | ||
var target = targetList_3[_i]; | ||
EventHandler.remove(target, 'focus', this.targetHover); | ||
} | ||
else { | ||
var targetList = [].slice.call(selectAll(this.target, this.element)); | ||
for (var _i = 0, targetList_3 = targetList; _i < targetList_3.length; _i++) { | ||
var target = targetList_3[_i]; | ||
EventHandler.remove(target, 'focus', this.targetHover); | ||
} | ||
} | ||
} | ||
else { | ||
EventHandler.remove(this.element, 'focus', this.targetHover); | ||
EventHandler.remove(this.element, 'focusin', this.targetHover); | ||
} | ||
@@ -1284,2 +1267,9 @@ }; | ||
} | ||
if (!isNullOrUndefined(this.targetsList) && !isNullOrUndefined(this.target)) { | ||
var target_2 = selectAll(this.target, this.element); | ||
if (target_2.length !== this.targetsList.length) { | ||
this.unwireEvents(this.opensOn); | ||
this.wireEvents(this.opensOn); | ||
} | ||
} | ||
}; | ||
@@ -1286,0 +1276,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3776904
54163