github styleguidist/react-styleguidist v5.5.0

latest releases: v13.1.3, v13.1.2, v13.1.1...
7 years ago

New features

Copy pathline to clipboard button

(#485, #471 by @SaraVieira)

Easier way to override style guide React components

New config option styleguideComponents to override React components used to render a style guide.

module.exports = {
  styleguideComponents: {
    Logo: path.join(__dirname, 'styleguide/components/Logo'),
    StyleGuideRenderer: path.join(__dirname, 'styleguide/components/StyleGuide'),
  },
};

(#504)

Customizable logging

New logger option:

module.exports = {
  logger: {
    // One of: info, debug, warn
    // Suppress messages
    info: () => {},
    // Override display function
    warn: message => console.warn(`NOOOOOO: ${message}`),
  },
};

(#472, #510)

Bug fixes

  • Allow devServer.watchConfig to be configured, this also means Vagrant is now supported (#515, #516 by @esphen)
  • Default getExampleFilename should be case-insensitive (#423, #460, #440, #482)
  • Allow dynamic JSS styles
  • Isolate search placeholder styles (#509, #491 by @n1313)

Don't miss a new react-styleguidist release

NewReleases is sending notifications on new releases.