Skip to content

feat(design)!: update breadcrumb component to support truncation #3569

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

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

xelaint
Copy link
Member

@xelaint xelaint commented Mar 19, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #3513

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@xelaint
Copy link
Member Author

xelaint commented Mar 20, 2025

via css:

  • hide 2nd to second to last items on mobile

Proposed new usage:

<nav>
	<daff-breadcrumb>
		<a daffBreadcrumbItem [link]="">Breadcrumb Label</a>
	</daff-breadcrumb>
</nav>

Last breadcrumb item should not be clickable/linked. Last breadcrumb item should have the class active added to it.

@xelaint xelaint changed the title add menu to breadcrumb feat(design)!: update breadcrumb component to support truncation Mar 21, 2025
@xelaint xelaint added package: design @daffodil/design status: wip This PR is WIP. It should be marked as a draft. labels Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: design @daffodil/design status: wip This PR is WIP. It should be marked as a draft.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Add truncated design and support for injecting the DaffMenuModule to DaffBreadcrumbComponent
2 participants