Skip to content

Conversation

@bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Sep 29, 2023

New Behavior

  1. Converts usages of makeStyles with makeResetStyles to create base style for Tree components
  2. removes duplicate declaration of expandIcon styles on TreeItemLayout

@bsunderhus bsunderhus requested a review from a team as a code owner September 29, 2023 11:48
@bsunderhus bsunderhus self-assigned this Sep 29, 2023
@bsunderhus bsunderhus changed the title chore: replace makeStyles with makeResetStyles chore(react-tree): replace makeStyles with makeResetStyles Sep 29, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Sep 29, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 13 14 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 638 650 5000
Button mount 326 309 5000
Field mount 1151 1160 5000
FluentProvider mount 710 707 5000
FluentProviderWithTheme mount 93 93 10
FluentProviderWithTheme virtual-rerender 74 84 10
FluentProviderWithTheme virtual-rerender-with-unmount 82 91 10
InfoButton mount 13 14 5000 Possible regression
MakeStyles mount 859 861 50000
Persona mount 1772 1757 5000
SpinButton mount 1416 1385 5000

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 29, 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 7c01487:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 29, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
69.227 kB
19.584 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
206.783 kB
59.085 kB
react-components
react-components: FluentProvider & webLightTheme
40.793 kB
13.521 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against b5f4971b4b04d5a02983ec472c4cc565ebd98d80

@size-auditor
Copy link

size-auditor bot commented Sep 29, 2023

Asset size changes

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

Baseline commit: b5f4971b4b04d5a02983ec472c4cc565ebd98d80 (build)

@bsunderhus bsunderhus force-pushed the react-tree/chore--replace-makeStyles-with-makeResetStyles branch from e2a5bd0 to 7c01487 Compare September 29, 2023 12:44
@bsunderhus bsunderhus merged commit eb4533e into microsoft:master Oct 2, 2023
@bsunderhus bsunderhus deleted the react-tree/chore--replace-makeStyles-with-makeResetStyles branch October 2, 2023 10:36
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 4, 2023
* master: (146 commits)
  remove a11y test ux from theme designer (microsoft#29379)
  feat: preview release (microsoft#29377)
  Fixed divider in the tooltip (microsoft#29357)
  fix (microsoft#29376)
  docs: Initial documentation pass (microsoft#29372)
  feat: Integrate Announce context (microsoft#29362)
  chore(react-tags): stable release (microsoft#29355)
  chore: delegate focus outline to layout components (microsoft#29293)
  Vertical bar chart line bug (microsoft#29299)
  applying package updates
  Adding axis title examples for line, area, vertical bar and vertical stacked bar charts (microsoft#29254)
  A11y: Pagination: Add tooltip for all icon buttons  (microsoft#29155)
  A11y: Fix aria attribute for page number and add correct role (microsoft#29349)
  feat: Implement motion for MessageBar (microsoft#29339)
  feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation (microsoft#29310)
  chore: replace makeStyles with makeResetStyles (microsoft#29338)
  applying package updates
  ci(github/policies): remove bot rules that created and added `Component/Package $1`: labels on PRs (microsoft#29301)
  fix: handle multiple classes in PortalCompatProvider (microsoft#29351)
  applying package updates
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 4, 2023
* master: (49 commits)
  remove a11y test ux from theme designer (microsoft#29379)
  feat: preview release (microsoft#29377)
  Fixed divider in the tooltip (microsoft#29357)
  fix (microsoft#29376)
  docs: Initial documentation pass (microsoft#29372)
  feat: Integrate Announce context (microsoft#29362)
  chore(react-tags): stable release (microsoft#29355)
  chore: delegate focus outline to layout components (microsoft#29293)
  Vertical bar chart line bug (microsoft#29299)
  applying package updates
  Adding axis title examples for line, area, vertical bar and vertical stacked bar charts (microsoft#29254)
  A11y: Pagination: Add tooltip for all icon buttons  (microsoft#29155)
  A11y: Fix aria attribute for page number and add correct role (microsoft#29349)
  feat: Implement motion for MessageBar (microsoft#29339)
  feat: creates getIntrinsicElementProps to replace getNativeElementProps on slots creation (microsoft#29310)
  chore: replace makeStyles with makeResetStyles (microsoft#29338)
  applying package updates
  ci(github/policies): remove bot rules that created and added `Component/Package $1`: labels on PRs (microsoft#29301)
  fix: handle multiple classes in PortalCompatProvider (microsoft#29351)
  applying package updates
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants