Tags: Lazyuki/react-styleguidist
Tags
Fix: Update copy-webpack-plugin (styleguidist#1491) Update copy-webpack-plugin which includes latest version of serialize-javascript that fixes a security vulnerability: GHSA-h9rv-jmmf-4pgx
New: Accept styles config as a function (styleguidist#1490) * accept styles as a function * fix error * update typings * add test for function * remove console.log * fix typings * avoid using custom styles * update documentation * update customized example * add cooment in example * typo in documentation Co-Authored-By: Artem Sapegin <[email protected]> * force rebuild for testing
Fix: Update JSS plugin dependencies to fix peer dependencies warnings (… …styleguidist#1470, fixes styleguidist#1467)
New: Add --port command line option to change the dev server port (st… …yleguidist#1460, fixes styleguidist#936)
New: Modifier to add whitespace between example components (styleguid… …ist#1456, fixes styleguidist#841) Let users to be able to add padding between example components without adding manual styling to their example code. This adds the `padded` modifier option to the Playground that adds padding between each example component in that block. ```jsx padded <Button>Push Me</Button> <Button>Click Me</Button> <Button>Tap Me</Button> ```
Fix: Allow isolated components with duplicate names (fixes styleguidi… …st#1454) If you have more than one component with the same name, the isolated mode will incorrectly show all of the components of the same name (instead of just the one you clicked on). This fix solves the issue by prepending the existing hash path from the page the user came from. By prepending this hash path, Styleguidist correctly scopes the isolated example to just the desired component.
PreviousNext