demio-ui 5.1.17 → 5.1.21
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/dist/bundle-analysis.html +1 -1
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +4 -1
- package/package.json +4 -1
package/dist/types.d.ts
CHANGED
|
@@ -558,6 +558,9 @@ interface UploadMenuProps {
|
|
|
558
558
|
}
|
|
559
559
|
declare const UploadMenu: FC<UploadMenuProps>;
|
|
560
560
|
|
|
561
|
+
interface UploadRef {
|
|
562
|
+
cancelUpload: () => void;
|
|
563
|
+
}
|
|
561
564
|
interface UploadProps {
|
|
562
565
|
acceptableFileTypes?: string;
|
|
563
566
|
children?: ReactNode;
|
|
@@ -598,7 +601,7 @@ interface UploadProps {
|
|
|
598
601
|
previewImageTitle?: string;
|
|
599
602
|
uploadPercent?: number | undefined;
|
|
600
603
|
}
|
|
601
|
-
declare const Upload:
|
|
604
|
+
declare const Upload: React__default.ForwardRefExoticComponent<UploadProps & React__default.RefAttributes<UploadRef>>;
|
|
602
605
|
|
|
603
606
|
interface UploadProgressPreviewProps {
|
|
604
607
|
className?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "demio-ui",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -148,6 +148,9 @@
|
|
|
148
148
|
"tslib": "^2.8.1",
|
|
149
149
|
"typescript": "^5.8.3"
|
|
150
150
|
},
|
|
151
|
+
"optionalDependencies": {
|
|
152
|
+
"@rollup/rollup-linux-x64-gnu": "^4.46.2"
|
|
153
|
+
},
|
|
151
154
|
"peerDependencies": {
|
|
152
155
|
"react": "^18.2.0",
|
|
153
156
|
"react-dom": "^18.2.0"
|