kiban-design-system 1.0.268-alpha.0 → 1.0.269-alpha.0
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.css.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9998,7 +9998,7 @@ const COMPONENT_NAME$p = 'AlphaSideMenu__Item';
|
|
|
9998
9998
|
const Item$3 = ({ label, isDisabled, icon, onClick, isActive: isActiveProp, subNavigationItems, truncateText, anchorProps, isCollapsed: isCollapsedProp, isSubNavigation, isExternal, isExact, url, }) => {
|
|
9999
9999
|
const { anchorComponent, collapsed, setCurrentTierItems, location } = useContext(SideMenuContext);
|
|
10000
10000
|
const isCollapsed = isCollapsedProp !== undefined ? isCollapsedProp : collapsed;
|
|
10001
|
-
const AnchorComponent = anchorComponent || 'a';
|
|
10001
|
+
const AnchorComponent = !isExternal ? anchorComponent || 'a' : 'a';
|
|
10002
10002
|
const isActive = useMemo(() => {
|
|
10003
10003
|
if (location && url) {
|
|
10004
10004
|
return isExact
|