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 ed5b78d61b
Feat/add header base component (#18043)
* add header base component

* fix resizing issue

* add center

* add demo

* header base using flexbox

* fix button issue

* header base clean up

* update tests

* add readme description

* add docs

* update snapshot

* add more to readme

* convert to TS

* fix file name

* fix types and colors

* fix classname error

* fix boxprops import

* fix boxprops

* prop fix

* fix errors

* Update ui/components/component-library/header-base/header-base.stories.tsx

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/component-library/header-base/header-base.types.ts

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Update ui/components/component-library/header-base/header-base.types.ts

Co-authored-by: George Marshall <george.marshall@consensys.net>

* headerbase fixes

* fix export

* remove Math.max

* change order for index on storybook to prep build

* revert back to order

* remove type from export

* add type to export

* change export of headerbase function

* export update

* revert back to normal

* add type to export

* Removing interface export from index

---------

Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-03-23 08:24:23 -07:00
..
avatar-account AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
avatar-base AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
avatar-favicon AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
avatar-icon AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
avatar-network AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
avatar-token AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
badge-wrapper Box types update (#18160) 2023-03-16 13:18:00 -07:00
banner-alert Updating Icon html element to span (#17790) 2023-02-22 14:42:50 -08:00
banner-base update to add end icon support (#17776) 2023-02-22 09:42:06 -08:00
banner-tip add banner-tip component (#17814) 2023-03-08 13:27:24 -08:00
button Fix/button base ellipsis support (#18205) 2023-03-21 19:19:49 -07:00
button-base Fix/button base ellipsis support (#18205) 2023-03-21 19:19:49 -07:00
button-icon Updating Icon html element to span (#17790) 2023-02-22 14:42:50 -08:00
button-link Fix/button base ellipsis support (#18205) 2023-03-21 19:19:49 -07:00
button-primary Fix/button base ellipsis support (#18205) 2023-03-21 19:19:49 -07:00
button-secondary Fix/button base ellipsis support (#18205) 2023-03-21 19:19:49 -07:00
form-text-field Updating label according to insight report (#18151) 2023-03-17 10:24:07 -07:00
header-base Feat/add header base component (#18043) 2023-03-23 08:24:23 -07:00
help-text Upgrading the Import Account modal (#17763) 2023-03-06 09:48:28 -08:00
icon Updating Icon html element to span (#17790) 2023-02-22 14:42:50 -08:00
input Adding Input component and updating TextFieldBase (#17664) 2023-02-21 10:35:28 -08:00
label Updating label according to insight report (#18151) 2023-03-17 10:24:07 -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 AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
tag feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
tag-url AvatarBase font-size logic (#18203) 2023-03-17 10:06:59 -07:00
text Upgrading the Import Account modal (#17763) 2023-03-06 09:48:28 -08:00
text-field Updating AvatarAccount objects to enums (#17727) 2023-03-10 12:12:55 -08:00
text-field-search Updating Icon html element to span (#17790) 2023-02-22 14:42:50 -08: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/add header base component (#18043) 2023-03-23 08:24:23 -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)