@the-portland-company/shell 0.76.5 → 0.76.7
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-LIBRFEDD.js} +14 -5
- package/dist/chunk-LIBRFEDD.js.map +1 -0
- package/dist/native.cjs +12 -3
- 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;
|
|
@@ -3738,7 +3744,10 @@ function NavTabStrip({
|
|
|
3738
3744
|
role: "tablist",
|
|
3739
3745
|
"aria-label": ariaLabel,
|
|
3740
3746
|
className: [
|
|
3741
|
-
|
|
3747
|
+
// 26px, not 24px: a style_diff against design (email-builder-desktop,
|
|
3748
|
+
// 2026-10-09) measured the rendered row gap 4px short of spec (48 vs
|
|
3749
|
+
// 52) at the 24px default.
|
|
3750
|
+
"flex items-end gap-[var(--tab-gap,26px)] border-b border-[color:var(--tab-border-color,#D7DADF)]",
|
|
3742
3751
|
className
|
|
3743
3752
|
].filter(Boolean).join(" "),
|
|
3744
3753
|
children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(NavTabButton, { tab, Link, size }, tab.key))
|