Storybook: [Addon Info] - upgrading from 4.0.12 to 4.1.6 missing styling for prop tables

Created on 17 Jan 2019  路  6Comments  路  Source: storybookjs/storybook

Describe the bug
Upgrading to storybook/addon-info@^4.1.6 from 4.0.12 broke styling for prop tables.

To Reproduce
Steps to reproduce the behavior:

  1. View default propTables on a local repo hard pinned to [email protected]
  2. Upgrade to [email protected] and restart local storybook
  3. Compare prop tables

Expected behavior
An explanation on how to retain the styles in the docs or reverting the change to allow default styles to return without a major bump.

Screenshots
If applicable, add screenshots to help explain your problem.
v4.0.12
screen shot 2019-01-17 at 4 39 37 am

v4.1.6
screen shot 2019-01-17 at 4 41 59 am

System:

  • OS: MacOS
  • Device: Macbook Pro 2017
  • Browser: Chrome
  • Framework: React
  • Addons: addon-info
  • Version: 4.1.6
info bug good first issue

Most helpful comment

we're replacing addon-info with a much better option that will also be stylable. more updates soon 馃憖

All 6 comments

This visual regression was introduced in #5148 as we pulled this out of the Storybook component library for React back-compat. It would be a great first issue for somebody who wants to style this!

Hi @shilman,

It would be nice to be able to style the propsTable, could this be achieved by adding propsTable to baseInfoStyles object?

Thanks for all of your work.

we're replacing addon-info with a much better option that will also be stylable. more updates soon 馃憖

@shilman is there a place I can subscribe to to follow along to the updates? Excited for this!

@graygilmore https://medium.com/storybookjs/storybook-docs-sneak-peak-5be78445094a is the announcement, and there is ongoing discussion in #docs-mode channel on our discord https://discord.gg/UUt2PJb

Fixed in 5.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZigGreen picture ZigGreen  路  3Comments

sakulstra picture sakulstra  路  3Comments

oriSomething picture oriSomething  路  3Comments

purplecones picture purplecones  路  3Comments

rpersaud picture rpersaud  路  3Comments