@sensiblestats/widget-react 0.122.1 → 0.124.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
@@ -1358,6 +1358,61 @@
1358
1358
  .ss-w-lg-live:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
1359
1359
  .ss-w-lg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ss-w-neg); }
1360
1360
  .ss-w-lg-rows { display: flex; flex-direction: column; }
1361
+ .ss-w-lg-sub { padding: 0 2px 2px 28px; font-size: 10.5px; font-weight: 600; color: var(--ss-w-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1362
+ .ss-w-trow { display: grid; grid-template-columns: 56px minmax(0,1fr) 56px; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--ss-w-line); min-width: 0; }
1363
+ .ss-w-trow:last-child { border-bottom: none; }
1364
+ .ss-w-trow--noprice { grid-template-columns: 56px minmax(0,1fr); }
1365
+ .ss-w-trow-when { min-width: 0; font-size: 11px; font-weight: 700; color: var(--ss-w-faint); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
1366
+ .ss-w-trow-when--tba { font-size: 10px; font-weight: 600; line-height: 1.15; }
1367
+ .ss-w-trow-live { color: var(--ss-w-neg); }
1368
+ .ss-w-trow--live { background: color-mix(in srgb, var(--ss-w-neg) 5%, transparent); border-radius: 8px; padding: 7px 6px; margin: 0 -6px; border-bottom: none; }
1369
+ .ss-w-trow-players { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
1370
+ .ss-w-trow-pl { display: flex; align-items: center; gap: 5px; min-width: 0; }
1371
+ .ss-w-trow-cc { flex: none; min-width: 26px; box-sizing: border-box; padding: 1px 3px; text-align: center; font-size: 8px; font-weight: 800; letter-spacing: .02em; line-height: 14px; color: var(--ss-w-faint); background: var(--ss-w-bubble); border: 1px solid var(--ss-w-line); border-radius: 4px; }
1372
+ .ss-w-trow-nm { font-size: 12.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1373
+ .ss-w-trow-round { font-size: 10px; font-weight: 600; color: var(--ss-w-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1374
+ .ss-w-trow-prices { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
1375
+ .ss-w-trow-price, .ss-w-trow-prices .ss-w-slip-btn.ss-w-slip-btn--price { box-sizing: border-box; width: 100%; min-width: 0; padding: 3px 0; border-radius: 7px; font-size: 11.5px; font-weight: 700; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
1376
+ .ss-w-trow-price { display: block; color: var(--ss-w-ink); border: 1px solid var(--ss-w-line); background: var(--ss-w-panel); }
1377
+ .ss-w-trow-price--in { color: var(--ss-w-accent); border-color: var(--ss-w-accent); }
1378
+ .ss-w-trow-prices .ss-w-slip { min-width: 0; }
1379
+ .ss-w-trow-prices .ss-w-toast { top: 50%; right: calc(100% + 6px); transform: translateY(-50%); }
1380
+ .ss-w-trow-noodds { align-self: center; max-width: 100%; text-align: center; font-size: 10px; font-weight: 600; line-height: 1.15; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1381
+ .ss-w-tn-card { gap: 12px; }
1382
+ .ss-w-tn-meta { margin: -4px 0 0; font-size: 11px; font-weight: 600; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1383
+ .ss-w-tn-players { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 8px; }
1384
+ .ss-w-tn-player { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
1385
+ .ss-w-tn-player:last-child { align-items: flex-end; text-align: right; }
1386
+ .ss-w-tn-top { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
1387
+ .ss-w-tn-player:last-child .ss-w-tn-top { justify-content: flex-end; }
1388
+ .ss-w-tn-name { min-width: 0; font-size: 13px; font-weight: 750; line-height: 1.2; color: var(--ss-w-ink); overflow-wrap: anywhere; }
1389
+ .ss-w-tn-rank { font-size: 10.5px; font-weight: 600; line-height: 1.25; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1390
+ .ss-w-tn-sec { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--ss-w-line); min-width: 0; }
1391
+ .ss-w-tn-h { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1392
+ .ss-w-tn-prices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
1393
+ .ss-w-tn-pside { display: flex; flex-direction: column; align-items: stretch; gap: 3px; min-width: 0; }
1394
+ .ss-w-tn-pname { font-size: 11px; font-weight: 650; color: var(--ss-w-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1395
+ .ss-w-tn-pside .ss-w-trow-prices { flex-direction: row; }
1396
+ .ss-w-tn-pside .ss-w-trow-price, .ss-w-tn-pside .ss-w-trow-prices .ss-w-slip-btn.ss-w-slip-btn--price { padding: 7px 0; font-size: 14px; }
1397
+ .ss-w-tn-pside .ss-w-move { justify-content: center; }
1398
+ .ss-w-tn-note { margin: 0; font-size: 10.5px; font-weight: 600; line-height: 1.35; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1399
+ .ss-w-tn-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto) minmax(0,1fr); align-items: center; gap: 6px 8px; }
1400
+ .ss-w-tn-row { display: contents; }
1401
+ .ss-w-tn-cell { min-width: 0; font-size: 11px; font-weight: 700; color: var(--ss-w-ink); overflow-wrap: anywhere; }
1402
+ .ss-w-tn-cell--a { text-align: left; justify-self: start; }
1403
+ .ss-w-tn-cell--b { text-align: right; justify-self: end; }
1404
+ .ss-w-tn-val { font-size: 13px; font-variant-numeric: tabular-nums; }
1405
+ .ss-w-tn-label { min-width: 0; font-size: 10.5px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1406
+ .ss-w-tn-form { display: inline-flex; gap: 3px; }
1407
+ .ss-w-tn-fchip { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 4px; font-size: 9px; font-weight: 800; color: #fff; background: var(--ss-w-faint); }
1408
+ .ss-w-tn-fchip--l { background: var(--ss-w-neg); }
1409
+ .ss-w-tn-fchip--w { background: var(--ss-w-pos); }
1410
+ .ss-w-tn-leader { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--ss-w-ink); overflow-wrap: anywhere; }
1411
+ .ss-w-tn-last { margin: 0; min-width: 0; font-size: 11.5px; line-height: 1.4; color: var(--ss-w-faint); overflow-wrap: anywhere; }
1412
+ .ss-w-tn-set { white-space: nowrap; font-variant-numeric: tabular-nums; }
1413
+ .ss-w-tn-ask { align-self: stretch; min-height: 40px; border: 1px solid var(--ss-w-line); border-radius: 20px; background: var(--ss-w-bubble); font: inherit; font-size: 13px; font-weight: 650; color: var(--ss-w-ink); cursor: pointer; padding: 8px 14px; }
1414
+ .ss-w-tn-ask:hover { border-color: var(--ss-w-accent); }
1415
+ .ss-w-tn-ask:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 2px; }
1361
1416
  .ss-w-lg-showall { align-self: flex-start; min-height: 28px; background: none; border: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--ss-w-faint); cursor: pointer; padding: 4px 2px 0; }
1362
1417
  .ss-w-lg-showall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
1363
1418
  .ss-w-fav { gap: 14px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.122.1",
3
+ "version": "0.124.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "yarn build"
40
40
  },
41
41
  "dependencies": {
42
- "@sensiblestats/widget-sdk": "^0.86.1",
42
+ "@sensiblestats/widget-sdk": "^0.88.0",
43
43
  "react-markdown": "^9.0.1",
44
44
  "remark-gfm": "^4.0.0"
45
45
  },