@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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.108.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Show the chart icon instead of a star on Following markets that have facts
8
+
9
+ ## 0.108.2
10
+
11
+ ### Patch Changes
12
+
13
+ - The Odds tab is now called Trends (Trendler in Turkish). Only the visible label changes.
14
+
3
15
  ## 0.108.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -145,7 +145,7 @@ var STRINGS = {
145
145
  bettingKickoff: (kickoffUtc, now) => formatBettingKickoff(kickoffUtc, STRINGS.en, "en", now),
146
146
  tabChat: "Chat",
147
147
  tabFollowing: "Following",
148
- tabOdds: "Odds",
148
+ tabTrends: "Trends",
149
149
  pinLabel: "Track odds",
150
150
  unpinLabel: "Stop tracking odds",
151
151
  matchPinLabel: "Track match",
@@ -821,7 +821,7 @@ var STRINGS = {
821
821
  bettingKickoff: (kickoffUtc, now) => formatBettingKickoff(kickoffUtc, STRINGS.tr, "tr", now),
822
822
  tabChat: "Sohbet",
823
823
  tabFollowing: "Takip",
824
- tabOdds: "Oranlar",
824
+ tabTrends: "Trendler",
825
825
  pinLabel: "Oran\u0131 takip et",
826
826
  unpinLabel: "Oran takibini b\u0131rak",
827
827
  matchPinLabel: "Ma\xE7\u0131 takip et",
@@ -1449,7 +1449,7 @@ function isEnglishLocale(locale) {
1449
1449
  }
1450
1450
 
1451
1451
  // src/version.generated.ts
1452
- var WIDGET_REACT_VERSION = "0.108.1";
1452
+ var WIDGET_REACT_VERSION = "0.108.3";
1453
1453
 
1454
1454
  // src/config.ts
1455
1455
  function normalizeUi(cfg) {
@@ -1535,7 +1535,7 @@ function normalizeUi(cfg) {
1535
1535
  bettingKickoff: strings.bettingKickoff,
1536
1536
  tabChat: strings.tabChat,
1537
1537
  tabFollowing: strings.tabFollowing,
1538
- tabOdds: strings.tabOdds,
1538
+ tabTrends: strings.tabTrends,
1539
1539
  tabToday: strings.tabToday,
1540
1540
  tabFixtures: strings.tabFixtures,
1541
1541
  tabStandings: strings.tabStandings,
@@ -9351,7 +9351,7 @@ function TabBar({ monitor, ui, matchCount, oddsCount, todayCount, hasToday, game
9351
9351
  ] : [
9352
9352
  ...hasToday ? [{ tab: "today", label: ui.tabToday, count: todayCount, dot: monitor.todayDot }] : [],
9353
9353
  ...matchCount > 0 ? [{ tab: "following", label: ui.tabFollowing, count: matchCount, dot: monitor.matchesDot }] : [],
9354
- ...oddsCount > 0 ? [{ tab: "odds", label: ui.tabOdds, count: oddsCount, dot: monitor.oddsDot }] : []
9354
+ ...oddsCount > 0 ? [{ tab: "odds", label: ui.tabTrends, count: oddsCount, dot: monitor.oddsDot }] : []
9355
9355
  ],
9356
9356
  ...gamesEnabled ? [{ tab: "games", label: ui.tabGames, count: 0, dot: false }] : [],
9357
9357
  ...favouritesEnabled && !clubEnabled ? [{ tab: "favourites", label: ui.tabFavourites, count: 0, dot: false }] : []
@@ -9445,7 +9445,7 @@ function MarketAccordion({ match, monitor, ui, slip }) {
9445
9445
  children: [
9446
9446
  /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "ss-w-acc-chevron", children: m.suspended ? "" : isOpen ? "\u25BE" : "\u25B8" }),
9447
9447
  /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "ss-w-acc-label", children: m.marketLabel }),
9448
- m.hasInsight && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "ss-w-acc-badge", children: "\u2605" }),
9448
+ m.hasInsight && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "ss-w-bi-chart ss-w-acc-badge", "aria-hidden": "true" }),
9449
9449
  m.suspended && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "ss-w-acc-susp", children: ui.accordionSuspended })
9450
9450
  ]
9451
9451
  }
@@ -17514,7 +17514,7 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
17514
17514
  .ss-w-acc-toggle--susp { cursor: default; color: var(--ss-w-faint); }
17515
17515
  .ss-w-acc-chevron { color: var(--ss-w-faint); font-size: 11px; flex: none; }
17516
17516
  .ss-w-acc-label { font-size: 12.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
17517
- .ss-w-acc-badge { font-size: 10.5px; font-weight: 700; color: var(--ss-w-accent); flex: none; }
17517
+ .ss-w-acc-badge { margin-top: 0; }
17518
17518
  .ss-w-acc-susp { margin-left: auto; font-size: 10.5px; color: var(--ss-w-faint); flex: none; }
17519
17519
  .ss-w-acc-panel { padding: 0 11px 10px; display: flex; flex-direction: column; gap: 8px; }
17520
17520
  .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; }