@jsenv/navi 0.14.14 → 0.14.15
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/jsenv_navi.js +4 -3
- package/dist/jsenv_navi.js.map +3 -3
- package/package.json +1 -1
package/dist/jsenv_navi.js
CHANGED
|
@@ -16553,9 +16553,10 @@ const LinkPlain = props => {
|
|
|
16553
16553
|
} else {
|
|
16554
16554
|
innerIcon = icon;
|
|
16555
16555
|
}
|
|
16556
|
+
const innerChildren = children || href;
|
|
16556
16557
|
return jsxs(Box, {
|
|
16557
16558
|
as: "a",
|
|
16558
|
-
color: anchor && !
|
|
16559
|
+
color: anchor && !innerChildren ? "inherit" : undefined,
|
|
16559
16560
|
id: anchor ? href.slice(1) : undefined,
|
|
16560
16561
|
...rest,
|
|
16561
16562
|
ref: ref,
|
|
@@ -16607,8 +16608,8 @@ const LinkPlain = props => {
|
|
|
16607
16608
|
children: [jsx(LoaderBackground, {
|
|
16608
16609
|
loading: loading,
|
|
16609
16610
|
color: "var(--link-loader-color)"
|
|
16610
|
-
}), applySpacingOnTextChildren(
|
|
16611
|
-
marginLeft:
|
|
16611
|
+
}), applySpacingOnTextChildren(innerChildren, spacing), innerIcon && jsx(Icon, {
|
|
16612
|
+
marginLeft: innerChildren ? "xxs" : undefined,
|
|
16612
16613
|
children: innerIcon
|
|
16613
16614
|
})]
|
|
16614
16615
|
});
|