chore(deps): update dependency react-styleguidist to v13
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
react-styleguidist | devDependencies | major | ^10.2.0 -> ^13.0.0 |
Release Notes
styleguidist/react-styleguidist (react-styleguidist)
v13.1.3
Bug Fixes
- replace deprecated defaultProps (9886b64)
v13.1.2
Bug Fixes
v13.1.1
Bug Fixes
v13.1.0
Features
v13.0.0
BREAKING CHANGES
- React 16 no longer supported
v12.0.1
Bug Fixes
v12.0.0
Features
BREAKING CHANGES
- Webpack 4 is no longer supported.
v11.2.0
Features
v11.1.8
Bug Fixes
v11.1.7
Bug Fixes
v11.1.6
Bug Fixes
v11.1.5
Bug Fixes
v11.1.4
Bug Fixes
- Fix dev server crash (#1718) (c39b42f), closes #1714 #1705
- Paragraphs should use
text
font size from the theme (#1717) (9c2ca5b)
v11.1.3
Bug Fixes
v11.1.2
Bug Fixes
v11.1.1
Bug Fixes
v11.1.0
Features
v11.0.11
Bug Fixes
- Don't show warning that @returns JSDoc tag has no name (#1671) (fc29f90), closes #1667
- Fix broken assetsDir due to updated copy-webpack-plugin (#1690) (43e19df), closes #1676
v11.0.10
Bug Fixes
v11.0.9
Bug Fixes
- Correct behavior of the link closing isolated view (#1627) (9b6b6f6), closes #1479
- Make JSDoc @param display arrays (#1623) (921e8b1), closes #1611
- Treat exact props the same as shape (#1610) (a612a1d)
- Upgrade Buble from 1.19.8 to 0.20.0 (#1670) (e915e72), closes #1659
- Upgrade vulnerable packages (#1658) (53bc4bb)
- Wrong union description with TypeScript #1621 (#1629) (a9783d6)
v11.0.8
Fix
v11.0.7
Fix
v11.0.6
chore
- Upgrade deps (523cc81)
Chore
Docs
- Add React-axe to cookbook (#1581) (5402dfe), closes #1581
- Update styled-components usage (5223f8f)
Fix
v11.0.5
fix
- Fix broken imports for components with the same name imported from different folders (#1567) (b03c207), closes #1567 #1566
Fix
v11.0.4
Fix
v11.0.3
Fix
- Sections with href were always open in new tab, regardless of the external option (#1564) (83fdb94), closes #1564 #1559
v11.0.2
Docs
Fix
v11.0.1
chore
- Upgrade React (106df96)
Chore
Fix
v11.0.0
Breaking changes
TypeScript is supported out of the box
We’ve upgraded react-docgen to 5.0.0, which adds TypeScript support out of the box. The are some limitations, so you may still need react-docgen-typescript — see docs for more details.
(#1500, #1354 by @thecodejack)
Fenced code blocks in Markdown with tags typescript
, ts
and tsx
are rendered as an interactive playground. Use the static
modifier to render only the source code.
(#1543 by @mitsuruog)
Prefer default exports over named exports
When your component has both default and named exports, Styleguidist will use the default export. This is a bug fix but may break some style guides.
import React from 'react';
import styled from 'styled-components';
export const C: React.FC = () => {
...
}
const StyledC = styled(C)``;
export default StyledC;
Remove initialState/setState/state
Use React’s useState
hook instead:
- initialState = { count: 42 };
- <Button onClick={() => setState({ count: state.count + 1 })}>{state.count}</Button>
+ const [count, setCount] = React.useState(42);
+ <Button onClick={() => setCount(count + 1)}>{count}</Button>
(#1501 by @thecodejack)
Drop Node.js 8 support
The minimum supported version on Node.js is 10.
(#1545)
New features
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.