Releases: dnbexperience/eufemia
Releases Β· dnbexperience/eufemia
v10.62.0
v10.61.0
10.61.0 (2024-12-13)
π Documentation
- add guidelines for writing commit messages to the contribution guide (#4389) (34eff0e)
- Upload: add
id
property (#4401) (56d4956)
β¨ Features
- Forms: add missing support for
defaultValue
for Field.Slider (#4394) (701ab66) - Logo: update sbanken logo (#4379) (069ae1a)
- Upload: make
id
property as optional (#4405) (0c58973) - Value.Upload: add async
onFileClick
event (#4397) (be1c21c)
π Bug Fixes
- DatePicker: add
null
as possible date type as return value (#4407) (363e0b5) - DatePicker: throw error when
date
is invalid (#4396) (f977ebc) - FieldBlock: remove max-width for label when width stretch (#4406) (20c02d4)
- Forms: enhance transformIn and transformOut to support changed array and object instances (#4392) (ae4648a), closes #4366
- Slider: ensure
min
andmax
value is respected whenstep
doesn't fit exactly (#4395) (2c00b0c) - Tabs: ensure cached content never takes up visual space (#4399) (360aacc)
- Upload: display files without anchor when their size is not given (#4390) (70df7c8)
- Upload: display spinner in async
onFileClick
without fileid
(#4393) (b743d6e)
v10.60.1
10.60.1 (2024-12-11)
π Bug Fixes
- Dropdown: correct 'data' type to support interface-based types (#4383) (461e258)
- Forms: ensure Tools.Log formats arrays with square brackets (#4384) (7905694)
- Upload: add gap between file and remove button (#4382) (04c1f6a)
- Upload: avoid scrolling when removing file from list (#4380) (43a64d4)
- Upload: handling of multiple async events (#4378) (fd1fef9)
v10.60.0
10.60.0 (2024-12-10)
π Documentation
β¨ Features
- Field.Upload: add
onFileClick
event (#4369) (c892eec) - Forms: add
Form.InfoOverlay
to display error, success (receipt), or custom messages to users (#4357) (9dd8402) - Forms: add
onAnimationEnd
property to Form.Visibility (#4356) (87728b4), closes #4350 - Forms: add
onVisible
property to Form.Visibility (#4350) (41306d8) - host fonts in the public directory (#4359) (e6e08b2)
- Upload: add support for async
onFileClick
event (#4370) (82588c1) - Upload: adds
onFileClick
event (#4365) (c5abd0e) - Upload: adds support for async
onFileDelete
(#4351) (f41e42d) - Value.Upload: add
onFileClick
event (#4367) (56e9caf)
π Bug Fixes
- Dropdown: enhance height calcilation and add support for strict
direction="bottom"
usage, including when used in a Dialog component (#4368) (32b7b5b) - Field.Upload: handling of multiple async file uploads (#4360) (5cb1518)
- Forms: avoid unnecessary rerenders in Form.Handler (#4363) (7de5e49), closes #4357
v10.59.0
10.59.0 (2024-12-02)
β¨ Features
- Upload: disabling delete button when loading (cca3388)
π Bug Fixes
- FormLabel: unhandled runtime error, elem is null (#4354) (a3414f1), closes /github.com/dnbexperience/eufemia/pull/4354/files#diff-f476207b8a837f2c0dea83ca374c5d383bcd895b0f6f10e033e12d7c0a7a3f84R142
v10.58.0
10.58.0 (2024-11-29)
β¨ Features
- Forms: add
showConfirmDialog
to Iterate.RemoveButton (#4330) (76bddf0) - Forms: add
variant="filled"
andtoolbarVariant="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
v10.57.0
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 (useForm.Card
in forms instead of Card) (#4318) (7bbc0ca) - Forms: add
labelSrOnly
to Value.* components (#4319) (46f68ae), closes #4311 - Forms: deprecate
validator
in favor ofonChangeValidator
(#4314) (5a06b2e) - Typography: add general
.dnb-t
helper classes and add typography props to Span (#4235) (9dfe66d)
v10.56.0
10.56.0 (2024-11-18)
π Bug Fixes
- DatePicker: ensure that
endMonth
does not fallback tostartMonth
whenendMonth
prop is defined (#4254) (5281257) - Forms: render given elements to
warning
andinfo
properties (#4261) (d60de25)
β‘ Refactoring
β¨ 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)