Root as slot implementation#19483
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 c063fd7:
|
📊 Bundle size reportUnchanged fixtures
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c227b8e06fc0e9b72b16bbd6ecba420e146d9554 (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 939 | 964 | 5000 | |
| BaseButton | mount | 991 | 996 | 5000 | |
| Breadcrumb | mount | 2645 | 2729 | 1000 | |
| ButtonNext | mount | 433 | 448 | 5000 | |
| Checkbox | mount | 1695 | 1631 | 5000 | |
| CheckboxBase | mount | 1478 | 1448 | 5000 | |
| ChoiceGroup | mount | 5209 | 5171 | 5000 | |
| ComboBox | mount | 1072 | 1053 | 1000 | |
| CommandBar | mount | 10814 | 10758 | 1000 | |
| ContextualMenu | mount | 6747 | 6777 | 1000 | |
| DefaultButton | mount | 1268 | 1265 | 5000 | |
| DetailsRow | mount | 4138 | 4196 | 5000 | |
| DetailsRowFast | mount | 4128 | 4040 | 5000 | |
| DetailsRowNoStyles | mount | 3819 | 3807 | 5000 | |
| Dialog | mount | 1490 | 2272 | 1000 | |
| DocumentCardTitle | mount | 153 | 167 | 1000 | |
| Dropdown | mount | 3595 | 3703 | 5000 | |
| FluentProviderNext | mount | 7109 | 7337 | 5000 | |
| FocusTrapZone | mount | 1853 | 1740 | 5000 | |
| FocusZone | mount | 1879 | 1864 | 5000 | |
| IconButton | mount | 1892 | 1931 | 5000 | |
| Label | mount | 348 | 367 | 5000 | |
| Layer | mount | 1943 | 1906 | 5000 | |
| Link | mount | 540 | 499 | 5000 | |
| MakeStyles | mount | 1831 | 1823 | 50000 | |
| MenuButton | mount | 1548 | 1568 | 5000 | |
| MessageBar | mount | 2077 | 2030 | 5000 | |
| Nav | mount | 3493 | 3488 | 1000 | |
| OverflowSet | mount | 1176 | 1180 | 5000 | |
| Panel | mount | 2158 | 2222 | 1000 | |
| Persona | mount | 902 | 862 | 1000 | |
| Pivot | mount | 1524 | 1519 | 1000 | |
| PrimaryButton | mount | 1374 | 1378 | 5000 | |
| Rating | mount | 8293 | 8265 | 5000 | |
| SearchBox | mount | 1481 | 1447 | 5000 | |
| Shimmer | mount | 2748 | 2767 | 5000 | |
| Slider | mount | 2122 | 2183 | 5000 | |
| SpinButton | mount | 5570 | 5287 | 5000 | |
| Spinner | mount | 471 | 462 | 5000 | |
| SplitButton | mount | 3531 | 3592 | 5000 | |
| Stack | mount | 560 | 584 | 5000 | |
| StackWithIntrinsicChildren | mount | 1784 | 1809 | 5000 | |
| StackWithTextChildren | mount | 5181 | 5333 | 5000 | |
| SwatchColorPicker | mount | 11166 | 11269 | 5000 | |
| Tabs | mount | 1487 | 1502 | 1000 | |
| TagPicker | mount | 2844 | 2889 | 5000 | |
| TeachingBubble | mount | 12617 | 12825 | 5000 | |
| Text | mount | 433 | 449 | 5000 | |
| TextField | mount | 1473 | 1454 | 5000 | |
| ThemeProvider | mount | 1236 | 1247 | 5000 | |
| ThemeProvider | virtual-rerender | 646 | 637 | 5000 | |
| Toggle | mount | 861 | 830 | 5000 | |
| buttonNative | mount | 111 | 118 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| TreeMinimalPerf.default | 976 | 843 | 1.16:1 |
| PortalMinimalPerf.default | 212 | 185 | 1.15:1 |
| ButtonMinimalPerf.default | 216 | 193 | 1.12:1 |
| AttachmentMinimalPerf.default | 185 | 168 | 1.1:1 |
| AvatarMinimalPerf.default | 228 | 211 | 1.08:1 |
| DividerMinimalPerf.default | 411 | 382 | 1.08:1 |
| LayoutMinimalPerf.default | 410 | 380 | 1.08:1 |
| FormMinimalPerf.default | 481 | 449 | 1.07:1 |
| ListMinimalPerf.default | 556 | 519 | 1.07:1 |
| AnimationMinimalPerf.default | 451 | 425 | 1.06:1 |
| CarouselMinimalPerf.default | 539 | 508 | 1.06:1 |
| ChatWithPopoverPerf.default | 432 | 409 | 1.06:1 |
| RefMinimalPerf.default | 240 | 227 | 1.06:1 |
| SegmentMinimalPerf.default | 388 | 367 | 1.06:1 |
| ToolbarMinimalPerf.default | 1086 | 1025 | 1.06:1 |
| CardMinimalPerf.default | 654 | 624 | 1.05:1 |
| ChatDuplicateMessagesPerf.default | 341 | 326 | 1.05:1 |
| CheckboxMinimalPerf.default | 3023 | 2885 | 1.05:1 |
| CustomToolbarPrototype.default | 4271 | 4087 | 1.05:1 |
| ButtonOverridesMissPerf.default | 1902 | 1834 | 1.04:1 |
| ItemLayoutMinimalPerf.default | 1327 | 1277 | 1.04:1 |
| LoaderMinimalPerf.default | 734 | 707 | 1.04:1 |
| PopupMinimalPerf.default | 704 | 680 | 1.04:1 |
| ProviderMinimalPerf.default | 1087 | 1044 | 1.04:1 |
| AttachmentSlotsPerf.default | 1186 | 1154 | 1.03:1 |
| DropdownMinimalPerf.default | 3363 | 3276 | 1.03:1 |
| GridMinimalPerf.default | 364 | 355 | 1.03:1 |
| VideoMinimalPerf.default | 689 | 668 | 1.03:1 |
| BoxMinimalPerf.default | 396 | 390 | 1.02:1 |
| LabelMinimalPerf.default | 419 | 409 | 1.02:1 |
| ListCommonPerf.default | 688 | 674 | 1.02:1 |
| ReactionMinimalPerf.default | 408 | 401 | 1.02:1 |
| ChatMinimalPerf.default | 743 | 733 | 1.01:1 |
| DialogMinimalPerf.default | 820 | 812 | 1.01:1 |
| EmbedMinimalPerf.default | 4558 | 4518 | 1.01:1 |
| FlexMinimalPerf.default | 323 | 321 | 1.01:1 |
| ListWith60ListItems.default | 669 | 664 | 1.01:1 |
| MenuMinimalPerf.default | 921 | 911 | 1.01:1 |
| RadioGroupMinimalPerf.default | 490 | 484 | 1.01:1 |
| SplitButtonMinimalPerf.default | 4745 | 4704 | 1.01:1 |
| StatusMinimalPerf.default | 762 | 758 | 1.01:1 |
| TableManyItemsPerf.default | 2219 | 2188 | 1.01:1 |
| ButtonSlotsPerf.default | 603 | 600 | 1:1 |
| InputMinimalPerf.default | 1314 | 1309 | 1:1 |
| MenuButtonMinimalPerf.default | 1800 | 1792 | 1:1 |
| ProviderMergeThemesPerf.default | 1743 | 1742 | 1:1 |
| TextMinimalPerf.default | 401 | 400 | 1:1 |
| HeaderSlotsPerf.default | 827 | 836 | 0.99:1 |
| RosterPerf.default | 1292 | 1307 | 0.99:1 |
| SkeletonMinimalPerf.default | 383 | 388 | 0.99:1 |
| SliderMinimalPerf.default | 1665 | 1684 | 0.99:1 |
| IconMinimalPerf.default | 688 | 693 | 0.99:1 |
| HeaderMinimalPerf.default | 384 | 392 | 0.98:1 |
| DropdownManyItemsPerf.default | 751 | 774 | 0.97:1 |
| TableMinimalPerf.default | 458 | 474 | 0.97:1 |
| TextAreaMinimalPerf.default | 569 | 586 | 0.97:1 |
| TooltipMinimalPerf.default | 1105 | 1142 | 0.97:1 |
| AlertMinimalPerf.default | 304 | 318 | 0.96:1 |
| DatepickerMinimalPerf.default | 5798 | 6015 | 0.96:1 |
| ImageMinimalPerf.default | 400 | 417 | 0.96:1 |
| TreeWith60ListItems.default | 181 | 191 | 0.95:1 |
| ListNestedPerf.default | 595 | 633 | 0.94:1 |
| AccordionMinimalPerf.default | 155 | 173 | 0.9:1 |
286ba6d to
3f1678c
Compare
9003792 to
94b2021
Compare
change/@fluentui-react-utilities-7755db0b-2b84-49bb-81db-9d949a3e7c17.json
Outdated
Show resolved
Hide resolved
packages/react-accordion/src/components/Accordion/useAccordion.ts
Outdated
Show resolved
Hide resolved
| <button | ||
| className="" | ||
| disabled={false} | ||
| id="accordion-header-1" |
There was a problem hiding this comment.
Is it expected that we don't have id there anymore?
There was a problem hiding this comment.
Yes. this is due to removal of id mechanism. Has definitely nothing to do with this PR, I'll try to remove this change
packages/react-accordion/src/components/AccordionHeader/useAccordionHeader.ts
Outdated
Show resolved
Hide resolved
packages/react-menu/src/components/MenuDivider/useMenuDivider.ts
Outdated
Show resolved
Hide resolved
packages/react-menu/src/components/MenuDivider/useMenuDivider.ts
Outdated
Show resolved
Hide resolved
packages/react-menu/src/components/MenuGroupHeader/useMenuGroupHeader.ts
Outdated
Show resolved
Hide resolved
…a3e7c17.json Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
90af3ee to
ff5cee8
Compare
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
|
🎉 Handy links: |
Pull request checklist
$ yarn changeDescription of changes
react-utilitiesreact-ariaaccordinglyreact-accordionaccordinglyreact-menuaccordinglyreact-inputaccordingly