@sensiblestats/widget-react 0.61.0 → 0.61.1

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/index.js CHANGED
@@ -5637,7 +5637,7 @@ function CriterionIcon({ kind }) {
5637
5637
  return /* @__PURE__ */ jsx71(IconFlag, {});
5638
5638
  }
5639
5639
  }
5640
- function HeaderVisual({ label, key: iKey, meta }) {
5640
+ function HeaderVisual({ label, textKey: iKey, meta }) {
5641
5641
  if (!meta) {
5642
5642
  return /* @__PURE__ */ jsx71(CriterionIcon, { kind: criterionIconKind(label, iKey) });
5643
5643
  }
@@ -5814,7 +5814,7 @@ function BeatTheGridGame({
5814
5814
  cols.map((col, colIdx) => {
5815
5815
  const colMeta = config.colsMeta?.[colIdx];
5816
5816
  return /* @__PURE__ */ jsxs59("div", { className: "ss-g-btg-colhdr", "data-meta": colMeta ? "true" : void 0, children: [
5817
- /* @__PURE__ */ jsx71(HeaderVisual, { label: col, meta: colMeta }, config.colsI18n?.[colIdx]?.key),
5817
+ /* @__PURE__ */ jsx71(HeaderVisual, { label: col, textKey: config.colsI18n?.[colIdx]?.key, meta: colMeta }),
5818
5818
  /* @__PURE__ */ jsx71("span", { children: col })
5819
5819
  ] }, col);
5820
5820
  }),
@@ -5822,7 +5822,7 @@ function BeatTheGridGame({
5822
5822
  const rowMeta = config.rowsMeta?.[rowIdx];
5823
5823
  const abbr = rowAbbrev(rowLabel, s.rowAbbrev, config.rowsI18n?.[rowIdx]?.key);
5824
5824
  const rowHeaderContent = rowMeta ? /* @__PURE__ */ jsxs59(Fragment14, { children: [
5825
- /* @__PURE__ */ jsx71(HeaderVisual, { label: rowLabel, meta: rowMeta }, config.rowsI18n?.[rowIdx]?.key),
5825
+ /* @__PURE__ */ jsx71(HeaderVisual, { label: rowLabel, textKey: config.rowsI18n?.[rowIdx]?.key, meta: rowMeta }),
5826
5826
  /* @__PURE__ */ jsx71("span", { children: rowLabel })
5827
5827
  ] }) : abbr === rowLabel ? /* @__PURE__ */ jsx71("span", { children: rowLabel }) : /* @__PURE__ */ jsxs59(Fragment14, { children: [
5828
5828
  /* @__PURE__ */ jsx71("span", { "aria-hidden": "true", children: abbr }),