Merge branch 'master' of github.com:tinper-bee/bee-table
This commit is contained in:
commit
865e4fd2b9
|
@ -33,7 +33,7 @@
|
||||||
|title|表格标题|function|-|
|
|title|表格标题|function|-|
|
||||||
|footer|表格尾部|function|-|
|
|footer|表格尾部|function|-|
|
||||||
|emptyText|无数据时显示的内容|function|() => 'No Data'|
|
|emptyText|无数据时显示的内容|function|() => 'No Data'|
|
||||||
|scroll|横向或纵向支持滚动,也可用于指定滚动区域的宽高度:{{ x: true, y: 300 }}|object|{}|
|
|scroll|横向或纵向支持滚动,也可用于指定滚动区域的宽高度:{ x: true, y: 300 }|object|{}|
|
||||||
|rowRef|获取行的ref|Function(record, index, indent):string|() => null|
|
|rowRef|获取行的ref|Function(record, index, indent):string|() => null|
|
||||||
|getBodyWrapper|添加对table body的包装|Function(body)|body => body|
|
|getBodyWrapper|添加对table body的包装|Function(body)|body => body|
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
<script src="./node_modules/console-polyfill/index.js"></script>
|
<script src="./node_modules/console-polyfill/index.js"></script>
|
||||||
<script src="./node_modules/es5-shim/es5-shim.min.js"></script>
|
<script src="./node_modules/es5-shim/es5-shim.min.js"></script>
|
||||||
<script src="./node_modules/es5-shim/es5-sham.min.js"></script>
|
<script src="./node_modules/es5-shim/es5-sham.min.js"></script>
|
||||||
<script src="./node_modules/react/dist/react-with-addons.js"></script>
|
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react.development.js"></script>
|
||||||
<script src="./node_modules/react-dom/dist/react-dom.js"></script>
|
<script src="//design.yonyoucloud.com/static/react/16.0.0/umd/react-dom.development.js"></script>
|
||||||
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>
|
<script src="//design.yonyoucloud.com/static/prop-types/15.6.0/prop-types.min.js"></script>
|
||||||
<script src="./dist/demo.js"></script>
|
<script src="./dist/demo.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
27
package.json
27
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bee-table",
|
"name": "bee-table",
|
||||||
"version": "0.2.3",
|
"version": "1.0.1",
|
||||||
"description": "Table ui component for react",
|
"description": "Table ui component for react",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"react",
|
"react",
|
||||||
|
@ -37,23 +37,28 @@
|
||||||
"lodash.clonedeep": "^4.5.0",
|
"lodash.clonedeep": "^4.5.0",
|
||||||
"object-path": "^0.11.3",
|
"object-path": "^0.11.3",
|
||||||
"shallowequal": "^0.2.2",
|
"shallowequal": "^0.2.2",
|
||||||
"tinper-bee-core": "^0.1.6",
|
"tinper-bee-core": "latest",
|
||||||
"warning": "^3.0.0"
|
"warning": "^3.0.0"
|
||||||
},
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"react": "^15.3.0 || ^16.0",
|
||||||
|
"react-dom": "^15.3.0 || ^16.0",
|
||||||
|
"prop-types": "15.6.0"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bee-animate": "latest",
|
"bee-animate": "latest",
|
||||||
"bee-button": "latest",
|
"bee-button": "latest",
|
||||||
"bee-checkbox": "^0.2.4",
|
"bee-checkbox": "latest",
|
||||||
"bee-datepicker": "^0.1.7",
|
"bee-datepicker": "latest",
|
||||||
"bee-form-control": "^0.1.8",
|
"bee-form-control": "latest",
|
||||||
"bee-icon": "0.0.5",
|
"bee-icon": "latest",
|
||||||
"bee-input-group": "^0.1.12",
|
"bee-input-group": "latest",
|
||||||
"bee-layout": "latest",
|
"bee-layout": "latest",
|
||||||
"bee-pagination": "^0.1.7",
|
"bee-pagination": "latest",
|
||||||
"bee-panel": "latest",
|
"bee-panel": "latest",
|
||||||
"bee-popconfirm": "^0.2.2",
|
"bee-popconfirm": "latest",
|
||||||
"bee-select": "^0.1.6",
|
"bee-select": "latest",
|
||||||
"bee-tools": "^0.3.2",
|
"bee-tools": "latest",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"console-polyfill": "~0.2.1",
|
"console-polyfill": "~0.2.1",
|
||||||
"enzyme": "^2.4.1",
|
"enzyme": "^2.4.1",
|
||||||
|
|
Loading…
Reference in New Issue