Skip to content

Conversation

@geotrev
Copy link
Contributor

@geotrev geotrev commented Mar 5, 2024

Description

  • Creates subcomponent mapping for react-chrome
    • FooterItem -> Footer.Item
    • HeaderItem -> Header.Item
    • HeaderItemIcon -> Header.ItemIcon
    • HeaderItemText -> Header.ItemText
    • HeaderItemWrapper -> Header.ItemWrapper
    • NavItem -> Nav.Item
    • NavItemIcon -> Nav.ItemIcon
    • NavItemText -> Nav.ItemText
    • CollapsibleSubNavItem -> SubNav.CollapsibleItem
    • SubNavItem -> SubNav.Item
    • SubNavItemText -> SubNav.ItemText
  • Updates documentation
  • Deprecates legacy subcomponent exports

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (npm start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

@geotrev geotrev self-assigned this Mar 5, 2024
@geotrev geotrev requested a review from a team as a code owner March 5, 2024 22:03
@geotrev geotrev changed the title George/chrome mapping feat(chrome): adds sub-component mapping Mar 5, 2024

- Removed `PRODUCT` type export. Use `IHeaderItemProps['product']` instead.
- Some subcomponent exports have been deprecated and will be removed in a future major version.
Update to subcomponent properties.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wondering if we should document the specific mapping here, since it's a bit more nebulous with the number of components in the package.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I'd recommend copying the mapping from your PR description to a bulleted sublist here.

Copy link
Member

@jzempel jzempel left a comment

Choose a reason for hiding this comment

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


- Removed `PRODUCT` type export. Use `IHeaderItemProps['product']` instead.
- Some subcomponent exports have been deprecated and will be removed in a future major version.
Update to subcomponent properties.
Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I'd recommend copying the mapping from your PR description to a bulleted sublist here.

@geotrev geotrev requested a review from jzempel March 7, 2024 15:46
@coveralls
Copy link

Coverage Status

coverage: 96.012% (-0.007%) from 96.019%
when pulling ed0a187 on george/chrome-mapping
into 0061baa on next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants