@uppy/dashboard
Advanced tools
Comparing version 0.29.0 to 0.29.1
@@ -470,3 +470,3 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
if (!this.opts.inline && !showModalTrigger) { | ||
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself'); | ||
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself', 'error'); | ||
} | ||
@@ -473,0 +473,0 @@ |
{ | ||
"name": "@uppy/dashboard", | ||
"description": "Universal UI plugin for Uppy.", | ||
"version": "0.29.0", | ||
"version": "0.29.1", | ||
"license": "MIT", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"style": "dist/style.min.css", | ||
@@ -26,7 +25,7 @@ "types": "types/index.d.ts", | ||
"dependencies": { | ||
"@uppy/informer": "0.29.0", | ||
"@uppy/provider-views": "0.29.0", | ||
"@uppy/status-bar": "0.29.0", | ||
"@uppy/thumbnail-generator": "0.29.0", | ||
"@uppy/utils": "0.29.0", | ||
"@uppy/informer": "0.29.1", | ||
"@uppy/provider-views": "0.29.1", | ||
"@uppy/status-bar": "0.29.1", | ||
"@uppy/thumbnail-generator": "0.29.1", | ||
"@uppy/utils": "0.29.1", | ||
"classnames": "^2.2.6", | ||
@@ -41,4 +40,4 @@ "drag-drop": "2.13.3", | ||
"devDependencies": { | ||
"@uppy/core": "0.29.0", | ||
"@uppy/google-drive": "0.29.0" | ||
"@uppy/core": "0.29.1", | ||
"@uppy/google-drive": "0.29.1" | ||
}, | ||
@@ -48,3 +47,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "c68f2c7e68d2c12f8a8fb7119f1dae4ca08e4174" | ||
"gitHead": "3ddf4c7548766a0c522b9a45c03b1fd7d4e03d43" | ||
} |
@@ -444,3 +444,3 @@ const { Plugin } = require('@uppy/core') | ||
if (!this.opts.inline && !showModalTrigger) { | ||
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself') | ||
this.uppy.log('Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options unless you are planning to call openModal() method yourself', 'error') | ||
} | ||
@@ -447,0 +447,0 @@ |
@@ -1,28 +0,30 @@ | ||
import { Plugin, PluginOptions, Uppy } from '@uppy/core'; | ||
import Uppy = require('@uppy/core'); | ||
export interface DashboardOptions extends PluginOptions { | ||
onRequestCloseModal: () => void; | ||
disablePageScrollWhenModalOpen: boolean; | ||
closeModalOnClickOutside: boolean; | ||
trigger: string | HTMLElement; | ||
inline: boolean; | ||
defaultTabIcon: string; | ||
hideUploadButton: boolean; | ||
width: string | number; | ||
height: string | number; | ||
note: string; | ||
showLinkToFileUploadResult: boolean; | ||
proudlyDisplayPoweredByUppy: boolean; | ||
metaFields: string[]; | ||
plugins: string[]; | ||
disableStatusBar: boolean; | ||
showProgressDetails: boolean; | ||
hideProgressAfterFinish: boolean; | ||
disableInformer: boolean; | ||
disableThumbnailGenerator: boolean; | ||
declare module Dashboard { | ||
interface DashboardOptions extends Uppy.PluginOptions { | ||
onRequestCloseModal: () => void; | ||
disablePageScrollWhenModalOpen: boolean; | ||
closeModalOnClickOutside: boolean; | ||
trigger: string | HTMLElement; | ||
inline: boolean; | ||
defaultTabIcon: string; | ||
hideUploadButton: boolean; | ||
width: string | number; | ||
height: string | number; | ||
note: string; | ||
showLinkToFileUploadResult: boolean; | ||
proudlyDisplayPoweredByUppy: boolean; | ||
metaFields: string[]; | ||
plugins: string[]; | ||
disableStatusBar: boolean; | ||
showProgressDetails: boolean; | ||
hideProgressAfterFinish: boolean; | ||
disableInformer: boolean; | ||
disableThumbnailGenerator: boolean; | ||
} | ||
} | ||
export default class Dashboard extends Plugin { | ||
constructor(uppy: Uppy, opts: Partial<DashboardOptions>); | ||
addTarget(plugin: Plugin): HTMLElement; | ||
declare class Dashboard extends Uppy.Plugin { | ||
constructor(uppy: Uppy.Uppy, opts: Partial<Dashboard.DashboardOptions>); | ||
addTarget(plugin: Uppy.Plugin): HTMLElement; | ||
hideAllPanels(): void; | ||
@@ -37,6 +39,8 @@ openModal(): void; | ||
export = Dashboard; | ||
declare module '@uppy/core' { | ||
export interface Uppy { | ||
use(pluginClass: typeof Dashboard, opts: Partial<DashboardOptions>): Uppy; | ||
use(pluginClass: typeof Dashboard, opts: Partial<Dashboard.DashboardOptions>): Uppy.Uppy; | ||
} | ||
} |
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
290788
164026
5377
30
+ Added@uppy/informer@0.29.1(transitive)
+ Added@uppy/provider-views@0.29.1(transitive)
+ Added@uppy/status-bar@0.29.1(transitive)
+ Added@uppy/thumbnail-generator@0.29.1(transitive)
- Removed@uppy/informer@0.29.0(transitive)
- Removed@uppy/provider-views@0.29.0(transitive)
- Removed@uppy/status-bar@0.29.0(transitive)
- Removed@uppy/thumbnail-generator@0.29.0(transitive)
- Removed@uppy/utils@0.29.0(transitive)
Updated@uppy/informer@0.29.1
Updated@uppy/provider-views@0.29.1
Updated@uppy/status-bar@0.29.1
Updated@uppy/utils@0.29.1