@sensiblestats/widget-react 0.165.1 → 0.165.2
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 +6 -0
- package/dist/index.cjs +3 -3
- 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 +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @sensiblestats/widget-react
|
|
2
2
|
|
|
3
|
+
## 0.165.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Live facts: the price button's accessible name now starts with the market, so a bare chip such as "Lazio: No" or "Yes" is no longer read without its market.
|
|
8
|
+
|
|
3
9
|
## 0.165.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -246,7 +246,7 @@ var BUNDLED_EN_GB = {
|
|
|
246
246
|
"widget.v8Paused": "No priced games in this sport right now. Stats and questions still work.",
|
|
247
247
|
"widget.v8NoGamesToday": "No games today",
|
|
248
248
|
"widget.v8Miss": "No combo comes near that total in these games.",
|
|
249
|
-
"widget.v8Nearest": "
|
|
249
|
+
"widget.v8Nearest": "We found no combo with this many legs at that total in these games. This one has a different total.",
|
|
250
250
|
"widget.v8UseAllGames": "Use all games",
|
|
251
251
|
"widget.v8BuilderShow": "Show me",
|
|
252
252
|
"widget.v8BuilderIn": "in",
|
|
@@ -1422,7 +1422,7 @@ function parseCustomTotal(text2, format2) {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
1424
|
// src/version.generated.ts
|
|
1425
|
-
var WIDGET_REACT_VERSION = "0.165.
|
|
1425
|
+
var WIDGET_REACT_VERSION = "0.165.2";
|
|
1426
1426
|
|
|
1427
1427
|
// src/config.ts
|
|
1428
1428
|
var COLOR_KEYS = ["accent", "cta", "surface", "ink"];
|
|
@@ -7516,7 +7516,7 @@ function Lead({ fact, match, ui, slip, sport, scope }) {
|
|
|
7516
7516
|
slip,
|
|
7517
7517
|
ui,
|
|
7518
7518
|
fact: { id: fact.id, factKey: fact.factKey },
|
|
7519
|
-
price: { ariaLabel: `${chipSelectionText(m)}, ${chipPrice}`, valueClass: "ss-w-fact-price" }
|
|
7519
|
+
price: { ariaLabel: `${m.marketLabel} \xB7 ${chipSelectionText(m)}, ${chipPrice}`, valueClass: "ss-w-fact-price" }
|
|
7520
7520
|
}
|
|
7521
7521
|
) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "ss-w-fact-state", children: fact.marketState === "held" ? ui.liveFactHeld : ui.liveFactSuspended })
|
|
7522
7522
|
] }),
|