Checklist(Check off all the items before submitting)
[x] Build process is done without errors and all tests pass in the /lib directory.
[x] Self-reviewed the code before submitting.
[x] Meets accessibility standards.
[x] Added/updated documentation to /website as needed.
[x] Added/updated tests as needed.
Description
The problem was the JSON.parse(JSON.stringify(defaultTranslatedComponentLabels)); line at the method parseLabels. HalstackProvider labels object is not serializable (the object has functions inside), so the JSON methods won't work with this object, causing the error.
Also, the URL to an icon in both Accordion and Button stories was not founded anymore. Updated.
Checklist (Check off all the items before submitting)
/lib
directory./website
as needed.Description The problem was the
JSON.parse(JSON.stringify(defaultTranslatedComponentLabels));
line at the methodparseLabels
. HalstackProviderlabels
object is not serializable (the object has functions inside), so the JSON methods won't work with this object, causing the error.Also, the URL to an icon in both Accordion and Button stories was not founded anymore. Updated.
Closes #1584