@sensiblestats/widget-react 0.109.0 → 0.111.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
@@ -665,6 +665,20 @@
665
665
  .ss-w-tool-step { width: 40px; height: 40px; display: grid; place-items: center; font: inherit; font-size: 18px; font-weight: 700; color: var(--ss-w-accent); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 50%; cursor: pointer; }
666
666
  .ss-w-tool-step:disabled { opacity: .5; cursor: not-allowed; }
667
667
  .ss-w-tool-count { min-width: 24px; text-align: center; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
668
+ .ss-w-set-row { display: flex; flex-direction: column; gap: 6px; }
669
+ .ss-w-set-sample { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border: 1px solid var(--ss-w-line); border-radius: 10px; font-variant-numeric: tabular-nums; }
670
+ .ss-w-set-sample b { font-weight: 700; }
671
+ .ss-w-set-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
672
+ .ss-w-set-seg button { min-height: 44px; padding: 0 4px; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 10px; cursor: pointer; }
673
+ .ss-w-set-seg button[aria-pressed="true"] { font-weight: 700; border-color: var(--ss-w-accent); background: color-mix(in srgb, var(--ss-w-accent) 14%, var(--ss-w-panel)); }
674
+ .ss-w-set-seg button:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 2px; }
675
+ .ss-w-set-foot { margin: 0; font-size: 12px; color: var(--ss-w-faint); }
676
+ @media (prefers-reduced-motion: no-preference) {
677
+ .ss-w-set-backdrop-in { animation: ss-w-scrim-in .18s ease-out; }
678
+ .ss-w-set-backdrop-in > .ss-w-tool { animation: ss-w-sheet-in .18s ease-out; }
679
+ @keyframes ss-w-scrim-in { from { background-color: rgba(0,0,0,0); } }
680
+ @keyframes ss-w-sheet-in { from { transform: translateY(12%); } to { transform: none; } }
681
+ }
668
682
 
669
683
  /* onboarding presets stage 2: the chat layer and the speed dial (spec Stage 2 Behaviour). The
670
684
  layer is the message list's positioned box (P6), so the dial sits against the list's bottom
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.109.0",
3
+ "version": "0.111.0",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -38,7 +38,7 @@
38
38
  "prepublishOnly": "yarn build"
39
39
  },
40
40
  "dependencies": {
41
- "@sensiblestats/widget-sdk": "^0.76.0",
41
+ "@sensiblestats/widget-sdk": "^0.78.0",
42
42
  "react-markdown": "^9.0.1",
43
43
  "remark-gfm": "^4.0.0"
44
44
  },