-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(transfer): align with select & monorepo structure
Fixes #50 This commit does several things: * Use strings as selected values * Use strings to store which options are highlighted * Removes jest test abstractions * Simplifies internal names * Replaces common.js files with files whose names match their content * Moves the Transfer component from core to widgets * Adds the .js extension to all import statements where applicable * Provides the correct disabled & dataTest props to the re-order up * button's icon BREAKING CHANGE: The Transfer component now expects options to be passed in as objects, not as children. Custom components can be provided via the optionComponent prop for all options or via the component property on an individual option. BREAKING CHANGE: The Transfer component now expects strings as selected values instead of option objects. BREAKING CHANGE: The Transfer component is now part of widgets
- Loading branch information
Showing
110 changed files
with
1,505 additions
and
2,291 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
**/src/locales/* | ||
**/cypress/assets | ||
**/src/locales/* |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
packages/core/src/Transfer/__e2e__/display-order.stories.e2e.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.