ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
236 stars 59 forks source link

chore: support export effectStyle #128

Closed zombieJ closed 11 months ago

zombieJ commented 11 months ago

By default, export static style will not include animation related style. This makes component like Spin will not motion in first render.

github-actions[bot] commented 11 months ago

😭 Deploy PR Preview 0f20b8ffada91b7fd7518502f43ba0744eba0246 failed. Build logs

🤖 By surge-preview

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 72.72% and project coverage change: -0.42 :warning:

Comparison is base (c91e689) 94.97% compared to head (09cd6f9) 94.56%.

:exclamation: Current head 09cd6f9 differs from pull request most recent head 0f20b8f. Consider uploading reports for the commit 0f20b8f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #128 +/- ## ========================================== - Coverage 94.97% 94.56% -0.42% ========================================== Files 23 23 Lines 1852 1877 +25 Branches 302 303 +1 ========================================== + Hits 1759 1775 +16 - Misses 93 102 +9 ``` | [Impacted Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useStyleRegister.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZVN0eWxlUmVnaXN0ZXIudHN4) | `97.90% <70.96%> (-1.70%)` | :arrow_down: | | [src/StyleContext.tsx](https://app.codecov.io/gh/ant-design/cssinjs/pull/128?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1N0eWxlQ29udGV4dC50c3g=) | `96.82% <100.00%> (+0.05%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.