Skip to content

fix(react-slider): update styles to not use CSS shorthands#20823

Closed
layershifter wants to merge 0 commit into
microsoft:masterfrom
layershifter:fix/shorthands-slider
Closed

fix(react-slider): update styles to not use CSS shorthands#20823
layershifter wants to merge 0 commit into
microsoft:masterfrom
layershifter:fix/shorthands-slider

Conversation

@layershifter

@layershifter layershifter commented Nov 29, 2021

Copy link
Copy Markdown
Member

Pull request checklist

Description of changes

This PR updates styles to not use CSS shorthands.
Blocked, requires #20657.

@codesandbox-ci

codesandbox-ci Bot commented Nov 29, 2021

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

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

@fabricteam

fabricteam commented Nov 29, 2021

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

🤖 This report was generated against a76afe26daad901ff5458ffdda7e66e600d5bcac

@size-auditor

size-auditor Bot commented Nov 29, 2021

Copy link
Copy Markdown

Asset size changes

⚠️ Insufficient baseline data to detect size changes

Unable to find bundle size details for Baseline commit: cfb9eea

Possible causes

  • The baseline build cfb9eea is broken
  • The Size Auditor run for the baseline build cfb9eea was not triggered

Recommendations

  • Please merge your branch for this Pull request with the latest master build and commit your changes once again

@layershifter

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@layershifter

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

@fabricteam

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
Avatar mount 891 882 5000
BaseButton mount 909 903 5000
Breadcrumb mount 2442 2433 1000
ButtonNext mount 567 545 5000
Checkbox mount 1413 1400 5000
CheckboxBase mount 1214 1206 5000
ChoiceGroup mount 4187 4188 5000
ComboBox mount 921 928 1000
CommandBar mount 8842 8832 1000
ContextualMenu mount 7361 7334 1000
DefaultButton mount 1078 1083 5000
DetailsRow mount 3355 3339 5000
DetailsRowFast mount 3330 3375 5000
DetailsRowNoStyles mount 3218 3211 5000
Dialog mount 2295 2320 1000
DocumentCardTitle mount 233 253 1000
Dropdown mount 2818 2884 5000
FluentProviderNext mount 3664 3687 5000
FluentProviderWithTheme mount 287 311 10
FluentProviderWithTheme virtual-rerender 178 200 10
FluentProviderWithTheme virtual-rerender-with-unmount 335 337 10
FocusTrapZone mount 1656 1669 5000
FocusZone mount 1764 1699 5000
IconButton mount 1592 1600 5000
Label mount 404 407 5000
Layer mount 2652 2634 5000
Link mount 518 515 5000
MakeStyles mount 1670 1706 50000
MenuButton mount 1368 1354 5000
MessageBar mount 1806 1800 5000
Nav mount 2936 2916 1000
OverflowSet mount 1044 1054 5000
Panel mount 2193 2227 1000
Persona mount 829 826 1000
Pivot mount 1320 1328 1000
PrimaryButton mount 1217 1197 5000
Rating mount 6613 6665 5000
SearchBox mount 1234 1222 5000
Shimmer mount 2318 2264 5000
Slider mount 1775 1765 5000
SpinButton mount 4402 4388 5000
Spinner mount 477 467 5000
SplitButton mount 2792 2843 5000
Stack mount 549 548 5000
StackWithIntrinsicChildren mount 1568 1559 5000
StackWithTextChildren mount 4068 4062 5000
SwatchColorPicker mount 9047 9159 5000
TagPicker mount 2402 2368 5000
TeachingBubble mount 11392 11413 5000
Text mount 480 480 5000
TextField mount 1316 1281 5000
ThemeProvider mount 1113 1118 5000
ThemeProvider virtual-rerender 634 638 5000
ThemeProvider virtual-rerender-with-unmount 1697 1714 5000
Toggle mount 806 786 5000
buttonNative mount 223 219 5000

Perf Analysis (@fluentui/react-northstar)

⚠️ 1 potential perf regressions detected

Potential regressions comparing to master

Scenario Current PR Ticks Baseline Ticks Ratio Regression Analysis
MenuButtonMinimalPerf.default 1385 1378 1.01:1 analysis
Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
ChatWithPopoverPerf.default 330 300 1.1:1
StatusMinimalPerf.default 598 552 1.08:1
ReactionMinimalPerf.default 331 308 1.07:1
BoxMinimalPerf.default 299 283 1.06:1
ImageMinimalPerf.default 330 311 1.06:1
PortalMinimalPerf.default 162 153 1.06:1
RefMinimalPerf.default 217 204 1.06:1
TreeWith60ListItems.default 166 157 1.06:1
ListCommonPerf.default 558 532 1.05:1
IconMinimalPerf.default 534 507 1.05:1
AttachmentMinimalPerf.default 137 132 1.04:1
ChatDuplicateMessagesPerf.default 252 242 1.04:1
HeaderMinimalPerf.default 315 304 1.04:1
LabelMinimalPerf.default 336 323 1.04:1
SkeletonMinimalPerf.default 308 297 1.04:1
TextAreaMinimalPerf.default 429 413 1.04:1
TreeMinimalPerf.default 686 661 1.04:1
CardMinimalPerf.default 470 457 1.03:1
GridMinimalPerf.default 296 288 1.03:1
LoaderMinimalPerf.default 587 569 1.03:1
SegmentMinimalPerf.default 296 286 1.03:1
SliderMinimalPerf.default 1451 1415 1.03:1
VideoMinimalPerf.default 550 533 1.03:1
ButtonOverridesMissPerf.default 1454 1422 1.02:1
ChatMinimalPerf.default 570 560 1.02:1
DatepickerMinimalPerf.default 4706 4623 1.02:1
DialogMinimalPerf.default 654 640 1.02:1
FlexMinimalPerf.default 252 246 1.02:1
FormMinimalPerf.default 340 332 1.02:1
InputMinimalPerf.default 1095 1077 1.02:1
TableManyItemsPerf.default 1609 1585 1.02:1
ToolbarMinimalPerf.default 805 787 1.02:1
TooltipMinimalPerf.default 879 866 1.02:1
AccordionMinimalPerf.default 132 131 1.01:1
AlertMinimalPerf.default 236 234 1.01:1
AnimationMinimalPerf.default 370 365 1.01:1
DropdownManyItemsPerf.default 582 574 1.01:1
EmbedMinimalPerf.default 3511 3478 1.01:1
PopupMinimalPerf.default 506 501 1.01:1
SplitButtonMinimalPerf.default 3613 3581 1.01:1
TextMinimalPerf.default 299 295 1.01:1
AttachmentSlotsPerf.default 905 909 1:1
ButtonMinimalPerf.default 149 149 1:1
DividerMinimalPerf.default 313 314 1:1
ItemLayoutMinimalPerf.default 1015 1014 1:1
ListMinimalPerf.default 445 447 1:1
ListNestedPerf.default 467 468 1:1
ListWith60ListItems.default 541 541 1:1
ProviderMergeThemesPerf.default 1459 1456 1:1
RadioGroupMinimalPerf.default 372 371 1:1
TableMinimalPerf.default 343 342 1:1
CustomToolbarPrototype.default 3463 3456 1:1
ButtonSlotsPerf.default 452 455 0.99:1
CheckboxMinimalPerf.default 2257 2274 0.99:1
DropdownMinimalPerf.default 2556 2589 0.99:1
HeaderSlotsPerf.default 632 639 0.99:1
LayoutMinimalPerf.default 306 310 0.99:1
MenuMinimalPerf.default 716 722 0.99:1
ProviderMinimalPerf.default 953 966 0.99:1
CarouselMinimalPerf.default 393 400 0.98:1
AvatarMinimalPerf.default 163 169 0.96:1
RosterPerf.default 966 1010 0.96:1

@ecraig12345

Copy link
Copy Markdown
Member

This will cause a lot of conflicts with @micahgodbolt's Slider refactor #20657 where he's rewriting most of the CSS. It might be better to just close this PR and let Micah make the appropriate changes in his PR.

@layershifter layershifter added the Status: Blocked Resolution blocked by another issue label Nov 30, 2021
@layershifter
layershifter force-pushed the fix/shorthands-slider branch from d80e34e to c6c745b Compare December 6, 2021 14:47
@layershifter
layershifter deleted the fix/shorthands-slider branch December 6, 2021 14:48
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.

3 participants