@instructure/ui-dom-utils 8.12.1-snapshot.47 → 8.12.1-snapshot.56
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-dom-utils",
|
|
3
|
-
"version": "8.12.1-snapshot.
|
|
3
|
+
"version": "8.12.1-snapshot.56+3ce75f0b6",
|
|
4
4
|
"description": "A DOM utility library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.12.1-snapshot.
|
|
27
|
-
"@instructure/ui-test-utils": "8.12.1-snapshot.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.12.1-snapshot.56+3ce75f0b6",
|
|
27
|
+
"@instructure/ui-test-utils": "8.12.1-snapshot.56+3ce75f0b6"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime": "^7.13.10",
|
|
31
|
-
"@instructure/console": "8.12.1-snapshot.
|
|
32
|
-
"@instructure/shared-types": "8.12.1-snapshot.
|
|
31
|
+
"@instructure/console": "8.12.1-snapshot.56+3ce75f0b6",
|
|
32
|
+
"@instructure/shared-types": "8.12.1-snapshot.56+3ce75f0b6"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=16.8 <=17",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "3ce75f0b670d195e74357fd200381393dd5c1300"
|
|
43
43
|
}
|
|
@@ -40,7 +40,10 @@ import { contains } from './contains'
|
|
|
40
40
|
*/
|
|
41
41
|
function handleMouseOverOut(
|
|
42
42
|
handler: (...args: any[]) => any,
|
|
43
|
-
event:
|
|
43
|
+
event: {
|
|
44
|
+
currentTarget: EventTarget | null
|
|
45
|
+
relatedTarget?: EventTarget | null
|
|
46
|
+
}
|
|
44
47
|
) {
|
|
45
48
|
const target = event.currentTarget
|
|
46
49
|
const related = event.relatedTarget
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
* @param handler {function} Callback function for handling the event
|
|
13
13
|
* @param event {Event} The DOM Event that was fired
|
|
14
14
|
*/
|
|
15
|
-
declare function handleMouseOverOut(handler: (...args: any[]) => any, event:
|
|
16
|
-
|
|
15
|
+
declare function handleMouseOverOut(handler: (...args: any[]) => any, event: {
|
|
16
|
+
currentTarget: EventTarget | null;
|
|
17
|
+
relatedTarget?: EventTarget | null;
|
|
17
18
|
}): void;
|
|
18
19
|
export default handleMouseOverOut;
|
|
19
20
|
export { handleMouseOverOut };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleMouseOverOut.d.ts","sourceRoot":"","sources":["../src/handleMouseOverOut.ts"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;;GAaG;AACH,iBAAS,kBAAkB,CACzB,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAChC,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"handleMouseOverOut.d.ts","sourceRoot":"","sources":["../src/handleMouseOverOut.ts"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;;GAaG;AACH,iBAAS,kBAAkB,CACzB,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,EAChC,KAAK,EAAE;IACL,aAAa,EAAE,WAAW,GAAG,IAAI,CAAA;IACjC,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;CACnC,QAYF;AAED,eAAe,kBAAkB,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|