diff --git a/packages/fuselage-ui-kit/src/contexts/SurfaceContext.ts b/packages/fuselage-ui-kit/src/contexts/SurfaceContext.ts index 579daaa3ef6d..97af38bbc51e 100644 --- a/packages/fuselage-ui-kit/src/contexts/SurfaceContext.ts +++ b/packages/fuselage-ui-kit/src/contexts/SurfaceContext.ts @@ -5,6 +5,7 @@ export type SurfaceContextValue = | 'banner' | 'message' | 'modal' - | 'contextualBar'; + | 'contextualBar' + | 'custom'; export const SurfaceContext = createContext('message'); diff --git a/packages/fuselage-ui-kit/src/surfaces/index.ts b/packages/fuselage-ui-kit/src/surfaces/index.ts index 24b57931f331..e2ccb2da32c2 100644 --- a/packages/fuselage-ui-kit/src/surfaces/index.ts +++ b/packages/fuselage-ui-kit/src/surfaces/index.ts @@ -3,9 +3,14 @@ import { BannerSurfaceRenderer } from './BannerSurfaceRenderer'; import ContextualBarSurface from './ContextualBarSurface'; import { ContextualBarSurfaceRenderer } from './ContextualBarSurfaceRenderer'; import { FuselageMessageSurfaceRenderer } from './FuselageMessageSurfaceRenderer'; +import { + FuselageSurfaceRenderer, + renderTextObject, +} from './FuselageSurfaceRenderer'; import MessageSurface from './MessageSurface'; import ModalSurface from './ModalSurface'; import { ModalSurfaceRenderer } from './ModalSurfaceRenderer'; +import { Surface } from './Surface'; import { createSurfaceRenderer } from './createSurfaceRenderer'; export const bannerParser = new BannerSurfaceRenderer(); @@ -23,3 +28,10 @@ export const UiKitContextualBar = createSurfaceRenderer( ContextualBarSurface, contextualBarParser, ); + +export { + createSurfaceRenderer, + Surface, + FuselageSurfaceRenderer, + renderTextObject, +};