@sensiblestats/widget-react 0.120.0 → 0.121.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/CHANGELOG.md +17 -0
- package/README.md +17 -15
- package/dist/index.cjs +2260 -2672
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2189 -2601
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -1
- package/package.json +5 -4
package/dist/styles.css
CHANGED
|
@@ -1316,7 +1316,8 @@
|
|
|
1316
1316
|
.ss-w-sportchip[aria-pressed="true"] { color: #fff; background: var(--ss-w-accent); border-color: var(--ss-w-accent); }
|
|
1317
1317
|
.ss-w-sportchip-count { font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
1318
1318
|
.ss-w-sportchip:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1319
|
-
|
|
1319
|
+
/* top: -14px cancels .ss-w-mon-list's 14px padding: sticky insets measure from the scroller's content box, so top: 0 left a strip where rows showed through above the bar. */
|
|
1320
|
+
.ss-w-lp-bar, .ss-w-mp-head { position: sticky; top: -14px; z-index: 2; margin: 0 -14px; padding: 6px 11px 8px; background: var(--ss-w-panel); }
|
|
1320
1321
|
.ss-w-lp-bar { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
|
|
1321
1322
|
.ss-w-lp-bar::-webkit-scrollbar { display: none; }
|
|
1322
1323
|
.ss-w-lp-bar > * { flex: none; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensiblestats/widget-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.121.0",
|
|
4
4
|
"description": "Embeddable SensibleStats chat widget for React.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"gen:css": "node scripts/gen-css.mjs",
|
|
34
34
|
"gen:version": "node scripts/gen-version.mjs",
|
|
35
|
-
"
|
|
35
|
+
"gen:strings": "node scripts/gen-strings.mjs",
|
|
36
|
+
"build": "yarn gen:css && yarn gen:version && yarn gen:strings && tsup",
|
|
36
37
|
"test": "yarn gen:css && yarn gen:version && vitest run",
|
|
37
|
-
"typecheck": "yarn gen:css && yarn gen:version && tsc --noEmit",
|
|
38
|
+
"typecheck": "yarn gen:css && yarn gen:version && yarn gen:strings && tsc --noEmit",
|
|
38
39
|
"prepublishOnly": "yarn build"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
41
|
-
"@sensiblestats/widget-sdk": "^0.
|
|
42
|
+
"@sensiblestats/widget-sdk": "^0.85.0",
|
|
42
43
|
"react-markdown": "^9.0.1",
|
|
43
44
|
"remark-gfm": "^4.0.0"
|
|
44
45
|
},
|