@versini/ui-menu 7.3.4 → 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 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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-menu v7.3.4
2
+ @versini/ui-menu v7.4.0
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-menu",
3
- "version": "7.3.4",
3
+ "version": "7.4.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -37,17 +37,17 @@
37
37
  "test": "vitest run"
38
38
  },
39
39
  "devDependencies": {
40
- "@testing-library/jest-dom": "6.10.0",
40
+ "@testing-library/jest-dom": "7.0.0",
41
41
  "@versini/ui-types": "10.1.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "@versini/ui-hooks": "6.2.0",
45
- "@versini/ui-icons": "4.29.1",
45
+ "@versini/ui-icons": "4.29.2",
46
46
  "clsx": "2.1.1",
47
47
  "tailwindcss": "4.3.3"
48
48
  },
49
49
  "sideEffects": [
50
50
  "**/*.css"
51
51
  ],
52
- "gitHead": "897d5d5404b5061b86b4939841ee29f54088728f"
52
+ "gitHead": "199d330dd9b9e51c27b9c3f338af0e82600a4fc4"
53
53
  }