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 @@
{
"type": "patch",
"comment": "fix: invoke useCustomStyleHook_unstable()",
"packageName": "@fluentui/react-provider",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: invoke useCustomStyleHook_unstable()",
"packageName": "@fluentui/react-shared-contexts",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "fix: invoke useCustomStyleHook_unstable()",
"packageName": "@fluentui/react-toast",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export const FluentProvider: React_2.ForwardRefExoticComponent<Omit<ComponentPro
useMessageBarTitleStyles_unstable: (state: unknown) => void;
useMessageBarActionsStyles_unstable: (state: unknown) => void;
useMessageBarGroupStyles_unstable: (state: unknown) => void;
useToasterStyles_unstable: (state: unknown) => void;
}> | undefined;
dir?: "ltr" | "rtl" | undefined;
targetDocument?: Document | undefined;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export const CustomStyleHooksContext_unstable: React_2.Context<Partial<{
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
}> | undefined>;

// @public (undocumented)
Expand Down Expand Up @@ -237,6 +238,7 @@ export type CustomStyleHooksContextValue_unstable = Partial<{
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
}>;

// @internal (undocumented)
Expand Down Expand Up @@ -346,6 +348,7 @@ export const CustomStyleHooksProvider_unstable: React_2.Provider<Partial<{
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
}> | undefined>;

// @internal (undocumented)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export type CustomStyleHooksContextValue = Partial<{
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
}>;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
import * as React from 'react';

import { useToaster_unstable } from './useToaster';
import { renderToaster_unstable } from './renderToaster';
import { useToasterStyles_unstable } from './useToasterStyles.styles';
Expand All @@ -11,6 +13,7 @@ export const Toaster: React.FC<ToasterProps> = props => {
const state = useToaster_unstable(props);

useToasterStyles_unstable(state);
useCustomStyleHook_unstable('useToasterStyles_unstable')(state);
return renderToaster_unstable(state);
};

Expand Down