@takuhon/core 1.4.0 → 1.4.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
@@ -17446,6 +17446,7 @@ var CELL = 7;
17446
17446
  var CELL_PITCH = 9;
17447
17447
  var CALENDAR_ROWS = 7;
17448
17448
  var MAX_CALENDAR_DAYS = 53 * CALENDAR_ROWS;
17449
+ var PERIOD_LABEL = "last 12 months";
17449
17450
  var LIGHT_PALETTE = {
17450
17451
  background: "#ffffff",
17451
17452
  text: "#1a1a1a",
@@ -17546,7 +17547,7 @@ function renderActivitySvg(snapshot, options = {}) {
17546
17547
  caption(
17547
17548
  PAD,
17548
17549
  y + 11,
17549
- `Contributions \xB7 ${groupDigits(snapshot.contributions.total)}`,
17550
+ `Contributions \xB7 ${groupDigits(snapshot.contributions.total)} \xB7 ${PERIOD_LABEL}`,
17550
17551
  palette.muted
17551
17552
  )
17552
17553
  );
@@ -17563,7 +17564,7 @@ function renderActivitySvg(snapshot, options = {}) {
17563
17564
  const rankX = PAD + INNER - 120;
17564
17565
  if (hasCodingTime && snapshot.codingTime) {
17565
17566
  const t = snapshot.codingTime;
17566
- parts.push(caption(PAD, y + 11, "Coding time", palette.muted));
17567
+ parts.push(caption(PAD, y + 11, `Coding time \xB7 ${PERIOD_LABEL}`, palette.muted));
17567
17568
  parts.push(
17568
17569
  text(PAD, y + 38, `${groupDigits(t.hours)}h ${String(t.minutes)}m`, {
17569
17570
  size: 22,