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.63.0 #4450

Merged
merged 61 commits into from
Jan 29, 2025
Merged

release of v10.63.0 #4450

merged 61 commits into from
Jan 29, 2025

Conversation

langz
Copy link
Contributor

@langz langz commented Jan 13, 2025

No description provided.

langz and others added 9 commits January 8, 2025 17:07
…rties tabs (#4442)

Co-authored-by: -l <anderslangseth@gmail.com>
This PR aims to make InputMasked work without providing any props.
Reason why it should work without providing any props, is because all
its props is optional.

Defaults to using number mask, as a mask is required.

fixes #3134

---------

Co-authored-by: Tobias Høegh <tobias@tujo.no>
Fixes a few warnings reported here, not all I believe:
#4145

---------

Co-authored-by: Tobias Høegh <tobias@tujo.no>
…ing` and `error` props to all `Field.*` components (#4421)

The PR updates the `info`, `warning`, and `error` props to accept
functions. This makes it easier to create conditional messages without
relying on making a field "controlled."

Additionally, it ensures the same user experience for displaying these
messages (by using the `conditionally` function), consistent with how
error messages are handled by default today.

```tsx
<Field.Number info={(value, { conditionally, getValueByPath }) => {
  return conditionally(() => 'Show this message, with this value ' + getValueByPath('/otherField'))
}} />
```

Here's an
[example](https://eufemia-git-feat-forms-conditional-infos-eufemia.vercel.app/uilib/extensions/forms/base-fields/Number/#displaying-messages---conditional-info-message).

---------

Co-authored-by: Anders <anderslangseth@gmail.com>
Copy link

vercel bot commented Jan 13, 2025

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 Jan 29, 2025 10:44am

Copy link

codesandbox-ci bot commented Jan 13, 2025

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.

…#4463)

This PR changes basically all margin resets with a better check. More
info
[here](https://dnb-it.slack.com/archives/CMXABCHEY/p1736775869816959).

So this reset:

```scss
&:not([class*='dnb-space']) {
  margin: 0;
}
```

Is now like this:

```scss
@include spaceReset();
```

Which again checks for all directions:


```scss
&:not([class*='space__top']) {
  margin-top: 0;
}
etc...
```
…allback function’s children in `Iterate.Array` (#4466)
tujoworker and others added 3 commits January 29, 2025 09:47
…r` and `onBlurValidator` (#4511)

To be used in #4469 and requested
[here](https://dnb-it.slack.com/archives/C04NL73S2Q5/p1737652409110949).

---------

Co-authored-by: Anders <anderslangseth@gmail.com>
I don't see that the `Field.Option` code is actually used at all 🤔
@langz langz merged commit 93de778 into release Jan 29, 2025
5 of 8 checks passed
@tujoworker
Copy link
Member

🎉 This PR is included in version 10.63.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.

4 participants