@the-portland-company/shell 0.76.4 → 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-Z2VEYL2A.js → chunk-2V3D5NML.js} +18 -5
- package/dist/chunk-2V3D5NML.js.map +1 -0
- package/dist/native.cjs +16 -3
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-Z2VEYL2A.js.map +0 -1
package/dist/app-chrome.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { broadcastLogout, watchLogout } from './chunk-LL6LSJAH.js';
|
|
3
|
-
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-
|
|
4
|
-
export { standardNavIcons } from './chunk-
|
|
3
|
+
import { clearBetaBannerDismissal, standardPolitogyNav, standardNavIcons, isNavItemActive, NavAppShell, NavChromeProvider, TopBarWidgetSlot, FuelAction, SpecOverlayAction, NotificationsAction, SupportAction, useChromeMe, useThemePreference, useNavChromeDedupedFetch, useChromeOrgs, useNavChromeFetcher } from './chunk-2V3D5NML.js';
|
|
4
|
+
export { standardNavIcons } from './chunk-2V3D5NML.js';
|
|
5
5
|
import { warnDeprecated } from './chunk-MY6G3LMN.js';
|
|
6
6
|
import './chunk-BHRVZPZ7.js';
|
|
7
7
|
import { NAV_DISPLAY_DEFAULT, resolveNavDisplay, writeNavDisplayLocal, writeNavDisplayCookie, isNavDisplayPreference, NAV_DISPLAY_STORAGE_KEY, readNavDisplayCookie } from './chunk-7YVJ7HQG.js';
|
|
@@ -3417,11 +3417,24 @@ function NavTabButton({
|
|
|
3417
3417
|
size
|
|
3418
3418
|
}) {
|
|
3419
3419
|
const { label, icon: Icon, count, href, onSelect, selected, disabled, disabledTitle } = tab;
|
|
3420
|
-
const base = "-mb-px inline-flex shrink-0 items-center gap-2
|
|
3420
|
+
const base = "-mb-px inline-flex shrink-0 items-center gap-2 font-semibold leading-none transition-colors";
|
|
3421
3421
|
const sizeClass = size === "sm" ? "py-2 text-[12px]" : "py-3 text-[13px]";
|
|
3422
|
-
const stateClass = disabled ? "cursor-not-allowed
|
|
3422
|
+
const stateClass = disabled ? "cursor-not-allowed opacity-50" : "hover:text-[color:var(--tab-hover-color,#2F3136)]";
|
|
3423
3423
|
const className = `${base} ${sizeClass} ${stateClass}`;
|
|
3424
|
-
const
|
|
3424
|
+
const color = disabled ? "var(--color-g4,#929599)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--color-g4,#929599)";
|
|
3425
|
+
const style = selected && !disabled ? {
|
|
3426
|
+
textAlign: "center",
|
|
3427
|
+
borderBottomWidth: 2,
|
|
3428
|
+
borderBottomStyle: "solid",
|
|
3429
|
+
borderBottomColor: TAB_UNDERLINE_COLOR,
|
|
3430
|
+
color
|
|
3431
|
+
} : {
|
|
3432
|
+
textAlign: "center",
|
|
3433
|
+
borderBottomWidth: 0,
|
|
3434
|
+
borderBottomStyle: "none",
|
|
3435
|
+
borderBottomColor: "transparent",
|
|
3436
|
+
color
|
|
3437
|
+
};
|
|
3425
3438
|
const iconSize = size === "sm" ? 13 : 15;
|
|
3426
3439
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3427
3440
|
Icon ? /* @__PURE__ */ jsx(Icon, { size: iconSize, className: "shrink-0 text-current", strokeWidth: 1.75 }) : null,
|
|
@@ -3690,5 +3703,5 @@ function NavAppShell({
|
|
|
3690
3703
|
}
|
|
3691
3704
|
|
|
3692
3705
|
export { BETA_BANNER_DISMISS_KEY, CAMPAIGN_FEATURE_AVAILABILITY, CORE_APP_ORIGIN, CORE_BILLING_PATH, FuelAction, NavAppShell, NavBetaBanner, NavChromeProvider, NavDisplayAction, NavSidebar, NavTabStrip, NavThemeControl, NavTopBar, NotificationsAction, SPECS_ORIGIN, SpecOverlayAction, SupportAction, TopBarCountBadge, TopBarPanelArrow, TopBarPopover, TopBarTooltip, TopBarWidgetSlot, clearBetaBannerDismissal, envChipClasses, isNavItemActive, modeIdFromLabel, resolveOrgLogoUrl, shortEnvLabel, shortUserName, standardNavIcons, standardPolitogyNav, topBarIconButtonClass, useChromeMe, useChromeOrgs, useNavChromeDedupedFetch, useNavChromeFetcher, useThemePreference };
|
|
3693
|
-
//# sourceMappingURL=chunk-
|
|
3694
|
-
//# sourceMappingURL=chunk-
|
|
3706
|
+
//# sourceMappingURL=chunk-2V3D5NML.js.map
|
|
3707
|
+
//# sourceMappingURL=chunk-2V3D5NML.js.map
|