@sensiblestats/widget-react 0.124.1 → 0.124.3
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 +14 -0
- package/dist/index.cjs +104 -44
- 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 +104 -44
- package/dist/index.js.map +1 -1
- package/dist/styles.css +27 -13
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -251,10 +251,15 @@
|
|
|
251
251
|
.ss-w-md-ol { list-style: decimal outside; padding-left: 18px; }
|
|
252
252
|
.ss-w-md-ul li::marker, .ss-w-md-ol li::marker { color: var(--ss-w-accent); }
|
|
253
253
|
.ss-w-md-link { color: var(--ss-w-accent); text-decoration: underline; }
|
|
254
|
-
.ss-w-table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
|
|
255
|
-
.ss-w-md-table { border-collapse: collapse; width:
|
|
256
|
-
.ss-w-md-table td, .ss-w-md-table th { border: 1px solid var(--ss-w-line); padding: 4px 8px; text-align: left;
|
|
254
|
+
.ss-w-table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; container-type: inline-size; }
|
|
255
|
+
.ss-w-md-table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
|
|
256
|
+
.ss-w-md-table td, .ss-w-md-table th { border: 1px solid var(--ss-w-line); padding: 4px 8px; text-align: left; overflow-wrap: break-word; }
|
|
257
|
+
.ss-w-md-table td + td { white-space: nowrap; }
|
|
257
258
|
.ss-w-md-table th { background: color-mix(in srgb, var(--ss-w-accent) 12%, var(--ss-w-panel)); font-weight: 700; }
|
|
259
|
+
@container (max-width: 400px) {
|
|
260
|
+
.ss-w-md-table { font-size: 12px; }
|
|
261
|
+
.ss-w-md-table td, .ss-w-md-table th { padding: 3px 5px; }
|
|
262
|
+
}
|
|
258
263
|
.ss-w-md-table tbody tr:nth-child(even) { background: var(--ss-w-bubble); }
|
|
259
264
|
.ss-w-md-code { background: var(--ss-w-bubble); border-radius: 5px; padding: 1px 5px; font-family: ui-monospace, monospace; }
|
|
260
265
|
|
|
@@ -1393,14 +1398,18 @@
|
|
|
1393
1398
|
.ss-w-tn-rank { font-size: 10.5px; font-weight: 600; line-height: 1.25; color: var(--ss-w-faint); overflow-wrap: anywhere; }
|
|
1394
1399
|
.ss-w-tn-sec { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--ss-w-line); min-width: 0; }
|
|
1395
1400
|
.ss-w-tn-h { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ss-w-faint); overflow-wrap: anywhere; }
|
|
1396
|
-
.ss-w-tn-prices { display: grid; grid-template-columns: repeat(
|
|
1397
|
-
.ss-w-tn-pside { display: flex;
|
|
1398
|
-
.ss-w-tn-
|
|
1399
|
-
.ss-w-tn-pside .ss-w-trow-prices { flex-direction: row; }
|
|
1400
|
-
.ss-w-tn-pside .ss-w-trow-price
|
|
1401
|
-
.ss-w-tn-pside .ss-w-trow-
|
|
1402
|
-
.ss-w-tn-pside .ss-w-trow-prices .ss-w-
|
|
1403
|
-
.ss-w-tn-pside .ss-w-
|
|
1401
|
+
.ss-w-tn-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
|
|
1402
|
+
.ss-w-tn-pside { display: flex; min-width: 0; }
|
|
1403
|
+
.ss-w-tn-pside .ss-w-trow-prices { flex: 1; min-width: 0; }
|
|
1404
|
+
.ss-w-tn-pside .ss-w-trow-price, .ss-w-tn-pside .ss-w-trow-prices .ss-w-slip-btn.ss-w-slip-btn--price { box-sizing: border-box; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; padding: 8px 10px; border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: left; white-space: nowrap; overflow: hidden; }
|
|
1405
|
+
.ss-w-tn-pside .ss-w-trow-price { padding: 9px 11px; border: none; background: none; }
|
|
1406
|
+
.ss-w-tn-pside .ss-w-trow-prices .ss-w-slip { flex: 1; min-width: 0; }
|
|
1407
|
+
.ss-w-tn-pside .ss-w-trow-prices .ss-w-toast { top: calc(100% + 6px); right: 0; transform: none; }
|
|
1408
|
+
.ss-w-tn-pside .ss-w-mol-lab { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 13px; font-weight: 600; color: var(--ss-w-ink); }
|
|
1409
|
+
.ss-w-tn-pside .ss-w-mol-tick { flex: none; margin-right: -2px; }
|
|
1410
|
+
.ss-w-tn-pside .ss-w-tn-pv { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
|
|
1411
|
+
.ss-w-tn-pside .ss-w-move { gap: 3px; font-weight: 600; }
|
|
1412
|
+
.ss-w-tn-pside .ss-w-move-prev { font-size: 11px; }
|
|
1404
1413
|
.ss-w-tn-note { margin: 0; font-size: 10.5px; font-weight: 600; line-height: 1.35; color: var(--ss-w-faint); overflow-wrap: anywhere; }
|
|
1405
1414
|
.ss-w-tn-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,auto) minmax(0,1fr); align-items: center; gap: 6px 8px; }
|
|
1406
1415
|
.ss-w-tn-row { display: contents; }
|
|
@@ -1413,8 +1422,13 @@
|
|
|
1413
1422
|
.ss-w-tn-fchip { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 4px; font-size: 9px; font-weight: 800; color: #fff; background: var(--ss-w-faint); }
|
|
1414
1423
|
.ss-w-tn-fchip--l { background: var(--ss-w-neg); }
|
|
1415
1424
|
.ss-w-tn-fchip--w { background: var(--ss-w-pos); }
|
|
1416
|
-
.ss-w-tn-
|
|
1417
|
-
.ss-w-tn-
|
|
1425
|
+
.ss-w-tn-h2h-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
|
|
1426
|
+
.ss-w-tn-leader { min-width: 0; text-align: right; font-size: 13px; font-weight: 800; line-height: 1.25; color: var(--ss-w-ink); overflow-wrap: anywhere; }
|
|
1427
|
+
.ss-w-tn-meetings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
1428
|
+
.ss-w-tn-meeting { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
|
|
1429
|
+
.ss-w-tn-mwhere { min-width: 0; font-size: 11.5px; line-height: 1.35; color: var(--ss-w-faint); overflow-wrap: anywhere; }
|
|
1430
|
+
.ss-w-tn-mname { min-width: 0; overflow-wrap: anywhere; }
|
|
1431
|
+
.ss-w-tn-mwho { display: flex; flex-wrap: wrap; gap: 0 6px; font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--ss-w-ink); }
|
|
1418
1432
|
.ss-w-tn-set { white-space: nowrap; font-variant-numeric: tabular-nums; }
|
|
1419
1433
|
.ss-w-tn-ask { align-self: stretch; min-height: 40px; border: 1px solid var(--ss-w-line); border-radius: 20px; background: var(--ss-w-bubble); font: inherit; font-size: 13px; font-weight: 650; color: var(--ss-w-ink); cursor: pointer; padding: 8px 14px; }
|
|
1420
1434
|
.ss-w-tn-ask:hover { border-color: var(--ss-w-accent); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensiblestats/widget-react",
|
|
3
|
-
"version": "0.124.
|
|
3
|
+
"version": "0.124.3",
|
|
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.
|
|
42
|
+
"@sensiblestats/widget-sdk": "^0.89.0",
|
|
43
43
|
"react-markdown": "^9.0.1",
|
|
44
44
|
"remark-gfm": "^4.0.0"
|
|
45
45
|
},
|