From 01abe907b9b9627ed802263e28141b101505bb18 Mon Sep 17 00:00:00 2001 From: igorrm23 Date: Sat, 7 Mar 2026 02:50:07 -0300 Subject: [PATCH 1/7] chore: update next-env.d.ts --- apps/site/next-env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/next-env.d.ts b/apps/site/next-env.d.ts index c05d9f7d66f17..cdb6b7b848c32 100644 --- a/apps/site/next-env.d.ts +++ b/apps/site/next-env.d.ts @@ -1,7 +1,7 @@ /// /// /// -import './.next/types/routes.d.ts'; +import './.next/dev/types/routes.d.ts'; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. From 0ef360c6ceae753f3c387ef06be5897c59e7a26e Mon Sep 17 00:00:00 2001 From: igorrm23 Date: Sat, 14 Mar 2026 06:03:07 -0300 Subject: [PATCH 2/7] feat: minimize mobile nav empty space (#8719) Only render the navItems container when the array has items to prevent an empty padded container from creating unwanted space in the mobile navigation. --- packages/ui-components/src/Containers/NavBar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index 4456420968c6d..a4597ed7737fa 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -75,7 +75,7 @@ const NavBar: FC> = ({ />
- {navItems && ( + {!!navItems?.length && (
{navItems.map(({ text, link, target }) => ( Date: Sat, 14 Mar 2026 06:06:01 -0300 Subject: [PATCH 3/7] Update import path for routes type definitions Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com> --- apps/site/next-env.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/next-env.d.ts b/apps/site/next-env.d.ts index cdb6b7b848c32..c05d9f7d66f17 100644 --- a/apps/site/next-env.d.ts +++ b/apps/site/next-env.d.ts @@ -1,7 +1,7 @@ /// /// /// -import './.next/dev/types/routes.d.ts'; +import './.next/types/routes.d.ts'; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. From e07127be92b349c71dcb1cc100a4f72c6110f7ea Mon Sep 17 00:00:00 2001 From: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com> Date: Sat, 14 Mar 2026 09:04:11 -0300 Subject: [PATCH 4/7] Update packages/ui-components/src/Containers/NavBar/index.tsx Co-authored-by: Claudio Wunder Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com> --- packages/ui-components/src/Containers/NavBar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index a4597ed7737fa..fb6f4c6fb7b7e 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -75,7 +75,7 @@ const NavBar: FC> = ({ />
- {!!navItems?.length && ( + {navItems?.length > 0 && (
{navItems.map(({ text, link, target }) => ( Date: Sat, 14 Mar 2026 09:23:48 -0300 Subject: [PATCH 5/7] Fix conditional rendering of navItems in NavBar Is this breaking the build with navItems?.length > 0 && Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com> --- packages/ui-components/src/Containers/NavBar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index fb6f4c6fb7b7e..51cfd77ad41ee 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -73,9 +73,9 @@ const NavBar: FC> = ({ aria-label={sidebarItemTogglerAriaLabel} tabIndex={-1} /> - +
- {navItems?.length > 0 && ( + {navItems && navItems.length > 0 &&(
{navItems.map(({ text, link, target }) => ( Date: Sat, 14 Mar 2026 13:43:08 -0300 Subject: [PATCH 6/7] Remove blank line in NavBar component Removed unnecessary blank line before the main navigation items div. Signed-off-by: Igor Rodrigues Machado <107290125+igorrm19@users.noreply.github.com> --- packages/ui-components/src/Containers/NavBar/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index 51cfd77ad41ee..b9391f4d574dc 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -73,7 +73,6 @@ const NavBar: FC> = ({ aria-label={sidebarItemTogglerAriaLabel} tabIndex={-1} /> -
{navItems && navItems.length > 0 &&(
From 1fdbd0d0dea82cd625fad9c9fe6f906f151bb673 Mon Sep 17 00:00:00 2001 From: igorrm23 Date: Sat, 14 Mar 2026 14:41:29 -0300 Subject: [PATCH 7/7] style: fix prettier formatting in NavBar --- packages/ui-components/src/Containers/NavBar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index b9391f4d574dc..0d9404b27c521 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -74,7 +74,7 @@ const NavBar: FC> = ({ tabIndex={-1} />
- {navItems && navItems.length > 0 &&( + {navItems && navItems.length > 0 && (
{navItems.map(({ text, link, target }) => (