@uppy/dashboard
Advanced tools
Comparing version 4.0.3 to 4.1.0
# @uppy/dashboard | ||
## 4.1.0 | ||
Released: 2024-08-29 | ||
Included in: Uppy v4.3.0 | ||
- @uppy/core,@uppy/dashboard: Pass container to `UIPlugin.render` for non-Preact integration (Merlijn Vos / #5437) | ||
## 4.0.3 | ||
@@ -4,0 +11,0 @@ |
import { h } from 'preact'; | ||
import classNames from 'classnames'; | ||
import { useRef } from 'preact/hooks'; | ||
import ignoreEvent from "../utils/ignoreEvent.js"; | ||
@@ -13,2 +14,3 @@ function PickerPanelContent(_ref) { | ||
} = _ref; | ||
const ref = useRef(null); | ||
return h("div", { | ||
@@ -36,5 +38,6 @@ className: classNames('uppy-DashboardContent-panel', className), | ||
}, i18n('cancel'))), h("div", { | ||
ref: ref, | ||
className: "uppy-DashboardContent-panelBody" | ||
}, uppy.getPlugin(activePickerPanel.id).render(state))); | ||
}, uppy.getPlugin(activePickerPanel.id).render(state, ref.current))); | ||
} | ||
export default PickerPanelContent; |
@@ -21,3 +21,3 @@ function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance"); return e; } | ||
const packageJson = { | ||
"version": "4.0.3" | ||
"version": "4.1.0" | ||
}; | ||
@@ -24,0 +24,0 @@ import locale from "./locale.js"; |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "4.0.3", | ||
"version": "4.1.0", | ||
"license": "MIT", | ||
@@ -26,5 +26,5 @@ "main": "lib/index.js", | ||
"@transloadit/prettier-bytes": "^0.3.4", | ||
"@uppy/informer": "^4.0.0", | ||
"@uppy/informer": "^4.1.0", | ||
"@uppy/provider-views": "^4.0.1", | ||
"@uppy/status-bar": "^4.0.2", | ||
"@uppy/status-bar": "^4.0.3", | ||
"@uppy/thumbnail-generator": "^4.0.0", | ||
@@ -40,5 +40,5 @@ "@uppy/utils": "^6.0.2", | ||
"devDependencies": { | ||
"@uppy/google-drive": "^4.0.0", | ||
"@uppy/status-bar": "^4.0.2", | ||
"@uppy/url": "^4.0.0", | ||
"@uppy/google-drive": "^4.1.0", | ||
"@uppy/status-bar": "^4.0.3", | ||
"@uppy/url": "^4.1.0", | ||
"@uppy/webcam": "^4.0.1", | ||
@@ -49,4 +49,4 @@ "resize-observer-polyfill": "^1.5.0", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.1.1" | ||
"@uppy/core": "^4.2.0" | ||
} | ||
} |
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
773580
168348
11107
1
Updated@uppy/informer@^4.1.0
Updated@uppy/status-bar@^4.0.3