@sensiblestats/widget-react 0.81.2 → 0.83.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 +20 -0
- package/dist/index.cjs +1519 -1059
- 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 +1500 -1040
- package/dist/index.js.map +1 -1
- package/dist/styles.css +23 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -1150,6 +1150,11 @@
|
|
|
1150
1150
|
.ss-w-mk-ctx-right { display: flex; align-items: center; gap: 6px; margin-left: auto; flex: none; }
|
|
1151
1151
|
/* flex:1 keeps the composer pinned to the panel bottom when a tab is empty */
|
|
1152
1152
|
.ss-w-mon-empty { flex: 1; padding: 24px 16px; text-align: center; font-size: 12.5px; color: var(--ss-w-faint); }
|
|
1153
|
+
/* shared group-header label for Club Fixtures (round) and Squad (position) list groups */
|
|
1154
|
+
.ss-w-club-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ss-w-faint); padding: 10px 2px 4px; }
|
|
1155
|
+
.ss-w-sq-row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--ss-w-line); }
|
|
1156
|
+
.ss-w-sq-num { flex: none; width: 20px; text-align: right; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ss-w-faint); }
|
|
1157
|
+
.ss-w-sq-name { font-size: 13px; font-weight: 600; color: var(--ss-w-ink); }
|
|
1153
1158
|
/* Per-pin unavailable state: the pin's context line still rendered above (score, name, unpin), but
|
|
1154
1159
|
the pin has neither a card nor history (compose-time rescue failed) -- a small inline note beats
|
|
1155
1160
|
a bare context line with nothing under it. */
|
|
@@ -1229,6 +1234,24 @@
|
|
|
1229
1234
|
.ss-w-today-tile-star:disabled { cursor: default; opacity: .4; }
|
|
1230
1235
|
.ss-w-today-tile-star svg { width: 18px; height: 18px; }
|
|
1231
1236
|
|
|
1237
|
+
/* Capped row groups (variant B of u521): one league's section-header plus up to
|
|
1238
|
+
ROW_CAP_PER_LEAGUE inline fixture rows, used in place of a tile when the section row budget
|
|
1239
|
+
allows it. Mirrors LeagueTile's button-body + sibling-star-button shape. */
|
|
1240
|
+
.ss-w-today-rowsection { display: flex; flex-direction: column; gap: 12px; }
|
|
1241
|
+
.ss-w-today-rowgroup { display: flex; flex-direction: column; }
|
|
1242
|
+
.ss-w-today-rowgroup-head { display: flex; align-items: center; gap: 4px; }
|
|
1243
|
+
.ss-w-today-rowgroup-head-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 2px; background: none; border: none; font: inherit; color: var(--ss-w-ink); cursor: pointer; text-align: left; }
|
|
1244
|
+
.ss-w-today-rowgroup-head-body:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1245
|
+
.ss-w-today-rowgroup-name { font-size: 11px; font-weight: 800; letter-spacing: .02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1246
|
+
.ss-w-today-rowgroup-star { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: none; border: none; border-radius: 8px; color: var(--ss-w-faint); cursor: pointer; }
|
|
1247
|
+
.ss-w-today-rowgroup-star:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1248
|
+
.ss-w-today-rowgroup-star[aria-pressed="true"] { color: var(--ss-w-accent); }
|
|
1249
|
+
.ss-w-today-rowgroup-star:disabled { cursor: default; opacity: .4; }
|
|
1250
|
+
.ss-w-today-rowgroup-star svg { width: 16px; height: 16px; }
|
|
1251
|
+
.ss-w-today-rowgroup-rows { display: flex; flex-direction: column; }
|
|
1252
|
+
.ss-w-today-rowgroup-seeall { align-self: flex-start; background: none; border: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--ss-w-faint); cursor: pointer; padding: 4px 2px 0; }
|
|
1253
|
+
.ss-w-today-rowgroup-seeall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1254
|
+
|
|
1232
1255
|
/* League detail (Task 6): the drill-in view opened from a tile. Its header star is always
|
|
1233
1256
|
enabled (spec §3/§7's one exception to the tile rule), so it carries no :disabled styling. */
|
|
1234
1257
|
.ss-w-today-detail { position: relative; display: flex; flex-direction: column; gap: 10px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensiblestats/widget-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.83.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.
|
|
40
|
+
"@sensiblestats/widget-sdk": "^0.53.0",
|
|
41
41
|
"react-markdown": "^9.0.1",
|
|
42
42
|
"remark-gfm": "^4.0.0"
|
|
43
43
|
},
|