orcs-design-system 3.3.63 → 3.3.64

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.
@@ -30,7 +30,8 @@ export const AvatarLink = _ref => {
30
30
  gradient
31
31
  } = _ref;
32
32
  const location = useLocation();
33
- const isActive = location.pathname === link;
33
+ // Check if current path starts with the link path to handle nested routes
34
+ const isActive = link && location.pathname.startsWith(link);
34
35
  return /*#__PURE__*/_jsxs(Link, {
35
36
  to: link || "#",
36
37
  "aria-label": name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orcs-design-system",
3
- "version": "3.3.63",
3
+ "version": "3.3.64",
4
4
  "engines": {
5
5
  "node": "20.12.2"
6
6
  },
@@ -226,4 +226,4 @@
226
226
  "eslintConfig": {
227
227
  "extends": "react-app"
228
228
  }
229
- }
229
+ }