Skip to content

Virtual scroll & Accessibility support #420

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 116 commits into from
Sep 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
297e3c8
accessibility
zombieJ Aug 15, 2019
976af4c
Ref typescript define
zombieJ Aug 15, 2019
60429c6
Update test case
zombieJ Aug 16, 2019
51e68b1
re-design active logic
zombieJ Aug 19, 2019
8a7a453
support selection
zombieJ Aug 19, 2019
375e8a5
options
zombieJ Aug 19, 2019
18d97d5
support multiple select
zombieJ Aug 19, 2019
601ca21
label in value
zombieJ Aug 19, 2019
c8e5a86
measure support
zombieJ Aug 19, 2019
ad0e74e
measure with flex layout
zombieJ Aug 19, 2019
17c9051
adjust style
zombieJ Aug 19, 2019
250135a
input should trigger open
zombieJ Aug 19, 2019
abf284e
update filter & active logic
zombieJ Aug 19, 2019
379abab
back to first of active
zombieJ Aug 19, 2019
c8352c8
autoClearSearchValue works
zombieJ Aug 19, 2019
6bb5777
allowClear
zombieJ Aug 20, 2019
22b768d
not allow clear when input is full
zombieJ Aug 20, 2019
20606d1
merge accessibility text
zombieJ Aug 20, 2019
c8c9ccc
use combobox to active item accessibility
zombieJ Aug 20, 2019
b59295f
use clear lock to prevent quick backspace
zombieJ Aug 20, 2019
1582106
adjust opacity of prev value logic
zombieJ Aug 20, 2019
d890f06
support disabled
zombieJ Aug 20, 2019
2cd4fbf
dropdown match width
zombieJ Aug 20, 2019
1bd02d2
move focus logic out
zombieJ Aug 20, 2019
33df529
add demo
zombieJ Aug 21, 2019
7e1f837
focus not trigger input when tabs
zombieJ Aug 21, 2019
d391b84
add getPopupContainer
zombieJ Aug 21, 2019
1e2a701
patch demo
zombieJ Aug 21, 2019
6cc4bc2
update typescript define
zombieJ Aug 21, 2019
5ed06ce
arrow will scroll to index item
zombieJ Aug 21, 2019
dae5780
single node will auto active item when open
zombieJ Aug 21, 2019
c65f38c
support tokenSeparators
zombieJ Aug 21, 2019
bd69c31
support notFound
zombieJ Aug 21, 2019
29219c4
support optionLabelProp
zombieJ Aug 21, 2019
d798180
placeholder of it
zombieJ Aug 21, 2019
6703ddc
support inputIcon
zombieJ Aug 21, 2019
15bec1e
removeIonc
zombieJ Aug 21, 2019
aa06cb0
support loading
zombieJ Aug 22, 2019
424d186
legacy support of options
zombieJ Aug 22, 2019
d73bf1b
ts define
zombieJ Aug 22, 2019
e39e383
init combobox demo
zombieJ Aug 22, 2019
1fcbf68
active input
zombieJ Aug 22, 2019
5c668ae
update deps to fix scrollTo bug
zombieJ Aug 22, 2019
f5ae02c
tmp of combobox
zombieJ Aug 23, 2019
d644987
support onInputKeyDown
zombieJ Aug 23, 2019
7ed8803
update demo
zombieJ Aug 23, 2019
26e49bf
pass customize input
zombieJ Aug 23, 2019
10abe19
rm Context
zombieJ Aug 23, 2019
9dc929f
fix tab to blink popup
zombieJ Aug 23, 2019
99f8043
tmp refactor
zombieJ Aug 23, 2019
908a475
fix select combo logic
zombieJ Aug 24, 2019
51ce729
reset active value
zombieJ Aug 24, 2019
eb1739c
fix icon
zombieJ Aug 24, 2019
387b246
add motion support
zombieJ Aug 24, 2019
5bf0f8f
add animate
zombieJ Aug 25, 2019
165fd96
add missing props
zombieJ Aug 25, 2019
40e9859
update demo
zombieJ Aug 25, 2019
8791edb
getPopupContainer
zombieJ Aug 25, 2019
6469753
loading
zombieJ Aug 25, 2019
8da379b
multi tags
zombieJ Aug 25, 2019
c33ca55
fix clear logic
zombieJ Aug 25, 2019
768f132
backspace not trigger open
zombieJ Aug 25, 2019
5e13379
multiple
zombieJ Aug 25, 2019
4c76d3b
fix single demo
zombieJ Aug 25, 2019
e11a230
fix combobox display logic
zombieJ Aug 25, 2019
31d5027
fix combobox display logic & label sync
zombieJ Aug 25, 2019
bdd219e
init test
zombieJ Aug 26, 2019
e29e06d
add test case
zombieJ Aug 26, 2019
ecc6a91
add part of test
zombieJ Aug 26, 2019
3b5efe9
add test case
zombieJ Aug 26, 2019
e3727f9
update snapshot
zombieJ Aug 26, 2019
4d0ba8f
add missing class
zombieJ Aug 26, 2019
17ece55
check selected class
zombieJ Aug 26, 2019
c00e5f6
onChange support second param
zombieJ Aug 26, 2019
0d7c093
search test
zombieJ Aug 27, 2019
f22669f
focus test
zombieJ Aug 27, 2019
8d25eb0
useLayoutEffect only works on client side
zombieJ Aug 27, 2019
0fb14ce
focus test
zombieJ Aug 27, 2019
fcde025
blur test
zombieJ Aug 27, 2019
f6d7a90
update icon name
zombieJ Aug 27, 2019
0aaa707
warning in generator
zombieJ Aug 27, 2019
dae3eec
dropdown test
zombieJ Aug 27, 2019
2a233f6
start combobox tests
zombieJ Aug 28, 2019
ac564fb
start multiple test
zombieJ Aug 28, 2019
8f12373
clean up
zombieJ Aug 28, 2019
d2ea7c3
support multiple test
zombieJ Aug 28, 2019
55e32c5
refact optionLabelProp
zombieJ Aug 28, 2019
26add5b
paste change should close
zombieJ Aug 28, 2019
38b9d87
selections test
zombieJ Aug 28, 2019
1eee388
multiple test finished
zombieJ Aug 28, 2019
d4d29d2
refactor of trigger change logic
zombieJ Aug 28, 2019
dfbf990
refactor triggerSelect event
zombieJ Aug 28, 2019
c9b65f4
tmp of tags miss value
zombieJ Aug 28, 2019
bc88573
tags should list option when not provided
zombieJ Aug 29, 2019
5480039
tags should keep missing value order
zombieJ Aug 29, 2019
e68e202
adjust useMemo logicc
zombieJ Aug 29, 2019
06c2efa
tags logicc
zombieJ Aug 29, 2019
28e8dd7
selecttrigger test case
zombieJ Aug 29, 2019
ed6803b
lint generate
zombieJ Aug 29, 2019
ac8d2e2
fix lint
zombieJ Aug 29, 2019
84419e6
fix example lint
zombieJ Aug 29, 2019
a50a034
util lint fix
zombieJ Aug 29, 2019
bcbd35e
fix generator ts define
zombieJ Aug 29, 2019
0181378
fix enabled lint
zombieJ Aug 29, 2019
19bad50
support dropdown number
zombieJ Aug 29, 2019
b47650d
clean up ci
zombieJ Aug 29, 2019
2727d90
update jest config
zombieJ Aug 29, 2019
b7e89e9
clean up example
zombieJ Aug 29, 2019
257de49
fix combobox open logic
zombieJ Aug 29, 2019
b2f2a59
fix icon logic
zombieJ Aug 29, 2019
298dd0d
fix className of trans btn
zombieJ Aug 29, 2019
4d547fc
immutaple of content
zombieJ Aug 29, 2019
0dbfca8
updatee snapshot
zombieJ Aug 29, 2019
b8a35c2
test env should not generate uuid
zombieJ Aug 29, 2019
8fd9e0d
100% line coverage
zombieJ Aug 29, 2019
ddd161d
merge master
zombieJ Sep 2, 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
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- run: npm install
- run: npm run init-tslint
- save_cache:
paths:
- node_modules
Expand All @@ -25,7 +24,6 @@ jobs:
keys:
- v1-dependencies-{{ checksum "package.json" }}
- run: npm install
- run: npm run init-tslint
- save_cache:
paths:
- node_modules
Expand Down
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');
const path = require('path');

module.exports = {
...base,
rules: {
...base.rules,
'default-case': 0,
'jsx-a11y/interactive-supports-focus': 0,
'jsx-a11y/no-autofocus': 0,
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
};
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: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ package-lock.json
src/*.js
src/*.map
.prettierrc
jest.config.js
tslint.json
tsconfig.test.json
.eslintrc.js
.prettierignore
.storybook
storybook/index.js
Loading