Skip to content

Releases: dnbexperience/eufemia

v10.56.0

18 Nov 07:10
Compare
Choose a tag to compare

10.56.0 (2024-11-18)

πŸ› Bug Fixes

  • DatePicker: ensure that endMonth does not fallback to startMonth when endMonth prop is defined (#4254) (5281257)
  • Forms: render given elements to warning and info properties (#4261) (d60de25)

⚑ Refactoring

  • DatePicker: convert properties to camel case and deprecate those with snake case (#4273) (a69a8aa)

✨ Features

  • Field.Date: add DatePickerProps (#4160) (6a3765b)
  • Forms: add asyncFileHandler to Field.Upload to support async file handling during upload (#4281) (030a09c)
  • Forms: add inline HelpButton to all Field.* components as default (with option to open in Dialog) (#4282) (e869a60)
  • Forms: add support for multiple info, warning and error messages given by an array (#4284) (78f2fe8)
  • ListFormat: adds spacing properties (#4255) (c72d999)
  • Paragraph: handle nested paragraphs (to be span's) (#4251) (ca3bbde)

v10.55.1

11 Nov 10:10
Compare
Choose a tag to compare

10.55.1 (2024-11-11)

πŸ› Bug Fixes

  • Forms: console log a warning when Value.SummaryList gets an invalid child (#4249) (011e9eb)
  • Forms: ensure Field.Upload handles required logic between Wizard step changes (#4248) (505dbc1)

v10.55.0

08 Nov 15:51
Compare
Choose a tag to compare

10.55.0 (2024-11-08)

πŸ“ Documentation

πŸ› Bug Fixes

  • ensure components having fieldset inside still can use spacing (#4236) (d4e4334)
  • Forms: add Iterate support for Field.PostalCodeAndCity when using country with a path (#4215) (6f80ed9), closes #4200
  • Forms: ensure Field.Number with percent and without a value renders correctly (#4230) (96fa2a5), closes #4228
  • Forms: fix vertical gap between Field.ArraySelection toggle buttons with checkbox variant (#4217) (83f0b37)
  • Forms: remove extra space from Value.* components with inline property (#4246) (8b96fd1)
  • Forms: should display error underneath fields when nested inside Field.Selection or Field.ArraySelection (#4225) (c0f1a02)
  • remove legacy fieldset reset (#4237) (a2f368b)
  • Upload: alignment when displaying single DL item (#4210) (5f745f5)
  • Upload: fix UploadFile type to include id as required (#4218) (b24fdfd)

✨ Features

  • Card: add style for nested cards (#4244) (f45aa4a)
  • Card: remove beta badge (#4211) (67a4fbd)
  • ChildrenWithAge: add maximum possible value to joint-responsibility & daycare (#4219) (9b9c517)
  • CountryFlag: add iso to properties table (#4232) (9dc57cb)
  • DatePicker: Convert to functional components with typescript and hooks (#2799) (45687ea)
  • Forms: add layoutOptions for enhanced horizontal label layout (#4208) (8d84d97)
  • Forms: add transformLabel to Value.Composition (#4207) (c966bc1)
  • Forms: add Value.Upload component (#4233) (3adddac)
  • Forms: add EditButton, CancelButton and DoneButton to Form.Section containers (#4223) (092abcd)
  • ListFormat: add ListFormat component (#4238) (63613f1)
  • Upload: add download prop to enable file downloads instead of opening in a new tab (#4213) (3e92934)

v10.54.1

31 Oct 21:58
Compare
Choose a tag to compare

10.54.1 (2024-10-31)

πŸ› Bug Fixes

  • Upload: unnecessary spacing when not providing title and text (#4205) (59845d0)

v10.54.0

30 Oct 20:00
Compare
Choose a tag to compare

10.54.0 (2024-10-30)

πŸ“ Documentation

πŸ› Bug Fixes

  • Field.Number: decimalLimit={0} when currency should work (#4167) (68123ea)
  • Forms: correct alignment of Wizard status message (error, warning, info) (#4185) (a307cda)
  • Forms: ensure autocomplete="off" when autoComplete on Form.Handler is false (#4184) (6795b9f)
  • Forms: ensure correct sorting in Field.SelectCountry (#4196) (8db7720), closes #4195
  • Forms: fix schema validation for required paths with matching name (#4189) (04caf61), closes #4179
  • Forms: only run onBlurValidator when no other errors are present (#4172) (d2797f1), closes #4074
  • Forms: render multiple (combined) Ajv errors with translated messages (#4176) (2b62ef7), closes #4052
  • Forms: updates country names in SelectCountry (#4187) (bb1b67c)
  • NumberFormat: should not throw exception when providing an invalid currency (#4192) (a0700cd)
  • Table: fix visible hidden rows for additional expandable table rows (#4188) (16b6101)

✨ Features

  • add CountryFlag component (#4181) (76a0c47)
  • Dialog: add verticalAlignment property with top alignment support (#4190) (3ace8b0)
  • Forms: add onDone, onCancel and onEdit to Form.Section containers (#4199) (2f27ad0)
  • Forms: add transformData to the onSubmit event of Form.Handler (#4183) (748b604)
  • Forms: deprecate useErrorMessage hook for when creating your own fields (#4177) (2ae86f2), closes #4162
  • Forms: deprecate Ajv validationRule in FormError and deprecate errorMessages keys like pattern in favor of Eufemia translation keys like Field.errorPattern (#4162) (b50387a)
  • Keyboard navigation: add support for key property (useful for fire events like {ArrowDown} during tests) (#4182) (cc1ffa8)
  • Upload: text and title is possible to remove (#4163) (b6db4a4)
  • Upload: removes subtitle displaying file extension (#4156) (9bf9b9e)
  • Upload: updates drag and drop texts in Norwegian (#4170) (ad5bbec)

v10.53.0

18 Oct 09:50
Compare
Choose a tag to compare

10.53.0 (2024-10-18)

πŸ› Bug Fixes

  • Forms: keep Iterate.Array in sync with the data context and call onChange when countPath changes (#4147) (095ddaa)
  • Forms: UI alignments of the ChildrenWithAge block (#4137) (3db7201)
  • Upload: handle file extensions with case insensitivity (#4138) (fd9d9ba)

✨ Features

  • add renderMessage to useTranslation hook for line-break support (#4125) (5b07bec)
  • Forms: add country prop to Field.PostalCodeAndCity to support other countries than Norway (#4109) (5095bea)
  • Forms: add Form.useTranslation hook (#4123) (6f40922), closes #4121
  • Forms: add support for minItems/maxItems error messages to Field.ArraySelection (#4120) (29ebe55)
  • Forms: add support to set a custom width to fields and values (#4142) (07b257f)
  • Forms: add validation to Field.BankAccountNumber (#4119) (f70ba3d)
  • Forms: warn when a field path is declared more than one time (#4127) (ca15887)

v10.52.1

15 Oct 12:28
Compare
Choose a tag to compare

10.52.1 (2024-10-15)

πŸ“ Documentation

  • OrganizationNumber: adds docs about validation (1dbe8f0)
  • OrganizationNumber: adds docs about validation (#4122) (0c3eae7)

πŸ› Bug Fixes

  • Forms: add support for Form.SubmitConfirmation inside Wizard (renderWithState) (2d2de53)
  • Forms: add support for Form.SubmitConfirmation inside Wizard (renderWithState) (#4128) (63878cc), closes #4086
  • Forms: UI aligments of the ChildrenWithAge block (#4126) (f2193f0)

v10.52.0

11 Oct 11:40
Compare
Choose a tag to compare

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)

v10.51.2

03 Oct 14:46
Compare
Choose a tag to compare

10.51.2 (2024-10-03)

πŸ› Bug Fixes

  • Badge: prevents unwanted re-rendering (#4049) (1e51e7a)
  • Field.Selection: prevent radio re-render onClick to enable keyboard navigation (#4037) (d122f98)
  • Forms: support validation when using object based transformOut and transformIn on fields (#4042) (5554525), closes #3997
  • Timeline: alt label complete -> completed (#4044) (4a6828d)

v10.51.1

30 Sep 15:05
Compare
Choose a tag to compare

10.51.1 (2024-09-30)

πŸ“ Documentation

πŸ› Bug Fixes

  • Dropdown: align tertiary dropdown triangle icon with button (#4023) (1527d70)
  • Form.UseData: getValue returns any instead of unknown (#4035) (8434de9)