@sensiblestats/widget-react 0.11.0 → 0.12.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/dist/styles.css CHANGED
@@ -182,10 +182,13 @@
182
182
  .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); }
183
183
  /* Movement: BOTH directions share --ss-w-faint on purpose. Green-good/red-bad would frame a
184
184
  shortening price as a discount, which inverts what it actually means for the bettor. */
185
- .ss-w-mo-move { margin-left: auto; display: inline-flex; align-items: baseline; gap: 4px; color: var(--ss-w-faint); }
186
- .ss-w-mo-prev { font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 12px; text-decoration: line-through; }
187
- .ss-w-mo-arrow { font-size: 9px; line-height: 1; }
188
- .ss-w-mo-move + .ss-w-mo-price { margin-left: 0; }
185
+ .ss-w-move { display: inline-flex; align-items: baseline; gap: 4px; color: var(--ss-w-faint); }
186
+ .ss-w-move-prev { font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 12px; text-decoration: line-through; }
187
+ .ss-w-move-arrow { font-size: 9px; line-height: 1; }
188
+ /* margin-left:auto is row layout, not badge styling -- it belongs to the market-odds row, which is
189
+ a flex row, and must NOT follow the badge into the insight card's odds column. */
190
+ .ss-w-mo-row .ss-w-move { margin-left: auto; }
191
+ .ss-w-mo-row .ss-w-move + .ss-w-mo-price { margin-left: 0; }
189
192
  .ss-w-mo-row .ss-w-slip { margin: 0; }
190
193
  .ss-w-mo-foot { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--ss-w-faint); }
191
194
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -37,7 +37,7 @@
37
37
  "prepublishOnly": "yarn build"
38
38
  },
39
39
  "dependencies": {
40
- "@sensiblestats/widget-sdk": "^0.9.0",
40
+ "@sensiblestats/widget-sdk": "^0.10.0",
41
41
  "react-markdown": "^9.0.1",
42
42
  "remark-gfm": "^4.0.0"
43
43
  },