Skip to content

Commit

Permalink
v2.0.5 fix(ColorConvert): fix circular dependencies issue. #137 12eaa94
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 13, 2024
1 parent ca56849 commit 9db635d
Show file tree
Hide file tree
Showing 123 changed files with 854 additions and 1,098 deletions.
106 changes: 53 additions & 53 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"files": {
"main.css": "/static/css/main.6ef0c5a4.css",
"main.js": "/static/js/main.ab015eec.js",
"main.js": "/static/js/main.0faec81c.js",
"static/css/281.c7b2c18c.chunk.css": "/static/css/281.c7b2c18c.chunk.css",
"static/js/281.a23b4cd8.chunk.js": "/static/js/281.a23b4cd8.chunk.js",
"static/js/113.9ca7997d.chunk.js": "/static/js/113.9ca7997d.chunk.js",
"static/js/308.5164c0f5.chunk.js": "/static/js/308.5164c0f5.chunk.js",
"static/js/494.e8555ad2.chunk.js": "/static/js/494.e8555ad2.chunk.js",
"static/js/785.6f21cfa0.chunk.js": "/static/js/785.6f21cfa0.chunk.js",
"static/js/952.ab9281ec.chunk.js": "/static/js/952.ab9281ec.chunk.js",
"static/js/919.686c4610.chunk.js": "/static/js/919.686c4610.chunk.js",
"static/js/781.506cec8a.chunk.js": "/static/js/781.506cec8a.chunk.js",
"static/js/955.57b7fb13.chunk.js": "/static/js/955.57b7fb13.chunk.js",
"static/js/281.04f00b63.chunk.js": "/static/js/281.04f00b63.chunk.js",
"static/js/113.af007b06.chunk.js": "/static/js/113.af007b06.chunk.js",
"static/js/308.bd94eb40.chunk.js": "/static/js/308.bd94eb40.chunk.js",
"static/js/494.5d013a2d.chunk.js": "/static/js/494.5d013a2d.chunk.js",
"static/js/785.c0c5dfeb.chunk.js": "/static/js/785.c0c5dfeb.chunk.js",
"static/js/952.4fb5bbbb.chunk.js": "/static/js/952.4fb5bbbb.chunk.js",
"static/js/919.c6e2e20b.chunk.js": "/static/js/919.c6e2e20b.chunk.js",
"static/js/781.88a802ca.chunk.js": "/static/js/781.88a802ca.chunk.js",
"static/js/955.8b8b4131.chunk.js": "/static/js/955.8b8b4131.chunk.js",
"static/js/446.143df30c.chunk.js": "/static/js/446.143df30c.chunk.js",
"static/js/546.6d11d60f.chunk.js": "/static/js/546.6d11d60f.chunk.js",
"static/js/756.f5dd9fa8.chunk.js": "/static/js/756.f5dd9fa8.chunk.js",
"static/js/569.52cd7492.chunk.js": "/static/js/569.52cd7492.chunk.js",
"static/js/309.1783f321.chunk.js": "/static/js/309.1783f321.chunk.js",
"static/js/297.fd85593b.chunk.js": "/static/js/297.fd85593b.chunk.js",
"static/js/466.f4056b1d.chunk.js": "/static/js/466.f4056b1d.chunk.js",
"static/js/649.67275294.chunk.js": "/static/js/649.67275294.chunk.js",
"static/js/620.bc751486.chunk.js": "/static/js/620.bc751486.chunk.js",
"static/js/875.e5245507.chunk.js": "/static/js/875.e5245507.chunk.js",
"static/js/118.c5fd76ec.chunk.js": "/static/js/118.c5fd76ec.chunk.js",
"static/js/94.47091f4e.chunk.js": "/static/js/94.47091f4e.chunk.js",
"static/js/721.bd8f7cb6.chunk.js": "/static/js/721.bd8f7cb6.chunk.js",
"static/js/546.56d4db54.chunk.js": "/static/js/546.56d4db54.chunk.js",
"static/js/756.c4374ee9.chunk.js": "/static/js/756.c4374ee9.chunk.js",
"static/js/569.6d031637.chunk.js": "/static/js/569.6d031637.chunk.js",
"static/js/309.c25d6129.chunk.js": "/static/js/309.c25d6129.chunk.js",
"static/js/297.75b2592c.chunk.js": "/static/js/297.75b2592c.chunk.js",
"static/js/466.522ea72b.chunk.js": "/static/js/466.522ea72b.chunk.js",
"static/js/649.e33f8ded.chunk.js": "/static/js/649.e33f8ded.chunk.js",
"static/js/620.b2436511.chunk.js": "/static/js/620.b2436511.chunk.js",
"static/js/875.338a400a.chunk.js": "/static/js/875.338a400a.chunk.js",
"static/js/118.668edd6a.chunk.js": "/static/js/118.668edd6a.chunk.js",
"static/js/94.2dac96c0.chunk.js": "/static/js/94.2dac96c0.chunk.js",
"static/js/721.24868da4.chunk.js": "/static/js/721.24868da4.chunk.js",
"static/js/3.8c297d32.chunk.js": "/static/js/3.8c297d32.chunk.js",
"static/js/18.66749cfe.chunk.js": "/static/js/18.66749cfe.chunk.js",
"static/js/426.deacc93d.chunk.js": "/static/js/426.deacc93d.chunk.js",
Expand All @@ -43,42 +43,42 @@
"static/js/469.c281ae42.chunk.js": "/static/js/469.c281ae42.chunk.js",
"static/js/624.2a2c884f.chunk.js": "/static/js/624.2a2c884f.chunk.js",
"static/js/458.d767c1e7.chunk.js": "/static/js/458.d767c1e7.chunk.js",
"static/js/982.693e07e6.chunk.js": "/static/js/982.693e07e6.chunk.js",
"static/js/982.7f8149f7.chunk.js": "/static/js/982.7f8149f7.chunk.js",
"static/js/107.34e13438.chunk.js": "/static/js/107.34e13438.chunk.js",
"static/js/2.97cc29ed.chunk.js": "/static/js/2.97cc29ed.chunk.js",
"static/js/995.765653cf.chunk.js": "/static/js/995.765653cf.chunk.js",
"refractor-vendor.js": "/static/js/refractor-vendor.1802c8b7.chunk.js",
"react-vendor.js": "/static/js/react-vendor.ef3775ea.js",
"static/css/329.046f560a.chunk.css": "/static/css/329.046f560a.chunk.css",
"static/js/329.eeb46153.chunk.js": "/static/js/329.eeb46153.chunk.js",
"static/js/31.f7fcaedc.chunk.js": "/static/js/31.f7fcaedc.chunk.js",
"static/css/682.4e43dbd8.chunk.css": "/static/css/682.4e43dbd8.chunk.css",
"static/js/682.bda4a371.chunk.js": "/static/js/682.bda4a371.chunk.js",
"static/js/31.4c831a4d.chunk.js": "/static/js/31.4c831a4d.chunk.js",
"index.html": "/index.html",
"static/media/home.svg": "/static/media/home.7d51f25c64fe597ec540c3e724748f4e.svg",
"main.6ef0c5a4.css.map": "/static/css/main.6ef0c5a4.css.map",
"main.ab015eec.js.map": "/static/js/main.ab015eec.js.map",
"main.0faec81c.js.map": "/static/js/main.0faec81c.js.map",
"281.c7b2c18c.chunk.css.map": "/static/css/281.c7b2c18c.chunk.css.map",
"281.a23b4cd8.chunk.js.map": "/static/js/281.a23b4cd8.chunk.js.map",
"113.9ca7997d.chunk.js.map": "/static/js/113.9ca7997d.chunk.js.map",
"308.5164c0f5.chunk.js.map": "/static/js/308.5164c0f5.chunk.js.map",
"494.e8555ad2.chunk.js.map": "/static/js/494.e8555ad2.chunk.js.map",
"785.6f21cfa0.chunk.js.map": "/static/js/785.6f21cfa0.chunk.js.map",
"952.ab9281ec.chunk.js.map": "/static/js/952.ab9281ec.chunk.js.map",
"919.686c4610.chunk.js.map": "/static/js/919.686c4610.chunk.js.map",
"781.506cec8a.chunk.js.map": "/static/js/781.506cec8a.chunk.js.map",
"955.57b7fb13.chunk.js.map": "/static/js/955.57b7fb13.chunk.js.map",
"281.04f00b63.chunk.js.map": "/static/js/281.04f00b63.chunk.js.map",
"113.af007b06.chunk.js.map": "/static/js/113.af007b06.chunk.js.map",
"308.bd94eb40.chunk.js.map": "/static/js/308.bd94eb40.chunk.js.map",
"494.5d013a2d.chunk.js.map": "/static/js/494.5d013a2d.chunk.js.map",
"785.c0c5dfeb.chunk.js.map": "/static/js/785.c0c5dfeb.chunk.js.map",
"952.4fb5bbbb.chunk.js.map": "/static/js/952.4fb5bbbb.chunk.js.map",
"919.c6e2e20b.chunk.js.map": "/static/js/919.c6e2e20b.chunk.js.map",
"781.88a802ca.chunk.js.map": "/static/js/781.88a802ca.chunk.js.map",
"955.8b8b4131.chunk.js.map": "/static/js/955.8b8b4131.chunk.js.map",
"446.143df30c.chunk.js.map": "/static/js/446.143df30c.chunk.js.map",
"546.6d11d60f.chunk.js.map": "/static/js/546.6d11d60f.chunk.js.map",
"756.f5dd9fa8.chunk.js.map": "/static/js/756.f5dd9fa8.chunk.js.map",
"569.52cd7492.chunk.js.map": "/static/js/569.52cd7492.chunk.js.map",
"309.1783f321.chunk.js.map": "/static/js/309.1783f321.chunk.js.map",
"297.fd85593b.chunk.js.map": "/static/js/297.fd85593b.chunk.js.map",
"466.f4056b1d.chunk.js.map": "/static/js/466.f4056b1d.chunk.js.map",
"649.67275294.chunk.js.map": "/static/js/649.67275294.chunk.js.map",
"620.bc751486.chunk.js.map": "/static/js/620.bc751486.chunk.js.map",
"875.e5245507.chunk.js.map": "/static/js/875.e5245507.chunk.js.map",
"118.c5fd76ec.chunk.js.map": "/static/js/118.c5fd76ec.chunk.js.map",
"94.47091f4e.chunk.js.map": "/static/js/94.47091f4e.chunk.js.map",
"721.bd8f7cb6.chunk.js.map": "/static/js/721.bd8f7cb6.chunk.js.map",
"546.56d4db54.chunk.js.map": "/static/js/546.56d4db54.chunk.js.map",
"756.c4374ee9.chunk.js.map": "/static/js/756.c4374ee9.chunk.js.map",
"569.6d031637.chunk.js.map": "/static/js/569.6d031637.chunk.js.map",
"309.c25d6129.chunk.js.map": "/static/js/309.c25d6129.chunk.js.map",
"297.75b2592c.chunk.js.map": "/static/js/297.75b2592c.chunk.js.map",
"466.522ea72b.chunk.js.map": "/static/js/466.522ea72b.chunk.js.map",
"649.e33f8ded.chunk.js.map": "/static/js/649.e33f8ded.chunk.js.map",
"620.b2436511.chunk.js.map": "/static/js/620.b2436511.chunk.js.map",
"875.338a400a.chunk.js.map": "/static/js/875.338a400a.chunk.js.map",
"118.668edd6a.chunk.js.map": "/static/js/118.668edd6a.chunk.js.map",
"94.2dac96c0.chunk.js.map": "/static/js/94.2dac96c0.chunk.js.map",
"721.24868da4.chunk.js.map": "/static/js/721.24868da4.chunk.js.map",
"3.8c297d32.chunk.js.map": "/static/js/3.8c297d32.chunk.js.map",
"18.66749cfe.chunk.js.map": "/static/js/18.66749cfe.chunk.js.map",
"426.deacc93d.chunk.js.map": "/static/js/426.deacc93d.chunk.js.map",
Expand All @@ -97,19 +97,19 @@
"469.c281ae42.chunk.js.map": "/static/js/469.c281ae42.chunk.js.map",
"624.2a2c884f.chunk.js.map": "/static/js/624.2a2c884f.chunk.js.map",
"458.d767c1e7.chunk.js.map": "/static/js/458.d767c1e7.chunk.js.map",
"982.693e07e6.chunk.js.map": "/static/js/982.693e07e6.chunk.js.map",
"982.7f8149f7.chunk.js.map": "/static/js/982.7f8149f7.chunk.js.map",
"107.34e13438.chunk.js.map": "/static/js/107.34e13438.chunk.js.map",
"2.97cc29ed.chunk.js.map": "/static/js/2.97cc29ed.chunk.js.map",
"995.765653cf.chunk.js.map": "/static/js/995.765653cf.chunk.js.map",
"refractor-vendor.1802c8b7.chunk.js.map": "/static/js/refractor-vendor.1802c8b7.chunk.js.map",
"react-vendor.ef3775ea.js.map": "/static/js/react-vendor.ef3775ea.js.map",
"329.046f560a.chunk.css.map": "/static/css/329.046f560a.chunk.css.map",
"329.eeb46153.chunk.js.map": "/static/js/329.eeb46153.chunk.js.map",
"31.f7fcaedc.chunk.js.map": "/static/js/31.f7fcaedc.chunk.js.map"
"682.4e43dbd8.chunk.css.map": "/static/css/682.4e43dbd8.chunk.css.map",
"682.bda4a371.chunk.js.map": "/static/js/682.bda4a371.chunk.js.map",
"31.4c831a4d.chunk.js.map": "/static/js/31.4c831a4d.chunk.js.map"
},
"entrypoints": [
"static/js/react-vendor.ef3775ea.js",
"static/css/main.6ef0c5a4.css",
"static/js/main.ab015eec.js"
"static/js/main.0faec81c.js"
]
}
18 changes: 9 additions & 9 deletions coverage/badges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"total": {"lines":{"total":667,"covered":666,"skipped":0,"pct":99.85},"statements":{"total":714,"covered":712,"skipped":0,"pct":99.71},"functions":{"total":167,"covered":167,"skipped":0,"pct":100},"branches":{"total":649,"covered":633,"skipped":0,"pct":97.53},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
{"total": {"lines":{"total":667,"covered":592,"skipped":0,"pct":88.75},"statements":{"total":714,"covered":627,"skipped":0,"pct":87.81},"functions":{"total":167,"covered":143,"skipped":0,"pct":85.62},"branches":{"total":649,"covered":559,"skipped":0,"pct":86.13},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-alpha/src/Pointer.tsx": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-alpha/src/index.tsx": {"lines":{"total":15,"covered":15,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":15,"covered":15,"skipped":0,"pct":100},"branches":{"total":23,"covered":21,"skipped":0,"pct":91.3}}
,"/home/runner/work/react-color/react-color/packages/color-block/src/index.tsx": {"lines":{"total":17,"covered":17,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":17,"covered":17,"skipped":0,"pct":100},"branches":{"total":17,"covered":17,"skipped":0,"pct":100}}
Expand All @@ -8,9 +8,7 @@
,"/home/runner/work/react-color/react-color/packages/color-circle/src/index.tsx": {"lines":{"total":8,"covered":8,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":8,"covered":8,"skipped":0,"pct":100},"branches":{"total":13,"covered":13,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-colorful/src/index.tsx": {"lines":{"total":15,"covered":15,"skipped":0,"pct":100},"functions":{"total":9,"covered":9,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":17,"covered":16,"skipped":0,"pct":94.11}}
,"/home/runner/work/react-color/react-color/packages/color-compact/src/index.tsx": {"lines":{"total":18,"covered":18,"skipped":0,"pct":100},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":20,"covered":20,"skipped":0,"pct":100},"branches":{"total":21,"covered":21,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-convert/src/getContrastingColor.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-convert/src/index.ts": {"lines":{"total":128,"covered":128,"skipped":0,"pct":100},"functions":{"total":27,"covered":27,"skipped":0,"pct":100},"statements":{"total":139,"covered":139,"skipped":0,"pct":100},"branches":{"total":74,"covered":74,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-convert/src/utils.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":15,"covered":15,"skipped":0,"pct":100},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-convert/src/index.ts": {"lines":{"total":145,"covered":71,"skipped":0,"pct":48.96},"functions":{"total":32,"covered":8,"skipped":0,"pct":25},"statements":{"total":160,"covered":75,"skipped":0,"pct":46.87},"branches":{"total":84,"covered":10,"skipped":0,"pct":11.9}}
,"/home/runner/work/react-color/react-color/packages/color-editable-input-hsla/src/index.tsx": {"lines":{"total":27,"covered":27,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":35,"covered":35,"skipped":0,"pct":100},"branches":{"total":43,"covered":43,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-editable-input-rgba/src/index.tsx": {"lines":{"total":32,"covered":32,"skipped":0,"pct":100},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":34,"covered":34,"skipped":0,"pct":100},"branches":{"total":54,"covered":54,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-editable-input/src/index.tsx": {"lines":{"total":32,"covered":32,"skipped":0,"pct":100},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":34,"covered":34,"skipped":0,"pct":100},"branches":{"total":28,"covered":27,"skipped":0,"pct":96.42}}
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-alpha/src/Pointer.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-alpha/
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-alpha/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../../index.html">All files</a> color-alpha/src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-alpha/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-alpha/
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-block/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../../index.html">All files</a> color-block/src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-block/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-block/
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-chrome/src/Arrow.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-chrome
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-chrome/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../../index.html">All files</a> color-chrome/src</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-29T07:55:19.230Z
at 2024-01-13T07:01:58.338Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 9db635d

Please sign in to comment.