There is a good old saying, "A maintained thing goes a long way" and we at Hartan are trying to embrace it. It has been a long time since we created Hartan that it was updated. Recently we felt a need to do so as we saw potential in increasing Hartan's ability and expanding the features of the library. There are minor updates and the version has changed from v1.2.2 to v1.3.3. We recommend using the latest version for added features. Let's know what's all changed:
i. Firstly, we have added an 'id' prop to each component available. Since most component are wrapped inside some kind of div, that means 'id' can be used to access the full component. For example, if you want to provide custom CSS you can do it using id and css nesting. Another helpful implementation might be the scrolling on same page using section id.
ii. We have updated the Accordion component such that it now accepts custom symbols for opening and closing of the accordion contents. This could be helpful if someone wants to provide a custom symbol for their Accordion.
iii. And Lastly, we have added a prop called 'imgLoad' in the components which use 'img' tag directly as part of the written code. This is mainly provided to allow users to pass the custom value for 'loading' attribute in the image tag.