Skip to content

Add IconDirectionProvider to FluentProvider#28803

Merged
tomi-msft merged 11 commits into
microsoft:masterfrom
tomi-msft:add-icondirection-provider
Aug 28, 2023
Merged

Add IconDirectionProvider to FluentProvider#28803
tomi-msft merged 11 commits into
microsoft:masterfrom
tomi-msft:add-icondirection-provider

Conversation

@tomi-msft

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

Copy link
Copy Markdown
Contributor

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

fabricteam commented Aug 10, 2023

Copy link
Copy Markdown
Collaborator

📊 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

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

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

@fabricteam

fabricteam commented Aug 17, 2023

Copy link
Copy Markdown
Collaborator

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

size-auditor Bot commented Aug 17, 2023

Copy link
Copy Markdown

Asset size changes

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

Baseline commit: 0c71b67bb41fdc2de8c3c547e77646a4b2ab36e9 (build)

Comment thread packages/react-components/react-provider/package.json Outdated
khmakoto
khmakoto previously approved these changes Aug 17, 2023
@khmakoto
khmakoto dismissed their stale review August 17, 2023 20:54

Approved by mistake

@fabricteam

fabricteam commented Aug 17, 2023

Copy link
Copy Markdown
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@tomi-msft
tomi-msft merged commit ecaa083 into microsoft:master Aug 28, 2023
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