Skip to content

Conversation

@benlemmon-ms
Copy link
Contributor

@benlemmon-ms benlemmon-ms commented Jul 18, 2023

Previous Behavior

An empty CSS file was generated due to the empty makeStyles call

New Behavior

No empty CSS file generated

Related Issue(s)

@benlemmon-ms benlemmon-ms requested review from a team, chpalac and ling1726 as code owners July 18, 2023 21:23
@benlemmon-ms benlemmon-ms changed the title Change files Fix empty CSS creation Jul 18, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Jul 18, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
67.576 kB
18.225 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
213.081 kB
59.115 kB
react-components
react-components: FluentProvider & webLightTheme
36.409 kB
12.003 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against 4838addc2ffe412d677839ebe8cd9e6faad53721

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 18, 2023

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 593 604 5000
Button mount 303 292 5000
Field mount 1063 1049 5000
FluentProvider mount 645 635 5000
FluentProviderWithTheme mount 90 84 10
FluentProviderWithTheme virtual-rerender 63 59 10
FluentProviderWithTheme virtual-rerender-with-unmount 76 70 10
InfoButton mount 10 11 5000
MakeStyles mount 854 865 50000
Persona mount 1595 1564 5000
SpinButton mount 1367 1289 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 18, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 19, 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 24d990d:

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

@size-auditor
Copy link

size-auditor bot commented Jul 19, 2023

Asset size changes

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

Baseline commit: 4838addc2ffe412d677839ebe8cd9e6faad53721 (build)

@ling1726
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 28566 in repo microsoft/fluentui

@layershifter
Copy link
Member

FYI microsoft/griffel#402

@ling1726 ling1726 merged commit 2adf9de into microsoft:master Jul 20, 2023
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Jul 25, 2023
* master: (32 commits)
  chore: remove @fluentui/bundle-size (microsoft#28601)
  Breadcrumb UI adjustments (microsoft#28578)
  feat(tools): re-generate react-components.api.md when preparing 1st stable release (microsoft#28561)
  perf(tools): make dependency-mismatch execution 90% faster and ignore */>=9.0.0-alpha versions (microsoft#28597)
  Table/DataGrid: keyboard resizing improvements (microsoft#28493)
  docs(react-tooltip): Add info icon + tooltip story to Tooltip stories (microsoft#28611)
  chore: Updating @fluentui/react-icons to version 2.0.207 (microsoft#28590)
  feat: allSelectedRows and someSelectedRows should be more reliable (microsoft#28577)
  add vr test to react-tags (microsoft#28484)
  applying package updates
  chore: migrate to monosize (microsoft#26826)
  fix(react-conformance): add @swc/helpers to deps instead of tslib as we use swc for transpilation (microsoft#28599)
  fix: MenuItem content should be spaced 12px from the boundary (microsoft#28162)
  feat: implements selection (microsoft#28497)
  bugfix: moves handleBackdropClick from defaultProps to an override (microsoft#28579)
  Fix empty CSS creation (microsoft#28566)
  chore: replace plop with nx within create-* aliases in root package.json (microsoft#28575)
  applying package updates
  fix: High contrast mode hover style icon fixes in react-button components (microsoft#28156)
  SplitButton: updated border right token for primary variant (microsoft#28555)
  ...
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.

[Bug]: useToolbarGroupStyles.styles.ts can create an empty CSS file

6 participants