@sensiblestats/widget-react 0.143.0 → 0.145.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
@@ -288,8 +288,9 @@
288
288
  .ss-w-ecard-meta .ss-w-ecard-season { margin: 0; }
289
289
 
290
290
  /* scope tabs: reuse the underline pattern, relocated above the strip */
291
- .ss-w-ecard-scopes { display: flex; align-items: stretch; gap: 2px; padding: 0 11px; border-top: 1px solid var(--ss-w-line); flex-wrap: wrap; }
292
- .ss-w-ecard-scope { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 620; color: var(--ss-w-faint); background: none; border: none; cursor: pointer; padding: 7px 8px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
291
+ .ss-w-ecard-scopes { display: flex; align-items: stretch; gap: 2px; padding: 0 11px; border-top: 1px solid var(--ss-w-line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
292
+ .ss-w-ecard-scope { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 620; color: var(--ss-w-faint); background: none; border: none; cursor: pointer; padding: 7px 8px; border-bottom: 2px solid transparent; }
293
+ .ss-w-ecard-scopes::-webkit-scrollbar { display: none; }
293
294
  .ss-w-ecard-scope[aria-selected="true"] { color: var(--ss-w-ink); border-bottom-color: var(--ss-w-accent); }
294
295
  .ss-w-ecard-scope .ss-w-ecard-crest { width: 14px; height: 14px; }
295
296
  .ss-w-ecard-scopes + .ss-w-ecard-strip { border-top: none; }
@@ -638,6 +639,11 @@
638
639
  .ss-w-combo-leg-pick .ss-w-slip-btn { flex: none; }
639
640
  .ss-w-combo-leg .ss-w-bi-team { white-space: normal; text-overflow: clip; overflow-wrap: break-word; line-height: 1.25; }
640
641
  .ss-w-combo-leg-pick .ss-w-toast { position: static; flex-basis: 100%; width: auto; max-width: none; box-shadow: none; }
642
+ .ss-w-combo-leg-swap { flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 32px; height: 32px; margin-left: auto; padding: 0; border: 1px solid var(--ss-w-line); border-radius: 50%; background: transparent; color: var(--ss-w-ink); cursor: pointer; }
643
+ .ss-w-combo-leg-swap:hover:not(:disabled) { border-color: var(--ss-w-accent); }
644
+ .ss-w-combo-leg-swap:disabled { cursor: default; opacity: .4; }
645
+ .ss-w-combo-leg-swapnone { margin: 0; font-size: 12px; line-height: 1.4; color: var(--ss-w-faint); }
646
+ .ss-w-combo-leg-swapnone:empty { margin-top: -5px; }
641
647
  .ss-w-combo-leg-stat { font-size: 12px; line-height: 1.45; color: var(--ss-w-ink); background: var(--ss-w-bubble); border-radius: 8px; padding: 6px 9px; }
642
648
  .ss-w-combo-math { font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ss-w-ink); text-align: right; background: color-mix(in srgb, var(--ss-w-accent) 9%, var(--ss-w-panel)); border-radius: 8px; padding: 8px 10px; overflow-wrap: anywhere; }
643
649
  .ss-w-combo-note { font-size: 11px; line-height: 1.4; color: var(--ss-w-faint); }
@@ -1729,6 +1735,10 @@
1729
1735
  .ss-w-v8-builder > .ss-w-v8-builder-btn { align-self: flex-start; min-height: 40px; padding: 6px 14px; }
1730
1736
  .ss-w-v8-builder .ss-w-slip-btn { min-height: 36px; }
1731
1737
  .ss-w-v8-builder .ss-w-combo-addall .ss-w-slip-btn { min-height: 44px; }
1738
+ .ss-w-v8-builder-actions { display: flex; align-items: stretch; gap: 8px; }
1739
+ .ss-w-v8-builder-actions > .ss-w-combo-addall { flex: 1 1 0; min-width: 0; }
1740
+ .ss-w-v8-builder-another { flex: 0 1 auto; align-self: flex-start; max-width: 50%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ss-w-line); border-radius: 22px; background: transparent; color: var(--ss-w-ink); font: inherit; font-size: 14px; font-weight: 650; line-height: 1.15; overflow-wrap: normal; word-break: normal; cursor: pointer; }
1741
+ .ss-w-v8-builder-another:hover { border-color: var(--ss-w-accent); }
1732
1742
  .ss-w-fav .ss-w-dash-sport { min-height: 36px; }
1733
1743
  .ss-w-v8-builder-note { margin: 0; font-size: 12.5px; line-height: 1.35; color: color-mix(in srgb, #fff 78%, var(--ss-w-nav)); }
1734
1744
  .ss-w-v8-builder-note[data-kind] { padding: 10px 12px; border-radius: 10px; background: var(--ss-v8-chip); color: #dce8e1; font-size: 13.5px; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.143.0",
3
+ "version": "0.145.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "yarn build"
40
40
  },
41
41
  "dependencies": {
42
- "@sensiblestats/widget-sdk": "^0.105.0",
42
+ "@sensiblestats/widget-sdk": "^0.106.0",
43
43
  "react-markdown": "^9.0.1",
44
44
  "remark-gfm": "^4.0.0"
45
45
  },