patternfly-react
patternfly-react copied to clipboard
feat(WizardComposable): Created composable spinoff of wizard w/ enhancements
What: Closes #7663 Depends on:
- #7824
- https://github.com/patternfly/patternfly-org/pull/3126
Note:
- Unit tests for ancillary wizard components will be included in a follow-up PR.
- 3 starting Examples have been made under a new tab called
React composablein the/wizard/componentsdoc, and the older wizard examples still reside in aReact legacytab (mimicking the composable table doc approach).
Preview: https://patternfly-react-pr-7703.surge.sh
A11y report: https://patternfly-react-pr-7703-a11y.surge.sh
Weird observation, half of the components in the side nav are missing?
Also, i think this is really great! @thatblindgeye has just done some work on improving documentation for composable components included in this PR. It think it'd be good to include the prop table descriptions like he did for the File upload - multiple documentations, as well as the composable structure section.
@nicolethoen Good catch on the left nav. I think that should be fixed now. Also added descriptions to the interfaces for those Composable prop tables & added a "Structure" section as well.
@mcarrano @mmenestr This PR add the new composable wizard with the naming and documentation standards we had proposed. Please take a look at the React next tab and let us know if you have any concerns with naming. This is a beta components so will be continuing to work on documentation of use cases that were supported by the current wizard.
cc @jeffpuzzo
I think the examples look good @tlabaj @jeffpuzzo with the assumption that we can continue to add to this.
So is "React next" the labeling we want to apply to these types of new and improved components? It deviates from what we've done elsewhere with using "Legacy." We might need more discussion on how to talk this presentation on the website, i.e. as a consumer of PatternFly do I know what "React next" means?
I think the examples look good @tlabaj @jeffpuzzo with the assumption that we can continue to add to this.
So is "React next" the labeling we want to apply to these types of new and improved components? It deviates from what we've done elsewhere with using "Legacy." We might need more discussion on how to talk this presentation on the website, i.e. as a consumer of PatternFly do I know what "React next" means?
@mcarrano the tab name can easily be changed if it is determined to not be meaningful enough. We did meet with Sam in terms of naming the import paths for the new components and "next" is what we proposed. That is why we decided to name the tab "React next".
I just noticed that none of the Prop interfaces are listing default values in the docs. Even the props that not defaulted to undefined are blank.
@tlabaj Should be good with the latest changes. Turns out specifying WizardStepProps vs WizardStep (as an example) does not include those defaults.
Your changes have been released in:
- [email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- [email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- [email protected]
Thanks for your contribution! :tada: