1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/component-library
Garrett Bear 4e1a96b4ef
Feat/18308/ds popover header component (#18489)
* add popover component

popperjs init

popperjs hook init

popper arrow styles

fix popover story

add popover positions constant

story testing

popover structure

popper placement

make forwardref

fix popover with TS updates

modifiers

createPortal

add useClickAway hook

newer popover component build

simplifed popperjs with toggle to show/hide

toggle popover

modal version

popover progress 65%

add hover functionality

hide folder

storybook demo

add close button props

working popover with arrow

title prop breaking

popover TS conversion

TS updates

update test

add test

add arrow test

add stories

remove unused hook

fix docs

add popoverheader

types fix

Fix typo: detetcted-tokens-link -> detected-tokens-link (#18408)

Typography to text (#18382)

* Typography to text

* Update README.md

* Update README.md

* minor changes in custom file

* minor change

* Resolved Conflict issues

---------

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

fix: Pass correct optimism chain id to gas estimation (#18478)

removes unnecessary images (#18484)

Fix firsttimeloaded logic (#18344)

* use session storage, instead of chrome.runtime.onStartup and globalThis, for firstTimeLoaded architecture

* Ensure account tracker accounts remain defined upon service worker restart

* lint fix

* Simplify code

* Only call browser.storage.session in mv3

* Only call browser.storage.session.set after resetStates in mv3

* fix metamask controller reset states unit tests

* fix test

* fix test

* Actually fix tests

* lint fix

[FLASK] More Snaps E2E Optimization and Delay Reductions (#18245)

* bip32 delay reduction

* asserts changed to waitFors in 32/44

* scrollTo change

* replaced delay for firefox flake

* more reduced delays

* more delay reductions and changes

* raise paralellism to 4 for snaps tests

* additional delay changes

* fixed update code

* removed comment

* removed another comment

Fix switch-ethereum-chain handler by passing configuration id to setA… (#18483)

* Fix switch-ethereum-chain handler by passing configuration id to setActiveNetwork

* fix e2e test

* Fix e2e tests

* Update test/e2e/tests/switch-custom-network.spec.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Revert "Update test/e2e/tests/switch-custom-network.spec.js"

This reverts commit be533ff7f25e1fd42e951d9b817b8438035ae256.

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

Bumping notification id's to 18 & 19 (#18460)

* Popover header update with TS ButtonIcon

* update PopoverHeader types

* update using new Text enums

* readme fix

* direct file import

* remove forwardRef and add action argtypes

* remove console.logs

* add arg types and fix TS on HeaderBase

* george nits

* popover header snapshot update

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-19 10:36:01 -07:00
..
avatar-account update text component color to use box color (#18246) 2023-03-23 13:00:37 -07:00
avatar-base UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
avatar-favicon UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
avatar-icon Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
avatar-network UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
avatar-token UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
badge-wrapper UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
banner-alert Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
banner-base update ButtonIcon to TS (#18448) 2023-04-12 08:55:24 -07:00
banner-tip Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
button Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
button-base Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
button-icon update ButtonIcon to TS (#18448) 2023-04-12 08:55:24 -07:00
button-link Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
button-primary Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
button-secondary Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
form-text-field Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
header-base Feat/18308/ds popover header component (#18489) 2023-04-19 10:36:01 -07:00
help-text Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
icon update ButtonIcon to TS (#18448) 2023-04-12 08:55:24 -07:00
input update text component color to use box color (#18246) 2023-03-23 13:00:37 -07:00
label Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
modal-content Adding ModalContent component (#18175) 2023-03-22 17:17:19 -07:00
modal-overlay Adding ModalOverlay component (#18161) 2023-03-23 06:36:09 -07:00
picker-network Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
popover-header Feat/18308/ds popover header component (#18489) 2023-04-19 10:36:01 -07:00
tag update text component color to use box color (#18246) 2023-03-23 13:00:37 -07:00
tag-url Updating icon imports to TS version in component-library folder (#18449) 2023-04-05 09:11:10 -07:00
text update to enum DS Text component (#18584) 2023-04-17 10:17:28 -07:00
text-field UX Multichain: updated ethereum logo icon (#18528) 2023-04-19 20:55:19 +05:30
text-field-search update ButtonIcon to TS (#18448) 2023-04-12 08:55:24 -07:00
COMPONENT-LIBARY.stories.mdx Adding readme for component-library folder (#15381) 2022-07-29 16:24:32 -05:00
component-library-components.scss Adding ModalOverlay component (#18161) 2023-03-23 06:36:09 -07:00
index.js Feat/18308/ds popover header component (#18489) 2023-04-19 10:36:01 -07:00
README.md Adding readme for component-library folder (#15381) 2022-07-29 16:24:32 -05:00

Component Library

⚠️ THESE COMPONENTS HAVE BREAKING CHANGES ⚠️

This folder contains new design system(DS 2.0) components that will be used for the IA/Nav redesign work. They are currently a WIP and should not be used for feature work. That should change in the near future but for the time being please use existing UI components in ui/components/ui

If internal folks have any questions please reach out the design system team via the internal slack channel #metamask-design-system 💁

DS components figma file (internal)