Skip to content

(chore) Move react-positioning, react-utilities, react-theme to react-components subfolder#22709

Merged
TristanWatanabe merged 10 commits into
microsoft:masterfrom
TristanWatanabe:move-teams-prg-pkgs-batch-3
May 3, 2022
Merged

(chore) Move react-positioning, react-utilities, react-theme to react-components subfolder#22709
TristanWatanabe merged 10 commits into
microsoft:masterfrom
TristanWatanabe:move-teams-prg-pkgs-batch-3

Conversation

@TristanWatanabe

Copy link
Copy Markdown
Member

Changes

  • Moves @fluentui/react-positioning, @fluentui/react-utilities and @fluentui/react-theme to react-components common folder using move-packages nx generator.

Related Issue(s)

Part of #22427

@codesandbox-ci

codesandbox-ci Bot commented Apr 29, 2022

Copy link
Copy Markdown

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 baa274c:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam

fabricteam commented Apr 29, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
Button mount 563 548 5000 Possible regression
FluentProviderWithTheme mount 281 295 10 Possible regression
FluentProviderWithTheme virtual-rerender 250 250 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 307 306 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 909 920 5000
Button mount 563 548 5000 Possible regression
FluentProvider mount 1808 1889 5000
FluentProviderWithTheme mount 281 295 10 Possible regression
FluentProviderWithTheme virtual-rerender 250 250 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 307 306 10 Possible regression
MakeStyles mount 1540 1559 50000

@size-auditor

size-auditor Bot commented Apr 29, 2022

Copy link
Copy Markdown

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: fd41e5b15e3a2f08245cd4e4bbcc0f07a367ce3b (build)

@fabricteam

fabricteam commented Apr 29, 2022

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
priority-overflow
createOverflowManager
2.936 kB
1.212 kB
react-accordion
Accordion (including children components)
73.754 kB
22.494 kB
react-badge
Badge
20.965 kB
6.605 kB
react-badge
CounterBadge
21.918 kB
6.919 kB
react-badge
PresenceBadge
22.005 kB
6.582 kB
react-combobox
Combobox
60.564 kB
20.751 kB
react-divider
Divider
15.455 kB
5.57 kB
react-overflow
hooks only
10.792 kB
4.125 kB
react-radio
Radio
23.556 kB
7.898 kB
react-radio
RadioGroup
8.205 kB
3.516 kB
react-switch
Switch
24.401 kB
8.024 kB
react-textarea
Textarea
20.672 kB
7.07 kB
🤖 This report was generated against 837c5ffda3334356cc26dab37e9b095edc5d3da0

@fabricteam

fabricteam commented Apr 29, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
CarouselMinimalPerf.default 540 497 1.09:1
ButtonMinimalPerf.default 195 181 1.08:1
SkeletonMinimalPerf.default 398 370 1.08:1
LayoutMinimalPerf.default 395 370 1.07:1
HeaderMinimalPerf.default 401 382 1.05:1
AlertMinimalPerf.default 304 293 1.04:1
LoaderMinimalPerf.default 740 714 1.04:1
MenuMinimalPerf.default 957 921 1.04:1
ProviderMinimalPerf.default 410 395 1.04:1
RefMinimalPerf.default 240 231 1.04:1
SliderMinimalPerf.default 1924 1849 1.04:1
ButtonOverridesMissPerf.default 1639 1597 1.03:1
DividerMinimalPerf.default 398 387 1.03:1
ItemLayoutMinimalPerf.default 1343 1304 1.03:1
ListMinimalPerf.default 561 547 1.03:1
ToolbarMinimalPerf.default 1114 1082 1.03:1
TreeMinimalPerf.default 906 881 1.03:1
ButtonSlotsPerf.default 607 596 1.02:1
DatepickerMinimalPerf.default 6352 6225 1.02:1
FlexMinimalPerf.default 311 305 1.02:1
ImageMinimalPerf.default 430 421 1.02:1
ListCommonPerf.default 742 728 1.02:1
MenuButtonMinimalPerf.default 1880 1848 1.02:1
SegmentMinimalPerf.default 383 376 1.02:1
SplitButtonMinimalPerf.default 4906 4821 1.02:1
IconMinimalPerf.default 694 681 1.02:1
TableManyItemsPerf.default 2226 2182 1.02:1
TreeWith60ListItems.default 196 192 1.02:1
AccordionMinimalPerf.default 161 160 1.01:1
AnimationMinimalPerf.default 582 577 1.01:1
AttachmentMinimalPerf.default 170 169 1.01:1
AvatarMinimalPerf.default 211 209 1.01:1
ChatDuplicateMessagesPerf.default 314 311 1.01:1
CheckboxMinimalPerf.default 2890 2855 1.01:1
LabelMinimalPerf.default 428 425 1.01:1
RadioGroupMinimalPerf.default 506 501 1.01:1
ReactionMinimalPerf.default 429 424 1.01:1
TableMinimalPerf.default 435 429 1.01:1
CustomToolbarPrototype.default 2862 2833 1.01:1
AttachmentSlotsPerf.default 1164 1159 1:1
FormMinimalPerf.default 521 519 1:1
GridMinimalPerf.default 391 391 1:1
InputMinimalPerf.default 1382 1376 1:1
ListNestedPerf.default 621 622 1:1
PopupMinimalPerf.default 662 664 1:1
CardMinimalPerf.default 638 643 0.99:1
ChatMinimalPerf.default 815 826 0.99:1
DialogMinimalPerf.default 816 823 0.99:1
EmbedMinimalPerf.default 4453 4476 0.99:1
HeaderSlotsPerf.default 856 861 0.99:1
ListWith60ListItems.default 707 717 0.99:1
RosterPerf.default 1238 1248 0.99:1
ProviderMergeThemesPerf.default 1276 1287 0.99:1
TooltipMinimalPerf.default 1222 1230 0.99:1
DropdownManyItemsPerf.default 784 798 0.98:1
DropdownMinimalPerf.default 3171 3221 0.98:1
TextMinimalPerf.default 368 376 0.98:1
PortalMinimalPerf.default 171 176 0.97:1
BoxMinimalPerf.default 361 375 0.96:1
StatusMinimalPerf.default 737 764 0.96:1
TextAreaMinimalPerf.default 556 581 0.96:1
VideoMinimalPerf.default 736 777 0.95:1
ChatWithPopoverPerf.default 403 453 0.89:1

@fabricteam

fabricteam commented Apr 29, 2022

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 773 778 5000
Breadcrumb mount 2376 2357 1000
Checkbox mount 1288 1284 5000
CheckboxBase mount 1079 1098 5000
ChoiceGroup mount 4088 4055 5000
ComboBox mount 846 863 1000
CommandBar mount 9109 9163 1000
ContextualMenu mount 9973 9942 1000
DefaultButton mount 973 989 5000
DetailsRow mount 3328 3293 5000
DetailsRowFast mount 3310 3309 5000
DetailsRowNoStyles mount 3195 3138 5000
Dialog mount 1930 1916 1000
DocumentCardTitle mount 147 157 1000
Dropdown mount 2812 2834 5000
FocusTrapZone mount 1563 1625 5000
FocusZone mount 1506 1565 5000
IconButton mount 1524 1497 5000
Label mount 291 294 5000
Layer mount 2484 2524 5000
Link mount 392 411 5000
MenuButton mount 1282 1257 5000
MessageBar mount 1833 1795 5000
Nav mount 2830 2875 1000
OverflowSet mount 939 939 5000
Panel mount 1845 1856 1000
Persona mount 864 896 1000
Pivot mount 1256 1255 1000
PrimaryButton mount 1136 1119 5000
Rating mount 6694 6646 5000
SearchBox mount 1127 1111 5000
Shimmer mount 2181 2180 5000
Slider mount 1702 1679 5000
SpinButton mount 4306 4363 5000
Spinner mount 375 382 5000
SplitButton mount 2711 2762 5000
Stack mount 448 454 5000
StackWithIntrinsicChildren mount 2002 1996 5000
StackWithTextChildren mount 4544 4529 5000
SwatchColorPicker mount 9973 10087 5000
TagPicker mount 2335 2335 5000
TeachingBubble mount 82358 85023 5000
Text mount 369 364 5000
TextField mount 1191 1195 5000
ThemeProvider mount 1019 1011 5000
ThemeProvider virtual-rerender 557 565 5000
ThemeProvider virtual-rerender-with-unmount 1628 1598 5000
Toggle mount 689 688 5000
buttonNative mount 104 124 5000

@TristanWatanabe TristanWatanabe merged commit 8ec3d32 into microsoft:master May 3, 2022
@TristanWatanabe TristanWatanabe deleted the move-teams-prg-pkgs-batch-3 branch May 3, 2022 15:43
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants