Skip to content

chore: enforce files naming to use .styles.ts [cxe-coastal]#27708

Merged
layershifter merged 1 commit into
microsoft:masterfrom
layershifter:chore/enforce-files-naming-cxe-coastal
May 3, 2023
Merged

chore: enforce files naming to use .styles.ts [cxe-coastal]#27708
layershifter merged 1 commit into
microsoft:masterfrom
layershifter:chore/enforce-files-naming-cxe-coastal

Conversation

@layershifter

@layershifter layershifter commented Apr 27, 2023

Copy link
Copy Markdown
Member

New Behavior

This PR removes useCOMPONENTStyles.ts files to useCOMPONENTStyles.styles.ts files to follow Griffel's rule for naming files.

The ESLint rule have not been enabled yet, this PR is a preparation to do that. Affects files owned by @microsoft/cxe-coastal

Change files are set to patch/prerelease as artifacts should be updated.

Related Issue(s)

@github-actions github-actions Bot added this to the April Project Cycle Q2 2023 milestone Apr 27, 2023
@layershifter layershifter force-pushed the chore/enforce-files-naming-cxe-coastal branch 3 times, most recently from 8964bbc to 2231dfc Compare April 27, 2023 09:17
@fabricteam

fabricteam commented Apr 27, 2023

Copy link
Copy Markdown
Collaborator

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 882 874 5000
Button mount 437 474 5000
Field mount 1551 1504 5000
FluentProvider mount 1154 1128 5000
FluentProviderWithTheme mount 132 137 10
FluentProviderWithTheme virtual-rerender 117 115 10
FluentProviderWithTheme virtual-rerender-with-unmount 125 140 10
InfoButton mount 25 27 5000
MakeStyles mount 1369 1397 50000
Persona mount 2355 2354 5000
SpinButton mount 1946 1877 5000

@size-auditor

size-auditor Bot commented Apr 27, 2023

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: 6d0848597a7c07883a93b13f67f6727fd791f3dd (build)

@fabricteam

fabricteam commented Apr 27, 2023

Copy link
Copy Markdown
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-accordion
Accordion (including children components)
86.012 kB
26.086 kB
react-combobox
Combobox (including child components)
87.199 kB
28.095 kB
react-combobox
Dropdown (including child components)
85.583 kB
27.692 kB
react-components
react-components: Button, FluentProvider & webLightTheme
65.31 kB
17.931 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
204.34 kB
57.141 kB
react-components
react-components: FluentProvider & webLightTheme
36.086 kB
11.9 kB
react-divider
Divider
17.399 kB
6.298 kB
react-portal-compat
PortalCompatProvider
6.446 kB
2.186 kB
react-select
Select
25.357 kB
8.798 kB
react-slider
Slider
34.112 kB
11.018 kB
🤖 This report was generated against 6d0848597a7c07883a93b13f67f6727fd791f3dd

@codesandbox-ci

codesandbox-ci Bot commented Apr 27, 2023

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

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

@fabricteam

fabricteam commented Apr 27, 2023

Copy link
Copy Markdown
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@layershifter layershifter marked this pull request as ready for review April 27, 2023 11:25
@layershifter layershifter force-pushed the chore/enforce-files-naming-cxe-coastal branch from 2231dfc to f24abab Compare April 28, 2023 09:19
@layershifter layershifter force-pushed the chore/enforce-files-naming-cxe-coastal branch from f24abab to dcc4e37 Compare May 2, 2023 08:54
@layershifter layershifter force-pushed the chore/enforce-files-naming-cxe-coastal branch from dcc4e37 to be4886e Compare May 2, 2023 08:55
@layershifter layershifter force-pushed the chore/enforce-files-naming-cxe-coastal branch from be4886e to e0cc475 Compare May 3, 2023 09:49
@layershifter layershifter merged commit 43d6e99 into microsoft:master May 3, 2023
@layershifter layershifter deleted the chore/enforce-files-naming-cxe-coastal branch May 3, 2023 11:05
@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-fluent-ui-bot

Copy link
Copy Markdown
Collaborator

🎉@fluentui/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

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.

5 participants