ant-design / antd-token-previewer

https://ant-design.github.io/antd-token-previewer
MIT License
71 stars 21 forks source link

feat: use antd ColorPicker #212

Closed MadCcc closed 10 months ago

MadCcc commented 10 months ago

close https://github.com/ant-design/ant-design/issues/45311

github-actions[bot] commented 10 months ago

🎊 PR Preview 1d75a7be303aefb1a199aca5870d71f4fe5d90f9 has been successfully built and deployed to https://ant-design-antd-token-previewer-preview-pr-212.surge.sh

:clock1: Build time: 154.654s

🤖 By surge-preview

codecov-commenter commented 10 months ago

Codecov Report

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

Comparison is base (3408e7e) 32.58% compared to head (a68c3de) 32.35%.

:exclamation: Current head a68c3de differs from pull request most recent head 1d75a7b. Consider uploading reports for the commit 1d75a7b to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #212 +/- ## ========================================== - Coverage 32.58% 32.35% -0.24% ========================================== Files 282 283 +1 Lines 2090 2108 +18 Branches 461 448 -13 ========================================== + Hits 681 682 +1 - Misses 1409 1426 +17 ``` | [Files](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/locale/en-US.ts](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2xvY2FsZS9lbi1VUy50cw==) | `50.00% <ø> (ø)` | | | [src/locale/zh-CN.ts](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2xvY2FsZS96aC1DTi50cw==) | `50.00% <ø> (ø)` | | | [src/token-panel-pro/index.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9pbmRleC50c3g=) | `8.69% <ø> (ø)` | | | [src/utils/statistic.ts](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3V0aWxzL3N0YXRpc3RpYy50cw==) | `26.66% <ø> (ø)` | | | [src/editor-modal/index.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2VkaXRvci1tb2RhbC9pbmRleC50c3g=) | `5.71% <0.00%> (-0.17%)` | :arrow_down: | | [src/token-panel-pro/ComponentDemoPro.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9Db21wb25lbnREZW1vUHJvLnRzeA==) | `15.78% <0.00%> (-1.36%)` | :arrow_down: | | [src/component-token-editor/TokenInput.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2NvbXBvbmVudC10b2tlbi1lZGl0b3IvVG9rZW5JbnB1dC50c3g=) | `3.70% <0.00%> (-0.15%)` | :arrow_down: | | [src/ColorPicker.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL0NvbG9yUGlja2VyLnRzeA==) | `16.66% <16.66%> (ø)` | | | [src/ThemeEditor.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL1RoZW1lRWRpdG9yLnRzeA==) | `5.66% <0.00%> (-0.23%)` | :arrow_down: | | [src/token-panel-pro/TokenContent.tsx](https://app.codecov.io/gh/ant-design/antd-token-previewer/pull/212?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3Rva2VuLXBhbmVsLXByby9Ub2tlbkNvbnRlbnQudHN4) | `5.32% <0.00%> (-0.17%)` | :arrow_down: |

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