Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

All notable changes to this project will be documented in this file.

## UNRELEASED
### Notes

The export of the file picker Vue component is deprecated and will be removed in the next version.
Instead please use the `FilePickerBuilder`.

## 6.1.1
[Full Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v6.1.0...v6.1.1)

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ const paths = await filepicker.pick()
```

#### Use the Vue component directly

> [!WARNING]
> The Vue component is deprecated and will no longer be exported in a future version.
We also provide the `@nextcloud/dialogs/filepicker.js` entry point to allow using the Vue component directly:

```vue
Expand Down
4 changes: 3 additions & 1 deletion lib/filepicker.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
/**
/*!
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

/**
* This entry points provides access to the FilePicker Vue component and its type definitions
*
* @deprecated The file picker Vue export will be removed in a future version. Please only use the file picker builder.
*/

export { FilePickerVue } from './components/FilePicker/index.js'
Expand Down