Skip to content

Conversation

@broccolinisoup
Copy link
Member

@broccolinisoup broccolinisoup commented Oct 18, 2022

Issues addressed in this PR:

  • Render menu items as the given as prop to the UnderlineNavItem
  • Remove event.preventDefault() from click and keypress handlers as UnderlineNav should support with href along with react routing configuration. When react routing is configured, it ignores the href
  • Add React router example to the documentation

Merge checklist

  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@broccolinisoup broccolinisoup added the skip changeset This change does not need a changelog label Oct 18, 2022
@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2022

🦋 Changeset detected

Latest commit: 4378c3b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@broccolinisoup broccolinisoup changed the title UnderlineNav2: React router implementation fixes & docs improvement [UnderlineNav2]: React router implementation fixes & docs improvement Oct 18, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 77.91 KB (0%)
dist/browser.umd.js 78.55 KB (0%)

@broccolinisoup broccolinisoup temporarily deployed to github-pages October 18, 2022 06:52 Inactive
@broccolinisoup broccolinisoup marked this pull request as ready for review October 18, 2022 07:48
@broccolinisoup broccolinisoup removed the skip changeset This change does not need a changelog label Oct 18, 2022
@broccolinisoup broccolinisoup temporarily deployed to github-pages October 18, 2022 07:58 Inactive
Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

Super cool! 🥳

@broccolinisoup broccolinisoup merged commit 4328850 into underlineNav-sign-off-remediations Oct 19, 2022
@broccolinisoup broccolinisoup deleted the react-router-fixes branch October 19, 2022 00:22
broccolinisoup added a commit that referenced this pull request Oct 20, 2022
…#2448)

* react router implementation fixes

* add changeset
broccolinisoup added a commit that referenced this pull request Oct 21, 2022
…#2448)

* react router implementation fixes

* add changeset
broccolinisoup added a commit that referenced this pull request Oct 23, 2022
…#2448)

* react router implementation fixes

* add changeset
broccolinisoup added a commit that referenced this pull request Oct 24, 2022
…#2448)

* react router implementation fixes

* add changeset
broccolinisoup added a commit that referenced this pull request Oct 24, 2022
…#2448)

* react router implementation fixes

* add changeset
broccolinisoup added a commit that referenced this pull request Oct 25, 2022
…viour (A11y sign-off remediations) (#2447)

* Discard the pointer types and scroll behaviour

* add changeset

* remove arrow btn styles

* introduce gap between items and remove 4px padding around the links

* [UnderlineNav2]: React router implementation fixes & docs improvement (#2448)

* react router implementation fixes

* add changeset

* [UnderlineNav2]: Add string type to the `counter` prop and display loading counter for all (#2449)

* string type for counters and fix loading issue

* add changeset

* improve docs

* update animation details

* Inverte the pulse effect

Co-authored-by: Daniel Guillan <[email protected]>

Co-authored-by: Daniel Guillan <[email protected]>

* Remove unnecessary styles (scroll behaviour styles)

* improve docs

Co-authored-by: Daniel Guillan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants