@sensiblestats/widget-sdk 0.25.1 → 0.25.3
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 +12 -0
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @sensiblestats/widget-sdk
|
|
2
2
|
|
|
3
|
+
## 0.25.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5ab3370: FixtureCard is now a plain DataCard on the wire (no actionLabel/actionRef/actionType/rank) — the server stopped issuing a match-preview binding for it now that the greeting chips own the compare-form/match-preview action (u318). No visual change; the type-only update keeps `@sensiblestats/widget-react` and `@sensiblestats/widget-embed` in lockstep with the SDK's contract.
|
|
8
|
+
|
|
9
|
+
## 0.25.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- aed14de: Redesign the club post-match dashboard cards: result card now shows team crests and a big score, goals card shows per-goal icons, stats card renders split comparison bars oriented by venue, and top performer / next fixture cards get a player avatar and next-opponent teaser. Adds crest URLs and numeric stat fields to the widget-sdk post-match types backing these cards.
|
|
14
|
+
|
|
3
15
|
## 0.25.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -125,7 +125,7 @@ interface FixtureCardData {
|
|
|
125
125
|
venueLabel: string;
|
|
126
126
|
formLabel: string;
|
|
127
127
|
}
|
|
128
|
-
interface FixtureCard extends
|
|
128
|
+
interface FixtureCard extends ClubFanDashboardCardBase {
|
|
129
129
|
cardType: 'fixture';
|
|
130
130
|
data: FixtureCardData;
|
|
131
131
|
}
|
|
@@ -221,6 +221,9 @@ interface PostMatchResultData {
|
|
|
221
221
|
competition?: string | null;
|
|
222
222
|
kickoffLabel: string;
|
|
223
223
|
resultLabel: string;
|
|
224
|
+
homeCrestUrl?: string | null;
|
|
225
|
+
awayCrestUrl?: string | null;
|
|
226
|
+
outcome: 'win' | 'draw' | 'loss';
|
|
224
227
|
}
|
|
225
228
|
interface PostMatchGoalLine {
|
|
226
229
|
text: string;
|
|
@@ -233,10 +236,14 @@ interface PostMatchStatRow {
|
|
|
233
236
|
label: string;
|
|
234
237
|
clubValue: string;
|
|
235
238
|
oppValue: string;
|
|
239
|
+
clubNum: number;
|
|
240
|
+
oppNum: number;
|
|
236
241
|
}
|
|
237
242
|
interface PostMatchStatsData {
|
|
238
243
|
rows: PostMatchStatRow[];
|
|
239
244
|
clubIsHome: boolean;
|
|
245
|
+
homeName: string;
|
|
246
|
+
awayName: string;
|
|
240
247
|
}
|
|
241
248
|
interface PostMatchTopPerformerData {
|
|
242
249
|
playerName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ interface FixtureCardData {
|
|
|
125
125
|
venueLabel: string;
|
|
126
126
|
formLabel: string;
|
|
127
127
|
}
|
|
128
|
-
interface FixtureCard extends
|
|
128
|
+
interface FixtureCard extends ClubFanDashboardCardBase {
|
|
129
129
|
cardType: 'fixture';
|
|
130
130
|
data: FixtureCardData;
|
|
131
131
|
}
|
|
@@ -221,6 +221,9 @@ interface PostMatchResultData {
|
|
|
221
221
|
competition?: string | null;
|
|
222
222
|
kickoffLabel: string;
|
|
223
223
|
resultLabel: string;
|
|
224
|
+
homeCrestUrl?: string | null;
|
|
225
|
+
awayCrestUrl?: string | null;
|
|
226
|
+
outcome: 'win' | 'draw' | 'loss';
|
|
224
227
|
}
|
|
225
228
|
interface PostMatchGoalLine {
|
|
226
229
|
text: string;
|
|
@@ -233,10 +236,14 @@ interface PostMatchStatRow {
|
|
|
233
236
|
label: string;
|
|
234
237
|
clubValue: string;
|
|
235
238
|
oppValue: string;
|
|
239
|
+
clubNum: number;
|
|
240
|
+
oppNum: number;
|
|
236
241
|
}
|
|
237
242
|
interface PostMatchStatsData {
|
|
238
243
|
rows: PostMatchStatRow[];
|
|
239
244
|
clubIsHome: boolean;
|
|
245
|
+
homeName: string;
|
|
246
|
+
awayName: string;
|
|
240
247
|
}
|
|
241
248
|
interface PostMatchTopPerformerData {
|
|
242
249
|
playerName: string;
|