Commit Graph

262 Commits

Author SHA1 Message Date
二货机器人
5f28b2e5a4 chore: merge maaster 2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo (#37890)
* test: Use SSR for testing demo

* chore: fix lint

* test: align with react 18
2022-10-08 16:17:20 +08:00
二货机器人
7dbc5b735a test: Update snapshot 2022-09-28 17:29:47 +08:00
杨腿_
0054ff9dfd
feat: add icon to collapsible (#37566)
* feat: add icon to collapsible in collapse

* fix: typo

* Apply suggestions from code review

* test: update snapshot of collapsible.md

* feat: edit api support version

* feat: edit api support version

* fix: reinstall modules and update snapshots

Co-authored-by: yangchen7 <yangchen7@360.cn>
Co-authored-by: afc163 <afc163@gmail.com>
2022-09-20 19:32:18 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib (#37381)
* test: replace testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: update snap

* test: replace testing-lib

* test: replace testing-lib

* test: update for lint

* merge: merge

* test: testing-lib

* test: replace testing-lib

* test: testing-lib

* test: testing-lib

* test: replace testing-lib

* test: replace testing-lib

* test: Replace test aria replacment logic

* test: Update snapshot

* chore: hack for id

* test: clean up

* test: clean demo

* chore: update

* test: snapshot update

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* test: fix snapshot rep logic

* chore: update demo

* test: fix snapshot rep logic

* test: Update snapshot

* test: rest snapshot

* test: update snapshot

* test: Update test case

* test: config env

* chore: clean up

* chore: Use renderServer instead

* test: adjust testing logic

* test: modify test logic

* test: split ssr test

* test: skip if need skip

* chore: ignore test file covv

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
二货机器人
ddb97b22ba
chore: collapse title text auto width (#36761)
* chore: collapse title text auto width

* test: fix mock snapshot
2022-07-28 20:30:41 +08:00
Yuki Zhang
817773e015
test: move test cases to testing lib for Collapse (#36227)
* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file
2022-07-21 11:18:14 +08:00
MadCcc
8ab7851870
test: update snapshot (#36344)
* test: update snapshot

* test: update snapshot
2022-07-01 20:00:25 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
二货机器人
9578f06a3b
refactor: bump rc-collapse to stable dom (#35781)
* chore: bump rc-collapse to stable dom

* chore: clean up
2022-05-27 23:18:36 +08:00
zombiej
bd2b726199 chore: feature merge master 2022-05-27 16:13:19 +08:00
二货机器人
7a8fce504e
refactor: Collapse replace expandIconPosition with logical position (#35770)
* refactor: change collapse to logic position

* test: Update snapshot

* chore: force trigger CI
2022-05-27 16:07:32 +08:00
MadCcc
e9e2d18121 Merge branch 'master' into feature-merge-master 2022-05-25 11:03:13 +08:00
Niyaz Akhmetov
56bcd1ee9f
docs: fix mistype (#35714) 2022-05-24 22:33:22 +08:00
zombiej
f58efe9b32 chore: merge master 2022-05-23 14:37:16 +08:00
章鱼
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
2022-05-19 09:46:26 +08:00
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
2022-05-10 20:49:42 +08:00
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
2022-05-10 15:43:29 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped (#35106) 2022-04-20 00:16:39 +08:00
AliRezaBeigy
1e91a4961c
chore: Compatible for @types/react@18 (#35075)
* chore: Compatible for @types/react@18

* chore: Compatible for @types/react@18
2022-04-18 18:39:23 +08:00
afc163
0f0e2f9f43
docs: simplify demo code, #30853 (#35050) 2022-04-15 16:20:56 +08:00
二货机器人
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
2022-04-08 22:55:42 +08:00
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
2022-04-03 23:27:45 +08:00
PanStar
362a99e9d4
feat: hide the last border in borderless mode (#34366) 2022-03-10 19:29:50 +08:00
二货机器人
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
2021-12-23 11:51:10 +08:00
二货机器人
97ee6df47d
fix: Back of relative (#33070) 2021-11-29 11:32:30 +08:00
hydraZty
a35b567135
fix: Collapse style issue when expandIconPosition is right (#32648)
Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local>
2021-10-27 12:02:18 +08:00
二货机器人
7c330b77d1
chore: Adjust Collapse header style (#32492)
* chore: Adjust collapse header style for align

* chore: replace variable

* test: Update snapshot
2021-10-14 17:16:38 +08:00
xrkffgg
9d00634bde
style: optimized Collapse arrow position in rtl (#32282) 2021-09-24 15:58:42 +08:00
afc163
a9a329d37c
fix: deps and TypeScript types (#31519)
* fix tsc errors

* fix tsc errors
2021-07-26 16:47:55 +08:00
afc163
68bec114f6 chore: fix useless margin 2021-05-26 22:43:32 +08:00
dhyuan
483c1e3d0a
fix: Collapse expandIconPosition="right" not working (#30680)
Signed-off-by: dehong <dehong@xsky.com>
Co-authored-by: dehong <dehong@xsky.com>
2021-05-26 22:41:19 +08:00
afc163
cf342de7cf
style: refactor Collapse arrow style (#30586)
close #30585
2021-05-19 15:01:15 +08:00
JuFeng Zhang
88c4aef1c3
fix(Collapse): end motion when set activeKey while hiding (#30555) 2021-05-18 13:02:17 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
afc163
039e2927b7
fix: Collapse header disappers with delay (#29158)
close #29146
2021-02-01 18:50:02 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
二货机器人
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
2021-01-13 21:00:30 +08:00
偏右
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
2020-12-25 14:31:44 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
二货机器人
1c5a3f433b
fix: Collapse header style (#28507) 2020-12-23 17:10:03 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
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.
2020-12-01 09:40:35 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
二货机器人
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>
2020-11-30 15:20:42 +08:00
偏右
81fffbfe65
fix: Collapse using Table sticky (#28039)
close https://github.com/ant-design/ant-design/issues/28038
2020-11-27 17:11:37 +08:00
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>
2020-11-25 10:50:22 +08:00
Eugene Matvejev
41a6c655bf
refactor: remove defaultProps from <Collapse /> and move logic to destruction, as rest of props for single source of truth (#27963) 2020-11-24 20:06:41 +08:00
Amumu
9b7da8640d
chore: replace raf with rc-util/lib/raf (#27864) 2020-11-20 12:11:50 +08:00