二货机器人
9578f06a3b
refactor: bump rc-collapse to stable dom ( #35781 )
* chore: bump rc-collapse to stable dom
* chore: clean up
3 years ago
二货机器人
7a8fce504e
refactor: Collapse replace expandIconPosition with logical position ( #35770 )
* refactor: change collapse to logic position
* test: Update snapshot
* chore: force trigger CI
3 years ago
Niyaz Akhmetov
56bcd1ee9f
docs: fix mistype ( #35714 )
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
miracles1919
591224681d
fix: Collapse arraw position in rtl mode ( #35587 )
3 years ago
dingkang
5cf579c37a
docs: replace class component with hooks ( #35472 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
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
xrkffgg
274c1f7fa3
refactor: collpase cssinjs ( #35066 )
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
AliRezaBeigy
1e91a4961c
chore: Compatible for @types/react@18 ( #35075 )
* chore: Compatible for @types/react@18
* chore: Compatible for @types/react@18
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
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
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
PanStar
362a99e9d4
feat: hide the last border in borderless mode ( #34366 )
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
二货机器人
97ee6df47d
fix: Back of relative ( #33070 )
3 years ago
hydraZty
a35b567135
fix: Collapse style issue when expandIconPosition is right ( #32648 )
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
3 years ago
二货机器人
7c330b77d1
chore: Adjust Collapse header style ( #32492 )
* chore: Adjust collapse header style for align
* chore: replace variable
* test: Update snapshot
3 years ago
xrkffgg
9d00634bde
style: optimized Collapse arrow position in rtl ( #32282 )
3 years ago
afc163
a9a329d37c
fix: deps and TypeScript types ( #31519 )
* fix tsc errors
* fix tsc errors
3 years ago
afc163
68bec114f6
chore: fix useless margin
4 years ago
dhyuan
483c1e3d0a
fix: Collapse expandIconPosition="right" not working ( #30680 )
Signed-off-by: dehong <dehong@xsky.com>
Co-authored-by: dehong <dehong@xsky.com>
4 years ago
afc163
cf342de7cf
style: refactor Collapse arrow style ( #30586 )
close #30585
4 years ago
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding ( #30555 )
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
afc163
039e2927b7
fix: Collapse header disappers with delay ( #29158 )
close #29146
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago
二货机器人
1c5a3f433b
fix: Collapse header style ( #28507 )
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
Sam Marks
16bc4bcdab
fix: Collapse.Panel collapsible should be optional ( #28092 )
It looks like this was broken in https://github.com/ant-design/ant-design/pull/27790 . According to `rc-collapse`, the `collapsible` prop inside Collapse.Panel is optional, so it should be optional here as well if we're just forwarding props directly to the child component.
4 years ago
二货机器人
3923288275
feat: bump `rc-collapse` version ( #27790 )
* refactor: RM rc-animate
* put rc-animate back
* clean up
* chore: Update snasphot
* feat: suport collapsible and deprecated disabled of Panel
* docs: remove disabled of Panel
* chore: bump rc-collapse to 3.1.0
* chore: update deprecated info
* clean up
* chore: update demo and remove rc-animate
* chore: update snapshot
Co-authored-by: Kermit <kermitlx@outlook.com>
4 years ago
偏右
81fffbfe65
fix: Collapse using Table sticky ( #28039 )
close https://github.com/ant-design/ant-design/issues/28038
4 years ago
Eugene Matvejev
3201693f34
chore: remove not need proxy-function in <Collapse /> ( #27962 )
* chore: remove not need proxy-function in <Collapse />
* [CodeFactor] Apply fixes to commit b2fa428
[ci skip] [skip ci]
* Update Collapse.tsx
Co-authored-by: codefactor-io <support@codefactor.io>
4 years ago
Eugene Matvejev
41a6c655bf
refactor: remove defaultProps from <Collapse /> and move logic to destruction, as rest of props for single source of truth ( #27963 )
4 years ago
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf ( #27864 )
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
二货机器人
c373710ce2
chore: Adjust collapse arrow position align with first line ( #27363 )
* fix: border style of Input.Search when allowClear (#27325 )
* fix: border style of Input.Search when allowClear
* fix css
* update
* change name
* docs: 4.7.3 changelog (#27350 )
* docs: 4.7.3 changelog
* docs: Patch 27325
* chore: improve useCombinedRefs (#27352 )
* docs: 📝 update introduce
* chore: fix API table border
* chore: Adjust collapse arrow position align with first line
Co-authored-by: xrk <xrkffgg@gmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
4 years ago
偏右
c979850a5b
test: ✅ Motion for Collpase and Menu ( #26828 )
* test: ✅ test menu and collapse motion
* chore: move openAnimation into collapse
* add test case
* rm extra openAnimation.tsx
* remove unused code
4 years ago
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
4 years ago
偏右
a8dea916b2
fix: Search autocomplele list in Chrome ( #26590 )
* fix: 🆙 upgrade rc-select to 11.2.x
* style: fix input search clear button
* test: update snapshot
4 years ago
xrk
6de959ce1a
docs: reduce demo calendar/carousel/collapse ( #25553 )
* docs: reduce demo
* add
4 years ago
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md ( #25540 )
* Update customize-theme.zh-CN.md
* test: ✅ update snapshot
4 years ago