-
Notifications
You must be signed in to change notification settings - Fork 36
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
chore(react-keytips): add themes addon #238
Conversation
@@ -52,6 +52,7 @@ | |||
"@storybook/addon-essentials": "7.6.10", | |||
"@storybook/addon-interactions": "^7.5.3", | |||
"@storybook/addon-storysource": "7.6.10", | |||
"@storybook/addon-themes": "7.6.17", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all sb versions needs to be on same version - please bump other packages as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action required - ty
@@ -4,6 +4,9 @@ const config: StorybookConfig = { | |||
stories: ['../stories/**/index.stories.@(js|jsx|ts|tsx|mdx)'], | |||
addons: [ | |||
'@nx/react/plugins/storybook', | |||
'@storybook/addon-docs', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems this adds more than "advertised" within the PR 👀
- why do we need actions ? is anyone using that ( from my personal experiences using those might be an anti-pattern )
- what about the docs addon ?
<Story /> | ||
</FluentProvider> | ||
), | ||
withThemeFromJSXProvider({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this starts to become a maintenance burden / hard to manage boilerplate - this should be implemented as part of sb plugin ( we have this in core repo AFAIR ? -> it will be published and streamlined here as well in future )
I'd start just with adding this functionality to your package in order to not introduce unmaintained boilerplate while accommodating your package needs. wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about this as well, but after noticed it's not published and was't sure if it's planned to be published, decided to use this approach as for contrib that might be sufficient to use official sb plugin for theming. Will close this one then. Thanks.
packages/pierce-dom/.eslintrc.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"extends": ["../../.eslintrc.json"], | |||
"ignorePatterns": ["!**/*"], | |||
"ignorePatterns": ["!**/*", "storybook-static"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was added automatically when I run generator, will check why it was added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happened here ?
ec20ebb
to
cb8e4f3
Compare
cb8e4f3
to
162ff39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please make sure to provide description of your PR. ty
adding themes addon for upcoming #221