@sensiblestats/widget-react 0.33.2 → 0.33.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.33.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Club match-preview tap: render the voiced lead at regular weight (not semibold) via a greetingIsLead flag, so it reads as a sentence rather than a heading.
8
+
3
9
  ## 0.33.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -2620,7 +2620,7 @@ function ClubFanDashboard({ dashboard, onTap, ui }) {
2620
2620
  );
2621
2621
  const goalEvents = timelineCard?.data.events.filter((e) => e.type === "goal");
2622
2622
  return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "ss-w-fandash", children: [
2623
- dashboard.greeting ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "ss-w-fandash-greeting", children: dashboard.greeting }) : null,
2623
+ dashboard.greeting ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: dashboard.greetingIsLead ? "ss-w-fandash-greeting ss-w-fandash-greeting--lead" : "ss-w-fandash-greeting", children: dashboard.greeting }) : null,
2624
2624
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "ss-w-fandash-cards", children: orderedCards.map((card, i) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(FanDashboardCard, { card, onTap, ui, goalEvents }, `${card.cardType}-${i}`)) })
2625
2625
  ] });
2626
2626
  }
@@ -3456,6 +3456,7 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
3456
3456
  /* club fan pre-match dashboard */
3457
3457
  .ss-w-fandash { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
3458
3458
  .ss-w-fandash-greeting { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ss-w-ink); }
3459
+ .ss-w-fandash-greeting--lead { font-weight: 400; }
3459
3460
  .ss-w-fandash-cards { display: flex; flex-direction: column; gap: 8px; }
3460
3461
 
3461
3462
  /* Shared card chrome -- a plain <div> for [data] cards, a <button> for [prefill] cards. Both