From ddbe83944a2ced67c7e815fc1196dd590afcc2ae Mon Sep 17 00:00:00 2001 From: Calinator444 Date: Tue, 3 Feb 2026 14:32:21 +1100 Subject: [PATCH 1/3] Added hide phone prop megamenu --- lib/components/MegaMenuLayout/MegaMenuLayout.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/components/MegaMenuLayout/MegaMenuLayout.tsx b/lib/components/MegaMenuLayout/MegaMenuLayout.tsx index b909fa9..81dc923 100644 --- a/lib/components/MegaMenuLayout/MegaMenuLayout.tsx +++ b/lib/components/MegaMenuLayout/MegaMenuLayout.tsx @@ -24,6 +24,7 @@ export type MegaMenuWrapperProps = { url?: string; subtitle?: string; searchUrl?: string; + hidePhone?: boolean; rightSideActionsOverride?: () => JSX.Element; callback?: (searchTerm: string) => void; linkComponent?: LinkComponentType; @@ -47,6 +48,7 @@ const MegaMenuContents: React.FC = ({ title, url, subtitle, + hidePhone, searchUrl = DEFAULT_URL, menuBarItems, rightSideActionsOverride, @@ -115,7 +117,7 @@ const MegaMenuContents: React.FC = ({ ) : ( - + !hidePhone && )} {isFlagVisible && } {isFlagVisible && } @@ -133,6 +135,7 @@ const MegaMenuContents: React.FC = ({ searchTerm={searchTerm} performSearch={performSearch} searchUrl={searchUrl} + hidePhone={hidePhone} menuGroups={menuItems} sideActionsOverride={rightSideActionsOverride} callback={callback} @@ -152,7 +155,7 @@ const MegaMenuContents: React.FC = ({ ) : ( - + !hidePhone && )} ); From 34367ca07d269ae195f75c3738f5cf8949bc1fbf Mon Sep 17 00:00:00 2001 From: Calinator444 Date: Tue, 3 Feb 2026 14:34:14 +1100 Subject: [PATCH 2/3] bumped megamenu version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a910925..e6fcc90 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ssw.megamenu", - "version": "4.13.7", + "version": "4.13.8", "repository": { "type": "git", "url": "https://github.com/SSWConsulting/SSW.MegaMenu" @@ -91,4 +91,4 @@ ] }, "packageManager": "pnpm@9.5.0" -} +} \ No newline at end of file From 2551cd9d88ce1561d9871d266dbeda48a2e09dfa Mon Sep 17 00:00:00 2001 From: Calinator444 Date: Tue, 3 Feb 2026 14:36:02 +1100 Subject: [PATCH 3/3] ran prettier --- lib/components/ui/Divider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/ui/Divider.tsx b/lib/components/ui/Divider.tsx index 6619dca..2df0c4d 100644 --- a/lib/components/ui/Divider.tsx +++ b/lib/components/ui/Divider.tsx @@ -2,5 +2,5 @@ import type { ClassValue } from "clsx"; import { cx } from "../../util/cx"; export const Divider = ({ className }: { className?: ClassValue }) => ( -
+
);