Skip to content
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

feat: implement ProcessListHeading subcomponent #1162

Merged
merged 37 commits into from
Apr 27, 2021

Conversation

SirenaBorracha
Copy link
Contributor

@SirenaBorracha SirenaBorracha commented Apr 20, 2021

Summary

This PR implements the ProcessListHeading subcomponent so that users have an out of the box heading component and do not have to manually apply the USWDS heading className.

Related Issues or PRs

closes #1134

As the MVP ProcessList PR #1107 has not yet been merged, I made that branch the target for this PR.

How To Test

Check out this branch and run yarn test to execute tests and yarn storybook to see the component in action.

Alternatively, you can scroll to the bottom of this page and click "Show environments" on the right above the comment input box to access this component in Storybook.

Screenshots (optional)

Nothing is changed visually in this PR from the MVP ProcessList component PR #1107

@SirenaBorracha SirenaBorracha linked an issue Apr 20, 2021 that may be closed by this pull request
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 20, 2021 02:22 Inactive
…ations, export ProcessListHeading from index.ts
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 20, 2021 02:34 Inactive
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 20, 2021 17:14 Inactive
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 23, 2021 00:10 Inactive
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 23, 2021 00:15 Inactive
@brandonlenz
Copy link
Contributor

brandonlenz commented Apr 23, 2021

Oh, do you want this branch targeting main?

edit: all clear, I forgot the process list PR is open, This should be merged after process list.

@brandonlenz brandonlenz added the status: hold merge This indicates not to merge the PR as there is a development dependency/other reason to hold off. label Apr 26, 2021
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 26, 2021 23:17 Inactive
Base automatically changed from ak-new-component-process-list-979 to main April 27, 2021 20:57
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 27, 2021 22:48 Inactive
@trussworks-infra-zz trussworks-infra-zz temporarily deployed to storybook April 27, 2021 23:50 Inactive
@SirenaBorracha SirenaBorracha merged commit 964e34c into main Apr 27, 2021
@SirenaBorracha SirenaBorracha deleted the ak-process-list-subcomponent-1134 branch April 27, 2021 23:54
SirenaBorracha added a commit that referenced this pull request May 5, 2021
## [1.17.0](1.16.0...1.17.0) (2021-05-05)


### Features

* Checkbox Tile Variant ([#1104](#1104)) ([9936c4a](9936c4a))
* Implement ProcessListHeading subcomponent ([#1162](#1162)) ([964e34c](964e34c))
* New Component ProcessList MVP ([#1107](#1107)) ([1bc0f93](1bc0f93))
* New Component SiteAlert ([#1099](#1099)) ([c1e88e0](c1e88e0))
* New Component SummaryBox ([#1098](#1098)) ([b2279b4](b2279b4))
* Radio Button Tile Variant ([#1101](#1101)) ([a2f40a0](a2f40a0))
* Update Grid components to render any type of element ([#1166](#1166)) ([07468c8](07468c8)), closes [#1194](#1194)
* Update Search component to support i18n ([#1192](#1192)) ([5241d15](5241d15))
* Update Table to 2.10.0 implementation  ([#1110](#1110)) ([117a6c7](117a6c7))
brandonlenz pushed a commit that referenced this pull request May 12, 2021
* Create subfolders and files, write and pass one test each for ProcessList and ProcessListItem components, rendering some text in a div in Storybook

* Import ProcessListItem to the stories file and render some text in a div on Storybook

* Add minimum Storybook examples as skeletons, create props interfaces, update tests

* Disable anchor is valid check in test files, add test checking for ability to pass in attributes

* Export ProcessList components from index.ts

* Remove unnecessary fragment

* Add ProcessListHeading to ProcessList test data, use ProcessListHeading in default storybook example

* Use ProcessListHeading custom component in storybook

* Remove unnecessary childwithprops from CustomHeadingProps type declarations, export ProcessListHeading from index.ts

* Accidentally left off an & T

* Make changes to ProcessListHeading based on PR feedback, update tests and syntax

* Remove whitespace from package.json

* Remove weird whitespace addition to yarn.lock

* Regenerate yarn.lock

* Merge changes from ProcessList

* Regenerate yarn.lock

* Replace mistakenly deleted period from stories file
brandonlenz pushed a commit that referenced this pull request May 12, 2021
## [1.17.0](1.16.0...1.17.0) (2021-05-05)


### Features

* Checkbox Tile Variant ([#1104](#1104)) ([9936c4a](9936c4a))
* Implement ProcessListHeading subcomponent ([#1162](#1162)) ([964e34c](964e34c))
* New Component ProcessList MVP ([#1107](#1107)) ([1bc0f93](1bc0f93))
* New Component SiteAlert ([#1099](#1099)) ([c1e88e0](c1e88e0))
* New Component SummaryBox ([#1098](#1098)) ([b2279b4](b2279b4))
* Radio Button Tile Variant ([#1101](#1101)) ([a2f40a0](a2f40a0))
* Update Grid components to render any type of element ([#1166](#1166)) ([07468c8](07468c8)), closes [#1194](#1194)
* Update Search component to support i18n ([#1192](#1192)) ([5241d15](5241d15))
* Update Table to 2.10.0 implementation  ([#1110](#1110)) ([117a6c7](117a6c7))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: hold merge This indicates not to merge the PR as there is a development dependency/other reason to hold off.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] Implement ProcessList subcomponent
3 participants