@gmfe/table-x 2.15.7-alpha.0 → 2.15.8-alpha.0

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": "@gmfe/table-x",
3
- "version": "2.15.7-alpha.0",
3
+ "version": "2.15.8-alpha.0",
4
4
  "description": "",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gmfe#readme",
@@ -27,9 +27,9 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@gm-common/tool": "^1.0.0",
30
- "@gmfe/business": "^2.15.7-alpha.0",
31
- "@gmfe/locales": "^2.15.7-alpha.0",
32
- "@gmfe/react": "^2.15.7-alpha.0",
30
+ "@gmfe/business": "^2.15.8-alpha.0",
31
+ "@gmfe/locales": "^2.15.8-alpha.0",
32
+ "@gmfe/react": "^2.15.8-alpha.0",
33
33
  "classnames": "^2.2.5",
34
34
  "lodash": "^4.17.14",
35
35
  "prop-types": "^15.7.2",
@@ -37,5 +37,5 @@
37
37
  "react-window": "^1.8.5",
38
38
  "sortablejs": "^1.10.1"
39
39
  },
40
- "gitHead": "e98dd13465799615b2fc286cbb88b9314ab1909e"
40
+ "gitHead": "7fa7c0fcf7f3c5097ad61af3b78a30af65ad386e"
41
41
  }
package/src/base/index.js CHANGED
@@ -6,7 +6,6 @@ import classNames from 'classnames'
6
6
  import _ from 'lodash'
7
7
  import THead from './thead'
8
8
  import Tr from './tr'
9
- import { StickyLayout } from '@gmfe/react'
10
9
 
11
10
  // 给定初始值,交由getColumnStyle控制。width逻辑保持跟react-table(v6)的用法一致。
12
11
  const defaultColumn = __DEFAULT_COLUMN
@@ -140,4 +139,4 @@ TableX.defaultProps = {
140
139
  isTrHighlight: () => false
141
140
  }
142
141
 
143
- export default StickyLayout(TableX)
142
+ export default TableX
package/src/base/thead.js CHANGED
@@ -4,7 +4,7 @@ import Th from './th'
4
4
 
5
5
  const THead = ({ headerGroups, totalWidth }) => {
6
6
  return (
7
- <thead className='gm-table-x-thead common-sticky-header'>
7
+ <thead className='gm-table-x-thead'>
8
8
  {headerGroups.map((headerGroup, i) => (
9
9
  <tr key={i} className='gm-table-x-tr'>
10
10
  {headerGroup.headers.map((column, i) => (