IDuxFE / idux

🚀 A UI Component Library for Vue3.x
https://idux.site
MIT License
541 stars 141 forks source link

feat(comp:modal): add `spin` support for modal #1974

Closed sallerli1 closed 1 month ago

sallerli1 commented 1 month ago

PR Checklist

Please check if your PR fulfills the following requirements:

What is the current behavior?

What is the new behavior?

modal 支持内置的 spin

  1. spin 可以配置是否覆盖全部弹窗
  2. spin开启时,禁用footer中的按钮

Other information

idux-bot[bot] commented 1 month ago

This preview will be available after the AzureCI is passed.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 75.22936% with 27 lines in your changes missing coverage. Please review.

Project coverage is 90.92%. Comparing base (4e5cdcc) to head (52a65e1).

Files Patch % Lines
packages/components/modal/src/ModalWrapper.tsx 65.11% 15 Missing :warning:
packages/components/modal/src/ModalBody.tsx 66.66% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1974 +/- ## ========================================== - Coverage 90.95% 90.92% -0.04% ========================================== Files 358 358 Lines 35691 35768 +77 Branches 3889 3897 +8 ========================================== + Hits 32463 32521 +58 - Misses 3228 3247 +19 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.