-
Notifications
You must be signed in to change notification settings - Fork 158
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
Web Component: Change Mega Menu to include animation (back button & forward motion) #4831
Closed
12 tasks
Labels
dev
Needs some dev work
package: web components
Work necessary for the IBM.com Library web components package
priority: high
sprint demo
Milestone
Comments
This was referenced Jan 6, 2021
Sprint 21-09 is focused on the bug takedown. Moving to June release and sprint 10 |
kodiakhq bot
pushed a commit
that referenced
this issue
Jun 9, 2021
…nderNavItems` function (#6331) ### Related Ticket(s) Web Component: Change Mega Menu to include animation (back button & forward motion) #4831 ### Description React version data structure for L1 menu items is the same as L0 menu items from translation API. This should match expected structure of L1 in web-components. Use the same structure and remove the L1 specific left nav item function, instead use the same function used to render the L0 top nav and left nav items. Use same custom data as React storybook example ### Changelog **Changed** - use custom data from React example. - edit `MastheadL1` type in the services-store translateAPI to use `MastheadLink[]` as the data structure shouldn't differ **Removed** - `renderL1Items()` and ulitize `renderNavItems()` instead as the structure of the L1 data and L0 data is the same <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "package: styles": Carbon Expressive --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
kodiakhq bot
pushed a commit
that referenced
this issue
Jul 1, 2021
#6393) ### Related Ticket(s) Web Component: Change Mega Menu to include animation (back button & forward motion) #4831 [Left Nav: Web Components]: L1 items are visible when on L2 menu items #6209 Web component: Masthead-With custom data - Hybrid cloud options are missing from the menu options. #5135 ### Description Refactor `left-nav` so all menu panels/sections are on the same level instead of nested. Align animations for forward and backward movement.  ### Changelog **New** - `left-nav-menu-section` component that handles all the focus of first element, back button functionality - add L1 platform name to the left-nav **Changed** - set tabindex to -1 for `left-nav-menu` and `left-nav-menu-item` - reduced logic of `left-nav-menu` to only render menu items that have a menu - move cloud profile and cta menu items to within a menu section in `cloud-masthead-composite` - add conditional to `focuswrap` utility when focus doesn't hit start or end sentinel which allows the first menu item to focus when left-nav is expanded **Removed** - styles that are no longer needed <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "package: styles": Carbon Expressive --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dev
Needs some dev work
package: web components
Work necessary for the IBM.com Library web components package
priority: high
sprint demo
User Story
Additional information
Acceptance criteria
/packages/web-components/examples/codesandbox
and include in READMEThe text was updated successfully, but these errors were encountered: