@gm-pc/sortable 1.14.0 → 1.15.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gm-pc/sortable",
3
- "version": "1.14.0",
3
+ "version": "1.15.0-alpha.3",
4
4
  "description": "观麦科技拖拽组件",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-pc#readme",
@@ -27,9 +27,12 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@gm-common/tool": "^2.10.0",
30
- "@gm-pc/react": "^1.14.0",
30
+ "@gm-pc/react": "^1.15.0-alpha.3",
31
31
  "lodash": "^4.17.19",
32
32
  "sortablejs": "^1.12.0"
33
33
  },
34
- "gitHead": "df6a59ce4c2146ba8267b47a66d4048298c671e2"
34
+ "gitHead": "0d5dfb95e6eb534617aa9bc96d361f3c89cc6972",
35
+ "devDependencies": {
36
+ "@types/sortablejs": "^1.13.0"
37
+ }
35
38
  }
@@ -3,6 +3,7 @@ import classNames from 'classnames'
3
3
  import { devWarnForHook } from '@gm-common/tool'
4
4
  import { Value, SortableDataItem, SortableProps } from './types'
5
5
  import SortableBase from './sortable_base'
6
+ import { Options } from 'sortablejs'
6
7
 
7
8
  const Sortable = ({
8
9
  data,