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

chore(react-dialog): remove localShorthands in favor of griffel shorthands #24715

Merged

Conversation

bsunderhus
Copy link
Contributor

Current Behavior

There's a local file called localShorthands to provide gridArea shorthand that was previously unavailable by griffel

New Behavior

Griffel now provides gridArea shorthand, use it instead.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Sep 8, 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 46806c1:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 8, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-dialog
Dialog (including children components)
80.983 kB
24.186 kB
80.983 kB
24.187 kB

1 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
187.656 kB
51.96 kB
react-components
react-components: FluentProvider & webLightTheme
33.359 kB
11.004 kB
🤖 This report was generated against e4d50f2c501c4a8be23b24373242f650a601fdaf

@size-auditor
Copy link

size-auditor bot commented Sep 8, 2022

Asset size changes

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

Baseline commit: e4d50f2c501c4a8be23b24373242f650a601fdaf (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 8, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1223 1197 5000
Button mount 953 956 5000
FluentProvider mount 1552 1576 5000
FluentProviderWithTheme mount 638 574 10
FluentProviderWithTheme virtual-rerender 551 600 10
FluentProviderWithTheme virtual-rerender-with-unmount 576 631 10
MakeStyles mount 1756 1749 50000
SpinButton mount 2251 2473 5000

@bsunderhus bsunderhus marked this pull request as ready for review September 8, 2022 09:43
@bsunderhus bsunderhus requested a review from a team as a code owner September 8, 2022 09:43
@bsunderhus bsunderhus force-pushed the react-dialog/remove-localShorthands branch from 87af0cb to 46806c1 Compare September 8, 2022 09:46
@bsunderhus bsunderhus merged commit 5cd0e8d into microsoft:master Sep 8, 2022
@bsunderhus bsunderhus deleted the react-dialog/remove-localShorthands branch September 8, 2022 11:15
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Sep 9, 2022
* master: (63 commits)
  feat: add helper types to assist DOM element handling (microsoft#24722)
  applying package updates
  Textarea/hc bug (microsoft#24701)
  Fix null ref in use slider (microsoft#24728)
  Add Field unit tests, and remove snapshot tests (microsoft#24706)
  Stress Test: add build commands (microsoft#24575)
  Coachmark - useOffsetHeight should cause re-render on each set state to match v7 functionality (microsoft#24702)
  Implement screener tests for Field components (microsoft#24684)
  Update Field types to clean up react-field.api.md (microsoft#24703)
  fix(Popup): remove rotate(360deg) from PopupContent content styles (microsoft#24432)
  fix(FocusZone): should reset tabindex when focus is outside the zone with prop `shouldResetActiveElementWhenTabFromZone` (microsoft#24463)
  Fix greyed out legend key contrast ratio (microsoft#24714)
  fix: Portal compat should apply `focus-visible` ponyfill (microsoft#24712)
  Fix artifact error (microsoft#24717)
  chore(react-dialog): remove localShorthands in favor of griffel shorthands (microsoft#24715)
  Skip screener checks for draft PRs with exception of appropriately la… (microsoft#24694)
  fix: Remove provider classname from focus styles (microsoft#24710)
  feat: autocontrolled `useTable` hook (microsoft#24688)
  feat: add dialog properties to getNativeElementProps (microsoft#24698)
  Using migrate rather than upgrade term (microsoft#24695)
  ...
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.

4 participants