-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation #29310
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
Merged
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:react-utilities/feat--getIntrinsicElementProps
Oct 2, 2023
Merged
feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation #29310
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:react-utilities/feat--getIntrinsicElementProps
Oct 2, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
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 cfc6394:
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| InfoButton | mount | 13 | 18 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 655 | 609 | 5000 | |
| Button | mount | 310 | 313 | 5000 | |
| Field | mount | 1122 | 1106 | 5000 | |
| FluentProvider | mount | 697 | 708 | 5000 | |
| FluentProviderWithTheme | mount | 80 | 86 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 62 | 59 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 76 | 70 | 10 | |
| InfoButton | mount | 13 | 18 | 5000 | Possible regression |
| MakeStyles | mount | 831 | 864 | 50000 | |
| Persona | mount | 1746 | 1688 | 5000 | |
| SpinButton | mount | 1339 | 1336 | 5000 |
68b8dab to
30d6eaf
Compare
Collaborator
📊 Bundle size reportUnchanged fixtures
|
30d6eaf to
2967661
Compare
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1e6d0bf0333df2443ccc842f002ba7f073b124bb (build) |
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
2967661 to
bbfb27d
Compare
behowell
reviewed
Sep 27, 2023
packages/react-components/react-utilities/src/compose/getIntrinsicElementProps.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-utilities/src/compose/getIntrinsicElementProps.ts
Outdated
Show resolved
Hide resolved
bbfb27d to
16baf60
Compare
…ps on slots creation
16baf60 to
cfc6394
Compare
behowell
approved these changes
Sep 29, 2023
layershifter
approved these changes
Sep 30, 2023
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Oct 4, 2023
* master: (146 commits) remove a11y test ux from theme designer (microsoft#29379) feat: preview release (microsoft#29377) Fixed divider in the tooltip (microsoft#29357) fix (microsoft#29376) docs: Initial documentation pass (microsoft#29372) feat: Integrate Announce context (microsoft#29362) chore(react-tags): stable release (microsoft#29355) chore: delegate focus outline to layout components (microsoft#29293) Vertical bar chart line bug (microsoft#29299) applying package updates Adding axis title examples for line, area, vertical bar and vertical stacked bar charts (microsoft#29254) A11y: Pagination: Add tooltip for all icon buttons (microsoft#29155) A11y: Fix aria attribute for page number and add correct role (microsoft#29349) feat: Implement motion for MessageBar (microsoft#29339) feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation (microsoft#29310) chore: replace makeStyles with makeResetStyles (microsoft#29338) applying package updates ci(github/policies): remove bot rules that created and added `Component/Package $1`: labels on PRs (microsoft#29301) fix: handle multiple classes in PortalCompatProvider (microsoft#29351) applying package updates ...
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Oct 4, 2023
* master: (49 commits) remove a11y test ux from theme designer (microsoft#29379) feat: preview release (microsoft#29377) Fixed divider in the tooltip (microsoft#29357) fix (microsoft#29376) docs: Initial documentation pass (microsoft#29372) feat: Integrate Announce context (microsoft#29362) chore(react-tags): stable release (microsoft#29355) chore: delegate focus outline to layout components (microsoft#29293) Vertical bar chart line bug (microsoft#29299) applying package updates Adding axis title examples for line, area, vertical bar and vertical stacked bar charts (microsoft#29254) A11y: Pagination: Add tooltip for all icon buttons (microsoft#29155) A11y: Fix aria attribute for page number and add correct role (microsoft#29349) feat: Implement motion for MessageBar (microsoft#29339) feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation (microsoft#29310) chore: replace makeStyles with makeResetStyles (microsoft#29338) applying package updates ci(github/policies): remove bot rules that created and added `Component/Package $1`: labels on PRs (microsoft#29301) fix: handle multiple classes in PortalCompatProvider (microsoft#29351) applying package updates ...
This was referenced Oct 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous Behavior
The
getNativeElementPropshas some type safety issues, allowing erroneous properties to be introduced.New Behavior
getNativeElementPropson slot creation (getIntrinsicElementProps)Related Issue(s)
getNativeElementPropsis not type safe #29311