-
Notifications
You must be signed in to change notification settings - Fork 32
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
chore(PaymentCard): refactor payment card to ts #3625
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ef394c1
to
26017b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So far, this looks nice 🍏
packages/dnb-eufemia/src/extensions/payment-card/stories/PaymentCard.stories.tsx
Show resolved
Hide resolved
packages/dnb-eufemia/src/extensions/payment-card/stories/PaymentCard.stories.tsx
Outdated
Show resolved
Hide resolved
f479d55
to
dac526f
Compare
0efc600
to
aca2531
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
aca2531
to
08a1af2
Compare
08a1af2
to
4f10c12
Compare
be669b7
to
b9f37ab
Compare
| `Expired` | | ||
| `Blocked` | | ||
| `Active` | | ||
| Properties | Type | Description | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think I should change this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be cool to have an entry in the v11.mdx
file ⭐
packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx
Outdated
Show resolved
Hide resolved
packages/dnb-design-system-portal/src/docs/uilib/about-the-lib/releases/eufemia/v11-info.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see there's a few changes/updates to a few card designs in this PR:
- VX1 has gotten bank axept logo added.
- VX4 has gotten bank axept logo removed.
Are these changes correct?
When looking at the Figma sketch(Not 100% sure if this is the correct source), there I don't find VX1 anymore, and it looks like VX4 has the bank axept logo:
I don't know what's correct here. Is there a designer or so that we could ask to verify it?
Just asking them to look through the snapshot/screenshot, and say if they see anything strange.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I like this, very good :)
I think the Sbanken cards that you've implemented looks great. Should we also add a link to Sbanken cards in this PR, like we have a link to DNB cards in PaymentCards docs as well. |
|
||
export const PaymentCardTypeProperties: PropertiesTableProps = { | ||
displayName: { | ||
doc: 'used by the screan reader.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc: 'used by the screan reader.', | |
doc: 'used by the screen reader.', |
Here is the link, I'll add it to the docs as well |
- remove all use of the daggy library - Minor changes to the API in order to remove this dependency - major refactor of all components
Update all card styles to match the old
- Revert the export - cleanup
8b4f41e
to
3d3ec75
Compare
Please test and give feedback on the docs I've added here