Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Additional
NumberControl
tests (#23)
* Port over existing code * Fix typing errors * Exclude .ts files from prodution build * Exclude all files with .test. from prod build * Add untracked file * Remove unused file * Move tests to another branch * Push trivial change * Revert omit change * Remove NumericControlProps and use cast * Add existing tests * Revert "Add existing tests" This reverts commit 3c671dd. * Add existing tests * Data can be something other than Record<string, unknown> * Update to new registry pattern * Remove unused schemas * Deleted stories from other branch * Fix test * Pass min, max, step, and controls to InputNumber also * Only show percentage addonAfter if isPercentage * Only show percentage addonAfter if isPercentage * Fix marginLeft on pure number slider * Update tooltip logic for non-percentages on slider * Update logic to fill functionality gaps * Add logic for required asterisk * Fix tooltips * Use new schemas in tests * Update tests to use new schemas * Update value default logic * Add tests for conditional input box on slider * Add tests for conditional input box on slider * Add test for onBlur * Add tests for slider units * Fix merge conflict * Revert test render changes * Revert test render changes * Remove act and leverage userEvent instead of input.blur * Remove act impor
- Loading branch information