Skip to content

Commit

Permalink
v1.3.4 feat: support null/undefined & add hue props (#128). f8c7183
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 21, 2023
1 parent 039766a commit 2e8738c
Show file tree
Hide file tree
Showing 68 changed files with 189 additions and 159 deletions.
10 changes: 5 additions & 5 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.6ef0c5a4.css",
"main.js": "/static/js/main.dda15700.js",
"main.js": "/static/js/main.4ffb1c37.js",
"static/css/281.c7b2c18c.chunk.css": "/static/css/281.c7b2c18c.chunk.css",
"static/js/281.4df7504b.chunk.js": "/static/js/281.4df7504b.chunk.js",
"static/js/113.31e40c6e.chunk.js": "/static/js/113.31e40c6e.chunk.js",
Expand Down Expand Up @@ -41,7 +41,7 @@
"static/js/996.e499943e.chunk.js": "/static/js/996.e499943e.chunk.js",
"static/js/852.6f6cb68f.chunk.js": "/static/js/852.6f6cb68f.chunk.js",
"static/js/469.7af4a86a.chunk.js": "/static/js/469.7af4a86a.chunk.js",
"static/js/624.784913d1.chunk.js": "/static/js/624.784913d1.chunk.js",
"static/js/624.8049ee84.chunk.js": "/static/js/624.8049ee84.chunk.js",
"static/js/458.f14d221b.chunk.js": "/static/js/458.f14d221b.chunk.js",
"static/js/982.61d56819.chunk.js": "/static/js/982.61d56819.chunk.js",
"static/js/107.466b97f5.chunk.js": "/static/js/107.466b97f5.chunk.js",
Expand All @@ -55,7 +55,7 @@
"index.html": "/index.html",
"static/media/home.svg": "/static/media/home.7d51f25c64fe597ec540c3e724748f4e.svg",
"main.6ef0c5a4.css.map": "/static/css/main.6ef0c5a4.css.map",
"main.dda15700.js.map": "/static/js/main.dda15700.js.map",
"main.4ffb1c37.js.map": "/static/js/main.4ffb1c37.js.map",
"281.c7b2c18c.chunk.css.map": "/static/css/281.c7b2c18c.chunk.css.map",
"281.4df7504b.chunk.js.map": "/static/js/281.4df7504b.chunk.js.map",
"113.31e40c6e.chunk.js.map": "/static/js/113.31e40c6e.chunk.js.map",
Expand Down Expand Up @@ -95,7 +95,7 @@
"996.e499943e.chunk.js.map": "/static/js/996.e499943e.chunk.js.map",
"852.6f6cb68f.chunk.js.map": "/static/js/852.6f6cb68f.chunk.js.map",
"469.7af4a86a.chunk.js.map": "/static/js/469.7af4a86a.chunk.js.map",
"624.784913d1.chunk.js.map": "/static/js/624.784913d1.chunk.js.map",
"624.8049ee84.chunk.js.map": "/static/js/624.8049ee84.chunk.js.map",
"458.f14d221b.chunk.js.map": "/static/js/458.f14d221b.chunk.js.map",
"982.61d56819.chunk.js.map": "/static/js/982.61d56819.chunk.js.map",
"107.466b97f5.chunk.js.map": "/static/js/107.466b97f5.chunk.js.map",
Expand All @@ -110,6 +110,6 @@
"entrypoints": [
"static/js/react-vendor.e1575b27.js",
"static/css/main.6ef0c5a4.css",
"static/js/main.dda15700.js"
"static/js/main.4ffb1c37.js"
]
}
14 changes: 7 additions & 7 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.
4 changes: 2 additions & 2 deletions coverage/coverage-summary.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"total": {"lines":{"total":657,"covered":657,"skipped":0,"pct":100},"statements":{"total":702,"covered":702,"skipped":0,"pct":100},"functions":{"total":166,"covered":166,"skipped":0,"pct":100},"branches":{"total":637,"covered":625,"skipped":0,"pct":98.11},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
{"total": {"lines":{"total":661,"covered":660,"skipped":0,"pct":99.84},"statements":{"total":707,"covered":705,"skipped":0,"pct":99.71},"functions":{"total":167,"covered":167,"skipped":0,"pct":100},"branches":{"total":643,"covered":629,"skipped":0,"pct":97.82},"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 @@ -20,7 +20,7 @@
,"/home/runner/work/react-color/react-color/packages/color-material/src/index.tsx": {"lines":{"total":18,"covered":18,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":18,"covered":18,"skipped":0,"pct":100},"branches":{"total":20,"covered":20,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-name/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":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-saturation/src/Pointer.tsx": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-saturation/src/index.tsx": {"lines":{"total":9,"covered":9,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":10,"covered":8,"skipped":0,"pct":80}}
,"/home/runner/work/react-color/react-color/packages/color-saturation/src/index.tsx": {"lines":{"total":13,"covered":12,"skipped":0,"pct":92.3},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":14,"covered":12,"skipped":0,"pct":85.71},"branches":{"total":16,"covered":12,"skipped":0,"pct":75}}
,"/home/runner/work/react-color/react-color/packages/color-shade-slider/src/index.tsx": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":10,"covered":10,"skipped":0,"pct":100}}
,"/home/runner/work/react-color/react-color/packages/color-sketch/src/index.tsx": {"lines":{"total":30,"covered":30,"skipped":0,"pct":100},"functions":{"total":12,"covered":12,"skipped":0,"pct":100},"statements":{"total":32,"covered":32,"skipped":0,"pct":100},"branches":{"total":31,"covered":30,"skipped":0,"pct":96.77}}
,"/home/runner/work/react-color/react-color/packages/color-slider/src/index.tsx": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":12,"covered":12,"skipped":0,"pct":100},"branches":{"total":14,"covered":14,"skipped":0,"pct":100}}
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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-chrome/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-circle/src/Point.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-circle
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-circle/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-circle/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-circle/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-circle
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-colorful/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-colorful/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-colorful/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-colorf
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-compact/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-compact/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-compact/src/index.tsx.html
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-compac
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-conver
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-convert/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ <h1><a href="../../index.html">All files</a> color-convert/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-convert/src/index.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-conver
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-convert/src/utils.ts.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-conver
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
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-editable-input-hsla/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-editab
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
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-editable-input-rgba/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ <h1><a href="../../index.html">All files</a> / <a href="index.html">color-editab
<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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/color-editable-input/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-editable-input/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-09-19T01:49:25.737Z
at 2023-09-21T16:57:41.371Z
</div>
<script src="../../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 2e8738c

Please sign in to comment.