-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Text - Typography wrappers #18956
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
Text - Typography wrappers #18956
Conversation
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Change lib to ES2015 Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com> Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
* Implement new prop merging * Change files * Update packages/react-utilities/src/compose/getSlots.test.tsx Co-authored-by: ling1726 <lingfangao@hotmail.com> * Update packages/react-utilities/src/compose/getSlots.test.tsx Co-authored-by: ling1726 <lingfangao@hotmail.com> Co-authored-by: ling1726 <lingfangao@hotmail.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com>
📊 Bundle size report🤖 This report was generated against 400040ac767e7660922ac19c11955f02ce53a0bd |
|
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 7ece1f8:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 400040ac767e7660922ac19c11955f02ce53a0bd (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 770 | 766 | 5000 | |
| BaseButton | mount | 853 | 852 | 5000 | |
| Breadcrumb | mount | 2509 | 2492 | 1000 | |
| ButtonNext | mount | 521 | 501 | 5000 | |
| Checkbox | mount | 1446 | 1440 | 5000 | |
| CheckboxBase | mount | 1251 | 1282 | 5000 | |
| ChoiceGroup | mount | 4442 | 4502 | 5000 | |
| ComboBox | mount | 921 | 928 | 1000 | |
| CommandBar | mount | 9664 | 9651 | 1000 | |
| ContextualMenu | mount | 6014 | 6098 | 1000 | |
| DefaultButton | mount | 1082 | 1076 | 5000 | |
| DetailsRow | mount | 3536 | 3590 | 5000 | |
| DetailsRowFast | mount | 3665 | 3579 | 5000 | |
| DetailsRowNoStyles | mount | 3429 | 3476 | 5000 | |
| Dialog | mount | 2079 | 2065 | 1000 | |
| DocumentCardTitle | mount | 146 | 141 | 1000 | |
| Dropdown | mount | 3042 | 3130 | 5000 | |
| FluentProviderNext | mount | 6930 | 6985 | 5000 | |
| FocusTrapZone | mount | 1713 | 1699 | 5000 | |
| FocusZone | mount | 1707 | 1754 | 5000 | |
| IconButton | mount | 1645 | 1661 | 5000 | |
| Label | mount | 325 | 318 | 5000 | |
| Layer | mount | 1708 | 1693 | 5000 | |
| Link | mount | 443 | 429 | 5000 | |
| MakeStyles | mount | 1742 | 1744 | 50000 | |
| MenuButton | mount | 1403 | 1408 | 5000 | |
| MessageBar | mount | 1889 | 1916 | 5000 | |
| Nav | mount | 3064 | 3081 | 1000 | |
| OverflowSet | mount | 966 | 978 | 5000 | |
| Panel | mount | 1981 | 1989 | 1000 | |
| Persona | mount | 782 | 778 | 1000 | |
| Pivot | mount | 1387 | 1331 | 1000 | |
| PrimaryButton | mount | 1244 | 1216 | 5000 | |
| Rating | mount | 7185 | 7261 | 5000 | |
| SearchBox | mount | 1244 | 1255 | 5000 | |
| Shimmer | mount | 2405 | 2424 | 5000 | |
| Slider | mount | 1859 | 1869 | 5000 | |
| SpinButton | mount | 4922 | 4861 | 5000 | |
| Spinner | mount | 411 | 407 | 5000 | |
| SplitButton | mount | 3009 | 3044 | 5000 | |
| Stack | mount | 492 | 464 | 5000 | |
| StackWithIntrinsicChildren | mount | 1481 | 1460 | 5000 | |
| StackWithTextChildren | mount | 4246 | 4290 | 5000 | |
| SwatchColorPicker | mount | 9650 | 9799 | 5000 | |
| Tabs | mount | 1346 | 1309 | 1000 | |
| TagPicker | mount | 2318 | 2281 | 5000 | |
| TeachingBubble | mount | 11427 | 11385 | 5000 | |
| Text | mount | 391 | 389 | 5000 | |
| TextField | mount | 1310 | 1370 | 5000 | |
| ThemeProvider | mount | 1127 | 1133 | 5000 | |
| ThemeProvider | virtual-rerender | 592 | 604 | 5000 | |
| Toggle | mount | 789 | 767 | 5000 | |
| buttonNative | mount | 96 | 113 | 5000 |
Perf Analysis (@fluentui/react-northstar)
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| ChatMinimalPerf.default | 660 | 607 | 1.09:1 |
| LayoutMinimalPerf.default | 364 | 341 | 1.07:1 |
| ListWith60ListItems.default | 636 | 596 | 1.07:1 |
| TreeWith60ListItems.default | 173 | 161 | 1.07:1 |
| DropdownManyItemsPerf.default | 670 | 634 | 1.06:1 |
| ChatDuplicateMessagesPerf.default | 284 | 273 | 1.04:1 |
| FlexMinimalPerf.default | 272 | 262 | 1.04:1 |
| HeaderSlotsPerf.default | 747 | 719 | 1.04:1 |
| LabelMinimalPerf.default | 373 | 360 | 1.04:1 |
| StatusMinimalPerf.default | 666 | 639 | 1.04:1 |
| GridMinimalPerf.default | 326 | 318 | 1.03:1 |
| InputMinimalPerf.default | 1214 | 1178 | 1.03:1 |
| ReactionMinimalPerf.default | 358 | 349 | 1.03:1 |
| SkeletonMinimalPerf.default | 338 | 327 | 1.03:1 |
| SplitButtonMinimalPerf.default | 3694 | 3589 | 1.03:1 |
| TextMinimalPerf.default | 334 | 325 | 1.03:1 |
| EmbedMinimalPerf.default | 3992 | 3904 | 1.02:1 |
| HeaderMinimalPerf.default | 351 | 344 | 1.02:1 |
| ListCommonPerf.default | 593 | 580 | 1.02:1 |
| ListNestedPerf.default | 512 | 501 | 1.02:1 |
| PopupMinimalPerf.default | 571 | 560 | 1.02:1 |
| TableManyItemsPerf.default | 1823 | 1788 | 1.02:1 |
| AvatarMinimalPerf.default | 184 | 182 | 1.01:1 |
| CarouselMinimalPerf.default | 436 | 433 | 1.01:1 |
| DatepickerMinimalPerf.default | 5154 | 5086 | 1.01:1 |
| DividerMinimalPerf.default | 328 | 325 | 1.01:1 |
| ImageMinimalPerf.default | 348 | 345 | 1.01:1 |
| MenuMinimalPerf.default | 803 | 794 | 1.01:1 |
| ProviderMinimalPerf.default | 929 | 924 | 1.01:1 |
| RadioGroupMinimalPerf.default | 428 | 423 | 1.01:1 |
| SegmentMinimalPerf.default | 334 | 332 | 1.01:1 |
| IconMinimalPerf.default | 606 | 600 | 1.01:1 |
| TableMinimalPerf.default | 394 | 391 | 1.01:1 |
| AlertMinimalPerf.default | 250 | 251 | 1:1 |
| AnimationMinimalPerf.default | 385 | 386 | 1:1 |
| AttachmentSlotsPerf.default | 1015 | 1011 | 1:1 |
| ButtonMinimalPerf.default | 154 | 154 | 1:1 |
| DropdownMinimalPerf.default | 2998 | 3013 | 1:1 |
| SliderMinimalPerf.default | 1492 | 1486 | 1:1 |
| CustomToolbarPrototype.default | 3643 | 3641 | 1:1 |
| TooltipMinimalPerf.default | 955 | 954 | 1:1 |
| VideoMinimalPerf.default | 574 | 576 | 1:1 |
| ButtonOverridesMissPerf.default | 1622 | 1642 | 0.99:1 |
| ListMinimalPerf.default | 495 | 500 | 0.99:1 |
| LoaderMinimalPerf.default | 669 | 677 | 0.99:1 |
| MenuButtonMinimalPerf.default | 1577 | 1595 | 0.99:1 |
| ProviderMergeThemesPerf.default | 1574 | 1591 | 0.99:1 |
| TextAreaMinimalPerf.default | 455 | 458 | 0.99:1 |
| TreeMinimalPerf.default | 748 | 754 | 0.99:1 |
| AttachmentMinimalPerf.default | 142 | 145 | 0.98:1 |
| CheckboxMinimalPerf.default | 2599 | 2651 | 0.98:1 |
| DialogMinimalPerf.default | 708 | 723 | 0.98:1 |
| FormMinimalPerf.default | 368 | 376 | 0.98:1 |
| ToolbarMinimalPerf.default | 885 | 906 | 0.98:1 |
| ButtonSlotsPerf.default | 503 | 520 | 0.97:1 |
| CardMinimalPerf.default | 516 | 530 | 0.97:1 |
| ItemLayoutMinimalPerf.default | 1137 | 1173 | 0.97:1 |
| ChatWithPopoverPerf.default | 334 | 354 | 0.94:1 |
| RosterPerf.default | 1106 | 1173 | 0.94:1 |
| PortalMinimalPerf.default | 164 | 175 | 0.94:1 |
| AccordionMinimalPerf.default | 135 | 145 | 0.93:1 |
| BoxMinimalPerf.default | 321 | 345 | 0.93:1 |
| RefMinimalPerf.default | 223 | 244 | 0.91:1 |
Co-authored-by: Martin Hochel <Hotell@users.noreply.github.com>
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.
😍 less code, happy maintainers! thx!
|
@andrefcdias please add "scripts": {
"build": "just-scripts build",
+ "bundle-size": "bundle-size measure", |
@layershifter Should I run the migration generator for that? |
No, it's not related to migration. You should have this command to let That's why a report on this PR is empty: there is no such command => nothing was built 😥 |
Co-authored-by: Tringa Krasniqi <tkrasniqi@microsoft.com> Co-authored-by: Martin Hochel <Hotell@users.noreply.github.com>

Pull request checklist
- Addresses an existing issue: Fixes #0000- Include a change request file using$ yarn changeDescription of changes