ecklf / tailwindcss-figma-plugin

Figma Plugin for Tailwind CSS
https://www.figma.com/community/plugin/738806869514947558/Tailwind-CSS
MIT License
269 stars 16 forks source link

fix(deps): update dependency react-dropzone to v11 #104

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
react-dropzone dependencies major ^10.2.1 -> ^11.0.0

Release Notes

react-dropzone/react-dropzone ### [`v11.0.1`](https://togithub.com/react-dropzone/react-dropzone/releases/v11.0.1) [Compare Source](https://togithub.com/react-dropzone/react-dropzone/compare/v11.0.0...v11.0.1) ##### Bug Fixes - [#​911](https://togithub.com/react-dropzone/react-dropzone/issues/911) isDragActive value when dragging over text on Firefox ([08a89cf](https://togithub.com/react-dropzone/react-dropzone/commit/08a89cfd2890e9f97f96d46250d8786af7125877)) ### [`v11.0.0`](https://togithub.com/react-dropzone/react-dropzone/releases/v11.0.0) [Compare Source](https://togithub.com/react-dropzone/react-dropzone/compare/v10.2.2...v11.0.0) ##### Features - add reject reasons to onDrop, onDropRejected callbacks ([#​938](https://togithub.com/react-dropzone/react-dropzone/issues/938)) ([199c9ea](https://togithub.com/react-dropzone/react-dropzone/commit/199c9ea20b501cc3997cbdcc63ea6fb972e20360)) ##### BREAKING CHANGES - The method signatures of `onDrop` and `onDropRejected` as well as the return value of `useDropzone` were changed in order to add the reasons why rejected files were rejected. `onDrop` BEFORE this change: onDrop?(acceptedFiles: T[], rejectedFiles: T[], event: DropEvent): void; `onDrop` AFTER this change: onDrop?(acceptedFiles: T[], fileRejections: FileRejection[], event: DropEvent): void; `onDropRejected` BEFORE this change: onDropRejected?(files: T[], event: DropEvent): void; `onDropRejected` AFTER this change: onDropRejected?(fileRejections: FileRejection[], event: DropEvent): void; `rejectedFiles` from the return value of `useDropzone` was replaced with `fileRejections`. The defintion of a `FileRejection` is: export interface FileError { message: string; code: string; } export interface FileRejection { file: File; errors: FileError[]; }

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.