Skip to content

v10.52.0

Compare
Choose a tag to compare
@tujoworker tujoworker released this 11 Oct 11:40
· 300 commits to release since this release

10.52.0 (2024-10-11)

πŸ“ Documentation

  • NationalIdentityNumber: add docs about validation (#4077) (51bfd80)
  • OrganizationNumber: adds docs about validation (#4078) (c785c51)

πŸ› Bug Fixes

  • Autocomplete: Show whole suggestion list after item selection (#4060) (0acf061)
  • Field.NationalIdentityNumber: validate on all digits(not only 11 digits) (#4079) (7c34fc9)
  • Field.OrganizationNumber: should validate on all digits(not only when 9) (#4071) (08a4b51)
  • Forms: add support for Form.SubmitConfirmation inside Wizard (#4088) (e1167a4), closes #4086
  • Forms: don't call internal exportValidators when they not are exported as an array (#4113) (cd54ed0), closes #4106
  • Forms: ensure emptyValue is set in the data context when defined (#4111) (dcc5694), closes #4070
  • Forms: ensure onBlurValidator gets called when validateInitially is true (#4069) (59cf6c5), closes #4068 #4066
  • Forms: ensure Field.SelectCountry has a fallback locale (nb-NO) (#4114) (568229a)
  • Forms: ensure Form.clearData works in React.StrictMode (#4053) (da0c93a), closes #4048
  • Forms: Fix use of unpolyfilled structuredClone in useData hook (#4108) (1f59f10)
  • Forms: keep Iterate.EditContainer open when falsy value or empty object was given as the iterate value (#4087) (e932059), closes #4046
  • Forms: show error on every value change when using exported validators (#4068) (cab6d01), closes #4067
  • Icon: icon property typing should accept FormStatus icons (#4091) (f49eb34)
  • NationalIdentityNumber: use onBlurValidator instead of validator (#3982) (0a93755)
  • Typography: match medium heading font size in Sbanken theme (#4039) (ce50529)

✨ Features

  • Forms: add bubbleValidation to Form.Isolation and Iterate.PushContainer to prevent the form from being submitted when there are fields with errors (#4103) (880f870), closes #4072
  • Forms: add createMinimumAgeValidator to Field.NationalIdentityNumber make a customizable adultValidator (#4057) (6c20ba2)
  • Forms: add Form.useSnapshot hook to handle snapshots of data (#4102) (d451793)
  • Forms: add isolatedData prop to Iterate.PushContainer (#4076) (ede5f8e)
  • Forms: add isValid to Form.Visibility for showing content based on the validation of a field (#4038) (7536752)
  • Forms: add Iterate.ItemNo component (#4095) (c736c9e)
  • Forms: add transformLabel to all Value.* component (#4056) (d63e472)
  • Forms: add support for defaultValue (and value) for fields used in Iterate.Array (#3987) (afbdddf), closes #3882
  • Forms: add support for id for when using dynamic steps with activeWhen (#4093) (248da92)
  • Forms: remove internal pattern from Field.NationalIdentityNumber in favor of the internal validator (#4098) (fb35722)
  • Forms: remove internal pattern from Field.OrganizationNumber in favor of the internal validator (#4092) (e829f8b), closes #4073
  • Skeleton: stop animation after 30 seconds (#3479) (f67b3bb)
  • Value.PhoneNumber and NumberFormat: displays country code using prefix + instead of 00 (#4051) (fb363d0)