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(chrome)!: removes Subnav component #1787

Merged
merged 6 commits into from
Apr 12, 2024
Merged

feat(chrome)!: removes Subnav component #1787

merged 6 commits into from
Apr 12, 2024

Conversation

ze-flo
Copy link
Contributor

@ze-flo ze-flo commented Apr 11, 2024

Description

  • Removes Chrome's Subnav component and associated dependencies.
  • Update migration guide

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

@coveralls
Copy link

coveralls commented Apr 11, 2024

Coverage Status

coverage: 96.228% (-0.002%) from 96.23%
when pulling f039e09 on ze-flo/remove-subwav
into 0996d8f on next.

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.

After you GH auth with CircleCI, we should be seeing an auto deployment on the PR πŸ˜‰

@@ -90,14 +83,10 @@ import README from '../README.md';
isFluid: { control: 'boolean' },
skipNav: { name: 'children', table: { category: 'SkipNav' } },
isExpanded: { name: 'Nav isExpanded', table: { category: 'Story' } },
isWrapped: { name: 'Nav/SubNav isWrapped', table: { category: 'Story' } },
Copy link
Member

Choose a reason for hiding this comment

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

I think we still want the isWrapped control for Nav.

hasHeader: boolean;
headerItems: IHeaderItem[];
hasFooter: boolean;
footerItems: IFooterItem[];
isExpanded: boolean;
isWrapped: boolean;
Copy link
Member

Choose a reason for hiding this comment

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

ditto

}}
>
<Nav.ItemIcon>{NAV_ICONS[index] || <NavIcon />}</Nav.ItemIcon>
<Nav.ItemText isWrapped={isWrapped}>{item.text}</Nav.ItemText>
Copy link
Member

Choose a reason for hiding this comment

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

Let's definitely keep this

Copy link
Member

Choose a reason for hiding this comment

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

[nit] should be isWrapped: { name: 'Nav isWrapped', table: { category: 'Story' } }, rather than 'Nav/Subnav isWrapped'.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@geotrev geotrev left a comment

Choose a reason for hiding this comment

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

Other than JZ's comment, looks good in code & demo.

@ze-flo ze-flo merged commit 400d6e3 into next Apr 12, 2024
5 checks passed
@ze-flo ze-flo deleted the ze-flo/remove-subwav branch April 12, 2024 19:38
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.

None yet

5 participants