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: replace deprecated nav components #1492

Merged
merged 34 commits into from
Jul 4, 2024
Merged

Conversation

larsrickert
Copy link
Collaborator

@larsrickert larsrickert commented Jul 3, 2024

Relates to #1477

refactor navigation components

  • OnyxFlyoutMenu: rename default slot to options
  • previous OnyxNavItem component is now OnyxNavButton with changed API
  • new OnyxNavItem is now only intended to be used as children for the new OnyxNavButton
  • OnyxUserMenu: property avatar now only accepts a string, not an object
  • fix(OnyxUserMenu): use correct font weight for username

Checklist

  • The added / edited code has been documented with JSDoc
  • If a new component is added, at least one Playwright screenshot test is added
  • A changeset is added with npx changeset add if your changes should be released as npm package (because they affect the library usage)

Copy link

changeset-bot bot commented Jul 3, 2024

🦋 Changeset detected

Latest commit: f16a7c8

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

This PR includes changesets to release 7 packages
Name Type
sit-onyx Major
alpha-test-app Patch
playground Patch
@sit-onyx/chartjs-plugin Major
@sit-onyx/nuxt Major
@sit-onyx/storybook-utils Major
@sit-onyx/vitepress-theme Major

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

larsrickert and others added 24 commits July 3, 2024 13:21
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: larsrickert <[email protected]>
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: larsrickert <[email protected]>
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: larsrickert <[email protected]>
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: larsrickert <[email protected]>
This is an auto-generated pull request. All Playwright screenshots have
been updated.

Co-authored-by: larsrickert <[email protected]>
@larsrickert larsrickert marked this pull request as ready for review July 4, 2024 08:04
@larsrickert larsrickert requested a review from a team as a code owner July 4, 2024 08:04
@MajaZarkova MajaZarkova self-assigned this Jul 4, 2024
@larsrickert larsrickert merged commit 555ac22 into main Jul 4, 2024
19 checks passed
@larsrickert larsrickert deleted the feat/nav-refactoring branch July 4, 2024 11:51
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