IsKaros
d80828ceff
Fix transfer selected keys ( #51523 )
...
* fix: transfer selected keys
* test: add transfer test case
* test: remove unused code
* refactor: use cal data
---------
Co-authored-by: karos <chenwenfan@harmonycloud.cn>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-11-12 15:16:19 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict ( #47998 )
...
* feat: tsconfig enable strict
* feat: add no-explicit-any
* feat: strict
* feat: as THEME
* feat: 优化 keys 类型写法
* feat: demo remove any
* feat: as number
* feat: this any
* feat: add eslint
* feat: cascader
* feat: props any
* feat: remove any
* feat: remove any
* feat: any 提示错误
* feat: remove any
* feat: add eslint
* feat: 允许 T = any 存在
* feat: color funciton
* feat: 恢复 lint
* feat: merge master
* feat: as ReactElement
* feat: type
2024-04-01 15:49:45 +08:00
章鱼怪
c8635a7bc0
feat: improve Transfer key
type ( #47879 )
...
* feat: add Transfer's key type
* docs: update prop
* fix: key type
* fix: cycle dependency
2024-03-14 21:14:21 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. ( #45285 )
...
* feat: add useMultipleSelect hooks
* docs: update README
* chore: update size limit
* refactor: prevSelectedIndex ref to state、initial value
* refactor: useMultipleSelect
* refactor: reset last select key after deselect
* chore: useMultipleSelect params type
* refactor: should params key be in useMultipleSelect hooks
* feat: getKey must be required
* chore: useless code
* refactor: remove useless code
* feat: onItemSelect params event must be required
* feat: remove params event
* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName
* revert(modal): revert modal demo dark
* refactor: props onItemSelect
* refactor: onItemSelect fn name
* refactor: transfer children type
* refactor: renderList props
* test: add test case
* chore: args -> arguments
* test(transfer): add test case
---------
Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
thinkasany
23040aa25f
chore: remove useless any & add CSSProperties type ( #43921 )
2023-08-01 01:26:41 +08:00
thinkasany
f566e3b24b
type: supplementary React.FC type ( #43410 )
...
* type: supplementary React.FC type
* fix: remove useless code
* revert: remove useStyle
* revert: card-top
* Update card-top.tsx
2023-07-06 23:54:03 +08:00
JiaQi
91be823272
fix(Transfer): Dropdown is hidden & showSizeChanger
not work ( #41906 )
...
* fix: Page size dropdown is hidden
* fix: SizeChange not work
* chore: add test case
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-06-28 19:23:00 +08:00
二货爱吃白萝卜
5d65881984
fix: Transfer with rowKey will be unselectable ( #43115 )
...
* test: test driven
* fix: keys mapping
* chore: add bug version
2023-06-20 13:41:35 +08:00
洋
47f30ee266
fix: transfer error when reset data in some cases ( #42785 )
...
* fix: transfer error when reset data in some cases
* fix: lint
* fix: error
* DX: improvement
* fix: code style
* fix: code style
* chore: update grammar
* chore: update
* chore: update
* refactor: keys sync logic
* chore: clean up
---------
Co-authored-by: 洋 <hetongyang@bytedance.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-06-07 22:54:56 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
二货爱吃白萝卜
9a6aaac0c0
fix: Transfer controlled mode warning ( #42033 )
...
* test: test driven
* fix: warning of state update
* fix: invert error
2023-04-27 11:48:57 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2022-11-19 13:47:33 +08:00
lijianan
370c37cb30
test: js => ts ( #37485 )
2022-09-08 23:47:22 +08:00