Skip to content

Tags: JohnnyMa/react-styleguidist

Tags

v9.1.11

Toggle v9.1.11's commit message
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

v9.1.10

Toggle v9.1.10's commit message
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".

v9.1.9

Toggle v9.1.9's commit message
Fix: Add .wasm and .mjs to default extensions in webpack config (styl…

…eguidist#1386)

Fixes styleguidist#1385

v9.1.8

Toggle v9.1.8's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix: Replace 'walkes' with 'estree-walker' (styleguidist#1349)

Because walkes has LGPL-3 license.

Fixes styleguidist#1210

v9.1.7

Toggle v9.1.7's commit message
Fix: Encode section pages URLs if a section name has special symbols (s…

…tyleguidist#1384)

Closes styleguidist#1332

v9.1.6

Toggle v9.1.6's commit message
Fix: Fix named export for example components (styleguidist#1380)

Closes styleguidist#1281

v9.1.5

Toggle v9.1.5's commit message
Fix: to make async/await work by default (styleguidist#1379)

Add transforms: { asyncAwait: false } for default compilerConfig to make async/await work by default. Bublé doesn't have transform for async/await so they raise an error if asyncAwait transformation in configuration is not false (true by default) since bublé v0.9.7.

Closes styleguidist#1371

v9.1.4

Toggle v9.1.4's commit message
Fix: Add .ts and .tsx to default extensions in webpack config

styleguidist#750

v9.1.3

Toggle v9.1.3's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Fix: Allow section content to be function (styleguidist#1368)

v9.1.2

Toggle v9.1.2's commit message
Fix: A build should't break when assetsDir is an array (styleguidist#…

…1367)

copy-webpack-plugin is not allowed `from` to be as an array. If we still want to use `from` and support array format for assetsDir, then we should pass array of objects `{from: ...}` to the plugin.

Closes styleguidist#1320