Skip to content

Commit 2bf18e2

Browse files
authored
Merge pull request #357 from rcdexta/smooth-dnd
Refer to trello-smooth-dnd as the drag-n-drop core library
2 parents da37be9 + 91fe836 commit 2bf18e2

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"redux": "^4.0.0",
5252
"redux-actions": "^2.6.1",
5353
"redux-logger": "^3.0.6",
54-
"smooth-dnd": "https://github.com/rcdexta/smooth-dnd",
54+
"trello-smooth-dnd": "1.0.0",
5555
"uuid": "^3.3.2"
5656
},
5757
"devDependencies": {

src/dnd/Container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {Component} from 'react'
22
import ReactDOM from 'react-dom'
33
import PropTypes from 'prop-types'
4-
import container, {dropHandlers} from 'smooth-dnd'
4+
import container, {dropHandlers} from 'trello-smooth-dnd'
55

66
container.dropHandler = dropHandlers.reactDropHandler().handler;
77
container.wrapChild = p => p; // dont wrap children they will already be wrapped

src/dnd/Draggable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, {Component} from 'react'
22
import PropTypes from 'prop-types'
3-
import {constants} from 'smooth-dnd'
3+
import {constants} from 'trello-smooth-dnd'
44
const {wrapperClass} = constants
55

66
class Draggable extends Component {

yarn.lock

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13005,10 +13005,6 @@ slide@^1.1.3, slide@^1.1.5:
1300513005
resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707"
1300613006
integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=
1300713007

13008-
"smooth-dnd@https://github.com/rcdexta/smooth-dnd":
13009-
version "0.6.3"
13010-
resolved "https://github.com/rcdexta/smooth-dnd#f13924c67bf6ffe4613d97bb1ee83f11d364eb1e"
13011-
1301213008
snapdragon-node@^2.0.1:
1301313009
version "2.1.1"
1301413010
resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b"
@@ -13871,6 +13867,11 @@ [email protected]:
1387113867
request-promise "^4.1.1"
1387213868
travis-ci "^2.1.1"
1387313869

13870+
13871+
version "1.0.0"
13872+
resolved "https://registry.yarnpkg.com/trello-smooth-dnd/-/trello-smooth-dnd-1.0.0.tgz#0003d5b35a1651a16a165b7bfb6b41d0a7c52a17"
13873+
integrity sha512-KgYEwmxX08Dl4OmioEv24LSnlNp9jNv8lwTQlUMbMm6B+VuwyQuuuoyu4wlsRweiMCCC6sZXpCCGkmAni/vCaQ==
13874+
1387413875
trim-newlines@^1.0.0:
1387513876
version "1.0.0"
1387613877
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"

0 commit comments

Comments
 (0)