v5.8
Features
- added
min_dateandmax_dateproperties, with a event return ofis_valid_start_dateandis_valid_end_date - got a new property
show_reset_buttonto show a Reset button inside the DatePicker footer / toolbar.
- added
keep_placeholderproperty to the component which will keep the placeholder visible as long as there is not entered a value. In some circumstances, this is a better solution. E.g. in combination with the InputMasked and a e-mail mask.
- added
currency_displayproperty to include shared Provider support. - enhanced NVDA support.
- have
dnb-core-styleclass set by default to the Modal content - prevent this by using theprevent_core_styleproperty.
target="_blank"withhref="http*"will get an icon added, showing that the link is a "link out" of the current context. You can prevent the link to appear by using an HTML class:dnb-anchor--no-icon.
- Enhanced support on nested lists, especially on ordered lists (with numbers).
- added
borderproperty to show a rounded border on icons.
New Icons
// new primary iconsimport {reset,arrow_top,arrow_right,arrow_bottom,arrow_left,} from 'dnb-ui-lib/icons/primary'// new secondary iconsimport {home,settings,refresh,add_file,view_on,view_off,} from 'dnb-ui-lib/icons/secondary'
Install
To upgrade to v5.8 with NPM, use:
$ npm i dnb-ui-lib@5
November, 30. 2019