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

DSD-1642: Updating Page Layout components to Chakra 2.8 theme API #1490

Merged
merged 9 commits into from
Feb 5, 2024

Conversation

7emansell
Copy link
Collaborator

Fixes JIRA ticket DSD-1642.

This PR does the following:

  • Updates HorizontalRule, Table, StructuredContent, SimpleGrid, and Template components to Chakra 2.8 theme API
  • Table and SimpleGrid do not have theme files, but they are typed
  • Added changelogs to components that didn't already have them

How has this been tested?

Locally, Storybook

Accessibility concerns or updates

Checklist:

  • I have updated the Storybook documentation accordingly.
  • I have added relevant accessibility documentation for this pull request.
  • All new and existing tests passed.

Front End Review:

  • Review the Vercel preview deployment once it is ready.

Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nypl-design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2024 5:33pm

@7emansell 7emansell changed the base branch from development to react18-and-chakra January 11, 2024 18:33
Copy link

Your pull request is missing a changelog—was that intentional?

export const HorizontalRule: ChakraComponent<
React.ForwardRefExoticComponent<
React.PropsWithChildren<HorizontalRuleProps> &
React.RefAttributes<HTMLHRElement>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be HTMLDivElement & HTMLHRElement

@@ -33,6 +35,7 @@ import Link from "../Link/Link";
- {<Link href="#template-children-overview">Template Children Overview</Link>}
- {<Link href="#template-children-component-props">Template Children Component Props</Link>}
- {<Link href="#full-example-with-template-children-components">Full Example with Template Children Components</Link>}
- {<Link href="#changelog" target="_self">Changelog</Link>}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also update the latest version to "Prerelease"?

Copy link
Member

@EdwinGuzman EdwinGuzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. There's a merge conflict on strucutredContent.ts and I think that will fix some styling issues I see now for the Headings. Can you merge that in, fix, and update?

Also, images don't always load but there's a PR for that. If you can review that, that'd be great #1489

Copy link
Member

@EdwinGuzman EdwinGuzman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Headings look good in StructuredContent, thanks!

@bigfishdesign13 bigfishdesign13 added the Ship It Pull requests that have been reviewed and approved. label Jan 23, 2024
@7emansell 7emansell merged commit fcae110 into react18-and-chakra Feb 5, 2024
5 checks passed
@EdwinGuzman EdwinGuzman deleted the DSD-1642/page-layout branch March 4, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ship It Pull requests that have been reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants