1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-29 23:58:06 +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
avatar-base
avatar-favicon
avatar-icon
avatar-network
avatar-token
badge-wrapper
banner-alert
banner-base
banner-tip
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
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
header-base Feat/add header base component (#18043) 2023-03-23 08:24:23 -07:00
help-text
icon
input
label
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
tag
tag-url
text
text-field
text-field-search
COMPONENT-LIBARY.stories.mdx
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

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)