v4.18
Since last release info
- In the Customization section you can now find the ready to use and optimized favicons.
- New icons:
upload
- Added layout CSS properties (
--layout-*
), like:--layout-large: 60em;
Modal
fullscreen
andmax_width
and a default max width of60rem
Dropdown
data
can now be given by a function- Now you can use
value
anddefault_value
instead ofselected_item
- A custom
width
is now easier to customize
GlobalError
New:The GlobalError is a simple component to integrate if a 404
or 500
has to be shown
You have a couple of options / properties to change the texts if needed.
import { GlobalError } from 'dnb-ui-lib/components'render(<GlobalError status="404" />)
Install
To upgrade to v4.18 with NPM, use:
$ npm i dnb-ui-lib@4.18# In case the NPM mirroring is not up to date$ npm i https://github.com/dnbexperience/eufemia/releases/download/v4.18.0/dnb-ui-lib-4.18.0.tgz
More details you can find in the Releases section on GitHub
September, 28. 2019