Tags: elsonlim/react-styleguidist
Tags
Fix: Single sections can contain only sections (styleguidist#1414) If a section contains only one subsection, Styleguidist will try to optimize. It will make the section disappear and show its components instead. If this section only contain sections, no components, it should optimize to sections and not to components.
Fix: Highlighting currently selected page on sidebar broken with sect… …ions (styleguidist#1405) Fixes styleguidist#1375
Fix: Fix incorrect component name capitalization (styleguidist#1388) Fixes styleguidist#1381 It is happening in a case when react-docgen (any propsParser) is failed and we are trying to guess displayName based on file path. We capitalized every case in the string instead of just words separated by `-` started with small letter. So, by mistake `ButtonTS` in file name becomes `ButtonTs` display name for component when we expect `ButtonTS` Use [startCase]:(https://lodash.com/docs/4.17.11#startCase) and then remove spaces which covers most our cases likemy-buttonTS => MyButtonTS
Fix: Encode sublinks in URLs to fix broken routes (styleguidist#1389) Follow up of styleguidist#1332. This appears to have fixed the top level section link, but any sub-links within that section are still unencoded and result in "Page not found".
Fix: Add .wasm and .mjs to default extensions in webpack config (styl… …eguidist#1386) Fixes styleguidist#1385
Fix: Replace 'walkes' with 'estree-walker' (styleguidist#1349) Because walkes has LGPL-3 license. Fixes styleguidist#1210
PreviousNext