Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 补充 prefixCls 逻辑 #10

Merged
merged 13 commits into from
Aug 14, 2023
Merged

feat: 补充 prefixCls 逻辑 #10

merged 13 commits into from
Aug 14, 2023

Conversation

Wxh16144
Copy link
Owner

💻 变更类型 | Change Type

添加 easy-antd-modal cls 支持 antd CP 组件修改
antd5 自动添加 easy- 来区分ant modal,antd4 则复用 antd 提供的 modal 样式

  • feat
  • fix
  • style
  • chore
  • docs

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

@codecov
Copy link

codecov bot commented Aug 13, 2023

Codecov Report

Merging #10 (180a672) into beta (25e2051) will increase coverage by 5.01%.
The diff coverage is 100.00%.

❗ Current head 180a672 differs from pull request most recent head 47c219e. Consider uploading reports for the commit 47c219e to get more accurate results

@@            Coverage Diff             @@
##             beta      #10      +/-   ##
==========================================
+ Coverage   90.13%   95.15%   +5.01%     
==========================================
  Files          19       20       +1     
  Lines         446      495      +49     
  Branches       31       42      +11     
==========================================
+ Hits          402      471      +69     
+ Misses         44       24      -20     
Files Changed Coverage Δ
src/drag-modal/BaseModal.tsx 100.00% <100.00%> (+25.00%) ⬆️
src/drawer/index.tsx 100.00% <100.00%> (+12.00%) ⬆️
src/hooks/useBoolean.ts 100.00% <100.00%> (ø)
src/hooks/usePrefixCls.ts 100.00% <100.00%> (ø)
src/modal/index.tsx 100.00% <100.00%> (+10.00%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Wxh16144 Wxh16144 merged commit 287bfde into beta Aug 14, 2023
@github-actions
Copy link

🎉 This PR is included in version 1.4.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Wxh16144 added a commit that referenced this pull request Aug 14, 2023
* feat: 补充 prefixCls 逻辑 (#10)

* feat: 添加 easy-antd-modal cls 支持 antd CP 组件修改

* test: fix-test

* fix: 修复 cls 处理逻辑

* feat: drawer 支持 antd CP prefixCls

* feat: 添加处理class 前缀的逻辑

* feat: 支持 prefix 自定义 antd5 支持, 4 还是默认跟随 antd

* chore: update examples

* chore: 补充拖拽组件测试用例

* test: update test case

* chore: 补充测试用例

* chore: 添加 antd4 依赖

* test: 补充测试用例

* test: add test case

* chore(release): v1.4.0-beta.1 [skip ci]

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant