Skip to content

Focus Components 2.1.1

Compare
Choose a tag to compare
@GuenoleK GuenoleK released this 15 Dec 15:17
· 543 commits to master since this release

On this new version, we focus on stability and bug fixes.

install with npm i -S [email protected]

The most important

Hello ! i am @GuenoleK and this is my first release !

Thanks

@Hartorn @JohnnP for the PR and globaly everyone for the issues/bug reports.

What's new ?

Fixes & Improvments

  • Button component : Previously the given props didn't take the whole dom props' possibilities. Thanks to the PR #1297
    Beware : Please read the https://facebook.github.io/react/warnings/unknown-prop.html documentation to see the new sent warnings when an unknown property is given since React 15
  • Custom classes : Taking the previous point, the follow PR #1311 fixes className override
  • Popin : The PR #1298 the imported function includes from lodash was causing conflicts on some projects in the popin code. We can do it nativly with javascript Array.find to do the same. It also update React importation using import and no more require
  • ListSummary : Thanks to the PR #1299 the translation is now better managed. Previously it tried to translate result or results when we were in the scope all case. So now it will translate properly by going in the result.all or results.all in your translation which is more right. Please have a look if you did a workaround on your project.
  • DisplayText : There was a translation which was never used on the DisplayText component. It breaks the translation on the projects. Fixed thanks to PR #1303
  • Mixin/StoreChangeBehaviour : the status was set in the state after the errors were set, in this behaviour. It does a new render, so the errors are not displayed anymore. Fixed on PR #1304
  • InputDate : before when we selected a date we didn't have the exact date for a save, for example. So the UTC offset was added on the dropDown change function. Now you have the good UTC date for the server with the exact day and time. (The previous method was sometimes bad because it was not reporting the good hour on summer on winter time). See the changes on the PR #1301