@sensiblestats/widget-react 0.25.0 → 0.26.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.
package/dist/styles.css CHANGED
@@ -505,3 +505,28 @@
505
505
 
506
506
  /* resting form: reuses the fixture last-five pill classes (ss-w-fandash-form / -form-pill) */
507
507
  .ss-w-fandash-resting-form .ss-w-fandash-form { margin-top: 2px; }
508
+
509
+ /* live score: reuses the post-match scoreboard classes for the team/score row, with its own
510
+ meta row -- minute called out in the accent color, status and competition beside it */
511
+ .ss-w-fandash-live-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--ss-w-faint); }
512
+ .ss-w-fandash-live-minute { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ss-w-accent); }
513
+ .ss-w-fandash-live-status { font-weight: 650; color: var(--ss-w-ink); }
514
+ .ss-w-fandash-live-competition { color: var(--ss-w-faint); }
515
+
516
+ /* live timeline: a plain event list, the club's own events picked out in the accent color --
517
+ same mechanism as the post-match goal list, plus a minute column */
518
+ .ss-w-fandash-live-event-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
519
+ .ss-w-fandash-live-event { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--ss-w-faint); }
520
+ .ss-w-fandash-live-event--club { color: var(--ss-w-ink); font-weight: 650; }
521
+ .ss-w-fandash-live-event-minute { flex: none; font-variant-numeric: tabular-nums; color: var(--ss-w-faint); }
522
+ .ss-w-fandash-live-event--club .ss-w-fandash-live-event-minute { color: var(--ss-w-accent); }
523
+ .ss-w-fandash-live-event-text { min-width: 0; }
524
+
525
+ /* live stats: club value / stat label / opponent value, same 3-column layout as post-match
526
+ stats, plus an optional momentum line underneath */
527
+ .ss-w-fandash-live-stat-rows { display: flex; flex-direction: column; gap: 5px; }
528
+ .ss-w-fandash-live-stat-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
529
+ .ss-w-fandash-live-stat-value { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ss-w-ink); }
530
+ .ss-w-fandash-live-stat-row .ss-w-fandash-live-stat-value:last-child { text-align: right; }
531
+ .ss-w-fandash-live-stat-label { font-size: 10.5px; text-align: center; color: var(--ss-w-faint); text-transform: uppercase; letter-spacing: .03em; }
532
+ .ss-w-fandash-live-momentum { font-size: 11.5px; font-weight: 650; color: var(--ss-w-accent); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -37,7 +37,7 @@
37
37
  "prepublishOnly": "yarn build"
38
38
  },
39
39
  "dependencies": {
40
- "@sensiblestats/widget-sdk": "^0.23.0",
40
+ "@sensiblestats/widget-sdk": "^0.24.0",
41
41
  "react-markdown": "^9.0.1",
42
42
  "remark-gfm": "^4.0.0"
43
43
  },