@sensiblestats/widget-react 0.136.0 → 0.136.1

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.136.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Keep a gap between the selection label and the price in a market odds row: a long slip label (it-IT "Aggiungi alla schedina") now wraps instead of squeezing the label into the price.
8
+
3
9
  ## 0.136.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.cjs CHANGED
@@ -1337,7 +1337,7 @@ function parseOddsFormat(value) {
1337
1337
  }
1338
1338
 
1339
1339
  // src/version.generated.ts
1340
- var WIDGET_REACT_VERSION = "0.136.0";
1340
+ var WIDGET_REACT_VERSION = "0.136.1";
1341
1341
 
1342
1342
  // src/config.ts
1343
1343
  function hostTag(cfg) {
@@ -18785,7 +18785,9 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
18785
18785
  .ss-w-mo-stat { 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; }
18786
18786
  .ss-w-mo-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--ss-w-line); }
18787
18787
  .ss-w-mo-row:last-child { border-bottom: none; }
18788
- .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: 0; }
18788
+ /* min-content, not 0: a long slip label (it-IT "Aggiungi alla schedina") otherwise squeezes the
18789
+ label narrower than one word and the name runs into the price. The slip button wraps instead. */
18790
+ .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: min-content; }
18789
18791
  .ss-w-mo-price { margin-left: auto; font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--ss-w-accent); }
18790
18792
  /* Movement: BOTH directions share --ss-w-faint on purpose. Green-good/red-bad would frame a
18791
18793
  shortening price as a discount, which inverts what it actually means for the bettor. */
@@ -18796,7 +18798,8 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
18796
18798
  a flex row, and must NOT follow the badge into the insight card's odds column. */
18797
18799
  .ss-w-mo-row .ss-w-move { margin-left: auto; }
18798
18800
  .ss-w-mo-row .ss-w-move + .ss-w-mo-price { margin-left: 0; }
18799
- .ss-w-mo-row .ss-w-slip { margin: 0; flex: none; }
18801
+ .ss-w-mo-row .ss-w-slip { margin: 0; flex: 0 1 auto; min-width: 0; }
18802
+ .ss-w-mo-row .ss-w-slip-btn { white-space: normal; text-align: center; }
18800
18803
  .ss-w-mo-foot { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--ss-w-faint); }
18801
18804
  .ss-w-allmk-wrap { position: relative; display: inline-flex; flex: none; margin-left: auto; }
18802
18805
  .ss-w-allmk-wrap--chip { margin-left: 0; }