@dimah-s3/ui 0.7.1 → 0.7.3

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 +10 -3
  2. package/package.json +8 -7
package/README.md CHANGED
@@ -1,15 +1,20 @@
1
1
  # @dimah-s3/ui
2
2
 
3
- Optional prebuilt UI components for `dimah-s3`, powered by `@dimah-s3/react`.
3
+ Optional prebuilt UI for `dimah-s3`, on top of `@dimah-s3/react` and
4
+ [shadcn/ui](https://ui.shadcn.com).
4
5
 
5
- Full documentation: [dimah-s3.vercel.app](https://dimah-s3.vercel.app/docs/react/ui/setup)
6
+ Full documentation: [dimah-s3.vercel.app/docs/react/ui](https://dimah-s3.vercel.app/docs/react/ui) ·
7
+ [llms.txt](https://dimah-s3.vercel.app/llms.txt)
6
8
 
7
9
  ## Install
8
10
 
9
11
  ```bash
10
- pnpm add @dimah-s3/ui @dimah-s3/react
12
+ pnpm add @dimah-s3/ui @dimah-s3/react shadcn
11
13
  ```
12
14
 
15
+ Or copy items from the shadcn registry — see
16
+ [UI setup](https://dimah-s3.vercel.app/docs/react/ui).
17
+
13
18
  ## Styles
14
19
 
15
20
  Import once in your CSS (Tailwind v4 source scan + shadcn color bridge):
@@ -35,6 +40,8 @@ export function UploadDemo() {
35
40
  }
36
41
  ```
37
42
 
43
+ Mount `<Toaster />` from `@dimah-s3/ui` next to `S3Provider`.
44
+
38
45
  ## License
39
46
 
40
47
  MIT
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@dimah-s3/ui",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "Pre-built React UI components for S3 file upload, download, and delete",
5
5
  "keywords": [
6
6
  "s3",
7
7
  "react",
8
8
  "ui",
9
- "upload",
10
- "download",
9
+ "shadcn",
11
10
  "file-upload",
11
+ "dropzone",
12
+ "nextjs",
12
13
  "components"
13
14
  ],
14
15
  "author": "Hamidrezakz",
@@ -18,7 +19,7 @@
18
19
  "url": "https://github.com/dimah-kz/dimah-s3.git",
19
20
  "directory": "packages/ui"
20
21
  },
21
- "homepage": "https://github.com/dimah-kz/dimah-s3/tree/main/packages/ui",
22
+ "homepage": "https://dimah-s3.vercel.app/docs/react/ui",
22
23
  "bugs": {
23
24
  "url": "https://github.com/dimah-kz/dimah-s3/issues"
24
25
  },
@@ -41,8 +42,8 @@
41
42
  ],
42
43
  "dependencies": {
43
44
  "react-file-icon": "^1.6.0",
44
- "@dimah-s3/core": "0.7.1",
45
- "@dimah-s3/react": "0.7.1"
45
+ "@dimah-s3/core": "0.7.3",
46
+ "@dimah-s3/react": "0.7.3"
46
47
  },
47
48
  "peerDependencies": {
48
49
  "@base-ui/react": ">=1.0.0",
@@ -63,7 +64,7 @@
63
64
  "eslint": "^10.8.1",
64
65
  "lucide-react": "^1.31.0",
65
66
  "react": "^19.2.8",
66
- "shadcn": "^4.16.2",
67
+ "shadcn": "^4.17.0",
67
68
  "tsc-alias": "^1.9.1",
68
69
  "tsup": "^8.5.1",
69
70
  "typescript": "7.0.2",