@uppy/provider-views
Advanced tools
Comparing version 3.5.0 to 3.6.0
@@ -5,3 +5,2 @@ function _classPrivateFieldLooseBase(receiver, privateKey) { if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) { throw new TypeError("attempted to use private field on non-instance"); } return receiver; } | ||
import { h } from 'preact'; | ||
// eslint-disable-next-line import/no-unresolved | ||
import PQueue from 'p-queue'; | ||
@@ -16,3 +15,3 @@ import { getSafeFileId } from '@uppy/utils/lib/generateFileID'; | ||
const packageJson = { | ||
"version": "3.5.0" | ||
"version": "3.6.0" | ||
}; | ||
@@ -347,3 +346,3 @@ function formatBreadcrumbs(breadcrumbs) { | ||
// see https://github.com/transloadit/uppy/pull/4384 | ||
this.plugin.uppy.log('Adding remote provider files'); | ||
this.plugin.uppy.log('Adding files from a remote provider'); | ||
this.plugin.uppy.addFiles(newFiles.map(file => this.getTagFile(file))); | ||
@@ -350,0 +349,0 @@ this.plugin.setPluginState({ |
@@ -10,3 +10,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": "3.5.0" | ||
"version": "3.6.0" | ||
}; | ||
@@ -13,0 +13,0 @@ /** |
{ | ||
"name": "@uppy/provider-views", | ||
"description": "View library for Uppy remote provider plugins.", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^5.4.3", | ||
"@uppy/utils": "^5.5.2", | ||
"classnames": "^2.2.6", | ||
@@ -31,4 +31,4 @@ "nanoid": "^4.0.0", | ||
"peerDependencies": { | ||
"@uppy/core": "^3.4.0" | ||
"@uppy/core": "^3.6.0" | ||
} | ||
} |
import { h } from 'preact' | ||
// eslint-disable-next-line import/no-unresolved | ||
import PQueue from 'p-queue' | ||
@@ -387,3 +386,3 @@ | ||
// see https://github.com/transloadit/uppy/pull/4384 | ||
this.plugin.uppy.log('Adding remote provider files') | ||
this.plugin.uppy.log('Adding files from a remote provider') | ||
this.plugin.uppy.addFiles(newFiles.map((file) => this.getTagFile(file))) | ||
@@ -390,0 +389,0 @@ |
@@ -5,15 +5,15 @@ import type { UIPlugin } from '@uppy/core' | ||
interface ProviderViewOptions { | ||
provider: Provider | ||
viewType?: 'list' | 'grid' | ||
showTitles?: boolean | ||
showFilter?: boolean | ||
showBreadcrumbs?: boolean | ||
provider: Provider | ||
viewType?: 'list' | 'grid' | ||
showTitles?: boolean | ||
showFilter?: boolean | ||
showBreadcrumbs?: boolean | ||
} | ||
interface OnFirstRenderer { | ||
onFirstRender: () => any | ||
onFirstRender: () => any | ||
} | ||
declare class ProviderView { | ||
constructor (plugin: UIPlugin & OnFirstRenderer, opts: ProviderViewOptions) | ||
constructor(plugin: UIPlugin & OnFirstRenderer, opts: ProviderViewOptions) | ||
// @todo add other provider view methods | ||
@@ -20,0 +20,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
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
265498
3784
Updated@uppy/utils@^5.5.2