@vryzel/file-next-ui 0.4.4 → 0.4.5

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.
Files changed (2) hide show
  1. package/README.md +6 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,13 +1,15 @@
1
1
  # @vryzel/file-next-ui
2
2
 
3
- Ready-made file explorer for Next.js. Import `FileExplorer`, pass server callbacks, done. Or compose the pieces.
3
+ Requires `@vryzel/file-next` and `@vryzel/file-next-headless`. This package is only the explorer UI — not a filesystem.
4
4
 
5
5
  [Live demo](https://file-next-test-production.up.railway.app)
6
6
 
7
7
  ```bash
8
- pnpm add @vryzel/file-next-ui
8
+ pnpm add @vryzel/file-next @vryzel/file-next-headless @vryzel/file-next-ui
9
9
  ```
10
10
 
11
+ Then import `FileExplorer`, pass server callbacks. Or compose the pieces.
12
+
11
13
  Scan the package so Tailwind keeps the classes:
12
14
 
13
15
  ```js
@@ -28,7 +30,7 @@ import { FileExplorer } from "@vryzel/file-next-ui";
28
30
 
29
31
  <FileExplorer
30
32
  className="h-[70vh] overflow-hidden rounded-[10px] border border-border bg-card"
31
- tenantId="acme"
33
+ tenantId="demo"
32
34
  parentId={folderId}
33
35
  listFiles={listFiles}
34
36
  searchFiles={searchFiles}
@@ -70,7 +72,7 @@ What you get with `FileExplorer`:
70
72
 
71
73
  - List / grid, sort, persisted view (`persistViewKey`)
72
74
  - Search, trash, upload (multi-file + OS drop)
73
- - New folder / rename dialogs (not `window.prompt`)
75
+ - New folder / rename in place (Enter or blur saves, Escape cancels)
74
76
  - Multi-select, shift-click, ⌘A, copy/paste, drag onto folders
75
77
  - Pagination (`limit` 50 + Load more)
76
78
  - Quota footer, selection toast, upload queue
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vryzel/file-next-ui",
3
- "version": "0.4.4",
4
- "description": "Ready-to-use file explorer UI for file-next. Tailwind classes, composable pieces, and a default FileExplorer.",
3
+ "version": "0.4.5",
4
+ "description": "File explorer UI for file-next. Requires @vryzel/file-next and @vryzel/file-next-headless.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": "https://github.com/Vryzel/file-next.git",
@@ -48,8 +48,8 @@
48
48
  "tsup": "^8.3.5",
49
49
  "typescript": "^5.6.3",
50
50
  "vitest": "^2.1.5",
51
- "@vryzel/file-next": "0.4.4",
52
- "@vryzel/file-next-headless": "0.4.4"
51
+ "@vryzel/file-next": "0.4.5",
52
+ "@vryzel/file-next-headless": "0.4.5"
53
53
  },
54
54
  "keywords": [
55
55
  "react",