Skip to content

Releases: dnbexperience/eufemia

v10.50.0

23 Sep 10:02
Compare
Choose a tag to compare

10.50.0 (2024-09-23)

πŸ“ Documentation

  • adds import statement to info doc for components (#3966) (8034c44)
  • adds import statement to info doc for elements (#3972) (55ba97d)
  • adds tabs to elements docs (#3967) (8305ce3)
  • fix markdown link to text counter component (4fb5485)
  • fix markdown link to text counter component (#3958) (2671ed4)

πŸ› Bug Fixes

  • ChildrenWithAge: sync summary and edit container (#3950) (52ca0fb)
  • Forms: add support for transformIn and transformOut to Field.SelectCountry (#3975) (d1c44c8), closes #3974
  • Forms: deprecate and rename {itemNr} in favor of {itemNo} (#3969) (594f967)
  • Forms: enhance defaultValue routine during mounting of fields (#3962) (68bcbcb)
  • Forms: enhance reset routine of ChildrenWithAge block (#3961) (2ae6a5f)
  • Forms: ensure defaultValue works in React.StrictMode (#3959) (fb71a48)
  • Forms: ensure Value.* component's transformIn can changes its value (#3965) (0698741)
  • Forms: execute transformOut when value or defaultValue is given (#3974) (77eab0c)
  • Forms: make exportValidators work with the same validator as given in validator or onBlurValidator (#3977) (52a5e69)
  • Visibility: prioritize visible with a booean over other path assetion (#3949) (c74ee1d)

✨ Features

  • Forms: add filterCountries prop to Field.SelectCountry to filter out certain countries (#3979) (56dfe4f)
  • Forms: add filterCountries to Field.PhoneNumber (#3981) (8041541)
  • Forms: add inheritVisibility to each Value.* component (#3948) (367889b)
  • Forms: add limit prop to Iterate.Array (#3964) (c29b477)
  • Forms: add reduceToVisibleFields to the useData hook and Form.Handler onSubmit (#3957) (db24256)
  • Forms: add remove method to Form.useData (#3960) (950e6a3)
  • Forms: add useCountry with getCountryNameByIso to Value.SelectCountry (#3953) (350c060)
  • OrganizationNumber: adds organization number validation (#3976) (6f344c2)
  • Value.ArraySelection: add variant prop to allow for list layout (#3947) (1aff360)

v10.49.0

16 Sep 10:57
Compare
Choose a tag to compare

10.49.0 (2024-09-16)

✨ Features

  • Forms: add {nextItemNo} support to Iterate.PushButton (#3936) (c1445a3)
  • Forms: add {nextItemNo} support to Iterate.PushContainer open button (#3937) (84e8281)
  • Forms: add animate prop to Iterate.Array (#3928) (1d9f3e4)

πŸ› Bug Fixes

  • ChildrenWithAge: fixes spacing issue above 1st child (#3942) (0f9dff3)
  • Forms: enhance container boundary error handling (#3939) (e4691a0)
  • Forms: remove unwanted Iterate.EditContainer error confirmation when using required on Form.Handler (#3938) (4523e35)
  • Forms: Wizard.Step JSX component TypeScript fix (#3935) (5556182)
  • HeightAnimation: enhance adjusting the height to 0 (#3929) (a1f6129)
  • PushContainer: Add missing variant type (#3931) (32d41b9)

v10.48.0

12 Sep 16:14
Compare
Choose a tag to compare

10.48.0 (2024-09-12)

πŸ› Bug Fixes

  • countries: Fixes wrong country code for Martinique #3915 (a9f86e4)
  • countries: Remove outdated countries #3915 (36ef5cf)
  • Forms: rename 'Macedonia' to 'North Macedonia' (#3918) (a4eb8a4)
  • Forms: rename "Hviterussland" to "Belarus" (#3917) (702118a)
  • removes outdated countries based on ISO 3166-1 alpha-2 (#3916) (a045acd)

✨ Features

  • Forms: add toolbarVariant="minimumOneItem" to Iterate.Toolbar for hiding buttons when there is only one item in the array (#3919) (3367a77), closes #3877
  • Forms: add validator support to Iterate.Array (#3926) (6fd439e)
  • Forms: auto-open Form.Section container when fields have errors and add validateInitially prop (#3878) (9b49006)
  • Forms: auto-open iterate containers when validation errors and make Iterate.Toolbar fully customizable (#3877) (52326bf), closes #3919
  • Forms: show optional label when a field uses required={false} and add labelSuffix prop to each field (#3921) (60e440a)
  • Wizard: add preventNavigation callback function to onStepChange (#3924) (5ec2772)

v10.47.0

10 Sep 08:32
Compare
Choose a tag to compare

10.47.0 (2024-09-10)

πŸ“ Documentation

  • add component translations table to properties docs (#3902) (66dd12e)
  • useTheme: updates docs to match TS type definitions (#3901) (52aaab3)

✨ Features

  • Button: rewise documented title prop with aria-label documentation (#3863) (ea444c0)
  • CopyOnClick: adds copyContent prop (e5a91b6)
  • countries: Added missing countries from ISO 3166 #3894 (2992084)
  • countries: Added missing countries from ISO 3166 #3894 (#3899) (ada0e92)
  • Forms: extend validations in Field.NationalIdentityNumber (#3888) (50cc26b)
  • Forms: make it possible to reuse and extend internal validators (#3908) (7c97bf5)
  • Forms: provide connectWithPath in the validator and onBlurValidator to get values from other fields/paths (#3895) (f4cf06f)
  • Value.Date: adds numeric variant (#3907) (b03e199)

πŸ› Bug Fixes

  • Accordion: deprecate (rename) expandBehaviour in favor of expandBehavior (#3905) (76143b0)
  • Breakpoint: ensure matching breakpoint ranges in mixins with docs & hooks (#3896) (260fcaf)
  • Flex: enhance handling of React fragments (#3892) (156c805)
  • Forms: enhance cleanup routine of fields (#3885) (388e0b2), closes #3877
  • Forms: ensure label supports HTML formatting (#3911) (227569c)
  • Forms: ensure labels do update when they change (async fields) (#3910) (bc40449)
  • Forms: warn on value prop usage on fields inside iterate with itemPath (#3886) (116820d), closes #3877 #3882
  • LabelDescription: nothing was returned (#3898) (3452855)

v10.46.0

02 Sep 10:50
Compare
Choose a tag to compare

10.46.0 (2024-09-02)

πŸ“ Documentation

  • Selection: value should be string when variant is radio or button (#3869) (aab8f5b)

✨ Features

  • Blocks.ChildrenWithAge: removes step controls in age field (#3867) (3b02e45)
  • CopyOnClick: add new component (#3834) (07ba09d)
  • Field.ArraySelection: add dataPath prop (#3872) (35427d7)
  • Forms: add Value.SelectCountry component (#3875) (416df35)
  • Forms: add function support for the prefix or suffix props in Field.Number (#3880) (652448c)
  • Forms: add validation for dnr and fnr in Field.NationalIdentityNumber (#3771) (8a2da43)
  • Forms: deprecate filterSubmitData in Form.Handler and return filterData in onSubmit and onChange instead (#3873) (f05bdd2)

πŸ› Bug Fixes

  • Forms: add support for gap={false} to Value.Composition (ValueBlock) (#3884) (413c568)
  • Forms: enhance Field.Email validation pattern (#3874) (aee005f)
  • Forms: fallback to use default locale for translations when providing a non-existent locale (#3817) (f768613)
  • InfinityScroller: forward load button props (#3737) (645a7b3)

v10.45.0

26 Aug 09:54
Compare
Choose a tag to compare

10.45.0 (2024-08-26)

πŸ“ Documentation

  • Upload: adds false as a file max size type (#3846) (8747e74)

πŸ› Bug Fixes

  • forms: enhance Field.Name validation rule (#3849) (9c9142d)
  • forms: ensure Iterate.Array can handle an array given in the data context (#3842) (263f4c7), closes #3759
  • forms: ensure Section.EditContainer cancel restores data when path is given (#3853) (eabc583), closes #3797
  • forms: ensure pressing enter in an input field inside Wizard does trigger next step (#3852) (fd35828)
  • forms: make Form.Isolations data flow "from outside" stricter (#3847) (977962b), closes #3844
  • forms: validate fields inside Iterate.EditContainer when done button is pressed (#3850) (2a2272e)
  • forms: validate fields inside Section.EditContainer when done button is pressed (#3851) (1c34980)
  • useTheme: define the return type of null as a possible return (#3861) (8d0cf61)

✨ Features

  • forms: add inheritLabel prop to value components (#3858) (01e0976)
  • forms: add Iterate.PushContainer to support an "initially open" container (#3843) (0fe23a9)
  • forms: add Value.ArraySelection component (#3854) (bc55cc2)
  • forms: add Value.Selection component (#3857) (7432986)
  • forms: add support for {itemNr} to the iterate container title + add useItem hook (#3848) (0d50272)
  • Upload: define max file size for file type (#3859) (13fc1a8)

v10.44.0

19 Aug 11:19
Compare
Choose a tag to compare

10.44.0 (2024-08-19)

πŸ“ Documentation

  • Field.Expiry: display translation props (#3815) (1efbbd0)
  • Field.PhoneNumber: document onChange event args (#3807) (2b5f55e)
  • Form.Isolation: add real world examples (#3808) (daec2fa)

πŸ› Bug Fixes

  • Button: onClick can now be set using context provider (#3781) (0d2f525)
  • forms: add Form.Isolation path support when used inside Form.Section (#3829) (d836c18)
  • forms: ensure correct spacing between Iterate.Array items (#3838) (250aec0)
  • forms: ensure Form.Isolated does merge data properly (#3811) (8c90cb8), closes #3806
  • forms: ensure Form.Isolation with commitHandleRef triggers field errors (#3810) (204396d)
  • forms: show error when entered Field.Currency or Field.Number value exceeds maximum possible amount (#3821) (e9cdd68)

✨ Features

v10.43.0

08 Aug 10:50
Compare
Choose a tag to compare

10.43.0 (2024-08-08)

πŸ“ Documentation

✨ Features

  • forms: add itemPath to Visibility for when using visibleWhen (#3798) (2e0663e)
  • forms: add Form.Isolation to isolate data context temporarily (#3796) (9ea241f)
  • forms: Form.Visibility – deprecate withValue in favor of hasValue (#3799) (e9e51e0)

πŸ› Bug Fixes

  • Button: Allow react-router Link as element (#3801) (eebbf11)
  • Card: fix title type error that occurs when using jsx as value (#3795) (3553ed2)
  • Tabs: make sure props data key is used if defined (#3802) (49f1c05)

v10.42.0

25 Jul 21:05
Compare
Choose a tag to compare

10.42.0 (2024-07-25)

πŸ› Bug Fixes

  • forms: add support for horizontal layout in SummaryList and adjust spacing and alignment (#3782) (59c2839)

✨ Features

  • Field. ArraySelection: adds checkbox-button variant (#3783) (9deace8)
  • Img: add support for loading-prop (#3778) (fe339bf)

v10.41.0

23 Jul 12:01
Compare
Choose a tag to compare

10.41.0 (2024-07-23)

πŸ“ Documentation

πŸ› Bug Fixes

  • Translation: ensure correct jsx type support (c70cbeb)

✨ Features

  • Field.Selection: allow all props for dropdown and autocomplete (#3776) (951c67d)
  • FieldBlock: add labelSrOnly prop (ebf50c6)
  • Field: changed field help button types to ReactNode (#3777) (6506934)
  • forms: add Upload field (048bfc7)
  • forms: add Upload field (#3742) (4ea8933)