-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addon-docs: Typescript inherited prop types #9110
Addon-docs: Typescript inherited prop types #9110
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/storybook/monorepo/i1w06ypdk |
@domyen this could use your design eye I think. |
Thanks @ndelangen! @atanasster we chatted about the design in the other issue. Notes:
All of the UI patterns are built atop existing designs with the exception of the expandable/collapsable pattern and the row indentation. |
Thanks @domyen - what about this: |
I think we need to strip the letter-spacing and other styling from the expander items so that they look more like the default row items. Right now it seems like the expander item uses styling left over from the section separator when it should use the styling of the table row. Check the Zeplin link to inspect the styles 👍 |
thanks @domyen , got the link and I think its getting close :) |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
@atanasster I came here from this gist and it's not clear to me how I would edit Could you please provide an example based on the config used in the gist? const path = require("path");
module.exports = {
stories: ["../src/stories/**/*.stories.(ts|tsx|js|jsx)"],
addons: [
"@storybook/addon-actions",
"@storybook/addon-links",
{
name: "@storybook/preset-create-react-app",
options: {
tsDocgenLoaderOptions: {
tsconfigPath: path.resolve(__dirname, "../tsconfig.json")
}
}
},
{
name: "@storybook/addon-docs",
options: {
configureJSX: true
}
}
]
}; Thank you. |
@shilman what's going to happen with this PR? I can't resolve the merge-conflicts. Are these changes already applied? Are we missing this feature? |
@ndelangen I'll take care of it |
Hi @shilman what's the state of this PR? |
any updates on this? would be a fantastic feature |
@shilman please re-open if you think this is useful to keep. |
Issue: #7943
What I did
How to test
replace
webpack-react-docgen-typescript
withreact-docgen-typescript-loader
in official-storybook/main.jscc @shilman @domyen @patricklafrance