@uppy/dashboard
Advanced tools
Comparing version 4.0.0-beta.3 to 4.0.0-beta.4
# @uppy/dashboard | ||
## 4.0.0-beta.4 | ||
Released: 2024-04-29 | ||
Included in: Uppy v4.0.0-beta.4 | ||
- @uppy/dashboard,@uppy/provider-views: Remove JSX global type everywhere (Merlijn Vos / #5117) | ||
- @uppy/dashboard: fix type of trigger option (Merlijn Vos / #5106) | ||
- @uppy/dashboard: add missing `x-zip-compress` archive type (Younes / #5081) | ||
## 4.0.0-beta.1 | ||
@@ -15,2 +24,18 @@ | ||
## 3.8.2 | ||
Released: 2024-04-29 | ||
Included in: Uppy v3.25.0 | ||
- @uppy/dashboard,@uppy/provider-views: Remove JSX global type everywhere (Merlijn Vos / #5117) | ||
- @uppy/dashboard: fix type of trigger option (Merlijn Vos / #5106) | ||
## 3.8.1 | ||
Released: 2024-04-16 | ||
Included in: Uppy v3.24.3 | ||
- @uppy/dashboard: add missing `x-zip-compress` archive type (Younes / #5081) | ||
## 3.8.0 | ||
@@ -17,0 +42,0 @@ |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
export default function Dashboard(props: $TSFixMe): JSX.Element; | ||
export default function Dashboard(props: $TSFixMe): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=Dashboard.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
declare function EditorPanel(props: $TSFixMe): JSX.Element; | ||
declare function EditorPanel(props: $TSFixMe): h.JSX.Element; | ||
export default EditorPanel; | ||
//# sourceMappingURL=EditorPanel.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
export default function FileCard(props: $TSFixMe): JSX.Element; | ||
export default function FileCard(props: $TSFixMe): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,4 @@ | ||
/// <reference types="react" /> | ||
type $TSFixMe = any; | ||
export default function RenderMetaFields(props: $TSFixMe): JSX.Element; | ||
export default function RenderMetaFields(props: $TSFixMe): any; | ||
export {}; | ||
//# sourceMappingURL=RenderMetaFields.d.ts.map |
@@ -1,5 +0,4 @@ | ||
/// <reference types="react" /> | ||
type $TSFixMe = any; | ||
export default function MetaErrorMessage(props: $TSFixMe): JSX.Element; | ||
export default function MetaErrorMessage(props: $TSFixMe): any; | ||
export {}; | ||
//# sourceMappingURL=MetaErrorMessage.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
export default function FileList({ id, error, i18n, uppy, files, acquirers, resumableUploads, hideRetryButton, hidePauseResumeButton, hideCancelButton, showLinkToFileUploadResult, showRemoveButtonAfterComplete, isWide, metaFields, isSingleFile, toggleFileCard, handleRequestThumbnail, handleCancelThumbnail, recoveredState, individualCancellation, itemsPerRow, openFileEditor, canEditFile, toggleAddFilesPanel, containerWidth, containerHeight, }: $TSFixMe): JSX.Element; | ||
export default function FileList({ id, error, i18n, uppy, files, acquirers, resumableUploads, hideRetryButton, hidePauseResumeButton, hideCancelButton, showLinkToFileUploadResult, showRemoveButtonAfterComplete, isWide, metaFields, isSingleFile, toggleFileCard, handleRequestThumbnail, handleCancelThumbnail, recoveredState, individualCancellation, itemsPerRow, openFileEditor, canEditFile, toggleAddFilesPanel, containerWidth, containerHeight, }: $TSFixMe): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=FileList.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
export default function FilePreview(props: $TSFixMe): JSX.Element; | ||
export default function FilePreview(props: $TSFixMe): h.JSX.Element; | ||
export {}; | ||
//# sourceMappingURL=FilePreview.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
declare function PickerPanelContent({ activePickerPanel, className, hideAllPanels, i18n, state, uppy, }: $TSFixMe): JSX.Element; | ||
declare function PickerPanelContent({ activePickerPanel, className, hideAllPanels, i18n, state, uppy, }: $TSFixMe): h.JSX.Element; | ||
export default PickerPanelContent; | ||
//# sourceMappingURL=PickerPanelContent.d.ts.map |
@@ -1,5 +0,5 @@ | ||
/// <reference types="react" /> | ||
import { h } from 'preact'; | ||
type $TSFixMe = any; | ||
declare function PanelTopBar(props: $TSFixMe): JSX.Element; | ||
declare function PanelTopBar(props: $TSFixMe): h.JSX.Element; | ||
export default PanelTopBar; | ||
//# sourceMappingURL=PickerPanelTopBar.d.ts.map |
@@ -1,3 +0,2 @@ | ||
/// <reference types="react" /> | ||
import { type ComponentChildren } from 'preact'; | ||
import { type VNode, type ComponentChildren } from 'preact'; | ||
/** | ||
@@ -12,6 +11,8 @@ * Vertical slide transition. | ||
*/ | ||
declare function Slide({ children, }: { | ||
declare function Slide({ children }: { | ||
children: ComponentChildren; | ||
}): JSX.Element | null; | ||
}): VNode<{ | ||
className?: string | undefined; | ||
}> | null; | ||
export default Slide; | ||
//# sourceMappingURL=Slide.d.ts.map |
@@ -1,2 +0,1 @@ | ||
/// <reference types="react" /> | ||
import { UIPlugin, type UIPluginOptions, type UnknownPlugin, type Uppy, type State } from '@uppy/core'; | ||
@@ -103,3 +102,3 @@ import type { VNode } from 'preact'; | ||
thumbnailWidth?: number; | ||
trigger?: string; | ||
trigger?: string | Element; | ||
waitForThumbnailsBeforeUpload?: boolean; | ||
@@ -215,3 +214,3 @@ } | ||
saveFileCard: (meta: M, fileID: string) => void; | ||
render: (state: State<M, B>) => JSX.Element; | ||
render: (state: State<M, B>) => import("preact").JSX.Element; | ||
install: () => void; | ||
@@ -218,0 +217,0 @@ uninstall: () => void; |
@@ -21,3 +21,3 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
const packageJson = { | ||
"version": "4.0.0-beta.3" | ||
"version": "4.0.0-beta.4" | ||
}; | ||
@@ -24,0 +24,0 @@ import locale from "./locale.js"; |
@@ -33,2 +33,4 @@ /** | ||
textArea.select(); | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const magicCopyFailed = cause => { | ||
@@ -35,0 +37,0 @@ document.body.removeChild(textArea); |
@@ -160,3 +160,3 @@ import { h } from 'preact'; | ||
// Archive | ||
const archiveTypes = ['zip', 'x-7z-compressed', 'x-rar-compressed', 'x-tar', 'x-gzip', 'x-apple-diskimage']; | ||
const archiveTypes = ['zip', 'x-7z-compressed', 'x-zip-compressed', 'x-rar-compressed', 'x-tar', 'x-gzip', 'x-apple-diskimage']; | ||
if (fileTypeGeneral === 'application' && archiveTypes.indexOf(fileTypeSpecific) !== -1) { | ||
@@ -163,0 +163,0 @@ return { |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-beta.4", | ||
"license": "MIT", | ||
@@ -27,6 +27,6 @@ "main": "lib/index.js", | ||
"@uppy/informer": "^4.0.0-beta.1", | ||
"@uppy/provider-views": "^4.0.0-beta.3", | ||
"@uppy/status-bar": "^4.0.0-beta.3", | ||
"@uppy/provider-views": "^4.0.0-beta.4", | ||
"@uppy/status-bar": "^4.0.0-beta.4", | ||
"@uppy/thumbnail-generator": "^4.0.0-beta.3", | ||
"@uppy/utils": "^6.0.0-beta.3", | ||
"@uppy/utils": "^6.0.0-beta.4", | ||
"classnames": "^2.2.6", | ||
@@ -36,10 +36,10 @@ "is-shallow-equal": "^1.0.1", | ||
"memoize-one": "^6.0.0", | ||
"nanoid": "^4.0.0", | ||
"nanoid": "^5.0.0", | ||
"preact": "^10.5.13" | ||
}, | ||
"devDependencies": { | ||
"@uppy/google-drive": "^4.0.0-beta.3", | ||
"@uppy/status-bar": "^4.0.0-beta.3", | ||
"@uppy/url": "^4.0.0-beta.3", | ||
"@uppy/webcam": "^4.0.0-beta.3", | ||
"@uppy/google-drive": "^4.0.0-beta.4", | ||
"@uppy/status-bar": "^4.0.0-beta.4", | ||
"@uppy/url": "^4.0.0-beta.4", | ||
"@uppy/webcam": "^4.0.0-beta.4", | ||
"resize-observer-polyfill": "^1.5.0", | ||
@@ -49,5 +49,5 @@ "vitest": "^1.2.1" | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.3" | ||
"@uppy/core": "^4.0.0-beta.4" | ||
}, | ||
"stableVersion": "3.8.0" | ||
} |
@@ -37,2 +37,3 @@ /** | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
const magicCopyFailed = (cause?: unknown) => { | ||
@@ -39,0 +40,0 @@ document.body.removeChild(textArea) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
749103
10734
- Removednanoid@4.0.2(transitive)
Updated@uppy/utils@^6.0.0-beta.4
Updatednanoid@^5.0.0