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

Add IconDirectionProvider to FluentProvider #28803

Merged
merged 11 commits into from
Aug 28, 2023

Conversation

tomi-msft
Copy link
Contributor

@tomi-msft tomi-msft commented Aug 10, 2023

This PR is to add the IconDirectionProvider to the FluentProvider in order to allow for default handling of rtl scenarios. The IconDirectionContextValue is:
image

@tomi-msft tomi-msft requested a review from a team as a code owner August 10, 2023 02:22
@github-actions github-actions bot added this to the August Project Cycle Q4 2023 milestone Aug 10, 2023
@fabricteam
Copy link
Collaborator

fabricteam commented Aug 10, 2023

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: Button, FluentProvider & webLightTheme
66.614 kB
18.512 kB
66.751 kB
18.541 kB
137 B
29 B
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
203.567 kB
57.847 kB
203.704 kB
57.87 kB
137 B
23 B
react-components
react-components: FluentProvider & webLightTheme
37.787 kB
12.387 kB
37.926 kB
12.419 kB
139 B
32 B
react-provider
FluentProvider
18.332 kB
6.817 kB
18.471 kB
6.847 kB
139 B
30 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against 0c71b67bb41fdc2de8c3c547e77646a4b2ab36e9

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 10, 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 9757dc2:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 17, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 71 61 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 622 603 5000
Button mount 307 320 5000
Field mount 1145 1142 5000
FluentProvider mount 670 676 5000
FluentProviderWithTheme mount 76 79 10
FluentProviderWithTheme virtual-rerender 71 61 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 74 69 10
InfoButton mount 10 9 5000
MakeStyles mount 855 866 50000
Persona mount 1680 1748 5000
SpinButton mount 1370 1334 5000

@size-auditor
Copy link

size-auditor bot commented Aug 17, 2023

Asset size changes

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

Baseline commit: 0c71b67bb41fdc2de8c3c547e77646a4b2ab36e9 (build)

@khmakoto khmakoto dismissed their stale review August 17, 2023 20:54

Approved by mistake

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 17, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@tomi-msft tomi-msft merged commit ecaa083 into microsoft:master Aug 28, 2023
21 checks passed
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 29, 2023
* master:
  applying package updates
  feat: release react-motion as preview (microsoft#29005)
  fix(react-utilities): click scrollbar should invoke callback in `useOnClickOutside` (microsoft#28965)
  feat: adds mountNode to DialogSurface and Toaster (microsoft#29003)
  applying package updates
  Add IconDirectionProvider to FluentProvider (microsoft#28803)
marcosmoura pushed a commit to marcosmoura/fluentui that referenced this pull request Aug 29, 2023
* Add IconDirectionProvider

* change file

* update value provided to IconDirectionProvider

* api update

* code review comments

* api update

* Update iconDirection
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.

6 participants