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

Enhances MenuGroup [LG-4346] #2403

Merged
merged 15 commits into from
Jun 25, 2024
Merged

Commits on Jun 25, 2024

  1. Configuration menu
    Copy the full SHA
    c91db89 View commit details
    Browse the repository at this point in the history
  2. mv submenuContext file

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    2883e08 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    13dd3d6 View commit details
    Browse the repository at this point in the history
  4. implements menu group

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    45aaf0c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    55363c0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f73bf3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3a67044 View commit details
    Browse the repository at this point in the history
  8. fix highlight stories

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    2d7c5ce View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    70a4a49 View commit details
    Browse the repository at this point in the history
  10. install typography

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    718c162 View commit details
    Browse the repository at this point in the history
  11. Restructure SubMenu & Implement new Light-in-Light mode [LG-4236, LG-…

    …4060, LG-3263, LG-3168, LG-3190] (#2380)
    
    * create Menu.styles
    
    * installs descendants in menu
    
    * extract useMenuHeight
    
    * init descendants
    
    * pass onItemFocus from provider
    
    * abstract out useUpdatedChildren
    
    * creates useHighlightReducer
    
    * cleanup reducer
    
    * skip disabled elements
    
    * implement descendant in submenu
    
    * Update yarn.lock
    
    * rm focus-visible styles
    
    we always want focus
    
    * fix menu item list style
    
    * fix ts errors
    
    * rm deprecated hooks
    
    * rm debug text
    
    * restructure test suite
    
    * Create blue-crews-hope.md
    
    * Updates stories
    
    * adds controlled story
    
    * modernizes spec file
    
    * Update Menu.stories.tsx
    
    * Update SplitButton.spec.tsx
    
    * update split button pkg.json
    
    * Update yarn.lock
    
    * Delete getNewIndex.ts
    
    * add // prettier-ignore
    
    * mv HighlightReducer
    
    Update getUpdatedIndex.ts
    
    * Update .gitignore
    
    * creates AriaLabelPropsWithChildren type
    
    * uses AriaLabelPropsWithChildren in InputOption
    
    * Create InputOptionContent generated story
    
    * InputOptionContent use tokens, extend className
    
    * inputOptionThemeStyles use color tokens
    
    * Update titleClassName
    
    * create & use InputOptionContext
    
    * refactor inputOptionStyles
    
    * fix inputoption icon placement & sizing
    
    * update icon hover styles
    
    * Update Avatar props (#2352)
    
    * avatar accepts null text
    
    * update generated stories
    
    * changeset
    
    * Update spotty-ghosts-play.md
    
    * add turbo to clean (#2361)
    
    * pr
    
    * Update .gitignore
    
    * create Menu.styles
    
    * installs descendants in menu
    
    * extract useMenuHeight
    
    * init descendants
    
    * pass onItemFocus from provider
    
    * abstract out useUpdatedChildren
    
    * creates useHighlightReducer
    
    * cleanup reducer
    
    * skip disabled elements
    
    * implement descendant in submenu
    
    * Update yarn.lock
    
    * rm focus-visible styles
    
    we always want focus
    
    * fix menu item list style
    
    * fix ts errors
    
    * rm deprecated hooks
    
    * rm debug text
    
    * restructure test suite
    
    * Create blue-crews-hope.md
    
    * Updates stories
    
    * adds controlled story
    
    * modernizes spec file
    
    * Update Menu.stories.tsx
    
    * adds preserveIconSpace. Update unique classnames
    
    * create Menu.styles
    
    * installs descendants in menu
    
    * extract useMenuHeight
    
    * init descendants
    
    * pass onItemFocus from provider
    
    * abstract out useUpdatedChildren
    
    * creates useHighlightReducer
    
    * cleanup reducer
    
    * skip disabled elements
    
    * implement descendant in submenu
    
    * Update yarn.lock
    
    * rm focus-visible styles
    
    we always want focus
    
    * fix menu item list style
    
    * fix ts errors
    
    * rm deprecated hooks
    
    * rm debug text
    
    * restructure test suite
    
    * Create blue-crews-hope.md
    
    * Updates stories
    
    * adds controlled story
    
    * modernizes spec file
    
    * Update Menu.stories.tsx
    
    * Update SplitButton.spec.tsx
    
    * update split button pkg.json
    
    * Update yarn.lock
    
    * Delete getNewIndex.ts
    
    * add // prettier-ignore
    
    * mv HighlightReducer
    
    Update getUpdatedIndex.ts
    
    * update icon hover styles
    
    * pr
    
    * Update package.json
    
    * mv content
    
    * WIP: implement input option
    
    * update component exports
    
    * Create big-wasps-fix.md
    
    * Create shaggy-cheetahs-ring.md
    
    * Update big-wasps-fix.md
    
    * implements preserveIconSpace
    
    * Renames selected -> checked
    
    * creates separate InputOptionContent.stories
    
    * Update big-wasps-fix.md
    
    * updates menu item stories
    
    * Implement active & destructive styles, add stories
    
    * wip dark in light mode
    
    * update active wedge to border.primary
    
    * create DarkInLightMode story
    
    * include darkMode in InputOptionContext
    
    * fix renderDarkMenu stories
    
    * spread args into InitialOpen story
    
    * rm old highlight reducer
    
    * rm unused descendant vars
    
    * rm checked styles
    
    * Update big-wasps-fix.md
    
    * Create clean-apricots-provide.md
    
    * typo
    
    * fix bad merge
    
    * revert wedge color to blue.base
    
    * revert icon height to default
    
    * use disabled prop on `Description`
    
    * add style changes to changeset
    
    * updates text highlight color targeting
    
    * revert implementing of Label component
    
    * add description to highlight story
    
    * Update MenuItem.styles.ts
    
    * fix menu item tests
    
    * Update InputOption.style.ts
    
    * waitForTransition accepts null arg
    
    * WIP
    
    * add ref to descendant object
    
    * add ref to descendant object
    
    * rm controls from controlled story
    
    * Creates `useTraceUpdate` hook
    
    * create stale descendant test
    
    * update spec & stories
    
    * do not register descendent if it doesn't exist
    
    * Adds getDescendants function
    
    * add documentation for `getDescendants`
    
    * update docs
    
    * use getDescendants within Menu
    
    * fix stories TS
    
    * add popover as dev dep
    
    * Update package.json
    
    * mv test utils
    
    * Update yarn.lock
    
    * Update useControlledState.ts
    
    * Create SubMenu.stories.tsx
    
    * sub menu uses menu item. create useChildrenHeight
    
    * adds keydown to close submenu
    
    * Update Menu.spec.tsx
    
    * add serve & watch scripts
    
    * disable active styles when highlighted
    
    * update changesets
    
    * add tests for AriaLabelPropsWithChildren
    
    * update documentation
    
    * Update .gitignore
    
    * Update README.md
    
    * fix nits
    
    * add example to useTraceUpdate
    
    * rename var
    
    * fix testing lib version
    
    * PolyRef x null. PolyProps x PropsWithRef
    
    * use latest CLI
    
    * update Submenu types
    
    * Update styles.ts
    
    * clean up submenu tests
    
    * InternalMenuItemContent - Prevents nested buttons
    
    * lgids
    
    * test to ensure no nested buttons
    
    * Create slimy-walls-cry.md
    
    * Update RecursiveRecord.types.ts
    
    * scaffold light mode styles
    
    * updates menu light-mode styling
    
    * updates dark in light mode styles
    
    * update submenu indent styles
    
    * cleanup highlight styles
    
    * fix initial open logic
    
    * add destructive styles to dark-in-light
    
    * rm size from SB
    
    * Update Menu.stories.tsx
    
    * adds transition handler tests in submenu
    
    * cleanup tests
    
    * Adds tests for more complex menu interactions
    
    * ensure focus remains on a submenu after opening
    
    * add internal flags to descendants utils
    
    * add getByIndex/id to descendants pkg
    
    * refactor Highlight reducer
    
    * Update SubMenu.tsx
    
    * pass getDescendants into highlight reducer
    
    * Updates Descendant index properties
    
    * handle TransitionExiting in submenu
    
    * resolves submenu focus bugs
    
    * Update yarn.lock
    
    * rm comments
    
    * fixes generated stories
    
    ---------
    
    Co-authored-by: Shaneeza <[email protected]>
    TheSonOfThomp and shaneeza committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    4e39a1f View commit details
    Browse the repository at this point in the history
  12. fix stories

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    4f1185f View commit details
    Browse the repository at this point in the history
  13. update packages

    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    f8ca936 View commit details
    Browse the repository at this point in the history
  14. minor fixes

    add clarifying comments
    TheSonOfThomp committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    e932629 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    67cb12e View commit details
    Browse the repository at this point in the history