@dirwell/theme-ledger 0.0.2 → 0.0.4
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 +12 -2
- package/dist/client.js +24 -24
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +13 -36
- package/dist/index.mjs.map +1 -1
- package/dist/{model-BgCmoksr.d.mts → model-CeW-leLg.d.mts} +3 -3
- package/dist/model.d.mts +1 -1
- package/dist/source/Ledger.svelte +90 -54
- package/dist/styles.css +195 -546
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Searchable Svelte directory listings with sorting, keyboard selection and row vi
|
|
|
5
5
|
Requires Node.js 22.12 or newer. Install the first stable family:
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install @dirwell/core@0.0.
|
|
8
|
+
npm install @dirwell/core@0.0.3 @dirwell/theme-ledger@0.0.3
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Create `files/note.txt`, save this as `build.mjs`, then run `node build.mjs`:
|
|
@@ -28,7 +28,7 @@ Version `0.0.1` adds shared `language`, `direction`, `locale`, `timeZone`, parti
|
|
|
28
28
|
|
|
29
29
|
Svelte owns the server markup, client state, keyed rows, search, sorting, dialogs, navigation and cleanup. No framework-neutral serialized UI tree or imperative theme controller is used.
|
|
30
30
|
|
|
31
|
-
Use `createLedgerTheme({ title: "Sample downloads" })` with `@dirwell/core` and an explicit listing policy. Paged HTML preserves native links without JavaScript. The browser loads and validates the complete compact listing before enabling directory-wide search and sorting; directories exceeding 500 visible rows use measured row virtualization. Folder snapshots resolve navigation URLs before updating History.
|
|
31
|
+
Use `createLedgerTheme({ title: "Sample downloads" })` with `@dirwell/core` and an explicit listing policy. Paged HTML preserves native links without JavaScript. The browser loads and validates the complete compact listing before enabling directory-wide search and sorting; directories exceeding 500 visible rows use measured row virtualization. Ordinary desktop rows remain compact; wrapped names, link targets and optional actions grow naturally. The sticky header follows its measured height and stops sticking when too tall for the viewport. Folder snapshots resolve navigation URLs before updating History.
|
|
32
32
|
|
|
33
33
|
The theme includes directory type filtering, fuzzy search, name/size/modified sorting, natural/locale/Unicode names, color schemes, timestamp details, archive search, and keyboard selection. File URLs use native navigation and pagination.
|
|
34
34
|
|
|
@@ -47,3 +47,13 @@ Stable shares directory query/sort/type controls through URL parameters and rest
|
|
|
47
47
|
The 0.0.x API may evolve. Pin your qualified version and upgrade the official family together. See [support and verification](https://vp-tw.github.io/dirwell/support/) for host, browser and device boundaries.
|
|
48
48
|
|
|
49
49
|
Version 0.0.2 also uses an opt-in Server `search` query endpoint for live archive search. The archive dialog remains separate from current-directory filtering; `archiveSearch: false` hides both static and live archive controls. Open live dialogs refresh every two seconds by default, with request cancellation and retry states. See the Server package for scan budgets and authorization boundaries.
|
|
50
|
+
|
|
51
|
+
## Directory URLs
|
|
52
|
+
|
|
53
|
+
Version 0.0.3 uses Core `routing: { directoryUrls: "explicit" }` by default
|
|
54
|
+
for every theme. Choose `slash` for directory-index hosts or `clean` for a
|
|
55
|
+
qualified extensionless host. Themes do not rewrite links. Existing source
|
|
56
|
+
homepages and download names are preserved; output conflicts fail. CLI config
|
|
57
|
+
puts routing at the top level, and `--directory-urls` overrides it.
|
|
58
|
+
See [directory URL guidance](https://vp-tw.github.io/dirwell/urls/) for output
|
|
59
|
+
placement, host requirements, native Plain file navigation and migration.
|