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

Add a Toolbar based on iTwinUI components #602

Merged
merged 83 commits into from
Mar 21, 2024
Merged

Add a Toolbar based on iTwinUI components #602

merged 83 commits into from
Mar 21, 2024

Conversation

GerardasB
Copy link
Collaborator

@GerardasB GerardasB commented Nov 24, 2023

Changes

This PR adds a newToolbars preview feature which when enabled replaces existing Toolbar components with iTwinUI based toolbars. New toolbars currently have refined visual changes and accessibility improvements:

  • Slimmer design

    Before After
    Screenshot 2024-03-19 at 17 19 50 Screenshot 2024-03-19 at 17 21 12
  • Single column toolbar group item

    Before After
    Screenshot 2024-03-19 at 17 55 19 Screenshot 2024-03-19 at 17 55 29
  • Renders expandable submenu instead of a nested menu for toolbar group items

    Before After
    Screenshot 2024-03-19 at 17 27 46 Screenshot 2024-03-19 at 17 27 57
  • Styled labels

    Before After
    Screenshot 2024-03-19 at 17 28 22 Screenshot 2024-03-19 at 17 28 55
  • Fixed tab/shift+tab navigation (arrow keys can be used to navigate the toolbar group item)

Testing

Added additional storybook stories. Tested manually via standalone test-app.

@GerardasB GerardasB linked an issue Jan 22, 2024 that may be closed by this pull request
@GerardasB GerardasB changed the title Add a Toolbar based on iTwinUI button group Add a Toolbar based on iTwinUI components Mar 19, 2024
@GerardasB GerardasB added the minor Changes in this PR requires creating a minor release label Mar 19, 2024
@GerardasB GerardasB marked this pull request as ready for review March 19, 2024 15:56
@GerardasB GerardasB requested a review from a team as a code owner March 19, 2024 15:56
docs/storybook/.storybook/preview.ts Outdated Show resolved Hide resolved
@GerardasB GerardasB enabled auto-merge (squash) March 21, 2024 14:02
@GerardasB GerardasB merged commit 5f1706f into master Mar 21, 2024
18 of 20 checks passed
@GerardasB GerardasB deleted the toolbar branch March 21, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Changes in this PR requires creating a minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a toolbar using iTwinUI components
5 participants