You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This task aims to remove circular dependencies in the design system components and fix how types are exported. This follows a similar refactor done in the MetaMask extension (see reference PR).
Technical Details
Remove circular dependencies by:
Creating separate constants files for size mappings
Directly importing components instead of using index files
Using `import type` for type-only imports
Fix type exports by:
Moving type definitions to their respective component files
Avoiding re-exporting types from other components
Using proper enum definitions instead of reusing from other components
Description
This task aims to remove circular dependencies in the design system components and fix how types are exported. This follows a similar refactor done in the MetaMask extension (see reference PR).
Technical Details
Acceptance Criteria
References
ui/components/component-library/*
metamask-extension#30267The text was updated successfully, but these errors were encountered: