The configuration of the .prettierrc file was reverted as it was unnecessarily changing the files in the entire project. I don't consider it necessary to make this change now.
I had to use the // eslint-disable-next-line import/no-cycle rule because the utils.js file has different responsibilities. On one hand, it imports all the utils classes like the spreadClasses() method, and it also exports the init*() methods so that the components can be used outside of UDS. This will be something to review in the future for better code modularization.
Also, some props defined in the Testimonial component stories were misdefined.
Description
New image component for UDS
Some thoughts on these changes:
.prettierrc
file was reverted as it was unnecessarily changing the files in the entire project. I don't consider it necessary to make this change now.// eslint-disable-next-line import/no-cycle
rule because theutils.js
file has different responsibilities. On one hand, it imports all the utils classes like thespreadClasses()
method, and it also exports theinit*()
methods so that the components can be used outside of UDS. This will be something to review in the future for better code modularization.Links
Checklist
yarn install
&yarn build
Browsers
Images