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

release of v10.55 #4220

Merged
merged 40 commits into from
Nov 8, 2024
Merged

release of v10.55 #4220

merged 40 commits into from
Nov 8, 2024

Conversation

langz
Copy link
Contributor

@langz langz commented Nov 5, 2024

No description provided.

tujoworker and others added 13 commits November 4, 2024 09:55
We do that by moving the `transformLabel` logic from `useValueProps` to
`ValueBlock`.
…g `country` with a path (#4215)

Fixes #4200

---------

Co-authored-by: Anders <[email protected]>
…#4208)

This PR introduces a new property, `layoutOptions`, allowing for
adjustment of the width in horizontally aligned layouts.
Since its primary use case is for input fields, we are also updating the
docs examples for the
[String](https://eufemia.dnb.no/uilib/extensions/forms/base-fields/String/)
and
[Number](https://eufemia.dnb.no/uilib/extensions/forms/base-fields/Number/)
fields accordingly.


Quick example:


```tsx
<Field.Provider
  layout="horizontal"
  layoutOptions={{
    width: 'medium', // can be a rem value
  }}
>
  <Field.String label="Label text" />
  <Field.Number label="Label with a long text that will wrap" />
  <Field.Currency label="Currency field />
</Field.Provider>

```
…typo (#4214)

Currently on ultra wide monitors or if you have zoom set to =< 67%, the
cards on https://eufemia.dnb.no/ will not be aligned properly to the
search bar.

This was a quick fix I found, but I am not an UX/UI expert so let me
know if this breaks some accessibility rules :)

Not centered:

![not-centered](https://github.com/user-attachments/assets/96680f02-1292-4944-b175-241d1a347a83)

Centered correctly:

![centered](https://github.com/user-attachments/assets/76c8a955-395e-4090-9473-31a6cbf4e465)

---------

Co-authored-by: Viktor Klindt <[email protected]>
Co-authored-by: Tobias Høegh <[email protected]>
Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 2:48pm

Copy link

codesandbox-ci bot commented Nov 5, 2024

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.

…#4236)

For fields/components that uses a `fieldset` the `gap` spacing did not
apply properly:

<img width="376" alt="Screenshot 2024-11-06 at 14 21 27"
src="https://github.com/user-attachments/assets/4c289385-bf99-4b84-b1f7-d6ab7e128c08">

---

I'm not 100% sure why we not did always make the margin check. But it
should actually not effect other styles, as we now check if a spacing
class is applied or not.

When this is in main, we may add an example to #4225
langz and others added 2 commits November 8, 2024 13:59
… Field.Selection or Field.ArraySelection (#4225)

As of now, this PR just adds an example of what should be fixed/improved
upon.

Here's a link to the example in the [deploy
preview](https://eufemia-git-chore-add-selection-example-eufemia.vercel.app/uilib/extensions/forms/base-fields/Selection/demos/#radio-nesting-advanced),
and here
[locally](http://localhost:8000/uilib/extensions/forms/base-fields/Selection/demos/#radio-nesting-advanced).

The challenge/problem is that error messages for fields nested inside an
`Field.Selection` is not displayed underneath each respective field, but
rather merged and displayed at the bottom of the `Field.Selection`, like
so:

<img width="646" alt="image"
src="https://github.com/user-attachments/assets/0d3cdc1c-72b1-451b-9a38-5b7a78872605">

---------

Co-authored-by: Tobias Høegh <[email protected]>
Copy link

vercel bot commented Nov 8, 2024

Deployment failed with the following error:

Resource is limited - try again in 15 minutes (more than 100, code: "api-deployments-free-per-day").

@langz langz mentioned this pull request Nov 8, 2024
6 tasks
@langz langz merged commit 7ac1b69 into release Nov 8, 2024
8 of 9 checks passed
@tujoworker
Copy link
Member

🎉 This PR is included in version 10.55.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

5 participants