ant-design / cssinjs

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

feat: support logic check #125

Closed zombieJ closed 11 months ago

zombieJ commented 11 months ago

通过 supportModernCSS 检测是否支持 @ant-design/cssinjswhere selectorcss logic props。便于开发者选择使用降级方案或者页面提醒升级浏览器

github-actions[bot] commented 11 months ago

😭 Deploy PR Preview cbe932f5aebb437c5691c3ea122e3d9f0ded900d failed. Build logs

🤖 By surge-preview

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 36.00% and project coverage change: -1.32 :warning:

Comparison is base (c1a3ae1) 96.29% compared to head (67de6a5) 94.97%.

:exclamation: Current head 67de6a5 differs from pull request most recent head cbe932f. Consider uploading reports for the commit cbe932f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #125 +/- ## ========================================== - Coverage 96.29% 94.97% -1.32% ========================================== Files 23 23 Lines 1810 1852 +42 Branches 302 302 ========================================== + Hits 1743 1759 +16 - Misses 67 93 +26 ``` | [Impacted Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/util.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3V0aWwudHM=) | `38.88% <28.88%> (-4.78%)` | :arrow_down: | | [src/index.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/125?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2luZGV4LnRz) | `100.00% <100.00%> (ø)` | |

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