@aiquants/markdown-explorer 0.25.0 → 0.26.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 CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.26.0 (2026-10-27) — Tables drawn as their original print, on @aiquants/markdown 11.6.1 and @aiquants/spreadsheet 0.17.1
4
+
5
+ ### Breaking
6
+
7
+ - **The peers `@aiquants/markdown` and `@aiquants/spreadsheet` are `^11.6.1` and `^0.17.1` (hosts).** The explorer is
8
+ built and tested on the table block's display options and the grid's content size; a `^` range in 0.x does not span
9
+ 0.16 and 0.17, so a host updates the three packages together.
10
+
11
+ ### Changed
12
+
13
+ - **A document's ```spreadsheets tables and a table file's preview take the 11.6.1 block (readers).** A table narrower
14
+ than its column keeps its box at the table's width while the toolbar keeps the column's; a table whose `height` (15 when
15
+ not given) reaches the rows its grid shows, an editable table's spare row included, shows every row in a box the document
16
+ scrolls past, under a wheel or a finger too; a keyboard move in a table taller than the document's view scrolls the view to
17
+ the active cell, and PageUp / PageDown move by the part of the table the view shows; and a writer can draw a table as its
18
+ original print (`toolbar=0 headings=0 autofit=1 zoom=71 height=1000`).
19
+
20
+ ### Demo
21
+
22
+ - **`notes/spreadsheets.md` gains "As printed" and "Narrow"**: a 60-row table with
23
+ `header=1 footer=1 toolbar=0 headings=0 autofit=1 zoom=71 height=1000`, and a two-column table with its toolbar.
24
+
3
25
  ## 0.25.0 (2026-10-27) — Open in a new tab names the encoding the explorer reads a file in
4
26
 
5
27
  ### Breaking
package/README.md CHANGED
@@ -48,12 +48,12 @@ A single-view (embedding) page never downloads the tree and multi-panel views, w
48
48
 
49
49
  - React 19.2.7 or later and React Router 8 in framework mode (route modules with `loader` / `headers`).
50
50
  - Node.js 22.22 or later (the floor React Router 8 declares). The package ships ES modules and CommonJS; the CommonJS entries load the ESM-only `react-router` through `require(esm)`.
51
- - The peer packages, at these versions or later within the caret ranges the package declares: `@aiquants/markdown` ^11.3.0 (document rendering; the Source toggle of a storage SVG image that stands alone in a paragraph, read through `imageSource`, and a Copy that copies the image as a PNG image or its source, the source readable in every display style, a notice in place of a block that cannot render and plain text for a fence in a language it does not know; its components' stylesheet without utilities,
52
- its controls' 44 px targets under every pointer, ```spreadsheets tables — inside list items and quotes too, and in a pane of their own (`layout="fill"`) never fewer than three rows — and their write-back through an editor that answers what came of each write (written, changed, a line that would close the fence, unwritable), reads a block's body back and tells them of its other changes,
51
+ - The peer packages, at these versions or later within the caret ranges the package declares: `@aiquants/markdown` ^11.6.1 (document rendering; the Source toggle of a storage SVG image that stands alone in a paragraph, read through `imageSource`, and a Copy that copies the image as a PNG image or its source, the source readable in every display style, a notice in place of a block that cannot render and plain text for a fence in a language it does not know; its components' stylesheet without utilities,
52
+ its controls' 44 px targets under every pointer, ```spreadsheets tables — inside list items and quotes too, and in a pane of their own (`layout="fill"`) never fewer than three rows, with the display options `toolbar=`, `zoom=`, `headings=` and `autofit=`, every row shown when `height` reaches the table's, and boxes no wider than the table — and their write-back through an editor that answers what came of each write (written, changed, a line that would close the fence, unwritable), reads a block's body back and tells them of its other changes,
53
53
  the React-free `@aiquants/markdown/code-blocks` that names the `data-code-meta` the sanitizer keeps on `code`, holds the converter's reading of a fenced block's lines and the table labels with their placeholders,
54
54
  its Mermaid labels and drawings that finish inside the document when a diagram's text changes or it unmounts mid-drawing, its math diagnostics, gantt sizing, embeds, link cards and their sizes, the React-free `@aiquants/markdown/embeds` the sanitizer worker loads and `@aiquants/markdown/source-lines` the editor and the sanitizer read, and the Node-only link-card handler of `@aiquants/markdown/server`, which needs Node.js 22.13 or later — below the explorer's own floor),
55
55
  `@aiquants/directory-tree` ^5.0.1 (rows that take paint and text styles only and have no vertical padding, a `removeRootIndent` shift that keeps the root's icon whole, and reveals of rows under the scroll bar's buttons),
56
- `@aiquants/drag-drop-panels` ^0.12.0 (the panel headers' move menu, named by the explorer's `panelMove`, their 44 px buttons under every pointer and the header arrangement the behavior docs follow), `@aiquants/resize-panels` ^2.2.0 (the source of each layout change, by which the tree pane's width is saved), `@aiquants/spreadsheet` ^0.16.1 (the grid of those tables — one `role="grid"` with header rows,
56
+ `@aiquants/drag-drop-panels` ^0.12.0 (the panel headers' move menu, named by the explorer's `panelMove`, their 44 px buttons under every pointer and the header arrangement the behavior docs follow), `@aiquants/resize-panels` ^2.2.0 (the source of each layout change, by which the tree pane's width is saved), `@aiquants/spreadsheet` ^0.17.1 (the grid of those tables — one `role="grid"` with header rows, the content size a box is fitted to and a keyboard move the document follows,
57
57
  read-only where it cannot write and named by its block — which markdown loads only for a document that holds one, and the grid of a table file's preview, whose TSV grammar (`@aiquants/spreadsheet/tsv`) reads a TSV file — `iterateTsvPrefixRows` the rows of a file read partway — and whose operation budget (`SPREADSHEET_MAX_OPERATION_CELLS` of `@aiquants/spreadsheet/view`) bounds its table) and `@aiquants/virtualscroll` ^3.22.1 (44 px scroll-to-edge pills and tap-scroll circles, the pills' text at the body step).
58
58
  The client depends on these floors, while a package manager may only warn about an older peer.
59
59
  - A Markdown parser of your choice on the server that produces HTML and its headings (the explorer sanitizes the HTML before it is sent).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/markdown-explorer",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "Markdown document explorer for React Router 8 (framework mode): a source tree with a single-document view and a multi-panel reading view, storage-agnostic server ports, golden-ratio layout and an en / ja UI.",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -70,9 +70,9 @@
70
70
  "peerDependencies": {
71
71
  "@aiquants/directory-tree": "^5.0.1",
72
72
  "@aiquants/drag-drop-panels": "^0.12.0",
73
- "@aiquants/markdown": "^11.3.0",
73
+ "@aiquants/markdown": "^11.6.1",
74
74
  "@aiquants/resize-panels": "^2.2.0",
75
- "@aiquants/spreadsheet": "^0.16.1",
75
+ "@aiquants/spreadsheet": "^0.17.1",
76
76
  "@aiquants/virtualscroll": "^3.22.1",
77
77
  "react": "^19.2.7",
78
78
  "react-dom": "^19.2.7",
@@ -81,9 +81,9 @@
81
81
  "devDependencies": {
82
82
  "@aiquants/directory-tree": "5.0.1",
83
83
  "@aiquants/drag-drop-panels": "0.12.0",
84
- "@aiquants/markdown": "11.3.0",
84
+ "@aiquants/markdown": "11.6.1",
85
85
  "@aiquants/resize-panels": "2.2.0",
86
- "@aiquants/spreadsheet": "0.16.1",
86
+ "@aiquants/spreadsheet": "0.17.1",
87
87
  "@aiquants/virtualscroll": "3.22.1",
88
88
  "@heroicons/react": "^2.2.0",
89
89
  "@playwright/test": "^1.59.1",