react-dnd-scrolling
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "react-dnd-scrolling", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A cross browser solution to scrolling during drag and drop.", | ||
@@ -52,11 +52,11 @@ "main": "lib/index.js", | ||
"chai": "^4.2.0", | ||
"eslint": "^6.6.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb": "^18.1.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-import": "^2.20.2", | ||
"eslint-plugin-import": "^2.21.0", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"eslint-plugin-react": "^7.19.0", | ||
"eslint-plugin-react": "^7.20.0", | ||
"in-publish": "^2.0.1", | ||
"mocha": "^7.1.2", | ||
"mocha": "^7.2.0", | ||
"prettier": "^2.0.5", | ||
@@ -67,9 +67,10 @@ "react": "^16.13.1", | ||
"sinon": "^9.0.2", | ||
"sinon-chai": "^3.5.0" | ||
"sinon-chai": "^3.5.0", | ||
"typescript": "^3.9.5" | ||
}, | ||
"peerDependencies": { | ||
"react": "16.x", | ||
"react-dnd": "10.x", | ||
"react-dnd": "10.x || 11.x", | ||
"react-dom": "16.x" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # react-dnd-scrolling | ||
Works with `react-dnd@10.x`. | ||
Works with `react-dnd` 10.x, 11.x. | ||
@@ -14,6 +14,10 @@ ### Build Status | ||
```bash | ||
npm install react-dnd-scrolling | ||
``` | ||
```js | ||
import React, { Component } from 'react'; | ||
import { DndProvider } from 'react-dnd'; | ||
import HTML5Backend from 'react-dnd-html5-backend'; | ||
import { HTML5Backend } from 'react-dnd-html5-backend'; | ||
import withScrolling from 'react-dnd-scrolling'; | ||
@@ -49,3 +53,3 @@ import DragItem from './DragItem'; | ||
import { DndProvider } from 'react-dnd'; | ||
import HTML5Backend from 'react-dnd-html5-backend'; | ||
import { HTML5Backend } from 'react-dnd-html5-backend'; | ||
import withScrolling, { createHorizontalStrength, createVerticalStrength } from 'react-dnd-scrolling'; | ||
@@ -103,3 +107,3 @@ import DragItem from './DragItem'; | ||
import { DndProvider } from 'react-dnd'; | ||
import HTML5Backend from 'react-dnd-html5-backend'; | ||
import { HTML5Backend } from 'react-dnd-html5-backend'; | ||
import withScrolling from 'react-dnd-scrolling'; | ||
@@ -106,0 +110,0 @@ import { List } from 'react-virtualized'; |
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
24903
194
23