Skip to content

Conversation

@ling1726
Copy link
Contributor

Goes through the packages owned by teams-prg and adds @internal to APIs
that are not intended for public use

Follow up from #23577

Goes through the packages owned by teams-prg and adds @internal to APIs
that are not intended for public use
@ling1726 ling1726 marked this pull request as ready for review June 23, 2022 13:41
@ling1726 ling1726 requested a review from a team as a code owner June 23, 2022 13:41
@fabricteam
Copy link
Collaborator

fabricteam commented Jun 23, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-accordion
Accordion (including children components)
75.346 kB
22.865 kB
75.341 kB
22.859 kB
-5 B
-6 B
react-avatar
Avatar
46.031 kB
13.438 kB
46.026 kB
13.436 kB
-5 B
-2 B
react-card
Card - All
66.137 kB
18.69 kB
66.132 kB
18.682 kB
-5 B
-8 B
react-card
Card
61.293 kB
17.567 kB
61.288 kB
17.562 kB
-5 B
-5 B
react-combobox
Combobox
61.189 kB
20.959 kB
61.176 kB
20.948 kB
-13 B
-11 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
185.394 kB
51.302 kB
185.386 kB
51.296 kB
-8 B
-6 B
react-components
react-components: FluentProvider & webLightTheme
31.16 kB
10.215 kB
31.152 kB
10.212 kB
-8 B
-3 B
react-menu
Menu (including children components)
114.086 kB
34.592 kB
114.075 kB
34.591 kB
-11 B
-1 B
react-menu
Menu (including selectable components)
117.261 kB
35.067 kB
117.25 kB
35.058 kB
-11 B
-9 B
react-popover
Popover
104.06 kB
31.651 kB
104.048 kB
31.631 kB
-12 B
-20 B
react-portal
Portal
9.317 kB
3.451 kB
9.309 kB
3.448 kB
-8 B
-3 B
react-positioning
usePositioning
23.846 kB
8.29 kB
23.839 kB
8.292 kB
-7 B
2 B
react-provider
FluentProvider
14.037 kB
5.307 kB
14.029 kB
5.304 kB
-8 B
-3 B
react-slider
Slider
25.124 kB
8.081 kB
25.118 kB
8.077 kB
-6 B
-4 B
react-tooltip
Tooltip
43.837 kB
15.099 kB
43.821 kB
15.1 kB
-16 B
1 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
priority-overflow
createOverflowManager
2.936 kB
1.212 kB
react-badge
Badge
20.929 kB
6.554 kB
react-badge
CounterBadge
21.833 kB
6.861 kB
react-badge
PresenceBadge
22.627 kB
6.802 kB
react-button
Button
33.796 kB
9.151 kB
react-button
CompoundButton
40.703 kB
10.403 kB
react-button
MenuButton
36.365 kB
10.033 kB
react-button
SplitButton
43.6 kB
11.351 kB
react-button
ToggleButton
48.279 kB
10.573 kB
react-card
CardFooter
7.737 kB
3.264 kB
react-card
CardHeader
9.302 kB
3.779 kB
react-card
CardPreview
7.838 kB
3.316 kB
react-divider
Divider
15.597 kB
5.539 kB
react-image
Image
9.956 kB
3.922 kB
react-input
Input
22.009 kB
7.194 kB
react-label
Label
8.514 kB
3.526 kB
react-link
Link
11.358 kB
4.58 kB
react-overflow
hooks only
10.839 kB
4.146 kB
react-radio
Radio
29.696 kB
10.117 kB
react-radio
RadioGroup
13.595 kB
5.42 kB
react-select
Select
19.118 kB
6.841 kB
react-spinbutton
SpinButton
42.364 kB
11.944 kB
react-spinner
Spinner
18.159 kB
5.99 kB
react-switch
Switch
25.658 kB
8.276 kB
react-text
Text - Default
10.848 kB
4.239 kB
react-text
Text - Wrappers
14.158 kB
4.659 kB
react-textarea
Textarea
21.504 kB
7.221 kB
react-utilities
SSRProvider
189 B
161 B
🤖 This report was generated against 18a0c05530dff13ff19e69652bf4eb6c47ecaa3c

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 23, 2022

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 11ebf8a:

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

@size-auditor
Copy link

size-auditor bot commented Jun 23, 2022

Asset size changes

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

Baseline commit: 18a0c05530dff13ff19e69652bf4eb6c47ecaa3c (build)


/**
* Resets generated IDs, should be used only in tests.
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this is no longer internal?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be internal actually, because in order to have deterministic ids in unit tests, users will need to invoke this utility

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1416 1449 5000
Button mount 1121 1108 5000
FluentProvider mount 2029 2111 5000
FluentProviderWithTheme mount 777 783 10
FluentProviderWithTheme virtual-rerender 728 710 10
FluentProviderWithTheme virtual-rerender-with-unmount 771 805 10
MakeStyles mount 2113 2163 50000

@ling1726 ling1726 merged commit 2da4428 into microsoft:master Jun 23, 2022
rohitpagariya pushed a commit to rohitpagariya/fluentui that referenced this pull request Jun 28, 2022
* chore: Mark teams-prg owned APIs with @internal

Goes through the packages owned by teams-prg and adds @internal to APIs
that are not intended for public use

* changefiles

* update md files
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