@versini/ui-menu 3.3.1 → 3.3.3
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/components/Menu/MenuItem.js +30 -30
- package/dist/index.js +3 -3
- package/package.json +5 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as n, Fragment as g, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import { useListItem as v, useFloatingTree as C, useMergeRefs as M } from "@floating-ui/react";
|
|
3
3
|
import f from "clsx";
|
|
4
4
|
import * as w from "react";
|
|
5
5
|
import { MenuContext as S } from "./MenuContext.js";
|
|
6
|
-
const
|
|
6
|
+
const V = ({
|
|
7
7
|
children: t,
|
|
8
8
|
fill: s,
|
|
9
9
|
viewBox: o,
|
|
@@ -15,45 +15,45 @@ const y = ({
|
|
|
15
15
|
...b
|
|
16
16
|
}) => {
|
|
17
17
|
const d = f(u, a);
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
children:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
18
|
+
return /* @__PURE__ */ n(g, { children: /* @__PURE__ */ _(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
className: d,
|
|
23
|
+
viewBox: o || r,
|
|
24
|
+
fill: s || "currentColor",
|
|
25
|
+
role: "img",
|
|
26
|
+
"aria-hidden": !e,
|
|
27
|
+
focusable: !1,
|
|
28
|
+
...b,
|
|
29
|
+
children: [
|
|
30
|
+
l && e && /* @__PURE__ */ n("title", { children: l }),
|
|
31
|
+
t
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
) });
|
|
35
35
|
};
|
|
36
36
|
/*!
|
|
37
|
-
@versini/ui-svgicon v4.
|
|
37
|
+
@versini/ui-svgicon v4.1.1
|
|
38
38
|
© 2025 gizmette.com
|
|
39
39
|
*/
|
|
40
40
|
try {
|
|
41
41
|
window.__VERSINI_UI_SVGICON__ || (window.__VERSINI_UI_SVGICON__ = {
|
|
42
|
-
version: "4.
|
|
43
|
-
buildTime: "
|
|
42
|
+
version: "4.1.1",
|
|
43
|
+
buildTime: "02/27/2025 03:46 PM EST",
|
|
44
44
|
homepage: "https://github.com/aversini/ui-components",
|
|
45
45
|
license: "MIT"
|
|
46
46
|
});
|
|
47
47
|
} catch {
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const y = ({
|
|
50
50
|
className: t,
|
|
51
51
|
viewBox: s,
|
|
52
52
|
title: o,
|
|
53
53
|
monotone: a,
|
|
54
54
|
...r
|
|
55
55
|
}) => /* @__PURE__ */ _(
|
|
56
|
-
|
|
56
|
+
V,
|
|
57
57
|
{
|
|
58
58
|
defaultViewBox: "0 0 448 512",
|
|
59
59
|
size: "size-5",
|
|
@@ -74,13 +74,13 @@ const V = ({
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
/*!
|
|
77
|
-
@versini/ui-icons v4.
|
|
77
|
+
@versini/ui-icons v4.8.1
|
|
78
78
|
© 2025 gizmette.com
|
|
79
79
|
*/
|
|
80
80
|
try {
|
|
81
81
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
82
|
-
version: "4.
|
|
83
|
-
buildTime: "
|
|
82
|
+
version: "4.8.1",
|
|
83
|
+
buildTime: "02/27/2025 03:46 PM EST",
|
|
84
84
|
homepage: "https://github.com/aversini/ui-components",
|
|
85
85
|
license: "MIT"
|
|
86
86
|
});
|
|
@@ -141,7 +141,7 @@ const R = w.forwardRef(
|
|
|
141
141
|
}
|
|
142
142
|
}),
|
|
143
143
|
children: [
|
|
144
|
-
l && /* @__PURE__ */ n(
|
|
144
|
+
l && /* @__PURE__ */ n(y, { className: "mr-2", size: "size-4" }),
|
|
145
145
|
o,
|
|
146
146
|
t && /* @__PURE__ */ n("span", { className: d, children: t })
|
|
147
147
|
]
|
|
@@ -153,7 +153,7 @@ R.displayName = "MenuItem";
|
|
|
153
153
|
const E = ({ className: t, ...s }) => {
|
|
154
154
|
const o = f(t, "my-1 border-t border-border-medium");
|
|
155
155
|
return /* @__PURE__ */ n("div", { className: o, ...s });
|
|
156
|
-
},
|
|
156
|
+
}, F = ({
|
|
157
157
|
className: t,
|
|
158
158
|
...s
|
|
159
159
|
}) => {
|
|
@@ -164,7 +164,7 @@ const E = ({ className: t, ...s }) => {
|
|
|
164
164
|
return /* @__PURE__ */ n("div", { className: o, ...s });
|
|
165
165
|
};
|
|
166
166
|
export {
|
|
167
|
-
|
|
167
|
+
F as MenuGroupLabel,
|
|
168
168
|
R as MenuItem,
|
|
169
169
|
E as MenuSeparator
|
|
170
170
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Menu as _ } from "./components/Menu/Menu.js";
|
|
2
2
|
import { MenuGroupLabel as n, MenuItem as t, MenuSeparator as u } from "./components/Menu/MenuItem.js";
|
|
3
3
|
/*!
|
|
4
|
-
@versini/ui-menu v3.3.
|
|
4
|
+
@versini/ui-menu v3.3.3
|
|
5
5
|
© 2025 gizmette.com
|
|
6
6
|
*/
|
|
7
7
|
try {
|
|
8
8
|
window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
|
|
9
|
-
version: "3.3.
|
|
10
|
-
buildTime: "
|
|
9
|
+
version: "3.3.3",
|
|
10
|
+
buildTime: "03/14/2025 02:25 PM EDT",
|
|
11
11
|
homepage: "https://github.com/aversini/ui-components",
|
|
12
12
|
license: "MIT"
|
|
13
13
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-menu",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"react-dom": "^18.3.1 || ^19.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@versini/ui-types": "
|
|
42
|
+
"@versini/ui-types": "5.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@floating-ui/react": "0.27.
|
|
45
|
+
"@floating-ui/react": "0.27.5",
|
|
46
46
|
"@tailwindcss/typography": "0.5.16",
|
|
47
|
-
"@versini/ui-icons": "
|
|
47
|
+
"@versini/ui-icons": "4.8.1",
|
|
48
48
|
"clsx": "2.1.1",
|
|
49
49
|
"tailwindcss": "3.4.17"
|
|
50
50
|
},
|
|
51
51
|
"sideEffects": [
|
|
52
52
|
"**/*.css"
|
|
53
53
|
],
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "e1786e4c57e30abf7d586b16a976681c97df323f"
|
|
55
55
|
}
|