Cong Zhang
8b802bbbef
test: moving to testing-library in `Tree` ( #35674 )
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
二货机器人
a09333d287
chore: full token of anchor ( #35588 )
* chore: full token of anchor
* chore: rename
3 years ago
miracles1919
19f55145c8
fix: tree checkbox margin in rtl mode ( #35491 )
3 years ago
MadCcc
24773d5796
test: lint
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
miracles1919
6b6c8cb6b1
refactor: Tree checkbox style ( #35389 )
* fix: Checkbox inner disabled color
* refactor: Tree checkbox style
* refactor: adjust tree checkbox span
* refactor: adjust tree checkbox span
* refactor: remove useless `&`
3 years ago
MadCcc
eed87d6276
chore: remove keyframes declaration ( #35231 )
3 years ago
MadCcc
1d91507a59
feat: support Keyframes as 'animationName' value ( #35142 )
3 years ago
MadCcc
acb21e1848
feat: animation check ( #35108 )
* feat: animation check
* chore: remove treeNodeFX import
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
zombiej
65cec1458f
chore: fix ts
3 years ago
zombiej
85a351ed3b
chore: test fix
3 years ago
MadCcc
101865cf7e
fix: statistic token ( #34962 )
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
MadCcc
064edfe22a
refactor: Checkbox & Tree migrate to genComponentStyleHook ( #34904 )
* refactor: Checkbox migrate to genComponentStyleHook
* refactor: tree migrate to genComponentStyleHook
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
zqran
452c5835ec
feat: Tree `switcherIcon` prop support render-prop ( #34470 )
* feat: Tree `switcherIcon` prop support render-prop
* add test for `switcherIcon` render-prop
* change the `switcherIcon` prop type of `TreeSelect`
* fix switcherIcon render-prop condition
* fix switcherIcon
3 years ago
二货机器人
2aa33578c2
refactor: Align with token ( #34713 )
* chore: Divider full token
* chore: typography with tokn
* chore: select with token
* chore: tree with token
* chore: select style
* chore: select style
* chore: clean up
3 years ago
二货机器人
d952088650
refactor: More alias token ( #34681 )
* chore: colorHighlight
* chore: bgSecondary
* chore: colorLink
* chore: link style
* chore: rm fly variables
* chore: colorAction
* chore: add warning comment
* chore: token outline
* chore: colorBgXXX
* chore: alert
* rm: zIndex
* chore: rm zIndexComponent
* fix: tag color checkabl
* chore: tags tmp
3 years ago
二货机器人
b967f9eb81
refactor: More alias token ( #34658 )
* chore: rm disabled color
* chore: color heading
* chore: shows tokn
* chore: fix color mapping
* chore: status colors
* chore: durations
* chore: outline color
* chore: comment info
* chore: background color
* chore: merge nexr
3 years ago
二货机器人
a7a180b913
refactor: Color related token ( #34648 )
* chore: move controlHeight in der
* chore: controlLineWidth
* chore: controlRadius
* chore: color
* chore: outline width
* chore: outline width
* chore: rm outlineBlurSize
* chore: colorTextLightSolid
3 years ago
二货机器人
608ce271b1
refactor: Move token to latest one ( #34637 )
* chore: rename motion
* chore: primary color
* chore: success color
* chore: all colors
* chore: mv control height up
* chore: font size format
3 years ago
MadCcc
c0b58aaf93
feat: Tree support rootClassName & rootStyle ( #34578 )
* feat: tree support rootClassName & rootStyle
* feat: Tree support rootClassName and rootStyle
* chore: update rc-cascader
* chore: update rc-tree
* chore: update cascader
* chore: update deps
3 years ago
afc163
bf6dfaa315
docs: move treeLoadedKeys to TreeSelect
close #34538
3 years ago
CommanderRoot
7c34addf57
refactor: replace deprecated String.prototype.substr() ( #34498 )
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with functions which aren't.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
3 years ago
MadCcc
30e0d57302
test: fix cssinjs ci ( #34434 )
* test: fix cssinjs ci
* test: fix ci
* test: fix alert trl
* fix: fix tree icon rotation direction in RTL mode
3 years ago
二货机器人
068584b76c
refactor: change Select into CSSINJS ( #34339 )
* chore: init
* chore: init single
* chore: merge next
* chore: select single base
* chore: basic all style of select
* chore: speed of dropdown
* chore: move size in single
* chore: single size
* chore: lg style
* chore: left & right
* chore: rtl
* chore: auto rtl
* chore: rtl
* fix: height cal
* chore: clean up
* chore: status color
3 years ago
二货机器人
43eaa357b4
chore: cssinjs hashed as default ( #34272 )
* checkbox hashId support
* chore: tree hashed
* chore: fix lint
* fix: compile
3 years ago
二货机器人
989a27ada8
refactor: tree support cssinjs ( #34258 )
* chore: part of tree
* chore: tree cssinjs
* chore: fix lint
* refactor: RTL support
* fix: checkbox hover logic
* chore: rtl use same style
* fix: check style priority
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
二货机器人
3886ad6462
refactor: Tree support generic ( #32992 )
* chore: bump rc-tree
* test: add test case
* test: Add ts check
3 years ago
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
3 years ago
afc163
7ed7c60aa6
style: fix Tree icon align bug ( #32822 )
3 years ago
afc163
38b94e5aeb
fix: Transfer menu item key warning ( #32578 )
* fix: Transfer menu item key warning
close #32574
* chore: skip tree demo in UI test
3 years ago
D-to-the-K
0a8065e5bd
fix: DirectoryTree keyboard error ( #32551 )
* Fix bug in keyboard navigation
When selecting a node using the keyboard (spacebar), the event received by onSelect has an undefined MouseEvent. Keyboard navigation was not possible because an error was thrown when trying to access properties from the undefined nativeEvent. We are now testing if nativeEvent is defined before accessing its properties.
* fix: DirectoryTree throws error during keyboard navigation
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
二货机器人
5161e9c671
feat: Tree support draggable handler ( #32306 )
* chore: Add draggable style
* chore: Add handler style
* refactor: Add dragging style
* chore: merge api
* chore: test case
* docs: Update doc desc
* test: More coverage
* chore: bump version
* test: Update snapshot
3 years ago
btea
3531a15efa
fix: set the tree-switcher-leaf-line position ( #32075 )
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
* fix tsc errors
* fix tsc errors
3 years ago
二货机器人
86c5bf6e60
feat: Tree support `fieldNames` ( #31395 )
* feat: Tree support fieldNames
* docs: Update desc
* chore: Update snapshot
3 years ago
afc163
802201913c
docs: TreeSelect `treeLoadedKeys`
close #31340
3 years ago
afc163
9f0dbf2b4d
chore: upgrade to jest 27 ( #30783 )
* chore: upgrade devDeps
* upgrade @ant-design/tools
* support CSS Minification
* test: jsdom as testEnvironment
* fix setImmediate
* update snapshot
* fix test
* fix test
* fix test
* fix test
4 years ago
二货机器人
19ad390c3b
feat: TreeSelect support treeLine ( #30705 )
* feat: TreeSelect support treeline
* docs: Update doc
* tests: Update snapshot
* docs: rm onlt
* fix: TS definition
4 years ago
Guru Mahendran
7e6bfa4a8c
chore: fix typo initTreeDate -> initTreeData ( #29911 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago