@uppy/dashboard
Advanced tools
Comparing version 4.0.2 to 4.0.3
# @uppy/dashboard | ||
## 4.0.3 | ||
Released: 2024-08-15 | ||
Included in: Uppy v4.1.1 | ||
- @uppy/dashboard,@uppy/drag-drop,@uppy/file-input: Transform the `accept` prop into a string everywhere (Evgenia Karunus / #5380) | ||
## 4.0.2 | ||
@@ -4,0 +11,0 @@ |
@@ -33,2 +33,3 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
this.renderHiddenInput = (isFolder, refCallback) => { | ||
var _this$props$allowedFi; | ||
return h("input", { | ||
@@ -44,3 +45,3 @@ className: "uppy-Dashboard-input", | ||
onChange: this.onFileInputChange, | ||
accept: this.props.allowedFileTypes, | ||
accept: (_this$props$allowedFi = this.props.allowedFileTypes) == null ? void 0 : _this$props$allowedFi.join(', '), | ||
ref: refCallback | ||
@@ -47,0 +48,0 @@ }); |
@@ -5,3 +5,3 @@ import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { DashboardState } from '../../../Dashboard.js'; | ||
import type { DashboardState } from '../../../Dashboard.ts'; | ||
type ButtonsProps<M extends Meta, B extends Body> = { | ||
@@ -8,0 +8,0 @@ uppy: Uppy<M, B>; |
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { UppyFile } from '@uppy/core'; | ||
import type { DashboardState } from '../../../Dashboard.js'; | ||
import type { DashboardState } from '../../../Dashboard.ts'; | ||
type FileInfoProps = { | ||
@@ -6,0 +6,0 @@ file: UppyFile<any, any>; |
@@ -6,3 +6,3 @@ import { Component, type ComponentChild } from 'preact'; | ||
import type { State } from '@uppy/core'; | ||
import type { DashboardState } from '../../Dashboard.js'; | ||
import type { DashboardState } from '../../Dashboard.ts'; | ||
type Props<M extends Meta, B extends Body> = { | ||
@@ -9,0 +9,0 @@ file: UppyFile<M, B>; |
@@ -5,3 +5,3 @@ import { h } from 'preact'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { DashboardState } from '../Dashboard.js'; | ||
import type { DashboardState } from '../Dashboard.ts'; | ||
type FileListProps<M extends Meta, B extends Body> = { | ||
@@ -8,0 +8,0 @@ id: string; |
@@ -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.2" | ||
"version": "4.0.3" | ||
}; | ||
@@ -24,0 +24,0 @@ import locale from "./locale.js"; |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"license": "MIT", | ||
@@ -27,6 +27,6 @@ "main": "lib/index.js", | ||
"@uppy/informer": "^4.0.0", | ||
"@uppy/provider-views": "^4.0.0", | ||
"@uppy/status-bar": "^4.0.1", | ||
"@uppy/provider-views": "^4.0.1", | ||
"@uppy/status-bar": "^4.0.2", | ||
"@uppy/thumbnail-generator": "^4.0.0", | ||
"@uppy/utils": "^6.0.1", | ||
"@uppy/utils": "^6.0.2", | ||
"classnames": "^2.2.6", | ||
@@ -41,3 +41,3 @@ "lodash": "^4.17.21", | ||
"@uppy/google-drive": "^4.0.0", | ||
"@uppy/status-bar": "^4.0.1", | ||
"@uppy/status-bar": "^4.0.2", | ||
"@uppy/url": "^4.0.0", | ||
@@ -49,4 +49,4 @@ "@uppy/webcam": "^4.0.1", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.1.0" | ||
"@uppy/core": "^4.1.1" | ||
} | ||
} |
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
772958
11102
Updated@uppy/provider-views@^4.0.1
Updated@uppy/status-bar@^4.0.2
Updated@uppy/utils@^6.0.2