From 1084443dac07787cab57e22eba3e0cd5470cadf9 Mon Sep 17 00:00:00 2001 From: -l Date: Mon, 7 Oct 2024 14:00:52 +0200 Subject: [PATCH 1/3] chore: update changelog for v10.52 --- .../src/docs/uilib/extensions/forms/changelog.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx index 6e7394b9a17..3e9b4f6413c 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx @@ -13,6 +13,10 @@ breadcrumb: Change log for the Eufemia Forms extension. +## v10.52 + +- + ## v10.51 - Added `rounding` property with support for `half-even` rounding to [Value.Number](/uilib/extensions/forms/Value/Number/) and [Value.Currency](/uilib/extensions/forms/Value/Currency/). From 6e485c1c10702b93a3b33b87b4153d754d06723c Mon Sep 17 00:00:00 2001 From: -l Date: Fri, 11 Oct 2024 13:19:00 +0200 Subject: [PATCH 2/3] chore: changelog for v10.52.0 --- .../docs/uilib/extensions/forms/changelog.mdx | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx index 3e9b4f6413c..c6caa8fad01 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx @@ -15,7 +15,27 @@ Change log for the Eufemia Forms extension. ## v10.52 -- +- Added `transformLabel` to all `Value.*` components. +- Added `bubbleValidation` to [Form.Isolation](/uilib/extensions/forms/Form/Isolation/) and [Iterate.PushContainer](/uilib/extensions/forms/Iterate/PushContainer/), to prevent the form from being submitted when there are fields with errors. +- Added [createMinimumAgeValidator](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/properties/#createminimumagevalidator) in [Field.NationalIdentityNumber](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/) to make a customizable minimum age validator. +- Added [Form.useSnapshot](/uilib/extensions/forms/Form/useSnapshot/) hook to handle snapshots of data. +- Added `id` to [Wizard.Step](/uilib/extensions/forms/Wizard/Step/) for when using dynamic steps with `activeWhen`. +- Added [Iterate.ItemNo](/uilib/extensions/forms/Iterate/ItemNo/). +- Added support for `Form.SubmitConfirmation` in [Wizard](/uilib/extensions/forms/Wizard/). +- Added `isolatedData` to [Iterate.PushContainer](/uilib/extensions/forms/Iterate/PushContainer/). +- Added displaying phone numbers in [Value.PhoneNumber](/uilib/extensions/forms/Value/PhoneNumber/) using prefix `+` instead of `00`. +- Added support for `defaultValue` (and `value`) for fields used in [Iterate.Array](/uilib/extensions/forms/Iterate/Array/). +- Added support for `isValid` in [Form.Visibility](/uilib/extensions/forms/Form/Visibility/) for showing content based on the validation of a field. +- Removed the internal `pattern` in [Field.OrganizationNumber](/uilib/extensions/forms/feature-fields/OrganizationNumber/), rather using the internal validator. +- Removed the internal `pattern` in [Field.NationalIdentityNumber](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/), rather using the internal validator. +- Fixed so `Form.clearData` works in `React.StrictMode`. +- Fixed use of unpolyfilled structuredClone in [Form.useData](/uilib/extensions/forms/Form/useData/) hook. +- Fixed so `onBlurValidator` works with `validateInitially`. +- Fixed so [Iterate.EditContainer](/uilib/extensions/forms/Iterate/EditContainer/) keeps open when falsy value or empty object was given as the iterate value. +- Fixed so all errors on every value change is displayed when using exported validators from `exportValidators`. +- Fixed so `exportValidators` is not called when not exported as an array. +- Fixed so `emptyValue` is set in the data context when defined. +- Fixed so [Field.SelectCountry](/uilib/extensions/forms/feature-fields/SelectCountry/) has a fallback locale (nb-NO). ## v10.51 From 79a000c88539a0c7aeece493f47d6c0df288249f Mon Sep 17 00:00:00 2001 From: -l Date: Fri, 11 Oct 2024 13:24:21 +0200 Subject: [PATCH 3/3] chore: changelog for v10.52.0 --- .../src/docs/uilib/extensions/forms/changelog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx index c6caa8fad01..790dad68ab7 100644 --- a/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx +++ b/packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/changelog.mdx @@ -28,7 +28,7 @@ Change log for the Eufemia Forms extension. - Added support for `isValid` in [Form.Visibility](/uilib/extensions/forms/Form/Visibility/) for showing content based on the validation of a field. - Removed the internal `pattern` in [Field.OrganizationNumber](/uilib/extensions/forms/feature-fields/OrganizationNumber/), rather using the internal validator. - Removed the internal `pattern` in [Field.NationalIdentityNumber](/uilib/extensions/forms/feature-fields/NationalIdentityNumber/), rather using the internal validator. -- Fixed so `Form.clearData` works in `React.StrictMode`. +- Fixed so [Form.clearData](/uilib/extensions/forms/Form/clearData/) works in `React.StrictMode`. - Fixed use of unpolyfilled structuredClone in [Form.useData](/uilib/extensions/forms/Form/useData/) hook. - Fixed so `onBlurValidator` works with `validateInitially`. - Fixed so [Iterate.EditContainer](/uilib/extensions/forms/Iterate/EditContainer/) keeps open when falsy value or empty object was given as the iterate value.