@sensiblestats/widget-react 0.123.0 → 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/CHANGELOG.md +11 -0
- package/dist/index.cjs +1579 -1325
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1574 -1320
- package/dist/index.js.map +1 -1
- package/dist/styles.css +35 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -1378,6 +1378,41 @@
|
|
|
1378
1378
|
.ss-w-trow-prices .ss-w-slip { min-width: 0; }
|
|
1379
1379
|
.ss-w-trow-prices .ss-w-toast { top: 50%; right: calc(100% + 6px); transform: translateY(-50%); }
|
|
1380
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; }
|
|
1381
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; }
|
|
1382
1417
|
.ss-w-lg-showall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1383
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.
|
|
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.
|
|
42
|
+
"@sensiblestats/widget-sdk": "^0.88.0",
|
|
43
43
|
"react-markdown": "^9.0.1",
|
|
44
44
|
"remark-gfm": "^4.0.0"
|
|
45
45
|
},
|