botframework-webchat-component 4.18.1 → 4.19.0
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/LICENSE +21 -0
- package/boot/deprecated/component.js +7 -0
- package/boot/deprecated/component.mjs +5 -0
- package/boot/deprecated/decorator.js +7 -0
- package/boot/deprecated/decorator.mjs +5 -0
- package/boot/deprecated/hook.js +7 -0
- package/boot/deprecated/hook.mjs +5 -0
- package/boot/deprecated/internal.js +7 -0
- package/boot/deprecated/internal.mjs +5 -0
- package/component.js +3 -0
- package/decorator.js +3 -0
- package/dist/TextBox-BEU2rUID.d.mts +46 -0
- package/dist/TextBox-BEU2rUID.d.ts +46 -0
- package/dist/_dtsroll-chunks/BlpMO3PT-empty-object.d.ts +34 -0
- package/dist/_dtsroll-chunks/Cha1SOtx-botframework-webchat-styles.react.d.ts +38 -0
- package/dist/_dtsroll-chunks/DP9nda2m-botframework-webchat-react-hooks.d.ts +19 -0
- package/dist/botframework-webchat-component.component.css +2 -0
- package/dist/botframework-webchat-component.component.css.map +1 -0
- package/dist/botframework-webchat-component.component.d.mts +9 -0
- package/dist/botframework-webchat-component.component.d.ts +9 -0
- package/dist/botframework-webchat-component.component.js +2 -0
- package/dist/botframework-webchat-component.component.js.map +1 -0
- package/dist/botframework-webchat-component.component.mjs +2 -0
- package/dist/botframework-webchat-component.component.mjs.map +1 -0
- package/dist/botframework-webchat-component.css +2 -0
- package/dist/botframework-webchat-component.css.map +1 -0
- package/dist/botframework-webchat-component.d.mts +64 -2312
- package/dist/botframework-webchat-component.d.ts +90 -0
- package/dist/botframework-webchat-component.decorator.css +2 -0
- package/dist/botframework-webchat-component.decorator.css.map +1 -0
- package/dist/botframework-webchat-component.decorator.d.mts +28 -0
- package/dist/botframework-webchat-component.decorator.d.ts +28 -0
- package/dist/botframework-webchat-component.decorator.js +2 -0
- package/dist/botframework-webchat-component.decorator.js.map +1 -0
- package/dist/botframework-webchat-component.decorator.mjs +2 -0
- package/dist/botframework-webchat-component.decorator.mjs.map +1 -0
- package/dist/botframework-webchat-component.hook.css +2 -0
- package/dist/botframework-webchat-component.hook.css.map +1 -0
- package/dist/botframework-webchat-component.hook.d.mts +8 -0
- package/dist/botframework-webchat-component.hook.d.ts +8 -0
- package/dist/botframework-webchat-component.hook.js +2 -0
- package/dist/botframework-webchat-component.hook.js.map +1 -0
- package/dist/botframework-webchat-component.hook.mjs +2 -0
- package/dist/botframework-webchat-component.hook.mjs.map +1 -0
- package/dist/botframework-webchat-component.internal.css +2 -0
- package/dist/botframework-webchat-component.internal.css.map +1 -0
- package/dist/botframework-webchat-component.internal.d.mts +68 -3
- package/dist/botframework-webchat-component.internal.d.ts +70 -0
- package/dist/botframework-webchat-component.internal.js +2 -0
- package/dist/botframework-webchat-component.internal.js.map +1 -0
- package/dist/botframework-webchat-component.internal.mjs +1 -2
- package/dist/botframework-webchat-component.js +2 -0
- package/dist/botframework-webchat-component.js.map +1 -0
- package/dist/botframework-webchat-component.mjs +1 -11
- package/dist/botframework-webchat-component.mjs.map +1 -1
- package/dist/chunk-2R7BJ63Z.js +2 -0
- package/dist/chunk-2R7BJ63Z.js.map +1 -0
- package/dist/chunk-A4NDFSZM.mjs +77 -0
- package/dist/chunk-A4NDFSZM.mjs.map +1 -0
- package/dist/chunk-CNTMOACS.mjs +2 -0
- package/dist/chunk-CNTMOACS.mjs.map +1 -0
- package/dist/chunk-GTOP3WPD.mjs +2 -0
- package/dist/chunk-GTOP3WPD.mjs.map +1 -0
- package/dist/chunk-H5YR7OLF.js +2 -0
- package/dist/chunk-H5YR7OLF.js.map +1 -0
- package/dist/chunk-I6DJ35K3.mjs +2 -0
- package/dist/chunk-I6DJ35K3.mjs.map +1 -0
- package/dist/chunk-I6EXXZUN.js +2 -0
- package/dist/chunk-I6EXXZUN.js.map +1 -0
- package/dist/chunk-LVVCSDZ4.mjs +2 -0
- package/dist/chunk-LVVCSDZ4.mjs.map +1 -0
- package/dist/chunk-MOJMHOVH.js +2 -0
- package/dist/chunk-MOJMHOVH.js.map +1 -0
- package/dist/chunk-TMUNLKZW.js +2 -0
- package/dist/chunk-TMUNLKZW.js.map +1 -0
- package/dist/chunk-TYPS3H4I.mjs +2 -0
- package/dist/chunk-TYPS3H4I.mjs.map +1 -0
- package/dist/chunk-U6OWCHTQ.js +2 -0
- package/dist/chunk-U6OWCHTQ.js.map +1 -0
- package/dist/chunk-UKBRB4EA.mjs +2 -0
- package/dist/chunk-UKBRB4EA.mjs.map +1 -0
- package/dist/chunk-VDF6GQAL.js +77 -0
- package/dist/chunk-VDF6GQAL.js.map +1 -0
- package/dist/component-BtSxgJS5.d.mts +539 -0
- package/dist/component-Fyy8iCRE.d.ts +539 -0
- package/dist/hook-B7KuomGm.d.mts +2259 -0
- package/dist/hook-o9AgRedV.d.ts +2259 -0
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -1
- package/hook.js +3 -0
- package/internal.js +1 -1
- package/package.json +146 -81
- package/src/Activity/AttachmentRow.tsx +56 -0
- package/src/Activity/Avatar.tsx +20 -23
- package/src/Activity/Bubble.module.css +131 -0
- package/src/Activity/Bubble.tsx +45 -70
- package/src/Activity/CarouselFilmStrip.js +31 -112
- package/src/Activity/CarouselFilmStrip.module.css +155 -0
- package/src/Activity/CarouselFilmStripAttachment.js +14 -15
- package/src/Activity/CarouselFilmStripAttachment.module.css +38 -0
- package/src/Activity/CarouselLayout.js +16 -17
- package/src/Activity/CarouselLayout.module.css +30 -0
- package/src/Activity/CodeBlockContent.module.css +40 -0
- package/src/Activity/CodeBlockContent.tsx +42 -0
- package/src/Activity/CollapsibleContent.module.css +43 -0
- package/src/Activity/CollapsibleContent.tsx +68 -0
- package/src/Activity/SayAlt.module.css +4 -0
- package/src/Activity/SayAlt.tsx +25 -0
- package/src/Activity/Speak.tsx +84 -42
- package/src/Activity/StackedLayout.module.css +233 -0
- package/src/Activity/StackedLayout.tsx +265 -198
- package/src/Activity/StackedLayoutMain.tsx +36 -0
- package/src/Activity/StackedLayoutMessageStatus.tsx +57 -0
- package/src/Activity/StackedLayoutRoot.tsx +71 -0
- package/src/Activity/StackedLayoutStatus.tsx +36 -0
- package/src/Activity/private/MessageStatusLoader.module.css +18 -0
- package/src/Activity/private/MessageStatusLoader.tsx +27 -0
- package/src/ActivityDebug/RestrictedActivityDebugAPI.ts +15 -0
- package/src/ActivityDebug/index.ts +1 -0
- package/src/ActivityFeedback/ActivityFeedback.tsx +88 -0
- package/src/ActivityFeedback/private/FeedbackForm.module.css +123 -0
- package/src/ActivityFeedback/private/FeedbackForm.tsx +83 -0
- package/src/ActivityFeedback/private/FeedbackVoteButton.tsx +88 -0
- package/src/ActivityFeedback/private/FeedbackVoteButtonBar.tsx +40 -0
- package/src/ActivityFeedback/private/ThumbButton.Image.tsx +35 -0
- package/src/ActivityFeedback/private/ThumbButton.module.css +91 -0
- package/src/ActivityFeedback/private/ThumbButton.tsx +103 -0
- package/src/ActivityFeedback/private/canActionResubmit.ts +6 -0
- package/src/ActivityFeedback/private/getDisclaimerFromFeedbackLoop.ts +10 -0
- package/src/ActivityFeedback/private/getDisclaimerFromReviewAction.ts +12 -0
- package/src/ActivityFeedback/private/hasFeedbackLoop.ts +42 -0
- package/src/ActivityFeedback/private/isActionRequireReview.ts +10 -0
- package/src/ActivityFeedback/providers/ActivityFeedbackComposer.tsx +372 -0
- package/src/ActivityFeedback/providers/private/ActivityFeedbackContext.ts +24 -0
- package/src/ActivityFeedback/providers/private/FocusPropagation.ts +10 -0
- package/src/ActivityFeedback/providers/useActivityFeedbackHooks.ts +6 -0
- package/src/ActivityStatus/AbsoluteTime.tsx +37 -0
- package/src/ActivityStatus/ActivityStatus.module.css +31 -0
- package/src/ActivityStatus/OthersActivityStatus.tsx +52 -53
- package/src/ActivityStatus/SelfActivityStatus.tsx +11 -8
- package/src/ActivityStatus/SendStatus/SendStatus.tsx +23 -23
- package/src/ActivityStatus/StatusSlot.tsx +17 -0
- package/src/ActivityStatus/Timestamp.tsx +17 -12
- package/src/ActivityStatus/private/Originator.tsx +33 -10
- package/src/ActivityStatus/private/RelativeTime.tsx +43 -0
- package/src/Assets/TypingAnimation.js +3 -1
- package/src/Attachment/AudioContent.tsx +20 -29
- package/src/Attachment/FileContent.tsx +46 -46
- package/src/Attachment/HTMLVideoContent.tsx +21 -27
- package/src/Attachment/ImageAttachment.tsx +58 -0
- package/src/Attachment/ImageContent.tsx +13 -27
- package/src/Attachment/Text/TextAttachment.tsx +38 -14
- package/src/Attachment/Text/TextContent.module.css +45 -0
- package/src/Attachment/Text/TextContent.tsx +40 -16
- package/src/Attachment/Text/private/ActivityButton.module.css +45 -0
- package/src/Attachment/Text/private/ActivityButton.tsx +71 -0
- package/src/Attachment/Text/private/ActivityCopyButton.module.css +45 -0
- package/src/Attachment/Text/private/ActivityCopyButton.tsx +109 -0
- package/src/Attachment/Text/private/ActivityViewCodeButton.tsx +66 -0
- package/src/Attachment/Text/private/CitationModal.module.css +9 -0
- package/src/Attachment/Text/private/CitationModalContent.tsx +28 -21
- package/src/Attachment/Text/private/CodeContent.tsx +44 -0
- package/src/Attachment/Text/private/MarkdownTextContent.tsx +223 -126
- package/src/Attachment/Text/private/Markdownable.tsx +39 -0
- package/src/Attachment/Text/private/MessageSensitivityLabel.tsx +47 -34
- package/src/Attachment/Text/private/PlainTextContent.tsx +24 -14
- package/src/Attachment/Text/private/ShieldIcon.tsx +52 -34
- package/src/Attachment/Text/private/ViewCodeDialog.module.css +59 -0
- package/src/Attachment/Text/private/isAIGeneratedActivity.ts +5 -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.tsx +55 -0
- package/src/BasicConnectivityStatus.js +7 -7
- package/src/BasicToast.js +1 -1
- package/src/BasicToaster.js +47 -8
- package/src/BasicTranscript.tsx +402 -587
- package/src/BasicWebChat.tsx +28 -34
- package/src/BuiltInDecorator.tsx +17 -0
- package/src/ChatHistory/ChatHistoryBox.tsx +27 -0
- package/src/ChatHistory/ChatHistoryToolbar.tsx +36 -0
- package/src/ChatHistory/private/ScrollToEndButton.tsx +105 -0
- package/src/Composer.tsx +226 -128
- package/src/ConnectivityStatus/Connecting.tsx +77 -0
- package/src/Dictation.js +16 -24
- package/src/ErrorBox.tsx +54 -26
- package/src/Icon/ComponentIcon.module.css +113 -0
- package/src/Icon/ComponentIcon.tsx +59 -0
- package/src/Icon/index.ts +1 -0
- package/src/LinkDefinition/LinkDefinitionItem.tsx +51 -21
- package/src/LinkDefinition/LinkDefinitions.module.css +209 -0
- package/src/LinkDefinition/LinkDefinitions.tsx +84 -19
- package/src/LinkDefinition/index.ts +6 -4
- package/src/LinkDefinition/private/Badge.tsx +12 -1
- package/src/LinkDefinition/private/ItemBody.tsx +24 -15
- package/src/LinkDefinition/private/OpenInNewWindowIcon.tsx +20 -13
- package/src/LinkDefinition/private/extractHostnameWithSubdomain.spec.ts +2 -0
- 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/defaultActivityPolymiddleware.tsx +104 -0
- package/src/Middleware/ActivityGrouping/createDefaultActivityGroupingDecoratorMiddleware.tsx +21 -0
- package/src/Middleware/ActivityGrouping/ui/LegacyActivityBridgeComposer.tsx +91 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/CollapsibleGrouping.module.css +76 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/CollapsibleGrouping.tsx +97 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/CollapsibleGroupingList.tsx +30 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/CollapsibleGroupingTitle.tsx +29 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/PartGrouping.tsx +52 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/private/PartGroupingActivity.module.css +29 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/private/PartGroupingActivity.tsx +258 -0
- package/src/Middleware/ActivityGrouping/ui/PartGrouping/private/usePartGroupingLogicalGroup.ts +41 -0
- package/src/Middleware/ActivityGrouping/ui/RenderActivity.tsx +37 -0
- package/src/Middleware/ActivityGrouping/ui/RenderActivityGrouping.tsx +41 -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/DefaultAvatar.tsx +61 -0
- package/src/Middleware/Avatar/createDefaultAvatarPolymiddleware.tsx +22 -0
- package/src/Middleware/ScrollToEndButton/ScrollToEndButton.tsx +58 -0
- package/src/ReactWebChat.tsx +3 -8
- package/src/ScreenReaderText.tsx +27 -34
- package/src/SendBox/AttachmentBar/AttachmentBar.module.css +32 -0
- package/src/SendBox/AttachmentBar/AttachmentBar.tsx +71 -0
- package/src/SendBox/AttachmentBar/AttachmentBarItem.module.css +137 -0
- package/src/SendBox/AttachmentBar/AttachmentBarItem.tsx +103 -0
- package/src/SendBox/AttachmentBar/ItemDeleteButton.tsx +61 -0
- package/src/SendBox/AttachmentBar/ItemPreview.tsx +52 -0
- package/src/SendBox/AttachmentBar/Preview/FilePreview.module.css +35 -0
- package/src/SendBox/AttachmentBar/Preview/FilePreview.tsx +63 -0
- package/src/SendBox/AttachmentBar/Preview/ImagePreview.module.css +5 -0
- package/src/SendBox/AttachmentBar/Preview/ImagePreview.tsx +46 -0
- package/src/SendBox/AttachmentBar/Preview/sendBoxAttachment.ts +13 -0
- package/src/SendBox/AttachmentBar/index.ts +3 -0
- package/src/SendBox/AutoResizeTextArea.tsx +28 -64
- package/src/SendBox/BasicSendBox.tsx +99 -30
- package/src/SendBox/DictationInterims.tsx +32 -21
- package/src/SendBox/DropZone.tsx +64 -0
- package/src/SendBox/IconButton.tsx +32 -30
- package/src/SendBox/MicrophoneButton.tsx +29 -23
- package/src/SendBox/SendButton.tsx +26 -21
- package/src/SendBox/SuggestedAction.tsx +60 -72
- package/src/SendBox/SuggestedActions.tsx +6 -9
- package/src/SendBox/TextBox.tsx +57 -39
- package/src/SendBoxToolbar/Assets/AttachmentIcon.tsx +6 -23
- package/src/SendBoxToolbar/BasicSendBoxToolbar.tsx +4 -2
- package/src/SendBoxToolbar/UploadButton.tsx +47 -26
- package/src/Styles/CSSCustomPropertiesContainer.tsx +195 -0
- package/src/Styles/CustomPropertyNames.ts +66 -6
- package/src/Styles/StyleSet/ActivityButton.ts +49 -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 +71 -0
- package/src/Styles/StyleSet/ErrorBox.ts +2 -2
- package/src/Styles/StyleSet/FileContent.ts +2 -1
- package/src/Styles/StyleSet/ImageAvatar.ts +8 -5
- package/src/Styles/StyleSet/InitialsAvatar.ts +4 -5
- package/src/Styles/StyleSet/LinkDefinitions.ts +17 -11
- package/src/Styles/StyleSet/MicrophoneButton.ts +1 -1
- package/src/Styles/StyleSet/ModalDialog.ts +14 -8
- package/src/Styles/StyleSet/RenderMarkdown.ts +35 -0
- package/src/Styles/StyleSet/ScrollToEndButton.ts +0 -11
- package/src/Styles/StyleSet/SendBox.ts +57 -7
- package/src/Styles/StyleSet/SendBoxButton.ts +7 -5
- package/src/Styles/StyleSet/SendBoxTextBox.ts +6 -1
- package/src/Styles/StyleSet/SendStatus.ts +12 -0
- package/src/Styles/StyleSet/SpinnerAnimation.ts +3 -1
- package/src/Styles/StyleSet/StackedLayout.ts +18 -9
- package/src/Styles/StyleSet/SuggestedAction.ts +1 -13
- package/src/Styles/StyleSet/TextContent.ts +17 -2
- package/src/Styles/StyleSet/ThumbButton.ts +77 -24
- package/src/Styles/StyleSet/Tooltip.ts +66 -0
- package/src/Styles/StyleSet/TypingAnimation.ts +3 -1
- package/src/Styles/StyleSet/ViewCodeDialog.ts +70 -0
- package/src/Styles/StyleSet/types/StyleSet.ts +11 -0
- package/src/Styles/createStyleSet.ts +14 -14
- package/src/TextArea/TextArea.module.css +75 -0
- package/src/TextArea/TextArea.tsx +126 -0
- package/src/TextArea/index.ts +1 -0
- package/src/Tooltip/index.ts +1 -0
- package/src/Tooltip/private/Tooltip.tsx +26 -0
- package/src/Transcript/ActivityRow.tsx +100 -39
- package/src/Transcript/ActivityTree.tsx +35 -0
- package/src/Transcript/FocusTrap.tsx +96 -38
- package/src/Transcript/LiveRegion/SendFailed.tsx +8 -10
- package/src/Transcript/LiveRegionTranscript.tsx +11 -62
- package/src/Transcript/TranscriptFocus/TranscriptActivityList.tsx +22 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocus.module.css +117 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusArea.tsx +27 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusContent.tsx +34 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusContentActiveDescendant.tsx +26 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusContentBody.tsx +20 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusContentOverlay.tsx +20 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusIndicator.tsx +28 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusTerminator.tsx +42 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusTerminatorBody.tsx +20 -0
- package/src/Transcript/TranscriptFocus/TranscriptFocusTerminatorText.tsx +20 -0
- package/src/Transcript/TranscriptFocus/index.ts +25 -0
- package/src/Transcript/hooks/useRenderActivityProps.ts +88 -0
- package/src/Utils/AccessKeySink/Surface.tsx +63 -0
- package/src/Utils/AccessibleButton.tsx +64 -49
- package/src/Utils/AccessibleInputText.tsx +97 -106
- 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 +6 -1
- package/src/Utils/JSONLinkedData/__snapshots__/dereferenceBlankNodes.spec.ts.snap +17 -17
- package/src/Utils/JSONLinkedData/dereferenceBlankNodes.spec.ts +2 -0
- package/src/Utils/JSONLinkedData/dereferenceBlankNodes.ts +1 -1
- package/src/Utils/JSONLinkedData/getSafeOwnPropertyNames.ts +2 -2
- package/src/Utils/JSONLinkedData/isUnconnectedBlankNode.spec.ts +2 -0
- package/src/Utils/LocalizedString.tsx +3 -3
- package/src/Utils/addTargetBlankToHyperlinksMarkdown.spec.js +4 -4
- package/src/Utils/createIconComponent.tsx +126 -0
- package/src/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.ts +2 -0
- package/src/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.ts +4 -4
- package/src/Utils/firstTabbableDescendant.js +0 -1
- package/src/Utils/orgSchema/getFirstBaseOfSoftwareSourceCode.ts +15 -0
- package/src/Utils/parseDocumentFragmentFromString.ts +9 -0
- package/src/Utils/readDataURIToBlob.ts +37 -0
- package/src/Utils/serializeDocumentFragmentIntoString.ts +3 -0
- package/src/Utils/supportPseudoClass.ts +1 -1
- package/src/Utils/tabbableElements.ts +7 -1
- package/src/Utils/textFormatToContentType.ts +14 -0
- package/src/Utils/updateMarkdownAttrs.spec.js +14 -14
- package/src/Utils/walkMarkdownTokens.spec.js +1 -1
- package/src/__tests__/addMetaTag.spec.js +8 -0
- package/src/__tests__/addMetaTag.spec.mjs +8 -0
- package/src/boot/component.ts +45 -0
- package/src/boot/decorator.ts +1 -0
- package/src/boot/hook.ts +118 -0
- package/src/boot/internal.ts +15 -0
- package/src/buildInfo.ts +9 -0
- package/src/decorator/index.ts +3 -0
- package/src/decorator/private/BorderFlair.module.css +566 -0
- package/src/decorator/private/BorderFlair.tsx +39 -0
- package/src/decorator/private/BorderLoader.module.css +53 -0
- package/src/decorator/private/BorderLoader.tsx +24 -0
- package/src/decorator/private/WebChatDecorator.tsx +64 -0
- package/src/decorator/stylesheet/DecoratorStylesheet.tsx +33 -0
- package/src/decorator/stylesheet/createDecoratorStyleElements.ts +8 -0
- package/src/env.d.ts +11 -0
- package/src/hooks/RenderMarkdown.module.css +102 -0
- package/src/hooks/index.ts +4 -0
- package/src/hooks/internal/UITracker.js +1 -1
- package/src/hooks/internal/WebChatUIContext.ts +19 -1
- 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 +4 -2
- package/src/hooks/internal/createWaitUntilable.ts +1 -1
- package/src/hooks/internal/private/createOnEventShim.spec.ts +2 -0
- 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 +120 -0
- package/src/hooks/internal/useForceRenderAtInterval.ts +6 -6
- package/src/hooks/internal/useMemoized.spec.jsx +3 -3
- package/src/hooks/internal/useMemoized.ts +1 -1
- package/src/hooks/internal/useNonce.ts +7 -0
- package/src/hooks/internal/useObserveFocusVisible.ts +0 -1
- package/src/hooks/internal/useSanitizeHrefCallback.ts +37 -0
- 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/useObserveScrollPosition.ts +3 -0
- package/src/hooks/useObserveTranscriptFocus.ts +9 -3
- package/src/hooks/useRenderMarkdownAsHTML.ts +32 -29
- package/src/hooks/useSendFiles.ts +4 -1
- package/src/hooks/useStreamingMarkdownWithDefinitions.ts +193 -0
- package/src/index.ts +30 -125
- package/src/providers/ActivityLogicalGrouping/ActivityLogicalGroupingComposer.ts +100 -0
- package/src/providers/ActivityLogicalGrouping/index.ts +7 -0
- package/src/providers/ActivityLogicalGrouping/private/ActivityLogicalGroupingContext.ts +31 -0
- package/src/providers/ActivityLogicalGrouping/private/useStateWithOptimisticRef.ts +13 -0
- package/src/providers/ActivityLogicalGrouping/useAddLogicalGrouping.ts +5 -0
- package/src/providers/ActivityLogicalGrouping/useGetGroupState.ts +5 -0
- package/src/providers/ActivityLogicalGrouping/useGetLogicalGroupBoundaries.ts +5 -0
- package/src/providers/ActivityLogicalGrouping/useGetLogicalGroupKey.ts +5 -0
- package/src/providers/ActivityLogicalGrouping/useRemoveLogicalGrouping.ts +5 -0
- 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.module.css +35 -0
- package/src/providers/CustomElements/customElements/CodeBlock.ts +230 -0
- package/src/providers/CustomElements/customElements/CodeBlockCopyButton.module.css +63 -0
- package/src/providers/CustomElements/customElements/CodeBlockCopyButton.tsx +108 -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 +31 -0
- package/src/providers/GroupedRenderingActivities/private/group.ts +19 -0
- package/src/providers/GroupedRenderingActivities/private/pick.spec.ts +35 -0
- package/src/providers/GroupedRenderingActivities/private/pick.ts +20 -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 +5 -15
- 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 +103 -0
- package/src/providers/RenderingActivities/private/RenderingActivitiesContext.ts +15 -0
- package/src/providers/RenderingActivities/useActivityRendererMap.ts +9 -0
- package/src/providers/RenderingActivities/useRenderingActivities.ts +7 -0
- package/src/providers/RenderingActivities/useRenderingActivityKeys.ts +5 -0
- package/src/providers/RovingTabIndex/RovingTabIndexComposer.tsx +20 -23
- package/src/providers/Theme/ThemeProvider.tsx +119 -40
- package/src/providers/Theme/private/Context.ts +18 -18
- package/src/providers/TranscriptFocus/TranscriptFocusComposer.spec.tsx +611 -0
- package/src/providers/TranscriptFocus/TranscriptFocusComposer.tsx +325 -68
- package/src/providers/TranscriptFocus/private/Context.ts +4 -0
- package/src/providers/TranscriptFocus/useActiveDescendantId.ts +4 -1
- package/src/providers/TranscriptFocus/useFocusByGroupKey.ts +11 -0
- package/src/providers/TranscriptFocus/useFocusRelativeActivity.ts +1 -1
- package/src/providers/TranscriptFocus/useFocusedKey.ts +6 -0
- package/src/providers/TranscriptFocus/useGetGroupDescendantIdByActivityKey.ts +5 -0
- package/src/providers/createContextAndHook.ts +23 -0
- package/src/providers/internal/SendBox/SendBoxComposer.tsx +30 -38
- package/src/stylesheet/ComponentStylesheet.tsx +33 -0
- package/src/stylesheet/createComponentStyleElements.ts +8 -0
- package/src/testIds.ts +18 -0
- package/src/tsconfig.json +8 -14
- package/src/types/internal/mutableRefObject.ts +40 -0
- package/src/types/internal/refObject.ts +40 -0
- package/dist/botframework-webchat-component.internal.mjs.LEGAL.txt +0 -0
- package/dist/botframework-webchat-component.mjs.LEGAL.txt +0 -0
- package/dist/chunk-X37JABN5.mjs +0 -5
- package/dist/chunk-X37JABN5.mjs.LEGAL.txt +0 -0
- 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 +0 -1803
- 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/AbsoluteTime.js +0 -32
- package/src/ActivityStatus/Slotted.tsx +0 -26
- package/src/ActivityStatus/private/Feedback/Feedback.tsx +0 -60
- package/src/ActivityStatus/private/Feedback/private/ThumbButton.Image.tsx +0 -30
- package/src/ActivityStatus/private/Feedback/private/ThumbButton.tsx +0 -54
- package/src/ActivityStatus/private/Feedback/private/VoteButton.tsx +0 -36
- package/src/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.tsx +0 -16
- package/src/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.tsx +0 -16
- package/src/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.tsx +0 -16
- package/src/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.tsx +0 -16
- package/src/ActivityStatus/private/RelativeTime.js +0 -31
- package/src/Attachment/Assets/DownloadIcon.js +0 -29
- package/src/Attachment/ImageAttachment.js +0 -37
- package/src/Avatar/ImageAvatar.js +0 -49
- package/src/Avatar/InitialsAvatar.js +0 -50
- package/src/ConnectivityStatus/Connecting.js +0 -72
- package/src/LinkDefinition/private/Chevron.tsx +0 -21
- package/src/Middleware/Activity/createCoreMiddleware.tsx +0 -102
- package/src/Middleware/Avatar/createCoreMiddleware.tsx +0 -76
- package/src/Middleware/ScrollToEndButton/ScrollToEndButton.js +0 -45
- package/src/SendBox/Assets/MicrophoneIcon.js +0 -12
- package/src/SendBox/Assets/SendIcon.js +0 -36
- 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/AccessKeySink/Surface.js +0 -56
- package/src/Utils/CroppedImage.js +0 -45
- package/src/Utils/parseDocumentFromString.ts +0 -5
- package/src/Utils/readDataURIToBlob.js +0 -31
- package/src/Utils/serializeDocumentIntoString.ts +0 -10
- package/src/Utils/singleToArray.ts +0 -3
- package/src/Utils/textFormatToContentType.js +0 -12
- package/src/hooks/internal/useMemoWithPrevious.ts +0 -16
- package/src/hooks/internal/useNonce.js +0 -7
- package/src/hooks/internal/useStyleToEmotionObject.js +0 -5
- package/src/internal.ts +0 -4
- 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
|
@@ -1,1935 +1,71 @@
|
|
|
1
|
-
import
|
|
2
|
-
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';
|
|
1
|
+
import { ActivityMiddleware, ActivityStatusMiddleware, AttachmentMiddleware } from 'botframework-webchat-api';
|
|
3
2
|
export { concatMiddleware, localize } from 'botframework-webchat-api';
|
|
4
|
-
import * as PropTypes from 'prop-types';
|
|
5
|
-
import PropTypes__default from 'prop-types';
|
|
6
|
-
import * as botframework_webchat_core from 'botframework-webchat-core';
|
|
7
|
-
import { WebChatActivity, SendBoxAttachment } from 'botframework-webchat-core';
|
|
8
3
|
export { WebChatActivity } from 'botframework-webchat-core';
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
11
|
-
import { EmptyObject } from '
|
|
4
|
+
import * as React__default from 'react';
|
|
5
|
+
import React__default__default, { MutableRefObject, ComponentType, ChangeEvent, FocusEvent, KeyboardEvent, SyntheticEvent } from 'react';
|
|
6
|
+
import { E as EmptyObject } from './_dtsroll-chunks/BlpMO3PT-empty-object.js';
|
|
7
|
+
import { W as WaitUntilable } from './hook-B7KuomGm.mjs';
|
|
8
|
+
export { S as SendBoxFocusOptions, c as createStyleSet, h as hooks, u as useDictateAbortable, a as useFocus, b as useMakeThumbnail, d as useObserveScrollPosition, e as useObserveTranscriptFocus, f as useRegisterFocusSendBox, g as useRenderMarkdownAsHTML, i as useScrollDown, j as useScrollTo, k as useScrollToEnd, l as useScrollUp, m as useSendFiles, n as useSendMessage, o as useShouldReduceMotion, p as useStyleSet, q as useTransformHTMLContent, r as useTypingIndicatorVisible, s as useWebSpeechPonyfill } from './hook-B7KuomGm.mjs';
|
|
9
|
+
export { S as AccessKeySinkSurface, _ as AttachmentBar, a as AudioContent, b as Avatar, B as BasicConnectivityStatus, c as BasicSendBoxToolbar, d as BasicToaster, e as BasicTranscript, f as BasicWebChat, g as BasicWebChatProps, h as Bubble, i as Components, C as Composer, j as ComposerProps, k as DictationInterims, l as ErrorBox, m as FileContent, H as HTMLContentTransformEnhancer, n as HTMLContentTransformFunction, o as HTMLContentTransformMiddleware, p as HTMLContentTransformRequest, q as HTMLVideoContent, I as ImageContent, r as LocalizedString, R as ReactWebChat, s as ReactWebChatProps, t as SendButton, u as SendStatus, v as SpeakActivity, w as SuggestedActions, T as TextArea, x as TextContent, y as ThemeProvider, z as Timestamp, A as UploadButton, D as VideoContent, E as VimeoContent, F as YouTubeContent, R as default } from './component-BtSxgJS5.mjs';
|
|
10
|
+
export { _ as BasicSendBox, a as MicrophoneButton, T as SendTextBox, u as useMicrophoneButtonClick, b as useMicrophoneButtonDisabled, c as useSendBoxSpeechInterimsVisible, d as useTextBoxSubmit, e as useTextBoxValue } from './TextBox-BEU2rUID.mjs';
|
|
11
|
+
export { D as DropZoneState, u as useFileDropZone } from './_dtsroll-chunks/DP9nda2m-botframework-webchat-react-hooks.js';
|
|
12
|
+
export { useActiveTyping, useActivities, useActivityKeys, useActivityKeysByRead, useAvatarForBot, useAvatarForUser, useBuildRenderActivityCallback, useByteFormatter, useCapabilities, useConnectivityStatus, useCreateActivityRenderer, useCreateActivityStatusRenderer, useCreateAttachmentForScreenReaderRenderer, useCreateAvatarRenderer, useCreateScrollToEndButtonRenderer, useDateFormatter, useDebouncedNotifications, useDictateInterims, useDictateState, useDirection, useDisabled, useDismissNotification, useEmitTypingIndicator, useGetActivitiesByKey, useGetActivityByKey, useGetHasAcknowledgedByActivityKey, useGetKeyByActivity, useGetKeyByActivityId, useGetSendTimeoutForActivity, useGrammars, useGroupActivities, useGroupActivitiesByName, useGroupTimestamp, useLanguage, useLastAcknowledgedActivityKey, useLastReadActivityKey, useLocalizer, useMarkActivityAsSpoken, useMarkActivityKeyAsRead, useMarkAllAsAcknowledged, useNotifications, usePerformCardAction, usePonyfill, usePostActivity, useReferenceGrammarID, useRelativeTimeFormatter, useRenderAttachment, useRenderToast, useRenderTypingIndicator, useSendBoxAttachments, useSendBoxValue, useSendEvent, useSendMessageBack, useSendPostBack, useSendStatusByActivityKey, useSendTimeoutForActivity, useSendTypingIndicator, useSetNotification, useShouldSpeakIncomingActivity, useStartDictate, useStartVoice, useStopDictate, useStopVoice, useStyleOptions, useSubmitSendBox, useSuggestedActions, useSuggestedActionsHooks, useTimeoutForSend, useTrackDimension, useTrackEvent, useTrackException, useTrackTiming, useUIState, useUserID, useUsername, useVoiceRecordingMuted, useVoiceSelector, useVoiceState } from 'botframework-webchat-api/hook.js';
|
|
13
|
+
import 'botframework-webchat-api/decorator.js';
|
|
14
|
+
import 'botframework-webchat-core/internal.js';
|
|
15
|
+
import 'prop-types';
|
|
16
|
+
import 'valibot';
|
|
17
|
+
import 'botframework-webchat-api/middleware.js';
|
|
18
|
+
|
|
19
|
+
declare function createCoreMiddleware$1(): AttachmentMiddleware[];
|
|
12
20
|
|
|
13
|
-
type
|
|
14
|
-
type LinkOptions = {
|
|
15
|
-
/** Value of "aria-label" attribute of the link. If set to `false`, remove existing attribute. */
|
|
16
|
-
ariaLabel?: AttributeSetter;
|
|
17
|
-
/** Turns this link into a <button> with "value" attribute instead of "href". */
|
|
18
|
-
asButton?: boolean;
|
|
19
|
-
/** Value of "class" attribute of the link. If set to `false`, remove existing attribute. */
|
|
20
|
-
className?: AttributeSetter;
|
|
21
|
-
/** Alternate text of the image icon appended to the link. */
|
|
22
|
-
iconAlt?: string;
|
|
23
|
-
/** Class name of the image icon appended to the link. */
|
|
24
|
-
iconClassName?: string;
|
|
25
|
-
/** Value of "rel" attribute of the link. If set to `false`, remove existing attribute. */
|
|
26
|
-
rel?: AttributeSetter;
|
|
27
|
-
/** Value of "target" attribute of the link. If set to `false`, remove existing attribute. */
|
|
28
|
-
target?: AttributeSetter;
|
|
29
|
-
/** Value of "title" attribute of the link. If set to `false`, remove existing attribute. */
|
|
30
|
-
title?: AttributeSetter;
|
|
31
|
-
/** Wraps the link with zero-width space. */
|
|
32
|
-
wrapZeroWidthSpace?: boolean;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
declare const SENDING = "sending";
|
|
36
|
-
declare const SEND_FAILED = "send failed";
|
|
37
|
-
declare const SENT = "sent";
|
|
38
|
-
type SendStatus = typeof SENDING | typeof SEND_FAILED | typeof SENT;
|
|
39
|
-
|
|
40
|
-
type ContextType$1 = {
|
|
41
|
-
activityMiddleware: readonly ActivityMiddleware[];
|
|
42
|
-
activityStatusMiddleware: readonly ActivityStatusMiddleware[];
|
|
43
|
-
attachmentForScreenReaderMiddleware: readonly AttachmentForScreenReaderMiddleware[];
|
|
44
|
-
attachmentMiddleware: readonly AttachmentMiddleware[];
|
|
45
|
-
avatarMiddleware: readonly AvatarMiddleware[];
|
|
46
|
-
cardActionMiddleware: readonly CardActionMiddleware[];
|
|
47
|
-
groupActivitiesMiddleware: readonly GroupActivitiesMiddleware[];
|
|
48
|
-
scrollToEndButtonMiddleware: readonly ScrollToEndButtonMiddleware[];
|
|
49
|
-
sendBoxMiddleware: readonly SendBoxMiddleware[];
|
|
50
|
-
sendBoxToolbarMiddleware: readonly SendBoxToolbarMiddleware[];
|
|
51
|
-
styleOptions: StyleOptions;
|
|
52
|
-
toastMiddleware: readonly ToastMiddleware[];
|
|
53
|
-
typingIndicatorMiddleware: readonly TypingIndicatorMiddleware[];
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
type ComposerCoreProps = Readonly<{
|
|
57
|
-
children?: ReactNode;
|
|
58
|
-
extraStyleSet?: any;
|
|
59
|
-
nonce?: string;
|
|
60
|
-
renderMarkdown?: (markdown: string, newLineOptions: {
|
|
61
|
-
markdownRespectCRLF: boolean;
|
|
62
|
-
}, linkOptions: {
|
|
63
|
-
externalLinkAlt: string;
|
|
64
|
-
}) => string;
|
|
65
|
-
styleSet?: any;
|
|
66
|
-
suggestedActionsAccessKey?: boolean | string;
|
|
67
|
-
webSpeechPonyfillFactory?: WebSpeechPonyfillFactory;
|
|
68
|
-
}>;
|
|
69
|
-
type ComposerProps = ComposerProps$1 & ComposerCoreProps;
|
|
70
|
-
|
|
71
|
-
type ReactWebChatProps = Readonly<Omit<ComposerProps, 'children'> & {
|
|
72
|
-
className?: string;
|
|
73
|
-
role?: 'complementary' | 'contentinfo' | 'form' | 'main' | 'region';
|
|
74
|
-
}>;
|
|
75
|
-
declare const ReactWebChat: {
|
|
76
|
-
({ className, role, ...composerProps }: ReactWebChatProps): react__default.JSX.Element;
|
|
77
|
-
defaultProps: {
|
|
78
|
-
children: any;
|
|
79
|
-
extraStyleSet: any;
|
|
80
|
-
nonce: any;
|
|
81
|
-
renderMarkdown: any;
|
|
82
|
-
styleSet: any;
|
|
83
|
-
suggestedActionsAccessKey: string;
|
|
84
|
-
webSpeechPonyfillFactory: any;
|
|
85
|
-
internalRenderErrorBox: any;
|
|
86
|
-
onTelemetry: any;
|
|
87
|
-
ponyfill: any;
|
|
88
|
-
store: any;
|
|
89
|
-
className: any;
|
|
90
|
-
role: any;
|
|
91
|
-
};
|
|
92
|
-
propTypes: {
|
|
93
|
-
extraStyleSet: PropTypes__default.Requireable<any>;
|
|
94
|
-
nonce: PropTypes__default.Requireable<string>;
|
|
95
|
-
renderMarkdown: PropTypes__default.Requireable<(...args: any[]) => any>;
|
|
96
|
-
styleSet: PropTypes__default.Requireable<any>;
|
|
97
|
-
suggestedActionsAccessKey: PropTypes__default.Requireable<NonNullable<string | boolean>>;
|
|
98
|
-
webSpeechPonyfillFactory: PropTypes__default.Requireable<(...args: any[]) => any>;
|
|
99
|
-
internalRenderErrorBox: PropTypes__default.Requireable<any>;
|
|
100
|
-
onTelemetry: PropTypes__default.Requireable<(...args: any[]) => any>;
|
|
101
|
-
ponyfill: PropTypes__default.Requireable<any>;
|
|
102
|
-
store: PropTypes__default.Requireable<any>;
|
|
103
|
-
className: PropTypes__default.Requireable<string>;
|
|
104
|
-
role: PropTypes__default.Requireable<string>;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
21
|
+
type FocusTranscriptInit = WaitUntilable<EmptyObject>;
|
|
107
22
|
|
|
108
|
-
type
|
|
109
|
-
|
|
110
|
-
|
|
23
|
+
type ContextType = {
|
|
24
|
+
focusTranscriptCallbacksRef: MutableRefObject<((init?: FocusTranscriptInit | undefined) => Promise<void>)[]>;
|
|
25
|
+
nonce: string | undefined;
|
|
26
|
+
dictateAbortable: any;
|
|
27
|
+
dispatchScrollPosition: any;
|
|
28
|
+
dispatchTranscriptFocusByActivityKey: any;
|
|
29
|
+
internalMarkdownItState: [any];
|
|
30
|
+
internalRenderMarkdownInline: any;
|
|
31
|
+
numTranscriptFocusObservers: any;
|
|
32
|
+
observeScrollPosition: any;
|
|
33
|
+
observeTranscriptFocus: any;
|
|
34
|
+
renderMarkdown: any;
|
|
35
|
+
scrollToCallbacksRef: any;
|
|
36
|
+
scrollToEndCallbacksRef: any;
|
|
37
|
+
setDictateAbortable: any;
|
|
38
|
+
styleSet: any;
|
|
39
|
+
suggestedActionsAccessKey: any;
|
|
40
|
+
webSpeechPonyfill: any;
|
|
111
41
|
};
|
|
42
|
+
declare const context: React__default.Context<ContextType>;
|
|
112
43
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @deprecated Use `defaultActivityPolymiddleware` instead. The `createCoreActivityMiddleware` will be removed on or after 2028-03-16.
|
|
46
|
+
*/
|
|
47
|
+
declare function createCoreActivityMiddleware(): readonly ActivityMiddleware[];
|
|
116
48
|
|
|
117
49
|
declare function createCoreMiddleware(): ActivityStatusMiddleware[];
|
|
118
50
|
|
|
119
|
-
declare
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
overflow: string;
|
|
135
|
-
position: string;
|
|
136
|
-
'& .webchat__auto-resize-textarea__doppelganger': {
|
|
137
|
-
color: string;
|
|
138
|
-
height: string;
|
|
139
|
-
overflowY: string;
|
|
140
|
-
userSelect: string;
|
|
141
|
-
width: string;
|
|
142
|
-
whiteSpace: string;
|
|
143
|
-
wordBreak: string;
|
|
144
|
-
};
|
|
145
|
-
'& .webchat__auto-resize-textarea__textarea': {
|
|
146
|
-
appearance: string;
|
|
147
|
-
backgroundColor: string;
|
|
148
|
-
border: number;
|
|
149
|
-
color: string;
|
|
150
|
-
fontFamily: string;
|
|
151
|
-
fontSize: string;
|
|
152
|
-
height: string;
|
|
153
|
-
left: number;
|
|
154
|
-
margin: number;
|
|
155
|
-
outline: number;
|
|
156
|
-
overflowY: string;
|
|
157
|
-
padding: number;
|
|
158
|
-
position: string;
|
|
159
|
-
resize: string;
|
|
160
|
-
top: number;
|
|
161
|
-
width: string;
|
|
162
|
-
wordBreak: string;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
readonly avatar: {
|
|
167
|
-
'&.webchat__defaultAvatar': {
|
|
168
|
-
borderRadius: string | number;
|
|
169
|
-
height: number;
|
|
170
|
-
width: number;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
readonly basicTranscript: {
|
|
174
|
-
'&.webchat__basic-transcript': {
|
|
175
|
-
'&:focus': {
|
|
176
|
-
outline: number;
|
|
177
|
-
'& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus': {
|
|
178
|
-
borderColor: string;
|
|
179
|
-
borderStyle: string;
|
|
180
|
-
borderWidth: string | number;
|
|
181
|
-
boxSizing: string;
|
|
182
|
-
height: string;
|
|
183
|
-
left: number;
|
|
184
|
-
marginBottom: number;
|
|
185
|
-
marginLeft: number;
|
|
186
|
-
marginRight: number;
|
|
187
|
-
marginTop: number;
|
|
188
|
-
pointerEvents: string;
|
|
189
|
-
position: string;
|
|
190
|
-
top: number;
|
|
191
|
-
width: string;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
'&:focus-visible .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus-visible + .webchat__basic-transcript__focus-indicator': {
|
|
195
|
-
height: string;
|
|
196
|
-
borderColor: string;
|
|
197
|
-
borderStyle: string;
|
|
198
|
-
borderWidth: string | number;
|
|
199
|
-
boxSizing: string;
|
|
200
|
-
pointerEvents: string;
|
|
201
|
-
position: string;
|
|
202
|
-
top: number;
|
|
203
|
-
width: string;
|
|
204
|
-
};
|
|
205
|
-
'& .webchat__basic-transcript__activity': {
|
|
206
|
-
paddingTop: number;
|
|
207
|
-
position: string;
|
|
208
|
-
'&:first-child': {
|
|
209
|
-
marginTop: number;
|
|
210
|
-
};
|
|
211
|
-
'&:not(:first-child)': {
|
|
212
|
-
marginTop: number;
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
'& .webchat__basic-transcript__activity-active-descendant': {
|
|
216
|
-
height: string;
|
|
217
|
-
left: number;
|
|
218
|
-
marginTop: number;
|
|
219
|
-
paddingBottom: number;
|
|
220
|
-
pointerEvents: string;
|
|
221
|
-
position: string;
|
|
222
|
-
top: number;
|
|
223
|
-
width: string;
|
|
224
|
-
};
|
|
225
|
-
'& .webchat__basic-transcript__activity-body:not(:empty)': {
|
|
226
|
-
paddingBottom: number;
|
|
227
|
-
};
|
|
228
|
-
'& .webchat__basic-transcript__terminator': {
|
|
229
|
-
bottom: number;
|
|
230
|
-
height: number;
|
|
231
|
-
outline: number;
|
|
232
|
-
position: string;
|
|
233
|
-
width: string;
|
|
234
|
-
};
|
|
235
|
-
'& .webchat__basic-transcript__terminator-body': {
|
|
236
|
-
bottom: number;
|
|
237
|
-
display: string;
|
|
238
|
-
justifyContent: string;
|
|
239
|
-
position: string;
|
|
240
|
-
width: string;
|
|
241
|
-
};
|
|
242
|
-
'& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body': {
|
|
243
|
-
display: string;
|
|
244
|
-
};
|
|
245
|
-
'& .webchat__basic-transcript__terminator-text': {
|
|
246
|
-
backgroundColor: string;
|
|
247
|
-
borderRadius: string | number;
|
|
248
|
-
color: string;
|
|
249
|
-
fontFamily: string;
|
|
250
|
-
fontSize: string | number;
|
|
251
|
-
margin: number;
|
|
252
|
-
padding: number;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
readonly bubble: {
|
|
257
|
-
'&.webchat__bubble': any;
|
|
258
|
-
};
|
|
259
|
-
readonly carouselFilmStrip: {
|
|
260
|
-
'&.webchat__carousel-filmstrip': any;
|
|
261
|
-
};
|
|
262
|
-
readonly carouselFilmStripAttachment: any;
|
|
263
|
-
readonly carouselFlipper: {
|
|
264
|
-
'&.webchat__carousel-layout': {
|
|
265
|
-
'& .react-film__flipper': {
|
|
266
|
-
'& .react-film__flipper__body': {
|
|
267
|
-
backgroundColor: string;
|
|
268
|
-
color: string;
|
|
269
|
-
outline: number;
|
|
270
|
-
};
|
|
271
|
-
'&:disabled, &[aria-disabled="true"]': {
|
|
272
|
-
'& .react-film__flipper__body': {
|
|
273
|
-
backgroundColor: string;
|
|
274
|
-
color: string;
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
'&:focus .react-film__flipper__body': {
|
|
278
|
-
backgroundColor: string;
|
|
279
|
-
color: string;
|
|
280
|
-
};
|
|
281
|
-
'&:hover .react-film__flipper__body': {
|
|
282
|
-
backgroundColor: string;
|
|
283
|
-
color: string;
|
|
284
|
-
};
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
};
|
|
288
|
-
readonly connectivityNotification: {
|
|
289
|
-
alignItems: string;
|
|
290
|
-
color: string;
|
|
291
|
-
display: string;
|
|
292
|
-
fontFamily: string;
|
|
293
|
-
fontSize: string | number;
|
|
294
|
-
marginBottom: number;
|
|
295
|
-
marginLeft: number;
|
|
296
|
-
marginRight: number;
|
|
297
|
-
marginTop: number;
|
|
298
|
-
};
|
|
299
|
-
readonly dictationInterims: {
|
|
300
|
-
fontFamily: string;
|
|
301
|
-
margin: number;
|
|
302
|
-
paddingBottom: number;
|
|
303
|
-
paddingLeft: number;
|
|
304
|
-
paddingRight: number;
|
|
305
|
-
paddingTop: number;
|
|
306
|
-
'&.dictating > span:not(:first-child), &.status': {
|
|
307
|
-
opacity: number;
|
|
308
|
-
};
|
|
309
|
-
};
|
|
310
|
-
readonly errorBox: {
|
|
311
|
-
display: string;
|
|
312
|
-
flexDirection: string;
|
|
313
|
-
fontFamily: string;
|
|
314
|
-
margin: number;
|
|
315
|
-
minHeight: number;
|
|
316
|
-
maxHeight: number;
|
|
317
|
-
overflowY: string;
|
|
318
|
-
WebkitOverflowScrolling: string;
|
|
319
|
-
'& > :first-child': {
|
|
320
|
-
backgroundColor: string;
|
|
321
|
-
color: string;
|
|
322
|
-
padding: string;
|
|
323
|
-
};
|
|
324
|
-
'& > :last-child': {
|
|
325
|
-
borderColor: string;
|
|
326
|
-
borderStyle: string;
|
|
327
|
-
borderBottomWidth: number;
|
|
328
|
-
borderLeftWidth: number;
|
|
329
|
-
borderRightWidth: number;
|
|
330
|
-
borderTopWidth: number;
|
|
331
|
-
margin: number;
|
|
332
|
-
overflowY: string;
|
|
333
|
-
padding: number;
|
|
334
|
-
'& > pre': {
|
|
335
|
-
fontFamily: string;
|
|
336
|
-
fontSize: string;
|
|
337
|
-
margin: number;
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
};
|
|
341
|
-
readonly errorNotification: {
|
|
342
|
-
alignItems: string;
|
|
343
|
-
color: string | number;
|
|
344
|
-
display: string;
|
|
345
|
-
fontFamily: string;
|
|
346
|
-
fontSize: string | number;
|
|
347
|
-
fontWeight: string;
|
|
348
|
-
marginBottom: number;
|
|
349
|
-
marginLeft: number;
|
|
350
|
-
marginRight: number;
|
|
351
|
-
marginTop: number;
|
|
352
|
-
'& > svg': {
|
|
353
|
-
fill: string | number;
|
|
354
|
-
'&:not(.webchat__error--rtl)': {
|
|
355
|
-
paddingRight: number;
|
|
356
|
-
};
|
|
357
|
-
'&.webchat__error--rtl': {
|
|
358
|
-
paddingLeft: number;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
readonly fileContent: {
|
|
363
|
-
color: string;
|
|
364
|
-
display: string;
|
|
365
|
-
fontFamily: string;
|
|
366
|
-
padding: number;
|
|
367
|
-
'& .webchat__fileContent__badge': {
|
|
368
|
-
justifyContent: string;
|
|
369
|
-
};
|
|
370
|
-
'& .webchat__fileContent__buttonLink': {
|
|
371
|
-
alignItems: string;
|
|
372
|
-
color: string;
|
|
373
|
-
textDecoration: string;
|
|
374
|
-
'&:focus': {
|
|
375
|
-
backgroundColor: string;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
'& .webchat__fileContent__downloadIcon': {
|
|
379
|
-
fill: string;
|
|
380
|
-
padding: number;
|
|
381
|
-
'&:not(.webchat__fileContent__downloadIcon--rtl)': {
|
|
382
|
-
marginLeft: number;
|
|
383
|
-
};
|
|
384
|
-
'&.webchat__fileContent__downloadIcon--rtl': {
|
|
385
|
-
marginRight: number;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
'& .webchat__fileContent__fileName': {
|
|
389
|
-
color: string;
|
|
390
|
-
};
|
|
391
|
-
};
|
|
392
|
-
readonly imageAvatar: {
|
|
393
|
-
height: number;
|
|
394
|
-
overflow: string;
|
|
395
|
-
width: number;
|
|
396
|
-
};
|
|
397
|
-
readonly initialsAvatar: {
|
|
398
|
-
'&.webchat__initialsAvatar': {
|
|
399
|
-
alignItems: string;
|
|
400
|
-
color: string;
|
|
401
|
-
fontFamily: string;
|
|
402
|
-
height: number;
|
|
403
|
-
justifyContent: string;
|
|
404
|
-
overflow: string;
|
|
405
|
-
width: number;
|
|
406
|
-
'&.webchat__initialsAvatar--fromUser': {
|
|
407
|
-
backgroundColor: string;
|
|
408
|
-
};
|
|
409
|
-
'&:not(.webchat__initialsAvatar--fromUser)': {
|
|
410
|
-
backgroundColor: string;
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
};
|
|
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
|
-
readonly microphoneButton: {
|
|
565
|
-
'&.webchat__microphone-button': {
|
|
566
|
-
'&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
|
|
567
|
-
'&, &:focus, &:hover': {
|
|
568
|
-
'& .webchat__microphone-button__icon': {
|
|
569
|
-
fill: string;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
readonly options: {
|
|
576
|
-
readonly accent: string;
|
|
577
|
-
readonly backgroundColor: string;
|
|
578
|
-
readonly subtle: string;
|
|
579
|
-
readonly paddingRegular: number;
|
|
580
|
-
readonly paddingWide: number;
|
|
581
|
-
readonly transitionDuration: string;
|
|
582
|
-
readonly fontSizeSmall: string | number;
|
|
583
|
-
readonly monospaceFont: string;
|
|
584
|
-
readonly primaryFont: string;
|
|
585
|
-
readonly rootHeight: string | number;
|
|
586
|
-
readonly rootWidth: string | number;
|
|
587
|
-
readonly rootZIndex: number;
|
|
588
|
-
readonly avatarBorderRadius: string | number;
|
|
589
|
-
readonly avatarSize: number;
|
|
590
|
-
readonly botAvatarBackgroundColor: string;
|
|
591
|
-
readonly botAvatarImage: string;
|
|
592
|
-
readonly botAvatarInitials: string;
|
|
593
|
-
readonly userAvatarBackgroundColor: string;
|
|
594
|
-
readonly userAvatarImage: string;
|
|
595
|
-
readonly userAvatarInitials: string;
|
|
596
|
-
readonly showAvatarInGroup: true | "sender" | "status";
|
|
597
|
-
readonly bubbleBackground: string;
|
|
598
|
-
readonly bubbleBorderColor: string;
|
|
599
|
-
readonly bubbleBorderRadius: number;
|
|
600
|
-
readonly bubbleBorderStyle: string;
|
|
601
|
-
readonly bubbleBorderWidth: number;
|
|
602
|
-
readonly bubbleFromUserBackground: string;
|
|
603
|
-
readonly bubbleFromUserBorderColor: string;
|
|
604
|
-
readonly bubbleFromUserBorderRadius: number;
|
|
605
|
-
readonly bubbleFromUserBorderStyle: string;
|
|
606
|
-
readonly bubbleFromUserBorderWidth: number;
|
|
607
|
-
readonly bubbleFromUserNubOffset: number;
|
|
608
|
-
readonly bubbleFromUserNubSize: number;
|
|
609
|
-
readonly bubbleFromUserTextColor: string;
|
|
610
|
-
readonly bubbleImageHeight: number;
|
|
611
|
-
readonly bubbleMaxWidth: number;
|
|
612
|
-
readonly bubbleMinHeight: number;
|
|
613
|
-
readonly bubbleMinWidth: number;
|
|
614
|
-
readonly bubbleNubOffset: number;
|
|
615
|
-
readonly bubbleNubSize: number;
|
|
616
|
-
readonly bubbleTextColor: string;
|
|
617
|
-
readonly messageActivityWordBreak: "break-word" | "normal" | "break-all" | "keep-all";
|
|
618
|
-
readonly connectivityIconPadding: number;
|
|
619
|
-
readonly connectivityMarginLeftRight: number;
|
|
620
|
-
readonly connectivityMarginTopBottom: number;
|
|
621
|
-
readonly connectivityTextSize: string | number;
|
|
622
|
-
readonly failedConnectivity: string | number;
|
|
623
|
-
readonly slowConnectivity: string;
|
|
624
|
-
readonly notificationText: string;
|
|
625
|
-
readonly slowConnectionAfter: number;
|
|
626
|
-
readonly emojiSet: (boolean | Record<string, string>) & (false | Record<string, string>);
|
|
627
|
-
readonly internalLiveRegionFadeAfter: number;
|
|
628
|
-
readonly markdownRespectCRLF: boolean;
|
|
629
|
-
readonly markdownRenderHTML: boolean;
|
|
630
|
-
readonly markdownExternalLinkIconImage: string;
|
|
631
|
-
readonly autoScrollSnapOnActivity: number | boolean;
|
|
632
|
-
readonly autoScrollSnapOnActivityOffset: number;
|
|
633
|
-
readonly autoScrollSnapOnPage: number | boolean;
|
|
634
|
-
readonly autoScrollSnapOnPageOffset: number;
|
|
635
|
-
readonly hideSendBox: boolean;
|
|
636
|
-
readonly hideUploadButton: boolean;
|
|
637
|
-
readonly hideTelephoneKeypadButton: boolean;
|
|
638
|
-
readonly microphoneButtonColorOnDictate: string;
|
|
639
|
-
readonly sendBoxBackground: string;
|
|
640
|
-
readonly uploadAccept: string;
|
|
641
|
-
readonly uploadMultiple: boolean;
|
|
642
|
-
readonly sendAttachmentOn: "attach" | "send";
|
|
643
|
-
readonly sendBoxButtonColor: string;
|
|
644
|
-
readonly sendBoxButtonShadeBorderRadius: number;
|
|
645
|
-
readonly sendBoxButtonShadeColor: string;
|
|
646
|
-
readonly sendBoxButtonShadeInset: number;
|
|
647
|
-
readonly sendBoxButtonColorOnActive: string;
|
|
648
|
-
readonly sendBoxButtonShadeColorOnActive: string;
|
|
649
|
-
readonly sendBoxButtonColorOnDisabled: string;
|
|
650
|
-
readonly sendBoxButtonShadeColorOnDisabled: string;
|
|
651
|
-
readonly sendBoxButtonColorOnFocus: string;
|
|
652
|
-
readonly sendBoxButtonShadeColorOnFocus: string;
|
|
653
|
-
readonly sendBoxButtonColorOnHover: string;
|
|
654
|
-
readonly sendBoxButtonShadeColorOnHover: string;
|
|
655
|
-
readonly sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
|
|
656
|
-
readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: string | number;
|
|
657
|
-
readonly sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
|
|
658
|
-
readonly sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
|
|
659
|
-
readonly sendBoxButtonKeyboardFocusIndicatorInset: number;
|
|
660
|
-
readonly sendBoxDisabledTextColor: string;
|
|
661
|
-
readonly sendBoxHeight: string | number;
|
|
662
|
-
readonly sendBoxMaxHeight: string | number;
|
|
663
|
-
readonly sendBoxTextColor: string;
|
|
664
|
-
readonly sendBoxBorderBottom: string | number;
|
|
665
|
-
readonly sendBoxBorderLeft: string | number;
|
|
666
|
-
readonly sendBoxBorderRight: string | number;
|
|
667
|
-
readonly sendBoxBorderTop: string | number;
|
|
668
|
-
readonly sendBoxPlaceholderColor: string;
|
|
669
|
-
readonly sendBoxTextWrap: boolean;
|
|
670
|
-
readonly sendBoxButtonAlignment: "bottom" | "top" | "stretch";
|
|
671
|
-
readonly showSpokenText: boolean;
|
|
672
|
-
readonly spinnerAnimationBackgroundImage: string;
|
|
673
|
-
readonly spinnerAnimationHeight: string | number;
|
|
674
|
-
readonly spinnerAnimationWidth: string | number;
|
|
675
|
-
readonly spinnerAnimationPadding: string | number;
|
|
676
|
-
readonly suggestedActionBorderRadius: string | number;
|
|
677
|
-
readonly suggestedActionBackground: string;
|
|
678
|
-
readonly suggestedActionBackgroundColor: string;
|
|
679
|
-
readonly suggestedActionBorderColor: string;
|
|
680
|
-
readonly suggestedActionBorderStyle: string;
|
|
681
|
-
readonly suggestedActionBorderWidth: number;
|
|
682
|
-
readonly suggestedActionTextColor: string;
|
|
683
|
-
readonly suggestedActionBackgroundColorOnDisabled: string;
|
|
684
|
-
readonly suggestedActionBorderColorOnDisabled: string;
|
|
685
|
-
readonly suggestedActionBorderStyleOnDisabled: string;
|
|
686
|
-
readonly suggestedActionBorderWidthOnDisabled: number;
|
|
687
|
-
readonly suggestedActionTextColorOnDisabled: string;
|
|
688
|
-
readonly suggestedActionBackgroundColorOnActive: string;
|
|
689
|
-
readonly suggestedActionBorderColorOnActive: string;
|
|
690
|
-
readonly suggestedActionBorderStyleOnActive: string;
|
|
691
|
-
readonly suggestedActionBorderWidthOnActive: number;
|
|
692
|
-
readonly suggestedActionTextColorOnActive: string;
|
|
693
|
-
readonly suggestedActionBackgroundColorOnFocus: string;
|
|
694
|
-
readonly suggestedActionBorderColorOnFocus: string;
|
|
695
|
-
readonly suggestedActionBorderStyleOnFocus: string;
|
|
696
|
-
readonly suggestedActionBorderWidthOnFocus: number;
|
|
697
|
-
readonly suggestedActionTextColorOnFocus: string;
|
|
698
|
-
readonly suggestedActionBackgroundColorOnHover: string;
|
|
699
|
-
readonly suggestedActionBorderColorOnHover: string;
|
|
700
|
-
readonly suggestedActionBorderStyleOnHover: string;
|
|
701
|
-
readonly suggestedActionBorderWidthOnHover: number;
|
|
702
|
-
readonly suggestedActionTextColorOnHover: string;
|
|
703
|
-
readonly suggestedActionDisabledBackground: string;
|
|
704
|
-
readonly suggestedActionDisabledBorderColor: string;
|
|
705
|
-
readonly suggestedActionDisabledBorderStyle: string;
|
|
706
|
-
readonly suggestedActionDisabledBorderWidth: number;
|
|
707
|
-
readonly suggestedActionDisabledTextColor: string;
|
|
708
|
-
readonly suggestedActionHeight: string | number;
|
|
709
|
-
readonly suggestedActionImageHeight: string | number;
|
|
710
|
-
readonly suggestedActionLayout: "carousel" | "flow" | "stacked";
|
|
711
|
-
readonly suggestedActionKeyboardFocusIndicatorBorderColor: string;
|
|
712
|
-
readonly suggestedActionKeyboardFocusIndicatorBorderRadius: string | number;
|
|
713
|
-
readonly suggestedActionKeyboardFocusIndicatorBorderStyle: string;
|
|
714
|
-
readonly suggestedActionKeyboardFocusIndicatorBorderWidth: number;
|
|
715
|
-
readonly suggestedActionKeyboardFocusIndicatorInset: number;
|
|
716
|
-
readonly suggestedActionActiveBackground: string;
|
|
717
|
-
readonly suggestedActionFocusBackground: string;
|
|
718
|
-
readonly suggestedActionHoverBackground: string;
|
|
719
|
-
readonly suggestedActionsCarouselFlipperCursor: string;
|
|
720
|
-
readonly suggestedActionsCarouselFlipperBoxWidth: number;
|
|
721
|
-
readonly suggestedActionsCarouselFlipperSize: number;
|
|
722
|
-
readonly suggestedActionsFlowMaxHeight: undefined;
|
|
723
|
-
readonly suggestedActionsStackedHeight: number | "auto";
|
|
724
|
-
readonly suggestedActionsStackedOverflow: "visible" | "hidden" | "auto" | "scroll";
|
|
725
|
-
readonly suggestedActionsStackedLayoutButtonMaxHeight: string | number;
|
|
726
|
-
readonly suggestedActionsStackedLayoutButtonTextWrap: boolean;
|
|
727
|
-
readonly suggestedActionsVisualKeyboardIndicatorColor: string;
|
|
728
|
-
readonly suggestedActionsVisualKeyboardIndicatorStyle: string;
|
|
729
|
-
readonly suggestedActionsVisualKeyboardIndicatorWidth: number;
|
|
730
|
-
readonly groupTimestamp: number | boolean;
|
|
731
|
-
readonly sendTimeout: number | ((activity: botframework_webchat_core.WebChatActivity) => number);
|
|
732
|
-
readonly sendTimeoutForAttachments: number;
|
|
733
|
-
readonly timestampColor: string;
|
|
734
|
-
readonly timestampFormat: "relative" | "absolute";
|
|
735
|
-
readonly transcriptTerminatorBackgroundColor: string;
|
|
736
|
-
readonly transcriptTerminatorBorderRadius: string | number;
|
|
737
|
-
readonly transcriptTerminatorColor: string;
|
|
738
|
-
readonly transcriptTerminatorFontSize: string | number;
|
|
739
|
-
readonly transcriptActivityVisualKeyboardIndicatorColor: string;
|
|
740
|
-
readonly transcriptActivityVisualKeyboardIndicatorStyle: string;
|
|
741
|
-
readonly transcriptActivityVisualKeyboardIndicatorWidth: string | number;
|
|
742
|
-
readonly transcriptVisualKeyboardIndicatorColor: string;
|
|
743
|
-
readonly transcriptVisualKeyboardIndicatorStyle: string;
|
|
744
|
-
readonly transcriptVisualKeyboardIndicatorWidth: string | number;
|
|
745
|
-
readonly scrollToEndButtonBehavior: false | "any" | "unread";
|
|
746
|
-
readonly scrollToEndButtonFontSize: string | number;
|
|
747
|
-
readonly transcriptOverlayButtonBackground: string;
|
|
748
|
-
readonly transcriptOverlayButtonBackgroundOnDisabled: string;
|
|
749
|
-
readonly transcriptOverlayButtonBackgroundOnFocus: string;
|
|
750
|
-
readonly transcriptOverlayButtonBackgroundOnHover: string;
|
|
751
|
-
readonly transcriptOverlayButtonColor: string;
|
|
752
|
-
readonly transcriptOverlayButtonColorOnDisabled: string;
|
|
753
|
-
readonly transcriptOverlayButtonColorOnFocus: string;
|
|
754
|
-
readonly transcriptOverlayButtonColorOnHover: string;
|
|
755
|
-
readonly notificationDebounceTimeout: number;
|
|
756
|
-
readonly hideToaster: boolean;
|
|
757
|
-
readonly toasterHeight: string | number;
|
|
758
|
-
readonly toasterMaxHeight: string | number;
|
|
759
|
-
readonly toasterSingularMaxHeight: string | number;
|
|
760
|
-
readonly toastFontSize: string | number;
|
|
761
|
-
readonly toastIconWidth: string | number;
|
|
762
|
-
readonly toastSeparatorColor: string;
|
|
763
|
-
readonly toastTextPadding: string | number;
|
|
764
|
-
readonly toastErrorBackgroundColor: string;
|
|
765
|
-
readonly toastErrorColor: string;
|
|
766
|
-
readonly toastInfoBackgroundColor: string;
|
|
767
|
-
readonly toastInfoColor: string;
|
|
768
|
-
readonly toastSuccessBackgroundColor: string;
|
|
769
|
-
readonly toastSuccessColor: string;
|
|
770
|
-
readonly toastWarnBackgroundColor: string;
|
|
771
|
-
readonly toastWarnColor: string;
|
|
772
|
-
readonly typingAnimationBackgroundImage: string;
|
|
773
|
-
readonly typingAnimationDuration: number;
|
|
774
|
-
readonly typingAnimationHeight: string | number;
|
|
775
|
-
readonly typingAnimationWidth: string | number;
|
|
776
|
-
readonly enableUploadThumbnail: boolean;
|
|
777
|
-
readonly uploadThumbnailContentType: string;
|
|
778
|
-
readonly uploadThumbnailHeight: number;
|
|
779
|
-
readonly uploadThumbnailQuality: number;
|
|
780
|
-
readonly uploadThumbnailWidth: number;
|
|
781
|
-
readonly videoHeight: string | number;
|
|
782
|
-
readonly maxMessageLength: number;
|
|
783
|
-
};
|
|
784
|
-
readonly root: {
|
|
785
|
-
backgroundColor: string;
|
|
786
|
-
height: string | number;
|
|
787
|
-
width: string | number;
|
|
788
|
-
zIndex: number;
|
|
789
|
-
};
|
|
790
|
-
readonly scrollToEndButton: {
|
|
791
|
-
'&.webchat__scroll-to-end-button': {
|
|
792
|
-
'@media screen and (forced-colors: active)': {
|
|
793
|
-
borderWidth: string;
|
|
794
|
-
outline: string;
|
|
795
|
-
};
|
|
796
|
-
appearance: string;
|
|
797
|
-
backgroundColor: string;
|
|
798
|
-
borderRadius: number;
|
|
799
|
-
borderWidth: number;
|
|
800
|
-
bottom: number;
|
|
801
|
-
color: string;
|
|
802
|
-
fontFamily: string;
|
|
803
|
-
fontSize: string | number;
|
|
804
|
-
outline: number;
|
|
805
|
-
padding: number;
|
|
806
|
-
position: string;
|
|
807
|
-
zIndex: number;
|
|
808
|
-
'&:hover': {
|
|
809
|
-
backgroundColor: string;
|
|
810
|
-
color: string;
|
|
811
|
-
};
|
|
812
|
-
'&:focus': {
|
|
813
|
-
backgroundColor: string;
|
|
814
|
-
color: string;
|
|
815
|
-
};
|
|
816
|
-
'&:not(.webchat__scroll-to-end-button--rtl)': {
|
|
817
|
-
right: number;
|
|
818
|
-
};
|
|
819
|
-
'&.webchat__scroll-to-end-button--rtl': {
|
|
820
|
-
left: number;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
823
|
-
};
|
|
824
|
-
readonly sendBox: {
|
|
825
|
-
'&.webchat__send-box': {
|
|
826
|
-
'& .webchat__send-box__button--align-bottom': {
|
|
827
|
-
alignSelf: string;
|
|
828
|
-
};
|
|
829
|
-
'& .webchat__send-box__button--align-stretch': {
|
|
830
|
-
alignSelf: string;
|
|
831
|
-
};
|
|
832
|
-
'& .webchat__send-box__button--align-top': {
|
|
833
|
-
alignSelf: string;
|
|
834
|
-
};
|
|
835
|
-
'& .webchat__send-box__main': {
|
|
836
|
-
alignItems: string;
|
|
837
|
-
backgroundColor: string;
|
|
838
|
-
borderBottom: string | number;
|
|
839
|
-
borderLeft: string | number;
|
|
840
|
-
borderRight: string | number;
|
|
841
|
-
borderTop: string | number;
|
|
842
|
-
minHeight: string | number;
|
|
843
|
-
};
|
|
844
|
-
};
|
|
845
|
-
};
|
|
846
|
-
readonly sendBoxButton: {
|
|
847
|
-
'&.webchat__icon-button': {
|
|
848
|
-
alignItems: string;
|
|
849
|
-
appearance: string;
|
|
850
|
-
backgroundColor: string;
|
|
851
|
-
border: number;
|
|
852
|
-
display: string;
|
|
853
|
-
fill: string;
|
|
854
|
-
justifyContent: string;
|
|
855
|
-
outline: number;
|
|
856
|
-
padding: number;
|
|
857
|
-
position: string;
|
|
858
|
-
width: string | number;
|
|
859
|
-
'&:not(.webchat__icon-button--stretch)': {
|
|
860
|
-
height: string | number;
|
|
861
|
-
};
|
|
862
|
-
'&:disabled, &[aria-disabled="true"]': {
|
|
863
|
-
fill: string;
|
|
864
|
-
'& .webchat__icon-button__shade': {
|
|
865
|
-
backgroundColor: string;
|
|
866
|
-
};
|
|
867
|
-
};
|
|
868
|
-
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
869
|
-
'&:active': {
|
|
870
|
-
fill: string;
|
|
871
|
-
'& .webchat__icon-button__shade': {
|
|
872
|
-
backgroundColor: string;
|
|
873
|
-
};
|
|
874
|
-
};
|
|
875
|
-
'&:not(:active)': {
|
|
876
|
-
'&:hover': {
|
|
877
|
-
fill: string;
|
|
878
|
-
'& .webchat__icon-button__shade': {
|
|
879
|
-
backgroundColor: string;
|
|
880
|
-
};
|
|
881
|
-
};
|
|
882
|
-
'&:not(:hover)': {
|
|
883
|
-
'&:focus': {
|
|
884
|
-
fill: string;
|
|
885
|
-
'& .webchat__icon-button__shade': {
|
|
886
|
-
backgroundColor: string;
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
};
|
|
891
|
-
};
|
|
892
|
-
'&:not(:focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
893
|
-
display: string;
|
|
894
|
-
};
|
|
895
|
-
'&:not(.webchat__icon-button--focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
896
|
-
display: string;
|
|
897
|
-
};
|
|
898
|
-
'& > *': {
|
|
899
|
-
position: string;
|
|
900
|
-
};
|
|
901
|
-
'& .webchat__icon-button__shade': {
|
|
902
|
-
backgroundColor: string;
|
|
903
|
-
borderRadius: number;
|
|
904
|
-
bottom: number;
|
|
905
|
-
left: number;
|
|
906
|
-
position: string;
|
|
907
|
-
right: number;
|
|
908
|
-
top: number;
|
|
909
|
-
};
|
|
910
|
-
'& .webchat__icon-button__keyboard-focus-indicator': {
|
|
911
|
-
borderColor: string;
|
|
912
|
-
borderRadius: string | number;
|
|
913
|
-
borderStyle: string;
|
|
914
|
-
borderWidth: number;
|
|
915
|
-
bottom: number;
|
|
916
|
-
left: number;
|
|
917
|
-
position: string;
|
|
918
|
-
right: number;
|
|
919
|
-
top: number;
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
};
|
|
923
|
-
readonly sendBoxTextBox: {
|
|
924
|
-
'&.webchat__send-box-text-box': {
|
|
925
|
-
alignItems: string;
|
|
926
|
-
fontFamily: string;
|
|
927
|
-
padding: number;
|
|
928
|
-
position: string;
|
|
929
|
-
'& .webchat__send-box-text-box__input': {
|
|
930
|
-
border: number;
|
|
931
|
-
fontFamily: string;
|
|
932
|
-
fontSize: string;
|
|
933
|
-
height: string;
|
|
934
|
-
outline: number;
|
|
935
|
-
padding: number;
|
|
936
|
-
};
|
|
937
|
-
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area': {
|
|
938
|
-
backgroundColor: string;
|
|
939
|
-
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
940
|
-
color: string;
|
|
941
|
-
};
|
|
942
|
-
'&:disabled, &[aria-disabled="true"]': {
|
|
943
|
-
color: string;
|
|
944
|
-
};
|
|
945
|
-
'&::placeholder': {
|
|
946
|
-
color: string;
|
|
947
|
-
};
|
|
948
|
-
};
|
|
949
|
-
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area': {
|
|
950
|
-
maxHeight: string | number;
|
|
951
|
-
};
|
|
952
|
-
'& .webchat__send-box-text-box__glass': {
|
|
953
|
-
height: string;
|
|
954
|
-
left: number;
|
|
955
|
-
position: string;
|
|
956
|
-
top: number;
|
|
957
|
-
userSelect: number;
|
|
958
|
-
width: string;
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
};
|
|
962
|
-
readonly singleAttachmentActivity: {
|
|
963
|
-
'& > .bubble-box': {
|
|
964
|
-
maxWidth: number;
|
|
965
|
-
minWidth: number;
|
|
966
|
-
};
|
|
967
|
-
'& > .filler': {
|
|
968
|
-
minWidth: number;
|
|
969
|
-
};
|
|
970
|
-
};
|
|
971
|
-
readonly spinnerAnimation: {
|
|
972
|
-
backgroundImage: string;
|
|
973
|
-
backgroundRepeat: string;
|
|
974
|
-
backgroundSize: string;
|
|
975
|
-
height: string | number;
|
|
976
|
-
width: string | number;
|
|
977
|
-
':not(.webchat__spinner--rtl)': {
|
|
978
|
-
marginRight: string | number;
|
|
979
|
-
};
|
|
980
|
-
'.webchat__spinner--rtl': {
|
|
981
|
-
marginLeft: string | number;
|
|
982
|
-
};
|
|
983
|
-
};
|
|
984
|
-
readonly stackedLayout: {
|
|
985
|
-
'&.webchat__stacked-layout': {
|
|
986
|
-
marginLeft: number;
|
|
987
|
-
marginRight: number;
|
|
988
|
-
'& .webchat__stacked-layout__alignment-pad': {
|
|
989
|
-
transitionDuration: string;
|
|
990
|
-
transitionProperty: string;
|
|
991
|
-
width: number;
|
|
992
|
-
};
|
|
993
|
-
'&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad': {
|
|
994
|
-
width: number;
|
|
995
|
-
};
|
|
996
|
-
'& .webchat__stacked-layout__avatar-gutter': {
|
|
997
|
-
transitionDuration: string;
|
|
998
|
-
transitionProperty: string;
|
|
999
|
-
width: number;
|
|
1000
|
-
};
|
|
1001
|
-
'& .webchat__stacked-layout__attachment': {
|
|
1002
|
-
maxWidth: number;
|
|
1003
|
-
minWidth: number;
|
|
1004
|
-
transitionDuration: string;
|
|
1005
|
-
transitionProperty: string;
|
|
1006
|
-
};
|
|
1007
|
-
'& .webchat__stacked-layout__attachment-row': {
|
|
1008
|
-
marginTop: number;
|
|
1009
|
-
width: string;
|
|
1010
|
-
};
|
|
1011
|
-
'&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first': {
|
|
1012
|
-
marginTop: number;
|
|
1013
|
-
};
|
|
1014
|
-
'& .webchat__stacked-layout__message': {
|
|
1015
|
-
maxWidth: number;
|
|
1016
|
-
overflow: string;
|
|
1017
|
-
transitionDuration: string;
|
|
1018
|
-
transitionProperty: string;
|
|
1019
|
-
};
|
|
1020
|
-
'& .webchat__stacked-layout__nub-pad': {
|
|
1021
|
-
transitionDuration: string;
|
|
1022
|
-
transitionProperty: string;
|
|
1023
|
-
width: number;
|
|
1024
|
-
};
|
|
1025
|
-
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar': {
|
|
1026
|
-
'& .webchat__stacked-layout__avatar-gutter': {
|
|
1027
|
-
width: number;
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
'&.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, & .webchat__stacked-layout__message': {
|
|
1032
|
-
maxWidth: number;
|
|
1033
|
-
};
|
|
1034
|
-
'& .webchat__stacked-layout__nub-pad': {
|
|
1035
|
-
width: number;
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
'&:not(.webchat__stacked-layout--top-callout)': {
|
|
1039
|
-
'& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content': {
|
|
1040
|
-
justifyContent: string;
|
|
1041
|
-
};
|
|
1042
|
-
};
|
|
1043
|
-
};
|
|
1044
|
-
};
|
|
1045
|
-
readonly suggestedAction: {
|
|
1046
|
-
'&.webchat__suggested-action': {
|
|
1047
|
-
alignItems: string;
|
|
1048
|
-
background: string;
|
|
1049
|
-
backgroundColor: string;
|
|
1050
|
-
borderColor: string;
|
|
1051
|
-
borderRadius: string | number;
|
|
1052
|
-
borderStyle: string;
|
|
1053
|
-
borderWidth: number;
|
|
1054
|
-
color: string;
|
|
1055
|
-
fontFamily: string;
|
|
1056
|
-
fontSize: string;
|
|
1057
|
-
height: string | number;
|
|
1058
|
-
justifyContent: string;
|
|
1059
|
-
maxWidth: string;
|
|
1060
|
-
outline: number;
|
|
1061
|
-
paddingLeft: number;
|
|
1062
|
-
paddingRight: number;
|
|
1063
|
-
position: string;
|
|
1064
|
-
whiteSpace: string;
|
|
1065
|
-
width: string;
|
|
1066
|
-
'&:disabled, &[aria-disabled="true"]': {
|
|
1067
|
-
background: string;
|
|
1068
|
-
backgroundColor: string;
|
|
1069
|
-
borderColor: string;
|
|
1070
|
-
borderStyle: string;
|
|
1071
|
-
borderWidth: number;
|
|
1072
|
-
color: string;
|
|
1073
|
-
};
|
|
1074
|
-
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
1075
|
-
'&:active': {
|
|
1076
|
-
background: string;
|
|
1077
|
-
backgroundColor: string;
|
|
1078
|
-
borderColor: string;
|
|
1079
|
-
borderStyle: string;
|
|
1080
|
-
borderWidth: number;
|
|
1081
|
-
color: string;
|
|
1082
|
-
};
|
|
1083
|
-
'&:not(:active)': {
|
|
1084
|
-
'&:hover': {
|
|
1085
|
-
background: string;
|
|
1086
|
-
backgroundColor: string;
|
|
1087
|
-
borderColor: string;
|
|
1088
|
-
borderStyle: string;
|
|
1089
|
-
borderWidth: number;
|
|
1090
|
-
color: string;
|
|
1091
|
-
};
|
|
1092
|
-
'&:not(:hover)': {
|
|
1093
|
-
'&:focus': {
|
|
1094
|
-
background: string;
|
|
1095
|
-
backgroundColor: string;
|
|
1096
|
-
borderColor: string;
|
|
1097
|
-
borderStyle: string;
|
|
1098
|
-
borderWidth: number;
|
|
1099
|
-
color: string;
|
|
1100
|
-
};
|
|
1101
|
-
};
|
|
1102
|
-
};
|
|
1103
|
-
};
|
|
1104
|
-
'&:not(:focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1105
|
-
display: string;
|
|
1106
|
-
};
|
|
1107
|
-
'&:not(.webchat__suggested-action--focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1108
|
-
display: string;
|
|
1109
|
-
};
|
|
1110
|
-
'&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
1111
|
-
paddingLeft: number;
|
|
1112
|
-
};
|
|
1113
|
-
'&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
1114
|
-
paddingRight: number;
|
|
1115
|
-
};
|
|
1116
|
-
'&.webchat__suggested-action--wrapping': {
|
|
1117
|
-
height: string;
|
|
1118
|
-
maxHeight: string | number;
|
|
1119
|
-
minHeight: string | number;
|
|
1120
|
-
};
|
|
1121
|
-
'& .webchat__suggested-action__image': {
|
|
1122
|
-
height: string | number;
|
|
1123
|
-
};
|
|
1124
|
-
'& .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1125
|
-
borderColor: string;
|
|
1126
|
-
borderRadius: string | number;
|
|
1127
|
-
borderStyle: string;
|
|
1128
|
-
borderWidth: number;
|
|
1129
|
-
bottom: number;
|
|
1130
|
-
left: number;
|
|
1131
|
-
position: string;
|
|
1132
|
-
right: number;
|
|
1133
|
-
top: number;
|
|
1134
|
-
};
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
readonly suggestedActions: {
|
|
1138
|
-
'&.webchat__suggested-actions': {
|
|
1139
|
-
position: string;
|
|
1140
|
-
'&.webchat__suggested-actions--carousel-layout': {
|
|
1141
|
-
'& .webchat__suggested-actions__carousel': {
|
|
1142
|
-
paddingBottom: number;
|
|
1143
|
-
paddingTop: number;
|
|
1144
|
-
'& .webchat__suggested-actions__item-box': {
|
|
1145
|
-
paddingBottom: number;
|
|
1146
|
-
paddingLeft: number;
|
|
1147
|
-
paddingRight: number;
|
|
1148
|
-
paddingTop: number;
|
|
1149
|
-
};
|
|
1150
|
-
'& .react-film__filmstrip': {
|
|
1151
|
-
scrollbarWidth: string;
|
|
1152
|
-
};
|
|
1153
|
-
'& .react-film__flipper': {
|
|
1154
|
-
'&:disabled, &[aria-disabled="true"]': {
|
|
1155
|
-
'& .react-film__flipper__body': {
|
|
1156
|
-
backgroundColor: string;
|
|
1157
|
-
color: string;
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
'&:focus .react-film__flipper__body': {
|
|
1161
|
-
backgroundColor: string;
|
|
1162
|
-
color: string;
|
|
1163
|
-
};
|
|
1164
|
-
'&:hover .react-film__flipper__body': {
|
|
1165
|
-
backgroundColor: string;
|
|
1166
|
-
color: string;
|
|
1167
|
-
};
|
|
1168
|
-
'& .react-film__flipper__body': {
|
|
1169
|
-
background: string;
|
|
1170
|
-
color: string;
|
|
1171
|
-
outline: number;
|
|
1172
|
-
};
|
|
1173
|
-
};
|
|
1174
|
-
};
|
|
1175
|
-
'&:not(.webchat__suggested-actions--rtl)': {
|
|
1176
|
-
'& .react-film__filmstrip__item:first-child': {
|
|
1177
|
-
paddingLeft: number;
|
|
1178
|
-
};
|
|
1179
|
-
'& .react-film__filmstrip__item:last-child': {
|
|
1180
|
-
paddingRight: number;
|
|
1181
|
-
};
|
|
1182
|
-
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1183
|
-
'& .react-film__filmstrip__item:first-child': {
|
|
1184
|
-
paddingLeft: number;
|
|
1185
|
-
};
|
|
1186
|
-
'& .react-film__filmstrip__item:last-child': {
|
|
1187
|
-
paddingRight: number;
|
|
1188
|
-
};
|
|
1189
|
-
};
|
|
1190
|
-
};
|
|
1191
|
-
'&.webchat__suggested-actions--rtl': {
|
|
1192
|
-
'& .react-film__filmstrip__item:first-child': {
|
|
1193
|
-
paddingRight: number;
|
|
1194
|
-
};
|
|
1195
|
-
'& .react-film__filmstrip__item:last-child': {
|
|
1196
|
-
paddingLeft: number;
|
|
1197
|
-
};
|
|
1198
|
-
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1199
|
-
'& .react-film__filmstrip__item:first-child': {
|
|
1200
|
-
paddingRight: number;
|
|
1201
|
-
};
|
|
1202
|
-
'& .react-film__filmstrip__item:last-child': {
|
|
1203
|
-
paddingLeft: number;
|
|
1204
|
-
};
|
|
1205
|
-
};
|
|
1206
|
-
};
|
|
1207
|
-
};
|
|
1208
|
-
'&.webchat__suggested-actions--flow-layout': {
|
|
1209
|
-
'& .webchat__suggested-actions__flow-box': {
|
|
1210
|
-
maxHeight: undefined;
|
|
1211
|
-
overflowY: string;
|
|
1212
|
-
paddingBottom: number;
|
|
1213
|
-
paddingLeft: number;
|
|
1214
|
-
paddingRight: number;
|
|
1215
|
-
paddingTop: number;
|
|
1216
|
-
};
|
|
1217
|
-
'& .webchat__suggested-actions__flow-item-box': {
|
|
1218
|
-
maxWidth: string;
|
|
1219
|
-
overflow: string;
|
|
1220
|
-
};
|
|
1221
|
-
'& .webchat__suggested-actions__item-box': {
|
|
1222
|
-
paddingBottom: number;
|
|
1223
|
-
paddingLeft: number;
|
|
1224
|
-
paddingRight: number;
|
|
1225
|
-
paddingTop: number;
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
'&.webchat__suggested-actions--stacked-layout': {
|
|
1229
|
-
'& .webchat__suggested-actions__stack': {
|
|
1230
|
-
maxHeight: number | "auto";
|
|
1231
|
-
overflowY: "visible" | "hidden" | "auto" | "scroll";
|
|
1232
|
-
paddingBottom: number;
|
|
1233
|
-
paddingLeft: number;
|
|
1234
|
-
paddingRight: number;
|
|
1235
|
-
paddingTop: number;
|
|
1236
|
-
};
|
|
1237
|
-
'& .webchat__suggested-actions__item-box': {
|
|
1238
|
-
paddingBottom: number;
|
|
1239
|
-
paddingLeft: number;
|
|
1240
|
-
paddingRight: number;
|
|
1241
|
-
paddingTop: number;
|
|
1242
|
-
};
|
|
1243
|
-
};
|
|
1244
|
-
'&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout': {
|
|
1245
|
-
'& .webchat__suggested-actions__button-text': {
|
|
1246
|
-
overflow: string;
|
|
1247
|
-
textOverflow: string;
|
|
1248
|
-
};
|
|
1249
|
-
'& .webchat__suggested-actions__button-text-stacked-text-wrap': {
|
|
1250
|
-
alignItems: string;
|
|
1251
|
-
display: string;
|
|
1252
|
-
whiteSpace: string;
|
|
1253
|
-
};
|
|
1254
|
-
};
|
|
1255
|
-
'& .webchat__suggested-actions__item-box': {
|
|
1256
|
-
display: string;
|
|
1257
|
-
maxWidth: string;
|
|
1258
|
-
};
|
|
1259
|
-
'&.webchat__suggested-actions--focus-within, &:focus-within': {
|
|
1260
|
-
'& .webchat__suggested-actions__focus-indicator': {
|
|
1261
|
-
borderColor: string;
|
|
1262
|
-
borderStyle: string;
|
|
1263
|
-
borderWidth: number;
|
|
1264
|
-
boxSizing: string;
|
|
1265
|
-
height: string;
|
|
1266
|
-
pointerEvents: string;
|
|
1267
|
-
position: string;
|
|
1268
|
-
top: number;
|
|
1269
|
-
width: string;
|
|
1270
|
-
};
|
|
1271
|
-
};
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
readonly toast: {
|
|
1275
|
-
fontFamily: string;
|
|
1276
|
-
fontSize: string | number;
|
|
1277
|
-
minHeight: string | number;
|
|
1278
|
-
'&.webchat__toast--error': {
|
|
1279
|
-
color: string;
|
|
1280
|
-
fill: string;
|
|
1281
|
-
};
|
|
1282
|
-
'&.webchat__toast--info': {
|
|
1283
|
-
color: string;
|
|
1284
|
-
fill: string;
|
|
1285
|
-
};
|
|
1286
|
-
'&.webchat__toast--success': {
|
|
1287
|
-
color: string;
|
|
1288
|
-
fill: string;
|
|
1289
|
-
};
|
|
1290
|
-
'&.webchat__toast--warn': {
|
|
1291
|
-
color: string;
|
|
1292
|
-
fill: string;
|
|
1293
|
-
};
|
|
1294
|
-
'& .webchat__toast__iconBox': {
|
|
1295
|
-
alignItems: string;
|
|
1296
|
-
display: string;
|
|
1297
|
-
flexShrink: number;
|
|
1298
|
-
height: string | number;
|
|
1299
|
-
justifyContent: string;
|
|
1300
|
-
width: string | number;
|
|
1301
|
-
};
|
|
1302
|
-
'& .webchat__toast__dismissButton': {
|
|
1303
|
-
alignItems: string;
|
|
1304
|
-
appearance: string;
|
|
1305
|
-
backgroundColor: string;
|
|
1306
|
-
border: number;
|
|
1307
|
-
display: string;
|
|
1308
|
-
height: string | number;
|
|
1309
|
-
justifyContent: string;
|
|
1310
|
-
outline: number;
|
|
1311
|
-
padding: number;
|
|
1312
|
-
width: string | number;
|
|
1313
|
-
'&:focus .webchat__toast__dismissButtonFocus': {
|
|
1314
|
-
borderColor: string;
|
|
1315
|
-
};
|
|
1316
|
-
'&:hover .webchat__toast__dismissButtonFocus': {
|
|
1317
|
-
backgroundColor: string;
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
'& .webchat__toast__dismissButtonFocus': {
|
|
1321
|
-
alignItems: string;
|
|
1322
|
-
borderColor: string;
|
|
1323
|
-
borderStyle: string;
|
|
1324
|
-
borderWidth: number;
|
|
1325
|
-
borderRadius: number;
|
|
1326
|
-
display: string;
|
|
1327
|
-
height: number;
|
|
1328
|
-
justifyContent: string;
|
|
1329
|
-
width: number;
|
|
1330
|
-
};
|
|
1331
|
-
'& .webchat__toast__text': {
|
|
1332
|
-
alignSelf: string;
|
|
1333
|
-
paddingBottom: string | number;
|
|
1334
|
-
paddingTop: string | number;
|
|
1335
|
-
};
|
|
1336
|
-
};
|
|
1337
|
-
readonly toaster: {
|
|
1338
|
-
overflowY: string;
|
|
1339
|
-
'&:not(.webchat__toaster--expandable)': {
|
|
1340
|
-
maxHeight: string | number;
|
|
1341
|
-
};
|
|
1342
|
-
'&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul': {
|
|
1343
|
-
height: number;
|
|
1344
|
-
};
|
|
1345
|
-
'&.webchat__toaster--expandable.webchat__toaster--expanded': {
|
|
1346
|
-
maxHeight: string | number;
|
|
1347
|
-
};
|
|
1348
|
-
'& .webchat__toaster__header': {
|
|
1349
|
-
alignItems: string;
|
|
1350
|
-
alignSelf: string;
|
|
1351
|
-
appearance: string;
|
|
1352
|
-
backgroundColor: string;
|
|
1353
|
-
border: number;
|
|
1354
|
-
display: string;
|
|
1355
|
-
fontFamily: string;
|
|
1356
|
-
fontSize: string | number;
|
|
1357
|
-
minHeight: string | number;
|
|
1358
|
-
outline: number;
|
|
1359
|
-
padding: number;
|
|
1360
|
-
textAlign: string;
|
|
1361
|
-
'&:focus .webchat__toaster__expandIconFocus': {
|
|
1362
|
-
borderColor: string;
|
|
1363
|
-
};
|
|
1364
|
-
'&:hover .webchat__toaster__expandIconFocus': {
|
|
1365
|
-
backgroundColor: string;
|
|
1366
|
-
};
|
|
1367
|
-
};
|
|
1368
|
-
'& .webchat__toaster__expandIconFocus': {
|
|
1369
|
-
alignItems: string;
|
|
1370
|
-
borderColor: string;
|
|
1371
|
-
borderStyle: string;
|
|
1372
|
-
borderWidth: number;
|
|
1373
|
-
borderRadius: number;
|
|
1374
|
-
display: string;
|
|
1375
|
-
height: number;
|
|
1376
|
-
justifyContent: string;
|
|
1377
|
-
width: number;
|
|
1378
|
-
};
|
|
1379
|
-
'&.webchat__toaster--error': {
|
|
1380
|
-
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1381
|
-
backgroundColor: string;
|
|
1382
|
-
};
|
|
1383
|
-
'& .webchat__toaster__header': {
|
|
1384
|
-
color: string;
|
|
1385
|
-
fill: string;
|
|
1386
|
-
};
|
|
1387
|
-
};
|
|
1388
|
-
'&.webchat__toaster--info': {
|
|
1389
|
-
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1390
|
-
backgroundColor: string;
|
|
1391
|
-
};
|
|
1392
|
-
'& .webchat__toaster__header': {
|
|
1393
|
-
color: string;
|
|
1394
|
-
fill: string;
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
1397
|
-
'&.webchat__toaster--success': {
|
|
1398
|
-
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1399
|
-
backgroundColor: string;
|
|
1400
|
-
};
|
|
1401
|
-
'& .webchat__toaster__header': {
|
|
1402
|
-
color: string;
|
|
1403
|
-
fill: string;
|
|
1404
|
-
};
|
|
1405
|
-
};
|
|
1406
|
-
'&.webchat__toaster--warn': {
|
|
1407
|
-
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1408
|
-
backgroundColor: string;
|
|
1409
|
-
};
|
|
1410
|
-
'& .webchat__toaster__header': {
|
|
1411
|
-
color: string;
|
|
1412
|
-
fill: string;
|
|
1413
|
-
};
|
|
1414
|
-
};
|
|
1415
|
-
'& .webchat__toaster__expandLevelIconBox': {
|
|
1416
|
-
height: string | number;
|
|
1417
|
-
width: string | number;
|
|
1418
|
-
};
|
|
1419
|
-
'& .webchat__toaster__expandIcon': {
|
|
1420
|
-
height: string | number;
|
|
1421
|
-
width: string | number;
|
|
1422
|
-
};
|
|
1423
|
-
'& .webchat__toaster__expandText': {
|
|
1424
|
-
padding: string;
|
|
1425
|
-
};
|
|
1426
|
-
'& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon': {
|
|
1427
|
-
alignItems: string;
|
|
1428
|
-
display: string;
|
|
1429
|
-
justifyContent: string;
|
|
1430
|
-
};
|
|
1431
|
-
'& .webchat__toaster__list': {
|
|
1432
|
-
margin: number;
|
|
1433
|
-
overflowY: string;
|
|
1434
|
-
padding: number;
|
|
1435
|
-
};
|
|
1436
|
-
'& .webchat__toaster__listItem:first-child:last-child': {
|
|
1437
|
-
overflow: string;
|
|
1438
|
-
};
|
|
1439
|
-
'& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)': {
|
|
1440
|
-
borderBottomColor: string;
|
|
1441
|
-
borderBottomStyle: string;
|
|
1442
|
-
borderBottomWidth: number;
|
|
1443
|
-
minHeight: number;
|
|
1444
|
-
};
|
|
1445
|
-
};
|
|
1446
|
-
readonly typingAnimation: {
|
|
1447
|
-
backgroundImage: string;
|
|
1448
|
-
backgroundRepeat: string;
|
|
1449
|
-
height: string | number;
|
|
1450
|
-
width: string | number;
|
|
1451
|
-
};
|
|
1452
|
-
readonly typingIndicator: {
|
|
1453
|
-
paddingBottom: number;
|
|
1454
|
-
'&:not(.webchat__typing-indicator--rtl)': {
|
|
1455
|
-
paddingLeft: number;
|
|
1456
|
-
};
|
|
1457
|
-
'&.webchat__typing-indicator--rtl': {
|
|
1458
|
-
paddingRight: number;
|
|
1459
|
-
};
|
|
1460
|
-
};
|
|
1461
|
-
readonly uploadButton: {
|
|
1462
|
-
width: string | number;
|
|
1463
|
-
'& > .icon > svg': {
|
|
1464
|
-
fill: string;
|
|
1465
|
-
};
|
|
1466
|
-
'& > input:hover + .icon > svg': {
|
|
1467
|
-
fill: string;
|
|
1468
|
-
};
|
|
1469
|
-
'& > input:focus + .icon > svg': {
|
|
1470
|
-
fill: string;
|
|
1471
|
-
};
|
|
1472
|
-
};
|
|
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;
|
|
1497
|
-
};
|
|
1498
|
-
'&.webchat__warning--rtl': {
|
|
1499
|
-
paddingLeft: number;
|
|
1500
|
-
};
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
readonly youTubeContent: {
|
|
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;
|
|
1512
|
-
};
|
|
1513
|
-
};
|
|
1514
|
-
};
|
|
1515
|
-
readonly cssCustomProperties: {
|
|
1516
|
-
'&.webchat__css-custom-properties': {
|
|
1517
|
-
display: string;
|
|
1518
|
-
"--webchat__color--accent": string;
|
|
1519
|
-
"--webchat__color--subtle": string;
|
|
1520
|
-
"--webchat__color--timestamp": string;
|
|
1521
|
-
"--webchat__font--primary": string;
|
|
1522
|
-
"--webchat__font-size--small": string | number;
|
|
1523
|
-
"--webchat__icon-url--external-link": string;
|
|
1524
|
-
"--webchat__max-width--bubble": string;
|
|
1525
|
-
"--webchat__min-height--bubble": string;
|
|
1526
|
-
"--webchat__padding--regular": string;
|
|
1527
|
-
};
|
|
1528
|
-
};
|
|
1529
|
-
readonly linkDefinitions: {
|
|
1530
|
-
'&.webchat__link-definitions': {
|
|
1531
|
-
'.webchat__link-definitions__header': {
|
|
1532
|
-
alignItems: string;
|
|
1533
|
-
display: string;
|
|
1534
|
-
fontFamily: "var(--webchat__font--primary)";
|
|
1535
|
-
fontSize: "var(--webchat__font-size--small)";
|
|
1536
|
-
gap: number;
|
|
1537
|
-
listStyle: string;
|
|
1538
|
-
"@media (forced-colors: none)": {
|
|
1539
|
-
color: string;
|
|
1540
|
-
};
|
|
1541
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1542
|
-
color: string;
|
|
1543
|
-
};
|
|
1544
|
-
};
|
|
1545
|
-
'.webchat__link-definitions__header-text': {
|
|
1546
|
-
flexShrink: number;
|
|
1547
|
-
};
|
|
1548
|
-
'.webchat__link-definitions__header::-webkit-details-marker': {
|
|
1549
|
-
display: string;
|
|
1550
|
-
};
|
|
1551
|
-
'.webchat__link-definitions__header-chevron': {
|
|
1552
|
-
flexShrink: number;
|
|
1553
|
-
};
|
|
1554
|
-
'&:not([open]) .webchat__link-definitions__header-chevron': {
|
|
1555
|
-
transform: string;
|
|
1556
|
-
};
|
|
1557
|
-
'.webchat__link-definitions__header-filler': {
|
|
1558
|
-
flexGrow: number;
|
|
1559
|
-
};
|
|
1560
|
-
'.webchat__link-definitions__header-accessory': {
|
|
1561
|
-
overflow: string;
|
|
1562
|
-
};
|
|
1563
|
-
'.webchat__link-definitions__message-sensitivity-label': {
|
|
1564
|
-
display: string;
|
|
1565
|
-
gap: number;
|
|
1566
|
-
};
|
|
1567
|
-
'.webchat__link-definitions__message-sensitivity-label-icon': {
|
|
1568
|
-
color: string;
|
|
1569
|
-
flexShrink: number;
|
|
1570
|
-
};
|
|
1571
|
-
'.webchat__link-definitions__message-sensitivity-label-text': {
|
|
1572
|
-
overflow: string;
|
|
1573
|
-
textOverflow: string;
|
|
1574
|
-
whiteSpace: string;
|
|
1575
|
-
};
|
|
1576
|
-
'.webchat__link-definitions__list': {
|
|
1577
|
-
display: string;
|
|
1578
|
-
flexDirection: string;
|
|
1579
|
-
gap: number;
|
|
1580
|
-
margin: string;
|
|
1581
|
-
padding: number;
|
|
1582
|
-
};
|
|
1583
|
-
'.webchat__link-definitions__list-item': {
|
|
1584
|
-
display: string;
|
|
1585
|
-
flexDirection: string;
|
|
1586
|
-
};
|
|
1587
|
-
'.webchat__link-definitions__badge': {
|
|
1588
|
-
alignItems: string;
|
|
1589
|
-
alignSelf: string;
|
|
1590
|
-
borderRadius: string;
|
|
1591
|
-
borderStyle: string;
|
|
1592
|
-
borderWidth: number;
|
|
1593
|
-
display: string;
|
|
1594
|
-
flexShrink: number;
|
|
1595
|
-
fontSize: string;
|
|
1596
|
-
justifyContent: string;
|
|
1597
|
-
margin: number;
|
|
1598
|
-
minWidth: string;
|
|
1599
|
-
overflow: string;
|
|
1600
|
-
padding: number;
|
|
1601
|
-
whiteSpace: string;
|
|
1602
|
-
"@media (forced-colors: none)": {
|
|
1603
|
-
backgroundColor: string;
|
|
1604
|
-
borderColor: string;
|
|
1605
|
-
color: string;
|
|
1606
|
-
};
|
|
1607
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1608
|
-
backgroundColor: string;
|
|
1609
|
-
borderColor: string;
|
|
1610
|
-
color: string;
|
|
1611
|
-
};
|
|
1612
|
-
"@media (forced-colors: active)": {
|
|
1613
|
-
borderColor: string;
|
|
1614
|
-
};
|
|
1615
|
-
};
|
|
1616
|
-
'.webchat__link-definitions__list-item-box': {
|
|
1617
|
-
alignItems: string;
|
|
1618
|
-
borderRadius: number;
|
|
1619
|
-
borderStyle: string;
|
|
1620
|
-
borderWidth: number;
|
|
1621
|
-
"@media (forced-colors: none)": {
|
|
1622
|
-
backgroundColor: string;
|
|
1623
|
-
borderColor: string;
|
|
1624
|
-
};
|
|
1625
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1626
|
-
backgroundColor: string;
|
|
1627
|
-
borderColor: string;
|
|
1628
|
-
};
|
|
1629
|
-
"@media (forced-colors: active)": {
|
|
1630
|
-
backgroundColor: string;
|
|
1631
|
-
borderColor: string;
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
'.webchat__link-definitions__list-item-box--as-link': {
|
|
1635
|
-
display: string;
|
|
1636
|
-
outlineOffset: number;
|
|
1637
|
-
textDecoration: string;
|
|
1638
|
-
};
|
|
1639
|
-
'.webchat__link-definitions__list-item-box--as-button': {
|
|
1640
|
-
appearance: string;
|
|
1641
|
-
background: string;
|
|
1642
|
-
cursor: string;
|
|
1643
|
-
fontFamily: string;
|
|
1644
|
-
fontSize: string;
|
|
1645
|
-
overflow: string;
|
|
1646
|
-
padding: number;
|
|
1647
|
-
textAlign: string;
|
|
1648
|
-
};
|
|
1649
|
-
'.webchat__link-definitions__list-item-body': {
|
|
1650
|
-
alignItems: string;
|
|
1651
|
-
display: string;
|
|
1652
|
-
fontFamily: string;
|
|
1653
|
-
gap: number;
|
|
1654
|
-
padding: number;
|
|
1655
|
-
};
|
|
1656
|
-
'.webchat__link-definitions__list-item-body-main': {
|
|
1657
|
-
display: string;
|
|
1658
|
-
flexDirection: string;
|
|
1659
|
-
gap: number;
|
|
1660
|
-
overflow: string;
|
|
1661
|
-
};
|
|
1662
|
-
'.webchat__link-definitions__list-item-main-text': {
|
|
1663
|
-
alignItems: string;
|
|
1664
|
-
display: string;
|
|
1665
|
-
gap: number;
|
|
1666
|
-
};
|
|
1667
|
-
'.webchat__link-definitions__list-item-badge, .webchat__link-definitions__list-item-text': {
|
|
1668
|
-
overflow: string;
|
|
1669
|
-
textOverflow: string;
|
|
1670
|
-
whiteSpace: string;
|
|
1671
|
-
};
|
|
1672
|
-
'.webchat__link-definitions__list-item-text': {
|
|
1673
|
-
textDecoration: string;
|
|
1674
|
-
"@media (forced-colors: none)": {
|
|
1675
|
-
color: "var(--webchat__color--accent)";
|
|
1676
|
-
};
|
|
1677
|
-
};
|
|
1678
|
-
'.webchat__link-definitions__list-item-badge': {
|
|
1679
|
-
fontSize: "var(--webchat__font-size--small)";
|
|
1680
|
-
"@media (forced-colors: none)": {
|
|
1681
|
-
color: "var(--webchat__color--subtle)";
|
|
1682
|
-
};
|
|
1683
|
-
};
|
|
1684
|
-
'.webchat__link-definitions__open-in-new-window-icon': {
|
|
1685
|
-
flexShrink: number;
|
|
1686
|
-
paddingRight: number;
|
|
1687
|
-
"@media (forced-colors: none)": {
|
|
1688
|
-
color: "var(--webchat__color--accent)";
|
|
1689
|
-
};
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
readonly modalDialog: {
|
|
1694
|
-
'&.webchat__modal-dialog': {
|
|
1695
|
-
fontFamily: "var(--webchat__font--primary)";
|
|
1696
|
-
maxHeight: string;
|
|
1697
|
-
maxWidth: string;
|
|
1698
|
-
width: string;
|
|
1699
|
-
"@media (forced-colors: none)": {
|
|
1700
|
-
backgroundColor: string;
|
|
1701
|
-
border: number;
|
|
1702
|
-
};
|
|
1703
|
-
'& .webchat__modal-dialog__box': {
|
|
1704
|
-
borderRadius: number;
|
|
1705
|
-
overflow: string;
|
|
1706
|
-
margin: string;
|
|
1707
|
-
'@media screen and (max-width: 639px)': {
|
|
1708
|
-
maxWidth: string;
|
|
1709
|
-
};
|
|
1710
|
-
'@media screen and (min-width: 640px)': {
|
|
1711
|
-
maxWidth: string;
|
|
1712
|
-
minWidth: string;
|
|
1713
|
-
width: string;
|
|
1714
|
-
};
|
|
1715
|
-
"@media (forced-colors: none)": {
|
|
1716
|
-
backgroundColor: string;
|
|
1717
|
-
boxShadow: string;
|
|
1718
|
-
};
|
|
1719
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1720
|
-
backgroundColor: string;
|
|
1721
|
-
boxShadow: string;
|
|
1722
|
-
color: string;
|
|
1723
|
-
};
|
|
1724
|
-
"@media (forced-colors: active)": {
|
|
1725
|
-
outlineColor: string;
|
|
1726
|
-
outlineStyle: string;
|
|
1727
|
-
outlineWidth: number;
|
|
1728
|
-
};
|
|
1729
|
-
};
|
|
1730
|
-
'& .webchat__modal-dialog__close-button-layout': {
|
|
1731
|
-
float: string;
|
|
1732
|
-
padding: "var(--webchat__padding--regular)";
|
|
1733
|
-
};
|
|
1734
|
-
'& .webchat__modal-dialog__close-button': {
|
|
1735
|
-
height: number;
|
|
1736
|
-
width: number;
|
|
1737
|
-
"@media (forced-colors: none)": {
|
|
1738
|
-
appearance: string;
|
|
1739
|
-
backgroundColor: string;
|
|
1740
|
-
borderColor: string;
|
|
1741
|
-
borderRadius: number;
|
|
1742
|
-
borderStyle: string;
|
|
1743
|
-
borderWidth: number;
|
|
1744
|
-
color: string;
|
|
1745
|
-
outline: number;
|
|
1746
|
-
};
|
|
1747
|
-
};
|
|
1748
|
-
'& .webchat__modal-dialog__close-button:focus': {
|
|
1749
|
-
"@media (forced-colors: none)": {
|
|
1750
|
-
borderColor: string;
|
|
1751
|
-
'&:active': {
|
|
1752
|
-
backgroundColor: string;
|
|
1753
|
-
};
|
|
1754
|
-
'&:not(:active):hover': {
|
|
1755
|
-
backgroundColor: string;
|
|
1756
|
-
};
|
|
1757
|
-
};
|
|
1758
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1759
|
-
borderColor: string;
|
|
1760
|
-
'&:active': {
|
|
1761
|
-
backgroundColor: string;
|
|
1762
|
-
};
|
|
1763
|
-
'&:not(:active):hover': {
|
|
1764
|
-
backgroundColor: string;
|
|
1765
|
-
};
|
|
1766
|
-
};
|
|
1767
|
-
};
|
|
1768
|
-
'& .webchat__modal-dialog__close-button-image': {
|
|
1769
|
-
height: number;
|
|
1770
|
-
width: number;
|
|
1771
|
-
"@media (forced-colors: none)": {
|
|
1772
|
-
fill: string;
|
|
1773
|
-
};
|
|
1774
|
-
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1775
|
-
fill: string;
|
|
1776
|
-
};
|
|
1777
|
-
"@media (forced-colors: active)": {
|
|
1778
|
-
fill: string;
|
|
1779
|
-
};
|
|
1780
|
-
};
|
|
1781
|
-
'& .webchat__modal-dialog__body': {
|
|
1782
|
-
margin: string;
|
|
1783
|
-
};
|
|
1784
|
-
};
|
|
1785
|
-
};
|
|
1786
|
-
readonly renderMarkdown: {
|
|
1787
|
-
'&.webchat__render-markdown': {
|
|
1788
|
-
display: string;
|
|
1789
|
-
'&.webchat__render-markdown--adaptive-cards > *:first-child': {
|
|
1790
|
-
marginTop: number;
|
|
1791
|
-
width: string;
|
|
1792
|
-
overflow: string;
|
|
1793
|
-
textOverflow: string;
|
|
1794
|
-
};
|
|
1795
|
-
'&.webchat__render-markdown--adaptive-cards > *:last-child': {
|
|
1796
|
-
marginBottom: number;
|
|
1797
|
-
};
|
|
1798
|
-
'&.webchat__render-markdown--message-activity > *:first-child': {
|
|
1799
|
-
marginTop: number;
|
|
1800
|
-
};
|
|
1801
|
-
'&.webchat__render-markdown--message-activity > *:last-child': {
|
|
1802
|
-
marginBottom: number;
|
|
1803
|
-
};
|
|
1804
|
-
'& .webchat__render-markdown__external-link-icon': {
|
|
1805
|
-
backgroundImage: "var(--webchat__icon-url--external-link)";
|
|
1806
|
-
height: string;
|
|
1807
|
-
marginLeft: string;
|
|
1808
|
-
};
|
|
1809
|
-
'& .webchat__render-markdown__citation': {
|
|
1810
|
-
background: string;
|
|
1811
|
-
border: number;
|
|
1812
|
-
cursor: string;
|
|
1813
|
-
fontFamily: string;
|
|
1814
|
-
fontSize: string;
|
|
1815
|
-
padding: number;
|
|
1816
|
-
textDecoration: string;
|
|
1817
|
-
whiteSpace: string;
|
|
1818
|
-
"@media (forced-colors: active)": {
|
|
1819
|
-
color: string;
|
|
1820
|
-
};
|
|
1821
|
-
"@media (forced-colors: none)": {
|
|
1822
|
-
color: "var(--webchat__color--accent)";
|
|
1823
|
-
};
|
|
1824
|
-
};
|
|
1825
|
-
'& .webchat__render-markdown__pure-identifier': {
|
|
1826
|
-
whiteSpace: string;
|
|
1827
|
-
};
|
|
1828
|
-
'& .webchat__render-markdown__pure-identifier::after': {
|
|
1829
|
-
content: string;
|
|
1830
|
-
};
|
|
1831
|
-
'& .webchat__render-markdown__pure-identifier::before': {
|
|
1832
|
-
content: string;
|
|
1833
|
-
};
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
readonly sendStatus: {
|
|
1837
|
-
'&.webchat__activity-status': {
|
|
1838
|
-
color: "var(--webchat__color--timestamp)";
|
|
1839
|
-
fontFamily: "var(--webchat__font--primary)";
|
|
1840
|
-
fontSize: "var(--webchat__font-size--small)";
|
|
1841
|
-
marginTop: string;
|
|
1842
|
-
};
|
|
1843
|
-
'&.webchat__activity-status--slotted': {
|
|
1844
|
-
display: string;
|
|
1845
|
-
gap: number;
|
|
1846
|
-
};
|
|
1847
|
-
'& .webchat__activity-status__originator': {
|
|
1848
|
-
alignItems: string;
|
|
1849
|
-
'&.webchat__activity-status__originator--has-link': {
|
|
1850
|
-
color: "var(--webchat__color--accent)";
|
|
1851
|
-
};
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
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
|
-
readonly textContent: {
|
|
1866
|
-
'&.webchat__text-content': {
|
|
1867
|
-
fontFamily: "var(--webchat__font--primary)";
|
|
1868
|
-
margin: number;
|
|
1869
|
-
minHeight: string;
|
|
1870
|
-
padding: "var(--webchat__padding--regular)";
|
|
1871
|
-
'&.webchat__text-content--is-markdown': {
|
|
1872
|
-
display: string;
|
|
1873
|
-
flexDirection: string;
|
|
1874
|
-
gap: "var(--webchat__padding--regular)";
|
|
1875
|
-
};
|
|
1876
|
-
'& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)': {
|
|
1877
|
-
maxWidth: "var(--webchat__max-width--bubble)";
|
|
1878
|
-
width: string;
|
|
1879
|
-
};
|
|
1880
|
-
'& .webchat__text-content__markdown pre': {
|
|
1881
|
-
overflow: string;
|
|
1882
|
-
};
|
|
1883
|
-
'& .webchat__text-content__open-in-new-window-icon': {
|
|
1884
|
-
height: string;
|
|
1885
|
-
};
|
|
1886
|
-
};
|
|
1887
|
-
};
|
|
1888
|
-
readonly thumbButton: {
|
|
1889
|
-
'&.webchat__thumb-button': {
|
|
1890
|
-
appearance: string;
|
|
1891
|
-
background: string;
|
|
1892
|
-
border: number;
|
|
1893
|
-
borderRadius: number;
|
|
1894
|
-
height: number;
|
|
1895
|
-
overflow: string;
|
|
1896
|
-
padding: number;
|
|
1897
|
-
width: number;
|
|
1898
|
-
'&:active': {
|
|
1899
|
-
background: string;
|
|
1900
|
-
};
|
|
1901
|
-
'&:focus': {
|
|
1902
|
-
outline: string;
|
|
1903
|
-
};
|
|
1904
|
-
'& .webchat__thumb-button__image': {
|
|
1905
|
-
color: "var(--webchat__color--accent)";
|
|
1906
|
-
width: number;
|
|
1907
|
-
};
|
|
1908
|
-
'&:hover .webchat__thumb-button__image:not(.webchat__thumb-button__image--is-filled)': {
|
|
1909
|
-
display: string;
|
|
1910
|
-
};
|
|
1911
|
-
'&.webchat__thumb-button--is-pressed .webchat__thumb-button__image:not(.webchat__thumb-button__image--is-filled)': {
|
|
1912
|
-
display: string;
|
|
1913
|
-
};
|
|
1914
|
-
'&.webchat__thumb-button:not(:hover):not(.webchat__thumb-button--is-pressed) .webchat__thumb-button__image--is-filled': {
|
|
1915
|
-
display: string;
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1918
|
-
};
|
|
1919
|
-
}>;
|
|
1920
|
-
|
|
1921
|
-
declare function getTabIndex(element: HTMLElement): number | null;
|
|
1922
|
-
|
|
1923
|
-
type WaitUntilable<T> = T & {
|
|
1924
|
-
waitUntil: (promise: Promise<void>) => void;
|
|
51
|
+
declare const testIds: {
|
|
52
|
+
codeBlockCopyButton: string;
|
|
53
|
+
copyButton: string;
|
|
54
|
+
feedbackButton: string;
|
|
55
|
+
feedbackSendBox: string;
|
|
56
|
+
sendBoxAttachmentBar: string;
|
|
57
|
+
sendBoxDropZone: string;
|
|
58
|
+
sendBoxAttachmentBarItem: string;
|
|
59
|
+
sendBoxAttachmentBarItemDeleteButton: string;
|
|
60
|
+
sendBoxMicrophoneButton: string;
|
|
61
|
+
sendBoxSpeechBox: string;
|
|
62
|
+
sendBoxTextBox: string;
|
|
63
|
+
suggestedActionButton: string;
|
|
64
|
+
typingIndicator: string;
|
|
65
|
+
viewCodeButton: string;
|
|
1925
66
|
};
|
|
1926
67
|
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
type ContextType = {
|
|
1930
|
-
focusTranscriptCallbacksRef: MutableRefObject<((init: FocusTranscriptInit) => Promise<void>)[]>;
|
|
1931
|
-
};
|
|
1932
|
-
declare const context: react.Context<ContextType>;
|
|
68
|
+
declare function getTabIndex(element: HTMLElement): number | null;
|
|
1933
69
|
|
|
1934
70
|
type InputTargetProps<H> = {
|
|
1935
71
|
onChange?: (event: ChangeEvent<H>) => void;
|
|
@@ -1939,400 +75,16 @@ type InputTargetProps<H> = {
|
|
|
1939
75
|
value?: string;
|
|
1940
76
|
};
|
|
1941
77
|
type PropsOf<T> = T extends ComponentType<infer P> ? P : never;
|
|
1942
|
-
declare function withEmoji<T extends ComponentType<P>, P extends InputTargetProps<H> = PropsOf<T>, H extends HTMLInputElement | HTMLTextAreaElement = P extends InputTargetProps<infer H> ? H : never>(componentType: T):
|
|
78
|
+
declare function withEmoji<T extends ComponentType<P>, P extends InputTargetProps<H> = PropsOf<T>, H extends HTMLInputElement | HTMLTextAreaElement = P extends InputTargetProps<infer H> ? H : never>(componentType: T): React__default__default.ForwardRefExoticComponent<React__default__default.PropsWithoutRef<Readonly<Omit<P, "onChange" | "emojiMap"> & {
|
|
1943
79
|
emojiMap?: Map<string, string>;
|
|
1944
80
|
onChange?: (value: string | undefined) => void;
|
|
1945
|
-
}>> &
|
|
1946
|
-
|
|
1947
|
-
declare function useDictateAbortable(): [boolean];
|
|
1948
|
-
|
|
1949
|
-
declare function useFocus(): (where?: 'main' | 'sendBox' | 'sendBoxWithoutKeyboard') => Promise<void>;
|
|
1950
|
-
|
|
1951
|
-
declare function useMakeThumbnail(): (file: File, contentType?: string | undefined) => Promise<undefined | URL>;
|
|
1952
|
-
|
|
1953
|
-
type ScrollPosition = {
|
|
1954
|
-
activityID?: string;
|
|
1955
|
-
scrollTop: number;
|
|
1956
|
-
};
|
|
1957
|
-
|
|
1958
|
-
declare function useObserveScrollPosition(observer: (scrollPosition: ScrollPosition) => void, deps: any[]): void;
|
|
1959
|
-
|
|
1960
|
-
declare function useObserveTranscriptFocus(observer: (event: {
|
|
1961
|
-
activity: WebChatActivity;
|
|
1962
|
-
}) => void, deps: any[]): void;
|
|
1963
|
-
|
|
1964
|
-
declare function useRenderMarkdownAsHTML(mode?: 'accessible name' | 'adaptive cards' | 'citation modal' | 'message activity'): ((markdown: string, styleOptions?: Readonly<StrictStyleOptions>, options?: Readonly<{
|
|
1965
|
-
externalLinkAlt: string;
|
|
1966
|
-
}>) => string) | undefined;
|
|
1967
|
-
|
|
1968
|
-
declare function useScrollDown(): (options?: {
|
|
1969
|
-
displacement: number;
|
|
1970
|
-
}) => void;
|
|
1971
|
-
|
|
1972
|
-
declare function useScrollTo(): (position: ScrollPosition, scrollToOptions: {
|
|
1973
|
-
behavior?: 'auto' | 'smooth';
|
|
1974
|
-
}) => void;
|
|
1975
|
-
|
|
1976
|
-
declare function useScrollToEnd(): () => void;
|
|
1977
|
-
|
|
1978
|
-
declare function useScrollUp(): (options?: {
|
|
1979
|
-
displacement: number;
|
|
1980
|
-
}) => void;
|
|
1981
|
-
|
|
1982
|
-
/**
|
|
1983
|
-
* @deprecated This hook will be removed on or after 2026-04-03. Please use `useSendMessage` instead.
|
|
1984
|
-
*/
|
|
1985
|
-
declare function useSendFiles(): (files: readonly File[]) => void;
|
|
1986
|
-
|
|
1987
|
-
type SendMessage = (text?: string, method?: string, init?: {
|
|
1988
|
-
attachments?: Iterable<SendBoxAttachment> | undefined;
|
|
1989
|
-
channelData?: any;
|
|
1990
|
-
}) => void;
|
|
1991
|
-
declare function useSendMessage(): SendMessage;
|
|
81
|
+
}>> & React__default__default.RefAttributes<H>>;
|
|
1992
82
|
|
|
1993
|
-
declare
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
declare function useTypingIndicatorVisible(): readonly [boolean];
|
|
1998
|
-
|
|
1999
|
-
declare function useSendBoxSpeechInterimsVisible(): [boolean];
|
|
2000
|
-
|
|
2001
|
-
declare function useMicrophoneButtonClick(): () => void;
|
|
2002
|
-
declare function useMicrophoneButtonDisabled(): [boolean];
|
|
2003
|
-
|
|
2004
|
-
/**
|
|
2005
|
-
* Submits the text box and optionally set the focus after send.
|
|
2006
|
-
*/
|
|
2007
|
-
type SubmitTextBoxFunction = {
|
|
2008
|
-
/**
|
|
2009
|
-
* Submits the text box, without setting the focus after send.
|
|
2010
|
-
*
|
|
2011
|
-
* @deprecated Instead of passing `false`, you should leave the `setFocus` argument `undefined`.
|
|
2012
|
-
*/
|
|
2013
|
-
(setFocus: false): void;
|
|
2014
|
-
/**
|
|
2015
|
-
* Submits the text box and optionally set the focus after send.
|
|
2016
|
-
*/
|
|
2017
|
-
(setFocus?: 'sendBox' | 'sendBoxWithoutKeyboard'): void;
|
|
2018
|
-
};
|
|
2019
|
-
declare function useTextBoxSubmit(): SubmitTextBoxFunction;
|
|
2020
|
-
declare function useTextBoxValue(): [string, (textBoxValue: string) => void];
|
|
2021
|
-
|
|
2022
|
-
type SendBoxFocusOptions = WaitUntilable<{
|
|
2023
|
-
noKeyboard: boolean;
|
|
2024
|
-
}>;
|
|
2025
|
-
|
|
2026
|
-
declare const hooks: {
|
|
2027
|
-
useDictateAbortable: typeof useDictateAbortable;
|
|
2028
|
-
useFocus: typeof useFocus;
|
|
2029
|
-
useMakeThumbnail: typeof useMakeThumbnail;
|
|
2030
|
-
useMicrophoneButtonClick: typeof useMicrophoneButtonClick;
|
|
2031
|
-
useMicrophoneButtonDisabled: typeof useMicrophoneButtonDisabled;
|
|
2032
|
-
useObserveScrollPosition: typeof useObserveScrollPosition;
|
|
2033
|
-
useObserveTranscriptFocus: typeof useObserveTranscriptFocus;
|
|
2034
|
-
useRegisterFocusSendBox: (listener: (value: SendBoxFocusOptions) => void) => void;
|
|
2035
|
-
useRenderMarkdownAsHTML: typeof useRenderMarkdownAsHTML;
|
|
2036
|
-
useScrollDown: typeof useScrollDown;
|
|
2037
|
-
useScrollTo: typeof useScrollTo;
|
|
2038
|
-
useScrollToEnd: typeof useScrollToEnd;
|
|
2039
|
-
useScrollUp: typeof useScrollUp;
|
|
2040
|
-
useSendBoxSpeechInterimsVisible: typeof useSendBoxSpeechInterimsVisible;
|
|
2041
|
-
useSendFiles: typeof useSendFiles;
|
|
2042
|
-
useSendMessage: typeof useSendMessage;
|
|
2043
|
-
useStyleSet: typeof useStyleSet;
|
|
2044
|
-
useTextBoxSubmit: typeof useTextBoxSubmit;
|
|
2045
|
-
useTextBoxValue: typeof useTextBoxValue;
|
|
2046
|
-
useTypingIndicatorVisible: typeof useTypingIndicatorVisible;
|
|
2047
|
-
useWebSpeechPonyfill: typeof useWebSpeechPonyfill;
|
|
2048
|
-
useActiveTyping: (expireAfter?: number) => readonly [Readonly<Record<string, botframework_webchat_api.Typing>>];
|
|
2049
|
-
useActivities: () => [WebChatActivity[]];
|
|
2050
|
-
useActivityKeys: () => readonly [readonly string[]];
|
|
2051
|
-
useActivityKeysByRead: () => readonly [readonly string[], readonly string[]];
|
|
2052
|
-
useAvatarForBot: () => [{
|
|
2053
|
-
image: string;
|
|
2054
|
-
initials: string;
|
|
2055
|
-
}];
|
|
2056
|
-
useAvatarForUser: () => [{
|
|
2057
|
-
image: string;
|
|
2058
|
-
initials: string;
|
|
2059
|
-
}];
|
|
2060
|
-
useByteFormatter: () => (bytes: number) => string;
|
|
2061
|
-
useConnectivityStatus: () => [string];
|
|
2062
|
-
useCreateActivityRenderer: () => botframework_webchat_api.ActivityComponentFactory;
|
|
2063
|
-
useCreateActivityStatusRenderer: () => botframework_webchat_api.ActivityStatusRenderer;
|
|
2064
|
-
useCreateAttachmentForScreenReaderRenderer: () => botframework_webchat_api.AttachmentForScreenReaderComponentFactory;
|
|
2065
|
-
useCreateAvatarRenderer: () => ({ activity }: {
|
|
2066
|
-
activity: WebChatActivity;
|
|
2067
|
-
}) => false | (() => react.ReactChild | react.ReactFragment | react.ReactPortal);
|
|
2068
|
-
useCreateScrollToEndButtonRenderer: () => botframework_webchat_api.ScrollToEndButtonComponentFactory;
|
|
2069
|
-
useDateFormatter: () => (date: string | number | Date) => string;
|
|
2070
|
-
useDebouncedNotifications: () => [botframework_webchat_api.DebouncedNotifications];
|
|
2071
|
-
useDictateInterims: () => [string[], (interims: string[]) => void];
|
|
2072
|
-
useDictateState: () => [number];
|
|
2073
|
-
useDirection: () => ["auto" | "ltr" | "rtl"];
|
|
2074
|
-
useDisabled: () => [boolean];
|
|
2075
|
-
useDismissNotification: () => (id: string) => void;
|
|
2076
|
-
useEmitTypingIndicator: () => () => void;
|
|
2077
|
-
useGetActivitiesByKey: () => (key?: string) => readonly WebChatActivity[];
|
|
2078
|
-
useGetActivityByKey: () => (key?: string) => WebChatActivity;
|
|
2079
|
-
useGetHasAcknowledgedByActivityKey: typeof hooks$1.useGetHasAcknowledgedByActivityKey;
|
|
2080
|
-
useGetKeyByActivity: () => (activity?: WebChatActivity) => string;
|
|
2081
|
-
useGetKeyByActivityId: () => (activityId?: string) => string;
|
|
2082
|
-
useGetSendTimeoutForActivity: () => ({ activity }: {
|
|
2083
|
-
activity: WebChatActivity;
|
|
2084
|
-
}) => number;
|
|
2085
|
-
useGrammars: () => [any];
|
|
2086
|
-
useGroupActivities: () => ({ activities }: {
|
|
2087
|
-
activities: WebChatActivity[];
|
|
2088
|
-
}) => {
|
|
2089
|
-
sender: WebChatActivity[][];
|
|
2090
|
-
status: WebChatActivity[][];
|
|
2091
|
-
};
|
|
2092
|
-
useGroupTimestamp: () => [number | boolean];
|
|
2093
|
-
useLanguage: (options?: "speech") => [string];
|
|
2094
|
-
useLastAcknowledgedActivityKey: () => readonly [string];
|
|
2095
|
-
useLastReadActivityKey: () => readonly [string];
|
|
2096
|
-
useLocalizer: ({ plural }?: {
|
|
2097
|
-
plural?: boolean;
|
|
2098
|
-
}) => (id: string | {
|
|
2099
|
-
zero?: string;
|
|
2100
|
-
one?: string;
|
|
2101
|
-
two?: string;
|
|
2102
|
-
few?: string;
|
|
2103
|
-
many?: string;
|
|
2104
|
-
other: string;
|
|
2105
|
-
}, args_0?: string | number, ...args_1: string[]) => any;
|
|
2106
|
-
useMarkActivityAsSpoken: () => (activity: WebChatActivity) => void;
|
|
2107
|
-
useMarkActivityKeyAsRead: () => (activityKey: string) => void;
|
|
2108
|
-
useMarkAllAsAcknowledged: () => () => void;
|
|
2109
|
-
useNotifications: () => [botframework_webchat_api.Notification[]];
|
|
2110
|
-
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
|
-
}];
|
|
2124
|
-
usePostActivity: () => (activity: WebChatActivity) => botframework_webchat_core.Observable<string>;
|
|
2125
|
-
useReferenceGrammarID: () => [string];
|
|
2126
|
-
useRelativeTimeFormatter: () => (dateOrString: string | Date) => string;
|
|
2127
|
-
useRenderAttachment: () => botframework_webchat_api.RenderAttachment;
|
|
2128
|
-
useRenderToast: () => botframework_webchat_api.RenderToast;
|
|
2129
|
-
useRenderTypingIndicator: () => botframework_webchat_api.RenderTypingIndicator;
|
|
2130
|
-
useSendBoxAttachments: () => readonly [readonly Readonly<{
|
|
2131
|
-
blob: Blob | File;
|
|
2132
|
-
thumbnailURL?: URL;
|
|
2133
|
-
}>[], (attachments: readonly Readonly<{
|
|
2134
|
-
blob: Blob | File;
|
|
2135
|
-
thumbnailURL?: URL;
|
|
2136
|
-
}>[]) => void];
|
|
2137
|
-
useSendBoxValue: () => [string, (value: string) => void];
|
|
2138
|
-
useSendEvent: () => (name: string, value: any) => void;
|
|
2139
|
-
useSendMessageBack: () => (value: any, text?: string, displayText?: string) => void;
|
|
2140
|
-
useSendPostBack: () => (value?: any) => void;
|
|
2141
|
-
useSendStatusByActivityKey: typeof hooks$1.useSendStatusByActivityKey;
|
|
2142
|
-
useSendTimeoutForActivity: (activity: WebChatActivity) => number;
|
|
2143
|
-
useSendTypingIndicator: () => [boolean];
|
|
2144
|
-
useSetNotification: () => (notification: botframework_webchat_api.Notification) => void;
|
|
2145
|
-
useShouldSpeakIncomingActivity: () => [boolean, (value: boolean) => void];
|
|
2146
|
-
useStartDictate: () => () => void;
|
|
2147
|
-
useStopDictate: () => () => void;
|
|
2148
|
-
useStyleOptions: () => [botframework_webchat_api.StrictStyleOptions];
|
|
2149
|
-
useSubmitSendBox: () => (method?: string, { channelData }?: {
|
|
2150
|
-
channelData: any;
|
|
2151
|
-
}) => void;
|
|
2152
|
-
useSuggestedActions: () => [botframework_webchat_core.DirectLineCardAction[], (suggestedActions: never[]) => void];
|
|
2153
|
-
useTimeoutForSend: () => [number | ((activity: WebChatActivity) => number)];
|
|
2154
|
-
useTrackDimension: () => (name: string, data: any) => void;
|
|
2155
|
-
useTrackEvent: () => {
|
|
2156
|
-
(name: string, data: any): void;
|
|
2157
|
-
debug: (name: string, data: any) => void;
|
|
2158
|
-
error: (name: string, data: any) => void;
|
|
2159
|
-
info: (name: string, data: any) => void;
|
|
2160
|
-
warn: (name: string, data: any) => void;
|
|
2161
|
-
};
|
|
2162
|
-
useTrackException: () => (error: Error, fatal: boolean) => void;
|
|
2163
|
-
useTrackTiming: <T>() => (name: string, functionOrPromise: (() => T) | Promise<T>) => Promise<T>;
|
|
2164
|
-
useUserID: () => [string];
|
|
2165
|
-
useUsername: () => [string];
|
|
2166
|
-
useVoiceSelector: (activity: any) => (voices: {
|
|
2167
|
-
new (): SpeechSynthesisVoice;
|
|
2168
|
-
prototype: SpeechSynthesisVoice;
|
|
2169
|
-
}[]) => {
|
|
2170
|
-
new (): SpeechSynthesisVoice;
|
|
2171
|
-
prototype: SpeechSynthesisVoice;
|
|
2172
|
-
};
|
|
83
|
+
declare const buildInfoObject: {
|
|
84
|
+
readonly buildTool?: string | undefined;
|
|
85
|
+
readonly moduleFormat?: string | undefined;
|
|
86
|
+
readonly version?: string | undefined;
|
|
2173
87
|
};
|
|
2174
88
|
declare const version: string;
|
|
2175
|
-
declare const buildInfo: {
|
|
2176
|
-
buildTool: string;
|
|
2177
|
-
moduleFormat: string;
|
|
2178
|
-
version: string;
|
|
2179
|
-
};
|
|
2180
|
-
declare const Components: {
|
|
2181
|
-
BasicWebChat: react.FC<BasicWebChatProps>;
|
|
2182
|
-
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;
|
|
2184
|
-
defaultProps: {
|
|
2185
|
-
children: any;
|
|
2186
|
-
extraStyleSet: any;
|
|
2187
|
-
nonce: any;
|
|
2188
|
-
renderMarkdown: any;
|
|
2189
|
-
styleSet: any;
|
|
2190
|
-
suggestedActionsAccessKey: string;
|
|
2191
|
-
webSpeechPonyfillFactory: any;
|
|
2192
|
-
internalRenderErrorBox: any;
|
|
2193
|
-
onTelemetry: any;
|
|
2194
|
-
ponyfill: any;
|
|
2195
|
-
store: any;
|
|
2196
|
-
};
|
|
2197
|
-
propTypes: {
|
|
2198
|
-
children: PropTypes.Requireable<any>;
|
|
2199
|
-
extraStyleSet: PropTypes.Requireable<any>;
|
|
2200
|
-
nonce: PropTypes.Requireable<string>;
|
|
2201
|
-
renderMarkdown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2202
|
-
styleSet: PropTypes.Requireable<any>;
|
|
2203
|
-
suggestedActionsAccessKey: PropTypes.Requireable<NonNullable<string | boolean>>;
|
|
2204
|
-
webSpeechPonyfillFactory: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2205
|
-
internalRenderErrorBox: PropTypes.Requireable<any>;
|
|
2206
|
-
onTelemetry: PropTypes.Requireable<(...args: any[]) => any>;
|
|
2207
|
-
ponyfill: PropTypes.Requireable<any>;
|
|
2208
|
-
store: PropTypes.Requireable<any>;
|
|
2209
|
-
};
|
|
2210
|
-
};
|
|
2211
|
-
ThemeProvider: react.MemoExoticComponent<({ children, activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, groupActivitiesMiddleware, scrollToEndButtonMiddleware, sendBoxMiddleware, sendBoxToolbarMiddleware, styleOptions, toastMiddleware, typingIndicatorMiddleware }: Readonly<{
|
|
2212
|
-
children?: react.ReactNode;
|
|
2213
|
-
} & Partial<ContextType$1>>) => react.JSX.Element>;
|
|
2214
|
-
AccessKeySinkSurface: any;
|
|
2215
|
-
BasicConnectivityStatus: any;
|
|
2216
|
-
BasicSendBox: react.FC<Readonly<{
|
|
2217
|
-
className?: string;
|
|
2218
|
-
}>>;
|
|
2219
|
-
BasicSendBoxToolbar: react.MemoExoticComponent<({ className }: {
|
|
2220
|
-
className?: string;
|
|
2221
|
-
}) => react.JSX.Element>;
|
|
2222
|
-
BasicToaster: any;
|
|
2223
|
-
BasicTranscript: react.NamedExoticComponent<{
|
|
2224
|
-
className?: string;
|
|
2225
|
-
}>;
|
|
2226
|
-
AudioContent: react.FC<{
|
|
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;
|
|
2249
|
-
}>;
|
|
2250
|
-
TextContent: react.FC<Readonly<{
|
|
2251
|
-
activity: WebChatActivity;
|
|
2252
|
-
contentType?: string;
|
|
2253
|
-
text: string;
|
|
2254
|
-
}>>;
|
|
2255
|
-
VideoContent: react.FC<{
|
|
2256
|
-
alt?: string;
|
|
2257
|
-
autoPlay?: boolean;
|
|
2258
|
-
loop?: boolean;
|
|
2259
|
-
poster?: string;
|
|
2260
|
-
src: string;
|
|
2261
|
-
}>;
|
|
2262
|
-
VimeoContent: react.FC<{
|
|
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
|
-
}>;
|
|
2309
|
-
SendTextBox: ({ className }: Readonly<{
|
|
2310
|
-
className?: string;
|
|
2311
|
-
}>) => react.JSX.Element;
|
|
2312
|
-
SuggestedActions: ({ className }: Readonly<{
|
|
2313
|
-
className?: string;
|
|
2314
|
-
}>) => react.JSX.Element;
|
|
2315
|
-
UploadButton: react.FC<{
|
|
2316
|
-
className?: string;
|
|
2317
|
-
}>;
|
|
2318
|
-
LocalizedString: react.MemoExoticComponent<(props: Readonly<{
|
|
2319
|
-
className?: string;
|
|
2320
|
-
linkClassName?: string;
|
|
2321
|
-
onDecorateLink?: (href: string, textContent: string) => LinkOptions;
|
|
2322
|
-
}> & (Readonly<{
|
|
2323
|
-
stringIds: {
|
|
2324
|
-
zero?: string;
|
|
2325
|
-
one?: string;
|
|
2326
|
-
two?: string;
|
|
2327
|
-
few?: string;
|
|
2328
|
-
many?: string;
|
|
2329
|
-
other: string;
|
|
2330
|
-
};
|
|
2331
|
-
values: readonly [number, ...(string | number)[]];
|
|
2332
|
-
}> | Readonly<{
|
|
2333
|
-
stringIds: string;
|
|
2334
|
-
values?: readonly (string | number)[];
|
|
2335
|
-
}>)) => react.JSX.Element>;
|
|
2336
|
-
};
|
|
2337
89
|
|
|
2338
|
-
export {
|
|
90
|
+
export { context as Context, buildInfoObject as buildInfo, createCoreActivityMiddleware, createCoreMiddleware as createCoreActivityStatusMiddleware, createCoreMiddleware$1 as createCoreAttachmentMiddleware, getTabIndex, testIds, version, withEmoji };
|