Releases: kununu/nukleus
Fixes for MultipleChoice and Autocomplete components
Update MultipleChoice
This release fixes an issue with multipleChoice component where you cannot update the options after initial render. Now you can change the options/choices prop at any time and the component will reflect this.
Add theming
In order to allow more flexibility and control we've added theming to nukleus #487. Please check out the ThemeProvider docs (https://kununu.github.io/nukleus/?selectedKind=ThemeProvider&selectedStory=basics&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel) for more details
Updated DropDown component
DropDown component was updated and a new shade
prop was added. It can be either dark
(default) or light
and change colors to allow usage on both light and dark backgrounds.
<DropDown shade="light" ... />
See updated docs for shade usage
Updated DropDown component
DropDown component was updated to add some dropdown standards behaviors that were previously missing. It's now much more powerful and with huge improvements on accessibility.
- 🚨 API drastically changed, but for the better! Please make sure to read DropDown documentation
- Improved documentation with many different examples on its usage
- Improved tests coverage
- Improved accessibility
Updated Datepicker component
- Datepicker component was updated and Moment.js is no longer in use 🎉
- 🚨 Some props were changed and new were added, so make sure to read Datepicker documentation
- Moment.js was removed in favor of JS native Date objects
- Datepicker component tests coverage reached 100%
- React was updated to latest version (
16.6.3
)
New table component
- The table has been revised and now has a new api that includes sorting out of the box.
Update all dependencies
!!Updates!!
- Updated to React 16!
- Updated all dependencies and re-enabled Greenkeeper to keep dependencies up to date.
- Updated components using react-router to support both react-router v4 and previous versions.
Updated theme version
- Switched from kununu-theme to scoped kununu-theme-v2 package.
Improve select performance
Small performance update:
- Inlined the caret in the select to help improve performance and reduce requests for the image.
- We removed the z-index hack for ie10 since it only works if you add a special class to your html tag and does not make sense in nukleus.