Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
Comment thread
tomi-msft marked this conversation as resolved.
Comment thread
tomi-msft marked this conversation as resolved.
"type": "patch",
"comment": "fix: Update IconDirectionContextProvider imports to use export map",
"packageName": "@fluentui/react-provider",
"email": "ololubek@microsoft.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@

```ts

/// <reference types="react" />

import { ComponentProps } from '@fluentui/react-utilities';
import type { ComponentState } from '@fluentui/react-utilities';
import type { CustomStyleHooksContextValue_unstable } from '@fluentui/react-shared-contexts';
import type { IconDirectionContextValue } from '@fluentui/react-icons';
import type { IconDirectionContextValue } from '@fluentui/react-icons/lib/providers';
import { OverridesContextValue_unstable } from '@fluentui/react-shared-contexts';
import type { PartialTheme } from '@fluentui/react-theme';
import type { ProviderContextValue_unstable } from '@fluentui/react-shared-contexts';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import type { IconDirectionContextValue } from '@fluentui/react-icons';
/*
IconDirectionContextValue is being imported as a leaf node import in order to prevent extra icons froms being
downloaded when trying to use the FluentProvider.
This issue has more context: https://github.com/microsoft/fluentui/issues/30909
*/
import type { IconDirectionContextValue } from '@fluentui/react-icons/lib/providers';
Comment thread
tomi-msft marked this conversation as resolved.
Comment thread
tomi-msft marked this conversation as resolved.
import type {
OverridesContextValue_unstable as OverridesContextValue,
ProviderContextValue_unstable as ProviderContextValue,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
CustomStyleHooksContextValue_unstable as CustomStyleHooksContextValue,
} from '@fluentui/react-shared-contexts';
import type { FluentProviderContextValues, FluentProviderState, FluentProviderSlots } from './FluentProvider.types';
import { IconDirectionContextProvider } from '@fluentui/react-icons';
import { IconDirectionContextProvider } from '@fluentui/react-icons/lib/providers';
Comment thread
tomi-msft marked this conversation as resolved.

/**
* Render the final JSX of FluentProvider
Expand Down