@sensiblestats/widget-react 0.135.0 → 0.136.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 +272 -238
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +139 -105
- package/dist/index.js.map +1 -1
- package/dist/styles.css +4 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -386,6 +386,8 @@
|
|
|
386
386
|
.ss-w-nba-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
|
|
387
387
|
.ss-w-nba-head-l { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
|
|
388
388
|
.ss-w-nba-meta { margin: 0; font-size: 11px; color: var(--ss-w-faint); line-height: 1.3; }
|
|
389
|
+
.ss-w-nba-meta .ss-w-bi-crest { display: inline-block; width: 14px; height: 14px; vertical-align: -3px; margin: 0 2px; }
|
|
390
|
+
.ss-w-nba-meta .ss-w-bi-crest-mono { display: inline-grid; font-size: 7px; }
|
|
389
391
|
.ss-w-nba-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ss-w-ink); overflow-wrap: anywhere; }
|
|
390
392
|
.ss-w-nba-chip{font-size:11px;font-weight:600;white-space:nowrap;border-radius:999px;padding:3px 8px;border:1px solid var(--ss-w-line)}
|
|
391
393
|
.ss-w-nba-chip { flex: none; color: var(--ss-w-warn); border-color: var(--ss-w-warn); }
|
|
@@ -1756,6 +1758,7 @@
|
|
|
1756
1758
|
.ss-w-nbamon-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
1757
1759
|
.ss-w-nbamon-side--home { flex-direction: row-reverse; text-align: right; }
|
|
1758
1760
|
.ss-w-nbamon-badge { flex: none; display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 5px; border-radius: 7px; background: var(--ss-w-bubble); border: 1px solid var(--ss-w-line); font-size: 11px; font-weight: 800; letter-spacing: .03em; color: var(--ss-w-ink); }
|
|
1761
|
+
.ss-w-nbamon-badge--img { width: 26px; min-width: 0; padding: 2px; box-sizing: border-box; object-fit: contain; }
|
|
1759
1762
|
.ss-w-nbamon-team { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
|
|
1760
1763
|
.ss-w-nbamon-city { font-size: 10.5px; font-weight: 600; color: var(--ss-w-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1761
1764
|
.ss-w-nbamon-nick { font-size: 13px; font-weight: 800; color: var(--ss-w-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
@@ -2082,6 +2085,7 @@
|
|
|
2082
2085
|
.ss-w-props-jn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
|
|
2083
2086
|
.ss-w-props-jn--home { background: var(--ss-w-home); }
|
|
2084
2087
|
.ss-w-props-jn--away { background: var(--ss-w-away); }
|
|
2088
|
+
.ss-w-props-shot { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--ss-w-bubble); }
|
|
2085
2089
|
.ss-w-props-pn { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
|
|
2086
2090
|
.ss-w-props-name { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2087
2091
|
.ss-w-props-meta { font-size: 11px; color: var(--ss-w-faint); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensiblestats/widget-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.136.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.98.0",
|
|
43
43
|
"react-markdown": "^9.0.1",
|
|
44
44
|
"remark-gfm": "^4.0.0"
|
|
45
45
|
},
|