Closed tujoworker closed 5 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
eufemia | 🛑 Canceled (Inspect) | Nov 22, 2024 7:56am |
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.
Does it exist any examples and/or internal form components which should use this new Form.Card
instead of Card
now?
A different way of phrasing the question above, is there any places where we should change from Card
to Form.Card
in our codebase?
Yes, many places. I work on this right now. Many visual tests needs to be updated too.
After this PR is merged, do we still support using a Card
inside of a form, in the same way we did before? Meaning it will look the same, etc.
Or will we only support Form.Card
inside of a form?
If we still will support Card
, do we have or need to have any screenshot tests and/or tests for this scenario?
After this PR is merged, do we still support using a Card inside of a form, in the same way we did before? Meaning it will look the same, etc.
Yes.
Or will we only support Form.Card inside of a form?
No – Form.Card
does only ensure more consistent and easier usage to get the correct "classical" form look.
If we still will support Card, do we have or need to have any screenshot tests and/or tests for this scenario?
We still have some for the card component. I think we have covered what we need to cover.
:tada: This PR is included in version 10.57.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
With this we introduce
Form.Card
a new wrapper component for Card. It defaults to true onoutset
andstack
. So when using it, it automatically gives the needed styles for classical forms.Here are the docs.
We also need to set a higher gap between the Wizard sidebar and its content: