@uppy/provider-views
Advanced tools
Comparing version 4.0.0-beta.11 to 4.0.0
# @uppy/provider-views | ||
## 4.0.0 | ||
Released: 2024-07-10 | ||
Included in: Uppy v4.0.0 | ||
- @uppy/provider-views: `.openFolder()` - return progress indication (Evgenia Karunus / #5306) | ||
## 4.0.0-beta.11 | ||
@@ -4,0 +11,0 @@ |
@@ -1,2 +0,2 @@ | ||
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy.js'; | ||
import { h } from 'preact'; | ||
@@ -3,0 +3,0 @@ import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; |
import { h } from 'preact'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.ts'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.js'; | ||
import ProviderView from './ProviderView/ProviderView.tsx'; | ||
@@ -6,0 +6,0 @@ type BrowserProps<M extends Meta, B extends Body> = { |
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { Meta, Body } from '@uppy/utils/lib/UppyFile'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
import ProviderView from './ProviderView/ProviderView.tsx'; | ||
@@ -6,0 +6,0 @@ export default function FooterActions<M extends Meta, B extends Body>({ cancelSelection, donePicking, i18n, partialTree, validateAggregateRestrictions, }: { |
import { h } from 'preact'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.js'; | ||
type GridItemProps = { | ||
@@ -4,0 +4,0 @@ file: PartialTreeFile | PartialTreeFolderNode; |
@@ -1,2 +0,2 @@ | ||
import type { PartialTreeFile, PartialTreeFolderNode, PartialTreeId } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTreeFile, PartialTreeFolderNode, PartialTreeId } from '@uppy/core/lib/Uppy.js'; | ||
import { h } from 'preact'; | ||
@@ -3,0 +3,0 @@ type ListItemProps = { |
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { PartialTreeFile, PartialTreeFolderNode, PartialTreeId } from '@uppy/core/lib/Uppy.ts'; | ||
import type { PartialTreeFile, PartialTreeFolderNode, PartialTreeId } from '@uppy/core/lib/Uppy.js'; | ||
type ItemProps = { | ||
@@ -5,0 +5,0 @@ file: PartialTreeFile | PartialTreeFolderNode; |
import { h } from 'preact'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy.ts'; | ||
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy.js'; | ||
import type ProviderView from './ProviderView.js'; | ||
@@ -6,0 +6,0 @@ type HeaderProps<M extends Meta, B extends Body> = { |
import { h } from 'preact'; | ||
import type { UnknownProviderPlugin, PartialTreeFolderNode, PartialTreeFile, PartialTree } from '@uppy/core/lib/Uppy.ts'; | ||
import type { UnknownProviderPlugin, PartialTreeFolderNode, PartialTreeFile, PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile.ts'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
import type Translator from '@uppy/utils/lib/Translator'; | ||
@@ -6,0 +6,0 @@ export declare function defaultPickerIcon(): h.JSX.Element; |
@@ -14,3 +14,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.0-beta.11" | ||
"version": "4.0.0" | ||
}; | ||
@@ -181,3 +181,3 @@ import PartialTreeUtils from "../utils/PartialTreeUtils/index.js"; | ||
this.setLoading(this.plugin.uppy.i18n('loadedXFiles', { | ||
numFiles: items.length | ||
numFiles: currentItems.length | ||
})); | ||
@@ -184,0 +184,0 @@ } while (this.opts.loadAllFiles && currentPagePath); |
import { h } from 'preact'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { PartialTree, PartialTreeFile, PartialTreeFolderNode, UnknownSearchProviderPlugin } from '@uppy/core/lib/Uppy.ts'; | ||
import type { PartialTree, PartialTreeFile, PartialTreeFolderNode, UnknownSearchProviderPlugin } from '@uppy/core/lib/Uppy.js'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
@@ -5,0 +5,0 @@ type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>; |
@@ -10,3 +10,3 @@ import { h } from 'preact'; | ||
const packageJson = { | ||
"version": "4.0.0-beta.11" | ||
"version": "4.0.0" | ||
}; | ||
@@ -13,0 +13,0 @@ import PartialTreeUtils from "../utils/PartialTreeUtils/index.js"; |
@@ -1,4 +0,4 @@ | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.js'; | ||
declare const getClickedRange: (clickedId: string, displayedPartialTree: (PartialTreeFolderNode | PartialTreeFile)[], isShiftKeyPressed: boolean, lastCheckbox: string | null) => string[]; | ||
export default getClickedRange; | ||
//# sourceMappingURL=getClickedRange.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree, PartialTreeId } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree, PartialTreeId } from '@uppy/core/lib/Uppy.js'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
@@ -3,0 +3,0 @@ export interface ApiList { |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree, PartialTreeFolder } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree, PartialTreeFolder } from '@uppy/core/lib/Uppy.js'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
@@ -3,0 +3,0 @@ declare const afterOpenFolder: (oldPartialTree: PartialTree, discoveredItems: CompanionFile[], clickedFolder: PartialTreeFolder, currentPagePath: string | null, validateSingleFile: (file: CompanionFile) => string | null) => PartialTree; |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree, PartialTreeId } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree, PartialTreeId } from '@uppy/core/lib/Uppy.js'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
@@ -3,0 +3,0 @@ declare const afterScrollFolder: (oldPartialTree: PartialTree, currentFolderId: PartialTreeId, items: CompanionFile[], nextPagePath: string | null, validateSingleFile: (file: CompanionFile) => string | null) => PartialTree; |
@@ -1,4 +0,4 @@ | ||
import type { PartialTree } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
declare const afterToggleCheckbox: (oldTree: PartialTree, clickedRange: string[]) => PartialTree; | ||
export default afterToggleCheckbox; | ||
//# sourceMappingURL=afterToggleCheckbox.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import type { PartialTree, PartialTreeFolder, PartialTreeId } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree, PartialTreeFolder, PartialTreeId } from '@uppy/core/lib/Uppy.js'; | ||
declare const getBreadcrumbs: (partialTree: PartialTree, currentFolderId: PartialTreeId) => PartialTreeFolder[]; | ||
export default getBreadcrumbs; | ||
//# sourceMappingURL=getBreadcrumbs.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree, PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree, PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.js'; | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'; | ||
@@ -3,0 +3,0 @@ export interface Cache { |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * We're interested in all 'checked' leaves of this tree, |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree } from '@uppy/core/lib/Uppy'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * One-level copying is sufficient as mutations within our `partialTree` are limited to properties |
{ | ||
"name": "@uppy/provider-views", | ||
"description": "View library for Uppy remote provider plugins.", | ||
"version": "4.0.0-beta.11", | ||
"version": "4.0.0", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^6.0.0-beta.9", | ||
"@uppy/utils": "^6.0.0", | ||
"classnames": "^2.2.6", | ||
@@ -33,5 +33,4 @@ "nanoid": "^5.0.0", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.12" | ||
}, | ||
"stableVersion": "3.11.0" | ||
"@uppy/core": "^4.0.0" | ||
} | ||
} |
import type { | ||
PartialTreeFile, | ||
PartialTreeFolderNode, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
@@ -6,0 +6,0 @@ // Shift-clicking selects a single consecutive list of items |
@@ -7,3 +7,3 @@ /* eslint-disable no-param-reassign */ | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile' | ||
@@ -10,0 +10,0 @@ import PQueue from 'p-queue' |
@@ -6,3 +6,3 @@ import type { | ||
PartialTreeFolderNode, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile' | ||
@@ -9,0 +9,0 @@ |
@@ -7,3 +7,3 @@ import type { | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile' | ||
@@ -10,0 +10,0 @@ |
@@ -8,3 +8,3 @@ /* eslint-disable no-param-reassign */ | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import shallowClone from './shallowClone.ts' | ||
@@ -11,0 +11,0 @@ |
@@ -6,3 +6,3 @@ import type { | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
@@ -9,0 +9,0 @@ const getBreadcrumbs = ( |
@@ -7,3 +7,3 @@ /* eslint-disable no-param-reassign */ | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import type { CompanionFile } from '@uppy/utils/lib/CompanionFile' | ||
@@ -10,0 +10,0 @@ |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree } from '@uppy/core/lib/Uppy' | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js' | ||
@@ -3,0 +3,0 @@ /** |
@@ -10,3 +10,3 @@ /* eslint-disable no-underscore-dangle */ | ||
PartialTreeId, | ||
} from '@uppy/core/lib/Uppy.ts' | ||
} from '@uppy/core/lib/Uppy.js' | ||
import afterToggleCheckbox from './afterToggleCheckbox.ts' | ||
@@ -13,0 +13,0 @@ import afterOpenFolder from './afterOpenFolder.ts' |
@@ -1,2 +0,2 @@ | ||
import type { PartialTree } from '@uppy/core/lib/Uppy' | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js' | ||
@@ -3,0 +3,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
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
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
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
386158
5396
0
Updated@uppy/utils@^6.0.0