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

Add some props to PlanCard #883

Merged
merged 5 commits into from
Nov 10, 2022
Merged

Conversation

Maki44
Copy link
Contributor

@Maki44 Maki44 commented Nov 9, 2022


name: 'Pull request'
about: A new pull request

New Pull Request

Checklist

  • I am not disclosing a vulnerability.
  • My code is conform the code style
  • I have made corresponding changes to the documentation
  • I have updated Typescript definitions when needed

Issue Description

related to issue

Solution Description

  • Add horizontalLine prop where it controls the horizontal line on the top.
  • Add borderColor and backgroundColor props So we don't strict to the white background.
  • And also Icon prop for the description list
    New Looks
    Screenshot 2022-11-09 at 17 12 30 (2)
    Screenshot 2022-11-09 at 17 12 39 (2)

@changeset-bot
Copy link

changeset-bot bot commented Nov 9, 2022

🦋 Changeset detected

Latest commit: 245feee

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web3uikit/core Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Maki44 Maki44 requested review from AbhinavMV and BillyG83 and removed request for AbhinavMV November 9, 2022 16:17
@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

size-limit report 📦

Path Size
packages/core/dist/index.js 253.68 KB (+0.07% 🔺)
packages/icons/dist/index.es.js 64.37 KB (0%)
packages/web3/dist/index.js 1.43 MB (+0.01% 🔺)
packages/web3uikit/dist/index.js 1.73 MB (+0.02% 🔺)

/**
* Card background color
*/
backgroundColor?: typeof color | string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for typeof color to work inside the component you have to use color[backgroundColor] since that is not being done this can be removed since we are are also taking string

@AbhinavMV
Copy link
Collaborator

@Maki44 Just have that one comment, rest everything looks good

@AbhinavMV
Copy link
Collaborator

Nice work LGTM 🚀

@AbhinavMV AbhinavMV merged commit 5246f67 into master Nov 10, 2022
@AbhinavMV AbhinavMV deleted the fix/planCard-to-support-admin-style branch November 10, 2022 10:54
@github-actions github-actions bot mentioned this pull request Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants