@sensiblestats/widget-react 0.33.2 → 0.34.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
@@ -39,7 +39,7 @@
39
39
  .ss-w-root[data-ss-w-pos="right"] .ss-w-fab-wrap { right: var(--ss-w-offset-x); }
40
40
  .ss-w-root[data-ss-w-pos="left"] .ss-w-fab-wrap { left: var(--ss-w-offset-x); align-items: flex-start; }
41
41
  .ss-w-fab { width: 56px; height: 56px; border: none; border-radius: 50%; background: var(--ss-w-nav); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
42
- .ss-w-fab-mark { width: 30px; height: 30px; display: block; }
42
+ .ss-w-fab-mark { width: 30px; height: 30px; display: block; object-fit: contain; }
43
43
  .ss-w-greeting { max-width: 240px; display: flex; align-items: flex-start; background: var(--ss-w-panel); color: var(--ss-w-ink); border: 1px solid var(--ss-w-line); border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
44
44
  .ss-w-greeting-body { flex: 1; min-width: 0; text-align: left; background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 9px 4px 9px 12px; }
45
45
  .ss-w-greeting-x { flex: none; background: none; border: none; color: var(--ss-w-faint); cursor: pointer; font-size: 17px; line-height: 1; padding: 7px 9px 0 2px; }
@@ -56,7 +56,7 @@
56
56
  .ss-w-root[data-ss-w-pos="left"] .ss-w-panel { inset: 0; width: auto; height: auto; border: none; border-radius: 0; }
57
57
  }
58
58
  .ss-w-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--ss-w-line); }
59
- .ss-w-header-mark { width: 18px; height: 18px; display: block; }
59
+ .ss-w-header-mark { width: 18px; height: 18px; display: block; object-fit: contain; }
60
60
  .ss-w-header-title { font-weight: 660; }
61
61
  .ss-w-close { margin-left: auto; background: none; border: none; color: var(--ss-w-faint); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
62
62
 
@@ -281,6 +281,7 @@
281
281
  }
282
282
  .ss-w-send { width: 36px; height: 36px; flex: none; border: none; border-radius: 50%; background: var(--ss-w-accent); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 16px; }
283
283
  .ss-w-stop-glyph { width: 11px; height: 11px; background: currentColor; border-radius: 2px; }
284
+ .ss-w-attribution { flex: 0 0 auto; padding: 6px 12px 8px; text-align: center; font-size: 11px; color: var(--ss-w-faint); }
284
285
 
285
286
  /* add to slip */
286
287
  .ss-w-slip { position: relative; display: flex; }
@@ -376,6 +377,7 @@
376
377
  /* club fan pre-match dashboard */
377
378
  .ss-w-fandash { display: flex; flex-direction: column; gap: 10px; padding: 4px 0; }
378
379
  .ss-w-fandash-greeting { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ss-w-ink); }
380
+ .ss-w-fandash-greeting--lead { font-weight: 400; }
379
381
  .ss-w-fandash-cards { display: flex; flex-direction: column; gap: 8px; }
380
382
 
381
383
  /* Shared card chrome -- a plain <div> for [data] cards, a <button> for [prefill] cards. Both
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.33.2",
3
+ "version": "0.34.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.29.0",
40
+ "@sensiblestats/widget-sdk": "^0.29.1",
41
41
  "react-markdown": "^9.0.1",
42
42
  "remark-gfm": "^4.0.0"
43
43
  },