UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

79 lines (54 loc) 2.08 kB
--- title: 'v5.8' description: 'November, 30. 2019' version: 11.8.2 generatedAt: 2026-07-03T14:39:18.350Z checksum: 090b7d977ba4be5e2c4c04d199a30a4048416c59f443a56985df2f80629d9c40 --- # v5.8 - [Features](#features) - [New Icons](#new-icons) - [How to Install](#install) ## Features [DatePicker](/uilib/components/date-picker) - added `min_date` and `max_date` properties, with an event return of `is_valid_start_date` and `is_valid_end_date` - got a new property `show_reset_button` to show a _Reset_ button inside the DatePicker footer / toolbar. [Input](/uilib/components/input) - 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](/uilib/components/input-masked) and a _e-mail_ mask. [Number](/uilib/components/number-format) - added `currency_display` property to include [shared Provider](/uilib/components/number-format/provider) support. - enhanced NVDA support. [Modal](/uilib/components/modal) - have `dnb-core-style` class set by default to the Modal content - prevent this by using the `prevent_core_style` property. [Anchor / Text link](/uilib/components/anchor) - `target="_blank"` with `href="http*"` will get an icon added, showing that the link is a "link out" of the current context. You can prevent the link from appearing by using an HTML class: `dnb-anchor--no-icon`. [Lists](/uilib/elements/lists) - Enhanced support on nested lists, especially on ordered lists (with numbers). [Icon](/uilib/components/icon) - added `border` property to show a rounded border on icons. ## New Icons ```js // new primary icons import { reset, arrow_top, arrow_right, arrow_bottom, arrow_left, } from 'dnb-ui-lib/icons/primary' // new secondary icons import { home, settings, refresh, add_file, view_on, view_off, } from 'dnb-ui-lib/icons/secondary' ``` ## Install To upgrade to v5.8 with NPM, use: ```bash $ npm i dnb-ui-lib@5 ``` _November, 30. 2019_