@sensiblestats/widget-react 0.96.0 → 0.97.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @sensiblestats/widget-react
2
2
 
3
+ ## 0.97.0
4
+
5
+ ### Minor Changes
6
+
7
+ - NBA greeting tiles draw a 🏀 glyph. The widget declares the `basketball_icon` capability, so the server sends `basketball` only to widgets that can draw it.
8
+
3
9
  ## 0.96.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1137,7 +1137,7 @@ function isEnglishLocale(locale) {
1137
1137
  }
1138
1138
 
1139
1139
  // src/version.generated.ts
1140
- var WIDGET_REACT_VERSION = "0.96.0";
1140
+ var WIDGET_REACT_VERSION = "0.97.0";
1141
1141
 
1142
1142
  // src/config.ts
1143
1143
  function normalizeUi(cfg) {
@@ -2719,7 +2719,7 @@ function clearConversation(storageKey) {
2719
2719
  }
2720
2720
 
2721
2721
  // src/presets.ts
2722
- var CLIENT_CAPABILITIES = ["price_presets", "price_presets_open", "limit_notice", "nba_insight", "nba_insight_v2"];
2722
+ var CLIENT_CAPABILITIES = ["price_presets", "price_presets_open", "limit_notice", "nba_insight", "nba_insight_v2", "basketball_icon"];
2723
2723
  var PRICE_TILE_PREFIX = "goal-preset-";
2724
2724
  function isPriceTile(tile) {
2725
2725
  const id = tile.signal?.entityId;
@@ -4324,7 +4324,8 @@ var DASHBOARD_EMOJI = {
4324
4324
  "chart-bar": "\u{1F4CA}",
4325
4325
  chat: "\u{1F4AC}",
4326
4326
  fire: "\u{1F525}",
4327
- sparkle: "\u2728"
4327
+ sparkle: "\u2728",
4328
+ basketball: "\u{1F3C0}"
4328
4329
  };
4329
4330
  function DashboardIcon({ name }) {
4330
4331
  const glyph = Object.prototype.hasOwnProperty.call(DASHBOARD_EMOJI, name) ? DASHBOARD_EMOJI[name] : DASHBOARD_EMOJI.target;