github doczjs/docz v0.11.0

latest releases: v2.4.0, v2.3.3-alpha.0, v2.3.2-alpha.0...
5 years ago

Changelog

🐞  Bug Fixes

  • docz-core: dispose hmr on imports (ba51086)
  • docz-core: join head tags (#255) (065e8b3)
  • docz-core: update react-docgen-typescript-loader to fix props table (34b2fdf)
  • docz-plugin-css: fix empty loaderOpts (193367b)
  • docz-plugin-css: fix empty loaderOpts (bb9b946)
  • docz-theme-default: add prop to keep codemirror last line (5c1e813)
  • docz-theme-default: add prop to keep codemirror last line (bf19ad5)
  • docz-theme-default: codemirror line end bug (9b07d27)
  • docz-theme-default: fix mobile menu peaking (#262) (77b627f)
  • docz-theme-default: remove react-breakpoints (c8288b0)
  • docz-theme-default: update the empty message (9db9231)
  • load-cfg: use fs-extra to read json sync instead of JSON.parse (04d1e1a)
  • base url and hash router making weird url (f483638)

🚀  Features

  • add link of repository from website (#245) (85cc9e7)
  • babel-preset-docz: add new babel preset (5efb568)
  • integration with react native (#271) (ac359ce)
  • docz-example-styled-components: add new example (0cef75e)
  • docz-theme-default: add auto close tags on playground editor (a6e5cf7)
  • docz-theme-default: add blockquote component (86ada87)
  • docz-theme-default: add refresh btn on playground (#254) (ebefd91), closes #251
  • docz-theme-default: add scrollbar on playground (#279) (0f6ea2a)

Thanks on this release to @jaburcodes @nicholasess @arojunior @lucasferreira 👏🏻👏🏻


⚠️  Drop support to Babel 6 ⚠️

Since Babel 7 now is a reality, in this new release we're dropping support for older versions of babel. Please, if you want to use this version, upgrade your babel. You can use babel-upgrade by just running:

npx babel-upgrade --write

📱  React Native Integration

Now you can easily document and test your React Native components just by adding docz-plugin-react-native on your doczrc.js:

import { reactNative } from 'docz-plugin-react-native'

export default {
  plugins: [reactNative()]
}

⏬  Automatic scrollbar on code

Now if your code snippet is too big, docz automatic shows a scrollbar on it

🔖  Auto-close tags on Playground

Don't miss a new docz release

NewReleases is sending notifications on new releases.