@the-portland-company/shell 0.76.9 → 0.76.11

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/native.cjs CHANGED
@@ -749,7 +749,7 @@ function FuelRow({
749
749
  {
750
750
  className: [
751
751
  "h-full rounded-full transition-[width]",
752
- low ? "bg-[color:var(--chrome-danger)]" : "bg-[color:var(--color-ok,#00A651)]"
752
+ low ? "bg-[color:var(--chrome-danger)]" : "bg-[color:var(--color-ok,#00783B)]"
753
753
  ].join(" "),
754
754
  style: { width: `${ratio}%` }
755
755
  }
@@ -3106,21 +3106,28 @@ function NavSectionRow({
3106
3106
  variant = "top"
3107
3107
  }) {
3108
3108
  const rc = useRailCollapse();
3109
- const collapsed = variant === "sub" ? "" : first ? rc("max-md:sr-only") : rc(
3110
- "max-md:mx-2 max-md:my-2 max-md:h-px max-md:overflow-hidden max-md:bg-[color:var(--sidebar-line,var(--line))] max-md:p-0 max-md:text-transparent"
3111
- );
3112
- return /* @__PURE__ */ jsxRuntime.jsx(
3113
- "p",
3114
- {
3115
- className: [
3116
- NAV_EYEBROW_CLASS,
3117
- variant === "sub" ? "px-3 pb-0.5" : "px-2 pb-1.5 pt-1",
3118
- first ? "" : variant === "sub" ? "mt-3" : "mt-[14px]",
3119
- collapsed
3120
- ].join(" "),
3121
- children: label
3122
- }
3123
- );
3109
+ const labelCollapsed = variant === "sub" ? "" : rc("max-md:sr-only");
3110
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
3111
+ variant !== "sub" && !first ? /* @__PURE__ */ jsxRuntime.jsx(
3112
+ "div",
3113
+ {
3114
+ "aria-hidden": true,
3115
+ className: rc("max-md:mx-2 max-md:my-2 max-md:h-px max-md:bg-[color:var(--sidebar-line,var(--line))]")
3116
+ }
3117
+ ) : null,
3118
+ /* @__PURE__ */ jsxRuntime.jsx(
3119
+ "p",
3120
+ {
3121
+ className: [
3122
+ NAV_EYEBROW_CLASS,
3123
+ variant === "sub" ? "px-3 pb-0.5" : "px-2 pb-1.5 pt-1",
3124
+ first ? "" : variant === "sub" ? "mt-3" : "mt-[14px]",
3125
+ labelCollapsed
3126
+ ].join(" "),
3127
+ children: label
3128
+ }
3129
+ )
3130
+ ] });
3124
3131
  }
3125
3132
  function NavRow({
3126
3133
  item,
@@ -3679,7 +3686,7 @@ function NavTabButton({
3679
3686
  const sizeClass = size === "sm" ? "py-2 text-[12px]" : "py-3 text-[13px]";
3680
3687
  const stateClass = disabled ? "cursor-not-allowed opacity-50" : "hover:text-[color:var(--tab-hover-color,#2F3136)]";
3681
3688
  const className = `${base} ${sizeClass} ${stateClass}`;
3682
- const color = disabled ? "var(--color-g4,#929599)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--color-g4,#929599)";
3689
+ const color = disabled ? "var(--tab-text-muted,#5C6B80)" : selected ? "var(--tab-selected-color,#2F3136)" : "var(--tab-text-muted,#5C6B80)";
3683
3690
  const style = selected && !disabled ? {
3684
3691
  textAlign: "center",
3685
3692
  borderBottomWidth: 2,