Releases: dnbexperience/eufemia
Releases Β· dnbexperience/eufemia
v10.33.0
10.33.0 (2024-05-27)
π Documentation
β¨ Features
- forms: add
Form.Section
to compose reusable blocks of fields and values (#3609) (32848e2), closes #3594 - forms: add Field.Slider (#3597) (d94f691)
π Bug Fixes
- ArraySelection: make explicit type of value can be undefined (#3610) (cd4add9)
- DrawerList: check if string converted jsx is of type function (#3606) (6a59d6c)
- FieldBlock: make it possible to be used in horizontal flex layout when width="stretch" is used (#3596) (fde04b5)
- forms: add support for
trueText
andfalseText
to Boolean checkbox variant (#3607) (198164a) - SelectCountry: use given path value (#3598) (9ca7953)
v10.32.0
10.32.0 (2024-05-23)
π Documentation
π Bug Fixes
- Anchor: add TypeScript (strict) support for react-router-dom Link used as
element
(#3559) (8f83e2a) - Autocomplete: fix issue where
React.Element
would not render when used asselected_value
(#3505) (6e39785) - Breakpoint: ensure correct breakpoint ranges when using useMedia, useMediaQuery or MediaQuery (#3588) (1b0e4d6)
- Checkbox: ensure correct disabled state (#3587) (7017c50)
- Field.PhoneNumber: make country code show all relevant countries on click after phonenumber is entered (#3567) (6287526)
- FieldBlock: avoid 100% width when not needed (#3561) (10cfdf7)
- forms: add schema
required
support to Field.Composition (#3571) (bd21cd8), closes #3554 - forms: add support for
filterData
with existing data when used inside Wizard (#3568) (d22544d) - forms: set focus back on existing element after async submission (#3585) (b2f5620)
- Space: ensure
false
yields to 0 (not to 1rem) (#3562) (5f93866)
β¨ Features
- Card: preliminary sbanken theme (#3582) (38cd6f8)
- Flex: deprecate
spacing
in favor ofgap
(#3565) (39e2cf5) - forms: add
variant
prop to Iterate ViewContainer and EditContainer (#3569) (f683aa0), closes #3566 - forms: add filterData prop to Visibility component (#3574) (447eaec), closes #3572
- forms: add hasFieldError to useError (#3586) (1edef36)
- forms: add path based
filterData
support (#3576) (467b744), closes #3574 - forms: change
filterData
method to return object based parameters{ path, value, data, props, internal }
(#3577) (05106ac), closes #3576 - StepIndicator: preliminary sbanken colors (#3580) (733be8c)
- Visibility: deprecate
pathValue
in favour ofvisibleWhen
(#3572) (277d15c)
v10.31.0
10.31.0 (2024-05-15)
π Documentation
π Bug Fixes
- Drawer: prevent
auto-focus
from triggering in inital mount whenopenState
isfalse
(#3534) (07c741f) - forms: keep field props in memory during Wizard step change (#3553) (02329dd)
- HeightAnimation: set width during height calculation (#3557) (8e59eaf)
β¨ Features
v10.30.2
v10.30.1
10.30.1 (2024-05-10)
π Documentation
π Bug Fixes
- Checkbox: fix types issues (#3540) (ed7b1cd)
- Flex.Stack: align Button to not stretch (#3544) (931d80e)
- forms: add
filterData
support to Visibility (#3543) (7ee3f25) - forms: make id of Wizard location hooks optional (#3545) (91f1026)
- forms: warn when Value component should be wrapped within Value.SummaryList (#3547) (7691eb9)
- HeightAnimation: overcome flickering issue due to false height pre-calculation (#3546) (62c08a3)
v10.30.0
v10.29.0
10.29.0 (2024-05-07)
π Documentation
β¨ Features
- forms: add
autocomplete
variant to Field.Selection withautocompleteProps
support (#3521) (f79dd16) - forms: add
Field.Name
andValue.Name
(#3528) (84fcce1), closes #3529 - forms: add
transformIn
andtransformOut
to Form.Handler (#3511) (48959b2) - forms: add
Value.OrganizationNumber
(#3525) (46ff116) - forms: add
Value.PostalCodeAndCity
(#3527) (adb4cf5) - forms: add Wizard transition animation (#3517) (c42dab7)
- forms: debounce session data storing to enhance performance (#3508) (6aeaa96)
- forms: rename Form.Handler property
filterData
tofilterSubmitData
(deprecate) (#3507) (b7aa69b) - ProgressIndicator: add
countdown
type, center label, and customization options (#3487) (c29be5e)
π Bug Fixes
- forms: (TypeScript) ensure
data
type is inherited in onSubmit (#3530) (a5e63ad) - forms: align form error when Wizard Sidebar is visible (#3518) (bb6feab)
- forms: enhance Radio buttons disabled state handling (#3533) (1932143)
- forms: ensure inline values don't show labels (#3529) (b4dff2b)
- forms: fix spacing between checkboxes when in horizontal layout with vertical options (#3531) (193d94f)
- HeightAnimation: ensure Radio buttons persist their state (#3535) (3e78976)
- Locale: revert to less strict local types (
string
) (#3526) (aa79867)
v10.28.0
v10.27.0
10.27.0 (2024-04-26)
π Bug Fixes
- Card: ensure 100% width does only apply when ScrollView is used (#3450) (6dac9c6)
- Card: use basis inner-space for small screens when
responsive=false
is set (#3455) (9a2baea) - FormLabel: remove undeclared
FormLabelText
type (#3449) (3e4782b) - forms: change Wizard default scroll behaviour to be active (#3481) (f7b11cc)
- forms: ensure proper
Iterate
data context andfilterData
support (#3463) (d015bc8) - forms: set focus on Wizard step change (#3475) (265dade)
- GlobalStatus: Symmetric horizontal padding on smaller screens (Sbanken) (#3454) (59576b2)
- Input: hide placeholder by default on input focus (Sbanken) (#3461) (5328210)
- MultiInputMask: prevent focus and blur from firing when navigating between inputs (#3480) (bec1ffd)
- NumberFormat: ensure support for screen reader "speak text under mouse" mode (#3438) (93fbd1d)
- OrganizationNumber: add missing full stop for
en-US
error messages (#3465) (fd1cf10) - Radio.Group: replace margin spacing with Flex gap (#3468) (33257b2)
- Selection: filter out empty options from dropdown variant (#3444) (60ac548)
π Documentation
- Checkbox: update to typed docs (#3439) (c849439)
- document all colors (#3441) (03d7580)
- forms: improve structure (#3488) (a240239)
- Portal: properties table with colors and default value (progressive enhancement) (#3471) (4f1c16c)
β¨ Features
- Flex.Stack: change default vertical spacing (gap) from small to medium (effects Card with stack as well) (#3483) (7bf380f)
- FormLabel: add support for nested instances (#3466) (f0cd388)
- forms: add
Iterate.Count
along withIterate.useCount
(#3492) (f1574a2) - forms: add
Iterate
view and edit container as well as animated container (#3474) (6b68020) - forms: add
useValueProps
hook for handling Value components and their props (#3498) (1a62545) - forms: add
Value.Composition
component (#3494) (b7976ca) - forms: add EditButton to Wizard (#3445) (ec4a0a6)
- forms: add send variant prop to SubmitButton (#3446) (17bea62)
- forms: add support for GlobalStatus handling including custom
globalStatusId
(#3457) (3fd0b96) - forms: release stable version (#3043) (03b89b2)
- forms: rename useLocale to useTranslation (#3447) (c223e0e)
- Hr: change color from black-80 to black-8 and add
dashed
line option (#3490) (8142182) - Input & Textarea: allow React Element as placeholder prop (#3467) (2bbd24b)
- Input: refactor and correct border outline (#3440) (6a96665)
- Iterate: deprecate
ArrayPushButton
in favor ofPushButton
and deprecateArrayRemoveElementButton
in favor ofRemoveButton
(#3478) (e5145d4) - ProgressIndicator: refactor to TypeScript and camelCase props (#3458) (4fa895f)
- Tabs: add
breakout
prop for Tabs (#3384) (48882cb) - Typography: Replace inline font with font files (Sbanken) (#3459) (97d060d)
- useTranslation: add support for custom translations and
formatMessage
method (#3442) (d3c4ec4), closes #3271 - Visibility: add
keepInDOM
prop (#3495) (b750588)
v10.26.0
10.26.0 (2024-04-05)
β¨ Features
- forms: add
Field.Composition
to combine fields instead of using FieldBlock (#3418) (c0607e1) - forms: add
transformIn
andtransformOut
to fields for value transformation (#3428) (f07aee7) - forms: add max width to Card when used in forms (#3416) (28e89c8)
- forms: add router support (#3427) (8b9a20a)
- forms: group from translations by components and add
useLocale
hook (#3332) (9bc9ee2) - forms: make
Wizard.Buttons
interactive (use it in favor of NextButton and PreviousButton) (#3437) (5967a6d) - forms: refactor API from StepsLayout to Wizard.Container (#3433) (1f0184d), closes /github.com/dnbexperience/eufemia/pull/3426#issuecomment-2034150647 #3426
π Documentation
π Bug Fixes
- Autocomplete: use current value to filter changed data (#3407) (7a778c7), closes #3355
- Card: ensure "spacing" children do stretch by default (#3422) (c0259bc)
- forms: add pattern requirement for city in PostalCodeAndCity (#3431) (080bbee)
- forms: align locale strings and translations (#3429) (369bed0)
- InputMasked: ensure decimal value update does format correctly (#3420) (335a86b)
- Table: ensure tables with one td align the th width (#3430) (3e5ee98)
- Textarea: forward all props via provider (including
autoresize
) (#3436) (a9260fd) - TextCounter: update text/translation for when limit exceeded (#3434) (8b881f3)
- useStep: fix possibly undefined type message (#3415) (95ab0b1)