@frontlit/media-uploader 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +141 -0
- package/dist/index.d.ts +99 -0
- package/dist/index.js +1070 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +765 -0
- package/package.json +79 -0
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@frontlit/media-uploader",
|
|
3
|
+
"version": "0.1.0-alpha.0",
|
|
4
|
+
"description": "Reusable media and file upload dialog with library and Unsplash tabs for React",
|
|
5
|
+
"author": "FrontLit",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"README.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js",
|
|
20
|
+
"default": "./dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./styles.css": "./dist/styles.css"
|
|
23
|
+
},
|
|
24
|
+
"sideEffects": [
|
|
25
|
+
"**/*.css"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/codelitdev/frontlit.git",
|
|
33
|
+
"directory": "packages/media-uploader"
|
|
34
|
+
},
|
|
35
|
+
"homepage": "https://github.com/codelitdev/frontlit/tree/main/packages/media-uploader",
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/codelitdev/frontlit/issues"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"react",
|
|
41
|
+
"media",
|
|
42
|
+
"uploader",
|
|
43
|
+
"image-upload",
|
|
44
|
+
"file-upload",
|
|
45
|
+
"unsplash",
|
|
46
|
+
"frontlit"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsup && node scripts/add-use-client.mjs && tailwindcss -i src/styles.css -o dist/styles.css",
|
|
50
|
+
"prepublishOnly": "pnpm run build",
|
|
51
|
+
"dev": "tsup --watch",
|
|
52
|
+
"clean": "rimraf dist",
|
|
53
|
+
"check-types": "tsc --noEmit"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
57
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
61
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
62
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
63
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
64
|
+
"class-variance-authority": "^0.7.1",
|
|
65
|
+
"clsx": "^2.1.1",
|
|
66
|
+
"lucide-react": "^1.41.0",
|
|
67
|
+
"tailwind-merge": "^3.6.0"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@tailwindcss/cli": "^4.3.3",
|
|
71
|
+
"@types/node": "^26.4.1",
|
|
72
|
+
"@types/react": "^19.0.0",
|
|
73
|
+
"@types/react-dom": "^19.0.0",
|
|
74
|
+
"rimraf": "^6.1.3",
|
|
75
|
+
"tailwindcss": "^4.3.3",
|
|
76
|
+
"tsup": "^8.5.1",
|
|
77
|
+
"typescript": "^5.6.2"
|
|
78
|
+
}
|
|
79
|
+
}
|