@chunkflowjs/upload-component-react 0.0.1-alpha.3 → 0.0.1-alpha.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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.d.mts +5 -5
  3. package/package.json +13 -13
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Sunny
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, ReactNode } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
3
3
  import { UploadTask } from "@chunkflowjs/core";
4
4
 
5
5
  //#region src/UploadButton.d.ts
@@ -27,7 +27,7 @@ declare function UploadButton({
27
27
  children,
28
28
  className,
29
29
  disabled
30
- }: UploadButtonProps): react_jsx_runtime0.JSX.Element;
30
+ }: UploadButtonProps): react_jsx_runtime1.JSX.Element;
31
31
  //#endregion
32
32
  //#region src/UploadProgress.d.ts
33
33
  interface UploadProgressProps {
@@ -49,7 +49,7 @@ declare function UploadProgress({
49
49
  progressBarClassName,
50
50
  progressFillClassName,
51
51
  progressInfoClassName
52
- }: UploadProgressProps): react_jsx_runtime0.JSX.Element;
52
+ }: UploadProgressProps): react_jsx_runtime1.JSX.Element;
53
53
  //#endregion
54
54
  //#region src/UploadList.d.ts
55
55
  interface UploadListProps {
@@ -79,7 +79,7 @@ declare function UploadList({
79
79
  showCancelled,
80
80
  maxItems,
81
81
  emptyMessage
82
- }: UploadListProps): react_jsx_runtime0.JSX.Element;
82
+ }: UploadListProps): react_jsx_runtime1.JSX.Element;
83
83
  //#endregion
84
84
  //#region src/UploadDropzone.d.ts
85
85
  interface UploadDropzoneProps {
@@ -110,7 +110,7 @@ declare function UploadDropzone({
110
110
  style,
111
111
  draggingClassName,
112
112
  disabled
113
- }: UploadDropzoneProps): react_jsx_runtime0.JSX.Element;
113
+ }: UploadDropzoneProps): react_jsx_runtime1.JSX.Element;
114
114
  //#endregion
115
115
  //#region src/index.d.ts
116
116
  declare const UPLOAD_COMPONENT_REACT_VERSION = "0.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chunkflowjs/upload-component-react",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.1-alpha.5",
4
4
  "description": "React UI components for ChunkFlow Upload SDK",
5
5
  "keywords": [
6
6
  "components",
@@ -24,18 +24,10 @@
24
24
  "import": "./dist/index.mjs"
25
25
  }
26
26
  },
27
- "scripts": {
28
- "build": "tsdown src/index.ts --format esm --dts",
29
- "dev": "tsdown src/index.ts --format esm --dts --watch",
30
- "test": "vitest run",
31
- "test:watch": "vitest",
32
- "typecheck": "tsc --noEmit",
33
- "clean": "rm -rf dist"
34
- },
35
27
  "dependencies": {
36
- "@chunkflowjs/core": "workspace:*",
37
- "@chunkflowjs/shared": "workspace:*",
38
- "@chunkflowjs/upload-client-react": "workspace:*"
28
+ "@chunkflowjs/core": "0.0.1-alpha.5",
29
+ "@chunkflowjs/shared": "0.0.1-alpha.5",
30
+ "@chunkflowjs/upload-client-react": "0.0.1-alpha.5"
39
31
  },
40
32
  "devDependencies": {
41
33
  "@testing-library/jest-dom": "^6.9.1",
@@ -52,5 +44,13 @@
52
44
  "peerDependencies": {
53
45
  "react": "^18.0.0",
54
46
  "react-dom": "^18.0.0"
47
+ },
48
+ "scripts": {
49
+ "build": "tsdown src/index.ts --format esm --dts",
50
+ "dev": "tsdown src/index.ts --format esm --dts --watch",
51
+ "test": "vitest run",
52
+ "test:watch": "vitest",
53
+ "typecheck": "tsc --noEmit",
54
+ "clean": "rm -rf dist"
55
55
  }
56
- }
56
+ }