@the-portland-company/shell 0.76.5 → 0.76.6
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/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.js +2 -2
- package/dist/{chunk-SF22BWQ2.js → chunk-2V3D5NML.js} +10 -4
- package/dist/chunk-2V3D5NML.js.map +1 -0
- package/dist/native.cjs +8 -2
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-SF22BWQ2.js.map +0 -1
package/dist/native.cjs
CHANGED
|
@@ -3666,11 +3666,17 @@ function NavTabButton({
|
|
|
3666
3666
|
const stateClass = disabled ? "cursor-not-allowed opacity-50" : "hover:text-[color:var(--tab-hover-color,#2F3136)]";
|
|
3667
3667
|
const className = `${base} ${sizeClass} ${stateClass}`;
|
|
3668
3668
|
const color = disabled ? "var(--color-g4,#929599)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--color-g4,#929599)";
|
|
3669
|
-
const style = {
|
|
3669
|
+
const style = selected && !disabled ? {
|
|
3670
3670
|
textAlign: "center",
|
|
3671
3671
|
borderBottomWidth: 2,
|
|
3672
3672
|
borderBottomStyle: "solid",
|
|
3673
|
-
borderBottomColor:
|
|
3673
|
+
borderBottomColor: TAB_UNDERLINE_COLOR,
|
|
3674
|
+
color
|
|
3675
|
+
} : {
|
|
3676
|
+
textAlign: "center",
|
|
3677
|
+
borderBottomWidth: 0,
|
|
3678
|
+
borderBottomStyle: "none",
|
|
3679
|
+
borderBottomColor: "transparent",
|
|
3674
3680
|
color
|
|
3675
3681
|
};
|
|
3676
3682
|
const iconSize = size === "sm" ? 13 : 15;
|