Skip to content

Commit 7a7e911

Browse files
committed
Fix build and sorting
1 parent c220a72 commit 7a7e911

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

packages/bundle/src/AddFullBundle.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import React, { memo, type ReactNode } from 'react';
1111
import AdaptiveCardsComposer from './adaptiveCards/AdaptiveCardsComposer';
1212
import { type AdaptiveCardsStyleOptions } from './adaptiveCards/AdaptiveCardsStyleOptions';
1313
import ShikiComposer from './codeHighlighter/ShikiComposer';
14+
import BundleStylesheet from './stylesheet/BundleStylesheet';
1415
import { type AdaptiveCardsPackage } from './types/AdaptiveCardsPackage';
1516
import { type StrictFullBundleStyleOptions } from './types/FullBundleStyleOptions';
1617
import useComposerProps from './useComposerProps';
17-
import BundleStylesheet from './stylesheet/BundleStylesheet';
1818

1919
type AddFullBundleChildren = ({ extraStyleSet }: { extraStyleSet: any }) => ReactNode;
2020

@@ -25,14 +25,14 @@ type AddFullBundleProps = Readonly<{
2525
attachmentMiddleware?: OneOrMany<AttachmentMiddleware>;
2626
children: AddFullBundleChildren;
2727
htmlContentTransformMiddleware?: HTMLContentTransformMiddleware[];
28+
nonce: string | undefined;
2829
renderMarkdown?: (
2930
markdown: string,
3031
newLineOptions: { markdownRespectCRLF: boolean },
3132
linkOptions: { externalLinkAlt: string }
3233
) => string;
3334
styleOptions?: StyleOptions & AdaptiveCardsStyleOptions;
3435
styleSet?: any & { options: StrictFullBundleStyleOptions };
35-
nonce: string | undefined;
3636

3737
/** @deprecated Rename to "adaptiveCardsHostConfig" */
3838
adaptiveCardHostConfig?: any;
@@ -50,10 +50,10 @@ function AddFullBundle({
5050
attachmentMiddleware,
5151
children,
5252
htmlContentTransformMiddleware,
53+
nonce,
5354
renderMarkdown,
5455
styleOptions,
55-
styleSet,
56-
nonce
56+
styleSet
5757
}: AddFullBundleProps) {
5858
adaptiveCardHostConfig && adaptiveCardHostConfigDeprecation();
5959

packages/bundle/src/stylesheet/BundleStylesheet.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: [P2] This component can be replaced by `bindProps`.
22
import { validateProps } from '@msinternal/botframework-webchat-react-valibot';
3-
import { useStyleOptions } from 'botframework-webchat/hook';
43
import { InjectStyleElements } from 'botframework-webchat-component/internal';
4+
import { useStyleOptions } from 'botframework-webchat-component/hook';
55
import React, { memo, type FunctionComponent } from 'react';
66
import { never, object, optional, pipe, readonly, string, undefinedable, type InferInput } from 'valibot';
77

0 commit comments

Comments
 (0)