scttcper / ngx-color

🎨 Color Pickers from Sketch, Photoshop, Chrome, Github, Twitter & more
https://ngx-color.vercel.app
MIT License
435 stars 55 forks source link

feat: implement the ControlValueAccessor instance #349

Closed mmuenker closed 3 years ago

mmuenker commented 3 years ago

Allows to use any color component with the formControl and formControlName directives

codecov-commenter commented 3 years ago

Codecov Report

Merging #349 (5c6e3e3) into master (3f919b6) will decrease coverage by 1.40%. The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #349      +/-   ##
==========================================
- Coverage   56.88%   55.47%   -1.41%     
==========================================
  Files          45       45              
  Lines         661      685      +24     
  Branches      152      152              
==========================================
+ Hits          376      380       +4     
- Misses        260      280      +20     
  Partials       25       25              
Impacted Files Coverage Δ
src/lib/components/alpha/alpha-picker.component.ts 83.33% <0.00%> (-7.58%) :arrow_down:
src/lib/components/block/block.component.ts 85.71% <0.00%> (-6.60%) :arrow_down:
src/lib/components/chrome/chrome.component.ts 70.00% <0.00%> (-7.78%) :arrow_down:
src/lib/components/circle/circle.component.ts 66.66% <0.00%> (-6.07%) :arrow_down:
src/lib/components/compact/compact.component.ts 66.66% <0.00%> (-6.07%) :arrow_down:
src/lib/components/github/github.component.ts 60.00% <0.00%> (-6.67%) :arrow_down:
src/lib/components/hue/hue-picker.component.ts 69.23% <0.00%> (-5.77%) :arrow_down:
src/lib/components/material/material.component.ts 54.54% <0.00%> (-2.60%) :arrow_down:
...rc/lib/components/photoshop/photoshop.component.ts 77.77% <0.00%> (-9.73%) :arrow_down:
src/lib/components/shade/shade-picker.component.ts 77.77% <0.00%> (-9.73%) :arrow_down:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3f919b6...5c6e3e3. Read the comment docs.

scttcper commented 3 years ago

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

The release is available on:

Your semantic-release bot :package::rocket: