visualproof 0.8.0 → 0.8.2

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
  <p align="center"><sub>Five Lean codebases, drawn by <code>visualproof artwork</code>.</sub></p>
11
11
 
12
- https://github.com/user-attachments/assets/941b6599-5b4d-4364-aa81-fc25b8991eeb
12
+ https://github.com/user-attachments/assets/5d090578-ba18-493f-83d9-7529bcbc689c
13
13
 
14
14
  <p align="center"><sub>A review of Sphere-Packing-Lean in 71 seconds. The whole tour — three and a half minutes in thirteen chapters, with captions — is in the page under <b>?</b> → Tips, and <a href="https://visualproof-demo.yingte.io/#tips">on the live demo</a>.</sub></p>
15
15
 
@@ -6289,7 +6289,7 @@ var FocusMenu = class {
6289
6289
  };
6290
6290
 
6291
6291
  // src/web/src/reload.ts
6292
- var PAGE_VERSION = true ? "0.8.0" : null;
6292
+ var PAGE_VERSION = true ? "0.8.2" : null;
6293
6293
  var KEY = "visualproof:reload";
6294
6294
  var FOR_KEY = "visualproof:reloaded-for";
6295
6295
  var FRESH_MS = 10 * 6e4;
@@ -52597,7 +52597,9 @@ function talkPart(page) {
52597
52597
  $("#talk-notice").hidden = true;
52598
52598
  talk.open(noticeOf);
52599
52599
  });
52600
- if (store2.data.chatOpen && !talkBtn.hidden) page.chatWin.show();
52600
+ const reopenTalk = () => {
52601
+ if (store2.data.chatOpen && !talkBtn.hidden) page.chatWin.show();
52602
+ };
52601
52603
  const chipFor = (url) => {
52602
52604
  const l2 = siteLink(url, site.origins);
52603
52605
  if (!l2) return null;
@@ -52610,7 +52612,7 @@ function talkPart(page) {
52610
52612
  tool: (t2) => restsOn(t2) ? "Rests on" : MODE_NAME[t2]
52611
52613
  });
52612
52614
  };
52613
- return { talk, chipFor };
52615
+ return { talk, chipFor, reopenTalk };
52614
52616
  }
52615
52617
 
52616
52618
  // src/shared/askfollow.ts
@@ -53593,7 +53595,7 @@ var Pointers = class {
53593
53595
  const r2 = document.createElement("div");
53594
53596
  r2.className = "ptr-ripple";
53595
53597
  r2.style.setProperty("--c", o2.color);
53596
- r2.style.transform = `translate(${f2.x}px, ${f2.y}px)`;
53598
+ r2.style.translate = `${f2.x}px ${f2.y}px`;
53597
53599
  this.layer.append(r2);
53598
53600
  setTimeout(() => r2.remove(), 900);
53599
53601
  }
@@ -60109,6 +60111,7 @@ async function boot() {
60109
60111
  Object.assign(page, menuPart(page));
60110
60112
  Object.assign(page, notesPart(page));
60111
60113
  Object.assign(page, keysPart(page));
60114
+ page.reopenTalk();
60112
60115
  window.visualproof = { canvas: page.canvas, linear: page.linear, graph: () => page.g, present: () => page.present, board: () => page.nav.board, views: page.views, tm: page.tm, timeMachine: (at) => page.openTimeMachine(at) };
60113
60116
  window.addEventListener("resize", page.syncInsets);
60114
60117
  const firstPlace = linked ? { mode: linked.mode, picks: linked.picks, shown: linked.shown, cam: null, ...keptFocus(S7.seen[first]) } : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visualproof",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "type": "module",
5
5
  "description": "See a Lean codebase's declaration graph and the TCB of its theorems.",
6
6
  "license": "Apache-2.0",