-
Notifications
You must be signed in to change notification settings - Fork 839
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
[Storybook] Add stories for more components (letters R-S) - Part 4 #7733
[Storybook] Add stories for more components (letters R-S) - Part 4 #7733
Conversation
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.
[just me thinking out loud] I sometimes wonder how much value consumers get from us exporting subcomponents like this, vs just the higher level components 🤔
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.
It can have value to understand what's available, how it works etc. Or even to maybe reuse some components in other contexts even if unexpected? 🤔
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.
Minor nav bar organization
- which is its own separate style
db10dd3
to
6b8eb75
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.
Pushed up a minor fix for undefined
step status being valid for EuiStepNumber
and EuiStep
(but not EuiStepHorizontal
🤷), other than that this looks great!
Preview staging links for this PR:
|
💚 Build Succeeded
History
|
@@ -12,7 +12,7 @@ import { hideStorybookControls } from '../../../.storybook/utils'; | |||
import { EuiStepNumber, EuiStepNumberProps } from './step_number'; | |||
|
|||
const meta: Meta<EuiStepNumberProps> = { | |||
title: 'Navigation/EuiSteps/EuiStepNumber', | |||
title: 'Navigation/EuiSteps/Subcomponents/EuiStepNumber', |
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.
Hmm, if I remember correctly, we had a discussion some time ago about nesting conventions and agreed that we nest subcomponents under the components based on component name and that we wouldn't add other folders as that might be confusing? (conversation)
So the idea would be that EuiStepNumber
is a subcomponent of EuiSteps
(or even EuiStep
) so it's nested under those.
Next to other components the naming Subcomponents
now would mean there is a component called Subcomponents
if we go by how we organized components so far 😅
Summary
closes #7482
This PR adds more stories for components with the letter S:
Additionally adds base VRT reference images based on the added stories.
QA