Skip to content
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

Create react-timepicker-compat-preview package #29216

Merged
merged 4 commits into from
Sep 22, 2023

Conversation

YuanboXue-Amber
Copy link
Contributor

@YuanboXue-Amber YuanboXue-Amber commented Sep 21, 2023

Add @fluentui/react-timepicker-compat-preview package. It is added by:

  1. running yarn create-package to create react-timepicker-compat package.
  2. add -preview suffix to the generated folder/files.
  3. give package.json a meaningful description

Related issue: #29215

@YuanboXue-Amber YuanboXue-Amber mentioned this pull request Sep 21, 2023
30 tasks
@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 21, 2023

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

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

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 673 658 5000
Button mount 318 323 5000
Field mount 1098 1127 5000
FluentProvider mount 712 700 5000
FluentProviderWithTheme mount 87 89 10
FluentProviderWithTheme virtual-rerender 84 77 10
FluentProviderWithTheme virtual-rerender-with-unmount 89 95 10
InfoButton mount 12 19 5000
MakeStyles mount 882 851 50000
Persona mount 1790 1736 5000
SpinButton mount 1380 1390 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

🕵 fluentuiv8 No visual regressions between this PR and main

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
AttachmentMinimalPerf.default 85 77 1.1:1
ChatDuplicateMessagesPerf.default 159 149 1.07:1
PortalMinimalPerf.default 91 85 1.07:1
GridMinimalPerf.default 198 186 1.06:1
RefMinimalPerf.default 113 107 1.06:1
SkeletonMinimalPerf.default 201 189 1.06:1
ChatWithPopoverPerf.default 207 198 1.05:1
BoxMinimalPerf.default 197 190 1.04:1
DividerMinimalPerf.default 215 206 1.04:1
StatusMinimalPerf.default 396 380 1.04:1
ToolbarMinimalPerf.default 544 525 1.04:1
AnimationMinimalPerf.default 310 301 1.03:1
CarouselMinimalPerf.default 274 266 1.03:1
DialogMinimalPerf.default 449 438 1.03:1
HeaderSlotsPerf.default 475 463 1.03:1
ListNestedPerf.default 324 315 1.03:1
ButtonMinimalPerf.default 87 85 1.02:1
ButtonSlotsPerf.default 318 313 1.02:1
ChatMinimalPerf.default 441 433 1.02:1
CheckboxMinimalPerf.default 1162 1134 1.02:1
LayoutMinimalPerf.default 205 201 1.02:1
LoaderMinimalPerf.default 196 193 1.02:1
MenuMinimalPerf.default 503 495 1.02:1
RosterPerf.default 1601 1563 1.02:1
DatepickerMinimalPerf.default 3560 3542 1.01:1
DropdownMinimalPerf.default 1443 1430 1.01:1
HeaderMinimalPerf.default 211 209 1.01:1
RadioGroupMinimalPerf.default 265 263 1.01:1
SegmentMinimalPerf.default 203 200 1.01:1
TextMinimalPerf.default 199 197 1.01:1
AttachmentSlotsPerf.default 636 639 1:1
EmbedMinimalPerf.default 1875 1878 1:1
ImageMinimalPerf.default 226 226 1:1
ListMinimalPerf.default 309 309 1:1
ListWith60ListItems.default 376 375 1:1
ProviderMinimalPerf.default 202 202 1:1
ReactionMinimalPerf.default 210 210 1:1
TableManyItemsPerf.default 1122 1127 1:1
TableMinimalPerf.default 236 236 1:1
CustomToolbarPrototype.default 1479 1486 1:1
TooltipMinimalPerf.default 1313 1315 1:1
InputMinimalPerf.default 556 562 0.99:1
ItemLayoutMinimalPerf.default 706 716 0.99:1
ProviderMergeThemesPerf.default 643 649 0.99:1
SplitButtonMinimalPerf.default 2239 2251 0.99:1
ButtonOverridesMissPerf.default 649 661 0.98:1
FormMinimalPerf.default 229 234 0.98:1
MenuButtonMinimalPerf.default 935 957 0.98:1
TreeMinimalPerf.default 466 474 0.98:1
VideoMinimalPerf.default 431 438 0.98:1
LabelMinimalPerf.default 216 223 0.97:1
TextAreaMinimalPerf.default 291 299 0.97:1
DropdownManyItemsPerf.default 380 396 0.96:1
ListCommonPerf.default 379 393 0.96:1
SliderMinimalPerf.default 741 773 0.96:1
CardMinimalPerf.default 303 318 0.95:1
AlertMinimalPerf.default 151 160 0.94:1
AvatarMinimalPerf.default 102 109 0.94:1
PopupMinimalPerf.default 357 381 0.94:1
IconMinimalPerf.default 381 406 0.94:1
AccordionMinimalPerf.default 79 85 0.93:1
FlexMinimalPerf.default 142 154 0.92:1
TreeWith60ListItems.default 70 93 0.75:1

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

🕵 FluentUIV0 No visual regressions between this PR and main

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
510 B
330 B
global-context
createContextSelector
537 B
342 B
priority-overflow
createOverflowManager
4.162 kB
1.735 kB
react-accordion
Accordion (including children components)
91.583 kB
27.954 kB
react-alert
Alert
83.657 kB
22.895 kB
react-avatar
Avatar
49.035 kB
15.434 kB
react-avatar
AvatarGroup
18.782 kB
7.48 kB
react-avatar
AvatarGroupItem
63.687 kB
19.786 kB
react-badge
Badge
25.987 kB
8.384 kB
react-badge
CounterBadge
26.888 kB
8.687 kB
react-badge
PresenceBadge
24.046 kB
8.762 kB
react-button
Button
39.667 kB
10.794 kB
react-button
CompoundButton
47.023 kB
12.295 kB
react-button
MenuButton
44.094 kB
12.056 kB
react-button
SplitButton
52.12 kB
13.632 kB
react-button
ToggleButton
56.756 kB
12.702 kB
react-card
Card - All
91.443 kB
26.437 kB
react-card
Card
86.232 kB
24.895 kB
react-card
CardFooter
12.14 kB
5.061 kB
react-card
CardHeader
14.431 kB
5.832 kB
react-card
CardPreview
13.097 kB
5.434 kB
react-checkbox
Checkbox
35.808 kB
11.802 kB
react-combobox
Combobox (including child components)
90.577 kB
29.554 kB
react-combobox
Dropdown (including child components)
88.932 kB
29.201 kB
react-components
react-components: Button, FluentProvider & webLightTheme
69.572 kB
19.658 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
208.392 kB
59.385 kB
react-components
react-components: FluentProvider & webLightTheme
40.966 kB
13.569 kB
react-datepicker-compat
DatePicker Compat
211.639 kB
58.838 kB
react-dialog
Dialog (including children components)
90.125 kB
27.485 kB
react-divider
Divider
19.902 kB
7.415 kB
react-field
Field
21.234 kB
8.128 kB
react-image
Image
14.818 kB
5.902 kB
react-infobutton
InfoButton
129.801 kB
40.756 kB
react-infobutton
InfoLabel
133.534 kB
41.945 kB
react-input
Input
26.143 kB
8.844 kB
react-jsx-runtime
Classic Pragma
1.072 kB
544 B
react-jsx-runtime
JSX Dev Runtime
2.893 kB
1.319 kB
react-jsx-runtime
JSX Runtime
3.479 kB
1.554 kB
react-label
Label
13.225 kB
5.438 kB
react-link
Link
16.095 kB
6.53 kB
react-menu
Menu (including children components)
139.823 kB
43.055 kB
react-menu
Menu (including selectable components)
142.559 kB
43.576 kB
react-overflow
hooks only
12.594 kB
4.702 kB
react-persona
Persona
55.926 kB
17.314 kB
react-popover
Popover
118.895 kB
37.406 kB
react-portal
Portal
12.362 kB
4.543 kB
react-portal-compat
PortalCompatProvider
6.541 kB
2.227 kB
react-positioning
usePositioning
25.245 kB
9.141 kB
react-progress
ProgressBar
16.598 kB
6.608 kB
react-provider
FluentProvider
21.511 kB
7.994 kB
react-radio
Radio
29.517 kB
9.732 kB
react-radio
RadioGroup
14.543 kB
5.985 kB
react-select
Select
27.518 kB
9.804 kB
react-slider
Slider
37.043 kB
12.203 kB
react-spinbutton
SpinButton
35.724 kB
11.399 kB
react-spinner
Spinner
22.481 kB
8.146 kB
react-switch
Switch
32.079 kB
10.39 kB
react-table
DataGrid
156.732 kB
43.665 kB
react-table
Table (Primitives only)
42.668 kB
13.304 kB
react-table
Table as DataGrid
129.489 kB
34.797 kB
react-table
Table (Selection only)
74.765 kB
20.107 kB
react-table
Table (Sort only)
73.396 kB
19.701 kB
react-tags-preview
InteractionTag
14.038 kB
5.658 kB
react-tags-preview
Tag
29.806 kB
9.597 kB
react-tags-preview
TagGroup
72.687 kB
21.648 kB
react-text
Text - Default
15.832 kB
6.254 kB
react-text
Text - Wrappers
19.01 kB
6.578 kB
react-textarea
Textarea
30.203 kB
10.199 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
34.611 kB
7.295 kB
react-theme
Teams: Light theme
19.282 kB
5.486 kB
react-toast
Toast (including Toaster)
91.789 kB
27.423 kB
react-tooltip
Tooltip
51.348 kB
18.113 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against 979322ae432426868be11b010d88b9c1b37c0c0d

@size-auditor
Copy link

size-auditor bot commented Sep 21, 2023

Asset size changes

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

Baseline commit: 979322ae432426868be11b010d88b9c1b37c0c0d (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 21, 2023

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 638 626 5000
Breadcrumb mount 1657 1654 1000
Checkbox mount 1702 1667 5000
CheckboxBase mount 1479 1467 5000
ChoiceGroup mount 2930 2979 5000
ComboBox mount 645 655 1000
CommandBar mount 6126 6210 1000
ContextualMenu mount 12765 12621 1000
DefaultButton mount 745 736 5000
DetailsRow mount 2204 2213 5000
DetailsRowFast mount 2154 2170 5000
DetailsRowNoStyles mount 1977 2002 5000
Dialog mount 2749 2838 1000
DocumentCardTitle mount 222 223 1000
Dropdown mount 1996 1961 5000
FocusTrapZone mount 1124 1117 5000
FocusZone mount 1072 1049 5000
GroupedList mount 40805 41187 2
GroupedList virtual-rerender 17710 19658 2
GroupedList virtual-rerender-with-unmount 49925 49928 2
GroupedListV2 mount 229 229 2
GroupedListV2 virtual-rerender 206 215 2
GroupedListV2 virtual-rerender-with-unmount 220 223 2
IconButton mount 1066 1095 5000
Label mount 340 342 5000
Layer mount 2757 2675 5000
Link mount 374 386 5000
MenuButton mount 942 953 5000
MessageBar mount 21296 21255 5000
Nav mount 1924 1906 1000
OverflowSet mount 786 773 5000
Panel mount 1845 1822 1000
Persona mount 744 766 1000
Pivot mount 849 851 1000
PrimaryButton mount 829 836 5000
Rating mount 4552 4587 5000
SearchBox mount 884 918 5000
Shimmer mount 1908 1868 5000
Slider mount 1324 1305 5000
SpinButton mount 2875 2812 5000
Spinner mount 385 382 5000
SplitButton mount 1796 1792 5000
Stack mount 398 409 5000
StackWithIntrinsicChildren mount 854 857 5000
StackWithTextChildren mount 2571 2578 5000
SwatchColorPicker mount 6051 6094 5000
TagPicker mount 1462 1424 5000
Text mount 382 370 5000
TextField mount 939 922 5000
ThemeProvider mount 837 822 5000
ThemeProvider virtual-rerender 592 590 5000
ThemeProvider virtual-rerender-with-unmount 1258 1261 5000
Toggle mount 628 610 5000
buttonNative mount 197 190 5000

@YuanboXue-Amber YuanboXue-Amber marked this pull request as ready for review September 21, 2023 13:44
@YuanboXue-Amber YuanboXue-Amber mentioned this pull request Sep 21, 2023
27 tasks
@YuanboXue-Amber YuanboXue-Amber merged commit 01d9fdb into microsoft:master Sep 22, 2023
23 checks passed
@YuanboXue-Amber YuanboXue-Amber deleted the timepicker-pkg branch September 22, 2023 09:37
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Sep 25, 2023
…s-classnames

* master:
  chore: Updating @fluentui/react-icons to version 2.0.216 (microsoft#29151)
  Replace cxe-coastal with cxe-red in codeowners (microsoft#29248)
  feat(react-drawer): add support to override Dialog as slot (microsoft#29217)
  fix(react-tags-preview): update `handleTagDismiss` type (microsoft#29240)
  create TimePicker component (microsoft#29252)
  Create react-timepicker-compat-preview package (microsoft#29216)
  feat(react-tags-preview): add useCustomStyleHook_unstable to all components (microsoft#29237)
  Enable reflow for all cartesian chart examples (microsoft#29229)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants