botframework-webchat-component 4.18.0 → 4.18.1-hotfix.20260127.b53acdf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/decorator.js +3 -0
- package/dist/botframework-webchat-component.d.mts +1044 -462
- package/{lib/Styles/createStyleSet.d.ts → dist/botframework-webchat-component.d.ts} +1380 -263
- package/dist/botframework-webchat-component.decorator.css +3 -0
- package/dist/botframework-webchat-component.decorator.css.map +1 -0
- package/dist/botframework-webchat-component.decorator.d.mts +9 -0
- package/dist/botframework-webchat-component.decorator.d.ts +9 -0
- package/dist/botframework-webchat-component.decorator.js +3 -0
- package/dist/botframework-webchat-component.decorator.js.LEGAL.txt +1 -0
- package/dist/botframework-webchat-component.decorator.js.map +1 -0
- package/dist/botframework-webchat-component.decorator.mjs +3 -0
- package/dist/botframework-webchat-component.decorator.mjs.LEGAL.txt +1 -0
- package/dist/botframework-webchat-component.decorator.mjs.map +1 -0
- package/dist/botframework-webchat-component.internal.d.mts +28 -3
- package/dist/botframework-webchat-component.internal.d.ts +30 -0
- package/dist/botframework-webchat-component.internal.js +3 -0
- package/dist/botframework-webchat-component.internal.js.LEGAL.txt +0 -0
- package/dist/botframework-webchat-component.internal.js.map +1 -0
- package/dist/botframework-webchat-component.internal.mjs +1 -1
- package/dist/botframework-webchat-component.js +33 -0
- package/dist/botframework-webchat-component.js.LEGAL.txt +0 -0
- package/dist/botframework-webchat-component.js.map +1 -0
- package/dist/botframework-webchat-component.mjs +29 -8
- package/dist/botframework-webchat-component.mjs.map +1 -1
- package/dist/chunk-2PXHDPNQ.js +3 -0
- package/dist/chunk-2PXHDPNQ.js.LEGAL.txt +0 -0
- package/dist/chunk-2PXHDPNQ.js.map +1 -0
- package/dist/chunk-HZWWJL43.mjs +3 -0
- package/dist/chunk-HZWWJL43.mjs.LEGAL.txt +0 -0
- package/dist/chunk-HZWWJL43.mjs.map +1 -0
- package/dist/chunk-O4CKKYSK.js +3 -0
- package/dist/chunk-O4CKKYSK.js.LEGAL.txt +2 -0
- package/dist/chunk-O4CKKYSK.js.map +1 -0
- package/dist/chunk-Q5KJQWAB.mjs +3 -0
- package/dist/chunk-Q5KJQWAB.mjs.LEGAL.txt +0 -0
- package/dist/chunk-Q5KJQWAB.mjs.map +1 -0
- package/dist/chunk-TTVXUQC5.mjs +3 -0
- package/dist/chunk-TTVXUQC5.mjs.LEGAL.txt +2 -0
- package/dist/chunk-TTVXUQC5.mjs.map +1 -0
- package/dist/chunk-XOE3AOSM.js +3 -0
- package/dist/chunk-XOE3AOSM.js.LEGAL.txt +0 -0
- package/dist/chunk-XOE3AOSM.js.map +1 -0
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -1
- package/internal.js +1 -1
- package/package.json +58 -49
- package/src/Activity/Avatar.tsx +19 -22
- package/src/Activity/Bubble.tsx +30 -32
- package/src/Activity/CarouselFilmStrip.js +2 -2
- package/src/Activity/CarouselLayout.js +11 -3
- package/src/Activity/SayAlt.tsx +30 -0
- package/src/Activity/Speak.tsx +66 -35
- package/src/Activity/StackedLayout.tsx +34 -68
- package/src/ActivityFeedback/ActivityFeedback.tsx +27 -0
- package/src/ActivityFeedback/private/FeedbackForm.tsx +88 -0
- package/src/ActivityFeedback/private/FeedbackLoopWithMessage.tsx +29 -0
- package/src/ActivityFeedback/private/FeedbackLoopWithoutMessage.tsx +8 -0
- package/src/ActivityFeedback/private/FeedbackTextArea.tsx +122 -0
- package/src/ActivityFeedback/private/FeedbackVoteButton.tsx +63 -0
- package/src/ActivityFeedback/private/FeedbackVoteButtonBar.tsx +25 -0
- package/src/{ActivityStatus/private/Feedback → ActivityFeedback}/private/ThumbButton.Image.tsx +4 -4
- package/src/{ActivityStatus/private/Feedback → ActivityFeedback}/private/ThumbButton.tsx +21 -8
- package/src/ActivityFeedback/private/getDisclaimer.ts +6 -0
- package/src/ActivityFeedback/private/hasFeedbackLoop.ts +36 -0
- package/src/ActivityFeedback/providers/ActivityFeedbackComposer.tsx +302 -0
- package/src/ActivityFeedback/providers/private/ActivityFeedbackContext.ts +23 -0
- package/src/ActivityFeedback/providers/private/useActivityFeedbackContext.ts +6 -0
- package/src/ActivityFeedback/providers/useActions.ts +6 -0
- package/src/ActivityFeedback/providers/useActivity.ts +6 -0
- package/src/ActivityFeedback/providers/useHasSubmitted.ts +5 -0
- package/src/ActivityFeedback/providers/useSelectedAction.ts +6 -0
- package/src/ActivityFeedback/providers/useShouldAllowResubmit.ts +5 -0
- package/src/ActivityFeedback/providers/useShouldShowFeedbackForm.ts +5 -0
- package/src/ActivityFeedback/providers/useSubmitCallback.ts +6 -0
- package/src/ActivityStatus/OthersActivityStatus.tsx +25 -36
- package/src/ActivityStatus/SelfActivityStatus.tsx +6 -5
- package/src/ActivityStatus/SendStatus/SendStatus.tsx +20 -21
- package/src/ActivityStatus/StatusSlot.tsx +12 -0
- package/src/ActivityStatus/Timestamp.tsx +17 -12
- package/src/Assets/TypingAnimation.js +3 -1
- package/src/Attachment/Assets/DownloadIcon.tsx +35 -0
- package/src/Attachment/AudioContent.tsx +20 -29
- package/src/Attachment/FileContent.tsx +40 -44
- package/src/Attachment/HTMLVideoContent.tsx +21 -27
- package/src/Attachment/ImageContent.tsx +13 -27
- package/src/Attachment/Text/TextAttachment.tsx +38 -14
- package/src/Attachment/Text/TextContent.tsx +49 -16
- package/src/Attachment/Text/private/ActivityButton.tsx +72 -0
- package/src/Attachment/Text/private/ActivityCopyButton.tsx +114 -0
- package/src/Attachment/Text/private/ActivityViewCodeButton.tsx +67 -0
- package/src/Attachment/Text/private/CitationModalContent.tsx +21 -11
- package/src/Attachment/Text/private/CodeContent.tsx +41 -0
- package/src/Attachment/Text/private/MarkdownTextContent.tsx +47 -11
- package/src/Attachment/Text/private/Markdownable.tsx +33 -0
- package/src/Attachment/Text/private/MessageSensitivityLabel.tsx +37 -29
- package/src/Attachment/Text/private/PlainTextContent.tsx +26 -7
- package/src/Attachment/Text/private/ShieldIcon.tsx +52 -34
- package/src/Attachment/Text/private/isAIGeneratedActivity.ts +5 -0
- package/src/Attachment/Text/private/isBasedOnSoftwareSourceCode.ts +18 -0
- package/src/Attachment/VideoAttachment.js +1 -1
- package/src/Attachment/VideoContent.tsx +21 -27
- package/src/Attachment/VimeoContent.tsx +21 -25
- package/src/Attachment/YouTubeContent.tsx +21 -25
- package/src/Avatar/ImageAvatar.tsx +48 -0
- package/src/Avatar/{InitialsAvatar.js → InitialsAvatar.tsx} +19 -14
- package/src/BasicToast.js +1 -1
- package/src/BasicToaster.js +41 -5
- package/src/BasicTranscript.tsx +90 -268
- package/src/BasicWebChat.tsx +34 -35
- package/src/BuiltInDecorator.tsx +17 -0
- package/src/ChatHistory/ChatHistoryBox.tsx +28 -0
- package/src/ChatHistory/ChatHistoryToolbar.tsx +38 -0
- package/src/ChatHistory/private/ScrollToEndButton.tsx +105 -0
- package/src/Composer.tsx +99 -56
- package/src/ConnectivityStatus/{Connecting.js → Connecting.tsx} +25 -20
- package/src/Dictation.js +15 -23
- package/src/ErrorBox.tsx +19 -19
- package/src/LinkDefinition/LinkDefinitions.tsx +61 -12
- package/src/LinkDefinition/private/extractHostnameWithSubdomain.ts +1 -1
- package/src/LiveRegion/LiveRegionActivity.tsx +18 -18
- package/src/LiveRegion/private/LiveRegionSuggestedActions.tsx +34 -25
- package/src/Middleware/Activity/createCoreMiddleware.tsx +20 -52
- package/src/Middleware/ActivityGrouping/createDefaultActivityGroupingDecoratorMiddleware.tsx +22 -0
- package/src/Middleware/ActivityGrouping/ui/RenderActivityGrouping.tsx +33 -0
- package/src/Middleware/ActivityGrouping/ui/SenderGrouping/SenderGrouping.tsx +49 -0
- package/src/Middleware/ActivityGrouping/ui/SenderGrouping/private/SenderGroupingContext.ts +18 -0
- package/src/Middleware/ActivityGrouping/ui/SenderGrouping/private/useSenderGroupingContext.ts +6 -0
- package/src/Middleware/ActivityGrouping/ui/SenderGrouping/useFirstActivity.ts +6 -0
- package/src/Middleware/ActivityGrouping/ui/SenderGrouping/useLastActivity.ts +6 -0
- package/src/Middleware/ActivityGrouping/ui/StatusGrouping/StatusGrouping.tsx +49 -0
- package/src/Middleware/ActivityGrouping/ui/StatusGrouping/private/StatusGroupingContext.ts +18 -0
- package/src/Middleware/ActivityGrouping/ui/StatusGrouping/private/useStatusGroupingContext.ts +6 -0
- package/src/Middleware/ActivityGrouping/ui/StatusGrouping/useFirstActivity.ts +6 -0
- package/src/Middleware/ActivityGrouping/ui/StatusGrouping/useLastActivity.ts +6 -0
- package/src/Middleware/ActivityStatus/createTimestampMiddleware.tsx +2 -2
- package/src/Middleware/Avatar/createCoreMiddleware.tsx +23 -24
- package/src/Middleware/ScrollToEndButton/ScrollToEndButton.tsx +58 -0
- package/src/ScreenReaderText.tsx +27 -34
- package/src/SendBox/Assets/SendIcon.js +1 -1
- package/src/SendBox/AutoResizeTextArea.tsx +28 -64
- package/src/SendBox/BasicSendBox.tsx +21 -23
- package/src/SendBox/DictationInterims.tsx +32 -21
- package/src/SendBox/IconButton.tsx +35 -30
- package/src/SendBox/MicrophoneButton.tsx +21 -21
- package/src/SendBox/SendButton.tsx +19 -20
- package/src/SendBox/SuggestedAction.tsx +57 -71
- package/src/SendBox/SuggestedActions.tsx +1 -3
- package/src/SendBox/TextBox.tsx +25 -38
- package/src/SendBoxToolbar/Assets/AttachmentIcon.tsx +1 -1
- package/src/SendBoxToolbar/UploadButton.tsx +22 -20
- package/src/Styles/CustomPropertyNames.ts +14 -6
- package/src/Styles/StyleSet/ActivityButton.ts +46 -0
- package/src/Styles/StyleSet/ActivityCopyButton.ts +40 -0
- package/src/Styles/StyleSet/AudioAttachment.ts +3 -3
- package/src/Styles/StyleSet/Avatar.ts +4 -3
- package/src/Styles/StyleSet/CarouselFilmStrip.ts +9 -7
- package/src/Styles/StyleSet/CarouselFilmStripAttachment.ts +3 -4
- package/src/Styles/StyleSet/ChatHistoryBox.ts +22 -0
- package/src/Styles/StyleSet/CodeBlock.ts +39 -0
- package/src/Styles/StyleSet/CodeBlockCopyButton.ts +80 -0
- package/src/Styles/StyleSet/FeedbackForm.ts +78 -0
- package/src/Styles/StyleSet/FeedbackTextArea.ts +81 -0
- package/src/Styles/StyleSet/ImageAvatar.ts +8 -5
- package/src/Styles/StyleSet/InitialsAvatar.ts +4 -5
- package/src/Styles/StyleSet/LinkDefinitions.ts +14 -8
- package/src/Styles/StyleSet/ModalDialog.ts +7 -1
- package/src/Styles/StyleSet/MonochromeImageMasker.ts +10 -0
- package/src/Styles/StyleSet/RenderMarkdown.ts +26 -0
- package/src/Styles/StyleSet/ScrollToEndButton.ts +0 -11
- package/src/Styles/StyleSet/SendStatus.ts +12 -0
- package/src/Styles/StyleSet/StackedLayout.ts +18 -9
- package/src/Styles/StyleSet/TextContent.ts +13 -1
- package/src/Styles/StyleSet/ThumbButton.ts +54 -16
- package/src/Styles/StyleSet/Tooltip.ts +62 -0
- package/src/Styles/StyleSet/ViewCodeDialog.ts +70 -0
- package/src/Styles/createStyleSet.ts +23 -11
- package/src/Styles/createStyles.ts +5 -0
- package/src/Styles/index.ts +3 -0
- package/src/Styles/useCustomPropertiesClassName.ts +75 -0
- package/src/Tooltip/index.ts +1 -0
- package/src/Tooltip/private/Tooltip.tsx +26 -0
- package/src/Transcript/ActivityRow.tsx +57 -9
- package/src/Transcript/ActivityTree.tsx +35 -0
- package/src/Transcript/FocusTrap.tsx +82 -34
- package/src/Transcript/LiveRegion/SendFailed.tsx +8 -10
- package/src/Transcript/LiveRegionTranscript.tsx +11 -62
- package/src/Transcript/TranscriptActivity.tsx +105 -0
- package/src/Utils/AccessibleInputText.tsx +30 -59
- package/src/Utils/AccessibleTextArea.tsx +10 -41
- package/src/Utils/FixedWidthImage.tsx +60 -0
- package/src/Utils/FocusRedirector.tsx +31 -26
- package/src/Utils/InlineMarkdown.js +1 -1
- package/src/Utils/JSONLinkedData/dereferenceBlankNodes.ts +1 -1
- package/src/Utils/JSONLinkedData/getSafeOwnPropertyNames.ts +2 -2
- package/src/Utils/MonochromeImageMasker.tsx +21 -0
- package/src/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.ts +4 -4
- package/src/Utils/firstTabbableDescendant.js +0 -1
- package/src/Utils/parseDocumentFragmentFromString.ts +9 -0
- package/src/Utils/serializeDocumentFragmentIntoString.ts +3 -0
- package/src/Utils/supportPseudoClass.ts +1 -1
- package/src/Utils/{textFormatToContentType.js → textFormatToContentType.ts} +3 -1
- package/src/decorator/index.ts +1 -0
- package/src/decorator/private/BorderFlair.module.css +564 -0
- package/src/decorator/private/BorderFlair.tsx +30 -0
- package/src/decorator/private/BorderLoader.module.css +48 -0
- package/src/decorator/private/BorderLoader.tsx +19 -0
- package/src/decorator/private/WebChatDecorator.tsx +30 -0
- package/src/decorator/private/WebChatTheme.tsx +17 -0
- package/src/decorator/private/createStyles.ts +5 -0
- package/src/env.d.ts +1 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/internal/codeHighlighter/index.ts +3 -0
- package/src/hooks/internal/codeHighlighter/private/CodeHighlighterComposer.tsx +32 -0
- package/src/hooks/internal/codeHighlighter/private/createCodeHighlighterComposer.tsx +32 -0
- package/src/hooks/internal/codeHighlighter/private/defaultHighlightCode.tsx +22 -0
- package/src/hooks/internal/createWaitUntilable.spec.ts +2 -2
- package/src/hooks/internal/createWaitUntilable.ts +1 -1
- package/src/hooks/internal/styleToEmotionObject/index.ts +1 -0
- package/src/hooks/internal/styleToEmotionObject/private/StyleToEmotionObjectComposer.tsx +20 -0
- package/src/hooks/internal/styleToEmotionObject/private/createStyleToEmotionObjectComposer.tsx +22 -0
- package/src/hooks/internal/useEmotion.ts +37 -0
- package/src/hooks/internal/useFeedbackActions.ts +114 -0
- package/src/hooks/internal/useInjectStyles.ts +86 -0
- package/src/hooks/internal/useMemoWithPrevious.ts +1 -1
- package/src/hooks/internal/useMemoized.spec.jsx +3 -3
- package/src/hooks/internal/useObserveFocusVisible.ts +0 -1
- package/src/hooks/internal/useStateRef.ts +1 -1
- package/src/hooks/sendBoxFocus.ts +6 -2
- package/src/hooks/transcriptScrollRelative.ts +6 -3
- package/src/hooks/useRenderMarkdownAsHTML.ts +11 -9
- package/src/index.ts +25 -4
- package/src/internal.ts +19 -3
- package/src/providers/ChatHistoryDOM/ChatHistoryDOMComposer.tsx +18 -0
- package/src/providers/ChatHistoryDOM/private/ChatHistoryDOMContext.ts +11 -0
- package/src/providers/ChatHistoryDOM/useActivityElementRef.ts +6 -0
- package/src/providers/CustomElements/CustomElementsComposer.tsx +58 -0
- package/src/providers/CustomElements/customElements/CodeBlock.ts +230 -0
- package/src/providers/CustomElements/customElements/CodeBlockCopyButton.tsx +101 -0
- package/src/providers/CustomElements/customElements/wrapAsCustomElement.ts +85 -0
- package/src/providers/CustomElements/private/CustomElementsContext.ts +15 -0
- package/src/providers/CustomElements/private/useCustomElementsContext.ts +6 -0
- package/src/providers/CustomElements/useCodeBlockCopyButtonTagName.ts +8 -0
- package/src/providers/CustomElements/useCodeBlockTagName.ts +19 -0
- package/src/providers/GroupedRenderingActivities/GroupedRenderingActivities.ts +10 -0
- package/src/providers/GroupedRenderingActivities/GroupedRenderingActivitiesComposer.tsx +87 -0
- package/src/providers/GroupedRenderingActivities/private/GroupedRenderingActivitiesContext.ts +14 -0
- package/src/providers/GroupedRenderingActivities/private/group.spec.ts +29 -0
- package/src/providers/GroupedRenderingActivities/private/group.ts +19 -0
- package/src/providers/GroupedRenderingActivities/private/pick.spec.ts +33 -0
- package/src/providers/GroupedRenderingActivities/private/pick.ts +22 -0
- package/src/providers/GroupedRenderingActivities/useGroupedRenderingActivities.ts +6 -0
- package/src/providers/GroupedRenderingActivities/useNumRenderingActivities.ts +5 -0
- package/src/providers/HTMLContentTransformCOR/HTMLContentTransformComposer.tsx +41 -0
- package/src/providers/HTMLContentTransformCOR/index.ts +8 -0
- package/src/providers/HTMLContentTransformCOR/private/HTMLContentTransformContext.ts +34 -0
- package/src/providers/HTMLContentTransformCOR/private/useHTMLContentTransformContext.ts +6 -0
- package/src/providers/HTMLContentTransformCOR/useTransformHTMLContent.ts +187 -0
- package/src/providers/LiveRegionTwin/index.ts +3 -0
- package/src/providers/LiveRegionTwin/private/LiveRegionTwinComposer.ts +27 -0
- package/src/providers/LiveRegionTwin/private/LiveRegionTwinContainer.tsx +27 -39
- package/src/providers/LiveRegionTwin/private/createLiveRegionTwinComposer.tsx +155 -0
- package/src/providers/LiveRegionTwin/private/useContext.ts +2 -8
- package/src/providers/LiveRegionTwin/useLiveRegion.ts +27 -0
- package/src/providers/LiveRegionTwin/useQueueStaticElement.ts +2 -2
- package/src/providers/ModalDialog/private/Popover.tsx +3 -3
- package/src/providers/ReducedMotion/ReducedMotionComposer.tsx +35 -0
- package/src/providers/ReducedMotion/private/Context.ts +22 -0
- package/src/providers/ReducedMotion/private/useContext.ts +8 -0
- package/src/providers/ReducedMotion/useShouldReduceMotion.ts +5 -0
- package/src/providers/RenderingActivities/RenderingActivitiesComposer.tsx +84 -0
- package/src/providers/RenderingActivities/private/RenderingActivitiesContext.ts +15 -0
- package/src/providers/RenderingActivities/private/useInternalActivitiesWithRenderer.ts +78 -0
- package/src/providers/RenderingActivities/useGetRenderActivityCallback.ts +11 -0
- package/src/providers/RenderingActivities/useRenderingActivities.ts +7 -0
- package/src/providers/RenderingActivities/useRenderingActivityKeys.ts +5 -0
- package/src/providers/RovingTabIndex/RovingTabIndexComposer.tsx +32 -23
- package/src/providers/Theme/ThemeProvider.tsx +24 -16
- package/src/providers/Theme/private/Context.ts +4 -2
- package/src/providers/TranscriptFocus/TranscriptFocusComposer.tsx +17 -27
- package/src/providers/TranscriptFocus/useFocusRelativeActivity.ts +1 -1
- package/src/providers/createContextAndHook.ts +23 -0
- package/src/providers/internal/SendBox/SendBoxComposer.tsx +28 -38
- package/src/testIds.ts +11 -0
- package/src/tsconfig.json +5 -8
- package/src/types/internal/mutableRefObject.ts +33 -0
- package/src/types/internal/reactNode.ts +16 -0
- package/src/types/internal/refObject.ts +40 -0
- package/dist/chunk-X37JABN5.mjs +0 -5
- package/dist/chunk-X37JABN5.mjs.map +0 -1
- package/lib/Activity/Avatar.d.ts +0 -10
- package/lib/Activity/Avatar.d.ts.map +0 -1
- package/lib/Activity/Avatar.js +0 -35
- package/lib/Activity/Bubble.d.ts +0 -11
- package/lib/Activity/Bubble.d.ts.map +0 -1
- package/lib/Activity/Bubble.js +0 -137
- package/lib/Activity/CarouselFilmStrip.js +0 -264
- package/lib/Activity/CarouselFilmStripAttachment.js +0 -93
- package/lib/Activity/CarouselLayout.js +0 -133
- package/lib/Activity/SayAlt.js +0 -31
- package/lib/Activity/Speak.d.ts +0 -8
- package/lib/Activity/Speak.d.ts.map +0 -1
- package/lib/Activity/Speak.js +0 -99
- package/lib/Activity/StackedLayout.d.ts +0 -17
- package/lib/Activity/StackedLayout.d.ts.map +0 -1
- package/lib/Activity/StackedLayout.js +0 -233
- package/lib/ActivityStatus/AbsoluteTime.js +0 -38
- package/lib/ActivityStatus/OthersActivityStatus.d.ts +0 -8
- package/lib/ActivityStatus/OthersActivityStatus.d.ts.map +0 -1
- package/lib/ActivityStatus/OthersActivityStatus.js +0 -105
- package/lib/ActivityStatus/SelfActivityStatus.d.ts +0 -8
- package/lib/ActivityStatus/SelfActivityStatus.d.ts.map +0 -1
- package/lib/ActivityStatus/SelfActivityStatus.js +0 -37
- package/lib/ActivityStatus/SendStatus/SendStatus.d.ts +0 -10
- package/lib/ActivityStatus/SendStatus/SendStatus.d.ts.map +0 -1
- package/lib/ActivityStatus/SendStatus/SendStatus.js +0 -58
- package/lib/ActivityStatus/SendStatus/private/SendFailedRetry.js +0 -35
- package/lib/ActivityStatus/Slotted.d.ts +0 -7
- package/lib/ActivityStatus/Slotted.d.ts.map +0 -1
- package/lib/ActivityStatus/Slotted.js +0 -31
- package/lib/ActivityStatus/Timestamp.d.ts +0 -7
- package/lib/ActivityStatus/Timestamp.d.ts.map +0 -1
- package/lib/ActivityStatus/Timestamp.js +0 -36
- package/lib/ActivityStatus/private/Feedback/Feedback.d.ts +0 -8
- package/lib/ActivityStatus/private/Feedback/Feedback.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/Feedback.js +0 -67
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.d.ts +0 -9
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.js +0 -34
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.d.ts +0 -9
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/ThumbButton.js +0 -57
- package/lib/ActivityStatus/private/Feedback/private/VoteButton.d.ts +0 -10
- package/lib/ActivityStatus/private/Feedback/private/VoteButton.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/VoteButton.js +0 -43
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.d.ts +0 -7
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.js +0 -28
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.d.ts +0 -7
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.js +0 -28
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.d.ts +0 -7
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.js +0 -28
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.d.ts +0 -7
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.js +0 -28
- package/lib/ActivityStatus/private/Originator.d.ts +0 -8
- package/lib/ActivityStatus/private/Originator.d.ts.map +0 -1
- package/lib/ActivityStatus/private/Originator.js +0 -29
- package/lib/ActivityStatus/private/RelativeTime.js +0 -37
- package/lib/Assets/TypingAnimation.js +0 -47
- package/lib/Attachment/Assets/DownloadIcon.js +0 -35
- package/lib/Attachment/AudioAttachment.js +0 -38
- package/lib/Attachment/AudioContent.d.ts +0 -11
- package/lib/Attachment/AudioContent.d.ts.map +0 -1
- package/lib/Attachment/AudioContent.js +0 -51
- package/lib/Attachment/FileAttachment.js +0 -43
- package/lib/Attachment/FileContent.d.ts +0 -10
- package/lib/Attachment/FileContent.d.ts.map +0 -1
- package/lib/Attachment/FileContent.js +0 -120
- package/lib/Attachment/HTMLVideoContent.d.ts +0 -11
- package/lib/Attachment/HTMLVideoContent.d.ts.map +0 -1
- package/lib/Attachment/HTMLVideoContent.js +0 -51
- package/lib/Attachment/ImageAttachment.js +0 -41
- package/lib/Attachment/ImageContent.d.ts +0 -8
- package/lib/Attachment/ImageContent.d.ts.map +0 -1
- package/lib/Attachment/ImageContent.js +0 -41
- package/lib/Attachment/Text/TextAttachment.d.ts +0 -12
- package/lib/Attachment/Text/TextAttachment.d.ts.map +0 -1
- package/lib/Attachment/Text/TextAttachment.js +0 -27
- package/lib/Attachment/Text/TextContent.d.ts +0 -10
- package/lib/Attachment/Text/TextContent.d.ts.map +0 -1
- package/lib/Attachment/Text/TextContent.js +0 -34
- package/lib/Attachment/Text/private/CitationModalContent.d.ts +0 -8
- package/lib/Attachment/Text/private/CitationModalContent.d.ts.map +0 -1
- package/lib/Attachment/Text/private/CitationModalContent.js +0 -45
- package/lib/Attachment/Text/private/MarkdownTextContent.d.ts +0 -9
- package/lib/Attachment/Text/private/MarkdownTextContent.d.ts.map +0 -1
- package/lib/Attachment/Text/private/MarkdownTextContent.js +0 -204
- package/lib/Attachment/Text/private/MessageSensitivityLabel.d.ts +0 -12
- package/lib/Attachment/Text/private/MessageSensitivityLabel.d.ts.map +0 -1
- package/lib/Attachment/Text/private/MessageSensitivityLabel.js +0 -38
- package/lib/Attachment/Text/private/PlainTextContent.d.ts +0 -7
- package/lib/Attachment/Text/private/PlainTextContent.d.ts.map +0 -1
- package/lib/Attachment/Text/private/PlainTextContent.js +0 -35
- package/lib/Attachment/Text/private/ShieldIcon.d.ts +0 -9
- package/lib/Attachment/Text/private/ShieldIcon.d.ts.map +0 -1
- package/lib/Attachment/Text/private/ShieldIcon.js +0 -39
- package/lib/Attachment/Text/private/isHTMLButtonElement.d.ts +0 -2
- package/lib/Attachment/Text/private/isHTMLButtonElement.d.ts.map +0 -1
- package/lib/Attachment/Text/private/isHTMLButtonElement.js +0 -10
- package/lib/Attachment/VideoAttachment.js +0 -45
- package/lib/Attachment/VideoContent.d.ts +0 -11
- package/lib/Attachment/VideoContent.d.ts.map +0 -1
- package/lib/Attachment/VideoContent.js +0 -103
- package/lib/Attachment/VimeoContent.d.ts +0 -10
- package/lib/Attachment/VimeoContent.d.ts.map +0 -1
- package/lib/Attachment/VimeoContent.js +0 -59
- package/lib/Attachment/YouTubeContent.d.ts +0 -10
- package/lib/Attachment/YouTubeContent.d.ts.map +0 -1
- package/lib/Attachment/YouTubeContent.js +0 -60
- package/lib/Attachment/createMiddleware.d.ts +0 -3
- package/lib/Attachment/createMiddleware.d.ts.map +0 -1
- package/lib/Attachment/createMiddleware.js +0 -64
- package/lib/Attachment/private/types/WebChatAttachment.d.ts +0 -9
- package/lib/Attachment/private/types/WebChatAttachment.d.ts.map +0 -1
- package/lib/Attachment/private/types/WebChatAttachment.js +0 -2
- package/lib/Avatar/ImageAvatar.js +0 -59
- package/lib/Avatar/InitialsAvatar.js +0 -57
- package/lib/BasicConnectivityStatus.js +0 -46
- package/lib/BasicToast.js +0 -103
- package/lib/BasicToaster.js +0 -176
- package/lib/BasicTranscript.d.ts +0 -7
- package/lib/BasicTranscript.d.ts.map +0 -1
- package/lib/BasicTranscript.js +0 -735
- package/lib/BasicTypingIndicator.d.ts +0 -6
- package/lib/BasicTypingIndicator.d.ts.map +0 -1
- package/lib/BasicTypingIndicator.js +0 -54
- package/lib/BasicWebChat.d.ts +0 -9
- package/lib/BasicWebChat.d.ts.map +0 -1
- package/lib/BasicWebChat.js +0 -90
- package/lib/Composer.d.ts +0 -50
- package/lib/Composer.d.ts.map +0 -1
- package/lib/Composer.js +0 -336
- package/lib/ConnectivityStatus/Assets/ErrorNotificationIcon.js +0 -47
- package/lib/ConnectivityStatus/Assets/SpinnerAnimation.js +0 -32
- package/lib/ConnectivityStatus/Assets/WarningNotificationIcon.js +0 -47
- package/lib/ConnectivityStatus/Connected.js +0 -20
- package/lib/ConnectivityStatus/Connecting.js +0 -82
- package/lib/ConnectivityStatus/FailedToConnect.js +0 -41
- package/lib/ConnectivityStatus/JavaScriptError.js +0 -41
- package/lib/Dictation.js +0 -158
- package/lib/ErrorBox.d.ts +0 -8
- package/lib/ErrorBox.d.ts.map +0 -1
- package/lib/ErrorBox.js +0 -42
- package/lib/LinkDefinition/LinkDefinitionItem.d.ts +0 -12
- package/lib/LinkDefinition/LinkDefinitionItem.d.ts.map +0 -1
- package/lib/LinkDefinition/LinkDefinitionItem.js +0 -57
- package/lib/LinkDefinition/LinkDefinitions.d.ts +0 -12
- package/lib/LinkDefinition/LinkDefinitions.d.ts.map +0 -1
- package/lib/LinkDefinition/LinkDefinitions.js +0 -69
- package/lib/LinkDefinition/index.d.ts +0 -4
- package/lib/LinkDefinition/index.d.ts.map +0 -1
- package/lib/LinkDefinition/index.js +0 -21
- package/lib/LinkDefinition/private/Badge.d.ts +0 -7
- package/lib/LinkDefinition/private/Badge.d.ts.map +0 -1
- package/lib/LinkDefinition/private/Badge.js +0 -20
- package/lib/LinkDefinition/private/Chevron.d.ts +0 -4
- package/lib/LinkDefinition/private/Chevron.d.ts.map +0 -1
- package/lib/LinkDefinition/private/Chevron.js +0 -27
- package/lib/LinkDefinition/private/ItemBody.d.ts +0 -11
- package/lib/LinkDefinition/private/ItemBody.d.ts.map +0 -1
- package/lib/LinkDefinition/private/ItemBody.js +0 -41
- package/lib/LinkDefinition/private/OpenInNewWindowIcon.d.ts +0 -7
- package/lib/LinkDefinition/private/OpenInNewWindowIcon.d.ts.map +0 -1
- package/lib/LinkDefinition/private/OpenInNewWindowIcon.js +0 -23
- package/lib/LinkDefinition/private/extractHostnameWithSubdomain.d.ts +0 -2
- package/lib/LinkDefinition/private/extractHostnameWithSubdomain.d.ts.map +0 -1
- package/lib/LinkDefinition/private/extractHostnameWithSubdomain.js +0 -24
- package/lib/LinkDefinition/private/extractHostnameWithSubdomain.spec.d.ts +0 -2
- package/lib/LinkDefinition/private/extractHostnameWithSubdomain.spec.d.ts.map +0 -1
- package/lib/LiveRegion/LiveRegionActivity.d.ts +0 -9
- package/lib/LiveRegion/LiveRegionActivity.d.ts.map +0 -1
- package/lib/LiveRegion/LiveRegionActivity.js +0 -70
- package/lib/LiveRegion/private/LiveRegionAttachments.d.ts +0 -11
- package/lib/LiveRegion/private/LiveRegionAttachments.d.ts.map +0 -1
- package/lib/LiveRegion/private/LiveRegionAttachments.js +0 -53
- package/lib/LiveRegion/private/LiveRegionSuggestedActions.d.ts +0 -8
- package/lib/LiveRegion/private/LiveRegionSuggestedActions.d.ts.map +0 -1
- package/lib/LiveRegion/private/LiveRegionSuggestedActions.js +0 -37
- package/lib/Middleware/Activity/createCoreMiddleware.d.ts +0 -3
- package/lib/Middleware/Activity/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/Activity/createCoreMiddleware.js +0 -95
- package/lib/Middleware/ActivityStatus/createCoreMiddleware.d.ts +0 -3
- package/lib/Middleware/ActivityStatus/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/ActivityStatus/createCoreMiddleware.js +0 -13
- package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.d.ts +0 -3
- package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.d.ts.map +0 -1
- package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.js +0 -41
- package/lib/Middleware/ActivityStatus/createTimestampMiddleware.d.ts +0 -3
- package/lib/Middleware/ActivityStatus/createTimestampMiddleware.d.ts.map +0 -1
- package/lib/Middleware/ActivityStatus/createTimestampMiddleware.js +0 -48
- package/lib/Middleware/AttachmentForScreenReader/AudioAttachment.js +0 -18
- package/lib/Middleware/AttachmentForScreenReader/FileAttachment.js +0 -28
- package/lib/Middleware/AttachmentForScreenReader/ImageAttachment.js +0 -18
- package/lib/Middleware/AttachmentForScreenReader/TextAttachment.js +0 -28
- package/lib/Middleware/AttachmentForScreenReader/VideoAttachment.js +0 -18
- package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.d.ts +0 -3
- package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.js +0 -61
- package/lib/Middleware/Avatar/createCoreMiddleware.d.ts +0 -11
- package/lib/Middleware/Avatar/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/Avatar/createCoreMiddleware.js +0 -82
- package/lib/Middleware/CardAction/createCoreMiddleware.js +0 -108
- package/lib/Middleware/ScrollToEndButton/ScrollToEndButton.js +0 -52
- package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.d.ts +0 -3
- package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.d.ts.map +0 -1
- package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.js +0 -27
- package/lib/Middleware/Toast/createCoreMiddleware.d.ts +0 -4
- package/lib/Middleware/Toast/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/Toast/createCoreMiddleware.js +0 -27
- package/lib/Middleware/TypingIndicator/createCoreMiddleware.d.ts +0 -3
- package/lib/Middleware/TypingIndicator/createCoreMiddleware.d.ts.map +0 -1
- package/lib/Middleware/TypingIndicator/createCoreMiddleware.js +0 -47
- package/lib/ReactWebChat.d.ts +0 -42
- package/lib/ReactWebChat.d.ts.map +0 -1
- package/lib/ReactWebChat.js +0 -52
- package/lib/ScreenReaderText.d.ts +0 -9
- package/lib/ScreenReaderText.d.ts.map +0 -1
- package/lib/ScreenReaderText.js +0 -58
- package/lib/SendBox/Assets/MicrophoneIcon.js +0 -25
- package/lib/SendBox/Assets/SendIcon.js +0 -45
- package/lib/SendBox/AutoResizeTextArea.d.ts +0 -24
- package/lib/SendBox/AutoResizeTextArea.d.ts.map +0 -1
- package/lib/SendBox/AutoResizeTextArea.js +0 -113
- package/lib/SendBox/BasicSendBox.d.ts +0 -9
- package/lib/SendBox/BasicSendBox.d.ts.map +0 -1
- package/lib/SendBox/BasicSendBox.js +0 -123
- package/lib/SendBox/DictationInterims.d.ts +0 -7
- package/lib/SendBox/DictationInterims.d.ts.map +0 -1
- package/lib/SendBox/DictationInterims.js +0 -68
- package/lib/SendBox/IconButton.d.ts +0 -11
- package/lib/SendBox/IconButton.d.ts.map +0 -1
- package/lib/SendBox/IconButton.js +0 -73
- package/lib/SendBox/MicrophoneButton.d.ts +0 -10
- package/lib/SendBox/MicrophoneButton.d.ts.map +0 -1
- package/lib/SendBox/MicrophoneButton.js +0 -160
- package/lib/SendBox/SendButton.d.ts +0 -7
- package/lib/SendBox/SendButton.d.ts.map +0 -1
- package/lib/SendBox/SendButton.js +0 -53
- package/lib/SendBox/SuggestedAction.d.ts +0 -16
- package/lib/SendBox/SuggestedAction.d.ts.map +0 -1
- package/lib/SendBox/SuggestedAction.js +0 -166
- package/lib/SendBox/SuggestedActions.d.ts +0 -7
- package/lib/SendBox/SuggestedActions.d.ts.map +0 -1
- package/lib/SendBox/SuggestedActions.js +0 -256
- package/lib/SendBox/TextBox.d.ts +0 -24
- package/lib/SendBox/TextBox.d.ts.map +0 -1
- package/lib/SendBox/TextBox.js +0 -252
- package/lib/SendBox/createMiddleware.d.ts +0 -4
- package/lib/SendBox/createMiddleware.d.ts.map +0 -1
- package/lib/SendBox/createMiddleware.js +0 -38
- package/lib/SendBoxToolbar/Assets/AttachmentIcon.d.ts +0 -7
- package/lib/SendBoxToolbar/Assets/AttachmentIcon.d.ts.map +0 -1
- package/lib/SendBoxToolbar/Assets/AttachmentIcon.js +0 -63
- package/lib/SendBoxToolbar/BasicSendBoxToolbar.d.ts +0 -6
- package/lib/SendBoxToolbar/BasicSendBoxToolbar.d.ts.map +0 -1
- package/lib/SendBoxToolbar/BasicSendBoxToolbar.js +0 -32
- package/lib/SendBoxToolbar/UploadButton.d.ts +0 -7
- package/lib/SendBoxToolbar/UploadButton.d.ts.map +0 -1
- package/lib/SendBoxToolbar/UploadButton.js +0 -156
- package/lib/SendBoxToolbar/createMiddleware.d.ts +0 -4
- package/lib/SendBoxToolbar/createMiddleware.d.ts.map +0 -1
- package/lib/SendBoxToolbar/createMiddleware.js +0 -20
- package/lib/Styles/CSSTokens.d.ts +0 -16
- package/lib/Styles/CSSTokens.d.ts.map +0 -1
- package/lib/Styles/CSSTokens.js +0 -19
- package/lib/Styles/CustomPropertyNames.d.ts +0 -13
- package/lib/Styles/CustomPropertyNames.d.ts.map +0 -1
- package/lib/Styles/CustomPropertyNames.js +0 -24
- package/lib/Styles/StyleSet/Activities.d.ts +0 -5
- package/lib/Styles/StyleSet/Activities.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Activities.js +0 -13
- package/lib/Styles/StyleSet/AudioAttachment.d.ts +0 -6
- package/lib/Styles/StyleSet/AudioAttachment.d.ts.map +0 -1
- package/lib/Styles/StyleSet/AudioAttachment.js +0 -15
- package/lib/Styles/StyleSet/AudioContent.d.ts +0 -4
- package/lib/Styles/StyleSet/AudioContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/AudioContent.js +0 -12
- package/lib/Styles/StyleSet/AutoResizeTextArea.d.ts +0 -37
- package/lib/Styles/StyleSet/AutoResizeTextArea.d.ts.map +0 -1
- package/lib/Styles/StyleSet/AutoResizeTextArea.js +0 -45
- package/lib/Styles/StyleSet/Avatar.d.ts +0 -9
- package/lib/Styles/StyleSet/Avatar.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Avatar.js +0 -18
- package/lib/Styles/StyleSet/BasicTranscript.d.ts +0 -85
- package/lib/Styles/StyleSet/BasicTranscript.d.ts.map +0 -1
- package/lib/Styles/StyleSet/BasicTranscript.js +0 -110
- package/lib/Styles/StyleSet/Bubble.d.ts +0 -5
- package/lib/Styles/StyleSet/Bubble.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Bubble.js +0 -153
- package/lib/Styles/StyleSet/CSSCustomProperties.d.ts +0 -16
- package/lib/Styles/StyleSet/CSSCustomProperties.d.ts.map +0 -1
- package/lib/Styles/StyleSet/CSSCustomProperties.js +0 -27
- package/lib/Styles/StyleSet/CarouselFilmStrip.d.ts +0 -5
- package/lib/Styles/StyleSet/CarouselFilmStrip.d.ts.map +0 -1
- package/lib/Styles/StyleSet/CarouselFilmStrip.js +0 -90
- package/lib/Styles/StyleSet/CarouselFilmStripAttachment.d.ts +0 -3
- package/lib/Styles/StyleSet/CarouselFilmStripAttachment.d.ts.map +0 -1
- package/lib/Styles/StyleSet/CarouselFilmStripAttachment.js +0 -57
- package/lib/Styles/StyleSet/CarouselFlipper.d.ts +0 -27
- package/lib/Styles/StyleSet/CarouselFlipper.d.ts.map +0 -1
- package/lib/Styles/StyleSet/CarouselFlipper.js +0 -42
- package/lib/Styles/StyleSet/CitationModalDialog.d.ts +0 -8
- package/lib/Styles/StyleSet/CitationModalDialog.d.ts.map +0 -1
- package/lib/Styles/StyleSet/CitationModalDialog.js +0 -16
- package/lib/Styles/StyleSet/ConnectivityNotification.d.ts +0 -13
- package/lib/Styles/StyleSet/ConnectivityNotification.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ConnectivityNotification.js +0 -26
- package/lib/Styles/StyleSet/Constants.d.ts +0 -6
- package/lib/Styles/StyleSet/Constants.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Constants.js +0 -15
- package/lib/Styles/StyleSet/DictationInterims.d.ts +0 -13
- package/lib/Styles/StyleSet/DictationInterims.d.ts.map +0 -1
- package/lib/Styles/StyleSet/DictationInterims.js +0 -22
- package/lib/Styles/StyleSet/ErrorBox.d.ts +0 -33
- package/lib/Styles/StyleSet/ErrorBox.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ErrorBox.js +0 -43
- package/lib/Styles/StyleSet/ErrorNotification.d.ts +0 -23
- package/lib/Styles/StyleSet/ErrorNotification.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ErrorNotification.js +0 -36
- package/lib/Styles/StyleSet/FileContent.d.ts +0 -32
- package/lib/Styles/StyleSet/FileContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/FileContent.js +0 -43
- package/lib/Styles/StyleSet/ImageAvatar.d.ts +0 -7
- package/lib/Styles/StyleSet/ImageAvatar.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ImageAvatar.js +0 -15
- package/lib/Styles/StyleSet/InitialsAvatar.d.ts +0 -19
- package/lib/Styles/StyleSet/InitialsAvatar.d.ts.map +0 -1
- package/lib/Styles/StyleSet/InitialsAvatar.js +0 -31
- package/lib/Styles/StyleSet/KeyboardHelp.d.ts +0 -152
- package/lib/Styles/StyleSet/KeyboardHelp.d.ts.map +0 -1
- package/lib/Styles/StyleSet/KeyboardHelp.js +0 -168
- package/lib/Styles/StyleSet/LinkDefinitions.d.ts +0 -165
- package/lib/Styles/StyleSet/LinkDefinitions.d.ts.map +0 -1
- package/lib/Styles/StyleSet/LinkDefinitions.js +0 -180
- package/lib/Styles/StyleSet/MicrophoneButton.d.ts +0 -13
- package/lib/Styles/StyleSet/MicrophoneButton.d.ts.map +0 -1
- package/lib/Styles/StyleSet/MicrophoneButton.js +0 -21
- package/lib/Styles/StyleSet/ModalDialog.d.ts +0 -94
- package/lib/Styles/StyleSet/ModalDialog.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ModalDialog.js +0 -98
- package/lib/Styles/StyleSet/RenderMarkdown.d.ts +0 -51
- package/lib/Styles/StyleSet/RenderMarkdown.d.ts.map +0 -1
- package/lib/Styles/StyleSet/RenderMarkdown.js +0 -67
- package/lib/Styles/StyleSet/Root.d.ts +0 -8
- package/lib/Styles/StyleSet/Root.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Root.js +0 -19
- package/lib/Styles/StyleSet/ScrollToEndButton.d.ts +0 -36
- package/lib/Styles/StyleSet/ScrollToEndButton.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ScrollToEndButton.js +0 -55
- package/lib/Styles/StyleSet/SendBox.d.ts +0 -24
- package/lib/Styles/StyleSet/SendBox.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SendBox.js +0 -37
- package/lib/Styles/StyleSet/SendBoxButton.d.ts +0 -79
- package/lib/Styles/StyleSet/SendBoxButton.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SendBoxButton.js +0 -112
- package/lib/Styles/StyleSet/SendBoxTextBox.d.ts +0 -41
- package/lib/Styles/StyleSet/SendBoxTextBox.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SendBoxTextBox.js +0 -57
- package/lib/Styles/StyleSet/SendStatus.d.ts +0 -19
- package/lib/Styles/StyleSet/SendStatus.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SendStatus.js +0 -29
- package/lib/Styles/StyleSet/SingleAttachmentActivity.d.ts +0 -11
- package/lib/Styles/StyleSet/SingleAttachmentActivity.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SingleAttachmentActivity.js +0 -21
- package/lib/Styles/StyleSet/SlottedActivityStatus.d.ts +0 -12
- package/lib/Styles/StyleSet/SlottedActivityStatus.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SlottedActivityStatus.js +0 -22
- package/lib/Styles/StyleSet/SpinnerAnimation.d.ts +0 -15
- package/lib/Styles/StyleSet/SpinnerAnimation.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SpinnerAnimation.js +0 -34
- package/lib/Styles/StyleSet/StackedLayout.d.ts +0 -63
- package/lib/Styles/StyleSet/StackedLayout.d.ts.map +0 -1
- package/lib/Styles/StyleSet/StackedLayout.js +0 -77
- package/lib/Styles/StyleSet/SuggestedAction.d.ts +0 -94
- package/lib/Styles/StyleSet/SuggestedAction.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SuggestedAction.js +0 -152
- package/lib/Styles/StyleSet/SuggestedActions.d.ts +0 -139
- package/lib/Styles/StyleSet/SuggestedActions.d.ts.map +0 -1
- package/lib/Styles/StyleSet/SuggestedActions.js +0 -165
- package/lib/Styles/StyleSet/TextContent.d.ts +0 -24
- package/lib/Styles/StyleSet/TextContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/TextContent.js +0 -34
- package/lib/Styles/StyleSet/ThumbButton.d.ts +0 -32
- package/lib/Styles/StyleSet/ThumbButton.d.ts.map +0 -1
- package/lib/Styles/StyleSet/ThumbButton.js +0 -44
- package/lib/Styles/StyleSet/Toast.d.ts +0 -65
- package/lib/Styles/StyleSet/Toast.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Toast.js +0 -83
- package/lib/Styles/StyleSet/Toaster.d.ts +0 -111
- package/lib/Styles/StyleSet/Toaster.d.ts.map +0 -1
- package/lib/Styles/StyleSet/Toaster.js +0 -137
- package/lib/Styles/StyleSet/TypingAnimation.d.ts +0 -8
- package/lib/Styles/StyleSet/TypingAnimation.d.ts.map +0 -1
- package/lib/Styles/StyleSet/TypingAnimation.js +0 -26
- package/lib/Styles/StyleSet/TypingIndicator.d.ts +0 -11
- package/lib/Styles/StyleSet/TypingIndicator.d.ts.map +0 -1
- package/lib/Styles/StyleSet/TypingIndicator.js +0 -19
- package/lib/Styles/StyleSet/UploadButton.d.ts +0 -14
- package/lib/Styles/StyleSet/UploadButton.d.ts.map +0 -1
- package/lib/Styles/StyleSet/UploadButton.js +0 -27
- package/lib/Styles/StyleSet/VideoAttachment.d.ts +0 -2
- package/lib/Styles/StyleSet/VideoAttachment.d.ts.map +0 -1
- package/lib/Styles/StyleSet/VideoAttachment.js +0 -10
- package/lib/Styles/StyleSet/VideoContent.d.ts +0 -6
- package/lib/Styles/StyleSet/VideoContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/VideoContent.js +0 -14
- package/lib/Styles/StyleSet/VimeoContent.d.ts +0 -7
- package/lib/Styles/StyleSet/VimeoContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/VimeoContent.js +0 -15
- package/lib/Styles/StyleSet/WarningNotification.d.ts +0 -22
- package/lib/Styles/StyleSet/WarningNotification.d.ts.map +0 -1
- package/lib/Styles/StyleSet/WarningNotification.js +0 -37
- package/lib/Styles/StyleSet/YouTubeContent.d.ts +0 -7
- package/lib/Styles/StyleSet/YouTubeContent.d.ts.map +0 -1
- package/lib/Styles/StyleSet/YouTubeContent.js +0 -15
- package/lib/Styles/createStyleSet.d.ts.map +0 -1
- package/lib/Styles/createStyleSet.js +0 -121
- package/lib/Styles/mirrorStyle.js +0 -40
- package/lib/Toast/CheckMarkIcon.js +0 -36
- package/lib/Toast/CollapseIcon.js +0 -32
- package/lib/Toast/DismissIcon.js +0 -32
- package/lib/Toast/ExclamationMarkIcon.js +0 -34
- package/lib/Toast/ExpandIcon.js +0 -32
- package/lib/Toast/NotificationIcon.js +0 -46
- package/lib/Toast/createToastMiddleware.d.ts +0 -4
- package/lib/Toast/createToastMiddleware.d.ts.map +0 -1
- package/lib/Toast/createToastMiddleware.js +0 -26
- package/lib/Transcript/ActivityRow.d.ts +0 -9
- package/lib/Transcript/ActivityRow.d.ts.map +0 -1
- package/lib/Transcript/ActivityRow.js +0 -137
- package/lib/Transcript/FocusTrap.d.ts +0 -9
- package/lib/Transcript/FocusTrap.d.ts.map +0 -1
- package/lib/Transcript/FocusTrap.js +0 -76
- package/lib/Transcript/KeyboardHelp.d.ts +0 -4
- package/lib/Transcript/KeyboardHelp.d.ts.map +0 -1
- package/lib/Transcript/KeyboardHelp.js +0 -562
- package/lib/Transcript/LiveRegion/SendFailed.d.ts +0 -14
- package/lib/Transcript/LiveRegion/SendFailed.d.ts.map +0 -1
- package/lib/Transcript/LiveRegion/SendFailed.js +0 -90
- package/lib/Transcript/LiveRegion/isPresentational.d.ts +0 -9
- package/lib/Transcript/LiveRegion/isPresentational.d.ts.map +0 -1
- package/lib/Transcript/LiveRegion/isPresentational.js +0 -30
- package/lib/Transcript/LiveRegionTranscript.d.ts +0 -8
- package/lib/Transcript/LiveRegionTranscript.d.ts.map +0 -1
- package/lib/Transcript/LiveRegionTranscript.js +0 -178
- package/lib/Transcript/types.d.ts +0 -2
- package/lib/Transcript/types.d.ts.map +0 -1
- package/lib/Transcript/types.js +0 -2
- package/lib/Transcript/useActivityAccessibleName.d.ts +0 -11
- package/lib/Transcript/useActivityAccessibleName.d.ts.map +0 -1
- package/lib/Transcript/useActivityAccessibleName.js +0 -103
- package/lib/Transcript/useTypistNames.d.ts +0 -3
- package/lib/Transcript/useTypistNames.d.ts.map +0 -1
- package/lib/Transcript/useTypistNames.js +0 -50
- package/lib/TranscriptActivity.d.ts +0 -17
- package/lib/TranscriptActivity.d.ts.map +0 -1
- package/lib/TranscriptActivity.js +0 -48
- package/lib/Utils/AccessKeySink/Surface.js +0 -74
- package/lib/Utils/AccessKeySink/internal/Context.js +0 -11
- package/lib/Utils/AccessKeySink/internal/useContext.js +0 -13
- package/lib/Utils/AccessKeySink/useFocusAccessKeyEffect.js +0 -34
- package/lib/Utils/AccessibleButton.d.ts +0 -11
- package/lib/Utils/AccessibleButton.d.ts.map +0 -1
- package/lib/Utils/AccessibleButton.js +0 -78
- package/lib/Utils/AccessibleInputText.d.ts +0 -22
- package/lib/Utils/AccessibleInputText.d.ts.map +0 -1
- package/lib/Utils/AccessibleInputText.js +0 -114
- package/lib/Utils/AccessibleTextArea.d.ts +0 -20
- package/lib/Utils/AccessibleTextArea.d.ts.map +0 -1
- package/lib/Utils/AccessibleTextArea.js +0 -105
- package/lib/Utils/CroppedImage.js +0 -61
- package/lib/Utils/FocusRedirector.d.ts +0 -9
- package/lib/Utils/FocusRedirector.d.ts.map +0 -1
- package/lib/Utils/FocusRedirector.js +0 -61
- package/lib/Utils/InlineMarkdown.js +0 -166
- package/lib/Utils/JSONLinkedData/BlankNode.d.ts +0 -15
- package/lib/Utils/JSONLinkedData/BlankNode.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/BlankNode.js +0 -2
- package/lib/Utils/JSONLinkedData/__snapshots__/dereferenceBlankNodes.spec.ts.snap +0 -92
- package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.d.ts +0 -16
- package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.js +0 -96
- package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.spec.d.ts +0 -2
- package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.spec.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.d.ts +0 -10
- package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.js +0 -22
- package/lib/Utils/JSONLinkedData/isBlankNode.d.ts +0 -10
- package/lib/Utils/JSONLinkedData/isBlankNode.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/isBlankNode.js +0 -22
- package/lib/Utils/JSONLinkedData/isBlankNode.spec.d.ts +0 -2
- package/lib/Utils/JSONLinkedData/isBlankNode.spec.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.d.ts +0 -10
- package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.js +0 -21
- package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.spec.d.ts +0 -2
- package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.spec.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/visitOnce.d.ts +0 -2
- package/lib/Utils/JSONLinkedData/visitOnce.d.ts.map +0 -1
- package/lib/Utils/JSONLinkedData/visitOnce.js +0 -17
- package/lib/Utils/LocalizedString.d.ts +0 -26
- package/lib/Utils/LocalizedString.d.ts.map +0 -1
- package/lib/Utils/LocalizedString.js +0 -138
- package/lib/Utils/TypeFocusSink/Context.js +0 -14
- package/lib/Utils/TypeFocusSink/FocusBox.js +0 -91
- package/lib/Utils/TypeFocusSink/getTabIndex.d.ts +0 -2
- package/lib/Utils/TypeFocusSink/getTabIndex.d.ts.map +0 -1
- package/lib/Utils/TypeFocusSink/getTabIndex.js +0 -27
- package/lib/Utils/TypeFocusSink/index.js +0 -18
- package/lib/Utils/TypeFocusSink/inputtableKey.d.ts +0 -2
- package/lib/Utils/TypeFocusSink/inputtableKey.d.ts.map +0 -1
- package/lib/Utils/TypeFocusSink/inputtableKey.js +0 -28
- package/lib/Utils/TypeFocusSink/navigableEvent.js +0 -59
- package/lib/Utils/activityAltText.d.ts +0 -8
- package/lib/Utils/activityAltText.d.ts.map +0 -1
- package/lib/Utils/activityAltText.js +0 -79
- package/lib/Utils/addTargetBlankToHyperlinksMarkdown.js +0 -34
- package/lib/Utils/betterLinks.d.ts +0 -28
- package/lib/Utils/betterLinks.d.ts.map +0 -1
- package/lib/Utils/betterLinks.js +0 -142
- package/lib/Utils/computeSuggestedActionText.d.ts +0 -3
- package/lib/Utils/computeSuggestedActionText.d.ts.map +0 -1
- package/lib/Utils/computeSuggestedActionText.js +0 -24
- package/lib/Utils/createCSSKey.js +0 -16
- package/lib/Utils/createCustomEvent.js +0 -34
- package/lib/Utils/detectBrowser.js +0 -27
- package/lib/Utils/downscaleImageToDataURL/WorkerJob.d.ts +0 -16
- package/lib/Utils/downscaleImageToDataURL/WorkerJob.d.ts.map +0 -1
- package/lib/Utils/downscaleImageToDataURL/WorkerJob.js +0 -2
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.d.ts +0 -2
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.d.ts.map +0 -1
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.js +0 -90
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.d.ts +0 -4
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.d.ts.map +0 -1
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.js +0 -198
- package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.worker.js +0 -96
- package/lib/Utils/downscaleImageToDataURL/index.d.ts +0 -2
- package/lib/Utils/downscaleImageToDataURL/index.d.ts.map +0 -1
- package/lib/Utils/downscaleImageToDataURL/index.js +0 -44
- package/lib/Utils/filterMap.js +0 -28
- package/lib/Utils/findAncestor.d.ts +0 -2
- package/lib/Utils/findAncestor.d.ts.map +0 -1
- package/lib/Utils/findAncestor.js +0 -15
- package/lib/Utils/firstTabbableDescendant.js +0 -40
- package/lib/Utils/getActivityUniqueId.d.ts +0 -3
- package/lib/Utils/getActivityUniqueId.d.ts.map +0 -1
- package/lib/Utils/getActivityUniqueId.js +0 -11
- package/lib/Utils/intersectionOf.d.ts +0 -5
- package/lib/Utils/intersectionOf.d.ts.map +0 -1
- package/lib/Utils/intersectionOf.js +0 -27
- package/lib/Utils/isZeroOrPositive.d.ts +0 -5
- package/lib/Utils/isZeroOrPositive.d.ts.map +0 -1
- package/lib/Utils/isZeroOrPositive.js +0 -14
- package/lib/Utils/mapMap.js +0 -27
- package/lib/Utils/parseDocumentFromString.d.ts +0 -2
- package/lib/Utils/parseDocumentFromString.d.ts.map +0 -1
- package/lib/Utils/parseDocumentFromString.js +0 -11
- package/lib/Utils/randomId.js +0 -15
- package/lib/Utils/readDataURIToBlob.js +0 -44
- package/lib/Utils/removeInline.js +0 -18
- package/lib/Utils/scrollIntoViewWithBlockNearest.d.ts +0 -7
- package/lib/Utils/scrollIntoViewWithBlockNearest.d.ts.map +0 -1
- package/lib/Utils/scrollIntoViewWithBlockNearest.js +0 -38
- package/lib/Utils/serializeDocumentIntoString.d.ts +0 -2
- package/lib/Utils/serializeDocumentIntoString.d.ts.map +0 -1
- package/lib/Utils/serializeDocumentIntoString.js +0 -27
- package/lib/Utils/shallowEquals.js +0 -21
- package/lib/Utils/singleToArray.d.ts +0 -2
- package/lib/Utils/singleToArray.d.ts.map +0 -1
- package/lib/Utils/singleToArray.js +0 -10
- package/lib/Utils/supportPseudoClass.d.ts +0 -2
- package/lib/Utils/supportPseudoClass.d.ts.map +0 -1
- package/lib/Utils/supportPseudoClass.js +0 -21
- package/lib/Utils/tabbableElements.d.ts +0 -2
- package/lib/Utils/tabbableElements.d.ts.map +0 -1
- package/lib/Utils/tabbableElements.js +0 -20
- package/lib/Utils/textFormatToContentType.js +0 -17
- package/lib/Utils/updateMarkdownAttrs.js +0 -16
- package/lib/Utils/walkMarkdownTokens.js +0 -19
- package/lib/hooks/index.d.ts +0 -22
- package/lib/hooks/index.d.ts.map +0 -1
- package/lib/hooks/index.js +0 -152
- package/lib/hooks/internal/BypassSpeechSynthesisPonyfill.js +0 -278
- package/lib/hooks/internal/UITracker.js +0 -39
- package/lib/hooks/internal/WebChatUIContext.d.ts +0 -8
- package/lib/hooks/internal/WebChatUIContext.d.ts.map +0 -1
- package/lib/hooks/internal/WebChatUIContext.js +0 -11
- package/lib/hooks/internal/createWaitUntilable.d.ts +0 -5
- package/lib/hooks/internal/createWaitUntilable.d.ts.map +0 -1
- package/lib/hooks/internal/createWaitUntilable.js +0 -50
- package/lib/hooks/internal/createWaitUntilable.spec.d.ts +0 -2
- package/lib/hooks/internal/createWaitUntilable.spec.d.ts.map +0 -1
- package/lib/hooks/internal/private/createOnEventShim.d.ts +0 -5
- package/lib/hooks/internal/private/createOnEventShim.d.ts.map +0 -1
- package/lib/hooks/internal/private/createOnEventShim.js +0 -25
- package/lib/hooks/internal/private/createOnEventShim.spec.d.ts +0 -2
- package/lib/hooks/internal/private/createOnEventShim.spec.d.ts.map +0 -1
- package/lib/hooks/internal/useChanged.d.ts +0 -9
- package/lib/hooks/internal/useChanged.d.ts.map +0 -1
- package/lib/hooks/internal/useChanged.js +0 -21
- package/lib/hooks/internal/useDispatchScrollPosition.js +0 -12
- package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.d.ts +0 -2
- package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.d.ts.map +0 -1
- package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.js +0 -12
- package/lib/hooks/internal/useEnterKeyHint.js +0 -18
- package/lib/hooks/internal/useFocusVisible.d.ts +0 -3
- package/lib/hooks/internal/useFocusVisible.d.ts.map +0 -1
- package/lib/hooks/internal/useFocusVisible.js +0 -37
- package/lib/hooks/internal/useFocusWithin.d.ts +0 -3
- package/lib/hooks/internal/useFocusWithin.d.ts.map +0 -1
- package/lib/hooks/internal/useFocusWithin.js +0 -38
- package/lib/hooks/internal/useForceRender.js +0 -24
- package/lib/hooks/internal/useForceRenderAtInterval.d.ts +0 -3
- package/lib/hooks/internal/useForceRenderAtInterval.d.ts.map +0 -1
- package/lib/hooks/internal/useForceRenderAtInterval.js +0 -57
- package/lib/hooks/internal/useInternalMarkdownIt.js +0 -14
- package/lib/hooks/internal/useInternalRenderMarkdownInline.js +0 -16
- package/lib/hooks/internal/useLocalizeAccessKey.d.ts +0 -2
- package/lib/hooks/internal/useLocalizeAccessKey.d.ts.map +0 -1
- package/lib/hooks/internal/useLocalizeAccessKey.js +0 -38
- package/lib/hooks/internal/useMemoWithPrevious.d.ts +0 -3
- package/lib/hooks/internal/useMemoWithPrevious.d.ts.map +0 -1
- package/lib/hooks/internal/useMemoWithPrevious.js +0 -20
- package/lib/hooks/internal/useMemoized.d.ts +0 -11
- package/lib/hooks/internal/useMemoized.d.ts.map +0 -1
- package/lib/hooks/internal/useMemoized.js +0 -82
- package/lib/hooks/internal/useMemoized.spec.jsx +0 -159
- package/lib/hooks/internal/useNavigatorPlatform.js +0 -31
- package/lib/hooks/internal/useNonce.js +0 -14
- package/lib/hooks/internal/useObserveFocusVisible.d.ts +0 -3
- package/lib/hooks/internal/useObserveFocusVisible.d.ts.map +0 -1
- package/lib/hooks/internal/useObserveFocusVisible.js +0 -201
- package/lib/hooks/internal/usePrevious.d.ts +0 -2
- package/lib/hooks/internal/usePrevious.d.ts.map +0 -1
- package/lib/hooks/internal/usePrevious.js +0 -17
- package/lib/hooks/internal/useRegisterFocusTranscript.js +0 -27
- package/lib/hooks/internal/useRegisterScrollTo.js +0 -27
- package/lib/hooks/internal/useRegisterScrollToEnd.js +0 -25
- package/lib/hooks/internal/useReplaceEmoticon.js +0 -58
- package/lib/hooks/internal/useResumeAudioContext.d.ts +0 -2
- package/lib/hooks/internal/useResumeAudioContext.d.ts.map +0 -1
- package/lib/hooks/internal/useResumeAudioContext.js +0 -23
- package/lib/hooks/internal/useSendBoxFocusRef.js +0 -12
- package/lib/hooks/internal/useSettableDictateAbortable.js +0 -15
- package/lib/hooks/internal/useStateRef.d.ts +0 -3
- package/lib/hooks/internal/useStateRef.d.ts.map +0 -1
- package/lib/hooks/internal/useStateRef.js +0 -30
- package/lib/hooks/internal/useStyleToEmotionObject.js +0 -12
- package/lib/hooks/internal/useSuggestedActionsAccessKey.js +0 -14
- package/lib/hooks/internal/useTimer.d.ts +0 -5
- package/lib/hooks/internal/useTimer.d.ts.map +0 -1
- package/lib/hooks/internal/useTimer.js +0 -46
- package/lib/hooks/internal/useTranscriptActivityElementsRef.js +0 -12
- package/lib/hooks/internal/useTranscriptFocusRef.js +0 -12
- package/lib/hooks/internal/useUniqueId.d.ts +0 -2
- package/lib/hooks/internal/useUniqueId.d.ts.map +0 -1
- package/lib/hooks/internal/useUniqueId.js +0 -19
- package/lib/hooks/internal/useValueRef.d.ts +0 -3
- package/lib/hooks/internal/useValueRef.d.ts.map +0 -1
- package/lib/hooks/internal/useValueRef.js +0 -24
- package/lib/hooks/internal/useWebChatUIContext.js +0 -17
- package/lib/hooks/sendBoxFocus.d.ts +0 -7
- package/lib/hooks/sendBoxFocus.d.ts.map +0 -1
- package/lib/hooks/sendBoxFocus.js +0 -13
- package/lib/hooks/transcriptScrollRelative.d.ts +0 -7
- package/lib/hooks/transcriptScrollRelative.d.ts.map +0 -1
- package/lib/hooks/transcriptScrollRelative.js +0 -13
- package/lib/hooks/useDictateAbortable.d.ts +0 -2
- package/lib/hooks/useDictateAbortable.d.ts.map +0 -1
- package/lib/hooks/useDictateAbortable.js +0 -22
- package/lib/hooks/useFocus.d.ts +0 -2
- package/lib/hooks/useFocus.d.ts.map +0 -1
- package/lib/hooks/useFocus.js +0 -65
- package/lib/hooks/useMakeThumbnail.d.ts +0 -2
- package/lib/hooks/useMakeThumbnail.d.ts.map +0 -1
- package/lib/hooks/useMakeThumbnail.js +0 -74
- package/lib/hooks/useObserveScrollPosition.d.ts +0 -3
- package/lib/hooks/useObserveScrollPosition.d.ts.map +0 -1
- package/lib/hooks/useObserveScrollPosition.js +0 -31
- package/lib/hooks/useObserveTranscriptFocus.d.ts +0 -5
- package/lib/hooks/useObserveTranscriptFocus.d.ts.map +0 -1
- package/lib/hooks/useObserveTranscriptFocus.js +0 -31
- package/lib/hooks/useRenderMarkdownAsHTML.d.ts +0 -5
- package/lib/hooks/useRenderMarkdownAsHTML.d.ts.map +0 -1
- package/lib/hooks/useRenderMarkdownAsHTML.js +0 -62
- package/lib/hooks/useScrollDown.d.ts +0 -4
- package/lib/hooks/useScrollDown.d.ts.map +0 -1
- package/lib/hooks/useScrollDown.js +0 -20
- package/lib/hooks/useScrollTo.d.ts +0 -5
- package/lib/hooks/useScrollTo.d.ts.map +0 -1
- package/lib/hooks/useScrollTo.js +0 -22
- package/lib/hooks/useScrollToEnd.d.ts +0 -2
- package/lib/hooks/useScrollToEnd.d.ts.map +0 -1
- package/lib/hooks/useScrollToEnd.js +0 -21
- package/lib/hooks/useScrollUp.d.ts +0 -4
- package/lib/hooks/useScrollUp.d.ts.map +0 -1
- package/lib/hooks/useScrollUp.js +0 -20
- package/lib/hooks/useSendFiles.d.ts +0 -5
- package/lib/hooks/useSendFiles.d.ts.map +0 -1
- package/lib/hooks/useSendFiles.js +0 -63
- package/lib/hooks/useSendMessage.d.ts +0 -8
- package/lib/hooks/useSendMessage.d.ts.map +0 -1
- package/lib/hooks/useSendMessage.js +0 -102
- package/lib/hooks/useStyleSet.d.ts +0 -3
- package/lib/hooks/useStyleSet.d.ts.map +0 -1
- package/lib/hooks/useStyleSet.js +0 -13
- package/lib/hooks/useWebSpeechPonyfill.d.ts +0 -3
- package/lib/hooks/useWebSpeechPonyfill.d.ts.map +0 -1
- package/lib/hooks/useWebSpeechPonyfill.js +0 -12
- package/lib/index.d.ts +0 -330
- package/lib/index.d.ts.map +0 -1
- package/lib/index.js +0 -164
- package/lib/internal.d.ts +0 -4
- package/lib/internal.d.ts.map +0 -1
- package/lib/internal.js +0 -21
- package/lib/providers/ActivityTree/ActivityTreeComposer.d.ts +0 -7
- package/lib/providers/ActivityTree/ActivityTreeComposer.d.ts.map +0 -1
- package/lib/providers/ActivityTree/ActivityTreeComposer.js +0 -90
- package/lib/providers/ActivityTree/private/Context.d.ts +0 -9
- package/lib/providers/ActivityTree/private/Context.d.ts.map +0 -1
- package/lib/providers/ActivityTree/private/Context.js +0 -10
- package/lib/providers/ActivityTree/private/types.d.ts +0 -10
- package/lib/providers/ActivityTree/private/types.d.ts.map +0 -1
- package/lib/providers/ActivityTree/private/types.js +0 -2
- package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.d.ts +0 -4
- package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.d.ts.map +0 -1
- package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.js +0 -36
- package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.d.ts +0 -5
- package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.d.ts.map +0 -1
- package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.js +0 -147
- package/lib/providers/ActivityTree/private/useContext.d.ts +0 -3
- package/lib/providers/ActivityTree/private/useContext.d.ts.map +0 -1
- package/lib/providers/ActivityTree/private/useContext.js +0 -18
- package/lib/providers/ActivityTree/useActivityTreeWithRenderer.d.ts +0 -8
- package/lib/providers/ActivityTree/useActivityTreeWithRenderer.d.ts.map +0 -1
- package/lib/providers/ActivityTree/useActivityTreeWithRenderer.js +0 -14
- package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.d.ts +0 -37
- package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.js +0 -145
- package/lib/providers/LiveRegionTwin/private/Context.d.ts +0 -10
- package/lib/providers/LiveRegionTwin/private/Context.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/Context.js +0 -11
- package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.d.ts +0 -12
- package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.js +0 -77
- package/lib/providers/LiveRegionTwin/private/types.d.ts +0 -8
- package/lib/providers/LiveRegionTwin/private/types.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/types.js +0 -2
- package/lib/providers/LiveRegionTwin/private/useContext.d.ts +0 -3
- package/lib/providers/LiveRegionTwin/private/useContext.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/useContext.js +0 -18
- package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.d.ts +0 -2
- package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.js +0 -20
- package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.d.ts +0 -3
- package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.js +0 -12
- package/lib/providers/LiveRegionTwin/useQueueStaticElement.d.ts +0 -8
- package/lib/providers/LiveRegionTwin/useQueueStaticElement.d.ts.map +0 -1
- package/lib/providers/LiveRegionTwin/useQueueStaticElement.js +0 -17
- package/lib/providers/ModalDialog/ModalDialogComposer.d.ts +0 -7
- package/lib/providers/ModalDialog/ModalDialogComposer.d.ts.map +0 -1
- package/lib/providers/ModalDialog/ModalDialogComposer.js +0 -51
- package/lib/providers/ModalDialog/private/Context.d.ts +0 -13
- package/lib/providers/ModalDialog/private/Context.d.ts.map +0 -1
- package/lib/providers/ModalDialog/private/Context.js +0 -24
- package/lib/providers/ModalDialog/private/Popover.d.ts +0 -10
- package/lib/providers/ModalDialog/private/Popover.d.ts.map +0 -1
- package/lib/providers/ModalDialog/private/Popover.js +0 -79
- package/lib/providers/ModalDialog/private/useContext.d.ts +0 -4
- package/lib/providers/ModalDialog/private/useContext.d.ts.map +0 -1
- package/lib/providers/ModalDialog/private/useContext.js +0 -13
- package/lib/providers/ModalDialog/useClose.d.ts +0 -3
- package/lib/providers/ModalDialog/useClose.d.ts.map +0 -1
- package/lib/providers/ModalDialog/useClose.js +0 -12
- package/lib/providers/ModalDialog/useShowModal.d.ts +0 -3
- package/lib/providers/ModalDialog/useShowModal.d.ts.map +0 -1
- package/lib/providers/ModalDialog/useShowModal.js +0 -12
- package/lib/providers/RovingTabIndex/RovingTabIndexComposer.d.ts +0 -8
- package/lib/providers/RovingTabIndex/RovingTabIndexComposer.d.ts.map +0 -1
- package/lib/providers/RovingTabIndex/RovingTabIndexComposer.js +0 -163
- package/lib/providers/RovingTabIndex/private/Context.d.ts +0 -8
- package/lib/providers/RovingTabIndex/private/Context.d.ts.map +0 -1
- package/lib/providers/RovingTabIndex/private/Context.js +0 -17
- package/lib/providers/RovingTabIndex/private/useContext.d.ts +0 -2
- package/lib/providers/RovingTabIndex/private/useContext.d.ts.map +0 -1
- package/lib/providers/RovingTabIndex/private/useContext.js +0 -18
- package/lib/providers/RovingTabIndex/useItemRef.d.ts +0 -3
- package/lib/providers/RovingTabIndex/useItemRef.d.ts.map +0 -1
- package/lib/providers/RovingTabIndex/useItemRef.js +0 -19
- package/lib/providers/Theme/ThemeProvider.d.ts +0 -7
- package/lib/providers/Theme/ThemeProvider.d.ts.map +0 -1
- package/lib/providers/Theme/ThemeProvider.js +0 -103
- package/lib/providers/Theme/private/Context.d.ts +0 -19
- package/lib/providers/Theme/private/Context.d.ts.map +0 -1
- package/lib/providers/Theme/private/Context.js +0 -26
- package/lib/providers/Theme/useTheme.d.ts +0 -2
- package/lib/providers/Theme/useTheme.d.ts.map +0 -1
- package/lib/providers/Theme/useTheme.js +0 -13
- package/lib/providers/TranscriptFocus/TranscriptFocusComposer.d.ts +0 -7
- package/lib/providers/TranscriptFocus/TranscriptFocusComposer.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/TranscriptFocusComposer.js +0 -153
- package/lib/providers/TranscriptFocus/private/Context.d.ts +0 -12
- package/lib/providers/TranscriptFocus/private/Context.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/private/Context.js +0 -11
- package/lib/providers/TranscriptFocus/private/useContext.d.ts +0 -2
- package/lib/providers/TranscriptFocus/private/useContext.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/private/useContext.js +0 -18
- package/lib/providers/TranscriptFocus/useActiveDescendantId.d.ts +0 -2
- package/lib/providers/TranscriptFocus/useActiveDescendantId.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useActiveDescendantId.js +0 -12
- package/lib/providers/TranscriptFocus/useFocusByActivityKey.d.ts +0 -8
- package/lib/providers/TranscriptFocus/useFocusByActivityKey.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useFocusByActivityKey.js +0 -18
- package/lib/providers/TranscriptFocus/useFocusRelativeActivity.d.ts +0 -2
- package/lib/providers/TranscriptFocus/useFocusRelativeActivity.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useFocusRelativeActivity.js +0 -12
- package/lib/providers/TranscriptFocus/useFocusedActivityKey.d.ts +0 -2
- package/lib/providers/TranscriptFocus/useFocusedActivityKey.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useFocusedActivityKey.js +0 -12
- package/lib/providers/TranscriptFocus/useFocusedExplicitly.d.ts +0 -2
- package/lib/providers/TranscriptFocus/useFocusedExplicitly.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useFocusedExplicitly.js +0 -12
- package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.d.ts +0 -2
- package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.d.ts.map +0 -1
- package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.js +0 -12
- package/lib/providers/internal/SendBox/SendBoxComposer.d.ts +0 -4
- package/lib/providers/internal/SendBox/SendBoxComposer.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/SendBoxComposer.js +0 -161
- package/lib/providers/internal/SendBox/private/Context.d.ts +0 -4
- package/lib/providers/internal/SendBox/private/Context.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/private/Context.js +0 -11
- package/lib/providers/internal/SendBox/private/types.d.ts +0 -8
- package/lib/providers/internal/SendBox/private/types.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/private/types.js +0 -2
- package/lib/providers/internal/SendBox/private/useContext.d.ts +0 -3
- package/lib/providers/internal/SendBox/private/useContext.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/private/useContext.js +0 -17
- package/lib/providers/internal/SendBox/useErrorMessageId.d.ts +0 -12
- package/lib/providers/internal/SendBox/useErrorMessageId.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/useErrorMessageId.js +0 -22
- package/lib/providers/internal/SendBox/useSubmit.d.ts +0 -14
- package/lib/providers/internal/SendBox/useSubmit.d.ts.map +0 -1
- package/lib/providers/internal/SendBox/useSubmit.js +0 -20
- package/lib/tsconfig.json +0 -18
- package/lib/types/ContextOf.d.ts +0 -4
- package/lib/types/ContextOf.d.ts.map +0 -1
- package/lib/types/ContextOf.js +0 -2
- package/lib/types/PropsOf.d.ts +0 -3
- package/lib/types/PropsOf.d.ts.map +0 -1
- package/lib/types/PropsOf.js +0 -2
- package/lib/types/ScrollPosition.d.ts +0 -6
- package/lib/types/ScrollPosition.d.ts.map +0 -1
- package/lib/types/ScrollPosition.js +0 -2
- package/lib/types/internal/FocusTranscriptInit.d.ts +0 -4
- package/lib/types/internal/FocusTranscriptInit.d.ts.map +0 -1
- package/lib/types/internal/FocusTranscriptInit.js +0 -2
- package/lib/types/internal/SendStatus.d.ts +0 -7
- package/lib/types/internal/SendStatus.d.ts.map +0 -1
- package/lib/types/internal/SendStatus.js +0 -19
- package/lib/types/internal/TypeOfArray.d.ts +0 -2
- package/lib/types/internal/TypeOfArray.d.ts.map +0 -1
- package/lib/types/internal/TypeOfArray.js +0 -2
- package/lib/withEmoji/private/UndoEntry.d.ts +0 -9
- package/lib/withEmoji/private/UndoEntry.d.ts.map +0 -1
- package/lib/withEmoji/private/UndoEntry.js +0 -69
- package/lib/withEmoji/private/useUndoStack.d.ts +0 -6
- package/lib/withEmoji/private/useUndoStack.d.ts.map +0 -1
- package/lib/withEmoji/private/useUndoStack.js +0 -64
- package/lib/withEmoji/withEmoji.d.ts +0 -15
- package/lib/withEmoji/withEmoji.d.ts.map +0 -1
- package/lib/withEmoji/withEmoji.js +0 -128
- package/src/Activity/SayAlt.js +0 -26
- package/src/ActivityStatus/Slotted.tsx +0 -26
- package/src/ActivityStatus/private/Feedback/Feedback.tsx +0 -60
- package/src/ActivityStatus/private/Feedback/private/VoteButton.tsx +0 -36
- package/src/Attachment/Assets/DownloadIcon.js +0 -29
- package/src/Avatar/ImageAvatar.js +0 -49
- package/src/Middleware/ScrollToEndButton/ScrollToEndButton.js +0 -45
- package/src/Styles/StyleSet/CSSCustomProperties.ts +0 -46
- package/src/Styles/StyleSet/KeyboardHelp.ts +0 -204
- package/src/Styles/StyleSet/SingleAttachmentActivity.ts +0 -18
- package/src/Styles/StyleSet/SlottedActivityStatus.ts +0 -16
- package/src/Transcript/KeyboardHelp.tsx +0 -319
- package/src/TranscriptActivity.tsx +0 -64
- package/src/Utils/CroppedImage.js +0 -45
- package/src/Utils/parseDocumentFromString.ts +0 -5
- package/src/Utils/serializeDocumentIntoString.ts +0 -10
- package/src/hooks/internal/useStyleToEmotionObject.js +0 -5
- package/src/providers/ActivityTree/ActivityTreeComposer.tsx +0 -90
- package/src/providers/ActivityTree/private/Context.ts +0 -12
- package/src/providers/ActivityTree/private/types.ts +0 -12
- package/src/providers/ActivityTree/private/useActivitiesWithRenderer.ts +0 -40
- package/src/providers/ActivityTree/private/useActivityTreeWithRenderer.ts +0 -140
- package/src/providers/ActivityTree/private/useContext.ts +0 -15
- package/src/providers/ActivityTree/useActivityTreeWithRenderer.ts +0 -16
- package/src/providers/LiveRegionTwin/LiveRegionTwinComposer.tsx +0 -172
- package/src/providers/LiveRegionTwin/private/Context.ts +0 -15
- /package/dist/{chunk-X37JABN5.mjs.LEGAL.txt → botframework-webchat-component.decorator.css.LEGAL.txt} +0 -0
- /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbDislike16Filled.tsx +0 -0
- /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbDislike16Regular.tsx +0 -0
- /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbLike16Filled.tsx +0 -0
- /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbLike16Regular.tsx +0 -0
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import * as valibot from 'valibot';
|
|
2
|
+
import { InferInput } from 'valibot';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import react__default, { ReactNode, MutableRefObject, ComponentType, ChangeEvent, FocusEvent, KeyboardEvent, SyntheticEvent, Context as Context$1 } from 'react';
|
|
1
5
|
import * as botframework_webchat_api from 'botframework-webchat-api';
|
|
2
6
|
import { ActivityMiddleware, ActivityStatusMiddleware, AttachmentForScreenReaderMiddleware, AttachmentMiddleware, AvatarMiddleware, CardActionMiddleware, GroupActivitiesMiddleware, ScrollToEndButtonMiddleware, SendBoxMiddleware, SendBoxToolbarMiddleware, StyleOptions, ToastMiddleware, TypingIndicatorMiddleware, ComposerProps as ComposerProps$1, WebSpeechPonyfillFactory, StrictStyleOptions, WebSpeechPonyfill, hooks as hooks$1 } from 'botframework-webchat-api';
|
|
3
7
|
export { concatMiddleware, localize } from 'botframework-webchat-api';
|
|
@@ -6,8 +10,7 @@ import PropTypes__default from 'prop-types';
|
|
|
6
10
|
import * as botframework_webchat_core from 'botframework-webchat-core';
|
|
7
11
|
import { WebChatActivity, SendBoxAttachment } from 'botframework-webchat-core';
|
|
8
12
|
export { WebChatActivity } from 'botframework-webchat-core';
|
|
9
|
-
import
|
|
10
|
-
import react__default, { ReactNode, MutableRefObject, ComponentType, ChangeEvent, FocusEvent, KeyboardEvent, SyntheticEvent } from 'react';
|
|
13
|
+
import { DecoratorMiddleware } from 'botframework-webchat-api/decorator';
|
|
11
14
|
import { EmptyObject } from 'type-fest';
|
|
12
15
|
|
|
13
16
|
type AttributeSetter = false | string | ((value?: string) => string);
|
|
@@ -32,12 +35,243 @@ type LinkOptions = {
|
|
|
32
35
|
wrapZeroWidthSpace?: boolean;
|
|
33
36
|
};
|
|
34
37
|
|
|
35
|
-
declare const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
declare const uploadButtonPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
39
|
+
readonly className: valibot.StringSchema<undefined>;
|
|
40
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
41
|
+
className: string;
|
|
42
|
+
}>]>;
|
|
43
|
+
type UploadButtonProps = InferInput<typeof uploadButtonPropsSchema>;
|
|
44
|
+
|
|
45
|
+
declare const dictationInterimsPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
46
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
47
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
48
|
+
className?: string;
|
|
49
|
+
}>]>;
|
|
50
|
+
type DictationInterimsProps = InferInput<typeof dictationInterimsPropsSchema>;
|
|
51
|
+
|
|
52
|
+
declare const timestampPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
53
|
+
readonly timestamp: valibot.UnionSchema<[valibot.DateSchema<undefined>, valibot.NumberSchema<undefined>, valibot.StringSchema<undefined>], undefined>;
|
|
54
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
55
|
+
timestamp: string | number | Date;
|
|
56
|
+
}>]>;
|
|
57
|
+
type TimestampProps = InferInput<typeof timestampPropsSchema>;
|
|
58
|
+
|
|
59
|
+
declare const speakPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
60
|
+
readonly activity: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
61
|
+
readonly attachments: valibot.OptionalSchema<valibot.SchemaWithPipe<readonly [valibot.ArraySchema<valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
62
|
+
readonly content: valibot.OptionalSchema<valibot.AnySchema, undefined>;
|
|
63
|
+
readonly contentType: valibot.StringSchema<undefined>;
|
|
64
|
+
readonly speak: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
65
|
+
readonly subtitle: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly text: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
67
|
+
readonly title: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
68
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
69
|
+
content?: any;
|
|
70
|
+
contentType: string;
|
|
71
|
+
speak?: string;
|
|
72
|
+
subtitle?: string;
|
|
73
|
+
text?: string;
|
|
74
|
+
title?: string;
|
|
75
|
+
}>]>, undefined>, valibot.ReadonlyAction<Readonly<{
|
|
76
|
+
content?: any;
|
|
77
|
+
contentType: string;
|
|
78
|
+
speak?: string;
|
|
79
|
+
subtitle?: string;
|
|
80
|
+
text?: string;
|
|
81
|
+
title?: string;
|
|
82
|
+
}>[]>]>, undefined>;
|
|
83
|
+
readonly channelData: valibot.OptionalSchema<valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
84
|
+
readonly speechSynthesisUtterance: valibot.OptionalSchema<valibot.AnySchema, undefined>;
|
|
85
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
86
|
+
speechSynthesisUtterance?: any;
|
|
87
|
+
}>]>, undefined>;
|
|
88
|
+
readonly speak: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
89
|
+
readonly text: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
90
|
+
readonly type: valibot.StringSchema<undefined>;
|
|
91
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
92
|
+
attachments?: readonly Readonly<{
|
|
93
|
+
content?: any;
|
|
94
|
+
contentType: string;
|
|
95
|
+
speak?: string;
|
|
96
|
+
subtitle?: string;
|
|
97
|
+
text?: string;
|
|
98
|
+
title?: string;
|
|
99
|
+
}>[];
|
|
100
|
+
channelData?: Readonly<{
|
|
101
|
+
speechSynthesisUtterance?: any;
|
|
102
|
+
}>;
|
|
103
|
+
speak?: string;
|
|
104
|
+
text?: string;
|
|
105
|
+
type: string;
|
|
106
|
+
}>]>;
|
|
107
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
108
|
+
readonly activity: Readonly<{
|
|
109
|
+
attachments?: readonly Readonly<{
|
|
110
|
+
content?: any;
|
|
111
|
+
contentType: string;
|
|
112
|
+
speak?: string;
|
|
113
|
+
subtitle?: string;
|
|
114
|
+
text?: string;
|
|
115
|
+
title?: string;
|
|
116
|
+
}>[];
|
|
117
|
+
channelData?: Readonly<{
|
|
118
|
+
speechSynthesisUtterance?: any;
|
|
119
|
+
}>;
|
|
120
|
+
speak?: string;
|
|
121
|
+
text?: string;
|
|
122
|
+
type: string;
|
|
123
|
+
}>;
|
|
124
|
+
}>]>;
|
|
125
|
+
type SpeakProps = InferInput<typeof speakPropsSchema>;
|
|
126
|
+
|
|
127
|
+
declare const sendStatusPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
128
|
+
readonly activity: valibot.AnySchema;
|
|
129
|
+
readonly sendStatus: valibot.UnionSchema<[valibot.LiteralSchema<"sending", undefined>, valibot.LiteralSchema<"send failed", undefined>, valibot.LiteralSchema<"sent", undefined>], undefined>;
|
|
130
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
131
|
+
activity: any;
|
|
132
|
+
sendStatus: "sending" | "send failed" | "sent";
|
|
133
|
+
}>]>;
|
|
134
|
+
type SendStatusProps = InferInput<typeof sendStatusPropsSchema>;
|
|
135
|
+
|
|
136
|
+
declare const errorBoxPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
137
|
+
readonly error: valibot.InstanceSchema<ErrorConstructor, undefined>;
|
|
138
|
+
readonly type: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
139
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
140
|
+
error: Error;
|
|
141
|
+
type?: string;
|
|
142
|
+
}>]>;
|
|
143
|
+
type ErrorBoxProps = InferInput<typeof errorBoxPropsSchema>;
|
|
39
144
|
|
|
40
|
-
|
|
145
|
+
declare const bubblePropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
146
|
+
readonly 'aria-hidden': valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
147
|
+
readonly children: valibot.OptionalSchema<valibot.CustomSchema<react__default.ReactNode, undefined>, undefined>;
|
|
148
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
149
|
+
readonly fromUser: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
150
|
+
readonly nub: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"hidden", undefined>], undefined>, undefined>;
|
|
151
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
152
|
+
'aria-hidden'?: boolean;
|
|
153
|
+
children?: react__default.ReactNode;
|
|
154
|
+
className?: string;
|
|
155
|
+
fromUser?: boolean;
|
|
156
|
+
nub?: boolean | "hidden";
|
|
157
|
+
}>]>;
|
|
158
|
+
type BubbleProps = InferInput<typeof bubblePropsSchema>;
|
|
159
|
+
|
|
160
|
+
declare const avatarPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
161
|
+
readonly 'aria-hidden': valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
162
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
163
|
+
readonly fromUser: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
164
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
165
|
+
'aria-hidden'?: boolean;
|
|
166
|
+
className?: string;
|
|
167
|
+
fromUser?: boolean;
|
|
168
|
+
}>]>;
|
|
169
|
+
type AvatarProps = InferInput<typeof avatarPropsSchema>;
|
|
170
|
+
|
|
171
|
+
declare const youTubeContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
172
|
+
readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
173
|
+
readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
174
|
+
readonly embedID: valibot.StringSchema<undefined>;
|
|
175
|
+
readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
176
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
177
|
+
alt?: string;
|
|
178
|
+
autoPlay?: boolean;
|
|
179
|
+
embedID: string;
|
|
180
|
+
loop?: boolean;
|
|
181
|
+
}>]>;
|
|
182
|
+
type YouTubeContentProps = InferInput<typeof youTubeContentPropsSchema>;
|
|
183
|
+
|
|
184
|
+
declare const vimeoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
185
|
+
readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
186
|
+
readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
187
|
+
readonly embedID: valibot.StringSchema<undefined>;
|
|
188
|
+
readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
189
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
190
|
+
alt?: string;
|
|
191
|
+
autoPlay?: boolean;
|
|
192
|
+
embedID: string;
|
|
193
|
+
loop?: boolean;
|
|
194
|
+
}>]>;
|
|
195
|
+
type VimeoContentProps = InferInput<typeof vimeoContentPropsSchema>;
|
|
196
|
+
|
|
197
|
+
declare const videoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
198
|
+
readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
199
|
+
readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
200
|
+
readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
201
|
+
readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
202
|
+
readonly src: valibot.StringSchema<undefined>;
|
|
203
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
204
|
+
alt?: string;
|
|
205
|
+
autoPlay?: boolean;
|
|
206
|
+
loop?: boolean;
|
|
207
|
+
poster?: string;
|
|
208
|
+
src: string;
|
|
209
|
+
}>]>;
|
|
210
|
+
type VideoContentProps = InferInput<typeof videoContentPropsSchema>;
|
|
211
|
+
|
|
212
|
+
declare const textContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
213
|
+
readonly activity: valibot.AnySchema;
|
|
214
|
+
readonly contentType: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
215
|
+
readonly text: valibot.StringSchema<undefined>;
|
|
216
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
217
|
+
activity: any;
|
|
218
|
+
contentType?: string;
|
|
219
|
+
text: string;
|
|
220
|
+
}>]>;
|
|
221
|
+
type TextContentProps = InferInput<typeof textContentPropsSchema>;
|
|
222
|
+
|
|
223
|
+
declare const htmlVideoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
224
|
+
readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
225
|
+
readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
226
|
+
readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
227
|
+
readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
228
|
+
readonly src: valibot.StringSchema<undefined>;
|
|
229
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
230
|
+
alt?: string;
|
|
231
|
+
autoPlay?: boolean;
|
|
232
|
+
loop?: boolean;
|
|
233
|
+
poster?: string;
|
|
234
|
+
src: string;
|
|
235
|
+
}>]>;
|
|
236
|
+
type HTMLVideoContentProps = InferInput<typeof htmlVideoContentPropsSchema>;
|
|
237
|
+
|
|
238
|
+
type FileContentProps = InferInput<typeof fileContentPropsSchema>;
|
|
239
|
+
declare const fileContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
240
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
241
|
+
readonly fileName: valibot.StringSchema<undefined>;
|
|
242
|
+
readonly href: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
243
|
+
readonly size: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
244
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
245
|
+
className?: string;
|
|
246
|
+
fileName: string;
|
|
247
|
+
href?: string;
|
|
248
|
+
size?: number;
|
|
249
|
+
}>]>;
|
|
250
|
+
|
|
251
|
+
declare const audioContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
252
|
+
readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
253
|
+
readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
254
|
+
readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
255
|
+
readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
256
|
+
readonly src: valibot.StringSchema<undefined>;
|
|
257
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
258
|
+
alt?: string;
|
|
259
|
+
autoPlay?: boolean;
|
|
260
|
+
loop?: boolean;
|
|
261
|
+
poster?: string;
|
|
262
|
+
src: string;
|
|
263
|
+
}>]>;
|
|
264
|
+
type AudioContentProps = InferInput<typeof audioContentPropsSchema>;
|
|
265
|
+
|
|
266
|
+
declare function useSendBoxSpeechInterimsVisible(): [boolean];
|
|
267
|
+
declare const basicSendBoxPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
268
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
269
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
270
|
+
className?: string;
|
|
271
|
+
}>]>;
|
|
272
|
+
type BasicSendBoxProps = InferInput<typeof basicSendBoxPropsSchema>;
|
|
273
|
+
|
|
274
|
+
type ThemeContextType = {
|
|
41
275
|
activityMiddleware: readonly ActivityMiddleware[];
|
|
42
276
|
activityStatusMiddleware: readonly ActivityStatusMiddleware[];
|
|
43
277
|
attachmentForScreenReaderMiddleware: readonly AttachmentForScreenReaderMiddleware[];
|
|
@@ -49,13 +283,28 @@ type ContextType$1 = {
|
|
|
49
283
|
sendBoxMiddleware: readonly SendBoxMiddleware[];
|
|
50
284
|
sendBoxToolbarMiddleware: readonly SendBoxToolbarMiddleware[];
|
|
51
285
|
styleOptions: StyleOptions;
|
|
286
|
+
styles: readonly (HTMLStyleElement | HTMLLinkElement)[];
|
|
52
287
|
toastMiddleware: readonly ToastMiddleware[];
|
|
53
288
|
typingIndicatorMiddleware: readonly TypingIndicatorMiddleware[];
|
|
54
289
|
};
|
|
55
290
|
|
|
291
|
+
type HTMLContentTransformRequest = Readonly<{
|
|
292
|
+
allowedTags: ReadonlyMap<string, Readonly<{
|
|
293
|
+
attributes: ReadonlySet<string>;
|
|
294
|
+
}>>;
|
|
295
|
+
codeBlockTagName: string;
|
|
296
|
+
documentFragment: DocumentFragment;
|
|
297
|
+
externalLinkAlt: string;
|
|
298
|
+
}>;
|
|
299
|
+
type HTMLContentTransformFunction = (request: HTMLContentTransformRequest) => DocumentFragment;
|
|
300
|
+
type HTMLContentTransformEnhancer = (next: HTMLContentTransformFunction) => HTMLContentTransformFunction;
|
|
301
|
+
type HTMLContentTransformMiddleware = () => HTMLContentTransformEnhancer;
|
|
302
|
+
|
|
56
303
|
type ComposerCoreProps = Readonly<{
|
|
57
304
|
children?: ReactNode;
|
|
305
|
+
decoratorMiddleware?: readonly DecoratorMiddleware[] | undefined;
|
|
58
306
|
extraStyleSet?: any;
|
|
307
|
+
htmlContentTransformMiddleware?: readonly HTMLContentTransformMiddleware[] | undefined;
|
|
59
308
|
nonce?: string;
|
|
60
309
|
renderMarkdown?: (markdown: string, newLineOptions: {
|
|
61
310
|
markdownRespectCRLF: boolean;
|
|
@@ -63,6 +312,7 @@ type ComposerCoreProps = Readonly<{
|
|
|
63
312
|
externalLinkAlt: string;
|
|
64
313
|
}) => string;
|
|
65
314
|
styleSet?: any;
|
|
315
|
+
styles?: readonly HTMLStyleElement[];
|
|
66
316
|
suggestedActionsAccessKey?: boolean | string;
|
|
67
317
|
webSpeechPonyfillFactory?: WebSpeechPonyfillFactory;
|
|
68
318
|
}>;
|
|
@@ -105,10 +355,22 @@ declare const ReactWebChat: {
|
|
|
105
355
|
};
|
|
106
356
|
};
|
|
107
357
|
|
|
108
|
-
|
|
358
|
+
declare const basicWebChatPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
359
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
360
|
+
readonly role: valibot.SchemaWithFallback<valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"complementary", undefined>, valibot.LiteralSchema<"contentinfo", undefined>, valibot.LiteralSchema<"form", undefined>, valibot.LiteralSchema<"main", undefined>, valibot.LiteralSchema<"region", undefined>], undefined>, undefined>, "complementary">;
|
|
361
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
109
362
|
className?: string;
|
|
110
|
-
role?:
|
|
111
|
-
}
|
|
363
|
+
role?: "complementary" | "contentinfo" | "form" | "main" | "region";
|
|
364
|
+
}>]>;
|
|
365
|
+
type BasicWebChatProps = InferInput<typeof basicWebChatPropsSchema>;
|
|
366
|
+
|
|
367
|
+
declare const sendButtonPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
|
|
368
|
+
readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
369
|
+
}, undefined>, valibot.ReadonlyAction<{
|
|
370
|
+
className?: string;
|
|
371
|
+
}>]>;
|
|
372
|
+
type SendButtonProps = InferInput<typeof sendButtonPropsSchema>;
|
|
373
|
+
declare function SendButton(props: SendButtonProps): react__default.JSX.Element;
|
|
112
374
|
|
|
113
375
|
declare function createCoreMiddleware$2(): AttachmentMiddleware[];
|
|
114
376
|
|
|
@@ -121,9 +383,80 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
121
383
|
margin: number;
|
|
122
384
|
padding: number;
|
|
123
385
|
};
|
|
386
|
+
readonly activityButton: {
|
|
387
|
+
'&.webchat__activity-button': {
|
|
388
|
+
alignItems: string;
|
|
389
|
+
appearance: string;
|
|
390
|
+
background: string;
|
|
391
|
+
borderRadius: string;
|
|
392
|
+
border: string;
|
|
393
|
+
color: string;
|
|
394
|
+
display: string;
|
|
395
|
+
gap: string;
|
|
396
|
+
justifyContent: string;
|
|
397
|
+
padding: string;
|
|
398
|
+
'&:hover': {
|
|
399
|
+
background: string;
|
|
400
|
+
border: string;
|
|
401
|
+
color: string;
|
|
402
|
+
};
|
|
403
|
+
'&:active': {
|
|
404
|
+
background: string;
|
|
405
|
+
border: string;
|
|
406
|
+
color: string;
|
|
407
|
+
};
|
|
408
|
+
'&:focus-visible': {
|
|
409
|
+
background: string;
|
|
410
|
+
outline: string;
|
|
411
|
+
outlineOffset: string;
|
|
412
|
+
};
|
|
413
|
+
'&[aria-disabled="true"]': {
|
|
414
|
+
background: string;
|
|
415
|
+
border: string;
|
|
416
|
+
color: string;
|
|
417
|
+
cursor: string;
|
|
418
|
+
};
|
|
419
|
+
'& .webchat__activity-button__icon': {
|
|
420
|
+
height: string;
|
|
421
|
+
width: string;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
readonly activityCopyButton: {
|
|
426
|
+
'&.webchat__activity-copy-button': {
|
|
427
|
+
overflow: string[];
|
|
428
|
+
position: string;
|
|
429
|
+
'& .webchat__activity-copy-button__copied-text': {
|
|
430
|
+
alignItems: string;
|
|
431
|
+
backgroundColor: string;
|
|
432
|
+
display: string;
|
|
433
|
+
height: string;
|
|
434
|
+
justifyContent: string;
|
|
435
|
+
position: string;
|
|
436
|
+
visibility: string;
|
|
437
|
+
width: string;
|
|
438
|
+
};
|
|
439
|
+
'&.webchat__activity-copy-button--copied': {
|
|
440
|
+
'.webchat__activity-copy-button__copied-text': {
|
|
441
|
+
animation: string;
|
|
442
|
+
};
|
|
443
|
+
'.webchat__activity-button__icon, .webchat__activity-button__text': {
|
|
444
|
+
visibility: string;
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
'@keyframes webchat__activity-copy-button__copied-animation': {
|
|
448
|
+
'0%': {
|
|
449
|
+
visibility: string;
|
|
450
|
+
};
|
|
451
|
+
'100%': {
|
|
452
|
+
visibility: string;
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
};
|
|
124
457
|
readonly audioAttachment: {
|
|
125
458
|
display: string;
|
|
126
|
-
minHeight:
|
|
459
|
+
minHeight: "var(--webchat__size--avatar)";
|
|
127
460
|
};
|
|
128
461
|
readonly audioContent: {
|
|
129
462
|
width: string;
|
|
@@ -166,8 +499,8 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
166
499
|
readonly avatar: {
|
|
167
500
|
'&.webchat__defaultAvatar': {
|
|
168
501
|
borderRadius: string | number;
|
|
169
|
-
height:
|
|
170
|
-
width:
|
|
502
|
+
height: "var(--webchat__size--avatar)";
|
|
503
|
+
width: "var(--webchat__size--avatar)";
|
|
171
504
|
};
|
|
172
505
|
};
|
|
173
506
|
readonly basicTranscript: {
|
|
@@ -285,6 +618,103 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
285
618
|
};
|
|
286
619
|
};
|
|
287
620
|
};
|
|
621
|
+
readonly codeBlock: {
|
|
622
|
+
'&.webchat__code-block': {
|
|
623
|
+
background: string;
|
|
624
|
+
border: string;
|
|
625
|
+
borderRadius: string;
|
|
626
|
+
color: string;
|
|
627
|
+
display: string;
|
|
628
|
+
margin: string;
|
|
629
|
+
overflow: string;
|
|
630
|
+
padding: string;
|
|
631
|
+
':has(> .webchat__code-block__theme--github-dark-default)': {
|
|
632
|
+
background: string;
|
|
633
|
+
color: string;
|
|
634
|
+
};
|
|
635
|
+
':has(> .webchat__code-block__theme--github-light-default)': {
|
|
636
|
+
background: string;
|
|
637
|
+
color: string;
|
|
638
|
+
};
|
|
639
|
+
':has(.webchat__code-block__body:focus-visible):focus-within': {
|
|
640
|
+
outline: string;
|
|
641
|
+
outlineOffset: string;
|
|
642
|
+
};
|
|
643
|
+
'.webchat__code-block__body': {
|
|
644
|
+
display: string;
|
|
645
|
+
lineHeight: string;
|
|
646
|
+
margin: string;
|
|
647
|
+
outline: string;
|
|
648
|
+
whiteSpace: string;
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
};
|
|
652
|
+
readonly codeBlockCopyButton: {
|
|
653
|
+
'&.webchat__code-block-copy-button': {
|
|
654
|
+
'--webchat__code-block-copy-button--icon-url': string;
|
|
655
|
+
alignItems: string;
|
|
656
|
+
appearance: string;
|
|
657
|
+
background: string;
|
|
658
|
+
borderRadius: string;
|
|
659
|
+
border: string;
|
|
660
|
+
color: string;
|
|
661
|
+
display: string;
|
|
662
|
+
float: string;
|
|
663
|
+
gap: string;
|
|
664
|
+
justifyContent: string;
|
|
665
|
+
marginInlineStart: "var(--webchat__padding--regular)";
|
|
666
|
+
padding: string;
|
|
667
|
+
'&:hover': {
|
|
668
|
+
background: string;
|
|
669
|
+
border: string;
|
|
670
|
+
color: string;
|
|
671
|
+
};
|
|
672
|
+
'&:active': {
|
|
673
|
+
background: string;
|
|
674
|
+
border: string;
|
|
675
|
+
color: string;
|
|
676
|
+
};
|
|
677
|
+
'&:focus-visible': {
|
|
678
|
+
background: string;
|
|
679
|
+
outline: string;
|
|
680
|
+
outlineOffset: string;
|
|
681
|
+
};
|
|
682
|
+
'&[aria-disabled="true"]': {
|
|
683
|
+
background: string;
|
|
684
|
+
border: string;
|
|
685
|
+
color: string;
|
|
686
|
+
cursor: string;
|
|
687
|
+
};
|
|
688
|
+
'&.webchat__code-block-copy-button--copied': {
|
|
689
|
+
'--webchat__code-block-copy-button--icon-url': string;
|
|
690
|
+
};
|
|
691
|
+
'& .webchat__code-block-copy-button__icon': {
|
|
692
|
+
backgroundColor: string;
|
|
693
|
+
height: string;
|
|
694
|
+
gridColumn: number;
|
|
695
|
+
gridRow: number;
|
|
696
|
+
maskImage: string;
|
|
697
|
+
maskRepeat: string;
|
|
698
|
+
WebkitMaskImage: string;
|
|
699
|
+
WebkitMaskRepeat: string;
|
|
700
|
+
width: string;
|
|
701
|
+
};
|
|
702
|
+
'& .webchat__code-block-copy-button__icon--copied': {
|
|
703
|
+
opacity: number;
|
|
704
|
+
};
|
|
705
|
+
'&.webchat__code-block-copy-button--copied .webchat__code-block-copy-button__icon': {
|
|
706
|
+
animation: string;
|
|
707
|
+
};
|
|
708
|
+
'@keyframes webchat__code-block-copy-button__copied-animation': {
|
|
709
|
+
'0%': {
|
|
710
|
+
opacity: string;
|
|
711
|
+
};
|
|
712
|
+
'100%': {
|
|
713
|
+
opacity: string;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
};
|
|
717
|
+
};
|
|
288
718
|
readonly connectivityNotification: {
|
|
289
719
|
alignItems: string;
|
|
290
720
|
color: string;
|
|
@@ -390,19 +820,22 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
390
820
|
};
|
|
391
821
|
};
|
|
392
822
|
readonly imageAvatar: {
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
823
|
+
alignItems: string;
|
|
824
|
+
display: string;
|
|
825
|
+
height: "var(--webchat__size--avatar)";
|
|
826
|
+
justifyContent: string;
|
|
827
|
+
overflow: string[];
|
|
828
|
+
width: "var(--webchat__size--avatar)";
|
|
396
829
|
};
|
|
397
830
|
readonly initialsAvatar: {
|
|
398
831
|
'&.webchat__initialsAvatar': {
|
|
399
832
|
alignItems: string;
|
|
400
833
|
color: string;
|
|
401
|
-
fontFamily:
|
|
402
|
-
height:
|
|
834
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
835
|
+
height: "var(--webchat__size--avatar)";
|
|
403
836
|
justifyContent: string;
|
|
404
837
|
overflow: string;
|
|
405
|
-
width:
|
|
838
|
+
width: "var(--webchat__size--avatar)";
|
|
406
839
|
'&.webchat__initialsAvatar--fromUser': {
|
|
407
840
|
backgroundColor: string;
|
|
408
841
|
};
|
|
@@ -411,156 +844,6 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
411
844
|
};
|
|
412
845
|
};
|
|
413
846
|
};
|
|
414
|
-
readonly keyboardHelp: {
|
|
415
|
-
'&.webchat__keyboard-help': {
|
|
416
|
-
fontFamily: string;
|
|
417
|
-
fontSize: number;
|
|
418
|
-
height: string;
|
|
419
|
-
outline: number;
|
|
420
|
-
overflow: string;
|
|
421
|
-
'&:not(.webchat__keyboard-help--shown)': {
|
|
422
|
-
height: number;
|
|
423
|
-
margin: number;
|
|
424
|
-
overflow: string;
|
|
425
|
-
pointerEvents: string;
|
|
426
|
-
width: number;
|
|
427
|
-
};
|
|
428
|
-
'& .webchat__keyboard-help__border': {
|
|
429
|
-
boxSizing: string;
|
|
430
|
-
height: string;
|
|
431
|
-
padding: number;
|
|
432
|
-
};
|
|
433
|
-
'& .webchat__keyboard-help__box': {
|
|
434
|
-
borderRadius: number;
|
|
435
|
-
boxShadow: string;
|
|
436
|
-
height: string;
|
|
437
|
-
overflow: string;
|
|
438
|
-
"@media (forced-colors: active)": {
|
|
439
|
-
backgroundColor: string;
|
|
440
|
-
boxShadow: string;
|
|
441
|
-
outlineColor: string;
|
|
442
|
-
outlineStyle: string;
|
|
443
|
-
outlineWidth: number;
|
|
444
|
-
};
|
|
445
|
-
"@media (forced-colors: none) and (prefers-color-scheme: dark)": {
|
|
446
|
-
backgroundColor: string;
|
|
447
|
-
boxShadow: string;
|
|
448
|
-
};
|
|
449
|
-
};
|
|
450
|
-
'& .webchat__keyboard-help__scrollable': {
|
|
451
|
-
boxSizing: string;
|
|
452
|
-
height: string;
|
|
453
|
-
overflowY: string;
|
|
454
|
-
padding: number;
|
|
455
|
-
position: string;
|
|
456
|
-
};
|
|
457
|
-
'& .webchat__keyboard-help__close-button': {
|
|
458
|
-
appearance: string;
|
|
459
|
-
backgroundColor: string;
|
|
460
|
-
border: number;
|
|
461
|
-
outline: number;
|
|
462
|
-
padding: number;
|
|
463
|
-
pointerEvents: string;
|
|
464
|
-
position: string;
|
|
465
|
-
right: number;
|
|
466
|
-
top: number;
|
|
467
|
-
};
|
|
468
|
-
'& .webchat__keyboard-help__close-button-border': {
|
|
469
|
-
alignItems: string;
|
|
470
|
-
borderRadius: number;
|
|
471
|
-
borderStyle: string;
|
|
472
|
-
borderWidth: number;
|
|
473
|
-
color: string;
|
|
474
|
-
display: string;
|
|
475
|
-
height: number;
|
|
476
|
-
justifyContent: string;
|
|
477
|
-
pointerEvents: string;
|
|
478
|
-
width: number;
|
|
479
|
-
"@media (forced-colors: none) and (prefers-color-scheme: light)": {
|
|
480
|
-
borderColor: string;
|
|
481
|
-
'&:active': {
|
|
482
|
-
backgroundColor: string;
|
|
483
|
-
};
|
|
484
|
-
'&:not(:active):hover': {
|
|
485
|
-
backgroundColor: string;
|
|
486
|
-
};
|
|
487
|
-
};
|
|
488
|
-
"@media (forced-colors: none) and (prefers-color-scheme: dark)": {
|
|
489
|
-
borderColor: string;
|
|
490
|
-
'&:active': {
|
|
491
|
-
backgroundColor: string;
|
|
492
|
-
};
|
|
493
|
-
'&:not(:active):hover': {
|
|
494
|
-
backgroundColor: string;
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
"@media (forced-colors: active)": {
|
|
498
|
-
backgroundColor: string;
|
|
499
|
-
borderColor: string;
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
'& .webchat__keyboard-help__close-button-image': {
|
|
503
|
-
fill: string;
|
|
504
|
-
height: number;
|
|
505
|
-
width: number;
|
|
506
|
-
"@media (forced-colors: active)": {
|
|
507
|
-
fill: string;
|
|
508
|
-
};
|
|
509
|
-
"@media (forced-colors: none) and (prefers-color-scheme: dark)": {
|
|
510
|
-
fill: string;
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
'& .webchat__keyboard-help__header, & .webchat__keyboard-help__sub-header': {
|
|
514
|
-
marginBottom: number;
|
|
515
|
-
marginTop: number;
|
|
516
|
-
};
|
|
517
|
-
'& .webchat__keyboard-help__section:not(:last-child)': {
|
|
518
|
-
marginBottom: number;
|
|
519
|
-
};
|
|
520
|
-
'& .webchat__keyboard-help__two-panes': {
|
|
521
|
-
alignItems: string;
|
|
522
|
-
display: string;
|
|
523
|
-
};
|
|
524
|
-
'& .webchat__keyboard-help__image': {
|
|
525
|
-
paddingRight: number;
|
|
526
|
-
};
|
|
527
|
-
'& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--high-contrast': {
|
|
528
|
-
display: string;
|
|
529
|
-
};
|
|
530
|
-
"@media (forced-colors: active)": {
|
|
531
|
-
'& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--light': {
|
|
532
|
-
display: string;
|
|
533
|
-
};
|
|
534
|
-
'& .webchat__keyboard-help__image--high-contrast': {
|
|
535
|
-
display: string;
|
|
536
|
-
mixBlendMode: string;
|
|
537
|
-
};
|
|
538
|
-
};
|
|
539
|
-
"@media (forced-colors: none) and (prefers-color-scheme: dark)": {
|
|
540
|
-
color: string;
|
|
541
|
-
'& .webchat__keyboard-help__image--light': {
|
|
542
|
-
display: string;
|
|
543
|
-
};
|
|
544
|
-
'& .webchat__keyboard-help__image--dark': {
|
|
545
|
-
display: string;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
'& .webchat__keyboard-help__notes': {
|
|
549
|
-
marginBottom: number;
|
|
550
|
-
marginTop: number;
|
|
551
|
-
};
|
|
552
|
-
'& .webchat__keyboard-help__notes-header': {
|
|
553
|
-
fontWeight: string;
|
|
554
|
-
margin: number;
|
|
555
|
-
};
|
|
556
|
-
'& .webchat__keyboard-help__notes-pane': {
|
|
557
|
-
flexShrink: number;
|
|
558
|
-
};
|
|
559
|
-
'& .webchat__keyboard-help__notes-text': {
|
|
560
|
-
margin: number;
|
|
561
|
-
};
|
|
562
|
-
};
|
|
563
|
-
};
|
|
564
847
|
readonly microphoneButton: {
|
|
565
848
|
'&.webchat__microphone-button': {
|
|
566
849
|
'&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
|
|
@@ -572,6 +855,13 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
572
855
|
};
|
|
573
856
|
};
|
|
574
857
|
};
|
|
858
|
+
readonly monochromeImageMasker: {
|
|
859
|
+
'&.webchat__monochrome-image-masker': {
|
|
860
|
+
backgroundColor: string;
|
|
861
|
+
mask: string;
|
|
862
|
+
WebkitMask: string;
|
|
863
|
+
};
|
|
864
|
+
};
|
|
575
865
|
readonly options: {
|
|
576
866
|
readonly accent: string;
|
|
577
867
|
readonly backgroundColor: string;
|
|
@@ -579,13 +869,13 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
579
869
|
readonly paddingRegular: number;
|
|
580
870
|
readonly paddingWide: number;
|
|
581
871
|
readonly transitionDuration: string;
|
|
582
|
-
readonly fontSizeSmall:
|
|
872
|
+
readonly fontSizeSmall: number | string;
|
|
583
873
|
readonly monospaceFont: string;
|
|
584
874
|
readonly primaryFont: string;
|
|
585
|
-
readonly rootHeight:
|
|
586
|
-
readonly rootWidth:
|
|
875
|
+
readonly rootHeight: number | string;
|
|
876
|
+
readonly rootWidth: number | string;
|
|
587
877
|
readonly rootZIndex: number;
|
|
588
|
-
readonly avatarBorderRadius:
|
|
878
|
+
readonly avatarBorderRadius: number | string;
|
|
589
879
|
readonly avatarSize: number;
|
|
590
880
|
readonly botAvatarBackgroundColor: string;
|
|
591
881
|
readonly botAvatarImage: string;
|
|
@@ -607,19 +897,22 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
607
897
|
readonly bubbleFromUserNubOffset: number;
|
|
608
898
|
readonly bubbleFromUserNubSize: number;
|
|
609
899
|
readonly bubbleFromUserTextColor: string;
|
|
610
|
-
readonly
|
|
611
|
-
readonly
|
|
900
|
+
readonly bubbleImageMaxHeight: number | undefined;
|
|
901
|
+
readonly bubbleImageMinHeight: number | undefined;
|
|
902
|
+
readonly bubbleAttachmentMaxWidth: number | undefined;
|
|
903
|
+
readonly bubbleAttachmentMinWidth: number | undefined;
|
|
904
|
+
readonly bubbleMessageMaxWidth: number | undefined;
|
|
905
|
+
readonly bubbleMessageMinWidth: number | undefined;
|
|
612
906
|
readonly bubbleMinHeight: number;
|
|
613
|
-
readonly bubbleMinWidth: number;
|
|
614
907
|
readonly bubbleNubOffset: number;
|
|
615
908
|
readonly bubbleNubSize: number;
|
|
616
909
|
readonly bubbleTextColor: string;
|
|
617
|
-
readonly messageActivityWordBreak: "
|
|
910
|
+
readonly messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all";
|
|
618
911
|
readonly connectivityIconPadding: number;
|
|
619
912
|
readonly connectivityMarginLeftRight: number;
|
|
620
913
|
readonly connectivityMarginTopBottom: number;
|
|
621
|
-
readonly connectivityTextSize:
|
|
622
|
-
readonly failedConnectivity:
|
|
914
|
+
readonly connectivityTextSize: number | string;
|
|
915
|
+
readonly failedConnectivity: number | string;
|
|
623
916
|
readonly slowConnectivity: string;
|
|
624
917
|
readonly notificationText: string;
|
|
625
918
|
readonly slowConnectionAfter: number;
|
|
@@ -628,13 +921,13 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
628
921
|
readonly markdownRespectCRLF: boolean;
|
|
629
922
|
readonly markdownRenderHTML: boolean;
|
|
630
923
|
readonly markdownExternalLinkIconImage: string;
|
|
631
|
-
readonly autoScrollSnapOnActivity:
|
|
924
|
+
readonly autoScrollSnapOnActivity: boolean | number;
|
|
632
925
|
readonly autoScrollSnapOnActivityOffset: number;
|
|
633
|
-
readonly autoScrollSnapOnPage:
|
|
926
|
+
readonly autoScrollSnapOnPage: boolean | number;
|
|
634
927
|
readonly autoScrollSnapOnPageOffset: number;
|
|
635
928
|
readonly hideSendBox: boolean;
|
|
636
929
|
readonly hideUploadButton: boolean;
|
|
637
|
-
readonly hideTelephoneKeypadButton: boolean;
|
|
930
|
+
readonly hideTelephoneKeypadButton: boolean | undefined;
|
|
638
931
|
readonly microphoneButtonColorOnDictate: string;
|
|
639
932
|
readonly sendBoxBackground: string;
|
|
640
933
|
readonly uploadAccept: string;
|
|
@@ -653,27 +946,27 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
653
946
|
readonly sendBoxButtonColorOnHover: string;
|
|
654
947
|
readonly sendBoxButtonShadeColorOnHover: string;
|
|
655
948
|
readonly sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
|
|
656
|
-
readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius:
|
|
949
|
+
readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: number | string;
|
|
657
950
|
readonly sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
|
|
658
951
|
readonly sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
|
|
659
952
|
readonly sendBoxButtonKeyboardFocusIndicatorInset: number;
|
|
660
953
|
readonly sendBoxDisabledTextColor: string;
|
|
661
|
-
readonly sendBoxHeight:
|
|
662
|
-
readonly sendBoxMaxHeight:
|
|
954
|
+
readonly sendBoxHeight: number | string;
|
|
955
|
+
readonly sendBoxMaxHeight: number | string;
|
|
663
956
|
readonly sendBoxTextColor: string;
|
|
664
|
-
readonly sendBoxBorderBottom:
|
|
665
|
-
readonly sendBoxBorderLeft:
|
|
666
|
-
readonly sendBoxBorderRight:
|
|
667
|
-
readonly sendBoxBorderTop:
|
|
957
|
+
readonly sendBoxBorderBottom: number | string;
|
|
958
|
+
readonly sendBoxBorderLeft: number | string;
|
|
959
|
+
readonly sendBoxBorderRight: number | string;
|
|
960
|
+
readonly sendBoxBorderTop: number | string;
|
|
668
961
|
readonly sendBoxPlaceholderColor: string;
|
|
669
962
|
readonly sendBoxTextWrap: boolean;
|
|
670
|
-
readonly sendBoxButtonAlignment: "bottom" | "
|
|
963
|
+
readonly sendBoxButtonAlignment: "bottom" | "stretch" | "top";
|
|
671
964
|
readonly showSpokenText: boolean;
|
|
672
965
|
readonly spinnerAnimationBackgroundImage: string;
|
|
673
|
-
readonly spinnerAnimationHeight:
|
|
674
|
-
readonly spinnerAnimationWidth:
|
|
675
|
-
readonly spinnerAnimationPadding:
|
|
676
|
-
readonly suggestedActionBorderRadius:
|
|
966
|
+
readonly spinnerAnimationHeight: number | string;
|
|
967
|
+
readonly spinnerAnimationWidth: number | string;
|
|
968
|
+
readonly spinnerAnimationPadding: number | string;
|
|
969
|
+
readonly suggestedActionBorderRadius: number | string;
|
|
677
970
|
readonly suggestedActionBackground: string;
|
|
678
971
|
readonly suggestedActionBackgroundColor: string;
|
|
679
972
|
readonly suggestedActionBorderColor: string;
|
|
@@ -705,11 +998,11 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
705
998
|
readonly suggestedActionDisabledBorderStyle: string;
|
|
706
999
|
readonly suggestedActionDisabledBorderWidth: number;
|
|
707
1000
|
readonly suggestedActionDisabledTextColor: string;
|
|
708
|
-
readonly suggestedActionHeight:
|
|
709
|
-
readonly suggestedActionImageHeight:
|
|
1001
|
+
readonly suggestedActionHeight: number | string;
|
|
1002
|
+
readonly suggestedActionImageHeight: number | string;
|
|
710
1003
|
readonly suggestedActionLayout: "carousel" | "flow" | "stacked";
|
|
711
1004
|
readonly suggestedActionKeyboardFocusIndicatorBorderColor: string;
|
|
712
|
-
readonly suggestedActionKeyboardFocusIndicatorBorderRadius:
|
|
1005
|
+
readonly suggestedActionKeyboardFocusIndicatorBorderRadius: number | string;
|
|
713
1006
|
readonly suggestedActionKeyboardFocusIndicatorBorderStyle: string;
|
|
714
1007
|
readonly suggestedActionKeyboardFocusIndicatorBorderWidth: number;
|
|
715
1008
|
readonly suggestedActionKeyboardFocusIndicatorInset: number;
|
|
@@ -721,29 +1014,29 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
721
1014
|
readonly suggestedActionsCarouselFlipperSize: number;
|
|
722
1015
|
readonly suggestedActionsFlowMaxHeight: undefined;
|
|
723
1016
|
readonly suggestedActionsStackedHeight: number | "auto";
|
|
724
|
-
readonly suggestedActionsStackedOverflow: "
|
|
725
|
-
readonly suggestedActionsStackedLayoutButtonMaxHeight:
|
|
1017
|
+
readonly suggestedActionsStackedOverflow: "auto" | "hidden" | "scroll" | "visible";
|
|
1018
|
+
readonly suggestedActionsStackedLayoutButtonMaxHeight: number | string;
|
|
726
1019
|
readonly suggestedActionsStackedLayoutButtonTextWrap: boolean;
|
|
727
1020
|
readonly suggestedActionsVisualKeyboardIndicatorColor: string;
|
|
728
1021
|
readonly suggestedActionsVisualKeyboardIndicatorStyle: string;
|
|
729
1022
|
readonly suggestedActionsVisualKeyboardIndicatorWidth: number;
|
|
730
|
-
readonly groupTimestamp:
|
|
1023
|
+
readonly groupTimestamp: boolean | number;
|
|
731
1024
|
readonly sendTimeout: number | ((activity: botframework_webchat_core.WebChatActivity) => number);
|
|
732
1025
|
readonly sendTimeoutForAttachments: number;
|
|
733
1026
|
readonly timestampColor: string;
|
|
734
|
-
readonly timestampFormat: "
|
|
1027
|
+
readonly timestampFormat: "absolute" | "relative";
|
|
735
1028
|
readonly transcriptTerminatorBackgroundColor: string;
|
|
736
|
-
readonly transcriptTerminatorBorderRadius:
|
|
1029
|
+
readonly transcriptTerminatorBorderRadius: number | string;
|
|
737
1030
|
readonly transcriptTerminatorColor: string;
|
|
738
|
-
readonly transcriptTerminatorFontSize:
|
|
1031
|
+
readonly transcriptTerminatorFontSize: number | string;
|
|
739
1032
|
readonly transcriptActivityVisualKeyboardIndicatorColor: string;
|
|
740
1033
|
readonly transcriptActivityVisualKeyboardIndicatorStyle: string;
|
|
741
|
-
readonly transcriptActivityVisualKeyboardIndicatorWidth:
|
|
1034
|
+
readonly transcriptActivityVisualKeyboardIndicatorWidth: number | string;
|
|
742
1035
|
readonly transcriptVisualKeyboardIndicatorColor: string;
|
|
743
1036
|
readonly transcriptVisualKeyboardIndicatorStyle: string;
|
|
744
|
-
readonly transcriptVisualKeyboardIndicatorWidth:
|
|
1037
|
+
readonly transcriptVisualKeyboardIndicatorWidth: number | string;
|
|
745
1038
|
readonly scrollToEndButtonBehavior: false | "any" | "unread";
|
|
746
|
-
readonly scrollToEndButtonFontSize:
|
|
1039
|
+
readonly scrollToEndButtonFontSize: number | string;
|
|
747
1040
|
readonly transcriptOverlayButtonBackground: string;
|
|
748
1041
|
readonly transcriptOverlayButtonBackgroundOnDisabled: string;
|
|
749
1042
|
readonly transcriptOverlayButtonBackgroundOnFocus: string;
|
|
@@ -754,13 +1047,13 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
754
1047
|
readonly transcriptOverlayButtonColorOnHover: string;
|
|
755
1048
|
readonly notificationDebounceTimeout: number;
|
|
756
1049
|
readonly hideToaster: boolean;
|
|
757
|
-
readonly toasterHeight:
|
|
758
|
-
readonly toasterMaxHeight:
|
|
759
|
-
readonly toasterSingularMaxHeight:
|
|
760
|
-
readonly toastFontSize:
|
|
761
|
-
readonly toastIconWidth:
|
|
1050
|
+
readonly toasterHeight: number | string;
|
|
1051
|
+
readonly toasterMaxHeight: number | string;
|
|
1052
|
+
readonly toasterSingularMaxHeight: number | string;
|
|
1053
|
+
readonly toastFontSize: number | string;
|
|
1054
|
+
readonly toastIconWidth: number | string;
|
|
762
1055
|
readonly toastSeparatorColor: string;
|
|
763
|
-
readonly toastTextPadding:
|
|
1056
|
+
readonly toastTextPadding: number | string;
|
|
764
1057
|
readonly toastErrorBackgroundColor: string;
|
|
765
1058
|
readonly toastErrorColor: string;
|
|
766
1059
|
readonly toastInfoBackgroundColor: string;
|
|
@@ -771,15 +1064,23 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
771
1064
|
readonly toastWarnColor: string;
|
|
772
1065
|
readonly typingAnimationBackgroundImage: string;
|
|
773
1066
|
readonly typingAnimationDuration: number;
|
|
774
|
-
readonly typingAnimationHeight:
|
|
775
|
-
readonly typingAnimationWidth:
|
|
1067
|
+
readonly typingAnimationHeight: number | string;
|
|
1068
|
+
readonly typingAnimationWidth: number | string;
|
|
776
1069
|
readonly enableUploadThumbnail: boolean;
|
|
777
1070
|
readonly uploadThumbnailContentType: string;
|
|
778
1071
|
readonly uploadThumbnailHeight: number;
|
|
779
1072
|
readonly uploadThumbnailQuality: number;
|
|
780
1073
|
readonly uploadThumbnailWidth: number;
|
|
781
|
-
readonly videoHeight:
|
|
1074
|
+
readonly videoHeight: number | string;
|
|
782
1075
|
readonly maxMessageLength: number;
|
|
1076
|
+
readonly stylesRoot: Node;
|
|
1077
|
+
readonly borderAnimationColor1: string;
|
|
1078
|
+
readonly borderAnimationColor2: string;
|
|
1079
|
+
readonly borderAnimationColor3: string;
|
|
1080
|
+
readonly codeBlockTheme: "github-light-default" | "github-dark-default";
|
|
1081
|
+
readonly feedbackActionsPlacement: "activity-actions" | "activity-status";
|
|
1082
|
+
readonly speechRecognitionContinuous: boolean | undefined;
|
|
1083
|
+
readonly groupActivitiesBy: readonly string[] | undefined;
|
|
783
1084
|
};
|
|
784
1085
|
readonly root: {
|
|
785
1086
|
backgroundColor: string;
|
|
@@ -797,14 +1098,11 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
797
1098
|
backgroundColor: string;
|
|
798
1099
|
borderRadius: number;
|
|
799
1100
|
borderWidth: number;
|
|
800
|
-
bottom: number;
|
|
801
1101
|
color: string;
|
|
802
1102
|
fontFamily: string;
|
|
803
1103
|
fontSize: string | number;
|
|
804
1104
|
outline: number;
|
|
805
1105
|
padding: number;
|
|
806
|
-
position: string;
|
|
807
|
-
zIndex: number;
|
|
808
1106
|
'&:hover': {
|
|
809
1107
|
backgroundColor: string;
|
|
810
1108
|
color: string;
|
|
@@ -813,12 +1111,6 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
813
1111
|
backgroundColor: string;
|
|
814
1112
|
color: string;
|
|
815
1113
|
};
|
|
816
|
-
'&:not(.webchat__scroll-to-end-button--rtl)': {
|
|
817
|
-
right: number;
|
|
818
|
-
};
|
|
819
|
-
'&.webchat__scroll-to-end-button--rtl': {
|
|
820
|
-
left: number;
|
|
821
|
-
};
|
|
822
1114
|
};
|
|
823
1115
|
};
|
|
824
1116
|
readonly sendBox: {
|
|
@@ -959,15 +1251,6 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
959
1251
|
};
|
|
960
1252
|
};
|
|
961
1253
|
};
|
|
962
|
-
readonly singleAttachmentActivity: {
|
|
963
|
-
'& > .bubble-box': {
|
|
964
|
-
maxWidth: number;
|
|
965
|
-
minWidth: number;
|
|
966
|
-
};
|
|
967
|
-
'& > .filler': {
|
|
968
|
-
minWidth: number;
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
1254
|
readonly spinnerAnimation: {
|
|
972
1255
|
backgroundImage: string;
|
|
973
1256
|
backgroundRepeat: string;
|
|
@@ -999,8 +1282,8 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
999
1282
|
width: number;
|
|
1000
1283
|
};
|
|
1001
1284
|
'& .webchat__stacked-layout__attachment': {
|
|
1002
|
-
maxWidth:
|
|
1003
|
-
minWidth:
|
|
1285
|
+
maxWidth: "var(--webchat__max-width--attachment-bubble)";
|
|
1286
|
+
minWidth: "var(--webchat__min-width--attachment-bubble)";
|
|
1004
1287
|
transitionDuration: string;
|
|
1005
1288
|
transitionProperty: string;
|
|
1006
1289
|
};
|
|
@@ -1012,7 +1295,8 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1012
1295
|
marginTop: number;
|
|
1013
1296
|
};
|
|
1014
1297
|
'& .webchat__stacked-layout__message': {
|
|
1015
|
-
maxWidth:
|
|
1298
|
+
maxWidth: "var(--webchat__max-width--message-bubble)";
|
|
1299
|
+
minWidth: "var(--webchat__min-width--message-bubble)";
|
|
1016
1300
|
overflow: string;
|
|
1017
1301
|
transitionDuration: string;
|
|
1018
1302
|
transitionProperty: string;
|
|
@@ -1024,12 +1308,17 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1024
1308
|
};
|
|
1025
1309
|
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar': {
|
|
1026
1310
|
'& .webchat__stacked-layout__avatar-gutter': {
|
|
1027
|
-
width:
|
|
1311
|
+
width: "var(--webchat__size--avatar)";
|
|
1028
1312
|
};
|
|
1029
1313
|
};
|
|
1030
1314
|
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub': {
|
|
1031
|
-
'& .webchat__stacked-layout__attachment
|
|
1315
|
+
'& .webchat__stacked-layout__attachment': {
|
|
1316
|
+
maxWidth: number;
|
|
1317
|
+
minWidth: number;
|
|
1318
|
+
};
|
|
1319
|
+
'& .webchat__stacked-layout__message': {
|
|
1032
1320
|
maxWidth: number;
|
|
1321
|
+
minWidth: number;
|
|
1033
1322
|
};
|
|
1034
1323
|
'& .webchat__stacked-layout__nub-pad': {
|
|
1035
1324
|
width: number;
|
|
@@ -1228,7 +1517,7 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1228
1517
|
'&.webchat__suggested-actions--stacked-layout': {
|
|
1229
1518
|
'& .webchat__suggested-actions__stack': {
|
|
1230
1519
|
maxHeight: number | "auto";
|
|
1231
|
-
overflowY: "
|
|
1520
|
+
overflowY: "hidden" | "visible" | "auto" | "scroll";
|
|
1232
1521
|
paddingBottom: number;
|
|
1233
1522
|
paddingLeft: number;
|
|
1234
1523
|
paddingRight: number;
|
|
@@ -1470,70 +1759,227 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1470
1759
|
fill: string;
|
|
1471
1760
|
};
|
|
1472
1761
|
};
|
|
1473
|
-
readonly videoAttachment: {};
|
|
1474
|
-
readonly videoContent: {
|
|
1475
|
-
height: string | number;
|
|
1476
|
-
width: string;
|
|
1477
|
-
};
|
|
1478
|
-
readonly vimeoContent: {
|
|
1479
|
-
border: number;
|
|
1480
|
-
height: string | number;
|
|
1481
|
-
width: string;
|
|
1482
|
-
};
|
|
1483
|
-
readonly warningNotification: {
|
|
1484
|
-
alignItems: string;
|
|
1485
|
-
color: string;
|
|
1486
|
-
display: string;
|
|
1487
|
-
fontFamily: string;
|
|
1488
|
-
fontSize: string | number;
|
|
1489
|
-
marginBottom: number;
|
|
1490
|
-
marginLeft: number;
|
|
1491
|
-
marginRight: number;
|
|
1492
|
-
marginTop: number;
|
|
1493
|
-
'& > svg': {
|
|
1494
|
-
fill: string;
|
|
1495
|
-
'&:not(webchat__warning--rtl)': {
|
|
1496
|
-
paddingRight: number;
|
|
1762
|
+
readonly videoAttachment: {};
|
|
1763
|
+
readonly videoContent: {
|
|
1764
|
+
height: string | number;
|
|
1765
|
+
width: string;
|
|
1766
|
+
};
|
|
1767
|
+
readonly vimeoContent: {
|
|
1768
|
+
border: number;
|
|
1769
|
+
height: string | number;
|
|
1770
|
+
width: string;
|
|
1771
|
+
};
|
|
1772
|
+
readonly warningNotification: {
|
|
1773
|
+
alignItems: string;
|
|
1774
|
+
color: string;
|
|
1775
|
+
display: string;
|
|
1776
|
+
fontFamily: string;
|
|
1777
|
+
fontSize: string | number;
|
|
1778
|
+
marginBottom: number;
|
|
1779
|
+
marginLeft: number;
|
|
1780
|
+
marginRight: number;
|
|
1781
|
+
marginTop: number;
|
|
1782
|
+
'& > svg': {
|
|
1783
|
+
fill: string;
|
|
1784
|
+
'&:not(webchat__warning--rtl)': {
|
|
1785
|
+
paddingRight: number;
|
|
1786
|
+
};
|
|
1787
|
+
'&.webchat__warning--rtl': {
|
|
1788
|
+
paddingLeft: number;
|
|
1789
|
+
};
|
|
1790
|
+
};
|
|
1791
|
+
};
|
|
1792
|
+
readonly youTubeContent: {
|
|
1793
|
+
border: number;
|
|
1794
|
+
height: string | number;
|
|
1795
|
+
width: string;
|
|
1796
|
+
};
|
|
1797
|
+
readonly chatHistoryBox: {
|
|
1798
|
+
'&.webchat__chat-history-box': {
|
|
1799
|
+
display: string;
|
|
1800
|
+
flex: string;
|
|
1801
|
+
overflow: string[];
|
|
1802
|
+
position: string;
|
|
1803
|
+
};
|
|
1804
|
+
'.webchat__chat-history-box__toolbar': {
|
|
1805
|
+
bottom: string;
|
|
1806
|
+
isolation: string;
|
|
1807
|
+
position: string;
|
|
1808
|
+
right: string;
|
|
1809
|
+
zIndex: number;
|
|
1810
|
+
'&.webchat__chat-history-box__toolbar--rtl': {
|
|
1811
|
+
left: string;
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
readonly citationModalDialog: {
|
|
1816
|
+
'&.webchat__citation-modal-dialog': {
|
|
1817
|
+
'& .webchat__citation-modal-dialog__body': {
|
|
1818
|
+
lineHeight: string;
|
|
1819
|
+
};
|
|
1820
|
+
};
|
|
1821
|
+
};
|
|
1822
|
+
readonly feedbackForm: {
|
|
1823
|
+
'&.webchat__feedback-form__root-container': {
|
|
1824
|
+
display: string;
|
|
1825
|
+
flexDirection: string;
|
|
1826
|
+
gap: string;
|
|
1827
|
+
width: string;
|
|
1828
|
+
};
|
|
1829
|
+
'.webchat__feedback-form__root-child': {
|
|
1830
|
+
display: string;
|
|
1831
|
+
};
|
|
1832
|
+
'.webchat__feedback-form': {
|
|
1833
|
+
display: string;
|
|
1834
|
+
flexDirection: string;
|
|
1835
|
+
gap: string;
|
|
1836
|
+
position: string;
|
|
1837
|
+
};
|
|
1838
|
+
'.webchat__feedback-form__body': {
|
|
1839
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1840
|
+
fontStyle: string;
|
|
1841
|
+
fontWeight: number;
|
|
1842
|
+
fontSize: string;
|
|
1843
|
+
lineHeight: string;
|
|
1844
|
+
color: string;
|
|
1845
|
+
};
|
|
1846
|
+
'.webchat__feedback-form__caption': {
|
|
1847
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1848
|
+
fontStyle: string;
|
|
1849
|
+
fontWeight: number;
|
|
1850
|
+
fontSize: string;
|
|
1851
|
+
lineHeight: string;
|
|
1852
|
+
color: "var(--webchat__color--subtle)";
|
|
1853
|
+
};
|
|
1854
|
+
'.webchat__feedback-form__container': {
|
|
1855
|
+
display: string;
|
|
1856
|
+
gap: string;
|
|
1857
|
+
marginTop: string;
|
|
1858
|
+
};
|
|
1859
|
+
'.webchat__feedback-form__submit-button': {
|
|
1860
|
+
backgroundColor: "var(--webchat__color--accent)";
|
|
1861
|
+
border: string;
|
|
1862
|
+
borderRadius: string;
|
|
1863
|
+
color: string;
|
|
1864
|
+
cursor: string;
|
|
1865
|
+
fontSize: string;
|
|
1866
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1867
|
+
height: string;
|
|
1868
|
+
padding: string;
|
|
1869
|
+
};
|
|
1870
|
+
'.webchat__feedback-form__submit-button:hover': {
|
|
1871
|
+
backgroundColor: string;
|
|
1872
|
+
border: string;
|
|
1873
|
+
color: string;
|
|
1874
|
+
};
|
|
1875
|
+
'.webchat__feedback-form__submit-button:active': {
|
|
1876
|
+
backgroundColor: string;
|
|
1877
|
+
border: string;
|
|
1878
|
+
color: string;
|
|
1879
|
+
};
|
|
1880
|
+
'.webchat__feedback-form__cancel-button': {
|
|
1881
|
+
backgroundColor: string;
|
|
1882
|
+
borderRadius: string;
|
|
1883
|
+
cursor: string;
|
|
1884
|
+
fontSize: string;
|
|
1885
|
+
border: string;
|
|
1886
|
+
color: "var(--webchat__color--subtle)";
|
|
1887
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1888
|
+
height: string;
|
|
1889
|
+
padding: string;
|
|
1890
|
+
};
|
|
1891
|
+
'.webchat__feedback-form__cancel-button:hover': {
|
|
1892
|
+
backgroundColor: "var(--webchat__color--subtle)";
|
|
1893
|
+
color: string;
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
|
+
readonly feedbackTextArea: {
|
|
1897
|
+
'&.webchat__feedback-form-text-area': {
|
|
1898
|
+
display: string;
|
|
1899
|
+
gridTemplateAreas: string;
|
|
1900
|
+
maxHeight: string;
|
|
1901
|
+
overflow: string;
|
|
1902
|
+
backgroundColor: string;
|
|
1903
|
+
borderRadius: string;
|
|
1904
|
+
border: string;
|
|
1905
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1906
|
+
fontSize: string;
|
|
1907
|
+
gap: string;
|
|
1908
|
+
lineHeight: string;
|
|
1909
|
+
padding: string;
|
|
1910
|
+
position: string;
|
|
1911
|
+
'&::after': {
|
|
1912
|
+
borderBottomLeftRadius: string;
|
|
1913
|
+
borderBottomRightRadius: string;
|
|
1914
|
+
borderBottom: string;
|
|
1915
|
+
bottom: string;
|
|
1916
|
+
clipPath: string;
|
|
1917
|
+
content: string;
|
|
1918
|
+
height: string;
|
|
1919
|
+
left: string;
|
|
1920
|
+
position: string;
|
|
1921
|
+
right: string;
|
|
1922
|
+
transition: string;
|
|
1497
1923
|
};
|
|
1498
|
-
'
|
|
1499
|
-
|
|
1924
|
+
'&:focus-within': {
|
|
1925
|
+
border: string;
|
|
1500
1926
|
};
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
border: number;
|
|
1505
|
-
height: string | number;
|
|
1506
|
-
width: string;
|
|
1507
|
-
};
|
|
1508
|
-
readonly citationModalDialog: {
|
|
1509
|
-
'&.webchat__citation-modal-dialog': {
|
|
1510
|
-
'& .webchat__citation-modal-dialog__body': {
|
|
1511
|
-
lineHeight: string;
|
|
1927
|
+
'&:focus-within::after': {
|
|
1928
|
+
clipPath: string;
|
|
1929
|
+
transition: string;
|
|
1512
1930
|
};
|
|
1513
1931
|
};
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1932
|
+
'&.webchat__feedback-form-text-area--hidden': {
|
|
1933
|
+
height: number;
|
|
1934
|
+
visibility: string;
|
|
1935
|
+
};
|
|
1936
|
+
'.webchat__feedback-form-text-area-shared': {
|
|
1937
|
+
border: string;
|
|
1938
|
+
font: string;
|
|
1939
|
+
gridArea: string;
|
|
1940
|
+
outline: string;
|
|
1941
|
+
overflowWrap: string;
|
|
1942
|
+
resize: string;
|
|
1943
|
+
scrollbarGutter: string;
|
|
1944
|
+
};
|
|
1945
|
+
'.webchat__feedback-form-text-area-doppelganger': {
|
|
1946
|
+
overflow: string;
|
|
1947
|
+
visibility: string;
|
|
1948
|
+
whiteSpace: string;
|
|
1949
|
+
};
|
|
1950
|
+
'.webchat__feedback-form-text-area-input': {
|
|
1951
|
+
backgroundColor: string;
|
|
1952
|
+
color: string;
|
|
1953
|
+
height: string;
|
|
1954
|
+
padding: number;
|
|
1955
|
+
};
|
|
1956
|
+
'.webchat__feedback-form-text-area-input--scroll': {
|
|
1957
|
+
scrollbarColor: string;
|
|
1958
|
+
scrollbarWidth: string;
|
|
1959
|
+
MozScrollbarColor: string;
|
|
1960
|
+
MozScrollbarWidth: string;
|
|
1961
|
+
'&::-webkit-scrollbar': {
|
|
1962
|
+
width: string;
|
|
1963
|
+
};
|
|
1964
|
+
'&::-webkit-scrollbar-thumb': {
|
|
1965
|
+
backgroundColor: "var(--webchat__color--subtle)";
|
|
1966
|
+
borderRadius: string;
|
|
1967
|
+
};
|
|
1968
|
+
'&::-webkit-scrollbar-corner': {
|
|
1969
|
+
backgroundColor: string;
|
|
1970
|
+
};
|
|
1527
1971
|
};
|
|
1528
1972
|
};
|
|
1529
1973
|
readonly linkDefinitions: {
|
|
1530
1974
|
'&.webchat__link-definitions': {
|
|
1531
1975
|
'.webchat__link-definitions__header': {
|
|
1532
1976
|
alignItems: string;
|
|
1977
|
+
cursor: string;
|
|
1533
1978
|
display: string;
|
|
1534
1979
|
fontFamily: "var(--webchat__font--primary)";
|
|
1535
1980
|
fontSize: "var(--webchat__font-size--small)";
|
|
1536
1981
|
gap: number;
|
|
1982
|
+
justifyContent: string;
|
|
1537
1983
|
listStyle: string;
|
|
1538
1984
|
"@media (forced-colors: none)": {
|
|
1539
1985
|
color: string;
|
|
@@ -1542,6 +1988,15 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1542
1988
|
color: string;
|
|
1543
1989
|
};
|
|
1544
1990
|
};
|
|
1991
|
+
'.webchat__link-definitions__header-section': {
|
|
1992
|
+
alignItems: string;
|
|
1993
|
+
display: string;
|
|
1994
|
+
gap: number;
|
|
1995
|
+
overflow: string;
|
|
1996
|
+
};
|
|
1997
|
+
'.webchat__link-definitions__header-section--left': {
|
|
1998
|
+
flexShrink: number;
|
|
1999
|
+
};
|
|
1545
2000
|
'.webchat__link-definitions__header-text': {
|
|
1546
2001
|
flexShrink: number;
|
|
1547
2002
|
};
|
|
@@ -1554,13 +2009,11 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1554
2009
|
'&:not([open]) .webchat__link-definitions__header-chevron': {
|
|
1555
2010
|
transform: string;
|
|
1556
2011
|
};
|
|
1557
|
-
'.webchat__link-definitions__header-filler': {
|
|
1558
|
-
flexGrow: number;
|
|
1559
|
-
};
|
|
1560
2012
|
'.webchat__link-definitions__header-accessory': {
|
|
1561
2013
|
overflow: string;
|
|
1562
2014
|
};
|
|
1563
2015
|
'.webchat__link-definitions__message-sensitivity-label': {
|
|
2016
|
+
alignItems: string;
|
|
1564
2017
|
display: string;
|
|
1565
2018
|
gap: number;
|
|
1566
2019
|
};
|
|
@@ -1700,6 +2153,9 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1700
2153
|
backgroundColor: string;
|
|
1701
2154
|
border: number;
|
|
1702
2155
|
};
|
|
2156
|
+
'&:has(.webchat__modal-dialog__body:empty)': {
|
|
2157
|
+
opacity: number;
|
|
2158
|
+
};
|
|
1703
2159
|
'& .webchat__modal-dialog__box': {
|
|
1704
2160
|
borderRadius: number;
|
|
1705
2161
|
overflow: string;
|
|
@@ -1831,6 +2287,28 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1831
2287
|
'& .webchat__render-markdown__pure-identifier::before': {
|
|
1832
2288
|
content: string;
|
|
1833
2289
|
};
|
|
2290
|
+
'& [data-math-type=block]': {
|
|
2291
|
+
alignItems: string;
|
|
2292
|
+
display: string;
|
|
2293
|
+
flexDirection: string;
|
|
2294
|
+
marginBottom: string;
|
|
2295
|
+
paddingBottom: string;
|
|
2296
|
+
outlineOffset: string;
|
|
2297
|
+
overflowX: string;
|
|
2298
|
+
overflowY: string;
|
|
2299
|
+
scrollbarWidth: string;
|
|
2300
|
+
};
|
|
2301
|
+
'& span[data-math-type=block]': {
|
|
2302
|
+
display: string;
|
|
2303
|
+
};
|
|
2304
|
+
'& [data-math-type=inline]': {
|
|
2305
|
+
alignItems: string;
|
|
2306
|
+
display: string;
|
|
2307
|
+
flexDirection: string;
|
|
2308
|
+
};
|
|
2309
|
+
'& :is([data-math-type=block], [data-math-type=inline]) > span': {
|
|
2310
|
+
display: string;
|
|
2311
|
+
};
|
|
1834
2312
|
};
|
|
1835
2313
|
};
|
|
1836
2314
|
readonly sendStatus: {
|
|
@@ -1844,6 +2322,15 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1844
2322
|
display: string;
|
|
1845
2323
|
gap: number;
|
|
1846
2324
|
};
|
|
2325
|
+
'& .webchat__activity-status-slot': {
|
|
2326
|
+
display: string;
|
|
2327
|
+
'&:not(:first-child)::before': {
|
|
2328
|
+
content: string;
|
|
2329
|
+
};
|
|
2330
|
+
'&:empty': {
|
|
2331
|
+
display: string;
|
|
2332
|
+
};
|
|
2333
|
+
};
|
|
1847
2334
|
'& .webchat__activity-status__originator': {
|
|
1848
2335
|
alignItems: string;
|
|
1849
2336
|
'&.webchat__activity-status__originator--has-link': {
|
|
@@ -1851,17 +2338,6 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1851
2338
|
};
|
|
1852
2339
|
};
|
|
1853
2340
|
};
|
|
1854
|
-
readonly slottedActivityStatus: {
|
|
1855
|
-
'&.webchat__slotted-activity-status': {
|
|
1856
|
-
alignItems: string;
|
|
1857
|
-
display: string;
|
|
1858
|
-
gap: number;
|
|
1859
|
-
marginTop: string;
|
|
1860
|
-
'& .webchat__slotted-activity-status__pipe': {
|
|
1861
|
-
fontSize: "var(--webchat__font-size--small)";
|
|
1862
|
-
};
|
|
1863
|
-
};
|
|
1864
|
-
};
|
|
1865
2341
|
readonly textContent: {
|
|
1866
2342
|
'&.webchat__text-content': {
|
|
1867
2343
|
fontFamily: "var(--webchat__font--primary)";
|
|
@@ -1874,7 +2350,8 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1874
2350
|
gap: "var(--webchat__padding--regular)";
|
|
1875
2351
|
};
|
|
1876
2352
|
'& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)': {
|
|
1877
|
-
maxWidth: "var(--webchat__max-width--bubble)";
|
|
2353
|
+
maxWidth: "var(--webchat__max-width--message-bubble)";
|
|
2354
|
+
minWidth: "var(--webchat__min-width--message-bubble)";
|
|
1878
2355
|
width: string;
|
|
1879
2356
|
};
|
|
1880
2357
|
'& .webchat__text-content__markdown pre': {
|
|
@@ -1883,36 +2360,195 @@ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
|
1883
2360
|
'& .webchat__text-content__open-in-new-window-icon': {
|
|
1884
2361
|
height: string;
|
|
1885
2362
|
};
|
|
2363
|
+
'& .webchat__text-content__activity-actions': {
|
|
2364
|
+
alignSelf: string;
|
|
2365
|
+
display: string;
|
|
2366
|
+
gap: string;
|
|
2367
|
+
width: string;
|
|
2368
|
+
};
|
|
2369
|
+
'& .webchat__text-content__activity-actions:empty': {
|
|
2370
|
+
display: string;
|
|
2371
|
+
};
|
|
1886
2372
|
};
|
|
1887
2373
|
};
|
|
1888
2374
|
readonly thumbButton: {
|
|
1889
2375
|
'&.webchat__thumb-button': {
|
|
2376
|
+
alignItems: string;
|
|
1890
2377
|
appearance: string;
|
|
1891
2378
|
background: string;
|
|
1892
2379
|
border: number;
|
|
1893
2380
|
borderRadius: number;
|
|
2381
|
+
boxSizing: string;
|
|
2382
|
+
display: string;
|
|
2383
|
+
gridTemplateAreas: string;
|
|
1894
2384
|
height: number;
|
|
1895
|
-
|
|
2385
|
+
justifyContent: string;
|
|
1896
2386
|
padding: number;
|
|
1897
2387
|
width: number;
|
|
2388
|
+
'&.webchat__thumb-button--large': {
|
|
2389
|
+
border: string;
|
|
2390
|
+
borderRadius: string;
|
|
2391
|
+
height: string;
|
|
2392
|
+
padding: string;
|
|
2393
|
+
width: string;
|
|
2394
|
+
'& .webchat__thumb-button__image': {
|
|
2395
|
+
color: string;
|
|
2396
|
+
fontSize: string;
|
|
2397
|
+
height: string;
|
|
2398
|
+
width: string;
|
|
2399
|
+
};
|
|
2400
|
+
'&:hover, &:active, &.webchat__thumb-button--is-pressed': {
|
|
2401
|
+
background: string;
|
|
2402
|
+
color: "var(--webchat__color--accent)";
|
|
2403
|
+
};
|
|
2404
|
+
'&[aria-disabled="true"]': {
|
|
2405
|
+
color: "var(--webchat__color--subtle)";
|
|
2406
|
+
};
|
|
2407
|
+
'&.webchat__thumb-button--submitted:not(.webchat__thumb-button--is-pressed) .webchat__tooltip': {
|
|
2408
|
+
display: string;
|
|
2409
|
+
};
|
|
2410
|
+
'&.webchat__thumb-button--submitted .webchat__tooltip': {
|
|
2411
|
+
'--webchat__tooltip-anchor-inline-start': string;
|
|
2412
|
+
};
|
|
2413
|
+
};
|
|
1898
2414
|
'&:active': {
|
|
1899
2415
|
background: string;
|
|
1900
2416
|
};
|
|
1901
|
-
'&:focus': {
|
|
2417
|
+
'&:focus-visible': {
|
|
1902
2418
|
outline: string;
|
|
1903
2419
|
};
|
|
1904
2420
|
'& .webchat__thumb-button__image': {
|
|
1905
2421
|
color: "var(--webchat__color--accent)";
|
|
2422
|
+
gridArea: string;
|
|
2423
|
+
visibility: string;
|
|
1906
2424
|
width: number;
|
|
2425
|
+
'&.webchat__thumb-button__image--is-stroked': {
|
|
2426
|
+
visibility: string;
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
'&:not([aria-disabled="true"]):hover, &.webchat__thumb-button--is-pressed': {
|
|
2430
|
+
'& .webchat__thumb-button__image': {
|
|
2431
|
+
'&.webchat__thumb-button__image--is-stroked': {
|
|
2432
|
+
visibility: string;
|
|
2433
|
+
};
|
|
2434
|
+
'&.webchat__thumb-button__image--is-filled': {
|
|
2435
|
+
visibility: string;
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
};
|
|
2440
|
+
};
|
|
2441
|
+
readonly tooltip: {
|
|
2442
|
+
'*:has(> &.webchat__tooltip)': {
|
|
2443
|
+
position: string;
|
|
2444
|
+
'&:is(:hover, :focus-visible, :active) > .webchat__tooltip': {
|
|
2445
|
+
opacity: number;
|
|
2446
|
+
transitionDelay: string;
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
'&.webchat__tooltip': {
|
|
2450
|
+
'--webchat__tooltip-tip-size': string;
|
|
2451
|
+
'--webchat__tooltip-background': string;
|
|
2452
|
+
'--webchat__tooltip-anchor-inline-start': string;
|
|
2453
|
+
background: string;
|
|
2454
|
+
borderRadius: string;
|
|
2455
|
+
color: string;
|
|
2456
|
+
filter: string;
|
|
2457
|
+
fontSize: string;
|
|
2458
|
+
inlineSize: string;
|
|
2459
|
+
isolation: string;
|
|
2460
|
+
lineHeight: string;
|
|
2461
|
+
margin: number;
|
|
2462
|
+
maxInlineSize: string;
|
|
2463
|
+
opacity: number;
|
|
2464
|
+
padding: string;
|
|
2465
|
+
pointerEvents: string;
|
|
2466
|
+
position: string;
|
|
2467
|
+
textAlign: string;
|
|
2468
|
+
transition: string;
|
|
2469
|
+
userSelect: string;
|
|
2470
|
+
willChange: string;
|
|
2471
|
+
'&::after': {
|
|
2472
|
+
background: string;
|
|
2473
|
+
color: string;
|
|
2474
|
+
content: string;
|
|
2475
|
+
inset: number;
|
|
2476
|
+
position: string;
|
|
2477
|
+
};
|
|
2478
|
+
'&.webchat__tooltip--block-start, &.webchat__tooltip--block-end': {
|
|
2479
|
+
textAlign: string;
|
|
2480
|
+
};
|
|
2481
|
+
'&.webchat__tooltip--block-start': {
|
|
2482
|
+
insetBlockEnd: string;
|
|
2483
|
+
insetInlineStart: string;
|
|
2484
|
+
transform: string;
|
|
2485
|
+
'&::after': {
|
|
2486
|
+
border: string;
|
|
2487
|
+
borderBottomLeftRadius: string;
|
|
2488
|
+
clipPath: string;
|
|
2489
|
+
height: string;
|
|
2490
|
+
insetBlockStart: string;
|
|
2491
|
+
insetInlineStart: string;
|
|
2492
|
+
transform: string;
|
|
2493
|
+
width: string;
|
|
2494
|
+
};
|
|
1907
2495
|
};
|
|
1908
|
-
|
|
2496
|
+
};
|
|
2497
|
+
};
|
|
2498
|
+
readonly viewCodeDialog: {
|
|
2499
|
+
'&.webchat__view-code-dialog': {
|
|
2500
|
+
boxSizing: string;
|
|
2501
|
+
display: string;
|
|
2502
|
+
height: string;
|
|
2503
|
+
maxHeight: string;
|
|
2504
|
+
overflow: string;
|
|
2505
|
+
padding: string;
|
|
2506
|
+
placeItems: string;
|
|
2507
|
+
'& .webchat__modal-dialog__box': {
|
|
1909
2508
|
display: string;
|
|
2509
|
+
flexDirection: string;
|
|
2510
|
+
maxHeight: string;
|
|
2511
|
+
maxWidth: string;
|
|
2512
|
+
position: string;
|
|
2513
|
+
};
|
|
2514
|
+
'& .webchat__modal-dialog__close-button-layout': {
|
|
2515
|
+
position: string;
|
|
2516
|
+
right: number;
|
|
1910
2517
|
};
|
|
1911
|
-
'
|
|
2518
|
+
'& .webchat__modal-dialog__body': {
|
|
1912
2519
|
display: string;
|
|
2520
|
+
flexDirection: string;
|
|
2521
|
+
gap: "var(--webchat__padding--regular)";
|
|
2522
|
+
overflow: string;
|
|
1913
2523
|
};
|
|
1914
|
-
'
|
|
2524
|
+
'& .webchat__view-code-dialog__header': {
|
|
2525
|
+
alignItems: string;
|
|
1915
2526
|
display: string;
|
|
2527
|
+
paddingInlineEnd: string;
|
|
2528
|
+
};
|
|
2529
|
+
'& .webchat__view-code-dialog__title': {
|
|
2530
|
+
margin: string;
|
|
2531
|
+
textTransform: string;
|
|
2532
|
+
};
|
|
2533
|
+
'& .webchat__view-code-dialog__body': {
|
|
2534
|
+
border: string;
|
|
2535
|
+
borderRadius: number;
|
|
2536
|
+
overflow: string;
|
|
2537
|
+
height: string;
|
|
2538
|
+
'.webchat__code-block__body': {
|
|
2539
|
+
display: string;
|
|
2540
|
+
margin: number;
|
|
2541
|
+
padding: string;
|
|
2542
|
+
};
|
|
2543
|
+
};
|
|
2544
|
+
'& .webchat__view-code-dialog__footer': {
|
|
2545
|
+
color: "var(--webchat__color--subtle)";
|
|
2546
|
+
lineHeight: string;
|
|
2547
|
+
};
|
|
2548
|
+
'& .webchat__view-code-dialog__copy-button': {
|
|
2549
|
+
position: string;
|
|
2550
|
+
right: string;
|
|
2551
|
+
top: string;
|
|
1916
2552
|
};
|
|
1917
2553
|
};
|
|
1918
2554
|
};
|
|
@@ -1931,6 +2567,18 @@ type ContextType = {
|
|
|
1931
2567
|
};
|
|
1932
2568
|
declare const context: react.Context<ContextType>;
|
|
1933
2569
|
|
|
2570
|
+
declare function useTransformHTMLContent(): (documentFragment: DocumentFragment) => DocumentFragment;
|
|
2571
|
+
|
|
2572
|
+
declare const testIds: {
|
|
2573
|
+
codeBlockCopyButton: string;
|
|
2574
|
+
copyButton: string;
|
|
2575
|
+
sendBoxSpeechBox: string;
|
|
2576
|
+
sendBoxTextBox: string;
|
|
2577
|
+
typingIndicator: string;
|
|
2578
|
+
viewCodeButton: string;
|
|
2579
|
+
feedbackSendBox: string;
|
|
2580
|
+
};
|
|
2581
|
+
|
|
1934
2582
|
type InputTargetProps<H> = {
|
|
1935
2583
|
onChange?: (event: ChangeEvent<H>) => void;
|
|
1936
2584
|
onFocus?: (event: FocusEvent<H>) => void;
|
|
@@ -1944,6 +2592,16 @@ declare function withEmoji<T extends ComponentType<P>, P extends InputTargetProp
|
|
|
1944
2592
|
onChange?: (value: string | undefined) => void;
|
|
1945
2593
|
}>> & react__default.RefAttributes<H>>;
|
|
1946
2594
|
|
|
2595
|
+
type ContextOf<T extends Context$1<unknown>> = T extends Context$1<infer C> ? C : never;
|
|
2596
|
+
|
|
2597
|
+
declare const Context: react.Context<Readonly<{
|
|
2598
|
+
shouldReduceMotionState: readonly [boolean];
|
|
2599
|
+
}>>;
|
|
2600
|
+
|
|
2601
|
+
declare function useContext(): ContextOf<typeof Context>;
|
|
2602
|
+
|
|
2603
|
+
declare function useShouldReduceMotion(): ReturnType<typeof useContext>['shouldReduceMotionState'];
|
|
2604
|
+
|
|
1947
2605
|
declare function useDictateAbortable(): [boolean];
|
|
1948
2606
|
|
|
1949
2607
|
declare function useFocus(): (where?: 'main' | 'sendBox' | 'sendBoxWithoutKeyboard') => Promise<void>;
|
|
@@ -1996,8 +2654,6 @@ declare function useWebSpeechPonyfill(): [WebSpeechPonyfill];
|
|
|
1996
2654
|
|
|
1997
2655
|
declare function useTypingIndicatorVisible(): readonly [boolean];
|
|
1998
2656
|
|
|
1999
|
-
declare function useSendBoxSpeechInterimsVisible(): [boolean];
|
|
2000
|
-
|
|
2001
2657
|
declare function useMicrophoneButtonClick(): () => void;
|
|
2002
2658
|
declare function useMicrophoneButtonDisabled(): [boolean];
|
|
2003
2659
|
|
|
@@ -2040,9 +2696,11 @@ declare const hooks: {
|
|
|
2040
2696
|
useSendBoxSpeechInterimsVisible: typeof useSendBoxSpeechInterimsVisible;
|
|
2041
2697
|
useSendFiles: typeof useSendFiles;
|
|
2042
2698
|
useSendMessage: typeof useSendMessage;
|
|
2699
|
+
useShouldReduceMotion: typeof useShouldReduceMotion;
|
|
2043
2700
|
useStyleSet: typeof useStyleSet;
|
|
2044
2701
|
useTextBoxSubmit: typeof useTextBoxSubmit;
|
|
2045
2702
|
useTextBoxValue: typeof useTextBoxValue;
|
|
2703
|
+
useTransformHTMLContent: typeof useTransformHTMLContent;
|
|
2046
2704
|
useTypingIndicatorVisible: typeof useTypingIndicatorVisible;
|
|
2047
2705
|
useWebSpeechPonyfill: typeof useWebSpeechPonyfill;
|
|
2048
2706
|
useActiveTyping: (expireAfter?: number) => readonly [Readonly<Record<string, botframework_webchat_api.Typing>>];
|
|
@@ -2064,35 +2722,35 @@ declare const hooks: {
|
|
|
2064
2722
|
useCreateAttachmentForScreenReaderRenderer: () => botframework_webchat_api.AttachmentForScreenReaderComponentFactory;
|
|
2065
2723
|
useCreateAvatarRenderer: () => ({ activity }: {
|
|
2066
2724
|
activity: WebChatActivity;
|
|
2067
|
-
}) => false | (() => react.
|
|
2725
|
+
}) => false | (() => Exclude<react.ReactNode, boolean | null | undefined>);
|
|
2068
2726
|
useCreateScrollToEndButtonRenderer: () => botframework_webchat_api.ScrollToEndButtonComponentFactory;
|
|
2069
|
-
useDateFormatter: () => (date:
|
|
2727
|
+
useDateFormatter: () => (date: Date | number | string) => string;
|
|
2070
2728
|
useDebouncedNotifications: () => [botframework_webchat_api.DebouncedNotifications];
|
|
2071
2729
|
useDictateInterims: () => [string[], (interims: string[]) => void];
|
|
2072
2730
|
useDictateState: () => [number];
|
|
2073
2731
|
useDirection: () => ["auto" | "ltr" | "rtl"];
|
|
2074
|
-
useDisabled: () => [boolean];
|
|
2732
|
+
useDisabled: () => readonly [boolean];
|
|
2075
2733
|
useDismissNotification: () => (id: string) => void;
|
|
2076
2734
|
useEmitTypingIndicator: () => () => void;
|
|
2077
|
-
useGetActivitiesByKey: () => (key?: string) => readonly WebChatActivity[];
|
|
2078
|
-
useGetActivityByKey: () => (key?: string) => WebChatActivity;
|
|
2735
|
+
useGetActivitiesByKey: () => (key?: string) => readonly WebChatActivity[] | undefined;
|
|
2736
|
+
useGetActivityByKey: () => (key?: string) => undefined | WebChatActivity;
|
|
2079
2737
|
useGetHasAcknowledgedByActivityKey: typeof hooks$1.useGetHasAcknowledgedByActivityKey;
|
|
2080
|
-
useGetKeyByActivity: () => (activity?: WebChatActivity) => string;
|
|
2081
|
-
useGetKeyByActivityId: () => (activityId?: string) => string;
|
|
2738
|
+
useGetKeyByActivity: () => (activity?: WebChatActivity) => string | undefined;
|
|
2739
|
+
useGetKeyByActivityId: () => (activityId?: string) => string | undefined;
|
|
2082
2740
|
useGetSendTimeoutForActivity: () => ({ activity }: {
|
|
2083
2741
|
activity: WebChatActivity;
|
|
2084
2742
|
}) => number;
|
|
2085
2743
|
useGrammars: () => [any];
|
|
2086
|
-
useGroupActivities: () => ({ activities }: {
|
|
2087
|
-
activities: WebChatActivity[];
|
|
2088
|
-
}) => {
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
useGroupTimestamp: () => [
|
|
2744
|
+
useGroupActivities: () => ({ activities }: Readonly<{
|
|
2745
|
+
activities: readonly WebChatActivity[];
|
|
2746
|
+
}>) => Readonly<{
|
|
2747
|
+
[key: string]: readonly (readonly WebChatActivity[])[];
|
|
2748
|
+
}>;
|
|
2749
|
+
useGroupActivitiesByName: typeof hooks$1.useGroupActivitiesByName;
|
|
2750
|
+
useGroupTimestamp: () => [boolean | number];
|
|
2093
2751
|
useLanguage: (options?: "speech") => [string];
|
|
2094
2752
|
useLastAcknowledgedActivityKey: () => readonly [string];
|
|
2095
|
-
useLastReadActivityKey: () => readonly [string];
|
|
2753
|
+
useLastReadActivityKey: () => readonly [string | undefined];
|
|
2096
2754
|
useLocalizer: ({ plural }?: {
|
|
2097
2755
|
plural?: boolean;
|
|
2098
2756
|
}) => (id: string | {
|
|
@@ -2102,38 +2760,20 @@ declare const hooks: {
|
|
|
2102
2760
|
few?: string;
|
|
2103
2761
|
many?: string;
|
|
2104
2762
|
other: string;
|
|
2105
|
-
}, args_0?: string | number, ...
|
|
2763
|
+
}, args_0?: string | number, ...args: string[]) => any;
|
|
2106
2764
|
useMarkActivityAsSpoken: () => (activity: WebChatActivity) => void;
|
|
2107
2765
|
useMarkActivityKeyAsRead: () => (activityKey: string) => void;
|
|
2108
2766
|
useMarkAllAsAcknowledged: () => () => void;
|
|
2109
2767
|
useNotifications: () => [botframework_webchat_api.Notification[]];
|
|
2110
2768
|
usePerformCardAction: () => botframework_webchat_api.PerformCardAction;
|
|
2111
|
-
usePonyfill: () => readonly [
|
|
2112
|
-
cancelAnimationFrame?: typeof cancelAnimationFrame;
|
|
2113
|
-
cancelIdleCallback?: typeof cancelIdleCallback;
|
|
2114
|
-
clearImmediate?: typeof clearImmediate;
|
|
2115
|
-
clearInterval: typeof clearInterval;
|
|
2116
|
-
clearTimeout: typeof clearTimeout;
|
|
2117
|
-
Date: DateConstructor;
|
|
2118
|
-
requestAnimationFrame?: typeof requestAnimationFrame;
|
|
2119
|
-
requestIdleCallback?: typeof requestIdleCallback;
|
|
2120
|
-
setImmediate?: typeof setImmediate;
|
|
2121
|
-
setInterval: typeof setInterval;
|
|
2122
|
-
setTimeout: typeof setTimeout;
|
|
2123
|
-
}];
|
|
2769
|
+
usePonyfill: () => readonly [botframework_webchat_core.GlobalScopePonyfill];
|
|
2124
2770
|
usePostActivity: () => (activity: WebChatActivity) => botframework_webchat_core.Observable<string>;
|
|
2125
2771
|
useReferenceGrammarID: () => [string];
|
|
2126
|
-
useRelativeTimeFormatter: () => (dateOrString:
|
|
2127
|
-
useRenderAttachment: () => botframework_webchat_api.RenderAttachment;
|
|
2772
|
+
useRelativeTimeFormatter: () => (dateOrString: Date | string) => string;
|
|
2773
|
+
useRenderAttachment: () => botframework_webchat_api.RenderAttachment | undefined;
|
|
2128
2774
|
useRenderToast: () => botframework_webchat_api.RenderToast;
|
|
2129
2775
|
useRenderTypingIndicator: () => botframework_webchat_api.RenderTypingIndicator;
|
|
2130
|
-
useSendBoxAttachments: () => readonly [readonly
|
|
2131
|
-
blob: Blob | File;
|
|
2132
|
-
thumbnailURL?: URL;
|
|
2133
|
-
}>[], (attachments: readonly Readonly<{
|
|
2134
|
-
blob: Blob | File;
|
|
2135
|
-
thumbnailURL?: URL;
|
|
2136
|
-
}>[]) => void];
|
|
2776
|
+
useSendBoxAttachments: () => readonly [readonly botframework_webchat_core.SendBoxAttachment[], (attachments: readonly botframework_webchat_core.SendBoxAttachment[]) => void];
|
|
2137
2777
|
useSendBoxValue: () => [string, (value: string) => void];
|
|
2138
2778
|
useSendEvent: () => (name: string, value: any) => void;
|
|
2139
2779
|
useSendMessageBack: () => (value: any, text?: string, displayText?: string) => void;
|
|
@@ -2149,7 +2789,9 @@ declare const hooks: {
|
|
|
2149
2789
|
useSubmitSendBox: () => (method?: string, { channelData }?: {
|
|
2150
2790
|
channelData: any;
|
|
2151
2791
|
}) => void;
|
|
2152
|
-
useSuggestedActions: () => [botframework_webchat_core.DirectLineCardAction[], (suggestedActions: never[]) => void
|
|
2792
|
+
useSuggestedActions: () => [botframework_webchat_core.DirectLineCardAction[], (suggestedActions: never[]) => void, extras: {
|
|
2793
|
+
activity: WebChatActivity;
|
|
2794
|
+
}];
|
|
2153
2795
|
useTimeoutForSend: () => [number | ((activity: WebChatActivity) => number)];
|
|
2154
2796
|
useTrackDimension: () => (name: string, data: any) => void;
|
|
2155
2797
|
useTrackEvent: () => {
|
|
@@ -2161,15 +2803,10 @@ declare const hooks: {
|
|
|
2161
2803
|
};
|
|
2162
2804
|
useTrackException: () => (error: Error, fatal: boolean) => void;
|
|
2163
2805
|
useTrackTiming: <T>() => (name: string, functionOrPromise: (() => T) | Promise<T>) => Promise<T>;
|
|
2806
|
+
useUIState: () => readonly ["blueprint" | "disabled" | undefined];
|
|
2164
2807
|
useUserID: () => [string];
|
|
2165
2808
|
useUsername: () => [string];
|
|
2166
|
-
useVoiceSelector: (activity: any) => (voices:
|
|
2167
|
-
new (): SpeechSynthesisVoice;
|
|
2168
|
-
prototype: SpeechSynthesisVoice;
|
|
2169
|
-
}[]) => {
|
|
2170
|
-
new (): SpeechSynthesisVoice;
|
|
2171
|
-
prototype: SpeechSynthesisVoice;
|
|
2172
|
-
};
|
|
2809
|
+
useVoiceSelector: (activity: any) => (voices: (typeof window.SpeechSynthesisVoice)[]) => typeof window.SpeechSynthesisVoice;
|
|
2173
2810
|
};
|
|
2174
2811
|
declare const version: string;
|
|
2175
2812
|
declare const buildInfo: {
|
|
@@ -2178,9 +2815,9 @@ declare const buildInfo: {
|
|
|
2178
2815
|
version: string;
|
|
2179
2816
|
};
|
|
2180
2817
|
declare const Components: {
|
|
2181
|
-
BasicWebChat: react.
|
|
2818
|
+
BasicWebChat: react.MemoExoticComponent<(props: BasicWebChatProps) => react.JSX.Element>;
|
|
2182
2819
|
Composer: {
|
|
2183
|
-
({ activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, children, extraStyleSet, renderMarkdown, scrollToEndButtonMiddleware, sendBoxMiddleware: sendBoxMiddlewareFromProps, sendBoxToolbarMiddleware: sendBoxToolbarMiddlewareFromProps, styleOptions, styleSet, suggestedActionsAccessKey, toastMiddleware, typingIndicatorMiddleware, webSpeechPonyfillFactory, ...composerProps }: ComposerProps): react.JSX.Element;
|
|
2820
|
+
({ activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, children, decoratorMiddleware, extraStyleSet, htmlContentTransformMiddleware, renderMarkdown, scrollToEndButtonMiddleware, sendBoxMiddleware: sendBoxMiddlewareFromProps, sendBoxToolbarMiddleware: sendBoxToolbarMiddlewareFromProps, styleOptions, styleSet, suggestedActionsAccessKey, toastMiddleware, typingIndicatorMiddleware, webSpeechPonyfillFactory, ...composerProps }: ComposerProps): react.JSX.Element;
|
|
2184
2821
|
defaultProps: {
|
|
2185
2822
|
children: any;
|
|
2186
2823
|
extraStyleSet: any;
|
|
@@ -2208,118 +2845,59 @@ declare const Components: {
|
|
|
2208
2845
|
store: PropTypes.Requireable<any>;
|
|
2209
2846
|
};
|
|
2210
2847
|
};
|
|
2211
|
-
ThemeProvider: react.MemoExoticComponent<({
|
|
2212
|
-
children?: react.ReactNode;
|
|
2213
|
-
} & Partial<
|
|
2848
|
+
ThemeProvider: react.MemoExoticComponent<({ activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, children, groupActivitiesMiddleware, scrollToEndButtonMiddleware, sendBoxMiddleware, sendBoxToolbarMiddleware, styleOptions, styles, toastMiddleware, typingIndicatorMiddleware }: Readonly<{
|
|
2849
|
+
children?: react.ReactNode | undefined;
|
|
2850
|
+
} & Partial<ThemeContextType>>) => react.JSX.Element>;
|
|
2214
2851
|
AccessKeySinkSurface: any;
|
|
2215
2852
|
BasicConnectivityStatus: any;
|
|
2216
|
-
BasicSendBox: react.
|
|
2217
|
-
|
|
2218
|
-
}>>;
|
|
2219
|
-
BasicSendBoxToolbar: react.MemoExoticComponent<({ className }: {
|
|
2220
|
-
className?: string;
|
|
2221
|
-
}) => react.JSX.Element>;
|
|
2853
|
+
BasicSendBox: react.MemoExoticComponent<(props: BasicSendBoxProps) => react.JSX.Element>;
|
|
2854
|
+
BasicSendBoxToolbar: react.MemoExoticComponent<({ className }: botframework_webchat_api.SendBoxToolbarMiddlewareProps) => react.JSX.Element>;
|
|
2222
2855
|
BasicToaster: any;
|
|
2223
|
-
BasicTranscript: react.
|
|
2224
|
-
className
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
alt?: string;
|
|
2228
|
-
autoPlay?: boolean;
|
|
2229
|
-
loop?: boolean;
|
|
2230
|
-
poster?: string;
|
|
2231
|
-
src: string;
|
|
2232
|
-
}>;
|
|
2233
|
-
FileContent: react.FC<{
|
|
2234
|
-
className?: string;
|
|
2235
|
-
fileName: string;
|
|
2236
|
-
href?: string;
|
|
2237
|
-
size?: number;
|
|
2238
|
-
}>;
|
|
2239
|
-
HTMLVideoContent: react.FC<{
|
|
2240
|
-
alt?: string;
|
|
2241
|
-
autoPlay?: boolean;
|
|
2242
|
-
loop?: boolean;
|
|
2243
|
-
poster?: string;
|
|
2244
|
-
src: string;
|
|
2245
|
-
}>;
|
|
2246
|
-
ImageContent: react.FC<{
|
|
2247
|
-
alt?: string;
|
|
2248
|
-
src: string;
|
|
2856
|
+
BasicTranscript: react.ComponentType<{
|
|
2857
|
+
readonly className: string;
|
|
2858
|
+
ref?: react.Ref<never>;
|
|
2859
|
+
key?: react.Key | null | undefined;
|
|
2249
2860
|
}>;
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
}>>;
|
|
2255
|
-
VideoContent: react.FC<{
|
|
2861
|
+
AudioContent: react.MemoExoticComponent<(props: AudioContentProps) => react.JSX.Element>;
|
|
2862
|
+
FileContent: react.MemoExoticComponent<(props: FileContentProps) => react.JSX.Element>;
|
|
2863
|
+
HTMLVideoContent: react.MemoExoticComponent<(props: HTMLVideoContentProps) => react.JSX.Element>;
|
|
2864
|
+
ImageContent: react.MemoExoticComponent<({ alt, src }: Readonly<{
|
|
2256
2865
|
alt?: string;
|
|
2257
|
-
autoPlay?: boolean;
|
|
2258
|
-
loop?: boolean;
|
|
2259
|
-
poster?: string;
|
|
2260
2866
|
src: string;
|
|
2867
|
+
}>) => react.JSX.Element>;
|
|
2868
|
+
TextContent: react.MemoExoticComponent<(props: TextContentProps) => react.JSX.Element>;
|
|
2869
|
+
VideoContent: react.MemoExoticComponent<(props: VideoContentProps) => react.JSX.Element>;
|
|
2870
|
+
VimeoContent: react.MemoExoticComponent<(props: VimeoContentProps) => react.JSX.Element>;
|
|
2871
|
+
YouTubeContent: react.MemoExoticComponent<(props: YouTubeContentProps) => react.JSX.Element>;
|
|
2872
|
+
Avatar: react.MemoExoticComponent<(props: AvatarProps) => react.JSX.Element>;
|
|
2873
|
+
Bubble: react.MemoExoticComponent<(props: BubbleProps) => react.JSX.Element>;
|
|
2874
|
+
ErrorBox: react.MemoExoticComponent<(props: ErrorBoxProps) => react.JSX.Element>;
|
|
2875
|
+
SendStatus: react.MemoExoticComponent<(props: SendStatusProps) => react.JSX.Element>;
|
|
2876
|
+
SpeakActivity: react.MemoExoticComponent<(props: SpeakProps) => react.JSX.Element>;
|
|
2877
|
+
Timestamp: react.MemoExoticComponent<(props: TimestampProps) => react.JSX.Element>;
|
|
2878
|
+
DictationInterims: react.MemoExoticComponent<(props: DictationInterimsProps) => react.JSX.Element>;
|
|
2879
|
+
MicrophoneButton: react.MemoExoticComponent<{
|
|
2880
|
+
({ className }: Readonly<{
|
|
2881
|
+
className?: string | undefined;
|
|
2882
|
+
}>): react.JSX.Element;
|
|
2883
|
+
displayName: string;
|
|
2261
2884
|
}>;
|
|
2262
|
-
|
|
2263
|
-
alt?: string;
|
|
2264
|
-
autoPlay?: boolean;
|
|
2265
|
-
embedID: string;
|
|
2266
|
-
loop?: boolean;
|
|
2267
|
-
}>;
|
|
2268
|
-
YouTubeContent: react.FC<{
|
|
2269
|
-
alt?: string;
|
|
2270
|
-
autoPlay?: boolean;
|
|
2271
|
-
embedID: string;
|
|
2272
|
-
loop?: boolean;
|
|
2273
|
-
}>;
|
|
2274
|
-
Avatar: react.VFC<{
|
|
2275
|
-
'aria-hidden'?: boolean;
|
|
2276
|
-
className?: string;
|
|
2277
|
-
fromUser?: boolean;
|
|
2278
|
-
}>;
|
|
2279
|
-
Bubble: react.NamedExoticComponent<{
|
|
2280
|
-
'aria-hidden'?: boolean;
|
|
2281
|
-
children?: react.ReactNode;
|
|
2282
|
-
className?: string;
|
|
2283
|
-
fromUser?: boolean;
|
|
2284
|
-
nub?: boolean | "hidden";
|
|
2285
|
-
}>;
|
|
2286
|
-
ErrorBox: react.FC<{
|
|
2287
|
-
error: Error;
|
|
2288
|
-
type?: string;
|
|
2289
|
-
}>;
|
|
2290
|
-
SendStatus: react.FC<{
|
|
2291
|
-
activity: WebChatActivity;
|
|
2292
|
-
sendStatus: SendStatus;
|
|
2293
|
-
}>;
|
|
2294
|
-
SpeakActivity: react.NamedExoticComponent<{
|
|
2295
|
-
activity: WebChatActivity;
|
|
2296
|
-
}>;
|
|
2297
|
-
Timestamp: react.FC<{
|
|
2298
|
-
timestamp: string;
|
|
2299
|
-
}>;
|
|
2300
|
-
DictationInterims: react.FC<{
|
|
2301
|
-
className?: string;
|
|
2302
|
-
}>;
|
|
2303
|
-
MicrophoneButton: react.FC<{
|
|
2304
|
-
className?: string;
|
|
2305
|
-
}>;
|
|
2306
|
-
SendButton: react.FC<{
|
|
2307
|
-
className?: string;
|
|
2308
|
-
}>;
|
|
2885
|
+
SendButton: typeof SendButton;
|
|
2309
2886
|
SendTextBox: ({ className }: Readonly<{
|
|
2310
|
-
className?: string;
|
|
2887
|
+
className?: string | undefined;
|
|
2311
2888
|
}>) => react.JSX.Element;
|
|
2312
2889
|
SuggestedActions: ({ className }: Readonly<{
|
|
2313
2890
|
className?: string;
|
|
2314
2891
|
}>) => react.JSX.Element;
|
|
2315
|
-
UploadButton: react.
|
|
2316
|
-
className?: string;
|
|
2317
|
-
}>;
|
|
2892
|
+
UploadButton: react.MemoExoticComponent<(props: UploadButtonProps) => react.JSX.Element>;
|
|
2318
2893
|
LocalizedString: react.MemoExoticComponent<(props: Readonly<{
|
|
2319
|
-
className?: string;
|
|
2320
|
-
linkClassName?: string;
|
|
2321
|
-
onDecorateLink?: (href: string, textContent: string) => LinkOptions;
|
|
2894
|
+
className?: string | undefined;
|
|
2895
|
+
linkClassName?: string | undefined;
|
|
2896
|
+
onDecorateLink?: ((href: string, textContent: string) => LinkOptions | undefined) | undefined;
|
|
2322
2897
|
}> & (Readonly<{
|
|
2898
|
+
stringIds: string;
|
|
2899
|
+
values?: readonly (number | string)[] | undefined;
|
|
2900
|
+
}> | Readonly<{
|
|
2323
2901
|
stringIds: {
|
|
2324
2902
|
zero?: string;
|
|
2325
2903
|
one?: string;
|
|
@@ -2328,11 +2906,15 @@ declare const Components: {
|
|
|
2328
2906
|
many?: string;
|
|
2329
2907
|
other: string;
|
|
2330
2908
|
};
|
|
2331
|
-
values: readonly [number, ...(
|
|
2332
|
-
}> | Readonly<{
|
|
2333
|
-
stringIds: string;
|
|
2334
|
-
values?: readonly (string | number)[];
|
|
2909
|
+
values: readonly [number, ...(number | string)[]] | undefined;
|
|
2335
2910
|
}>)) => react.JSX.Element>;
|
|
2911
|
+
MonochromeImageMasker: react.MemoExoticComponent<{
|
|
2912
|
+
({ className, src }: Readonly<{
|
|
2913
|
+
className?: string | undefined;
|
|
2914
|
+
src: string;
|
|
2915
|
+
}>): react.JSX.Element;
|
|
2916
|
+
displayName: string;
|
|
2917
|
+
}>;
|
|
2336
2918
|
};
|
|
2337
2919
|
|
|
2338
|
-
export { type BasicWebChatProps, Components, type ComposerProps, context as Context, type ReactWebChatProps, type SendBoxFocusOptions, buildInfo, createCoreMiddleware$1 as createCoreActivityMiddleware, createCoreMiddleware as createCoreActivityStatusMiddleware, createCoreMiddleware$2 as createCoreAttachmentMiddleware, createStyleSet, ReactWebChat as default, getTabIndex, hooks, version, withEmoji };
|
|
2920
|
+
export { type BasicWebChatProps, Components, type ComposerProps, context as Context, type HTMLContentTransformEnhancer, type HTMLContentTransformFunction, type HTMLContentTransformMiddleware, type HTMLContentTransformRequest, type ReactWebChatProps, type SendBoxFocusOptions, buildInfo, createCoreMiddleware$1 as createCoreActivityMiddleware, createCoreMiddleware as createCoreActivityStatusMiddleware, createCoreMiddleware$2 as createCoreAttachmentMiddleware, createStyleSet, ReactWebChat as default, getTabIndex, hooks, testIds, version, withEmoji };
|