@versini/ui-menu 7.3.5 → 7.4.0
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/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -86,6 +86,13 @@ declare type MenuItemProps = {
|
|
|
86
86
|
* Optional mouse enter handler.
|
|
87
87
|
*/
|
|
88
88
|
onMouseEnter?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Optional mouse leave handler. Pairs with `onMouseEnter` so consumers can
|
|
91
|
+
* express hover intent — arm on enter, cancel on leave — rather than acting on
|
|
92
|
+
* every crossing. Any item above another is crossed on the way to it, so
|
|
93
|
+
* enter-only handlers fire for users who were only passing through.
|
|
94
|
+
*/
|
|
95
|
+
onMouseLeave?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
89
96
|
};
|
|
90
97
|
|
|
91
98
|
export declare const MenuLabel: {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-menu",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"sideEffects": [
|
|
50
50
|
"**/*.css"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "199d330dd9b9e51c27b9c3f338af0e82600a4fc4"
|
|
53
53
|
}
|