@moontra/moonui-pro 2.26.3 → 2.26.4
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.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -75732,9 +75732,9 @@ function NavbarInternal({
|
|
|
75732
75732
|
] })
|
|
75733
75733
|
] }),
|
|
75734
75734
|
sections.map((section) => {
|
|
75735
|
-
const filteredItems = section.items.filter(
|
|
75736
|
-
(item) =>
|
|
75737
|
-
);
|
|
75735
|
+
const filteredItems = searchValue ? section.items.filter(
|
|
75736
|
+
(item) => item.title.toLowerCase().includes(searchValue.toLowerCase()) || item.description?.toLowerCase().includes(searchValue.toLowerCase())
|
|
75737
|
+
) : section.items;
|
|
75738
75738
|
if (filteredItems.length === 0)
|
|
75739
75739
|
return null;
|
|
75740
75740
|
return /* @__PURE__ */ jsx(MoonUICommandGroupPro, { heading: enableCommandAI ? "Navigation" : section.id, children: filteredItems.map((item) => /* @__PURE__ */ jsxs(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui-pro",
|
|
3
|
-
"version": "2.26.
|
|
3
|
+
"version": "2.26.4",
|
|
4
4
|
"description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.mjs",
|