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

added dropdown-menu to breadcrumb #453

Merged
merged 10 commits into from
Sep 7, 2023

Conversation

tishoyanchev
Copy link
Contributor

@tishoyanchev tishoyanchev commented Sep 4, 2023

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---

Due to changes in the dropdown component, the breadcrumb needed to be updated in order to account for the new changes introduced in the dropdown-menu component.

Changes:
1 - Dropdown now uses a Prop (isOpen) to add and remove 'show' class which opens and closes the menu.
2 - Breadcrumbs component toggles the wrapper of the dropdown-menu, and therefore requires that the dropdown-menu is opened at all times.
3 - I simply use the new isOpen Prop to set "open" the menu on componentDidLoad inside the breadcrumbs component. The toggling of the dropdown-menu wrapper remains unchanged.

📦 Published PR as canary version: 20.16.5--canary.453.3201cafb1c229e9af1ec9682f5e5068b2b930925.0

✨ Test out this PR locally via:

npm install @infineon/infineon-design-system-stencil@20.16.5--canary.453.3201cafb1c229e9af1ec9682f5e5068b2b930925.0
# or 
yarn add @infineon/infineon-design-system-stencil@20.16.5--canary.453.3201cafb1c229e9af1ec9682f5e5068b2b930925.0

@tishoyanchev tishoyanchev linked an issue Sep 4, 2023 that may be closed by this pull request
@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-09-07 14:21 UTC

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

--STORYBOOK-PREVIEW--

@tishoyanchev tishoyanchev added the bug Something isn't working label Sep 4, 2023
@tishoyanchev tishoyanchev added patch patch version bump and removed bug Something isn't working labels Sep 4, 2023
@verena-ifx
Copy link
Contributor

could you add the Breadcrumb to the example apps?

@verena-ifx
Copy link
Contributor

verena-ifx commented Sep 7, 2023

image
it should overlay other components. and it does, but not the icon

@verena-ifx verena-ifx merged commit fa26768 into master Sep 7, 2023
8 checks passed
@verena-ifx verena-ifx deleted the 442-breadcrumbs-dropdown-menu-needs-to-be-updated branch September 7, 2023 14:18
@github-actions
Copy link
Contributor

github-actions bot commented Sep 7, 2023

🚀 PR was released in v20.16.6 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch patch version bump released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Breadcrumb's dropdown-menu needs to be updated
2 participants