ant-design / pro-editor

🕹️ The Ultimate Editor UI Framework and Components
https://pro-editor.antdigital.dev
MIT License
199 stars 25 forks source link

:sparkles: feat: 为 Highlight 组件添加外层 wrapper 模式 #95

Closed ONLY-yours closed 10 months ago

github-actions[bot] commented 10 months ago

🎊 PR Preview 00876d0fbdf8aae6ebe51e38620a436cd98145f2 has been successfully built and deployed to https://ant-design-pro-editor-preview-pr-95.surge.sh

:clock1: Build time: 92.097s

🤖 By surge-preview

codecov-commenter commented 10 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (5c2988e) 87.43% compared to head (23c3705) 87.53%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #95 +/- ## ========================================== + Coverage 87.43% 87.53% +0.09% ========================================== Files 339 342 +3 Lines 21885 22091 +206 Branches 982 996 +14 ========================================== + Hits 19136 19338 +202 - Misses 2749 2753 +4 ``` | [Files](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/Highlight/components/CopyButton/index.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9jb21wb25lbnRzL0NvcHlCdXR0b24vaW5kZXgudHN4) | `87.71% <100.00%> (+0.21%)` | :arrow_up: | | [src/Highlight/components/HighLightJS/index.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9jb21wb25lbnRzL0hpZ2hMaWdodEpTL2luZGV4LnRzeA==) | `96.92% <100.00%> (ø)` | | | [src/Highlight/components/HighLighter/index.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9jb21wb25lbnRzL0hpZ2hMaWdodGVyL2luZGV4LnRzeA==) | `83.67% <100.00%> (ø)` | | | [src/Highlight/defalut.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9kZWZhbHV0LnRzeA==) | `100.00% <100.00%> (ø)` | | | [src/Highlight/index.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9pbmRleC50c3g=) | `100.00% <100.00%> (ø)` | | | [src/Highlight/style.ts](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9zdHlsZS50cw==) | `100.00% <100.00%> (ø)` | | | [src/Highlight/wrapper.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC93cmFwcGVyLnRzeA==) | `100.00% <100.00%> (ø)` | | | [src/Highlight/demos/wrapper.tsx](https://app.codecov.io/gh/ant-design/pro-editor/pull/95?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0hpZ2hsaWdodC9kZW1vcy93cmFwcGVyLnRzeA==) | `89.74% <89.74%> (ø)` | |

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

github-actions[bot] commented 10 months ago

:tada: This PR is included in version 0.23.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: