Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New table #380

Merged
merged 84 commits into from
Oct 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
146cd09
basic init
zombieJ Oct 16, 2019
73d821d
Cell render
zombieJ Oct 16, 2019
1162c70
add flatten logic
zombieJ Oct 16, 2019
07e0c50
refactor of memo component
zombieJ Oct 17, 2019
ea0cb4a
support merge title
zombieJ Oct 18, 2019
bed5d00
add simple example
zombieJ Oct 18, 2019
0bff0fb
add fixHedaer
zombieJ Oct 21, 2019
084e554
sticky header
zombieJ Oct 21, 2019
743c7be
supoor ref
zombieJ Oct 21, 2019
427e0fc
support scroll
zombieJ Oct 22, 2019
1663959
fix right
zombieJ Oct 22, 2019
ad92517
sticky width
zombieJ Oct 22, 2019
8798769
fixed support merged column
zombieJ Oct 22, 2019
fb03cbd
box-shadow of fixed
zombieJ Oct 22, 2019
7fddbac
fix scroll crash
zombieJ Oct 22, 2019
77a13dd
update ts
zombieJ Oct 22, 2019
4aaf679
add basic expanded
zombieJ Oct 22, 2019
24c2e7b
expandable support style update
zombieJ Oct 23, 2019
70d17d3
add addtional column of scroll bar
zombieJ Oct 23, 2019
b106696
make fix more beauti
zombieJ Oct 23, 2019
a78490e
row click expand
zombieJ Oct 23, 2019
babaf12
support `rowExpandable`
zombieJ Oct 23, 2019
e50b17a
fix click support row expandable
zombieJ Oct 23, 2019
0d0d07a
limit size
zombieJ Oct 23, 2019
f5fb6ab
clean up
zombieJ Oct 23, 2019
f8f7699
add word break
zombieJ Oct 23, 2019
5937dad
add colWidth to force use table width
zombieJ Oct 23, 2019
648eb1d
re-onScroll if size changed
zombieJ Oct 23, 2019
6ef8538
update demo
zombieJ Oct 23, 2019
86622ae
fix scroll class missing
zombieJ Oct 23, 2019
28f08a0
support render span
zombieJ Oct 23, 2019
1df0685
fix support row expand
zombieJ Oct 24, 2019
58feda5
expandable support fix
zombieJ Oct 24, 2019
f1e06d1
fix header should minus width of component
zombieJ Oct 24, 2019
e3ae847
feat: add summary support
zombieJ Oct 24, 2019
5bf7273
add indent demo
zombieJ Oct 24, 2019
c482fca
add border-width
zombieJ Oct 24, 2019
0f8d23e
add TableLayout support
zombieJ Oct 24, 2019
4fc2d0b
support col className
zombieJ Oct 24, 2019
b82cfeb
support intend nest expandable
zombieJ Oct 25, 2019
08b8d2c
support nest expanded
zombieJ Oct 25, 2019
577ea4a
adjust style
zombieJ Oct 25, 2019
aa295a3
support animation
zombieJ Oct 25, 2019
dfab944
update demo
zombieJ Oct 25, 2019
4536ad4
support rowClassName
zombieJ Oct 25, 2019
3fd8332
tmp refactor
zombieJ Oct 26, 2019
7524237
mv body related commomn code into context
zombieJ Oct 28, 2019
297b45d
support table header customize
zombieJ Oct 28, 2019
b9b071b
support customize table component
zombieJ Oct 28, 2019
51c02cd
ellipsis will add title
zombieJ Oct 28, 2019
69f10d1
hide showHeader
zombieJ Oct 28, 2019
6a66610
table support id
zombieJ Oct 28, 2019
c0982a0
add key demo
zombieJ Oct 28, 2019
0430902
add nested demo
zombieJ Oct 28, 2019
e58e457
move expanded row to a new component
zombieJ Oct 28, 2019
1d3e4d0
render empty
zombieJ Oct 28, 2019
adf8ac1
Header support fix when no data
zombieJ Oct 28, 2019
cdb78a2
empty demo
zombieJ Oct 28, 2019
f68d792
add more style
zombieJ Oct 28, 2019
7f514c0
resolve conflict
zombieJ Oct 28, 2019
a3bf796
clean up
zombieJ Oct 28, 2019
389c33b
fix table lint
zombieJ Oct 28, 2019
8479a4d
update ts define
zombieJ Oct 28, 2019
1632e94
init test
zombieJ Oct 28, 2019
f2189d2
basic part of test
zombieJ Oct 28, 2019
d7661cd
more test case
zombieJ Oct 28, 2019
d90af0d
test case of rows
zombieJ Oct 29, 2019
bf12da5
customize components
zombieJ Oct 29, 2019
8623c4b
basic test coverage
zombieJ Oct 29, 2019
458cd4d
init expand test
zombieJ Oct 29, 2019
84e588e
support expandColumnIndex
zombieJ Oct 29, 2019
f230ac2
udpate test case
zombieJ Oct 29, 2019
21ea0a6
done of expand test
zombieJ Oct 29, 2019
3a85b5d
done of Fixed test
zombieJ Oct 29, 2019
dcf05a5
init grouping test
zombieJ Oct 29, 2019
a214e9c
finish group test
zombieJ Oct 29, 2019
bd965c7
skip test of suger
zombieJ Oct 29, 2019
af7ff7a
add warning test
zombieJ Oct 29, 2019
c63b39c
add without data fixed test
zombieJ Oct 29, 2019
5f8c8ae
full test
zombieJ Oct 30, 2019
df5c365
clean uo
zombieJ Oct 30, 2019
9c43b70
doc it
zombieJ Oct 30, 2019
aedcdcd
test ci
zombieJ Oct 30, 2019
06e2d73
fix ignore
zombieJ Oct 30, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ module.exports = {
'react/no-array-index-key': 0,
'react/sort-comp': 0,
'@typescript-eslint/no-explicit-any': 1,
'@typescript-eslint/no-empty-interface': 1,
'@typescript-eslint/no-inferrable-types': 0,
'react/no-find-dom-node': 1,
'react/require-default-props': 0,
'no-confusing-arrow': 0,
'import/no-named-as-default-member': 0,
'jsx-a11y/label-has-for': 0,
'jsx-a11y/label-has-associated-control': 0,
},
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.storybook
.doc
*.iml
*.log
.idea/
Expand Down Expand Up @@ -30,3 +31,4 @@ yarn.lock
es/
.storybook
.doc
!tests/__mocks__/rc-util/lib
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "never",
"printWidth": 100
}
16 changes: 4 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
language: node_js

sudo: false

notifications:
email:
- yiminghe@gmail.com
- afc163@gmail.com
- yesmeck@gmail.com

node_js:
- 10
- 10

script:
- |
- |
if [ "$TEST_TYPE" = test ]; then
npm test -- --coverage && \
bash <(curl -s https://codecov.io/bash)
Expand All @@ -21,5 +13,5 @@ script:
fi
env:
matrix:
- TEST_TYPE=lint
- TEST_TYPE=test
- TEST_TYPE=lint
- TEST_TYPE=test
Loading