Button: Adding SPEC.md and MIGRATION.md and updating README.md#17192
Button: Adding SPEC.md and MIGRATION.md and updating README.md#17192msft-fluent-ui-bot merged 14 commits intomicrosoft:masterfrom
Conversation
|
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 81b0586:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: b8e8697d9f3ff285687b7cba27b9ac037a0cb727 (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
| | `Enter` | Executes the `Button` action. | | ||
| | `Space` | Executes the `Button` action. | |
There was a problem hiding this comment.
Investigate how Enter and Space work with native browser button and have the Button events follow the native events as close as possible.
Possibly want to check with conformance tests.
Open question: Do we really need to do specific checks for the as prop? We need to be clear if and when we deviate because this starts getting into magic handling of props which has other potential drawbacks such as bundle size increases.
|
Hello @khmakoto! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
…soft#17192) #### Pull request checklist - [X] Addresses an existing issue: Part of microsoft#16746, fixes microsoft#16607 - [X] Include a change request file using `$ yarn change` #### Description of changes This PR adds the initial SPEC and MIGRATION guide for the button component and updates the README to correctly refer this. This PR also removes any reference to component tokens in `@fluentui/react-link` until we decide what to do with them and adds the `secondary` prop that was missing into the API.
…soft#17192) #### Pull request checklist - [X] Addresses an existing issue: Part of microsoft#16746, fixes microsoft#16607 - [X] Include a change request file using `$ yarn change` #### Description of changes This PR adds the initial SPEC and MIGRATION guide for the button component and updates the README to correctly refer this. This PR also removes any reference to component tokens in `@fluentui/react-link` until we decide what to do with them and adds the `secondary` prop that was missing into the API.
Pull request checklist
$ yarn changeDescription of changes
This PR adds the initial SPEC and MIGRATION guide for the button component and updates the README to correctly refer this.
This PR also removes any reference to component tokens in
@fluentui/react-linkuntil we decide what to do with them and adds thesecondaryprop that was missing into the API.