1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/ui
Suryansh Anand c92d7380df
Migrates avatar base to TypeScript (#18494)
* Converted file extension from .js to .tsx

* Updated README docs to match the enums. Resolved type errors

* Updated AvatarBaseSizes enum values to string literals

* Added TEXT_TRANSFORM.UPPERCASE as default value of textTransform in base file

* lint fix

* Solved liniting errors in avatar-base

* Made enum more consistent, added desc for AvatarBaseProps

* Updated snapshots of AvatarBase and exported AvatarBaseProps in index.ts

* Made textTransform property accept right values in avatar-base.tsx

* Adding temporary changed extensions

* Reverted files back to tsx and resolved conflicts

* Solved linting errors

* AvatarBaseProps now extends TextProps

* Changing extension to resolve conflict

* Reverted extensions back to tsx after resolving conflicts

* Added forwardRef in AvatarBase

* Updated import name of AvatarBaseSize in README.mdx. Removed empty children attribute from AvatarBase storybook file

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-03 17:30:07 -07:00
..
__mocks__ Refactoring isManifestV3 variable (#15568) 2022-08-16 20:51:42 +05:30
components Migrates avatar base to TypeScript (#18494) 2023-05-03 17:30:07 -07:00
contexts Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
css [MMI] Add interactive-replacement-token-page (#18683) 2023-04-27 10:45:37 +02:00
ducks UX: Multichain: Implement Account Details Popover (#18811) 2023-05-03 12:09:13 -05:00
helpers Fixing broken responsive box background color prop and color fix (#18978) 2023-05-03 08:18:56 -05:00
hooks Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
pages UX: Multichain: Implement Account Details Popover (#18811) 2023-05-03 12:09:13 -05:00
selectors [MMI] Don't group transactions by nonce if they are custodial Tx (#18982) 2023-05-03 17:00:38 +02:00
store UX: Multichain: Implement Account Details Popover (#18811) 2023-05-03 12:09:13 -05:00
index.js Rename provider to providerConfig (#18907) 2023-05-02 13:23:20 -02:30
index.test.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00