@sensiblestats/widget-react 0.108.3 → 0.109.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
@@ -221,7 +221,7 @@
221
221
  .ss-w-menu-item svg { color: var(--ss-w-faint); font-size: 15px; flex: none; }
222
222
 
223
223
  /* messages */
224
- /* .ss-w-mon-list (Matches/Odds tab scrollers) shares .ss-w-list's box/scroll rules by design --
224
+ /* .ss-w-mon-list (Matches/Trends tab scrollers) shares .ss-w-list's box/scroll rules by design --
225
225
  same visual rhythm as the chat message list -- but gets its own class so it isn't the same DOM
226
226
  landmark as the chat list when both exist in the panel at once (Task 16 fix round, M4). */
227
227
  /* Children of this scrolling column flex container must NOT shrink. The default flex-shrink:1
@@ -1388,6 +1388,12 @@
1388
1388
  .ss-w-v8-star { border-style: dashed; font-weight: 500; }
1389
1389
  .ss-w-v8-star:hover:not(:disabled), .ss-w-v8-more:hover:not(:disabled) { border-color: var(--ss-w-accent); }
1390
1390
  .ss-w-v8-star-mark { flex: none; font-size: 14px; line-height: 1; color: var(--ss-w-accent); }
1391
+ .ss-w-v8-invite { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; min-height: 44px; padding: 6px 12px; border: 1px dashed color-mix(in srgb, var(--ss-w-accent) 55%, var(--ss-w-line)); border-radius: 12px; background: var(--ss-w-panel); color: var(--ss-w-ink); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
1392
+ .ss-w-v8-invite:hover { border-color: var(--ss-w-accent); }
1393
+ .ss-w-v8-invite:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 2px; }
1394
+ .ss-w-v8-invite-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
1395
+ .ss-w-v8-invite-go { flex: none; font-size: 18px; line-height: 1; color: var(--ss-w-accent); }
1396
+ .ss-w-v8-chip-note { flex: none; font-size: 11px; font-weight: 500; line-height: 1.2; color: var(--ss-w-faint); }
1391
1397
  .ss-w-v8-playing { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ss-w-accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ss-w-ink) 30%, transparent); }
1392
1398
  .ss-w-v8-row { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 12.5px; line-height: 1.35; color: var(--ss-g-ink-2); }
1393
1399
  .ss-w-v8-row--chats { align-items: center; }
@@ -1445,6 +1451,8 @@
1445
1451
  .ss-w-v8-card-lead { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
1446
1452
  .ss-w-v8-card-mkt { min-width: 0; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1447
1453
  .ss-w-v8-card-row .ss-w-slip { flex: none; max-width: 70%; }
1454
+ .ss-w-v8-card-row .ss-w-slip-btn.ss-w-slip-btn--price { padding: 5px 8px; white-space: normal; }
1455
+ .ss-w-v8-card-row .ss-w-slip-btn--price .ss-w-mol-lab { text-wrap: balance; }
1448
1456
  .ss-w-v8-card-asof { min-width: 0; font-size: 10.5px; line-height: 1.25; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1449
1457
  .ss-w-v8-card-line--pending { min-height: 39.5px; border-radius: 10px; background: color-mix(in srgb, var(--ss-w-faint) 12%, var(--ss-w-panel)); }
1450
1458
  .ss-w-v8-hit-row { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
@@ -1465,6 +1473,9 @@
1465
1473
  .ss-w-v8-facts .ss-w-v8-sec-title { padding: 8px 10px; border-bottom: 1px solid var(--ss-w-line); background: color-mix(in srgb, var(--ss-w-accent) 8%, var(--ss-w-panel)); }
1466
1474
  .ss-w-v8-fact { margin: 0; padding: 9px 10px; font-size: 13.5px; line-height: 1.35; color: var(--ss-w-ink); overflow-wrap: anywhere; }
1467
1475
  .ss-w-v8-fact + .ss-w-v8-fact { border-top: 1px solid var(--ss-w-line); }
1476
+ .ss-w-v8-fact-text { margin: 0; }
1477
+ .ss-w-v8-fact-price { margin-top: 6px; }
1478
+ .ss-w-v8-injury-asof { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.25; color: var(--ss-w-faint); }
1468
1479
  .ss-w-v8-pick { padding: 10px 12px; border: 1px dashed var(--ss-g-strong-line); border-radius: 14px; background: color-mix(in srgb, var(--ss-w-accent) 4%, var(--ss-w-panel)); }
1469
1480
  .ss-w-v8-pick-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; color: var(--ss-w-ink); overflow-wrap: anywhere; }
1470
1481
  .ss-w-v8-pick-line { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--ss-w-ink); overflow-wrap: anywhere; }
@@ -1654,7 +1665,7 @@
1654
1665
  .ss-w-mon-asof { display: block; font-size: 10.5px; font-weight: 600; color: var(--ss-w-cta); }
1655
1666
  .ss-w-mon-grace { font-size: 11px; color: var(--ss-w-faint); border-top: 1px solid var(--ss-w-line); padding-top: 8px; }
1656
1667
 
1657
- /* Matches/Odds tab panels (MonitorTabs): the shared per-market-pin context line, the empty
1668
+ /* Matches/Trends tab panels (MonitorTabs): the shared per-market-pin context line, the empty
1658
1669
  state shown when the snapshot carries no matches/markets yet, the persistent D5 in-slip badge,
1659
1670
  and the per-market-pin wrapper card (struck price on settlement is a pure CSS hook off its
1660
1671
  [data-settled] attribute -- no separate class on the price element itself). */
@@ -1785,7 +1796,7 @@
1785
1796
  a bare context line with nothing under it. */
1786
1797
  .ss-w-mon-empty-card { padding: 8px 0 2px; font-size: 12px; color: var(--ss-w-faint); }
1787
1798
  .ss-w-mon-inslip { display: inline-flex; flex: none; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--ss-w-pos); }
1788
- /* Odds-tab item is bare: the visible card is the market-odds card itself (no outer wrapper card),
1799
+ /* Trends-tab item is bare: the visible card is the market-odds card itself (no outer wrapper card),
1789
1800
  with an optional slim live strip above it. */
1790
1801
  .ss-w-mon-oddspin { display: flex; flex-direction: column; gap: 8px; }
1791
1802
  .ss-w-mk-live { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 2px; font-size: 11.5px; color: var(--ss-w-faint); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.108.3",
3
+ "version": "0.109.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -38,7 +38,7 @@
38
38
  "prepublishOnly": "yarn build"
39
39
  },
40
40
  "dependencies": {
41
- "@sensiblestats/widget-sdk": "^0.75.0",
41
+ "@sensiblestats/widget-sdk": "^0.76.0",
42
42
  "react-markdown": "^9.0.1",
43
43
  "remark-gfm": "^4.0.0"
44
44
  },