Create react-select package#20944
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 9223b9d:
|
📊 Bundle size report
Unchanged fixtures
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 910 | 877 | 5000 | |
| BaseButton | mount | 929 | 944 | 5000 | |
| Breadcrumb | mount | 2681 | 2685 | 1000 | |
| ButtonNext | mount | 480 | 489 | 5000 | |
| Checkbox | mount | 1551 | 1588 | 5000 | |
| CheckboxBase | mount | 1327 | 1308 | 5000 | |
| ChoiceGroup | mount | 4988 | 4901 | 5000 | |
| ComboBox | mount | 1064 | 1044 | 1000 | |
| CommandBar | mount | 10504 | 10523 | 1000 | |
| ContextualMenu | mount | 8741 | 8727 | 1000 | |
| DefaultButton | mount | 1170 | 1177 | 5000 | |
| DetailsRow | mount | 3913 | 3714 | 5000 | |
| DetailsRowFast | mount | 3921 | 3822 | 5000 | |
| DetailsRowNoStyles | mount | 3650 | 3671 | 5000 | |
| Dialog | mount | 2306 | 2248 | 1000 | |
| DocumentCardTitle | mount | 188 | 186 | 1000 | |
| Dropdown | mount | 3243 | 3236 | 5000 | |
| FluentProviderNext | mount | 1894 | 1889 | 5000 | |
| FluentProviderWithTheme | mount | 174 | 168 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 115 | 121 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 220 | 212 | 10 | |
| FocusTrapZone | mount | 1829 | 1901 | 5000 | |
| FocusZone | mount | 1843 | 1857 | 5000 | |
| IconButton | mount | 1813 | 1811 | 5000 | |
| Label | mount | 377 | 393 | 5000 | |
| Layer | mount | 3076 | 3089 | 5000 | |
| Link | mount | 498 | 523 | 5000 | |
| MakeStyles | mount | 1795 | 1713 | 50000 | |
| MenuButton | mount | 1494 | 1510 | 5000 | |
| MessageBar | mount | 2114 | 2103 | 5000 | |
| Nav | mount | 3373 | 3358 | 1000 | |
| OverflowSet | mount | 1191 | 1163 | 5000 | |
| Panel | mount | 2181 | 2230 | 1000 | |
| Persona | mount | 880 | 887 | 1000 | |
| Pivot | mount | 1457 | 1492 | 1000 | |
| PrimaryButton | mount | 1350 | 1339 | 5000 | |
| Rating | mount | 7741 | 7780 | 5000 | |
| SearchBox | mount | 1352 | 1378 | 5000 | |
| Shimmer | mount | 2738 | 2599 | 5000 | |
| Slider | mount | 2048 | 2036 | 5000 | |
| SpinButton | mount | 5132 | 5040 | 5000 | |
| Spinner | mount | 469 | 461 | 5000 | |
| SplitButton | mount | 3206 | 3211 | 5000 | |
| Stack | mount | 550 | 558 | 5000 | |
| StackWithIntrinsicChildren | mount | 2350 | 2345 | 5000 | |
| StackWithTextChildren | mount | 5382 | 5445 | 5000 | |
| SwatchColorPicker | mount | 11582 | 11453 | 5000 | |
| TagPicker | mount | 2655 | 2650 | 5000 | |
| TeachingBubble | mount | 13417 | 13410 | 5000 | |
| Text | mount | 457 | 484 | 5000 | |
| TextField | mount | 1439 | 1448 | 5000 | |
| ThemeProvider | mount | 1205 | 1220 | 5000 | |
| ThemeProvider | virtual-rerender | 656 | 635 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1939 | 1934 | 5000 | |
| Toggle | mount | 860 | 866 | 5000 | |
| buttonNative | mount | 153 | 156 | 5000 |
Perf Analysis (@fluentui/react-northstar)
JustSlone
left a comment
There was a problem hiding this comment.
Approving codeowners change
d7ec673 to
a35fa58
Compare
layershifter
left a comment
There was a problem hiding this comment.
Please merge master, I also dropped comments, this should help to pass CI on this branch 🐱
|
@layershifter thanks for the review! Everything you mentioned should be updated now -- I pulled in the latest master, and updated the outdated patterns :) |
layershifter
left a comment
There was a problem hiding this comment.
One minor change, other than that we are good to go 👍
Co-authored-by: Oleksandr Fediashov <[email protected]>
| * Controls the colors and borders of the Select. | ||
| * @default 'outline' | ||
| */ | ||
| appearance?: 'outline' | 'underline' | 'filledDarker' | 'filledLighter'; |
There was a problem hiding this comment.
how does darker and lighter work with high contrast or dark themes? Is there a need for color specific appearances?
There was a problem hiding this comment.
They don't affect high contrast, but there are designs in the Figma spec for them in dark theme :). The appearance prop and what it controls is pretty much the exact same as for Input.
There was a problem hiding this comment.
just worried about a future where the design changes a bit and 'darker' is no longer 'darker'. Curious if there was a discussion on how we named those variants in our system? Obviously it seems that it's used a bunch across different components, so would want to ensure consistency across all of them.
micahgodbolt
left a comment
There was a problem hiding this comment.
Few prop related questions, but everything else looks good
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
Pull request checklist
Include a change request file using(not included, private package)$ yarn changeDescription of changes
Adds a
react-selectpackage and basic component structure and stories. Does not include styles.