Skip to content

Tags: rishabhgupta/react-styleguidist

Tags

v11.0.6

Toggle v11.0.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Show examples with targetIndex = 0 (styleguidist#1573)

Co-authored-by: Vladimir Akimov <[email protected]>

v11.0.5

Toggle v11.0.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Fix missing FlowType enum values in prop description (styleguidi…

…st#1571)

In `ef4c109b`, the file `PropsRenderer.js` (located at
`src/client/rsg-components/Props/PropsRenderer.js`) was removed. In
`PropsRenderer.js`, the `renderExtra` method checked whether `getType`
for the argument to `renderExtra` was present:

```es6
function renderExtra(prop) {
  const type = getType(prop);
  if (!type) {
    return null;
  }
  ...
}
```

However, in `ef4c109b`, this method was replaced with `renderExtra.tsx`
and the condition was changed to:

```typescript
export default function renderExtra(prop: PropDescriptorWithFlow): React.ReactNode {
  const type = getType(prop);
  if (!prop.type || !type) {
    return null;
  }
```

Unfortunately, this extra condition has resulted in this method always
returning `null` for a Flow typed prop as `prop.type` is always `null`
as `prop.type` is never set.

This commit reverts the condition to what it was before the migration to
TypeScript.

v11.0.4

Toggle v11.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Correct Usage of CleanWebpackPlugin (styleguidist#1565)

I was still using an option that no longer exists. Fixed to mimic the original behavior. The option `root` was removed in v2, but wasn't changed during the upgrade in styleguidist@9804259

It's deleting everything in the styleguidistDir folder which isn't the way it was before.
After this change it only deletes files in build/.

v11.0.3

Toggle v11.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Sections with href were always open in new tab, regardless of th…

…e external option (styleguidist#1564)

Fixes styleguidist#1559

v11.0.2

Toggle v11.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Prop types are missing for TypeScript (styleguidist#1563)

Closes styleguidist#1551

v11.0.1

Toggle v11.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Exported TypeScript typings (styleguidist#1550)

v11.0.0

Toggle v11.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Breaking: Drop Node.js 8 support (styleguidist#1545)

The minimum supported Node.js version is 10.

v10.6.2

Toggle v10.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix: Open all sections when searching (styleguidist#1537)

When searching with the option tocmode: 'collapse' the sections do not open automatically (because they keep their state). The found section or page is therefore not visible nor clickable.

v10.6.1

Toggle v10.6.1's commit message
Build: Make sure compile works on windows (styleguidist#1522)

v10.6.0

Toggle v10.6.0's commit message
Build(deps): Bump lodash from 4.17.11 to 4.17.13 in /examples/webpack (

…styleguidist#1518)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <[email protected]>