Commit 4059f91
authored
[LG-5504] feat(input-box): add
* feat(input-box): implement InputBoxContext and InputBoxProvider with associated types and tests
* remove segement files
* feat(input-box): implement InputSegment component with styles, tests, and stories
* feat(input-box): add @leafygreen-ui/a11y dependency and update InputSegment component references
* refactor(input-box): update createExplicitSegmentValidator tests to use object parameter format for improved clarity and consistency
* test(input-box): refactor InputBoxContext tests for improved readability by destructuring context values
* refactor(input-box): update InputBoxContext types to extend SharedInputBoxTypes and remove deprecated InputSegment types
* fix(input-box): correct comment formatting in testutils.mocks.ts for clarity
* feat(input-box): add InputSegment component for modular input handling
* feat(input-box): add placeholder for InputSegment types
* refactor(input-box): move InputSegmentChangeEventHandler import to shared types for better organization
* refactor(input-box): rename min and max props to minSegmentValue and maxSegmentValue for consistency
* refactor(input-box): simplify placeholder logic in InputSegment stories using defaultPlaceholderMock
* refactor(input-box): update InputSegment styles to use dynamic theme styles and improve organization
* feat(input-box): extend InputSegmentProps to include hours, minutes, and seconds segments
* refactor(input-box): rename onChange and onBlur props in InputSegment to improve clarity
* refactor(input-box): rename shouldSkipValidation prop to shouldValidate for clarity and consistency
* refactor(input-box): reorganize imports in testutils for better clarity and structure
* refactor(input-box): remove deprecated InputSegment types and update imports in InputBoxContext
* refactor(input-box): update InputSegmentChangeEventHandler import to use type alias from shared.types
* refactor(input-box): enhance InputSegment types and documentation, adding isInputSegment utility and improving component descriptions
* refactor(input-box): streamline InputSegment exports by removing unused types
* test(input-box): add accessibility test for InputSegment to ensure no violations when tooltip is closed
* refactor(input-box): update InputSegment to remove size prop and enhance type definitions for better clarity
* refactor(input-box): enhance InputSegment types by adding onChange and onBlur event handlers with detailed documentation
* refactor(input-box): update InputSegment types to extend from 'div' and include additional props for improved functionality
* refactor(input-box): remove InputBoxContext and related tests to streamline input box functionality
* refactor(input-box): simplify InputSegment types by removing Value generic and updating related components for improved clarity
* refactor(input-box): update InputSegment types to include value prop and remove unused segmentRefs and segments properties for improved clarity
* testing
* refactor(input-box): remove unused dependencies and update InputSegment types for consistency
* update lock file
* testing
* testing build
* testing build
* refactor(input-box): rename charsPerSegment to charsCount for consistency across InputSegment componentsInputSegment (#3293)1 parent ce2db91 commit 4059f91
File tree
17 files changed
+1930
-78
lines changed- packages
- input-box
- src
- InputSegment
- testutils
- utils
- createExplicitSegmentValidator
- getNewSegmentValueFromInputValue
- time-input/src/TimeInput
17 files changed
+1930
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments