Skip to content

Releases: dnbexperience/eufemia

v10.59.0

02 Dec 20:54
Compare
Choose a tag to compare

10.59.0 (2024-12-02)

✨ Features

  • Upload: disabling delete button when loading (cca3388)

πŸ› Bug Fixes

v10.58.0

29 Nov 10:00
Compare
Choose a tag to compare

10.58.0 (2024-11-29)

✨ Features

  • Forms: add showConfirmDialog to Iterate.RemoveButton (#4330) (76bddf0)
  • Forms: add variant="filled" and toolbarVariant="custom" to Iterate.EditContainer and Iterate.ViewContainer (#4329) (b2b9eef)
  • Forms: add support for using a function references instead of a string based id (#4331) (a6e3bc3)
  • Forms: enhance typing and add docs on how to deal with TypeScript types (#4343) (10b199b)
  • Forms: introduce decoupleForm prop to Form.Handler (#4332) (0b02b6e)

πŸ› Bug Fixes

  • DatePicker: make sure the picker and input only reacts to the props that have changed (#4342) (4cd52a3)
  • Forms.Card: remove outline when variant="basic" on Section containers when used in Wizard (#4336) (ebad212)
  • forms: add sessionStorageId support to Field.Upload with empty file list rendering (#4339) (d02a0af)
  • NumberFormat: improve regex for parsing phone numbers with country codes (#4340) (96613ed), closes #4337

v10.57.1

22 Nov 13:06
Compare
Choose a tag to compare

10.57.1 (2024-11-22)

πŸ” CI

πŸ› Bug Fixes

  • CountryFlag: include flag icons in repo instead of via dependency (#4324) (69dc60a), closes #4307
  • Forms: ensure Form.Card supports spacing props (#4328) (f981b42)

v10.57.0

22 Nov 08:55
Compare
Choose a tag to compare

10.57.0 (2024-11-22)

πŸ› Bug Fixes

  • Forms: align Value.SummaryList when Value.* has no label (#4311) (b6621c2)
  • Forms: ensure fields inside composition share submit indicator (#4309) (e726e20)
  • Forms: safeguard errorMessages to avoid infinite loops when not wrapped in useMemo (#4305) (f14bacc)
  • Forms: show indicator with async onBlurValidator call when validateInitially is used (#4303) (c585491)
  • Icon: ensure icon name is rendered as data-testid (#4304) (235b823)

✨ Features

  • Card, Section: add outset property for moderate layout breakout (#4317) (6008d9a)
  • DrawerList, Dropdown, Autocomplete, Field.Selection, Field.ArraySelection: disabled options (#4154) (8786d5d)
  • Field.Upload: adds support for async and sync fn in fileHandler (#4294) (2cc816a)
  • Forms: add Form.Card with different default appearance than Card (use Form.Card in forms instead of Card) (#4318) (7bbc0ca)
  • Forms: add labelSrOnly to Value.* components (#4319) (46f68ae), closes #4311
  • Forms: deprecate validator in favor of onChangeValidator (#4314) (5a06b2e)
  • Typography: add general .dnb-t helper classes and add typography props to Span (#4235) (9dfe66d)

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)