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

Convert @fluentui/react-text stories to index.stories.tsx approach #23662

Merged
merged 3 commits into from
Jun 23, 2022

Conversation

micahgodbolt
Copy link
Member

fixes #23661

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 22, 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 01c30a7:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Jun 22, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-card
Card - All
66.137 kB
18.69 kB
react-card
Card
61.293 kB
17.567 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-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
185.394 kB
51.302 kB
react-components
react-components: FluentProvider & webLightTheme
31.16 kB
10.215 kB
react-input
Input
22.009 kB
7.194 kB
react-spinbutton
SpinButton
42.364 kB
11.944 kB
react-text
Text - Default
10.848 kB
4.239 kB
react-text
Text - Wrappers
14.158 kB
4.659 kB
🤖 This report was generated against 15fe9ac48a636c964e6ad1cd36fa5a6d4d5d52af

@size-auditor
Copy link

size-auditor bot commented Jun 22, 2022

Asset size changes

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

Baseline commit: f6b1dd6ebf92ca453c316799f44dd3f9ca232a1a (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Jun 22, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1347 1321 5000
Button mount 1002 968 5000
FluentProvider mount 1729 1710 5000
FluentProviderWithTheme mount 660 642 10
FluentProviderWithTheme virtual-rerender 617 613 10
FluentProviderWithTheme virtual-rerender-with-unmount 679 694 10
MakeStyles mount 2120 2102 50000

@micahgodbolt micahgodbolt enabled auto-merge (squash) June 22, 2022 18:05
Comment on lines +3 to +12
Body1,
Caption1,
Display,
Subtitle1,
LargeTitle,
Title1,
Title2,
Title3,
Subtitle2,
Caption2,
Copy link
Member

Choose a reason for hiding this comment

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

nit: You could go the extra mile and order these alphabetically

Suggested change
Body1,
Caption1,
Display,
Subtitle1,
LargeTitle,
Title1,
Title2,
Title3,
Subtitle2,
Caption2,
Body1,
Caption1,
Caption2,
Display,
LargeTitle,
Subtitle1,
Subtitle2,
Title1,
Title2,
Title3,

@tudorpopams tudorpopams self-requested a review June 23, 2022 12:18
@micahgodbolt micahgodbolt merged commit 36d25e9 into microsoft:master Jun 23, 2022
rohitpagariya pushed a commit to rohitpagariya/fluentui that referenced this pull request Jun 28, 2022
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.

Convert @fluentui/react-text stories to index.stories.tsx approach
4 participants