v5.8
Features
- added
min_date
andmax_date
props, with a event return ofis_valid_start_date
andis_valid_end_date
- got a new prop
show_reset_button
to show a Reset button inside the DatePicker footer / toolbar.
- added
keep_placeholder
property 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_display
property to include shared Provider support. - enhanced NVDA support.
- have
dnb-core-style
class set by default to the Modal content - prevent this by using theprevent_core_style
prop.
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
border
property to 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