From d6466595a2882c91309459bd90c61fdfd6da1a93 Mon Sep 17 00:00:00 2001 From: David Vogeleer Date: Mon, 2 Nov 2026 21:03:26 -0500 Subject: [PATCH] package.json: homepage is tsquare.dev/docs/react Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f1f4fa..a4e40ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Unreleased + +- **The npm page links to https://tsquare.dev/docs/react** (package.json `homepage`), the docs for every component with examples. The source stays linked as the repository. + ## 0.5.0 - **Click elements in ``:** `onElementClick(hit, hits, event)` gets the element or flow arrow clicked (a press that hardly moves; dragging still pans) and everything under the point, most likely first, each with its lines in the text, type, label, `#id` and box. Hovered elements get a dashed outline. `onElementHover` follows the pointer. `selected` outlines the element on a line, or on each line in a list (a line inside a block, such as an editor's caret, outlines that block). When the text and `selected` change together, the outline waits for the new board instead of matching the new line against the old one; clicks aren't reported until then, and clearing `selected` takes effect right away. The outline color is `--tsquare-highlight`. Built on tsquare 0.14's viewer events. diff --git a/package.json b/package.json index a91d7d3..c5ae130 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "type": "git", "url": "git+https://github.com/tsquare-js/react.git" }, - "homepage": "https://github.com/tsquare-js/react#readme", + "homepage": "https://tsquare.dev/docs/react", "bugs": { "url": "https://github.com/tsquare-js/react/issues" },