-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Exports MenuItemRole From MenuItem #27941
Exports MenuItemRole From MenuItem #27941
Conversation
…ct wrappers can utilize the roles.
📊 Bundle size report🤖 This report was generated against 616e79e4ffb38ea60d979e0e43c6695424b341a5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@miroslavstastny may have a slight nuanced improvement for the change file as well
change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json
Outdated
Show resolved
Hide resolved
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 616e79e4ffb38ea60d979e0e43c6695424b341a5 (build) |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2de5e4b:
|
…6e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
* Exports MenuItemRole so that the Fluent web component Angular and React wrappers can utilize the roles. * Runs yarn change * Update change/@fluentui-web-components-fe7f57a9-65bb-4816-9f01-0aded96e8ce9.json Co-authored-by: Chris Holt <chhol@microsoft.com> --------- Co-authored-by: Chris Holt <chhol@microsoft.com>
This PR imports from FAST and exports MenuItemRole from the MenuItem component so that the Fluent web component Angular and React wrappers can utilize
role
. The component README shows three inputs:role
,disabled
andchecked
. When creating wrappers in Angular and React, therole
attribute cannot be reached.Without this export, I would have to import from FAST in both my React and Angular wrappers:
import { roleForMenuItem } from '@microsoft/fast-foundation';
It would be less convoluted to simply leverage the existing property directly from the Fluent web component.