Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Admin UI - Card Component #4405

Open
wants to merge 10 commits into
base: feat/container
Choose a base branch
from

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Nov 21, 2024

Note

This PR is targeting feat/container temporarily. Once that one is merged, it'll target new-admin-ui branch again. This happened because I wanted to use Container (in SB stories), in order to restrict the width of the card, which is by default fluid (as agreed with Kreso).

In hindsight, I could've probably kept it simple and just use a couple of TW classes to restrict the width of the Card. But yeah... realized that when it was too late. 🙃

Changes

This PR introduces the Card component.

image

Extra Changes

With Kreso, we introduced an additional button variant. Basically an icon-only button, with a larger icon in it. This is utilized in the Card component, here:

image

Note that I've added an additional story within the Button section in SB.

How Has This Been Tested?

Manually.

…into adrian/remaining-tokens-card

# Conflicts:
#	packages/admin-ui/src/Card/Card.stories.tsx
@adrians5j adrians5j marked this pull request as draft November 21, 2024 10:04
@adrians5j adrians5j changed the base branch from feat/new-admin-ui to feat/container November 22, 2024 10:48
@adrians5j adrians5j marked this pull request as ready for review November 22, 2024 10:54
Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants