vazco / uniforms

A React library for building forms from any schema.
https://uniforms.tools
MIT License
1.94k stars 239 forks source link

Replace property `allowedValues` + `transform` with `options` #1229

Closed kestarumper closed 1 year ago

kestarumper commented 1 year ago

This PR closes #806.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1229 (39a3227) into master (1c1e7cc) will decrease coverage by 0.66%. The diff coverage is 70.55%.

:exclamation: Current head 39a3227 differs from pull request most recent head c326511. Consider uploading reports for the commit c326511 to get more accurate results

@@            Coverage Diff             @@
##           master    #1229      +/-   ##
==========================================
- Coverage   98.29%   97.63%   -0.66%     
==========================================
  Files         231      231              
  Lines        3804     3812       +8     
  Branches      997     1028      +31     
==========================================
- Hits         3739     3722      -17     
+ Misses          8        4       -4     
- Partials       57       86      +29     
Impacted Files Coverage Δ
packages/uniforms-bootstrap3/src/wrapField.tsx 100.00% <ø> (ø)
packages/uniforms-bootstrap4/src/wrapField.tsx 100.00% <ø> (ø)
packages/uniforms-bootstrap5/src/wrapField.tsx 100.00% <ø> (ø)
packages/uniforms-material/src/BoolField.tsx 95.00% <ø> (-0.24%) :arrow_down:
packages/uniforms-mui/src/BoolField.tsx 100.00% <ø> (ø)
packages/uniforms/src/filterDOMProps.ts 100.00% <ø> (ø)
packages/uniforms-bootstrap4/src/RadioField.tsx 70.58% <16.66%> (-22.75%) :arrow_down:
packages/uniforms-bootstrap5/src/RadioField.tsx 70.58% <16.66%> (-22.75%) :arrow_down:
packages/uniforms-bootstrap3/src/RadioField.tsx 76.47% <33.33%> (-16.87%) :arrow_down:
packages/uniforms-mui/src/RadioField.tsx 90.00% <33.33%> (-5.00%) :arrow_down:
... and 25 more

... and 18 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.