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
|
@@ -0,0 +1,2259 @@
|
|
|
1
|
+
import { 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';
|
|
2
|
+
import { type DropZoneState, useFileDropZone } from './botframework-webchat-component.mjs';
|
|
3
|
+
import * as React__default from 'react';
|
|
4
|
+
import { Context as Context$1 } from 'react';
|
|
5
|
+
import * as botframework_webchat_core from 'botframework-webchat-core';
|
|
6
|
+
import { WebChatActivity, SendBoxAttachment } from 'botframework-webchat-core';
|
|
7
|
+
import { StyleOptions, StrictStyleOptions, WebSpeechPonyfill } from 'botframework-webchat-api';
|
|
8
|
+
import { u as useMicrophoneButtonClick, b as useMicrophoneButtonDisabled, c as useSendBoxSpeechInterimsVisible, d as useTextBoxSubmit, e as useTextBoxValue } from './TextBox-BEU2rUID.mjs';
|
|
9
|
+
import 'valibot';
|
|
10
|
+
|
|
11
|
+
type WaitUntilable<T> = T & {
|
|
12
|
+
waitUntil: (promise: Promise<void>) => void;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
declare function useTransformHTMLContent(): (documentFragment: DocumentFragment) => DocumentFragment;
|
|
16
|
+
|
|
17
|
+
declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
|
|
18
|
+
readonly activities: {
|
|
19
|
+
margin: number;
|
|
20
|
+
padding: number;
|
|
21
|
+
};
|
|
22
|
+
readonly activityButton: {
|
|
23
|
+
'&.webchat__activity-button': {
|
|
24
|
+
alignItems: string;
|
|
25
|
+
appearance: string;
|
|
26
|
+
background: string;
|
|
27
|
+
borderRadius: string;
|
|
28
|
+
border: string;
|
|
29
|
+
color: string;
|
|
30
|
+
display: string;
|
|
31
|
+
gap: string;
|
|
32
|
+
justifyContent: string;
|
|
33
|
+
padding: string;
|
|
34
|
+
'&:hover': {
|
|
35
|
+
background: string;
|
|
36
|
+
border: string;
|
|
37
|
+
color: string;
|
|
38
|
+
};
|
|
39
|
+
'&:active': {
|
|
40
|
+
background: string;
|
|
41
|
+
border: string;
|
|
42
|
+
color: string;
|
|
43
|
+
};
|
|
44
|
+
'&:focus-visible': {
|
|
45
|
+
background: string;
|
|
46
|
+
outline: string;
|
|
47
|
+
outlineOffset: string;
|
|
48
|
+
};
|
|
49
|
+
'&[aria-disabled="true"]': {
|
|
50
|
+
background: string;
|
|
51
|
+
border: string;
|
|
52
|
+
color: string;
|
|
53
|
+
cursor: string;
|
|
54
|
+
};
|
|
55
|
+
'& .webchat__activity-button__icon': {
|
|
56
|
+
height: string;
|
|
57
|
+
width: string;
|
|
58
|
+
'--webchat__component-icon--color': string;
|
|
59
|
+
'--webchat__component-icon--size': string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
readonly activityCopyButton: {
|
|
64
|
+
'&.webchat__activity-copy-button': {
|
|
65
|
+
overflow: string[];
|
|
66
|
+
position: string;
|
|
67
|
+
'& .webchat__activity-copy-button__copied-text': {
|
|
68
|
+
alignItems: string;
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
display: string;
|
|
71
|
+
height: string;
|
|
72
|
+
justifyContent: string;
|
|
73
|
+
position: string;
|
|
74
|
+
visibility: string;
|
|
75
|
+
width: string;
|
|
76
|
+
};
|
|
77
|
+
'&.webchat__activity-copy-button--copied': {
|
|
78
|
+
'.webchat__activity-copy-button__copied-text': {
|
|
79
|
+
animation: string;
|
|
80
|
+
};
|
|
81
|
+
'.webchat__activity-button__icon, .webchat__activity-button__text': {
|
|
82
|
+
visibility: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
'@keyframes webchat__activity-copy-button__copied-animation': {
|
|
86
|
+
'0%': {
|
|
87
|
+
visibility: string;
|
|
88
|
+
};
|
|
89
|
+
'100%': {
|
|
90
|
+
visibility: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly audioAttachment: {
|
|
96
|
+
display: string;
|
|
97
|
+
minHeight: "var(--webchat__size--avatar)";
|
|
98
|
+
};
|
|
99
|
+
readonly audioContent: {
|
|
100
|
+
width: string;
|
|
101
|
+
};
|
|
102
|
+
readonly autoResizeTextArea: {
|
|
103
|
+
'&.webchat__auto-resize-textarea': {
|
|
104
|
+
fontFamily: string;
|
|
105
|
+
overflow: string;
|
|
106
|
+
position: string;
|
|
107
|
+
'& .webchat__auto-resize-textarea__doppelganger': {
|
|
108
|
+
color: string;
|
|
109
|
+
height: string;
|
|
110
|
+
overflowY: string;
|
|
111
|
+
userSelect: string;
|
|
112
|
+
width: string;
|
|
113
|
+
whiteSpace: string;
|
|
114
|
+
wordBreak: string;
|
|
115
|
+
};
|
|
116
|
+
'& .webchat__auto-resize-textarea__textarea': {
|
|
117
|
+
appearance: string;
|
|
118
|
+
backgroundColor: string;
|
|
119
|
+
border: number;
|
|
120
|
+
color: string;
|
|
121
|
+
fontFamily: string;
|
|
122
|
+
fontSize: string;
|
|
123
|
+
height: string;
|
|
124
|
+
left: number;
|
|
125
|
+
margin: number;
|
|
126
|
+
outline: number;
|
|
127
|
+
overflowY: string;
|
|
128
|
+
padding: number;
|
|
129
|
+
position: string;
|
|
130
|
+
resize: string;
|
|
131
|
+
top: number;
|
|
132
|
+
width: string;
|
|
133
|
+
wordBreak: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
readonly avatar: {
|
|
138
|
+
'&.webchat__defaultAvatar': {
|
|
139
|
+
borderRadius: string | number;
|
|
140
|
+
height: "var(--webchat__size--avatar)";
|
|
141
|
+
width: "var(--webchat__size--avatar)";
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
readonly basicTranscript: {
|
|
145
|
+
'&.webchat__basic-transcript': {
|
|
146
|
+
'&:focus': {
|
|
147
|
+
outline: number;
|
|
148
|
+
'& .webchat__basic-transcript__activity-indicator.webchat__basic-transcript__activity-indicator--focus': {
|
|
149
|
+
borderColor: string;
|
|
150
|
+
borderStyle: string;
|
|
151
|
+
borderWidth: string | number;
|
|
152
|
+
boxSizing: string;
|
|
153
|
+
height: string;
|
|
154
|
+
left: number;
|
|
155
|
+
marginBottom: number;
|
|
156
|
+
marginLeft: number;
|
|
157
|
+
marginRight: number;
|
|
158
|
+
marginTop: number;
|
|
159
|
+
pointerEvents: string;
|
|
160
|
+
position: string;
|
|
161
|
+
top: number;
|
|
162
|
+
width: string;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
'&:focus-visible .webchat__basic-transcript__focus-indicator, .webchat__basic-transcript__terminator:focus-visible + .webchat__basic-transcript__focus-indicator': {
|
|
166
|
+
height: string;
|
|
167
|
+
borderColor: string;
|
|
168
|
+
borderStyle: string;
|
|
169
|
+
borderWidth: string | number;
|
|
170
|
+
boxSizing: string;
|
|
171
|
+
pointerEvents: string;
|
|
172
|
+
position: string;
|
|
173
|
+
top: number;
|
|
174
|
+
width: string;
|
|
175
|
+
};
|
|
176
|
+
'& .webchat__basic-transcript__activity': {
|
|
177
|
+
paddingTop: number;
|
|
178
|
+
position: string;
|
|
179
|
+
'&:first-child': {
|
|
180
|
+
marginTop: number;
|
|
181
|
+
};
|
|
182
|
+
'&:not(:first-child)': {
|
|
183
|
+
marginTop: number;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
'& .webchat__basic-transcript__activity-active-descendant': {
|
|
187
|
+
height: string;
|
|
188
|
+
left: number;
|
|
189
|
+
marginTop: number;
|
|
190
|
+
paddingBottom: number;
|
|
191
|
+
pointerEvents: string;
|
|
192
|
+
position: string;
|
|
193
|
+
top: number;
|
|
194
|
+
width: string;
|
|
195
|
+
};
|
|
196
|
+
'& .webchat__basic-transcript__activity-body:not(:empty)': {
|
|
197
|
+
paddingBottom: number;
|
|
198
|
+
};
|
|
199
|
+
'& .webchat__basic-transcript__terminator': {
|
|
200
|
+
bottom: number;
|
|
201
|
+
height: number;
|
|
202
|
+
outline: number;
|
|
203
|
+
position: string;
|
|
204
|
+
width: string;
|
|
205
|
+
};
|
|
206
|
+
'& .webchat__basic-transcript__terminator-body': {
|
|
207
|
+
bottom: number;
|
|
208
|
+
display: string;
|
|
209
|
+
justifyContent: string;
|
|
210
|
+
position: string;
|
|
211
|
+
width: string;
|
|
212
|
+
};
|
|
213
|
+
'& .webchat__basic-transcript__terminator:not(:focus) .webchat__basic-transcript__terminator-body': {
|
|
214
|
+
display: string;
|
|
215
|
+
};
|
|
216
|
+
'& .webchat__basic-transcript__terminator-text': {
|
|
217
|
+
backgroundColor: string;
|
|
218
|
+
borderRadius: string | number;
|
|
219
|
+
color: string;
|
|
220
|
+
fontFamily: string;
|
|
221
|
+
fontSize: string | number;
|
|
222
|
+
margin: number;
|
|
223
|
+
padding: number;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
readonly bubble: {
|
|
228
|
+
'&.webchat__bubble': {
|
|
229
|
+
'& .webchat__bubble__content': {
|
|
230
|
+
marginLeft: number;
|
|
231
|
+
marginRight: number;
|
|
232
|
+
transitionDuration: string;
|
|
233
|
+
transitionProperty: string;
|
|
234
|
+
wordBreak: "break-word" | "normal" | "break-all" | "keep-all";
|
|
235
|
+
};
|
|
236
|
+
'& .webchat__bubble__nub': {
|
|
237
|
+
overflow: string;
|
|
238
|
+
position: string;
|
|
239
|
+
};
|
|
240
|
+
'& .webchat__bubble__nub-pad': {
|
|
241
|
+
transitionDuration: string;
|
|
242
|
+
transitionProperty: string;
|
|
243
|
+
width: number;
|
|
244
|
+
};
|
|
245
|
+
'&.webchat__bubble--hide-nub, &.webchat__bubble--show-nub': {
|
|
246
|
+
'& .webchat__bubble__nub-pad': {
|
|
247
|
+
width: number;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
'&.webchat__bubble--rtl .webchat__bubble__nub': {
|
|
251
|
+
transform: string;
|
|
252
|
+
};
|
|
253
|
+
'&:not(.webchat__bubble--from-user)': {
|
|
254
|
+
'&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub': {
|
|
255
|
+
bottom: number;
|
|
256
|
+
};
|
|
257
|
+
'&.webchat__bubble--nub-on-top .webchat__bubble__nub': {
|
|
258
|
+
top: number;
|
|
259
|
+
};
|
|
260
|
+
'& .webchat__bubble__nub-outline': {
|
|
261
|
+
fill: string;
|
|
262
|
+
stroke: string;
|
|
263
|
+
strokeWidth: number;
|
|
264
|
+
};
|
|
265
|
+
'& .webchat__bubble__nub'?: {
|
|
266
|
+
height: number;
|
|
267
|
+
width: number;
|
|
268
|
+
};
|
|
269
|
+
'& .webchat__bubble__content': {
|
|
270
|
+
background: string;
|
|
271
|
+
borderColor: string;
|
|
272
|
+
borderRadius: number;
|
|
273
|
+
borderStyle: string;
|
|
274
|
+
borderWidth: number;
|
|
275
|
+
color: string;
|
|
276
|
+
minHeight: number;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
'&.webchat__bubble--from-user': {
|
|
280
|
+
'&:not(.webchat__bubble--nub-on-top) .webchat__bubble__nub': {
|
|
281
|
+
bottom: number;
|
|
282
|
+
};
|
|
283
|
+
'&.webchat__bubble--nub-on-top .webchat__bubble__nub': {
|
|
284
|
+
top: number;
|
|
285
|
+
};
|
|
286
|
+
'& .webchat__bubble__nub-outline': {
|
|
287
|
+
fill: string;
|
|
288
|
+
stroke: string;
|
|
289
|
+
strokeWidth: number;
|
|
290
|
+
};
|
|
291
|
+
'& .webchat__bubble__nub'?: {
|
|
292
|
+
height: number;
|
|
293
|
+
width: number;
|
|
294
|
+
};
|
|
295
|
+
flexDirection: string;
|
|
296
|
+
'& .webchat__bubble__content': {
|
|
297
|
+
background: string;
|
|
298
|
+
borderColor: string;
|
|
299
|
+
borderRadius: number;
|
|
300
|
+
borderStyle: string;
|
|
301
|
+
borderWidth: number;
|
|
302
|
+
color: string;
|
|
303
|
+
minHeight: number;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
readonly carouselFilmStrip: {
|
|
309
|
+
'&.webchat__carousel-filmstrip': {
|
|
310
|
+
'@supports (-moz-appearance: none)': {
|
|
311
|
+
marginBottom: number;
|
|
312
|
+
};
|
|
313
|
+
'& .webchat__carousel-filmstrip__bubble': {
|
|
314
|
+
maxWidth: "var(--webchat__max-width--message-bubble)";
|
|
315
|
+
minWidth: "var(--webchat__min-width--message-bubble)";
|
|
316
|
+
transitionDuration: string;
|
|
317
|
+
transitionProperty: string;
|
|
318
|
+
};
|
|
319
|
+
'&.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub, &.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar': {
|
|
320
|
+
'& .webchat__carousel-filmstrip__bubble': {
|
|
321
|
+
maxWidth: number;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
'& .webchat__carousel-filmstrip__alignment-pad': {
|
|
325
|
+
transitionDuration: string;
|
|
326
|
+
transitionProperty: string;
|
|
327
|
+
width: "var(--webchat__padding--regular)";
|
|
328
|
+
};
|
|
329
|
+
'&.webchat__carousel-filmstrip--extra-trailing .webchat__carousel-filmstrip__alignment-pad': {
|
|
330
|
+
width: number;
|
|
331
|
+
};
|
|
332
|
+
'&:not(.webchat__carousel-filmstrip--no-message) .webchat__carousel-filmstrip__attachments': {
|
|
333
|
+
marginTop: number;
|
|
334
|
+
};
|
|
335
|
+
'& .webchat__carousel-filmstrip__avatar-gutter': {
|
|
336
|
+
alignItems: string;
|
|
337
|
+
transitionDuration: string;
|
|
338
|
+
transitionProperty: string;
|
|
339
|
+
};
|
|
340
|
+
'& .webchat__carousel-filmstrip__nub-pad': {
|
|
341
|
+
transitionDuration: string;
|
|
342
|
+
transitionProperty: string;
|
|
343
|
+
width: number;
|
|
344
|
+
};
|
|
345
|
+
'&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar': {
|
|
346
|
+
'& .webchat__carousel-filmstrip__avatar-gutter': {
|
|
347
|
+
width: "var(--webchat__size--avatar)";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
'&.webchat__carousel-filmstrip--hide-avatar, &.webchat__carousel-filmstrip--show-avatar, &.webchat__carousel-filmstrip--hide-nub, &.webchat__carousel-filmstrip--show-nub': {
|
|
351
|
+
'& .webchat__carousel-filmstrip__nub-pad': {
|
|
352
|
+
width: number;
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
'&:not(.webchat__carousel-filmstrip--top-callout) .webchat__carousel-filmstrip__avatar-gutter': {
|
|
356
|
+
justifyContent: string;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
readonly carouselFilmStripAttachment: {
|
|
361
|
+
'&.webchat__carousel-filmstrip-attachment': {
|
|
362
|
+
maxWidth: "var(--webchat__max-width--attachment-bubble)";
|
|
363
|
+
minWidth: "var(--webchat__min-width--attachment-bubble)";
|
|
364
|
+
transitionDuration: string;
|
|
365
|
+
transitionProperty: string;
|
|
366
|
+
'&:focus': {
|
|
367
|
+
outline: number;
|
|
368
|
+
};
|
|
369
|
+
'&:focus .webchat__carousel-filmstrip-attachment--focus': {
|
|
370
|
+
borderColor: string;
|
|
371
|
+
borderStyle: string;
|
|
372
|
+
borderWidth: string | number;
|
|
373
|
+
boxSizing: string;
|
|
374
|
+
height: string;
|
|
375
|
+
left: number;
|
|
376
|
+
pointerEvents: string;
|
|
377
|
+
position: string;
|
|
378
|
+
top: number;
|
|
379
|
+
width: string;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
readonly carouselFlipper: {
|
|
384
|
+
'&.webchat__carousel-layout': {
|
|
385
|
+
'& .react-film__flipper': {
|
|
386
|
+
'& .react-film__flipper__body': {
|
|
387
|
+
backgroundColor: string;
|
|
388
|
+
color: string;
|
|
389
|
+
outline: number;
|
|
390
|
+
};
|
|
391
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
392
|
+
'& .react-film__flipper__body': {
|
|
393
|
+
backgroundColor: string;
|
|
394
|
+
color: string;
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
'&:focus .react-film__flipper__body': {
|
|
398
|
+
backgroundColor: string;
|
|
399
|
+
color: string;
|
|
400
|
+
};
|
|
401
|
+
'&:hover .react-film__flipper__body': {
|
|
402
|
+
backgroundColor: string;
|
|
403
|
+
color: string;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
readonly connectivityNotification: {
|
|
409
|
+
alignItems: string;
|
|
410
|
+
color: string;
|
|
411
|
+
display: string;
|
|
412
|
+
fontFamily: string;
|
|
413
|
+
fontSize: string | number;
|
|
414
|
+
marginBottom: number;
|
|
415
|
+
marginLeft: number;
|
|
416
|
+
marginRight: number;
|
|
417
|
+
marginTop: number;
|
|
418
|
+
};
|
|
419
|
+
readonly dictationInterims: {
|
|
420
|
+
fontFamily: string;
|
|
421
|
+
margin: number;
|
|
422
|
+
paddingBottom: number;
|
|
423
|
+
paddingLeft: number;
|
|
424
|
+
paddingRight: number;
|
|
425
|
+
paddingTop: number;
|
|
426
|
+
'&.dictating > span:not(:first-child), &.status': {
|
|
427
|
+
opacity: number;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
readonly errorBox: {
|
|
431
|
+
display: string;
|
|
432
|
+
flexDirection: string;
|
|
433
|
+
fontFamily: string;
|
|
434
|
+
margin: number;
|
|
435
|
+
minHeight: number;
|
|
436
|
+
maxHeight: number;
|
|
437
|
+
overflowY: string;
|
|
438
|
+
WebkitOverflowScrolling: string;
|
|
439
|
+
'& > :first-child': {
|
|
440
|
+
backgroundColor: string;
|
|
441
|
+
color: string;
|
|
442
|
+
padding: string;
|
|
443
|
+
};
|
|
444
|
+
'& > :last-child': {
|
|
445
|
+
borderColor: string;
|
|
446
|
+
borderStyle: string;
|
|
447
|
+
borderBottomWidth: number;
|
|
448
|
+
borderLeftWidth: number;
|
|
449
|
+
borderRightWidth: number;
|
|
450
|
+
borderTopWidth: number;
|
|
451
|
+
margin: number;
|
|
452
|
+
overflowY: string;
|
|
453
|
+
padding: number;
|
|
454
|
+
'& > pre': {
|
|
455
|
+
fontFamily: string;
|
|
456
|
+
fontSize: string;
|
|
457
|
+
margin: number;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
};
|
|
461
|
+
readonly errorNotification: {
|
|
462
|
+
alignItems: string;
|
|
463
|
+
color: string | number;
|
|
464
|
+
display: string;
|
|
465
|
+
fontFamily: string;
|
|
466
|
+
fontSize: string | number;
|
|
467
|
+
fontWeight: string;
|
|
468
|
+
marginBottom: number;
|
|
469
|
+
marginLeft: number;
|
|
470
|
+
marginRight: number;
|
|
471
|
+
marginTop: number;
|
|
472
|
+
'& > svg': {
|
|
473
|
+
fill: string | number;
|
|
474
|
+
'&:not(.webchat__error--rtl)': {
|
|
475
|
+
paddingRight: number;
|
|
476
|
+
};
|
|
477
|
+
'&.webchat__error--rtl': {
|
|
478
|
+
paddingLeft: number;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
readonly fileContent: {
|
|
483
|
+
color: string;
|
|
484
|
+
display: string;
|
|
485
|
+
fontFamily: string;
|
|
486
|
+
padding: number;
|
|
487
|
+
'& .webchat__fileContent__badge': {
|
|
488
|
+
justifyContent: string;
|
|
489
|
+
};
|
|
490
|
+
'& .webchat__fileContent__buttonLink': {
|
|
491
|
+
alignItems: string;
|
|
492
|
+
color: string;
|
|
493
|
+
textDecoration: string;
|
|
494
|
+
'&:focus': {
|
|
495
|
+
backgroundColor: string;
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
'& .webchat__fileContent__downloadIcon': {
|
|
499
|
+
color: string;
|
|
500
|
+
fontSize: string;
|
|
501
|
+
padding: number;
|
|
502
|
+
'&:not(.webchat__fileContent__downloadIcon--rtl)': {
|
|
503
|
+
marginLeft: number;
|
|
504
|
+
};
|
|
505
|
+
'&.webchat__fileContent__downloadIcon--rtl': {
|
|
506
|
+
marginRight: number;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
'& .webchat__fileContent__fileName': {
|
|
510
|
+
color: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
readonly imageAvatar: {
|
|
514
|
+
alignItems: string;
|
|
515
|
+
display: string;
|
|
516
|
+
height: "var(--webchat__size--avatar)";
|
|
517
|
+
justifyContent: string;
|
|
518
|
+
overflow: string[];
|
|
519
|
+
width: "var(--webchat__size--avatar)";
|
|
520
|
+
};
|
|
521
|
+
readonly initialsAvatar: {
|
|
522
|
+
'&.webchat__initialsAvatar': {
|
|
523
|
+
alignItems: string;
|
|
524
|
+
color: string;
|
|
525
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
526
|
+
height: "var(--webchat__size--avatar)";
|
|
527
|
+
justifyContent: string;
|
|
528
|
+
overflow: string;
|
|
529
|
+
width: "var(--webchat__size--avatar)";
|
|
530
|
+
'&.webchat__initialsAvatar--fromUser': {
|
|
531
|
+
backgroundColor: string;
|
|
532
|
+
};
|
|
533
|
+
'&:not(.webchat__initialsAvatar--fromUser)': {
|
|
534
|
+
backgroundColor: string;
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
};
|
|
538
|
+
readonly microphoneButton: {
|
|
539
|
+
'&.webchat__microphone-button': {
|
|
540
|
+
'&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
|
|
541
|
+
'&, &:focus, &:hover': {
|
|
542
|
+
'& .webchat__microphone-button__icon': {
|
|
543
|
+
'--webchat__component-icon--color': string;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
};
|
|
549
|
+
readonly options: {
|
|
550
|
+
readonly accent: string | undefined;
|
|
551
|
+
readonly backgroundColor: string | undefined;
|
|
552
|
+
readonly subtle: string | undefined;
|
|
553
|
+
readonly paddingRegular: number | undefined;
|
|
554
|
+
readonly paddingWide: number | undefined;
|
|
555
|
+
readonly transitionDuration: string | undefined;
|
|
556
|
+
readonly transitionEasing: string | undefined;
|
|
557
|
+
readonly fontSizeSmall: number | string | undefined;
|
|
558
|
+
readonly monospaceFont: string | undefined;
|
|
559
|
+
readonly primaryFont: string | undefined;
|
|
560
|
+
readonly rootHeight: number | string | undefined;
|
|
561
|
+
readonly rootWidth: number | string | undefined;
|
|
562
|
+
readonly rootZIndex: number | undefined;
|
|
563
|
+
readonly avatarBorderRadius: number | string | undefined;
|
|
564
|
+
readonly avatarSize: number | undefined;
|
|
565
|
+
readonly botAvatarBackgroundColor: string | undefined;
|
|
566
|
+
readonly botAvatarImage: string | undefined;
|
|
567
|
+
readonly botAvatarInitials: string | undefined;
|
|
568
|
+
readonly userAvatarBackgroundColor: string | undefined;
|
|
569
|
+
readonly userAvatarImage: string | undefined;
|
|
570
|
+
readonly userAvatarInitials: string | undefined;
|
|
571
|
+
readonly showAvatarInGroup: true | "sender" | "status" | undefined;
|
|
572
|
+
readonly bubbleBackground: string | undefined;
|
|
573
|
+
readonly bubbleBorderColor: string | undefined;
|
|
574
|
+
readonly bubbleBorderRadius: number | undefined;
|
|
575
|
+
readonly bubbleBorderStyle: string | undefined;
|
|
576
|
+
readonly bubbleBorderWidth: number | undefined;
|
|
577
|
+
readonly bubbleFromUserBackground: string | undefined;
|
|
578
|
+
readonly bubbleFromUserBorderColor: string | undefined;
|
|
579
|
+
readonly bubbleFromUserBorderRadius: number | undefined;
|
|
580
|
+
readonly bubbleFromUserBorderStyle: string | undefined;
|
|
581
|
+
readonly bubbleFromUserBorderWidth: number | undefined;
|
|
582
|
+
readonly bubbleFromUserNubOffset: number | undefined;
|
|
583
|
+
readonly bubbleFromUserNubSize: number | undefined;
|
|
584
|
+
readonly bubbleFromUserTextColor: string | undefined;
|
|
585
|
+
readonly bubbleImageMaxHeight: number | undefined;
|
|
586
|
+
readonly bubbleImageMinHeight: number | undefined;
|
|
587
|
+
readonly bubbleAttachmentMaxWidth: number | undefined;
|
|
588
|
+
readonly bubbleAttachmentMinWidth: number | undefined;
|
|
589
|
+
readonly bubbleMessageMaxWidth: number | undefined;
|
|
590
|
+
readonly bubbleMessageMinWidth: number | undefined;
|
|
591
|
+
readonly bubbleMinHeight: number | undefined;
|
|
592
|
+
readonly bubbleNubOffset: number | undefined;
|
|
593
|
+
readonly bubbleNubSize: number | undefined;
|
|
594
|
+
readonly bubbleTextColor: string | undefined;
|
|
595
|
+
readonly messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all" | undefined;
|
|
596
|
+
readonly connectivityIconPadding: number | undefined;
|
|
597
|
+
readonly connectivityMarginLeftRight: number | undefined;
|
|
598
|
+
readonly connectivityMarginTopBottom: number | undefined;
|
|
599
|
+
readonly connectivityTextSize: number | string | undefined;
|
|
600
|
+
readonly failedConnectivity: number | string | undefined;
|
|
601
|
+
readonly slowConnectivity: string | undefined;
|
|
602
|
+
readonly notificationText: string | undefined;
|
|
603
|
+
readonly slowConnectionAfter: number | undefined;
|
|
604
|
+
readonly emojiSet: false | Record<string, string> | undefined;
|
|
605
|
+
readonly internalLiveRegionFadeAfter: number | undefined;
|
|
606
|
+
readonly markdownRespectCRLF: boolean | undefined;
|
|
607
|
+
readonly markdownRenderHTML: boolean | undefined;
|
|
608
|
+
readonly markdownExternalLinkIconImage: string | undefined;
|
|
609
|
+
readonly autoScrollSnapOnActivity: boolean | number | undefined;
|
|
610
|
+
readonly autoScrollSnapOnActivityOffset: number | undefined;
|
|
611
|
+
readonly autoScrollSnapOnPage: boolean | number | undefined;
|
|
612
|
+
readonly autoScrollSnapOnPageOffset: number | undefined;
|
|
613
|
+
readonly hideSendBox: boolean | undefined;
|
|
614
|
+
readonly hideTelephoneKeypadButton: boolean | undefined;
|
|
615
|
+
readonly microphoneButtonColorOnDictate: string | undefined;
|
|
616
|
+
readonly sendBoxBackground: string | undefined;
|
|
617
|
+
readonly uploadAccept: string | undefined;
|
|
618
|
+
readonly uploadMultiple: boolean | undefined;
|
|
619
|
+
readonly sendAttachmentOn: "attach" | "send" | undefined;
|
|
620
|
+
readonly sendBoxButtonColor: string | undefined;
|
|
621
|
+
readonly sendBoxButtonShadeBorderRadius: number | undefined;
|
|
622
|
+
readonly sendBoxButtonShadeColor: string | undefined;
|
|
623
|
+
readonly sendBoxButtonShadeInset: number | undefined;
|
|
624
|
+
readonly sendBoxButtonColorOnActive: string | undefined;
|
|
625
|
+
readonly sendBoxButtonShadeColorOnActive: string | undefined;
|
|
626
|
+
readonly sendBoxButtonColorOnDisabled: string | undefined;
|
|
627
|
+
readonly sendBoxButtonShadeColorOnDisabled: string | undefined;
|
|
628
|
+
readonly sendBoxButtonColorOnFocus: string | undefined;
|
|
629
|
+
readonly sendBoxButtonShadeColorOnFocus: string | undefined;
|
|
630
|
+
readonly sendBoxButtonColorOnHover: string | undefined;
|
|
631
|
+
readonly sendBoxButtonShadeColorOnHover: string | undefined;
|
|
632
|
+
readonly sendBoxButtonKeyboardFocusIndicatorBorderColor: string | undefined;
|
|
633
|
+
readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: number | string | undefined;
|
|
634
|
+
readonly sendBoxButtonKeyboardFocusIndicatorBorderStyle: string | undefined;
|
|
635
|
+
readonly sendBoxButtonKeyboardFocusIndicatorBorderWidth: number | undefined;
|
|
636
|
+
readonly sendBoxButtonKeyboardFocusIndicatorInset: number | undefined;
|
|
637
|
+
readonly sendBoxDisabledTextColor: string | undefined;
|
|
638
|
+
readonly sendBoxHeight: number | string | undefined;
|
|
639
|
+
readonly sendBoxMaxHeight: number | string | undefined;
|
|
640
|
+
readonly sendBoxTextColor: string | undefined;
|
|
641
|
+
readonly sendBoxBorderBottom: number | string | undefined;
|
|
642
|
+
readonly sendBoxBorderLeft: number | string | undefined;
|
|
643
|
+
readonly sendBoxBorderRight: number | string | undefined;
|
|
644
|
+
readonly sendBoxBorderTop: number | string | undefined;
|
|
645
|
+
readonly sendBoxPlaceholderColor: string | undefined;
|
|
646
|
+
readonly sendBoxTextWrap: boolean | undefined;
|
|
647
|
+
readonly sendBoxButtonAlignment: "bottom" | "stretch" | "top" | undefined;
|
|
648
|
+
readonly showSpokenText: boolean | undefined;
|
|
649
|
+
readonly spinnerAnimationBackgroundImage: string | undefined;
|
|
650
|
+
readonly spinnerAnimationHeight: number | string | undefined;
|
|
651
|
+
readonly spinnerAnimationWidth: number | string | undefined;
|
|
652
|
+
readonly spinnerAnimationPadding: number | string | undefined;
|
|
653
|
+
readonly suggestedActionBorderRadius: number | string | undefined;
|
|
654
|
+
readonly suggestedActionBackgroundColor: string | undefined;
|
|
655
|
+
readonly suggestedActionBorderColor: string | undefined;
|
|
656
|
+
readonly suggestedActionBorderStyle: string | undefined;
|
|
657
|
+
readonly suggestedActionBorderWidth: number | undefined;
|
|
658
|
+
readonly suggestedActionTextColor: string | undefined;
|
|
659
|
+
readonly suggestedActionBackgroundColorOnDisabled: string | undefined;
|
|
660
|
+
readonly suggestedActionBorderColorOnDisabled: string | undefined;
|
|
661
|
+
readonly suggestedActionBorderStyleOnDisabled: string | undefined;
|
|
662
|
+
readonly suggestedActionBorderWidthOnDisabled: number | undefined;
|
|
663
|
+
readonly suggestedActionTextColorOnDisabled: string | undefined;
|
|
664
|
+
readonly suggestedActionBackgroundColorOnActive: string | undefined;
|
|
665
|
+
readonly suggestedActionBorderColorOnActive: string | undefined;
|
|
666
|
+
readonly suggestedActionBorderStyleOnActive: string | undefined;
|
|
667
|
+
readonly suggestedActionBorderWidthOnActive: number | undefined;
|
|
668
|
+
readonly suggestedActionTextColorOnActive: string | undefined;
|
|
669
|
+
readonly suggestedActionBackgroundColorOnFocus: string | undefined;
|
|
670
|
+
readonly suggestedActionBorderColorOnFocus: string | undefined;
|
|
671
|
+
readonly suggestedActionBorderStyleOnFocus: string | undefined;
|
|
672
|
+
readonly suggestedActionBorderWidthOnFocus: number | undefined;
|
|
673
|
+
readonly suggestedActionTextColorOnFocus: string | undefined;
|
|
674
|
+
readonly suggestedActionBackgroundColorOnHover: string | undefined;
|
|
675
|
+
readonly suggestedActionBorderColorOnHover: string | undefined;
|
|
676
|
+
readonly suggestedActionBorderStyleOnHover: string | undefined;
|
|
677
|
+
readonly suggestedActionBorderWidthOnHover: number | undefined;
|
|
678
|
+
readonly suggestedActionTextColorOnHover: string | undefined;
|
|
679
|
+
readonly suggestedActionHeight: number | string | undefined;
|
|
680
|
+
readonly suggestedActionImageHeight: number | string | undefined;
|
|
681
|
+
readonly suggestedActionLayout: "carousel" | "flow" | "stacked" | undefined;
|
|
682
|
+
readonly suggestedActionKeyboardFocusIndicatorBorderColor: string | undefined;
|
|
683
|
+
readonly suggestedActionKeyboardFocusIndicatorBorderRadius: number | string | undefined;
|
|
684
|
+
readonly suggestedActionKeyboardFocusIndicatorBorderStyle: string | undefined;
|
|
685
|
+
readonly suggestedActionKeyboardFocusIndicatorBorderWidth: number | undefined;
|
|
686
|
+
readonly suggestedActionKeyboardFocusIndicatorInset: number | undefined;
|
|
687
|
+
readonly suggestedActionsCarouselFlipperCursor: string | undefined;
|
|
688
|
+
readonly suggestedActionsCarouselFlipperBoxWidth: number | undefined;
|
|
689
|
+
readonly suggestedActionsCarouselFlipperSize: number | undefined;
|
|
690
|
+
readonly suggestedActionsFlowMaxHeight: number | undefined;
|
|
691
|
+
readonly suggestedActionsStackedHeight: number | "auto" | undefined;
|
|
692
|
+
readonly suggestedActionsStackedOverflow: "auto" | "hidden" | "scroll" | "visible" | undefined;
|
|
693
|
+
readonly suggestedActionsStackedLayoutButtonMaxHeight: number | string | undefined;
|
|
694
|
+
readonly suggestedActionsStackedLayoutButtonTextWrap: boolean | undefined;
|
|
695
|
+
readonly suggestedActionsVisualKeyboardIndicatorColor: string | undefined;
|
|
696
|
+
readonly suggestedActionsVisualKeyboardIndicatorStyle: string | undefined;
|
|
697
|
+
readonly suggestedActionsVisualKeyboardIndicatorWidth: number | undefined;
|
|
698
|
+
readonly groupTimestamp: boolean | number | undefined;
|
|
699
|
+
readonly sendTimeout: number | ((activity: botframework_webchat_core.WebChatActivity) => number) | undefined;
|
|
700
|
+
readonly sendTimeoutForAttachments: number | undefined;
|
|
701
|
+
readonly timestampColor: string | undefined;
|
|
702
|
+
readonly timestampFormat: "absolute" | "relative" | undefined;
|
|
703
|
+
readonly transcriptTerminatorBackgroundColor: string | undefined;
|
|
704
|
+
readonly transcriptTerminatorBorderRadius: number | string | undefined;
|
|
705
|
+
readonly transcriptTerminatorColor: string | undefined;
|
|
706
|
+
readonly transcriptTerminatorFontSize: number | string | undefined;
|
|
707
|
+
readonly transcriptActivityVisualKeyboardIndicatorColor: string | undefined;
|
|
708
|
+
readonly transcriptActivityVisualKeyboardIndicatorStyle: string | undefined;
|
|
709
|
+
readonly transcriptActivityVisualKeyboardIndicatorWidth: number | string | undefined;
|
|
710
|
+
readonly transcriptVisualKeyboardIndicatorColor: string | undefined;
|
|
711
|
+
readonly transcriptVisualKeyboardIndicatorStyle: string | undefined;
|
|
712
|
+
readonly transcriptVisualKeyboardIndicatorWidth: number | string | undefined;
|
|
713
|
+
readonly scrollToEndButtonBehavior: false | "any" | "unread" | undefined;
|
|
714
|
+
readonly scrollToEndButtonFontSize: number | string | undefined;
|
|
715
|
+
readonly transcriptOverlayButtonBackground: string | undefined;
|
|
716
|
+
readonly transcriptOverlayButtonBackgroundOnDisabled: string | undefined;
|
|
717
|
+
readonly transcriptOverlayButtonBackgroundOnFocus: string | undefined;
|
|
718
|
+
readonly transcriptOverlayButtonBackgroundOnHover: string | undefined;
|
|
719
|
+
readonly transcriptOverlayButtonColor: string | undefined;
|
|
720
|
+
readonly transcriptOverlayButtonColorOnDisabled: string | undefined;
|
|
721
|
+
readonly transcriptOverlayButtonColorOnFocus: string | undefined;
|
|
722
|
+
readonly transcriptOverlayButtonColorOnHover: string | undefined;
|
|
723
|
+
readonly notificationDebounceTimeout: number | undefined;
|
|
724
|
+
readonly hideToaster: boolean | undefined;
|
|
725
|
+
readonly toasterHeight: number | string | undefined;
|
|
726
|
+
readonly toasterMaxHeight: number | string | undefined;
|
|
727
|
+
readonly toasterSingularMaxHeight: number | string | undefined;
|
|
728
|
+
readonly toastFontSize: number | string | undefined;
|
|
729
|
+
readonly toastIconWidth: number | string | undefined;
|
|
730
|
+
readonly toastSeparatorColor: string | undefined;
|
|
731
|
+
readonly toastTextPadding: number | string | undefined;
|
|
732
|
+
readonly toastErrorBackgroundColor: string | undefined;
|
|
733
|
+
readonly toastErrorColor: string | undefined;
|
|
734
|
+
readonly toastInfoBackgroundColor: string | undefined;
|
|
735
|
+
readonly toastInfoColor: string | undefined;
|
|
736
|
+
readonly toastSuccessBackgroundColor: string | undefined;
|
|
737
|
+
readonly toastSuccessColor: string | undefined;
|
|
738
|
+
readonly toastWarnBackgroundColor: string | undefined;
|
|
739
|
+
readonly toastWarnColor: string | undefined;
|
|
740
|
+
readonly typingAnimationBackgroundImage: string | undefined;
|
|
741
|
+
readonly typingAnimationDuration: number | undefined;
|
|
742
|
+
readonly typingAnimationHeight: number | string | undefined;
|
|
743
|
+
readonly typingAnimationWidth: number | string | undefined;
|
|
744
|
+
readonly enableUploadThumbnail: boolean | undefined;
|
|
745
|
+
readonly uploadThumbnailContentType: string | undefined;
|
|
746
|
+
readonly uploadThumbnailHeight: number | undefined;
|
|
747
|
+
readonly uploadThumbnailQuality: number | undefined;
|
|
748
|
+
readonly uploadThumbnailWidth: number | undefined;
|
|
749
|
+
readonly videoHeight: number | string | undefined;
|
|
750
|
+
readonly maxMessageLength: number | undefined;
|
|
751
|
+
readonly stylesRoot: Node | undefined;
|
|
752
|
+
readonly borderAnimationColor1: string | undefined;
|
|
753
|
+
readonly borderAnimationColor2: string | undefined;
|
|
754
|
+
readonly borderAnimationColor3: string | undefined;
|
|
755
|
+
readonly codeBlockTheme: "github-light-default" | "github-dark-default" | undefined;
|
|
756
|
+
readonly feedbackActionsPlacement: "activity-actions" | "activity-status" | undefined;
|
|
757
|
+
readonly speechRecognitionContinuous: boolean | undefined;
|
|
758
|
+
readonly partGroupDefaultOpen: boolean | undefined;
|
|
759
|
+
readonly referenceListDefaultOpen: boolean | undefined;
|
|
760
|
+
readonly groupActivitiesBy: readonly string[] | undefined;
|
|
761
|
+
readonly sendBoxAttachmentBarMaxHeight: number | undefined;
|
|
762
|
+
readonly sendBoxAttachmentBarMaxThumbnail: number | undefined;
|
|
763
|
+
readonly disableFileUpload: boolean | undefined;
|
|
764
|
+
readonly showMicrophoneButton: "auto" | "hide" | undefined;
|
|
765
|
+
};
|
|
766
|
+
readonly root: {
|
|
767
|
+
backgroundColor: string;
|
|
768
|
+
height: string | number;
|
|
769
|
+
width: string | number;
|
|
770
|
+
zIndex: number;
|
|
771
|
+
};
|
|
772
|
+
readonly scrollToEndButton: {
|
|
773
|
+
'&.webchat__scroll-to-end-button': {
|
|
774
|
+
'@media screen and (forced-colors: active)': {
|
|
775
|
+
borderWidth: string;
|
|
776
|
+
outline: string;
|
|
777
|
+
};
|
|
778
|
+
appearance: string;
|
|
779
|
+
backgroundColor: string;
|
|
780
|
+
borderRadius: number;
|
|
781
|
+
borderWidth: number;
|
|
782
|
+
color: string;
|
|
783
|
+
fontFamily: string;
|
|
784
|
+
fontSize: string | number;
|
|
785
|
+
outline: number;
|
|
786
|
+
padding: number;
|
|
787
|
+
'&:hover': {
|
|
788
|
+
backgroundColor: string;
|
|
789
|
+
color: string;
|
|
790
|
+
};
|
|
791
|
+
'&:focus': {
|
|
792
|
+
backgroundColor: string;
|
|
793
|
+
color: string;
|
|
794
|
+
};
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
readonly sendBox: {
|
|
798
|
+
'&.webchat__send-box': {
|
|
799
|
+
fontFamily: string;
|
|
800
|
+
'& .webchat__send-box__button--align-bottom': {
|
|
801
|
+
alignSelf: string;
|
|
802
|
+
};
|
|
803
|
+
'& .webchat__send-box__button--align-stretch': {
|
|
804
|
+
alignSelf: string;
|
|
805
|
+
};
|
|
806
|
+
'& .webchat__send-box__button--align-top': {
|
|
807
|
+
alignSelf: string;
|
|
808
|
+
};
|
|
809
|
+
'& .webchat__send-box__main': {
|
|
810
|
+
alignItems: string;
|
|
811
|
+
backgroundColor: string;
|
|
812
|
+
borderBottom: string;
|
|
813
|
+
borderLeft: string;
|
|
814
|
+
borderRight: string;
|
|
815
|
+
borderTop: string;
|
|
816
|
+
display: string;
|
|
817
|
+
gridTemplateAreas: string;
|
|
818
|
+
gridTemplateColumns: string;
|
|
819
|
+
gridTemplateRows: string;
|
|
820
|
+
minHeight: string;
|
|
821
|
+
'&:has(.webchat__send-box__attachment-bar)': {
|
|
822
|
+
gridTemplateAreas: string;
|
|
823
|
+
gridTemplateRows: string;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
'& .webchat__send-box__editable': {
|
|
827
|
+
display: string;
|
|
828
|
+
flexDirection: string;
|
|
829
|
+
gap: string;
|
|
830
|
+
gridArea: string;
|
|
831
|
+
paddingBottom: string;
|
|
832
|
+
paddingTop: string;
|
|
833
|
+
overflowX: string;
|
|
834
|
+
width: string;
|
|
835
|
+
};
|
|
836
|
+
'& .webchat__send-box__attachment-bar': {
|
|
837
|
+
padding: string;
|
|
838
|
+
paddingBlockEnd: string;
|
|
839
|
+
};
|
|
840
|
+
'& .webchat__upload-button': {
|
|
841
|
+
gridArea: string;
|
|
842
|
+
};
|
|
843
|
+
'& .webchat__send-button': {
|
|
844
|
+
gridArea: string;
|
|
845
|
+
};
|
|
846
|
+
};
|
|
847
|
+
};
|
|
848
|
+
readonly sendBoxButton: {
|
|
849
|
+
'&.webchat__icon-button': {
|
|
850
|
+
alignItems: string;
|
|
851
|
+
appearance: string;
|
|
852
|
+
backgroundColor: string;
|
|
853
|
+
border: number;
|
|
854
|
+
color: string;
|
|
855
|
+
display: string;
|
|
856
|
+
justifyContent: string;
|
|
857
|
+
outline: number;
|
|
858
|
+
padding: number;
|
|
859
|
+
position: string;
|
|
860
|
+
width: string | number;
|
|
861
|
+
'--webchat__component-icon--size': string;
|
|
862
|
+
'&:not(.webchat__icon-button--stretch)': {
|
|
863
|
+
height: string | number;
|
|
864
|
+
};
|
|
865
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
866
|
+
color: string;
|
|
867
|
+
'& .webchat__icon-button__shade': {
|
|
868
|
+
backgroundColor: string;
|
|
869
|
+
};
|
|
870
|
+
};
|
|
871
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
872
|
+
'&:active': {
|
|
873
|
+
color: string;
|
|
874
|
+
'& .webchat__icon-button__shade': {
|
|
875
|
+
backgroundColor: string;
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
'&:not(:active)': {
|
|
879
|
+
'&:hover': {
|
|
880
|
+
color: string;
|
|
881
|
+
'& .webchat__icon-button__shade': {
|
|
882
|
+
backgroundColor: string;
|
|
883
|
+
};
|
|
884
|
+
};
|
|
885
|
+
'&:not(:hover)': {
|
|
886
|
+
'&:focus': {
|
|
887
|
+
color: string;
|
|
888
|
+
'& .webchat__icon-button__shade': {
|
|
889
|
+
backgroundColor: string;
|
|
890
|
+
};
|
|
891
|
+
};
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
'&:not(:focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
896
|
+
display: string;
|
|
897
|
+
};
|
|
898
|
+
'&:not(.webchat__icon-button--focus-visible) .webchat__icon-button__keyboard-focus-indicator': {
|
|
899
|
+
display: string;
|
|
900
|
+
};
|
|
901
|
+
'& > *': {
|
|
902
|
+
position: string;
|
|
903
|
+
};
|
|
904
|
+
'& .webchat__icon-button__shade': {
|
|
905
|
+
backgroundColor: string;
|
|
906
|
+
borderRadius: number;
|
|
907
|
+
bottom: number;
|
|
908
|
+
left: number;
|
|
909
|
+
position: string;
|
|
910
|
+
right: number;
|
|
911
|
+
top: number;
|
|
912
|
+
};
|
|
913
|
+
'& .webchat__icon-button__keyboard-focus-indicator': {
|
|
914
|
+
borderColor: string;
|
|
915
|
+
borderRadius: string | number;
|
|
916
|
+
borderStyle: string;
|
|
917
|
+
borderWidth: number;
|
|
918
|
+
bottom: number;
|
|
919
|
+
left: number;
|
|
920
|
+
position: string;
|
|
921
|
+
right: number;
|
|
922
|
+
top: number;
|
|
923
|
+
};
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
readonly sendBoxTextBox: {
|
|
927
|
+
'&.webchat__send-box-text-box': {
|
|
928
|
+
alignItems: string;
|
|
929
|
+
fontFamily: string;
|
|
930
|
+
paddingBottom: number;
|
|
931
|
+
paddingLeft: number;
|
|
932
|
+
paddingRight: number;
|
|
933
|
+
paddingTop: number;
|
|
934
|
+
position: string;
|
|
935
|
+
'& .webchat__send-box-text-box__input': {
|
|
936
|
+
border: number;
|
|
937
|
+
fontFamily: string;
|
|
938
|
+
fontSize: string;
|
|
939
|
+
height: string;
|
|
940
|
+
outline: number;
|
|
941
|
+
padding: number;
|
|
942
|
+
};
|
|
943
|
+
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__html-text-area': {
|
|
944
|
+
backgroundColor: string;
|
|
945
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
946
|
+
color: string;
|
|
947
|
+
};
|
|
948
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
949
|
+
color: string;
|
|
950
|
+
};
|
|
951
|
+
'&::placeholder': {
|
|
952
|
+
color: string;
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
'& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area': {
|
|
956
|
+
maxHeight: string | number;
|
|
957
|
+
};
|
|
958
|
+
'& .webchat__send-box-text-box__glass': {
|
|
959
|
+
height: string;
|
|
960
|
+
left: number;
|
|
961
|
+
position: string;
|
|
962
|
+
top: number;
|
|
963
|
+
userSelect: number;
|
|
964
|
+
width: string;
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
readonly spinnerAnimation: {
|
|
969
|
+
backgroundImage: string;
|
|
970
|
+
backgroundRepeat: string;
|
|
971
|
+
backgroundSize: string;
|
|
972
|
+
height: string | number;
|
|
973
|
+
width: string | number;
|
|
974
|
+
':not(.webchat__spinner--rtl)': {
|
|
975
|
+
marginRight: string | number;
|
|
976
|
+
};
|
|
977
|
+
'.webchat__spinner--rtl': {
|
|
978
|
+
marginLeft: string | number;
|
|
979
|
+
};
|
|
980
|
+
};
|
|
981
|
+
readonly stackedLayout: {
|
|
982
|
+
'&.webchat__stacked-layout': {
|
|
983
|
+
marginLeft: number;
|
|
984
|
+
marginRight: number;
|
|
985
|
+
'& .webchat__stacked-layout__alignment-pad': {
|
|
986
|
+
transitionDuration: string;
|
|
987
|
+
transitionProperty: string;
|
|
988
|
+
width: number;
|
|
989
|
+
};
|
|
990
|
+
'&.webchat__stacked-layout--extra-trailing .webchat__stacked-layout__alignment-pad': {
|
|
991
|
+
width: number;
|
|
992
|
+
};
|
|
993
|
+
'& .webchat__stacked-layout__avatar-gutter': {
|
|
994
|
+
transitionDuration: string;
|
|
995
|
+
transitionProperty: string;
|
|
996
|
+
width: number;
|
|
997
|
+
};
|
|
998
|
+
'& .webchat__stacked-layout__attachment': {
|
|
999
|
+
maxWidth: "var(--webchat__max-width--attachment-bubble)";
|
|
1000
|
+
minWidth: "var(--webchat__min-width--attachment-bubble)";
|
|
1001
|
+
transitionDuration: string;
|
|
1002
|
+
transitionProperty: string;
|
|
1003
|
+
};
|
|
1004
|
+
'& .webchat__stacked-layout__attachment-row': {
|
|
1005
|
+
marginTop: number;
|
|
1006
|
+
width: string;
|
|
1007
|
+
};
|
|
1008
|
+
'&.webchat__stacked-layout--no-message .webchat__stacked-layout__attachment-row.webchat__stacked-layout__attachment-row--first': {
|
|
1009
|
+
marginTop: number;
|
|
1010
|
+
};
|
|
1011
|
+
'& .webchat__stacked-layout__message': {
|
|
1012
|
+
maxWidth: "var(--webchat__max-width--message-bubble)";
|
|
1013
|
+
minWidth: "var(--webchat__min-width--message-bubble)";
|
|
1014
|
+
overflow: string;
|
|
1015
|
+
transitionDuration: string;
|
|
1016
|
+
transitionProperty: string;
|
|
1017
|
+
};
|
|
1018
|
+
'& .webchat__stacked-layout__nub-pad': {
|
|
1019
|
+
transitionDuration: string;
|
|
1020
|
+
transitionProperty: string;
|
|
1021
|
+
width: number;
|
|
1022
|
+
};
|
|
1023
|
+
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar': {
|
|
1024
|
+
'& .webchat__stacked-layout__avatar-gutter': {
|
|
1025
|
+
width: "var(--webchat__size--avatar)";
|
|
1026
|
+
};
|
|
1027
|
+
};
|
|
1028
|
+
'&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub': {
|
|
1029
|
+
'& .webchat__stacked-layout__attachment': {
|
|
1030
|
+
maxWidth: number;
|
|
1031
|
+
minWidth: number;
|
|
1032
|
+
};
|
|
1033
|
+
'& .webchat__stacked-layout__message': {
|
|
1034
|
+
maxWidth: number;
|
|
1035
|
+
minWidth: number;
|
|
1036
|
+
};
|
|
1037
|
+
'& .webchat__stacked-layout__nub-pad': {
|
|
1038
|
+
width: number;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
'&:not(.webchat__stacked-layout--top-callout)': {
|
|
1042
|
+
'& .webchat__stacked-layout__avatar-gutter, & .webchat__stacked-layout__content': {
|
|
1043
|
+
justifyContent: string;
|
|
1044
|
+
};
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
readonly suggestedAction: {
|
|
1049
|
+
'&.webchat__suggested-action': {
|
|
1050
|
+
alignItems: string;
|
|
1051
|
+
backgroundColor: string;
|
|
1052
|
+
borderColor: string;
|
|
1053
|
+
borderRadius: string | number;
|
|
1054
|
+
borderStyle: string;
|
|
1055
|
+
borderWidth: number;
|
|
1056
|
+
color: string;
|
|
1057
|
+
fontFamily: string;
|
|
1058
|
+
fontSize: string;
|
|
1059
|
+
height: string | number;
|
|
1060
|
+
justifyContent: string;
|
|
1061
|
+
maxWidth: string;
|
|
1062
|
+
outline: number;
|
|
1063
|
+
paddingLeft: number;
|
|
1064
|
+
paddingRight: number;
|
|
1065
|
+
position: string;
|
|
1066
|
+
whiteSpace: string;
|
|
1067
|
+
width: string;
|
|
1068
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
1069
|
+
backgroundColor: string;
|
|
1070
|
+
borderColor: string;
|
|
1071
|
+
borderStyle: string;
|
|
1072
|
+
borderWidth: number;
|
|
1073
|
+
color: string;
|
|
1074
|
+
};
|
|
1075
|
+
'&:not(:disabled):not([aria-disabled="true"])': {
|
|
1076
|
+
'&:active': {
|
|
1077
|
+
backgroundColor: string;
|
|
1078
|
+
borderColor: string;
|
|
1079
|
+
borderStyle: string;
|
|
1080
|
+
borderWidth: number;
|
|
1081
|
+
color: string;
|
|
1082
|
+
};
|
|
1083
|
+
'&:not(:active)': {
|
|
1084
|
+
'&:hover': {
|
|
1085
|
+
backgroundColor: string;
|
|
1086
|
+
borderColor: string;
|
|
1087
|
+
borderStyle: string;
|
|
1088
|
+
borderWidth: number;
|
|
1089
|
+
color: string;
|
|
1090
|
+
};
|
|
1091
|
+
'&:not(:hover)': {
|
|
1092
|
+
'&:focus': {
|
|
1093
|
+
backgroundColor: string;
|
|
1094
|
+
borderColor: string;
|
|
1095
|
+
borderStyle: string;
|
|
1096
|
+
borderWidth: number;
|
|
1097
|
+
color: string;
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
};
|
|
1102
|
+
'&:not(:focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1103
|
+
display: string;
|
|
1104
|
+
};
|
|
1105
|
+
'&:not(.webchat__suggested-action--focus-visible) .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1106
|
+
display: string;
|
|
1107
|
+
};
|
|
1108
|
+
'&:not(.webchat__suggested-action--rtl) .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
1109
|
+
paddingLeft: number;
|
|
1110
|
+
};
|
|
1111
|
+
'&.webchat__suggested-action--rtl .webchat__suggested-action__image + .webchat__suggested-action__text': {
|
|
1112
|
+
paddingRight: number;
|
|
1113
|
+
};
|
|
1114
|
+
'&.webchat__suggested-action--wrapping': {
|
|
1115
|
+
height: string;
|
|
1116
|
+
maxHeight: string | number;
|
|
1117
|
+
minHeight: string | number;
|
|
1118
|
+
};
|
|
1119
|
+
'& .webchat__suggested-action__image': {
|
|
1120
|
+
height: string | number;
|
|
1121
|
+
};
|
|
1122
|
+
'& .webchat__suggested-action__keyboard-focus-indicator': {
|
|
1123
|
+
borderColor: string;
|
|
1124
|
+
borderRadius: string | number;
|
|
1125
|
+
borderStyle: string;
|
|
1126
|
+
borderWidth: number;
|
|
1127
|
+
bottom: number;
|
|
1128
|
+
left: number;
|
|
1129
|
+
position: string;
|
|
1130
|
+
right: number;
|
|
1131
|
+
top: number;
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
readonly suggestedActions: {
|
|
1136
|
+
'&.webchat__suggested-actions': {
|
|
1137
|
+
position: string;
|
|
1138
|
+
'&.webchat__suggested-actions--carousel-layout': {
|
|
1139
|
+
'& .webchat__suggested-actions__carousel': {
|
|
1140
|
+
paddingBottom: number;
|
|
1141
|
+
paddingTop: number;
|
|
1142
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1143
|
+
paddingBottom: number;
|
|
1144
|
+
paddingLeft: number;
|
|
1145
|
+
paddingRight: number;
|
|
1146
|
+
paddingTop: number;
|
|
1147
|
+
};
|
|
1148
|
+
'& .react-film__filmstrip': {
|
|
1149
|
+
scrollbarWidth: string;
|
|
1150
|
+
};
|
|
1151
|
+
'& .react-film__flipper': {
|
|
1152
|
+
'&:disabled, &[aria-disabled="true"]': {
|
|
1153
|
+
'& .react-film__flipper__body': {
|
|
1154
|
+
backgroundColor: string;
|
|
1155
|
+
color: string;
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
'&:focus .react-film__flipper__body': {
|
|
1159
|
+
backgroundColor: string;
|
|
1160
|
+
color: string;
|
|
1161
|
+
};
|
|
1162
|
+
'&:hover .react-film__flipper__body': {
|
|
1163
|
+
backgroundColor: string;
|
|
1164
|
+
color: string;
|
|
1165
|
+
};
|
|
1166
|
+
'& .react-film__flipper__body': {
|
|
1167
|
+
background: string;
|
|
1168
|
+
color: string;
|
|
1169
|
+
outline: number;
|
|
1170
|
+
};
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
'&:not(.webchat__suggested-actions--rtl)': {
|
|
1174
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1175
|
+
paddingLeft: number;
|
|
1176
|
+
};
|
|
1177
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1178
|
+
paddingRight: number;
|
|
1179
|
+
};
|
|
1180
|
+
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1181
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1182
|
+
paddingLeft: number;
|
|
1183
|
+
};
|
|
1184
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1185
|
+
paddingRight: number;
|
|
1186
|
+
};
|
|
1187
|
+
};
|
|
1188
|
+
};
|
|
1189
|
+
'&.webchat__suggested-actions--rtl': {
|
|
1190
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1191
|
+
paddingRight: number;
|
|
1192
|
+
};
|
|
1193
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1194
|
+
paddingLeft: number;
|
|
1195
|
+
};
|
|
1196
|
+
'& .react-film__flipper + .react-film__filmstrip': {
|
|
1197
|
+
'& .react-film__filmstrip__item:first-child': {
|
|
1198
|
+
paddingRight: number;
|
|
1199
|
+
};
|
|
1200
|
+
'& .react-film__filmstrip__item:last-child': {
|
|
1201
|
+
paddingLeft: number;
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
'&.webchat__suggested-actions--flow-layout': {
|
|
1207
|
+
'& .webchat__suggested-actions__flow-box': {
|
|
1208
|
+
maxHeight: number;
|
|
1209
|
+
overflowY: string;
|
|
1210
|
+
paddingBottom: number;
|
|
1211
|
+
paddingLeft: number;
|
|
1212
|
+
paddingRight: number;
|
|
1213
|
+
paddingTop: number;
|
|
1214
|
+
};
|
|
1215
|
+
'& .webchat__suggested-actions__flow-item-box': {
|
|
1216
|
+
maxWidth: string;
|
|
1217
|
+
overflow: string;
|
|
1218
|
+
};
|
|
1219
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1220
|
+
paddingBottom: number;
|
|
1221
|
+
paddingLeft: number;
|
|
1222
|
+
paddingRight: number;
|
|
1223
|
+
paddingTop: number;
|
|
1224
|
+
};
|
|
1225
|
+
};
|
|
1226
|
+
'&.webchat__suggested-actions--stacked-layout': {
|
|
1227
|
+
'& .webchat__suggested-actions__stack': {
|
|
1228
|
+
maxHeight: number | "auto";
|
|
1229
|
+
overflowY: "hidden" | "visible" | "auto" | "scroll";
|
|
1230
|
+
paddingBottom: number;
|
|
1231
|
+
paddingLeft: number;
|
|
1232
|
+
paddingRight: number;
|
|
1233
|
+
paddingTop: number;
|
|
1234
|
+
};
|
|
1235
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1236
|
+
paddingBottom: number;
|
|
1237
|
+
paddingLeft: number;
|
|
1238
|
+
paddingRight: number;
|
|
1239
|
+
paddingTop: number;
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
'&.webchat__suggested-actions--flow-layout, &.webchat__suggested-actions--stacked-layout': {
|
|
1243
|
+
'& .webchat__suggested-actions__button-text': {
|
|
1244
|
+
overflow: string;
|
|
1245
|
+
textOverflow: string;
|
|
1246
|
+
};
|
|
1247
|
+
'& .webchat__suggested-actions__button-text-stacked-text-wrap': {
|
|
1248
|
+
alignItems: string;
|
|
1249
|
+
display: string;
|
|
1250
|
+
whiteSpace: string;
|
|
1251
|
+
};
|
|
1252
|
+
};
|
|
1253
|
+
'& .webchat__suggested-actions__item-box': {
|
|
1254
|
+
display: string;
|
|
1255
|
+
maxWidth: string;
|
|
1256
|
+
};
|
|
1257
|
+
'&.webchat__suggested-actions--focus-within, &:focus-within': {
|
|
1258
|
+
'& .webchat__suggested-actions__focus-indicator': {
|
|
1259
|
+
borderColor: string;
|
|
1260
|
+
borderStyle: string;
|
|
1261
|
+
borderWidth: number;
|
|
1262
|
+
boxSizing: string;
|
|
1263
|
+
height: string;
|
|
1264
|
+
pointerEvents: string;
|
|
1265
|
+
position: string;
|
|
1266
|
+
top: number;
|
|
1267
|
+
width: string;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
};
|
|
1271
|
+
};
|
|
1272
|
+
readonly toast: {
|
|
1273
|
+
fontFamily: string;
|
|
1274
|
+
fontSize: string | number;
|
|
1275
|
+
minHeight: string | number;
|
|
1276
|
+
'&.webchat__toast--error': {
|
|
1277
|
+
color: string;
|
|
1278
|
+
fill: string;
|
|
1279
|
+
};
|
|
1280
|
+
'&.webchat__toast--info': {
|
|
1281
|
+
color: string;
|
|
1282
|
+
fill: string;
|
|
1283
|
+
};
|
|
1284
|
+
'&.webchat__toast--success': {
|
|
1285
|
+
color: string;
|
|
1286
|
+
fill: string;
|
|
1287
|
+
};
|
|
1288
|
+
'&.webchat__toast--warn': {
|
|
1289
|
+
color: string;
|
|
1290
|
+
fill: string;
|
|
1291
|
+
};
|
|
1292
|
+
'& .webchat__toast__iconBox': {
|
|
1293
|
+
alignItems: string;
|
|
1294
|
+
display: string;
|
|
1295
|
+
flexShrink: number;
|
|
1296
|
+
height: string | number;
|
|
1297
|
+
justifyContent: string;
|
|
1298
|
+
width: string | number;
|
|
1299
|
+
};
|
|
1300
|
+
'& .webchat__toast__dismissButton': {
|
|
1301
|
+
alignItems: string;
|
|
1302
|
+
appearance: string;
|
|
1303
|
+
backgroundColor: string;
|
|
1304
|
+
border: number;
|
|
1305
|
+
display: string;
|
|
1306
|
+
height: string | number;
|
|
1307
|
+
justifyContent: string;
|
|
1308
|
+
outline: number;
|
|
1309
|
+
padding: number;
|
|
1310
|
+
width: string | number;
|
|
1311
|
+
'&:focus .webchat__toast__dismissButtonFocus': {
|
|
1312
|
+
borderColor: string;
|
|
1313
|
+
};
|
|
1314
|
+
'&:hover .webchat__toast__dismissButtonFocus': {
|
|
1315
|
+
backgroundColor: string;
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
'& .webchat__toast__dismissButtonFocus': {
|
|
1319
|
+
alignItems: string;
|
|
1320
|
+
borderColor: string;
|
|
1321
|
+
borderStyle: string;
|
|
1322
|
+
borderWidth: number;
|
|
1323
|
+
borderRadius: number;
|
|
1324
|
+
display: string;
|
|
1325
|
+
height: number;
|
|
1326
|
+
justifyContent: string;
|
|
1327
|
+
width: number;
|
|
1328
|
+
};
|
|
1329
|
+
'& .webchat__toast__text': {
|
|
1330
|
+
alignSelf: string;
|
|
1331
|
+
paddingBottom: string | number;
|
|
1332
|
+
paddingTop: string | number;
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
readonly toaster: {
|
|
1336
|
+
overflowY: string;
|
|
1337
|
+
'&:not(.webchat__toaster--expandable)': {
|
|
1338
|
+
maxHeight: string | number;
|
|
1339
|
+
};
|
|
1340
|
+
'&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul': {
|
|
1341
|
+
height: number;
|
|
1342
|
+
};
|
|
1343
|
+
'&.webchat__toaster--expandable.webchat__toaster--expanded': {
|
|
1344
|
+
maxHeight: string | number;
|
|
1345
|
+
};
|
|
1346
|
+
'& .webchat__toaster__header': {
|
|
1347
|
+
alignItems: string;
|
|
1348
|
+
alignSelf: string;
|
|
1349
|
+
appearance: string;
|
|
1350
|
+
backgroundColor: string;
|
|
1351
|
+
border: number;
|
|
1352
|
+
display: string;
|
|
1353
|
+
fontFamily: string;
|
|
1354
|
+
fontSize: string | number;
|
|
1355
|
+
minHeight: string | number;
|
|
1356
|
+
outline: number;
|
|
1357
|
+
padding: number;
|
|
1358
|
+
textAlign: string;
|
|
1359
|
+
'&:focus .webchat__toaster__expandIconFocus': {
|
|
1360
|
+
borderColor: string;
|
|
1361
|
+
};
|
|
1362
|
+
'&:hover .webchat__toaster__expandIconFocus': {
|
|
1363
|
+
backgroundColor: string;
|
|
1364
|
+
};
|
|
1365
|
+
};
|
|
1366
|
+
'& .webchat__toaster__expandIconFocus': {
|
|
1367
|
+
alignItems: string;
|
|
1368
|
+
borderColor: string;
|
|
1369
|
+
borderStyle: string;
|
|
1370
|
+
borderWidth: number;
|
|
1371
|
+
borderRadius: number;
|
|
1372
|
+
display: string;
|
|
1373
|
+
height: number;
|
|
1374
|
+
justifyContent: string;
|
|
1375
|
+
width: number;
|
|
1376
|
+
};
|
|
1377
|
+
'&.webchat__toaster--error': {
|
|
1378
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1379
|
+
backgroundColor: string;
|
|
1380
|
+
};
|
|
1381
|
+
'& .webchat__toaster__header': {
|
|
1382
|
+
color: string;
|
|
1383
|
+
fill: string;
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
'&.webchat__toaster--info': {
|
|
1387
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1388
|
+
backgroundColor: string;
|
|
1389
|
+
};
|
|
1390
|
+
'& .webchat__toaster__header': {
|
|
1391
|
+
color: string;
|
|
1392
|
+
fill: string;
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
'&.webchat__toaster--success': {
|
|
1396
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1397
|
+
backgroundColor: string;
|
|
1398
|
+
};
|
|
1399
|
+
'& .webchat__toaster__header': {
|
|
1400
|
+
color: string;
|
|
1401
|
+
fill: string;
|
|
1402
|
+
};
|
|
1403
|
+
};
|
|
1404
|
+
'&.webchat__toaster--warn': {
|
|
1405
|
+
'&:not(.webchat__toaster--expandable), & .webchat__toaster__header': {
|
|
1406
|
+
backgroundColor: string;
|
|
1407
|
+
};
|
|
1408
|
+
'& .webchat__toaster__header': {
|
|
1409
|
+
color: string;
|
|
1410
|
+
fill: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
'& .webchat__toaster__expandLevelIconBox': {
|
|
1414
|
+
height: string | number;
|
|
1415
|
+
width: string | number;
|
|
1416
|
+
};
|
|
1417
|
+
'& .webchat__toaster__expandIcon': {
|
|
1418
|
+
height: string | number;
|
|
1419
|
+
width: string | number;
|
|
1420
|
+
};
|
|
1421
|
+
'& .webchat__toaster__expandText': {
|
|
1422
|
+
padding: string;
|
|
1423
|
+
};
|
|
1424
|
+
'& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon': {
|
|
1425
|
+
alignItems: string;
|
|
1426
|
+
display: string;
|
|
1427
|
+
justifyContent: string;
|
|
1428
|
+
};
|
|
1429
|
+
'& .webchat__toaster__list': {
|
|
1430
|
+
margin: number;
|
|
1431
|
+
overflowY: string;
|
|
1432
|
+
padding: number;
|
|
1433
|
+
};
|
|
1434
|
+
'& .webchat__toaster__listItem:first-child:last-child': {
|
|
1435
|
+
overflow: string;
|
|
1436
|
+
};
|
|
1437
|
+
'& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)': {
|
|
1438
|
+
borderBottomColor: string;
|
|
1439
|
+
borderBottomStyle: string;
|
|
1440
|
+
borderBottomWidth: number;
|
|
1441
|
+
minHeight: number;
|
|
1442
|
+
};
|
|
1443
|
+
};
|
|
1444
|
+
readonly typingAnimation: {
|
|
1445
|
+
backgroundImage: string;
|
|
1446
|
+
backgroundRepeat: string;
|
|
1447
|
+
height: string | number;
|
|
1448
|
+
width: string | number;
|
|
1449
|
+
};
|
|
1450
|
+
readonly typingIndicator: {
|
|
1451
|
+
paddingBottom: number;
|
|
1452
|
+
'&:not(.webchat__typing-indicator--rtl)': {
|
|
1453
|
+
paddingLeft: number;
|
|
1454
|
+
};
|
|
1455
|
+
'&.webchat__typing-indicator--rtl': {
|
|
1456
|
+
paddingRight: number;
|
|
1457
|
+
};
|
|
1458
|
+
};
|
|
1459
|
+
readonly uploadButton: {
|
|
1460
|
+
width: string | number;
|
|
1461
|
+
'& > .icon > svg': {
|
|
1462
|
+
fill: string;
|
|
1463
|
+
};
|
|
1464
|
+
'& > input:hover + .icon > svg': {
|
|
1465
|
+
fill: string;
|
|
1466
|
+
};
|
|
1467
|
+
'& > input:focus + .icon > svg': {
|
|
1468
|
+
fill: string;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
readonly videoAttachment: {};
|
|
1472
|
+
readonly videoContent: {
|
|
1473
|
+
height: string | number;
|
|
1474
|
+
width: string;
|
|
1475
|
+
};
|
|
1476
|
+
readonly vimeoContent: {
|
|
1477
|
+
border: number;
|
|
1478
|
+
height: string | number;
|
|
1479
|
+
width: string;
|
|
1480
|
+
};
|
|
1481
|
+
readonly warningNotification: {
|
|
1482
|
+
alignItems: string;
|
|
1483
|
+
color: string;
|
|
1484
|
+
display: string;
|
|
1485
|
+
fontFamily: string;
|
|
1486
|
+
fontSize: string | number;
|
|
1487
|
+
marginBottom: number;
|
|
1488
|
+
marginLeft: number;
|
|
1489
|
+
marginRight: number;
|
|
1490
|
+
marginTop: number;
|
|
1491
|
+
'& > svg': {
|
|
1492
|
+
fill: string;
|
|
1493
|
+
'&:not(webchat__warning--rtl)': {
|
|
1494
|
+
paddingRight: number;
|
|
1495
|
+
};
|
|
1496
|
+
'&.webchat__warning--rtl': {
|
|
1497
|
+
paddingLeft: number;
|
|
1498
|
+
};
|
|
1499
|
+
};
|
|
1500
|
+
};
|
|
1501
|
+
readonly youTubeContent: {
|
|
1502
|
+
border: number;
|
|
1503
|
+
height: string | number;
|
|
1504
|
+
width: string;
|
|
1505
|
+
};
|
|
1506
|
+
readonly chatHistoryBox: {
|
|
1507
|
+
'&.webchat__chat-history-box': {
|
|
1508
|
+
display: string;
|
|
1509
|
+
flex: string;
|
|
1510
|
+
overflow: string[];
|
|
1511
|
+
position: string;
|
|
1512
|
+
};
|
|
1513
|
+
'.webchat__chat-history-box__toolbar': {
|
|
1514
|
+
bottom: string;
|
|
1515
|
+
isolation: string;
|
|
1516
|
+
position: string;
|
|
1517
|
+
right: string;
|
|
1518
|
+
zIndex: number;
|
|
1519
|
+
'&.webchat__chat-history-box__toolbar--rtl': {
|
|
1520
|
+
left: string;
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
};
|
|
1524
|
+
readonly citationModalDialog: {
|
|
1525
|
+
'&.webchat__citation-modal-dialog': {
|
|
1526
|
+
'& .webchat__citation-modal-dialog__body': {
|
|
1527
|
+
lineHeight: string;
|
|
1528
|
+
};
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
readonly linkDefinitions: {
|
|
1532
|
+
'&.webchat__link-definitions': {
|
|
1533
|
+
'.webchat__link-definitions__header': {
|
|
1534
|
+
alignItems: string;
|
|
1535
|
+
cursor: string;
|
|
1536
|
+
display: string;
|
|
1537
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1538
|
+
fontSize: "var(--webchat__font-size--small)";
|
|
1539
|
+
gap: number;
|
|
1540
|
+
justifyContent: string;
|
|
1541
|
+
listStyle: string;
|
|
1542
|
+
"@media (forced-colors: none)": {
|
|
1543
|
+
color: string;
|
|
1544
|
+
};
|
|
1545
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1546
|
+
color: string;
|
|
1547
|
+
};
|
|
1548
|
+
};
|
|
1549
|
+
'.webchat__link-definitions__header-section': {
|
|
1550
|
+
alignItems: string;
|
|
1551
|
+
display: string;
|
|
1552
|
+
gap: number;
|
|
1553
|
+
overflow: string;
|
|
1554
|
+
};
|
|
1555
|
+
'.webchat__link-definitions__header-section--left': {
|
|
1556
|
+
flexShrink: number;
|
|
1557
|
+
};
|
|
1558
|
+
'.webchat__link-definitions__header-text': {
|
|
1559
|
+
flexShrink: number;
|
|
1560
|
+
};
|
|
1561
|
+
'.webchat__link-definitions__header::-webkit-details-marker': {
|
|
1562
|
+
display: string;
|
|
1563
|
+
};
|
|
1564
|
+
'.webchat__link-definitions__header-chevron': {
|
|
1565
|
+
flexShrink: number;
|
|
1566
|
+
};
|
|
1567
|
+
'&:not([open]) .webchat__link-definitions__header-chevron': {
|
|
1568
|
+
transform: string;
|
|
1569
|
+
};
|
|
1570
|
+
'.webchat__link-definitions__header-accessory': {
|
|
1571
|
+
overflow: string;
|
|
1572
|
+
};
|
|
1573
|
+
'.webchat__link-definitions__message-sensitivity-label': {
|
|
1574
|
+
alignItems: string;
|
|
1575
|
+
display: string;
|
|
1576
|
+
gap: number;
|
|
1577
|
+
};
|
|
1578
|
+
'.webchat__link-definitions__message-sensitivity-label-icon': {
|
|
1579
|
+
color: string;
|
|
1580
|
+
flexShrink: number;
|
|
1581
|
+
};
|
|
1582
|
+
'.webchat__link-definitions__message-sensitivity-label-text': {
|
|
1583
|
+
overflow: string;
|
|
1584
|
+
textOverflow: string;
|
|
1585
|
+
whiteSpace: string;
|
|
1586
|
+
};
|
|
1587
|
+
'.webchat__link-definitions__list': {
|
|
1588
|
+
display: string;
|
|
1589
|
+
flexDirection: string;
|
|
1590
|
+
gap: number;
|
|
1591
|
+
margin: string;
|
|
1592
|
+
padding: number;
|
|
1593
|
+
};
|
|
1594
|
+
'.webchat__link-definitions__list-item': {
|
|
1595
|
+
display: string;
|
|
1596
|
+
flexDirection: string;
|
|
1597
|
+
};
|
|
1598
|
+
'.webchat__link-definitions__badge': {
|
|
1599
|
+
alignSelf: string;
|
|
1600
|
+
borderRadius: string;
|
|
1601
|
+
borderStyle: string;
|
|
1602
|
+
borderWidth: number;
|
|
1603
|
+
flexShrink: number;
|
|
1604
|
+
fontSize: string;
|
|
1605
|
+
margin: number;
|
|
1606
|
+
maxWidth: string;
|
|
1607
|
+
minWidth: string;
|
|
1608
|
+
overflow: string;
|
|
1609
|
+
padding: number;
|
|
1610
|
+
textAlign: string;
|
|
1611
|
+
textOverflow: string;
|
|
1612
|
+
whiteSpace: string;
|
|
1613
|
+
"@media (forced-colors: none)": {
|
|
1614
|
+
backgroundColor: string;
|
|
1615
|
+
borderColor: string;
|
|
1616
|
+
color: string;
|
|
1617
|
+
};
|
|
1618
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1619
|
+
backgroundColor: string;
|
|
1620
|
+
borderColor: string;
|
|
1621
|
+
color: string;
|
|
1622
|
+
};
|
|
1623
|
+
"@media (forced-colors: active)": {
|
|
1624
|
+
borderColor: string;
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
'.webchat__link-definitions__list-item-box': {
|
|
1628
|
+
alignItems: string;
|
|
1629
|
+
borderRadius: number;
|
|
1630
|
+
borderStyle: string;
|
|
1631
|
+
borderWidth: number;
|
|
1632
|
+
"@media (forced-colors: none)": {
|
|
1633
|
+
backgroundColor: string;
|
|
1634
|
+
borderColor: string;
|
|
1635
|
+
};
|
|
1636
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1637
|
+
backgroundColor: string;
|
|
1638
|
+
borderColor: string;
|
|
1639
|
+
};
|
|
1640
|
+
"@media (forced-colors: active)": {
|
|
1641
|
+
backgroundColor: string;
|
|
1642
|
+
borderColor: string;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
'.webchat__link-definitions__list-item-box--as-link': {
|
|
1646
|
+
display: string;
|
|
1647
|
+
outlineOffset: number;
|
|
1648
|
+
textDecoration: string;
|
|
1649
|
+
};
|
|
1650
|
+
'.webchat__link-definitions__list-item-box--as-button': {
|
|
1651
|
+
appearance: string;
|
|
1652
|
+
background: string;
|
|
1653
|
+
cursor: string;
|
|
1654
|
+
fontFamily: string;
|
|
1655
|
+
fontSize: string;
|
|
1656
|
+
overflow: string;
|
|
1657
|
+
padding: number;
|
|
1658
|
+
textAlign: string;
|
|
1659
|
+
};
|
|
1660
|
+
'.webchat__link-definitions__list-item-body': {
|
|
1661
|
+
alignItems: string;
|
|
1662
|
+
display: string;
|
|
1663
|
+
fontFamily: string;
|
|
1664
|
+
gap: number;
|
|
1665
|
+
padding: number;
|
|
1666
|
+
};
|
|
1667
|
+
'.webchat__link-definitions__list-item-body-main': {
|
|
1668
|
+
display: string;
|
|
1669
|
+
flexDirection: string;
|
|
1670
|
+
gap: number;
|
|
1671
|
+
overflow: string;
|
|
1672
|
+
};
|
|
1673
|
+
'.webchat__link-definitions__list-item-main-text': {
|
|
1674
|
+
alignItems: string;
|
|
1675
|
+
display: string;
|
|
1676
|
+
gap: number;
|
|
1677
|
+
};
|
|
1678
|
+
'.webchat__link-definitions__list-item-badge, .webchat__link-definitions__list-item-text': {
|
|
1679
|
+
overflow: string;
|
|
1680
|
+
textOverflow: string;
|
|
1681
|
+
whiteSpace: string;
|
|
1682
|
+
};
|
|
1683
|
+
'.webchat__link-definitions__list-item-text': {
|
|
1684
|
+
textDecoration: string;
|
|
1685
|
+
"@media (forced-colors: none)": {
|
|
1686
|
+
color: "var(--webchat__color--accent)";
|
|
1687
|
+
};
|
|
1688
|
+
};
|
|
1689
|
+
'.webchat__link-definitions__list-item-badge': {
|
|
1690
|
+
fontSize: "var(--webchat__font-size--small)";
|
|
1691
|
+
"@media (forced-colors: none)": {
|
|
1692
|
+
color: "var(--webchat__color--subtle)";
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
'.webchat__link-definitions__open-in-new-window-icon': {
|
|
1696
|
+
flexShrink: number;
|
|
1697
|
+
paddingRight: number;
|
|
1698
|
+
"@media (forced-colors: none)": {
|
|
1699
|
+
color: "var(--webchat__color--accent)";
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
};
|
|
1703
|
+
};
|
|
1704
|
+
readonly modalDialog: {
|
|
1705
|
+
'&.webchat__modal-dialog': {
|
|
1706
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1707
|
+
maxHeight: string;
|
|
1708
|
+
maxWidth: string;
|
|
1709
|
+
width: string;
|
|
1710
|
+
"@media (forced-colors: none)": {
|
|
1711
|
+
backgroundColor: string;
|
|
1712
|
+
border: number;
|
|
1713
|
+
};
|
|
1714
|
+
'&:has(.webchat__modal-dialog__body:empty)': {
|
|
1715
|
+
opacity: number;
|
|
1716
|
+
};
|
|
1717
|
+
'& .webchat__modal-dialog__box': {
|
|
1718
|
+
borderRadius: number;
|
|
1719
|
+
overflow: string;
|
|
1720
|
+
margin: string;
|
|
1721
|
+
'@media screen and (max-width: 639px)': {
|
|
1722
|
+
maxWidth: string;
|
|
1723
|
+
};
|
|
1724
|
+
'@media screen and (min-width: 640px)': {
|
|
1725
|
+
maxWidth: string;
|
|
1726
|
+
minWidth: string;
|
|
1727
|
+
width: string;
|
|
1728
|
+
};
|
|
1729
|
+
"@media (forced-colors: none)": {
|
|
1730
|
+
backgroundColor: string;
|
|
1731
|
+
boxShadow: string;
|
|
1732
|
+
};
|
|
1733
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1734
|
+
backgroundColor: string;
|
|
1735
|
+
boxShadow: string;
|
|
1736
|
+
color: string;
|
|
1737
|
+
};
|
|
1738
|
+
"@media (forced-colors: active)": {
|
|
1739
|
+
outlineColor: string;
|
|
1740
|
+
outlineStyle: string;
|
|
1741
|
+
outlineWidth: number;
|
|
1742
|
+
};
|
|
1743
|
+
};
|
|
1744
|
+
'& .webchat__modal-dialog__close-button-layout': {
|
|
1745
|
+
float: string;
|
|
1746
|
+
padding: "var(--webchat__padding--regular)";
|
|
1747
|
+
};
|
|
1748
|
+
'& .webchat__modal-dialog__close-button': {
|
|
1749
|
+
height: number;
|
|
1750
|
+
width: number;
|
|
1751
|
+
padding: number;
|
|
1752
|
+
'--webchat__component-icon--size': string;
|
|
1753
|
+
"@media (forced-colors: none)": {
|
|
1754
|
+
appearance: string;
|
|
1755
|
+
backgroundColor: string;
|
|
1756
|
+
borderColor: string;
|
|
1757
|
+
borderRadius: number;
|
|
1758
|
+
borderStyle: string;
|
|
1759
|
+
borderWidth: number;
|
|
1760
|
+
color: string;
|
|
1761
|
+
outline: number;
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1764
|
+
'& .webchat__modal-dialog__close-button:focus': {
|
|
1765
|
+
"@media (forced-colors: none)": {
|
|
1766
|
+
borderColor: string;
|
|
1767
|
+
'&:active': {
|
|
1768
|
+
backgroundColor: string;
|
|
1769
|
+
};
|
|
1770
|
+
'&:not(:active):hover': {
|
|
1771
|
+
backgroundColor: string;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1775
|
+
borderColor: string;
|
|
1776
|
+
'&:active': {
|
|
1777
|
+
backgroundColor: string;
|
|
1778
|
+
};
|
|
1779
|
+
'&:not(:active):hover': {
|
|
1780
|
+
backgroundColor: string;
|
|
1781
|
+
};
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
'& .webchat__modal-dialog__close-button-icon': {
|
|
1785
|
+
"@media (forced-colors: none)": {
|
|
1786
|
+
color: string;
|
|
1787
|
+
};
|
|
1788
|
+
"@media (forced-colors: none) and not (forced-colors: none)": {
|
|
1789
|
+
color: string;
|
|
1790
|
+
};
|
|
1791
|
+
"@media (forced-colors: active)": {
|
|
1792
|
+
color: string;
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
'& .webchat__modal-dialog__body': {
|
|
1796
|
+
margin: string;
|
|
1797
|
+
};
|
|
1798
|
+
};
|
|
1799
|
+
};
|
|
1800
|
+
readonly renderMarkdown: {
|
|
1801
|
+
'&.webchat__render-markdown': {
|
|
1802
|
+
display: string;
|
|
1803
|
+
'&.webchat__render-markdown--adaptive-cards > *:first-child': {
|
|
1804
|
+
marginTop: number;
|
|
1805
|
+
width: string;
|
|
1806
|
+
overflow: string;
|
|
1807
|
+
textOverflow: string;
|
|
1808
|
+
};
|
|
1809
|
+
'&.webchat__render-markdown--adaptive-cards > *:last-child': {
|
|
1810
|
+
marginBottom: number;
|
|
1811
|
+
};
|
|
1812
|
+
'&.webchat__render-markdown--message-activity > *:first-child': {
|
|
1813
|
+
marginTop: number;
|
|
1814
|
+
};
|
|
1815
|
+
'&.webchat__render-markdown--message-activity > *:last-child': {
|
|
1816
|
+
marginBottom: number;
|
|
1817
|
+
};
|
|
1818
|
+
'& .webchat__render-markdown__external-link-icon': {
|
|
1819
|
+
backgroundImage: "var(--webchat__icon-url--external-link)";
|
|
1820
|
+
height: string;
|
|
1821
|
+
marginLeft: string;
|
|
1822
|
+
};
|
|
1823
|
+
'& .webchat__render-markdown__citation': {
|
|
1824
|
+
background: string;
|
|
1825
|
+
border: number;
|
|
1826
|
+
cursor: string;
|
|
1827
|
+
display: string;
|
|
1828
|
+
fontFamily: string;
|
|
1829
|
+
fontSize: string;
|
|
1830
|
+
overflow: string;
|
|
1831
|
+
padding: number;
|
|
1832
|
+
textDecoration: string;
|
|
1833
|
+
textOverflow: string;
|
|
1834
|
+
verticalAlign: string;
|
|
1835
|
+
whiteSpace: string;
|
|
1836
|
+
"@media (forced-colors: active)": {
|
|
1837
|
+
color: string;
|
|
1838
|
+
};
|
|
1839
|
+
"@media (forced-colors: none)": {
|
|
1840
|
+
color: "var(--webchat__color--accent)";
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
'& .webchat__render-markdown__pure-identifier': {
|
|
1844
|
+
display: string;
|
|
1845
|
+
maxWidth: string;
|
|
1846
|
+
overflow: string;
|
|
1847
|
+
textOverflow: string;
|
|
1848
|
+
verticalAlign: string;
|
|
1849
|
+
whiteSpace: string;
|
|
1850
|
+
};
|
|
1851
|
+
'& .webchat__render-markdown__pure-identifier::after': {
|
|
1852
|
+
content: string;
|
|
1853
|
+
};
|
|
1854
|
+
'& .webchat__render-markdown__pure-identifier::before': {
|
|
1855
|
+
content: string;
|
|
1856
|
+
};
|
|
1857
|
+
'& [data-math-type=block]': {
|
|
1858
|
+
alignItems: string;
|
|
1859
|
+
display: string;
|
|
1860
|
+
flexDirection: string;
|
|
1861
|
+
marginBottom: string;
|
|
1862
|
+
paddingBottom: string;
|
|
1863
|
+
outlineOffset: string;
|
|
1864
|
+
overflowX: string;
|
|
1865
|
+
overflowY: string;
|
|
1866
|
+
scrollbarWidth: string;
|
|
1867
|
+
};
|
|
1868
|
+
'& span[data-math-type=block]': {
|
|
1869
|
+
display: string;
|
|
1870
|
+
};
|
|
1871
|
+
'& [data-math-type=inline]': {
|
|
1872
|
+
alignItems: string;
|
|
1873
|
+
display: string;
|
|
1874
|
+
flexDirection: string;
|
|
1875
|
+
};
|
|
1876
|
+
'& :is([data-math-type=block], [data-math-type=inline]) > span': {
|
|
1877
|
+
display: string;
|
|
1878
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
};
|
|
1881
|
+
readonly sendStatus: {
|
|
1882
|
+
'&.webchat__activity-status': {
|
|
1883
|
+
color: "var(--webchat__color--timestamp)";
|
|
1884
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1885
|
+
fontSize: "var(--webchat__font-size--small)";
|
|
1886
|
+
marginTop: string;
|
|
1887
|
+
};
|
|
1888
|
+
'&.webchat__activity-status--slotted': {
|
|
1889
|
+
display: string;
|
|
1890
|
+
gap: number;
|
|
1891
|
+
};
|
|
1892
|
+
'& .webchat__activity-status-slot': {
|
|
1893
|
+
display: string;
|
|
1894
|
+
'&:not(:first-child)::before': {
|
|
1895
|
+
content: string;
|
|
1896
|
+
};
|
|
1897
|
+
'&:empty': {
|
|
1898
|
+
display: string;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
'& .webchat__activity-status__originator': {
|
|
1902
|
+
alignItems: string;
|
|
1903
|
+
'&.webchat__activity-status__originator--has-link': {
|
|
1904
|
+
color: "var(--webchat__color--accent)";
|
|
1905
|
+
};
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
readonly textContent: {
|
|
1909
|
+
'&.webchat__text-content': {
|
|
1910
|
+
fontFamily: "var(--webchat__font--primary)";
|
|
1911
|
+
margin: number;
|
|
1912
|
+
minHeight: string;
|
|
1913
|
+
padding: "var(--webchat__padding--regular)";
|
|
1914
|
+
'&.webchat__text-content--is-markdown': {
|
|
1915
|
+
display: string;
|
|
1916
|
+
flexDirection: string;
|
|
1917
|
+
justifyContent: string;
|
|
1918
|
+
gap: "var(--webchat__padding--regular)";
|
|
1919
|
+
minWidth: number;
|
|
1920
|
+
};
|
|
1921
|
+
'& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)': {
|
|
1922
|
+
maxWidth: "var(--webchat__max-width--message-bubble)";
|
|
1923
|
+
minWidth: "var(--webchat__min-width--message-bubble)";
|
|
1924
|
+
width: string;
|
|
1925
|
+
};
|
|
1926
|
+
'& .webchat__text-content__markdown pre': {
|
|
1927
|
+
overflow: string;
|
|
1928
|
+
};
|
|
1929
|
+
'& .webchat__text-content__open-in-new-window-icon': {
|
|
1930
|
+
height: string;
|
|
1931
|
+
};
|
|
1932
|
+
'& .webchat__text-content__activity-actions': {
|
|
1933
|
+
alignSelf: string;
|
|
1934
|
+
display: string;
|
|
1935
|
+
flexWrap: string;
|
|
1936
|
+
gap: string;
|
|
1937
|
+
width: string;
|
|
1938
|
+
};
|
|
1939
|
+
'& .webchat__text-content__activity-actions:empty': {
|
|
1940
|
+
display: string;
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
readonly thumbButton: {
|
|
1945
|
+
'&.webchat__thumb-button': {
|
|
1946
|
+
alignItems: string;
|
|
1947
|
+
borderRadius: string;
|
|
1948
|
+
boxSizing: string;
|
|
1949
|
+
display: string;
|
|
1950
|
+
gridTemplateAreas: string;
|
|
1951
|
+
height: string;
|
|
1952
|
+
width: string;
|
|
1953
|
+
'& .webchat__thumb-button__input': {
|
|
1954
|
+
appearance: string;
|
|
1955
|
+
background: string;
|
|
1956
|
+
border: number;
|
|
1957
|
+
gridArea: string;
|
|
1958
|
+
height: string;
|
|
1959
|
+
margin: number;
|
|
1960
|
+
opacity: number;
|
|
1961
|
+
padding: number;
|
|
1962
|
+
width: string;
|
|
1963
|
+
'&:active': {
|
|
1964
|
+
background: string;
|
|
1965
|
+
};
|
|
1966
|
+
};
|
|
1967
|
+
'&:has(.webchat__thumb-button__input:focus-visible)': {
|
|
1968
|
+
outline: string;
|
|
1969
|
+
};
|
|
1970
|
+
'& .webchat__thumb-button__image': {
|
|
1971
|
+
color: "var(--webchat__color--accent)";
|
|
1972
|
+
gridArea: string;
|
|
1973
|
+
justifySelf: string;
|
|
1974
|
+
pointerEvents: string;
|
|
1975
|
+
visibility: string;
|
|
1976
|
+
width: number;
|
|
1977
|
+
'&.webchat__thumb-button__image--is-stroked': {
|
|
1978
|
+
visibility: string;
|
|
1979
|
+
};
|
|
1980
|
+
};
|
|
1981
|
+
'&:has(.webchat__thumb-button__input:is(:not([aria-disabled="true"]):hover, :checked, [aria-pressed="true"]))': {
|
|
1982
|
+
'& .webchat__thumb-button__image': {
|
|
1983
|
+
'&.webchat__thumb-button__image--is-stroked': {
|
|
1984
|
+
visibility: string;
|
|
1985
|
+
};
|
|
1986
|
+
'&.webchat__thumb-button__image--is-filled': {
|
|
1987
|
+
visibility: string;
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1990
|
+
};
|
|
1991
|
+
'&.webchat__thumb-button--large': {
|
|
1992
|
+
border: string;
|
|
1993
|
+
borderRadius: string;
|
|
1994
|
+
height: string;
|
|
1995
|
+
width: string;
|
|
1996
|
+
'& .webchat__thumb-button__input': {
|
|
1997
|
+
background: string;
|
|
1998
|
+
height: string;
|
|
1999
|
+
width: string;
|
|
2000
|
+
};
|
|
2001
|
+
'& .webchat__thumb-button__image': {
|
|
2002
|
+
color: string;
|
|
2003
|
+
fontSize: string;
|
|
2004
|
+
height: string;
|
|
2005
|
+
width: string;
|
|
2006
|
+
};
|
|
2007
|
+
'&:has(.webchat__thumb-button__input:is(:hover, :active, :checked, [aria-pressed="true"])) .webchat__thumb-button__image': {
|
|
2008
|
+
color: "var(--webchat__color--accent)";
|
|
2009
|
+
};
|
|
2010
|
+
'&:has(.webchat__thumb-button__input[aria-disabled="true"]) .webchat__thumb-button__image': {
|
|
2011
|
+
color: "var(--webchat__color--subtle)";
|
|
2012
|
+
};
|
|
2013
|
+
'&.webchat__thumb-button--has-submitted:has(.webchat__thumb-button__input:not(:checked):not([aria-pressed="true"])) .webchat__thumb-button__tooltip': {
|
|
2014
|
+
display: string;
|
|
2015
|
+
};
|
|
2016
|
+
'&.webchat__thumb-button--has-submitted .webchat__thumb-button__tooltip': {
|
|
2017
|
+
'--webchat__tooltip-anchor-inline-start': string;
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
2022
|
+
readonly tooltip: {
|
|
2023
|
+
'*:has(> &.webchat__tooltip)': {
|
|
2024
|
+
position: string;
|
|
2025
|
+
'&:is(:hover, :focus-visible, :active) > .webchat__tooltip, &:has(:is(:hover, :focus-visible, :active)) > .webchat__tooltip': {
|
|
2026
|
+
opacity: number;
|
|
2027
|
+
transitionDelay: string;
|
|
2028
|
+
};
|
|
2029
|
+
};
|
|
2030
|
+
'&.webchat__tooltip': {
|
|
2031
|
+
'--webchat__tooltip-tip-size': string;
|
|
2032
|
+
'--webchat__tooltip-background': string;
|
|
2033
|
+
'--webchat__tooltip-anchor-inline-start': string;
|
|
2034
|
+
background: string;
|
|
2035
|
+
borderRadius: string;
|
|
2036
|
+
color: string;
|
|
2037
|
+
filter: string;
|
|
2038
|
+
fontSize: string;
|
|
2039
|
+
inlineSize: string;
|
|
2040
|
+
isolation: string;
|
|
2041
|
+
lineHeight: string;
|
|
2042
|
+
margin: number;
|
|
2043
|
+
maxInlineSize: string;
|
|
2044
|
+
opacity: number;
|
|
2045
|
+
padding: string;
|
|
2046
|
+
pointerEvents: string;
|
|
2047
|
+
position: string;
|
|
2048
|
+
textAlign: string;
|
|
2049
|
+
transition: string;
|
|
2050
|
+
userSelect: string;
|
|
2051
|
+
willChange: string;
|
|
2052
|
+
'&::after': {
|
|
2053
|
+
background: string;
|
|
2054
|
+
color: string;
|
|
2055
|
+
content: string;
|
|
2056
|
+
inset: number;
|
|
2057
|
+
position: string;
|
|
2058
|
+
};
|
|
2059
|
+
'&.webchat__tooltip--block-start, &.webchat__tooltip--block-end': {
|
|
2060
|
+
textAlign: string;
|
|
2061
|
+
};
|
|
2062
|
+
'&.webchat__tooltip--block-start': {
|
|
2063
|
+
insetBlockEnd: string;
|
|
2064
|
+
insetInlineStart: string;
|
|
2065
|
+
transform: string;
|
|
2066
|
+
'&::after': {
|
|
2067
|
+
border: string;
|
|
2068
|
+
borderBottomLeftRadius: string;
|
|
2069
|
+
clipPath: string;
|
|
2070
|
+
height: string;
|
|
2071
|
+
insetBlockStart: string;
|
|
2072
|
+
insetInlineStart: string;
|
|
2073
|
+
transform: string;
|
|
2074
|
+
width: string;
|
|
2075
|
+
};
|
|
2076
|
+
};
|
|
2077
|
+
};
|
|
2078
|
+
};
|
|
2079
|
+
}>;
|
|
2080
|
+
|
|
2081
|
+
type ContextOf<T extends Context$1<unknown>> = T extends Context$1<infer C> ? C : never;
|
|
2082
|
+
|
|
2083
|
+
declare const Context: React__default.Context<Readonly<{
|
|
2084
|
+
shouldReduceMotionState: readonly [boolean];
|
|
2085
|
+
}>>;
|
|
2086
|
+
|
|
2087
|
+
declare function useContext(): ContextOf<typeof Context>;
|
|
2088
|
+
|
|
2089
|
+
declare function useShouldReduceMotion(): ReturnType<typeof useContext>['shouldReduceMotionState'];
|
|
2090
|
+
|
|
2091
|
+
declare function useDictateAbortable(): [boolean];
|
|
2092
|
+
|
|
2093
|
+
declare function useFocus(): (where?: 'main' | 'sendBox' | 'sendBoxWithoutKeyboard') => Promise<void>;
|
|
2094
|
+
|
|
2095
|
+
declare function useMakeThumbnail(): (file: File, contentType?: string | undefined) => Promise<undefined | URL>;
|
|
2096
|
+
|
|
2097
|
+
type ScrollPosition = {
|
|
2098
|
+
activityID?: string;
|
|
2099
|
+
scrollTop: number;
|
|
2100
|
+
};
|
|
2101
|
+
|
|
2102
|
+
declare function useObserveScrollPosition(observer: (scrollPosition: ScrollPosition) => void, deps: any[]): void;
|
|
2103
|
+
|
|
2104
|
+
declare function useObserveTranscriptFocus(observer: ((event: {
|
|
2105
|
+
activity: WebChatActivity;
|
|
2106
|
+
}) => void) | undefined, deps: any[]): void;
|
|
2107
|
+
|
|
2108
|
+
type RenderMarkdownAsHTMLFn = (markdown: string, styleOptions?: Readonly<StrictStyleOptions>, options?: Readonly<{
|
|
2109
|
+
externalLinkAlt: string;
|
|
2110
|
+
}>) => string;
|
|
2111
|
+
declare function useRenderMarkdownAsHTML(mode?: 'accessible name' | 'adaptive cards' | 'citation modal' | 'message activity'): RenderMarkdownAsHTMLFn | undefined;
|
|
2112
|
+
|
|
2113
|
+
declare function useScrollDown(): (options?: {
|
|
2114
|
+
displacement: number;
|
|
2115
|
+
}) => void;
|
|
2116
|
+
|
|
2117
|
+
declare function useScrollTo(): (position: ScrollPosition, scrollToOptions: {
|
|
2118
|
+
behavior?: 'auto' | 'smooth';
|
|
2119
|
+
}) => void;
|
|
2120
|
+
|
|
2121
|
+
declare function useScrollToEnd(): () => void;
|
|
2122
|
+
|
|
2123
|
+
declare function useScrollUp(): (options?: {
|
|
2124
|
+
displacement: number;
|
|
2125
|
+
}) => void;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* @deprecated This hook will be removed on or after 2026-04-03. Please use `useSendMessage` instead.
|
|
2129
|
+
*/
|
|
2130
|
+
declare function useSendFiles(): (files: readonly File[]) => void;
|
|
2131
|
+
|
|
2132
|
+
type SendMessage = (text?: string, method?: string, init?: {
|
|
2133
|
+
attachments?: Iterable<SendBoxAttachment> | undefined;
|
|
2134
|
+
channelData?: any;
|
|
2135
|
+
}) => void;
|
|
2136
|
+
declare function useSendMessage(): SendMessage;
|
|
2137
|
+
|
|
2138
|
+
declare function useStyleSet(): readonly [Record<keyof ReturnType<typeof createStyleSet>, any>];
|
|
2139
|
+
|
|
2140
|
+
declare function useWebSpeechPonyfill(): [WebSpeechPonyfill];
|
|
2141
|
+
|
|
2142
|
+
declare function useTypingIndicatorVisible(): readonly [boolean];
|
|
2143
|
+
|
|
2144
|
+
type SendBoxFocusOptions = WaitUntilable<{
|
|
2145
|
+
noKeyboard: boolean;
|
|
2146
|
+
}>;
|
|
2147
|
+
declare const useRegisterFocusSendBox: (listener: (value: SendBoxFocusOptions) => void) => void;
|
|
2148
|
+
|
|
2149
|
+
declare const hook_DropZoneState: DropZoneState;
|
|
2150
|
+
type hook_SendBoxFocusOptions = SendBoxFocusOptions;
|
|
2151
|
+
declare const hook_useActiveTyping: typeof useActiveTyping;
|
|
2152
|
+
declare const hook_useActivities: typeof useActivities;
|
|
2153
|
+
declare const hook_useActivityKeys: typeof useActivityKeys;
|
|
2154
|
+
declare const hook_useActivityKeysByRead: typeof useActivityKeysByRead;
|
|
2155
|
+
declare const hook_useAvatarForBot: typeof useAvatarForBot;
|
|
2156
|
+
declare const hook_useAvatarForUser: typeof useAvatarForUser;
|
|
2157
|
+
declare const hook_useBuildRenderActivityCallback: typeof useBuildRenderActivityCallback;
|
|
2158
|
+
declare const hook_useByteFormatter: typeof useByteFormatter;
|
|
2159
|
+
declare const hook_useCapabilities: typeof useCapabilities;
|
|
2160
|
+
declare const hook_useConnectivityStatus: typeof useConnectivityStatus;
|
|
2161
|
+
declare const hook_useCreateActivityRenderer: typeof useCreateActivityRenderer;
|
|
2162
|
+
declare const hook_useCreateActivityStatusRenderer: typeof useCreateActivityStatusRenderer;
|
|
2163
|
+
declare const hook_useCreateAttachmentForScreenReaderRenderer: typeof useCreateAttachmentForScreenReaderRenderer;
|
|
2164
|
+
declare const hook_useCreateAvatarRenderer: typeof useCreateAvatarRenderer;
|
|
2165
|
+
declare const hook_useCreateScrollToEndButtonRenderer: typeof useCreateScrollToEndButtonRenderer;
|
|
2166
|
+
declare const hook_useDateFormatter: typeof useDateFormatter;
|
|
2167
|
+
declare const hook_useDebouncedNotifications: typeof useDebouncedNotifications;
|
|
2168
|
+
declare const hook_useDictateAbortable: typeof useDictateAbortable;
|
|
2169
|
+
declare const hook_useDictateInterims: typeof useDictateInterims;
|
|
2170
|
+
declare const hook_useDictateState: typeof useDictateState;
|
|
2171
|
+
declare const hook_useDirection: typeof useDirection;
|
|
2172
|
+
declare const hook_useDisabled: typeof useDisabled;
|
|
2173
|
+
declare const hook_useDismissNotification: typeof useDismissNotification;
|
|
2174
|
+
declare const hook_useEmitTypingIndicator: typeof useEmitTypingIndicator;
|
|
2175
|
+
declare const hook_useFileDropZone: typeof useFileDropZone;
|
|
2176
|
+
declare const hook_useFocus: typeof useFocus;
|
|
2177
|
+
declare const hook_useGetActivitiesByKey: typeof useGetActivitiesByKey;
|
|
2178
|
+
declare const hook_useGetActivityByKey: typeof useGetActivityByKey;
|
|
2179
|
+
declare const hook_useGetHasAcknowledgedByActivityKey: typeof useGetHasAcknowledgedByActivityKey;
|
|
2180
|
+
declare const hook_useGetKeyByActivity: typeof useGetKeyByActivity;
|
|
2181
|
+
declare const hook_useGetKeyByActivityId: typeof useGetKeyByActivityId;
|
|
2182
|
+
declare const hook_useGetSendTimeoutForActivity: typeof useGetSendTimeoutForActivity;
|
|
2183
|
+
declare const hook_useGrammars: typeof useGrammars;
|
|
2184
|
+
declare const hook_useGroupActivities: typeof useGroupActivities;
|
|
2185
|
+
declare const hook_useGroupActivitiesByName: typeof useGroupActivitiesByName;
|
|
2186
|
+
declare const hook_useGroupTimestamp: typeof useGroupTimestamp;
|
|
2187
|
+
declare const hook_useLanguage: typeof useLanguage;
|
|
2188
|
+
declare const hook_useLastAcknowledgedActivityKey: typeof useLastAcknowledgedActivityKey;
|
|
2189
|
+
declare const hook_useLastReadActivityKey: typeof useLastReadActivityKey;
|
|
2190
|
+
declare const hook_useLocalizer: typeof useLocalizer;
|
|
2191
|
+
declare const hook_useMakeThumbnail: typeof useMakeThumbnail;
|
|
2192
|
+
declare const hook_useMarkActivityAsSpoken: typeof useMarkActivityAsSpoken;
|
|
2193
|
+
declare const hook_useMarkActivityKeyAsRead: typeof useMarkActivityKeyAsRead;
|
|
2194
|
+
declare const hook_useMarkAllAsAcknowledged: typeof useMarkAllAsAcknowledged;
|
|
2195
|
+
declare const hook_useMicrophoneButtonClick: typeof useMicrophoneButtonClick;
|
|
2196
|
+
declare const hook_useMicrophoneButtonDisabled: typeof useMicrophoneButtonDisabled;
|
|
2197
|
+
declare const hook_useNotifications: typeof useNotifications;
|
|
2198
|
+
declare const hook_useObserveScrollPosition: typeof useObserveScrollPosition;
|
|
2199
|
+
declare const hook_useObserveTranscriptFocus: typeof useObserveTranscriptFocus;
|
|
2200
|
+
declare const hook_usePerformCardAction: typeof usePerformCardAction;
|
|
2201
|
+
declare const hook_usePonyfill: typeof usePonyfill;
|
|
2202
|
+
declare const hook_usePostActivity: typeof usePostActivity;
|
|
2203
|
+
declare const hook_useReferenceGrammarID: typeof useReferenceGrammarID;
|
|
2204
|
+
declare const hook_useRegisterFocusSendBox: typeof useRegisterFocusSendBox;
|
|
2205
|
+
declare const hook_useRelativeTimeFormatter: typeof useRelativeTimeFormatter;
|
|
2206
|
+
declare const hook_useRenderAttachment: typeof useRenderAttachment;
|
|
2207
|
+
declare const hook_useRenderMarkdownAsHTML: typeof useRenderMarkdownAsHTML;
|
|
2208
|
+
declare const hook_useRenderToast: typeof useRenderToast;
|
|
2209
|
+
declare const hook_useRenderTypingIndicator: typeof useRenderTypingIndicator;
|
|
2210
|
+
declare const hook_useScrollDown: typeof useScrollDown;
|
|
2211
|
+
declare const hook_useScrollTo: typeof useScrollTo;
|
|
2212
|
+
declare const hook_useScrollToEnd: typeof useScrollToEnd;
|
|
2213
|
+
declare const hook_useScrollUp: typeof useScrollUp;
|
|
2214
|
+
declare const hook_useSendBoxAttachments: typeof useSendBoxAttachments;
|
|
2215
|
+
declare const hook_useSendBoxSpeechInterimsVisible: typeof useSendBoxSpeechInterimsVisible;
|
|
2216
|
+
declare const hook_useSendBoxValue: typeof useSendBoxValue;
|
|
2217
|
+
declare const hook_useSendEvent: typeof useSendEvent;
|
|
2218
|
+
declare const hook_useSendFiles: typeof useSendFiles;
|
|
2219
|
+
declare const hook_useSendMessage: typeof useSendMessage;
|
|
2220
|
+
declare const hook_useSendMessageBack: typeof useSendMessageBack;
|
|
2221
|
+
declare const hook_useSendPostBack: typeof useSendPostBack;
|
|
2222
|
+
declare const hook_useSendStatusByActivityKey: typeof useSendStatusByActivityKey;
|
|
2223
|
+
declare const hook_useSendTimeoutForActivity: typeof useSendTimeoutForActivity;
|
|
2224
|
+
declare const hook_useSendTypingIndicator: typeof useSendTypingIndicator;
|
|
2225
|
+
declare const hook_useSetNotification: typeof useSetNotification;
|
|
2226
|
+
declare const hook_useShouldReduceMotion: typeof useShouldReduceMotion;
|
|
2227
|
+
declare const hook_useShouldSpeakIncomingActivity: typeof useShouldSpeakIncomingActivity;
|
|
2228
|
+
declare const hook_useStartDictate: typeof useStartDictate;
|
|
2229
|
+
declare const hook_useStartVoice: typeof useStartVoice;
|
|
2230
|
+
declare const hook_useStopDictate: typeof useStopDictate;
|
|
2231
|
+
declare const hook_useStopVoice: typeof useStopVoice;
|
|
2232
|
+
declare const hook_useStyleOptions: typeof useStyleOptions;
|
|
2233
|
+
declare const hook_useStyleSet: typeof useStyleSet;
|
|
2234
|
+
declare const hook_useSubmitSendBox: typeof useSubmitSendBox;
|
|
2235
|
+
declare const hook_useSuggestedActions: typeof useSuggestedActions;
|
|
2236
|
+
declare const hook_useSuggestedActionsHooks: typeof useSuggestedActionsHooks;
|
|
2237
|
+
declare const hook_useTextBoxSubmit: typeof useTextBoxSubmit;
|
|
2238
|
+
declare const hook_useTextBoxValue: typeof useTextBoxValue;
|
|
2239
|
+
declare const hook_useTimeoutForSend: typeof useTimeoutForSend;
|
|
2240
|
+
declare const hook_useTrackDimension: typeof useTrackDimension;
|
|
2241
|
+
declare const hook_useTrackEvent: typeof useTrackEvent;
|
|
2242
|
+
declare const hook_useTrackException: typeof useTrackException;
|
|
2243
|
+
declare const hook_useTrackTiming: typeof useTrackTiming;
|
|
2244
|
+
declare const hook_useTransformHTMLContent: typeof useTransformHTMLContent;
|
|
2245
|
+
declare const hook_useTypingIndicatorVisible: typeof useTypingIndicatorVisible;
|
|
2246
|
+
declare const hook_useUIState: typeof useUIState;
|
|
2247
|
+
declare const hook_useUserID: typeof useUserID;
|
|
2248
|
+
declare const hook_useUsername: typeof useUsername;
|
|
2249
|
+
declare const hook_useVoiceRecordingMuted: typeof useVoiceRecordingMuted;
|
|
2250
|
+
declare const hook_useVoiceSelector: typeof useVoiceSelector;
|
|
2251
|
+
declare const hook_useVoiceState: typeof useVoiceState;
|
|
2252
|
+
declare const hook_useWebSpeechPonyfill: typeof useWebSpeechPonyfill;
|
|
2253
|
+
declare namespace hook {
|
|
2254
|
+
export { hook_DropZoneState as DropZoneState, hook_useActiveTyping as useActiveTyping, hook_useActivities as useActivities, hook_useActivityKeys as useActivityKeys, hook_useActivityKeysByRead as useActivityKeysByRead, hook_useAvatarForBot as useAvatarForBot, hook_useAvatarForUser as useAvatarForUser, hook_useBuildRenderActivityCallback as useBuildRenderActivityCallback, hook_useByteFormatter as useByteFormatter, hook_useCapabilities as useCapabilities, hook_useConnectivityStatus as useConnectivityStatus, hook_useCreateActivityRenderer as useCreateActivityRenderer, hook_useCreateActivityStatusRenderer as useCreateActivityStatusRenderer, hook_useCreateAttachmentForScreenReaderRenderer as useCreateAttachmentForScreenReaderRenderer, hook_useCreateAvatarRenderer as useCreateAvatarRenderer, hook_useCreateScrollToEndButtonRenderer as useCreateScrollToEndButtonRenderer, hook_useDateFormatter as useDateFormatter, hook_useDebouncedNotifications as useDebouncedNotifications, hook_useDictateAbortable as useDictateAbortable, hook_useDictateInterims as useDictateInterims, hook_useDictateState as useDictateState, hook_useDirection as useDirection, hook_useDisabled as useDisabled, hook_useDismissNotification as useDismissNotification, hook_useEmitTypingIndicator as useEmitTypingIndicator, hook_useFileDropZone as useFileDropZone, hook_useFocus as useFocus, hook_useGetActivitiesByKey as useGetActivitiesByKey, hook_useGetActivityByKey as useGetActivityByKey, hook_useGetHasAcknowledgedByActivityKey as useGetHasAcknowledgedByActivityKey, hook_useGetKeyByActivity as useGetKeyByActivity, hook_useGetKeyByActivityId as useGetKeyByActivityId, hook_useGetSendTimeoutForActivity as useGetSendTimeoutForActivity, hook_useGrammars as useGrammars, hook_useGroupActivities as useGroupActivities, hook_useGroupActivitiesByName as useGroupActivitiesByName, hook_useGroupTimestamp as useGroupTimestamp, hook_useLanguage as useLanguage, hook_useLastAcknowledgedActivityKey as useLastAcknowledgedActivityKey, hook_useLastReadActivityKey as useLastReadActivityKey, hook_useLocalizer as useLocalizer, hook_useMakeThumbnail as useMakeThumbnail, hook_useMarkActivityAsSpoken as useMarkActivityAsSpoken, hook_useMarkActivityKeyAsRead as useMarkActivityKeyAsRead, hook_useMarkAllAsAcknowledged as useMarkAllAsAcknowledged, hook_useMicrophoneButtonClick as useMicrophoneButtonClick, hook_useMicrophoneButtonDisabled as useMicrophoneButtonDisabled, hook_useNotifications as useNotifications, hook_useObserveScrollPosition as useObserveScrollPosition, hook_useObserveTranscriptFocus as useObserveTranscriptFocus, hook_usePerformCardAction as usePerformCardAction, hook_usePonyfill as usePonyfill, hook_usePostActivity as usePostActivity, hook_useReferenceGrammarID as useReferenceGrammarID, hook_useRegisterFocusSendBox as useRegisterFocusSendBox, hook_useRelativeTimeFormatter as useRelativeTimeFormatter, hook_useRenderAttachment as useRenderAttachment, hook_useRenderMarkdownAsHTML as useRenderMarkdownAsHTML, hook_useRenderToast as useRenderToast, hook_useRenderTypingIndicator as useRenderTypingIndicator, hook_useScrollDown as useScrollDown, hook_useScrollTo as useScrollTo, hook_useScrollToEnd as useScrollToEnd, hook_useScrollUp as useScrollUp, hook_useSendBoxAttachments as useSendBoxAttachments, hook_useSendBoxSpeechInterimsVisible as useSendBoxSpeechInterimsVisible, hook_useSendBoxValue as useSendBoxValue, hook_useSendEvent as useSendEvent, hook_useSendFiles as useSendFiles, hook_useSendMessage as useSendMessage, hook_useSendMessageBack as useSendMessageBack, hook_useSendPostBack as useSendPostBack, hook_useSendStatusByActivityKey as useSendStatusByActivityKey, hook_useSendTimeoutForActivity as useSendTimeoutForActivity, hook_useSendTypingIndicator as useSendTypingIndicator, hook_useSetNotification as useSetNotification, hook_useShouldReduceMotion as useShouldReduceMotion, hook_useShouldSpeakIncomingActivity as useShouldSpeakIncomingActivity, hook_useStartDictate as useStartDictate, hook_useStartVoice as useStartVoice, hook_useStopDictate as useStopDictate, hook_useStopVoice as useStopVoice, hook_useStyleOptions as useStyleOptions, hook_useStyleSet as useStyleSet, hook_useSubmitSendBox as useSubmitSendBox, hook_useSuggestedActions as useSuggestedActions, hook_useSuggestedActionsHooks as useSuggestedActionsHooks, hook_useTextBoxSubmit as useTextBoxSubmit, hook_useTextBoxValue as useTextBoxValue, hook_useTimeoutForSend as useTimeoutForSend, hook_useTrackDimension as useTrackDimension, hook_useTrackEvent as useTrackEvent, hook_useTrackException as useTrackException, hook_useTrackTiming as useTrackTiming, hook_useTransformHTMLContent as useTransformHTMLContent, hook_useTypingIndicatorVisible as useTypingIndicatorVisible, hook_useUIState as useUIState, hook_useUserID as useUserID, hook_useUsername as useUsername, hook_useVoiceRecordingMuted as useVoiceRecordingMuted, hook_useVoiceSelector as useVoiceSelector, hook_useVoiceState as useVoiceState, hook_useWebSpeechPonyfill as useWebSpeechPonyfill };
|
|
2255
|
+
export { type hook_SendBoxFocusOptions as SendBoxFocusOptions };
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
export { useFocus as a, useMakeThumbnail as b, createStyleSet as c, useObserveScrollPosition as d, useObserveTranscriptFocus as e, useRegisterFocusSendBox as f, useRenderMarkdownAsHTML as g, hook as h, useScrollDown as i, useScrollTo as j, useScrollToEnd as k, useScrollUp as l, useSendFiles as m, useSendMessage as n, useShouldReduceMotion as o, useStyleSet as p, useTransformHTMLContent as q, useTypingIndicatorVisible as r, useWebSpeechPonyfill as s, useDictateAbortable as u };
|
|
2259
|
+
export type { SendBoxFocusOptions as S, WaitUntilable as W };
|