@the-portland-company/shell 0.49.0-rc.1 → 0.49.0

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.
@@ -1939,7 +1939,7 @@ function NavSidebar({
1939
1939
  ]
1940
1940
  }
1941
1941
  ) }) : null,
1942
- /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "flex flex-col gap-[var(--sidebar-item-gap,0.25rem)]", children: [
1942
+ /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "flex flex-col gap-1", children: [
1943
1943
  nav.groupLabel ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "px-2 pb-1 text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sidebar-text-muted,var(--muted))]", children: nav.groupLabel }) : null,
1944
1944
  nav.items.map((item, idx) => {
1945
1945
  if (item.kind === "section") {
@@ -2102,19 +2102,10 @@ function NavRow({
2102
2102
  const washActive = variant !== "top";
2103
2103
  const activeClasses = washActive ? "bg-[color:var(--mode-accent-surface,var(--panel-elevated))] text-[color:var(--color-accent)] shadow-sm" : "bg-[color:var(--color-accent)] text-white shadow-sm";
2104
2104
  const wrapperClasses = [
2105
- "group relative block overflow-hidden transition",
2106
- "rounded-[var(--sidebar-item-radius,0.375rem)]",
2105
+ "group relative block overflow-hidden rounded-md transition",
2107
2106
  active ? activeClasses : "text-[color:var(--sidebar-text,var(--muted))] hover:text-white"
2108
2107
  ].join(" ");
2109
- const rowPadding = isSub ? [
2110
- "px-[calc(var(--sidebar-item-padding-x,0.75rem)*0.75)]",
2111
- "py-[calc(var(--sidebar-item-padding-y,0.5rem)*0.6)]",
2112
- "text-[length:calc(var(--sidebar-item-font-size,1rem)*0.875)]"
2113
- ].join(" ") : [
2114
- "px-[var(--sidebar-item-padding-x,0.75rem)]",
2115
- "py-[var(--sidebar-item-padding-y,0.5rem)]",
2116
- "text-[length:var(--sidebar-item-font-size,1rem)]"
2117
- ].join(" ");
2108
+ const rowPadding = isSub ? "px-3 py-1.5 text-[13px]" : "px-3 py-2 text-sm";
2118
2109
  const iconSize = isSub ? 16 : 18;
2119
2110
  const iconClass = active && !washActive ? "text-white" : "text-current";
2120
2111
  const inner = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2139,17 +2130,10 @@ function NavRow({
2139
2130
  }
2140
2131
  )
2141
2132
  ),
2142
- /* @__PURE__ */ jsxRuntime.jsxs(
2143
- "span",
2144
- {
2145
- style: { fontWeight: "var(--sidebar-item-font-weight, 400)" },
2146
- className: `relative z-10 flex items-center gap-3 ${rowPadding}`,
2147
- children: [
2148
- Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: iconSize, className: iconClass }) : null,
2149
- item.label
2150
- ]
2151
- }
2152
- )
2133
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: `relative z-10 flex items-center gap-3 font-semibold ${rowPadding}`, children: [
2134
+ Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: iconSize, className: iconClass }) : null,
2135
+ item.label
2136
+ ] })
2153
2137
  ] });
2154
2138
  if (item.disabled) {
2155
2139
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -2210,26 +2194,19 @@ function NavGroup({
2210
2194
  style: { background: NAV_HOVER_GRADIENT }
2211
2195
  }
2212
2196
  ) : null,
2213
- /* @__PURE__ */ jsxRuntime.jsxs(
2214
- "span",
2215
- {
2216
- style: { fontWeight: "var(--sidebar-item-font-weight, 400)" },
2217
- className: "relative z-10 flex items-center gap-3 px-[var(--sidebar-item-padding-x,0.75rem)] py-[var(--sidebar-item-padding-y,0.5rem)] text-[length:var(--sidebar-item-font-size,1rem)]",
2218
- children: [
2219
- Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 18, className: active ? "text-white" : "text-current" }) : null,
2220
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: item.label }),
2221
- /* @__PURE__ */ jsxRuntime.jsx(
2222
- ChevronDown,
2223
- {
2224
- className: [
2225
- "shrink-0 opacity-80 transition-transform duration-200",
2226
- open ? "rotate-180" : ""
2227
- ].join(" ")
2228
- }
2229
- )
2230
- ]
2231
- }
2232
- )
2197
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative z-10 flex items-center gap-3 px-3 py-2 text-sm font-semibold", children: [
2198
+ Icon ? /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 18, className: active ? "text-white" : "text-current" }) : null,
2199
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-1", children: item.label }),
2200
+ /* @__PURE__ */ jsxRuntime.jsx(
2201
+ ChevronDown,
2202
+ {
2203
+ className: [
2204
+ "shrink-0 opacity-80 transition-transform duration-200",
2205
+ open ? "rotate-180" : ""
2206
+ ].join(" ")
2207
+ }
2208
+ )
2209
+ ] })
2233
2210
  ]
2234
2211
  }
2235
2212
  ),
@@ -3091,6 +3068,9 @@ var POLITOGY_APPS = {
3091
3068
  navShape: "flat",
3092
3069
  beta: false
3093
3070
  },
3071
+ // Relationship Mode Email Engine (Specs/Email-Engine) — the V2 standalone
3072
+ // app, running in parallel to VRM core's V1 Email Broadcast.
3073
+ email: { title: "Email", origin: "https://email.politogyvrm.com", storagePrefix: "email", mode: "relationship" },
3094
3074
  // Campaign Mode apps — each scoped to Campaign, so they render the Campaign
3095
3075
  // tree and a static Campaign pill. Not yet deployed; hidden from the Campaign
3096
3076
  // nav by CAMPAIGN_FEATURE_AVAILABILITY until their launch flips the flag.