Skip to content

Use virtual list #197

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

Merged
merged 52 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
d5a5e9e
use rc-tree
zombieJ Sep 18, 2019
2082843
support keyboard interactive
zombieJ Sep 18, 2019
565bab3
adjust mode with Select
zombieJ Sep 18, 2019
4e67c6b
lock Tree keys
zombieJ Sep 19, 2019
9dfc2bb
support select by key
zombieJ Sep 19, 2019
2291b6d
add multiple demo
zombieJ Sep 19, 2019
37c0127
skip select on disabled
zombieJ Sep 19, 2019
25d791c
checkable
zombieJ Sep 19, 2019
43a4323
esc to close & remove space to choice
zombieJ Sep 19, 2019
122e94d
control value inside
zombieJ Sep 19, 2019
4d743ac
use hooks
zombieJ Sep 19, 2019
386fb4b
display title of onChange
zombieJ Sep 19, 2019
9417191
support disable checkbox
zombieJ Sep 20, 2019
634a2e4
update testing
zombieJ Sep 20, 2019
6dbf9a6
add simple mode support
zombieJ Sep 20, 2019
33f5aca
move onChange by onSelect
zombieJ Sep 23, 2019
42cf793
use context to pass real tree check values
zombieJ Sep 23, 2019
6e78794
use conduction for checking
zombieJ Sep 23, 2019
062a631
support showCheckedStrategy
zombieJ Sep 23, 2019
73e900f
add missing param
zombieJ Sep 23, 2019
3bfe3ea
add filterOptions support
zombieJ Sep 23, 2019
1bb3b3c
handle clear to reset value
zombieJ Sep 23, 2019
6dc1517
fix filter logic
zombieJ Sep 23, 2019
057fe1a
support half check status
zombieJ Sep 24, 2019
172e04c
add demo
zombieJ Sep 24, 2019
e4712cc
fix outer logic
zombieJ Sep 24, 2019
29ecd3c
add search expanded key back
zombieJ Sep 24, 2019
a6d2e24
support filter func
zombieJ Sep 24, 2019
71096a4
not hide missing value
zombieJ Sep 24, 2019
ad23231
select & deselect will kepp values
zombieJ Sep 24, 2019
6cef7b1
fix search logic
zombieJ Sep 24, 2019
523636b
add big-data
zombieJ Sep 24, 2019
6d1b57e
fix cache not work
zombieJ Sep 24, 2019
f63b726
labelInValue of treeCheckStrictly can keep the halfChecked
zombieJ Sep 24, 2019
9592f44
skip origin select logic
zombieJ Sep 24, 2019
4fb0bec
update now config
zombieJ Sep 24, 2019
d9a6a65
add controlled demo
zombieJ Sep 24, 2019
dfca8b6
add loadData demo
zombieJ Sep 24, 2019
324e8a9
feat: Support loadedKeys
zombieJ Sep 24, 2019
2338781
fix: key value mapping
zombieJ Sep 24, 2019
b9640af
add form demo
zombieJ Sep 24, 2019
2777046
fix: Key should back mapping to value
zombieJ Sep 24, 2019
8fd42c5
add test case
zombieJ Sep 25, 2019
b36cac5
basic test case
zombieJ Sep 25, 2019
f669857
add tree test
zombieJ Sep 25, 2019
1470672
add checkable test case
zombieJ Sep 25, 2019
4491a32
add search testcase
zombieJ Sep 25, 2019
9dfe302
add multiple test
zombieJ Sep 26, 2019
14388ac
tmp test
zombieJ Sep 26, 2019
1f3d7ee
add missing coverage
zombieJ Sep 26, 2019
f033c5e
fix lint
zombieJ Sep 26, 2019
1edf993
support screen reader
zombieJ Sep 26, 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
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
const base = require('@umijs/fabric/dist/eslint');

module.exports = {
...base,
rules: {
...base.rules,
'default-case': 0,
'eslint-comments/disable-enable-pair': 0,
'jsx-a11y/interactive-supports-focus': 0,
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'@typescript-eslint/no-object-literal-type-assertion': 0,
},
};
8 changes: 8 additions & 0 deletions .fatherrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default {
cjs: 'babel',
esm: { type: 'babel', importLibToEs: true },
preCommit: {
eslint: true,
prettier: true,
},
};
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.storybook
.doc
*.iml
*.log
.idea
Expand Down
Loading