@sensiblestats/widget-react 0.118.4 → 0.119.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 +11 -0
- package/dist/index.cjs +2312 -1957
- 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 +2274 -1919
- package/dist/index.js.map +1 -1
- package/dist/styles.css +76 -79
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -1295,6 +1295,13 @@
|
|
|
1295
1295
|
.ss-w-tabs[data-tight="3"] { gap: 0; }
|
|
1296
1296
|
.ss-w-tabs[data-tight="3"] .ss-w-tab { padding-left: 3px; padding-right: 3px; gap: 4px; }
|
|
1297
1297
|
.ss-w-tabs[data-tight="3"] .ss-w-tab-count { padding-left: 4px; padding-right: 4px; }
|
|
1298
|
+
.ss-w-tabs[data-tight="4"], .ss-w-tabs[data-tight="5"], .ss-w-tabs[data-tight="6"] { gap: 0; }
|
|
1299
|
+
.ss-w-tabs[data-tight="4"] .ss-w-tab, .ss-w-tabs[data-tight="5"] .ss-w-tab { padding-left: 3px; padding-right: 3px; gap: 4px; }
|
|
1300
|
+
.ss-w-tabs[data-tight="4"] .ss-w-tab-count, .ss-w-tabs[data-tight="5"] .ss-w-tab-count { padding-left: 4px; padding-right: 4px; }
|
|
1301
|
+
.ss-w-tabs[data-tight="4"] .ss-w-tab { font-size: 12px; }
|
|
1302
|
+
.ss-w-tabs[data-tight="5"] .ss-w-tab { font-size: 11px; }
|
|
1303
|
+
.ss-w-tabs[data-tight="6"] .ss-w-tab { font-size: 11px; padding-left: 2px; padding-right: 2px; gap: 3px; letter-spacing: -.01em; }
|
|
1304
|
+
.ss-w-tabs[data-tight="6"] .ss-w-tab-count { padding-left: 3px; padding-right: 3px; }
|
|
1298
1305
|
.ss-w-tab-count { font-size: 10.5px; font-weight: 700; color: var(--ss-w-faint); background: var(--ss-w-bubble); border-radius: 999px; padding: 1px 6px; }
|
|
1299
1306
|
.ss-w-tab[data-on] .ss-w-tab-count { color: var(--ss-w-accent); }
|
|
1300
1307
|
/* The dot sits on the tab's corner and takes no width: a poll landing late must not push the last tab out of a strip that already fits to the pixel */
|
|
@@ -1303,6 +1310,55 @@
|
|
|
1303
1310
|
.ss-w-tab-star { display: none; font-size: 15px; line-height: 1; }
|
|
1304
1311
|
.ss-w-tab[data-compact] .ss-w-tab-star { display: inline; }
|
|
1305
1312
|
.ss-w-tab[data-compact] .ss-w-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
1313
|
+
.ss-w-sportchips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 3px; }
|
|
1314
|
+
.ss-w-sportchips::-webkit-scrollbar { display: none; }
|
|
1315
|
+
.ss-w-sportchip { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 32px; padding: 4px 11px; font: inherit; font-size: 12.5px; font-weight: 620; white-space: nowrap; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; cursor: pointer; }
|
|
1316
|
+
.ss-w-sportchip[aria-pressed="true"] { color: #fff; background: var(--ss-w-accent); border-color: var(--ss-w-accent); }
|
|
1317
|
+
.ss-w-sportchip-count { font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
1318
|
+
.ss-w-sportchip:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1319
|
+
.ss-w-lp-bar, .ss-w-mp-head { position: sticky; top: 0; z-index: 2; margin: 0 -14px; padding: 6px 11px 8px; background: var(--ss-w-panel); }
|
|
1320
|
+
.ss-w-lp-bar { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
|
|
1321
|
+
.ss-w-lp-bar::-webkit-scrollbar { display: none; }
|
|
1322
|
+
.ss-w-lp-bar > * { flex: none; }
|
|
1323
|
+
.ss-w-lp-div { width: 1px; height: 20px; background: var(--ss-w-line); }
|
|
1324
|
+
.ss-w-lp-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 11px; font: inherit; font-size: 12.5px; font-weight: 620; white-space: nowrap; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; cursor: pointer; }
|
|
1325
|
+
.ss-w-lp-chip[aria-pressed="true"] { color: #fff; background: var(--ss-w-accent); border-color: var(--ss-w-accent); }
|
|
1326
|
+
.ss-w-lp-chip:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1327
|
+
.ss-w-lp-section { display: flex; flex-direction: column; gap: 8px; }
|
|
1328
|
+
.ss-w-lp-next { display: flex; flex-direction: column; gap: 2px; }
|
|
1329
|
+
.ss-w-lp-tag { padding: 0 2px; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ss-w-faint); }
|
|
1330
|
+
.ss-w-lp-seeall { align-self: flex-start; min-height: 32px; padding: 4px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; cursor: pointer; }
|
|
1331
|
+
.ss-w-lp-seeall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1332
|
+
.ss-w-mp-head { display: flex; flex-direction: column; gap: 6px; }
|
|
1333
|
+
.ss-w-mp-list:focus { outline: none; }
|
|
1334
|
+
.ss-w-daystrip { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 3px; }
|
|
1335
|
+
.ss-w-daystrip::-webkit-scrollbar { display: none; }
|
|
1336
|
+
.ss-w-ds-item { flex: none; display: inline-flex; align-items: center; gap: 6px; }
|
|
1337
|
+
.ss-w-ds-gap { width: 0; height: 24px; border-left: 1px dashed var(--ss-w-line); }
|
|
1338
|
+
.ss-w-ds-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 46px; min-height: 40px; padding: 3px 9px; font: inherit; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 12px; cursor: pointer; }
|
|
1339
|
+
.ss-w-ds-chip[aria-pressed="true"] { color: #fff; background: var(--ss-w-accent); border-color: var(--ss-w-accent); }
|
|
1340
|
+
.ss-w-ds-chip:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1341
|
+
.ss-w-ds-wd { font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
|
|
1342
|
+
.ss-w-ds-dn { font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.2; }
|
|
1343
|
+
.ss-w-mp-skel { display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
|
|
1344
|
+
.ss-w-mp-skelrow { display: flex; align-items: center; gap: 10px; }
|
|
1345
|
+
.ss-w-mp-fail { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ss-w-faint); padding: 10px 2px; }
|
|
1346
|
+
.ss-w-mp-retry { min-height: 32px; padding: 4px 12px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; cursor: pointer; }
|
|
1347
|
+
.ss-w-mp-retry:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1348
|
+
.ss-w-lg { display: flex; flex-direction: column; }
|
|
1349
|
+
.ss-w-lg-head { display: flex; align-items: center; gap: 4px; }
|
|
1350
|
+
.ss-w-lg-toggle { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 4px 2px; background: none; border: none; font: inherit; color: var(--ss-w-ink); cursor: pointer; text-align: left; }
|
|
1351
|
+
.ss-w-lg-toggle:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; border-radius: 6px; }
|
|
1352
|
+
.ss-w-lg-name { flex: 1; min-width: 0; font-size: 11px; font-weight: 800; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1353
|
+
.ss-w-lg-count { flex: none; font-size: 10.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ss-w-faint); }
|
|
1354
|
+
.ss-w-lg-chev { flex: none; font-size: 11px; color: var(--ss-w-faint); transform: rotate(-90deg); }
|
|
1355
|
+
.ss-w-lg-chev--open { transform: none; }
|
|
1356
|
+
.ss-w-lg-live { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 2px 8px; font: inherit; font-size: 11px; font-weight: 700; color: var(--ss-w-neg); background: none; border: 1px solid var(--ss-w-line); border-radius: 999px; cursor: pointer; }
|
|
1357
|
+
.ss-w-lg-live:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 1px; }
|
|
1358
|
+
.ss-w-lg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ss-w-neg); }
|
|
1359
|
+
.ss-w-lg-rows { display: flex; flex-direction: column; }
|
|
1360
|
+
.ss-w-lg-showall { align-self: flex-start; min-height: 28px; background: none; border: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--ss-w-faint); cursor: pointer; padding: 4px 2px 0; }
|
|
1361
|
+
.ss-w-lg-showall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1306
1362
|
.ss-w-fav { gap: 14px; }
|
|
1307
1363
|
.ss-w-fav-saved { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ss-w-faint); }
|
|
1308
1364
|
.ss-w-fav-saved::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ss-w-accent); flex: none; }
|
|
@@ -1959,91 +2015,20 @@
|
|
|
1959
2015
|
.ss-w-props-fact .ss-w-slip, .ss-w-props-scorer .ss-w-slip { display: contents; }
|
|
1960
2016
|
.ss-w-props-fact .ss-w-toast, .ss-w-props-scorer .ss-w-toast { position: static; grid-column: 1 / -1; width: auto; max-width: none; box-shadow: none; }
|
|
1961
2017
|
|
|
1962
|
-
/* ----
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
.
|
|
1966
|
-
.ss-w-
|
|
1967
|
-
|
|
1968
|
-
/* Today tab root (Task 7): position: relative so the grid's own star/unstar toast (absolute,
|
|
1969
|
-
top-centre) anchors here rather than to some unrelated positioned ancestor. */
|
|
1970
|
-
/* Non-scrolling anchor for .ss-w-today-toast (position: absolute; top: 0): .ss-w-mon-list below is
|
|
1971
|
-
the overflow-y: auto scroller, so a toast parented to IT would scroll out of view with the
|
|
1972
|
-
content that moved it. This wrapper sits outside that scroller, inside .ss-w-panel's fixed-size
|
|
1973
|
-
flex column, so top: 0 always lands at the visible top of the Today tab. min-height: 0 is
|
|
1974
|
-
required: without it this flex item defaults to min-height: auto (its content height), .ss-w-panel's
|
|
1975
|
-
overflow: hidden then clips it, and .ss-w-mon-list inside never gets a bounded height to scroll within. */
|
|
2018
|
+
/* ---- Live and Matches panels (u355, u626) ---- */
|
|
2019
|
+
/* Non-scrolling anchor for the Live and Matches panels: .ss-w-mon-list below is the
|
|
2020
|
+
overflow-y: auto scroller, and this wrapper sits outside it, inside .ss-w-panel's fixed-size
|
|
2021
|
+
flex column. min-height: 0 is required: without it this flex item defaults to min-height: auto
|
|
2022
|
+
(its content height), .ss-w-panel's overflow: hidden then clips it, and .ss-w-mon-list inside
|
|
2023
|
+
never gets a bounded height to scroll within. */
|
|
1976
2024
|
.ss-w-today-root { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
|
|
1977
2025
|
|
|
1978
|
-
/* Section header for
|
|
1979
|
-
treatment as .ss-w-sec-head (the live-band header), kept as a separate class so a kept test
|
|
1980
|
-
asserting .ss-w-sec-head is absent when nothing is live cannot see this header too. */
|
|
2026
|
+
/* Section header for the Live and Matches panels. */
|
|
1981
2027
|
.ss-w-today-sec { display: flex; align-items: center; gap: 7px; padding: 2px 2px 0; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ss-w-faint); }
|
|
1982
2028
|
.ss-w-today-sec::after { content: ""; flex: 1; height: 1px; background: var(--ss-w-line); }
|
|
1983
|
-
.ss-w-today-sec-sub { text-transform: none; letter-spacing: normal; font-weight: 600; }
|
|
1984
|
-
.ss-w-today-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
1985
2029
|
.ss-w-today-empty { font-size: 12px; color: var(--ss-w-faint); padding: 10px 2px; }
|
|
1986
|
-
|
|
1987
|
-
.ss-w-today-search-group { display: flex; align-items: center; gap: 7px; padding: 2px 2px 6px; }
|
|
1988
|
-
.ss-w-today-search-group::after { content: ""; flex: 1; height: 1px; background: var(--ss-w-line); }
|
|
1989
|
-
.ss-w-today-search-group .ss-w-bi-comp-logo { width: 16px; height: 16px; }
|
|
1990
|
-
.ss-w-today-search-group-name { font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--ss-w-faint); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
1991
|
-
.ss-w-today-search-row { cursor: pointer; border-radius: 10px; }
|
|
1992
|
-
.ss-w-today-search-row:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
1993
|
-
|
|
1994
|
-
/* League tile (Task 5): a flat row (crest + name as the open target, star as a separate sibling
|
|
1995
|
-
button) rather than a disclosure header -- opening is Task 6's LeagueDetail, not an inline
|
|
1996
|
-
expansion. Same border/radius language .ss-w-grp used to carry, before Task 7 deleted it. */
|
|
1997
|
-
.ss-w-today-tile { display: flex; align-items: center; gap: 6px; border: 1px solid var(--ss-w-line); border-radius: 12px; overflow: hidden; background: var(--ss-w-bubble); }
|
|
1998
|
-
.ss-w-today-tile-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 9px; background: none; border: none; font: inherit; color: var(--ss-w-ink); cursor: pointer; text-align: left; }
|
|
1999
|
-
.ss-w-today-tile-body:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2000
|
-
.ss-w-today-tile-name { font-size: 12px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2030
|
+
|
|
2001
2031
|
.ss-w-today-tile-country { font-weight: 600; color: var(--ss-w-faint); }
|
|
2002
|
-
.ss-w-today-tile-star { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin: 0 6px; background: none; border: none; border-radius: 8px; color: var(--ss-w-faint); cursor: pointer; }
|
|
2003
|
-
.ss-w-today-tile-star:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2004
|
-
.ss-w-today-tile-star[aria-pressed="true"] { color: var(--ss-w-accent); }
|
|
2005
|
-
.ss-w-today-tile-star:disabled { cursor: default; opacity: .4; }
|
|
2006
|
-
.ss-w-today-tile-star svg { width: 18px; height: 18px; }
|
|
2007
|
-
|
|
2008
|
-
/* Capped row groups (variant B of u521): one league's section-header plus up to
|
|
2009
|
-
ROW_CAP_PER_LEAGUE inline fixture rows, used in place of a tile when the section row budget
|
|
2010
|
-
allows it. Mirrors LeagueTile's button-body + sibling-star-button shape. */
|
|
2011
|
-
.ss-w-today-rowsection { display: flex; flex-direction: column; gap: 12px; }
|
|
2012
|
-
.ss-w-today-rowgroup { display: flex; flex-direction: column; }
|
|
2013
|
-
.ss-w-today-rowgroup-head { display: flex; align-items: center; gap: 4px; }
|
|
2014
|
-
.ss-w-today-rowgroup-head-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 2px; background: none; border: none; font: inherit; color: var(--ss-w-ink); cursor: pointer; text-align: left; }
|
|
2015
|
-
.ss-w-today-rowgroup-head-body:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2016
|
-
.ss-w-today-rowgroup-name { font-size: 11px; font-weight: 800; letter-spacing: .02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2017
|
-
.ss-w-today-rowgroup-star { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: none; border: none; border-radius: 8px; color: var(--ss-w-faint); cursor: pointer; }
|
|
2018
|
-
.ss-w-today-rowgroup-star:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2019
|
-
.ss-w-today-rowgroup-star[aria-pressed="true"] { color: var(--ss-w-accent); }
|
|
2020
|
-
.ss-w-today-rowgroup-star:disabled { cursor: default; opacity: .4; }
|
|
2021
|
-
.ss-w-today-rowgroup-star svg { width: 16px; height: 16px; }
|
|
2022
|
-
.ss-w-today-rowgroup-rows { display: flex; flex-direction: column; }
|
|
2023
|
-
.ss-w-today-rowgroup-seeall { align-self: flex-start; background: none; border: none; font: inherit; font-size: 11px; font-weight: 700; color: var(--ss-w-faint); cursor: pointer; padding: 4px 2px 0; }
|
|
2024
|
-
.ss-w-today-rowgroup-seeall:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2025
|
-
|
|
2026
|
-
/* League detail (Task 6): the drill-in view opened from a tile. Its header star is always
|
|
2027
|
-
enabled (spec §3/§7's one exception to the tile rule), so it carries no :disabled styling. */
|
|
2028
|
-
.ss-w-today-detail { position: relative; display: flex; flex-direction: column; gap: 10px; }
|
|
2029
|
-
.ss-w-today-detail-head { display: flex; align-items: center; gap: 8px; }
|
|
2030
|
-
.ss-w-today-detail-back { flex: none; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: none; border: none; border-radius: 8px; color: var(--ss-w-ink); cursor: pointer; transform: scaleX(-1); }
|
|
2031
|
-
.ss-w-today-detail-back:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2032
|
-
.ss-w-today-detail-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
2033
|
-
.ss-w-today-detail-star { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: none; border: none; border-radius: 8px; color: var(--ss-w-faint); cursor: pointer; }
|
|
2034
|
-
.ss-w-today-detail-star:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2035
|
-
.ss-w-today-detail-star[aria-pressed="true"] { color: var(--ss-w-accent); }
|
|
2036
|
-
.ss-w-today-detail-star svg { width: 18px; height: 18px; }
|
|
2037
|
-
.ss-w-today-detail-nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
|
|
2038
|
-
.ss-w-today-detail-prev, .ss-w-today-detail-next { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: none; border: none; border-radius: 8px; color: var(--ss-w-faint); cursor: pointer; }
|
|
2039
|
-
.ss-w-today-detail-prev:focus-visible, .ss-w-today-detail-next:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; }
|
|
2040
|
-
.ss-w-today-detail-prev { transform: scaleX(-1); }
|
|
2041
|
-
.ss-w-today-detail-pos { font-size: 10.5px; font-weight: 700; color: var(--ss-w-faint); font-variant-numeric: tabular-nums; }
|
|
2042
|
-
.ss-w-today-detail-body { display: flex; flex-direction: column; }
|
|
2043
|
-
.ss-w-today-detail-count { align-self: flex-end; flex: none; font-size: 10.5px; font-weight: 700; color: var(--ss-w-faint); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
|
|
2044
|
-
/* aria-live status region, not a modal -- pointer-events: none so the header/nav above stay
|
|
2045
|
-
clickable while it is showing. */
|
|
2046
|
-
.ss-w-today-toast { position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; pointer-events: none; width: max-content; max-width: 220px; font-size: 11px; font-weight: 560; color: var(--ss-w-accent); background: color-mix(in srgb, var(--ss-w-accent) 14%, var(--ss-w-panel)); border: 1px solid color-mix(in srgb, var(--ss-w-accent) 30%, var(--ss-w-line)); border-radius: 10px; padding: 5px 10px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
|
|
2047
2032
|
|
|
2048
2033
|
.ss-w-drow { display: grid; grid-template-columns: 42px minmax(0,1fr) 22px; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--ss-w-line); }
|
|
2049
2034
|
.ss-w-drow:last-child { border-bottom: none; }
|
|
@@ -2067,6 +2052,18 @@
|
|
|
2067
2052
|
.ss-w-drow--live { background: color-mix(in srgb, var(--ss-w-neg) 5%, transparent); border-radius: 8px; padding: 7px 6px; margin: 0 -6px; border-bottom: none; }
|
|
2068
2053
|
.ss-w-drow-crest { width: 16px; height: 16px; flex: none; border-radius: 50%; object-fit: contain; background: var(--ss-w-bubble); }
|
|
2069
2054
|
.ss-w-drow-crest--abbr { width: 26px; height: 16px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; letter-spacing: .02em; line-height: 1; color: var(--ss-w-faint); background: var(--ss-w-bubble); border: 1px solid var(--ss-w-line); box-sizing: border-box; }
|
|
2055
|
+
.ss-w-drow--open { grid-template-columns: minmax(0,1fr) 22px; }
|
|
2056
|
+
.ss-w-drow-body { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: center; gap: 9px; min-width: 0; padding: 0; font: inherit; color: inherit; text-align: left; background: none; border: none; cursor: pointer; }
|
|
2057
|
+
.ss-w-drow-body:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: -2px; border-radius: 6px; }
|
|
2058
|
+
.ss-w-sheet .ss-w-tool-close:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 2px; }
|
|
2059
|
+
.ss-w-sheet-league { font-size: 12px; font-weight: 600; color: var(--ss-w-faint); overflow-wrap: anywhere; }
|
|
2060
|
+
.ss-w-sheet-status { font-size: 14px; font-weight: 700; color: var(--ss-w-ink); font-variant-numeric: tabular-nums; }
|
|
2061
|
+
.ss-w-sheet-status--live { color: var(--ss-w-neg); }
|
|
2062
|
+
.ss-w-sheet-limit { font-size: 12px; font-weight: 600; color: var(--ss-w-cta); background: color-mix(in srgb, var(--ss-w-cta) 12%, var(--ss-w-panel)); border-radius: 8px; padding: 6px 9px; }
|
|
2063
|
+
.ss-w-sheet-actions { display: flex; flex-direction: column; gap: 8px; padding: 4px 3px 3px; }
|
|
2064
|
+
.ss-w-sheet-btn { min-height: 44px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 650; color: var(--ss-w-ink); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 12px; cursor: pointer; }
|
|
2065
|
+
.ss-w-sheet-btn--primary { color: #fff; background: var(--ss-w-accent); border-color: var(--ss-w-accent); }
|
|
2066
|
+
.ss-w-sheet-btn:focus-visible { outline: 2px solid var(--ss-w-accent); outline-offset: 2px; }
|
|
2070
2067
|
|
|
2071
2068
|
.ss-w-stale { font-size: 11px; font-weight: 600; color: var(--ss-w-cta); background: color-mix(in srgb, var(--ss-w-cta) 12%, var(--ss-w-panel)); border-radius: 8px; padding: 6px 9px; }
|
|
2072
2069
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sensiblestats/widget-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.119.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.
|
|
41
|
+
"@sensiblestats/widget-sdk": "^0.83.0",
|
|
42
42
|
"react-markdown": "^9.0.1",
|
|
43
43
|
"remark-gfm": "^4.0.0"
|
|
44
44
|
},
|