diff --git a/packages/react-components/react-message-bar/library/etc/react-message-bar.api.md b/packages/react-components/react-message-bar/library/etc/react-message-bar.api.md index cc6f80e27fdeb8..f542397433e674 100644 --- a/packages/react-components/react-message-bar/library/etc/react-message-bar.api.md +++ b/packages/react-components/react-message-bar/library/etc/react-message-bar.api.md @@ -144,13 +144,13 @@ export type MessageBarTitleSlots = { // @public export type MessageBarTitleState = ComponentState; -// @internal @deprecated (undocumented) +// @internal (undocumented) export const messageBarTransitionContextDefaultValue: MessageBarTransitionContextValue; -// @internal @deprecated +// @internal export const MessageBarTransitionContextProvider: React_2.Provider; -// @public @deprecated (undocumented) +// @public (undocumented) export type MessageBarTransitionContextValue = { className: string; nodeRef: React_2.Ref; @@ -210,7 +210,7 @@ export const useMessageBarTitle_unstable: (props: MessageBarTitleProps, ref: Rea // @public export const useMessageBarTitleStyles_unstable: (state: MessageBarTitleState) => MessageBarTitleState; -// @internal @deprecated (undocumented) +// @internal (undocumented) export const useMessageBarTransitionContext: () => MessageBarTransitionContextValue; // (No @packageDocumentation comment for this package) diff --git a/packages/react-components/react-message-bar/library/src/contexts/messageBarTransitionContext.ts b/packages/react-components/react-message-bar/library/src/contexts/messageBarTransitionContext.ts index ce0862601ee9d9..5c1dea8f74f588 100644 --- a/packages/react-components/react-message-bar/library/src/contexts/messageBarTransitionContext.ts +++ b/packages/react-components/react-message-bar/library/src/contexts/messageBarTransitionContext.ts @@ -1,9 +1,9 @@ import * as React from 'react'; -/** - * @deprecated Code is unused, replaced by motion components - */ export type MessageBarTransitionContextValue = { + /** + * @deprecated CSS className is no longer used for this transition, replaced by motion components + */ className: string; nodeRef: React.Ref; }; @@ -12,7 +12,6 @@ const messageBarTransitionContext = React.createContext React.useContext(messageBarTransitionContext) ?? messageBarTransitionContextDefaultValue;