react-component / collapse

React Collapse / Accordion
http://react-component.github.io/collapse/
MIT License
324 stars 134 forks source link

chore: support collapsable、 remove disabled of panel and headerCollapsableOnly #173

Closed kerm1it closed 3 years ago

kerm1it commented 3 years ago

API 改动

当 Collapse 与 Panel 同时有 collapsible 时,优先读取 Panel 的值。

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/react-component/collapse/3rhcouc5f
✅ Preview: https://collapse-git-feat-collapsable.react-component.vercel.app

codecov[bot] commented 3 years ago

Codecov Report

Merging #173 (53eedcb) into master (6b3502b) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #173      +/-   ##
==========================================
+ Coverage   99.02%   99.04%   +0.01%     
==========================================
  Files           4        4              
  Lines         103      105       +2     
  Branches       31       32       +1     
==========================================
+ Hits          102      104       +2     
  Misses          1        1              
Impacted Files Coverage Δ
src/Collapse.tsx 100.00% <100.00%> (ø)
src/Panel.tsx 96.77% <100.00%> (+0.10%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6b3502b...53eedcb. Read the comment docs.

zombieJ commented 3 years ago

😝 是 collapsible 啦~

zombieJ commented 3 years ago

174 合完后有几个冲突要修一下

kerm1it commented 3 years ago

冲突解决了,你看看有没有把哪个属性漏了

zombieJ commented 3 years ago

+ rc-collapse@3.0.0

zombieJ commented 3 years ago

我在 antd 开一个 branch,我们俩一起搞~

zombieJ commented 3 years ago

https://github.com/ant-design/ant-design/pull/27790

kerm1it commented 3 years ago

ant-design/ant-design#27790

👌