This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Range): handle float, allow reset and respect boundaries
* feat(RangeInput): handle min / max validation on input * refactor(RangeInput): remove useless stop propagation call * chore(deps): add enzyme to JSON * refactor(RangeInput): handle min / max as placeholder + validation on input * refactor(RangeInput): always send values to refine * refactor(RangeInput): remove unused import * chore(stories): sort RangeInput stories * refactor(connectRange): handle boundaries on refine * refactor(connectRange): throw an error when default refinement is out of range * fix(RangeInput): update placeholder color same as SeachBox * refactor(RangeInput): throw error on refine earlier * feat(RangeInput): handle precision with step * feat(connectRange): add precision props * refactor(connectRange): compute range with precision * refactor(connectRange): compute current refinement from range * refactor(connectRange): avoid useless variable and simplify test * chore(stories): add RangeInput story for precision * chore: add enzyme to json to serializer * refactor: remove unused variable * chore(stories): remove min/max from RangeInput precision story * fix(RangeInput): display range & value only when canRefine is true * docs(RangeInput): add precision option * fix(Stories): add missing precision props to RangeInput playground * refactor(connectRange): extract computation of next value * feat(connectRange): handle range with precision always with the same behaviour * refactor(connectRange): use 2 as default precision * docs(RangeInput): use 2 as default precision * refactor(stories): update story with precision of 0
- Loading branch information
Showing
10 changed files
with
2,121 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.