@versini/ui-menu 7.5.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 +6 -6
- package/dist/index.js +1 -1
- package/package.json +2 -2
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-menu",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sideEffects": [
|
|
49
49
|
"**/*.css"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a5b684e285b7afc9e7cc1ac53d7ddc5a49430512"
|
|
52
52
|
}
|