@sensiblestats/widget-react 0.108.1 → 0.108.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.cjs +7 -7
- 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 +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -107,7 +107,7 @@ var STRINGS = {
|
|
|
107
107
|
bettingKickoff: (kickoffUtc, now) => formatBettingKickoff(kickoffUtc, STRINGS.en, "en", now),
|
|
108
108
|
tabChat: "Chat",
|
|
109
109
|
tabFollowing: "Following",
|
|
110
|
-
|
|
110
|
+
tabTrends: "Trends",
|
|
111
111
|
pinLabel: "Track odds",
|
|
112
112
|
unpinLabel: "Stop tracking odds",
|
|
113
113
|
matchPinLabel: "Track match",
|
|
@@ -783,7 +783,7 @@ var STRINGS = {
|
|
|
783
783
|
bettingKickoff: (kickoffUtc, now) => formatBettingKickoff(kickoffUtc, STRINGS.tr, "tr", now),
|
|
784
784
|
tabChat: "Sohbet",
|
|
785
785
|
tabFollowing: "Takip",
|
|
786
|
-
|
|
786
|
+
tabTrends: "Trendler",
|
|
787
787
|
pinLabel: "Oran\u0131 takip et",
|
|
788
788
|
unpinLabel: "Oran takibini b\u0131rak",
|
|
789
789
|
matchPinLabel: "Ma\xE7\u0131 takip et",
|
|
@@ -1411,7 +1411,7 @@ function isEnglishLocale(locale) {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
|
|
1413
1413
|
// src/version.generated.ts
|
|
1414
|
-
var WIDGET_REACT_VERSION = "0.108.
|
|
1414
|
+
var WIDGET_REACT_VERSION = "0.108.3";
|
|
1415
1415
|
|
|
1416
1416
|
// src/config.ts
|
|
1417
1417
|
function normalizeUi(cfg) {
|
|
@@ -1497,7 +1497,7 @@ function normalizeUi(cfg) {
|
|
|
1497
1497
|
bettingKickoff: strings.bettingKickoff,
|
|
1498
1498
|
tabChat: strings.tabChat,
|
|
1499
1499
|
tabFollowing: strings.tabFollowing,
|
|
1500
|
-
|
|
1500
|
+
tabTrends: strings.tabTrends,
|
|
1501
1501
|
tabToday: strings.tabToday,
|
|
1502
1502
|
tabFixtures: strings.tabFixtures,
|
|
1503
1503
|
tabStandings: strings.tabStandings,
|
|
@@ -9313,7 +9313,7 @@ function TabBar({ monitor, ui, matchCount, oddsCount, todayCount, hasToday, game
|
|
|
9313
9313
|
] : [
|
|
9314
9314
|
...hasToday ? [{ tab: "today", label: ui.tabToday, count: todayCount, dot: monitor.todayDot }] : [],
|
|
9315
9315
|
...matchCount > 0 ? [{ tab: "following", label: ui.tabFollowing, count: matchCount, dot: monitor.matchesDot }] : [],
|
|
9316
|
-
...oddsCount > 0 ? [{ tab: "odds", label: ui.
|
|
9316
|
+
...oddsCount > 0 ? [{ tab: "odds", label: ui.tabTrends, count: oddsCount, dot: monitor.oddsDot }] : []
|
|
9317
9317
|
],
|
|
9318
9318
|
...gamesEnabled ? [{ tab: "games", label: ui.tabGames, count: 0, dot: false }] : [],
|
|
9319
9319
|
...favouritesEnabled && !clubEnabled ? [{ tab: "favourites", label: ui.tabFavourites, count: 0, dot: false }] : []
|
|
@@ -9407,7 +9407,7 @@ function MarketAccordion({ match, monitor, ui, slip }) {
|
|
|
9407
9407
|
children: [
|
|
9408
9408
|
/* @__PURE__ */ jsx67("span", { className: "ss-w-acc-chevron", children: m.suspended ? "" : isOpen ? "\u25BE" : "\u25B8" }),
|
|
9409
9409
|
/* @__PURE__ */ jsx67("span", { className: "ss-w-acc-label", children: m.marketLabel }),
|
|
9410
|
-
m.hasInsight && /* @__PURE__ */ jsx67("span", { className: "ss-w-acc-badge",
|
|
9410
|
+
m.hasInsight && /* @__PURE__ */ jsx67("span", { className: "ss-w-bi-chart ss-w-acc-badge", "aria-hidden": "true" }),
|
|
9411
9411
|
m.suspended && /* @__PURE__ */ jsx67("span", { className: "ss-w-acc-susp", children: ui.accordionSuspended })
|
|
9412
9412
|
]
|
|
9413
9413
|
}
|
|
@@ -17476,7 +17476,7 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
|
|
|
17476
17476
|
.ss-w-acc-toggle--susp { cursor: default; color: var(--ss-w-faint); }
|
|
17477
17477
|
.ss-w-acc-chevron { color: var(--ss-w-faint); font-size: 11px; flex: none; }
|
|
17478
17478
|
.ss-w-acc-label { font-size: 12.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
17479
|
-
.ss-w-acc-badge {
|
|
17479
|
+
.ss-w-acc-badge { margin-top: 0; }
|
|
17480
17480
|
.ss-w-acc-susp { margin-left: auto; font-size: 10.5px; color: var(--ss-w-faint); flex: none; }
|
|
17481
17481
|
.ss-w-acc-panel { padding: 0 11px 10px; display: flex; flex-direction: column; gap: 8px; }
|
|
17482
17482
|
.ss-w-acc-insight { font-size: 12px; color: var(--ss-w-ink); background: color-mix(in srgb, var(--ss-w-accent) 9%, var(--ss-w-panel)); border-radius: 8px; padding: 7px 9px; }
|