@uppy/dashboard
Advanced tools
Comparing version 3.5.0 to 3.5.1
function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
var id = 0; | ||
function _classPrivateFieldLooseKey(name) { return "__private_" + id++ + "_" + name; } | ||
import { h } from 'preact'; | ||
import { UIPlugin } from '@uppy/core'; | ||
@@ -12,2 +11,3 @@ import StatusBar from '@uppy/status-bar'; | ||
import getDroppedFiles from '@uppy/utils/lib/getDroppedFiles'; | ||
import { defaultPickerIcon } from '@uppy/provider-views'; | ||
import { nanoid } from 'nanoid/non-secure'; | ||
@@ -19,3 +19,3 @@ import memoizeOne from 'memoize-one'; | ||
const packageJson = { | ||
"version": "3.5.0" | ||
"version": "3.5.1" | ||
}; | ||
@@ -34,13 +34,2 @@ import locale from './locale.js'; | ||
} | ||
function defaultPickerIcon() { | ||
return h("svg", { | ||
"aria-hidden": "true", | ||
focusable: "false", | ||
width: "30", | ||
height: "30", | ||
viewBox: "0 0 30 30" | ||
}, h("path", { | ||
d: "M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15zm4.258-12.676v6.846h-8.426v-6.846H5.204l9.82-12.364 9.82 12.364H19.26z" | ||
})); | ||
} | ||
@@ -47,0 +36,0 @@ /** |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"license": "MIT", | ||
@@ -27,7 +27,7 @@ "main": "lib/index.js", | ||
"@transloadit/prettier-bytes": "0.0.7", | ||
"@uppy/informer": "^3.0.2", | ||
"@uppy/provider-views": "^3.4.1", | ||
"@uppy/status-bar": "^3.2.3", | ||
"@uppy/thumbnail-generator": "^3.0.3", | ||
"@uppy/utils": "^5.4.2", | ||
"@uppy/informer": "^3.0.3", | ||
"@uppy/provider-views": "^3.5.0", | ||
"@uppy/status-bar": "^3.2.4", | ||
"@uppy/thumbnail-generator": "^3.0.4", | ||
"@uppy/utils": "^5.4.3", | ||
"classnames": "^2.2.6", | ||
@@ -42,9 +42,9 @@ "is-shallow-equal": "^1.0.1", | ||
"@jest/globals": "^29.0.0", | ||
"@uppy/google-drive": "^3.2.0", | ||
"@uppy/status-bar": "^3.2.3", | ||
"@uppy/google-drive": "^3.2.1", | ||
"@uppy/status-bar": "^3.2.4", | ||
"resize-observer-polyfill": "^1.5.0" | ||
}, | ||
"peerDependencies": { | ||
"@uppy/core": "^3.3.1" | ||
"@uppy/core": "^3.4.0" | ||
} | ||
} |
@@ -1,2 +0,1 @@ | ||
import { h } from 'preact' | ||
import { UIPlugin } from '@uppy/core' | ||
@@ -9,2 +8,4 @@ import StatusBar from '@uppy/status-bar' | ||
import getDroppedFiles from '@uppy/utils/lib/getDroppedFiles' | ||
import { defaultPickerIcon } from '@uppy/provider-views' | ||
import { nanoid } from 'nanoid/non-secure' | ||
@@ -33,10 +34,2 @@ import memoizeOne from 'memoize-one' | ||
function defaultPickerIcon () { | ||
return ( | ||
<svg aria-hidden="true" focusable="false" width="30" height="30" viewBox="0 0 30 30"> | ||
<path d="M15 30c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C6.716 0 0 6.716 0 15c0 8.284 6.716 15 15 15zm4.258-12.676v6.846h-8.426v-6.846H5.204l9.82-12.364 9.82 12.364H19.26z" /> | ||
</svg> | ||
) | ||
} | ||
/** | ||
@@ -43,0 +36,0 @@ * Dashboard UI with previews, metadata editing, tabs for various services and more |
@@ -1,2 +0,2 @@ | ||
import type { PluginOptions, UIPlugin, PluginTarget, UppyFile, IndexedObject } from '@uppy/core' | ||
import type { IndexedObject, PluginTarget, UIPlugin, UIPluginOptions, UppyFile } from '@uppy/core' | ||
import type { StatusBarLocale } from '@uppy/status-bar' | ||
@@ -23,3 +23,3 @@ import type { ThumbnailOptions } from '@uppy/thumbnail-generator' | ||
type Options = PluginOptions & ThumbnailOptions | ||
type Options = UIPluginOptions & ThumbnailOptions | ||
@@ -26,0 +26,0 @@ export interface DashboardOptions extends Options { |
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
678303
9694
Updated@uppy/informer@^3.0.3
Updated@uppy/provider-views@^3.5.0
Updated@uppy/status-bar@^3.2.4
Updated@uppy/utils@^5.4.3