@versini/ui-menu 7.4.0 → 7.6.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
@@ -11,7 +11,7 @@ export declare const MenuGroup: {
11
11
  displayName: string;
12
12
  };
13
13
 
14
- declare type MenuGroupProps = {
14
+ export declare type MenuGroupProps = {
15
15
  /**
16
16
  * The label for the menu group.
17
17
  */
@@ -35,7 +35,7 @@ export declare const MenuItem: {
35
35
  displayName: string;
36
36
  };
37
37
 
38
- declare type MenuItemProps = {
38
+ export declare type MenuItemProps = {
39
39
  /**
40
40
  * The label to use for the menu item. Accepts any React node so you can
41
41
  * compose richer labels (e.g. text plus a `<Badge>`, an icon, or styled inline
@@ -100,14 +100,14 @@ export declare const MenuLabel: {
100
100
  displayName: string;
101
101
  };
102
102
 
103
- declare type MenuLabelProps = {
103
+ export declare type MenuLabelProps = {
104
104
  /**
105
105
  * A React component of type Icon to be placed on the left of the label.
106
106
  */
107
107
  icon?: React.ReactNode;
108
108
  } & React.HTMLAttributes<HTMLDivElement>;
109
109
 
110
- declare type MenuProps = {
110
+ export declare type MenuProps = {
111
111
  /**
112
112
  * The component to use to open the menu, e.g. a ButtonIcon, a Button, etc.
113
113
  */
@@ -151,14 +151,14 @@ export declare const MenuSeparator: {
151
151
  displayName: string;
152
152
  };
153
153
 
154
- declare type MenuSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
154
+ export declare type MenuSeparatorProps = React.HTMLAttributes<HTMLDivElement>;
155
155
 
156
156
  export declare const MenuSub: {
157
157
  ({ label, icon, children, disabled, sideOffset, selected, }: MenuSubProps): JSX.Element;
158
158
  displayName: string;
159
159
  };
160
160
 
161
- declare type MenuSubProps = {
161
+ export declare type MenuSubProps = {
162
162
  /**
163
163
  * The label for the sub-menu trigger. Accepts any React node so you can
164
164
  * compose richer labels (e.g. text plus a `<Badge>`). For a plain text label,
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-menu v7.4.0
2
+ @versini/ui-menu v7.6.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.4.0",
3
+ "version": "7.6.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -37,8 +37,7 @@
37
37
  "test": "vitest run"
38
38
  },
39
39
  "devDependencies": {
40
- "@testing-library/jest-dom": "7.0.0",
41
- "@versini/ui-types": "10.1.0"
40
+ "@testing-library/jest-dom": "7.0.0"
42
41
  },
43
42
  "dependencies": {
44
43
  "@versini/ui-hooks": "6.2.0",
@@ -49,5 +48,5 @@
49
48
  "sideEffects": [
50
49
  "**/*.css"
51
50
  ],
52
- "gitHead": "199d330dd9b9e51c27b9c3f338af0e82600a4fc4"
51
+ "gitHead": "a5b684e285b7afc9e7cc1ac53d7ddc5a49430512"
53
52
  }