-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement OnyxNavItem #874
Comments
Notes for Monday daily
|
Relates to #874 Implement basic OnyxNavItem behavior.
Before approving: please check thehover state of the selected flyout-item. Currently it has the same optics like a non-selected-item. But it should look different. The goal looks like this: same background color like the non-hovered selected item but with primary colored text. |
@MajaZarkova Ideally when pressing tab, it should directly focus the listbox instead if having to press tab two times. |
@larsrickert , good point. I'll implement it. I'll create a PR fixing both issues :) |
@MajaZarkova Currently the options are always visible / taking up height which does not work as intended when used inside the nav bar because the whole nav bar adjusts its height then. We propably should position it absolute to the parent |
) Relates to #874 Fix hover colors on OnyxListbox and OnyxNavItem ## Checklist - [x] If a new component is added, at least one [Playwright screenshot test](https://github.com/SchwarzIT/onyx/actions/workflows/playwright-screenshots.yml) is added - [x] A changeset is added with `npx changeset add` if your changes should be released as npm package (because they affect the library usage) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@larsrickert , follow up bug ticket is created -> #1043 |
Please have a look on the text styles of the component in default and in active state. |
Relates to #874 Fix OnyxNavItem font-weight for active state ## Checklist - [x] If a new component is added, at least one [Playwright screenshot test](https://github.com/SchwarzIT/onyx/actions/workflows/playwright-screenshots.yml) is added - [x] A changeset is added with `npx changeset add` if your changes should be released as npm package (because they affect the library usage) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Open Questions/To-dos
Implement the dot as a slot, so the user have a possibility to use a dot or a badge
Relates to #841
Why?
This component is needed and will be used inside the navigationBar. This is just a support component
Design
Figma Link
Acceptance criteria
Definition of Done
In Approval
Approval
Out of scope
Reference implementations
Applicable ARIA Pattern
ARIA Pattern
The text was updated successfully, but these errors were encountered: