botframework-webchat-component 4.18.0 → 4.18.1-hotfix.20260127.b53acdf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1195) hide show
  1. package/decorator.js +3 -0
  2. package/dist/botframework-webchat-component.d.mts +1044 -462
  3. package/{lib/Styles/createStyleSet.d.ts → dist/botframework-webchat-component.d.ts} +1380 -263
  4. package/dist/botframework-webchat-component.decorator.css +3 -0
  5. package/dist/botframework-webchat-component.decorator.css.map +1 -0
  6. package/dist/botframework-webchat-component.decorator.d.mts +9 -0
  7. package/dist/botframework-webchat-component.decorator.d.ts +9 -0
  8. package/dist/botframework-webchat-component.decorator.js +3 -0
  9. package/dist/botframework-webchat-component.decorator.js.LEGAL.txt +1 -0
  10. package/dist/botframework-webchat-component.decorator.js.map +1 -0
  11. package/dist/botframework-webchat-component.decorator.mjs +3 -0
  12. package/dist/botframework-webchat-component.decorator.mjs.LEGAL.txt +1 -0
  13. package/dist/botframework-webchat-component.decorator.mjs.map +1 -0
  14. package/dist/botframework-webchat-component.internal.d.mts +28 -3
  15. package/dist/botframework-webchat-component.internal.d.ts +30 -0
  16. package/dist/botframework-webchat-component.internal.js +3 -0
  17. package/dist/botframework-webchat-component.internal.js.LEGAL.txt +0 -0
  18. package/dist/botframework-webchat-component.internal.js.map +1 -0
  19. package/dist/botframework-webchat-component.internal.mjs +1 -1
  20. package/dist/botframework-webchat-component.js +33 -0
  21. package/dist/botframework-webchat-component.js.LEGAL.txt +0 -0
  22. package/dist/botframework-webchat-component.js.map +1 -0
  23. package/dist/botframework-webchat-component.mjs +29 -8
  24. package/dist/botframework-webchat-component.mjs.map +1 -1
  25. package/dist/chunk-2PXHDPNQ.js +3 -0
  26. package/dist/chunk-2PXHDPNQ.js.LEGAL.txt +0 -0
  27. package/dist/chunk-2PXHDPNQ.js.map +1 -0
  28. package/dist/chunk-HZWWJL43.mjs +3 -0
  29. package/dist/chunk-HZWWJL43.mjs.LEGAL.txt +0 -0
  30. package/dist/chunk-HZWWJL43.mjs.map +1 -0
  31. package/dist/chunk-O4CKKYSK.js +3 -0
  32. package/dist/chunk-O4CKKYSK.js.LEGAL.txt +2 -0
  33. package/dist/chunk-O4CKKYSK.js.map +1 -0
  34. package/dist/chunk-Q5KJQWAB.mjs +3 -0
  35. package/dist/chunk-Q5KJQWAB.mjs.LEGAL.txt +0 -0
  36. package/dist/chunk-Q5KJQWAB.mjs.map +1 -0
  37. package/dist/chunk-TTVXUQC5.mjs +3 -0
  38. package/dist/chunk-TTVXUQC5.mjs.LEGAL.txt +2 -0
  39. package/dist/chunk-TTVXUQC5.mjs.map +1 -0
  40. package/dist/chunk-XOE3AOSM.js +3 -0
  41. package/dist/chunk-XOE3AOSM.js.LEGAL.txt +0 -0
  42. package/dist/chunk-XOE3AOSM.js.map +1 -0
  43. package/dist/metafile-cjs.json +1 -0
  44. package/dist/metafile-esm.json +1 -1
  45. package/internal.js +1 -1
  46. package/package.json +58 -49
  47. package/src/Activity/Avatar.tsx +19 -22
  48. package/src/Activity/Bubble.tsx +30 -32
  49. package/src/Activity/CarouselFilmStrip.js +2 -2
  50. package/src/Activity/CarouselLayout.js +11 -3
  51. package/src/Activity/SayAlt.tsx +30 -0
  52. package/src/Activity/Speak.tsx +66 -35
  53. package/src/Activity/StackedLayout.tsx +34 -68
  54. package/src/ActivityFeedback/ActivityFeedback.tsx +27 -0
  55. package/src/ActivityFeedback/private/FeedbackForm.tsx +88 -0
  56. package/src/ActivityFeedback/private/FeedbackLoopWithMessage.tsx +29 -0
  57. package/src/ActivityFeedback/private/FeedbackLoopWithoutMessage.tsx +8 -0
  58. package/src/ActivityFeedback/private/FeedbackTextArea.tsx +122 -0
  59. package/src/ActivityFeedback/private/FeedbackVoteButton.tsx +63 -0
  60. package/src/ActivityFeedback/private/FeedbackVoteButtonBar.tsx +25 -0
  61. package/src/{ActivityStatus/private/Feedback → ActivityFeedback}/private/ThumbButton.Image.tsx +4 -4
  62. package/src/{ActivityStatus/private/Feedback → ActivityFeedback}/private/ThumbButton.tsx +21 -8
  63. package/src/ActivityFeedback/private/getDisclaimer.ts +6 -0
  64. package/src/ActivityFeedback/private/hasFeedbackLoop.ts +36 -0
  65. package/src/ActivityFeedback/providers/ActivityFeedbackComposer.tsx +302 -0
  66. package/src/ActivityFeedback/providers/private/ActivityFeedbackContext.ts +23 -0
  67. package/src/ActivityFeedback/providers/private/useActivityFeedbackContext.ts +6 -0
  68. package/src/ActivityFeedback/providers/useActions.ts +6 -0
  69. package/src/ActivityFeedback/providers/useActivity.ts +6 -0
  70. package/src/ActivityFeedback/providers/useHasSubmitted.ts +5 -0
  71. package/src/ActivityFeedback/providers/useSelectedAction.ts +6 -0
  72. package/src/ActivityFeedback/providers/useShouldAllowResubmit.ts +5 -0
  73. package/src/ActivityFeedback/providers/useShouldShowFeedbackForm.ts +5 -0
  74. package/src/ActivityFeedback/providers/useSubmitCallback.ts +6 -0
  75. package/src/ActivityStatus/OthersActivityStatus.tsx +25 -36
  76. package/src/ActivityStatus/SelfActivityStatus.tsx +6 -5
  77. package/src/ActivityStatus/SendStatus/SendStatus.tsx +20 -21
  78. package/src/ActivityStatus/StatusSlot.tsx +12 -0
  79. package/src/ActivityStatus/Timestamp.tsx +17 -12
  80. package/src/Assets/TypingAnimation.js +3 -1
  81. package/src/Attachment/Assets/DownloadIcon.tsx +35 -0
  82. package/src/Attachment/AudioContent.tsx +20 -29
  83. package/src/Attachment/FileContent.tsx +40 -44
  84. package/src/Attachment/HTMLVideoContent.tsx +21 -27
  85. package/src/Attachment/ImageContent.tsx +13 -27
  86. package/src/Attachment/Text/TextAttachment.tsx +38 -14
  87. package/src/Attachment/Text/TextContent.tsx +49 -16
  88. package/src/Attachment/Text/private/ActivityButton.tsx +72 -0
  89. package/src/Attachment/Text/private/ActivityCopyButton.tsx +114 -0
  90. package/src/Attachment/Text/private/ActivityViewCodeButton.tsx +67 -0
  91. package/src/Attachment/Text/private/CitationModalContent.tsx +21 -11
  92. package/src/Attachment/Text/private/CodeContent.tsx +41 -0
  93. package/src/Attachment/Text/private/MarkdownTextContent.tsx +47 -11
  94. package/src/Attachment/Text/private/Markdownable.tsx +33 -0
  95. package/src/Attachment/Text/private/MessageSensitivityLabel.tsx +37 -29
  96. package/src/Attachment/Text/private/PlainTextContent.tsx +26 -7
  97. package/src/Attachment/Text/private/ShieldIcon.tsx +52 -34
  98. package/src/Attachment/Text/private/isAIGeneratedActivity.ts +5 -0
  99. package/src/Attachment/Text/private/isBasedOnSoftwareSourceCode.ts +18 -0
  100. package/src/Attachment/VideoAttachment.js +1 -1
  101. package/src/Attachment/VideoContent.tsx +21 -27
  102. package/src/Attachment/VimeoContent.tsx +21 -25
  103. package/src/Attachment/YouTubeContent.tsx +21 -25
  104. package/src/Avatar/ImageAvatar.tsx +48 -0
  105. package/src/Avatar/{InitialsAvatar.js → InitialsAvatar.tsx} +19 -14
  106. package/src/BasicToast.js +1 -1
  107. package/src/BasicToaster.js +41 -5
  108. package/src/BasicTranscript.tsx +90 -268
  109. package/src/BasicWebChat.tsx +34 -35
  110. package/src/BuiltInDecorator.tsx +17 -0
  111. package/src/ChatHistory/ChatHistoryBox.tsx +28 -0
  112. package/src/ChatHistory/ChatHistoryToolbar.tsx +38 -0
  113. package/src/ChatHistory/private/ScrollToEndButton.tsx +105 -0
  114. package/src/Composer.tsx +99 -56
  115. package/src/ConnectivityStatus/{Connecting.js → Connecting.tsx} +25 -20
  116. package/src/Dictation.js +15 -23
  117. package/src/ErrorBox.tsx +19 -19
  118. package/src/LinkDefinition/LinkDefinitions.tsx +61 -12
  119. package/src/LinkDefinition/private/extractHostnameWithSubdomain.ts +1 -1
  120. package/src/LiveRegion/LiveRegionActivity.tsx +18 -18
  121. package/src/LiveRegion/private/LiveRegionSuggestedActions.tsx +34 -25
  122. package/src/Middleware/Activity/createCoreMiddleware.tsx +20 -52
  123. package/src/Middleware/ActivityGrouping/createDefaultActivityGroupingDecoratorMiddleware.tsx +22 -0
  124. package/src/Middleware/ActivityGrouping/ui/RenderActivityGrouping.tsx +33 -0
  125. package/src/Middleware/ActivityGrouping/ui/SenderGrouping/SenderGrouping.tsx +49 -0
  126. package/src/Middleware/ActivityGrouping/ui/SenderGrouping/private/SenderGroupingContext.ts +18 -0
  127. package/src/Middleware/ActivityGrouping/ui/SenderGrouping/private/useSenderGroupingContext.ts +6 -0
  128. package/src/Middleware/ActivityGrouping/ui/SenderGrouping/useFirstActivity.ts +6 -0
  129. package/src/Middleware/ActivityGrouping/ui/SenderGrouping/useLastActivity.ts +6 -0
  130. package/src/Middleware/ActivityGrouping/ui/StatusGrouping/StatusGrouping.tsx +49 -0
  131. package/src/Middleware/ActivityGrouping/ui/StatusGrouping/private/StatusGroupingContext.ts +18 -0
  132. package/src/Middleware/ActivityGrouping/ui/StatusGrouping/private/useStatusGroupingContext.ts +6 -0
  133. package/src/Middleware/ActivityGrouping/ui/StatusGrouping/useFirstActivity.ts +6 -0
  134. package/src/Middleware/ActivityGrouping/ui/StatusGrouping/useLastActivity.ts +6 -0
  135. package/src/Middleware/ActivityStatus/createTimestampMiddleware.tsx +2 -2
  136. package/src/Middleware/Avatar/createCoreMiddleware.tsx +23 -24
  137. package/src/Middleware/ScrollToEndButton/ScrollToEndButton.tsx +58 -0
  138. package/src/ScreenReaderText.tsx +27 -34
  139. package/src/SendBox/Assets/SendIcon.js +1 -1
  140. package/src/SendBox/AutoResizeTextArea.tsx +28 -64
  141. package/src/SendBox/BasicSendBox.tsx +21 -23
  142. package/src/SendBox/DictationInterims.tsx +32 -21
  143. package/src/SendBox/IconButton.tsx +35 -30
  144. package/src/SendBox/MicrophoneButton.tsx +21 -21
  145. package/src/SendBox/SendButton.tsx +19 -20
  146. package/src/SendBox/SuggestedAction.tsx +57 -71
  147. package/src/SendBox/SuggestedActions.tsx +1 -3
  148. package/src/SendBox/TextBox.tsx +25 -38
  149. package/src/SendBoxToolbar/Assets/AttachmentIcon.tsx +1 -1
  150. package/src/SendBoxToolbar/UploadButton.tsx +22 -20
  151. package/src/Styles/CustomPropertyNames.ts +14 -6
  152. package/src/Styles/StyleSet/ActivityButton.ts +46 -0
  153. package/src/Styles/StyleSet/ActivityCopyButton.ts +40 -0
  154. package/src/Styles/StyleSet/AudioAttachment.ts +3 -3
  155. package/src/Styles/StyleSet/Avatar.ts +4 -3
  156. package/src/Styles/StyleSet/CarouselFilmStrip.ts +9 -7
  157. package/src/Styles/StyleSet/CarouselFilmStripAttachment.ts +3 -4
  158. package/src/Styles/StyleSet/ChatHistoryBox.ts +22 -0
  159. package/src/Styles/StyleSet/CodeBlock.ts +39 -0
  160. package/src/Styles/StyleSet/CodeBlockCopyButton.ts +80 -0
  161. package/src/Styles/StyleSet/FeedbackForm.ts +78 -0
  162. package/src/Styles/StyleSet/FeedbackTextArea.ts +81 -0
  163. package/src/Styles/StyleSet/ImageAvatar.ts +8 -5
  164. package/src/Styles/StyleSet/InitialsAvatar.ts +4 -5
  165. package/src/Styles/StyleSet/LinkDefinitions.ts +14 -8
  166. package/src/Styles/StyleSet/ModalDialog.ts +7 -1
  167. package/src/Styles/StyleSet/MonochromeImageMasker.ts +10 -0
  168. package/src/Styles/StyleSet/RenderMarkdown.ts +26 -0
  169. package/src/Styles/StyleSet/ScrollToEndButton.ts +0 -11
  170. package/src/Styles/StyleSet/SendStatus.ts +12 -0
  171. package/src/Styles/StyleSet/StackedLayout.ts +18 -9
  172. package/src/Styles/StyleSet/TextContent.ts +13 -1
  173. package/src/Styles/StyleSet/ThumbButton.ts +54 -16
  174. package/src/Styles/StyleSet/Tooltip.ts +62 -0
  175. package/src/Styles/StyleSet/ViewCodeDialog.ts +70 -0
  176. package/src/Styles/createStyleSet.ts +23 -11
  177. package/src/Styles/createStyles.ts +5 -0
  178. package/src/Styles/index.ts +3 -0
  179. package/src/Styles/useCustomPropertiesClassName.ts +75 -0
  180. package/src/Tooltip/index.ts +1 -0
  181. package/src/Tooltip/private/Tooltip.tsx +26 -0
  182. package/src/Transcript/ActivityRow.tsx +57 -9
  183. package/src/Transcript/ActivityTree.tsx +35 -0
  184. package/src/Transcript/FocusTrap.tsx +82 -34
  185. package/src/Transcript/LiveRegion/SendFailed.tsx +8 -10
  186. package/src/Transcript/LiveRegionTranscript.tsx +11 -62
  187. package/src/Transcript/TranscriptActivity.tsx +105 -0
  188. package/src/Utils/AccessibleInputText.tsx +30 -59
  189. package/src/Utils/AccessibleTextArea.tsx +10 -41
  190. package/src/Utils/FixedWidthImage.tsx +60 -0
  191. package/src/Utils/FocusRedirector.tsx +31 -26
  192. package/src/Utils/InlineMarkdown.js +1 -1
  193. package/src/Utils/JSONLinkedData/dereferenceBlankNodes.ts +1 -1
  194. package/src/Utils/JSONLinkedData/getSafeOwnPropertyNames.ts +2 -2
  195. package/src/Utils/MonochromeImageMasker.tsx +21 -0
  196. package/src/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.ts +4 -4
  197. package/src/Utils/firstTabbableDescendant.js +0 -1
  198. package/src/Utils/parseDocumentFragmentFromString.ts +9 -0
  199. package/src/Utils/serializeDocumentFragmentIntoString.ts +3 -0
  200. package/src/Utils/supportPseudoClass.ts +1 -1
  201. package/src/Utils/{textFormatToContentType.js → textFormatToContentType.ts} +3 -1
  202. package/src/decorator/index.ts +1 -0
  203. package/src/decorator/private/BorderFlair.module.css +564 -0
  204. package/src/decorator/private/BorderFlair.tsx +30 -0
  205. package/src/decorator/private/BorderLoader.module.css +48 -0
  206. package/src/decorator/private/BorderLoader.tsx +19 -0
  207. package/src/decorator/private/WebChatDecorator.tsx +30 -0
  208. package/src/decorator/private/WebChatTheme.tsx +17 -0
  209. package/src/decorator/private/createStyles.ts +5 -0
  210. package/src/env.d.ts +1 -0
  211. package/src/hooks/index.ts +4 -0
  212. package/src/hooks/internal/codeHighlighter/index.ts +3 -0
  213. package/src/hooks/internal/codeHighlighter/private/CodeHighlighterComposer.tsx +32 -0
  214. package/src/hooks/internal/codeHighlighter/private/createCodeHighlighterComposer.tsx +32 -0
  215. package/src/hooks/internal/codeHighlighter/private/defaultHighlightCode.tsx +22 -0
  216. package/src/hooks/internal/createWaitUntilable.spec.ts +2 -2
  217. package/src/hooks/internal/createWaitUntilable.ts +1 -1
  218. package/src/hooks/internal/styleToEmotionObject/index.ts +1 -0
  219. package/src/hooks/internal/styleToEmotionObject/private/StyleToEmotionObjectComposer.tsx +20 -0
  220. package/src/hooks/internal/styleToEmotionObject/private/createStyleToEmotionObjectComposer.tsx +22 -0
  221. package/src/hooks/internal/useEmotion.ts +37 -0
  222. package/src/hooks/internal/useFeedbackActions.ts +114 -0
  223. package/src/hooks/internal/useInjectStyles.ts +86 -0
  224. package/src/hooks/internal/useMemoWithPrevious.ts +1 -1
  225. package/src/hooks/internal/useMemoized.spec.jsx +3 -3
  226. package/src/hooks/internal/useObserveFocusVisible.ts +0 -1
  227. package/src/hooks/internal/useStateRef.ts +1 -1
  228. package/src/hooks/sendBoxFocus.ts +6 -2
  229. package/src/hooks/transcriptScrollRelative.ts +6 -3
  230. package/src/hooks/useRenderMarkdownAsHTML.ts +11 -9
  231. package/src/index.ts +25 -4
  232. package/src/internal.ts +19 -3
  233. package/src/providers/ChatHistoryDOM/ChatHistoryDOMComposer.tsx +18 -0
  234. package/src/providers/ChatHistoryDOM/private/ChatHistoryDOMContext.ts +11 -0
  235. package/src/providers/ChatHistoryDOM/useActivityElementRef.ts +6 -0
  236. package/src/providers/CustomElements/CustomElementsComposer.tsx +58 -0
  237. package/src/providers/CustomElements/customElements/CodeBlock.ts +230 -0
  238. package/src/providers/CustomElements/customElements/CodeBlockCopyButton.tsx +101 -0
  239. package/src/providers/CustomElements/customElements/wrapAsCustomElement.ts +85 -0
  240. package/src/providers/CustomElements/private/CustomElementsContext.ts +15 -0
  241. package/src/providers/CustomElements/private/useCustomElementsContext.ts +6 -0
  242. package/src/providers/CustomElements/useCodeBlockCopyButtonTagName.ts +8 -0
  243. package/src/providers/CustomElements/useCodeBlockTagName.ts +19 -0
  244. package/src/providers/GroupedRenderingActivities/GroupedRenderingActivities.ts +10 -0
  245. package/src/providers/GroupedRenderingActivities/GroupedRenderingActivitiesComposer.tsx +87 -0
  246. package/src/providers/GroupedRenderingActivities/private/GroupedRenderingActivitiesContext.ts +14 -0
  247. package/src/providers/GroupedRenderingActivities/private/group.spec.ts +29 -0
  248. package/src/providers/GroupedRenderingActivities/private/group.ts +19 -0
  249. package/src/providers/GroupedRenderingActivities/private/pick.spec.ts +33 -0
  250. package/src/providers/GroupedRenderingActivities/private/pick.ts +22 -0
  251. package/src/providers/GroupedRenderingActivities/useGroupedRenderingActivities.ts +6 -0
  252. package/src/providers/GroupedRenderingActivities/useNumRenderingActivities.ts +5 -0
  253. package/src/providers/HTMLContentTransformCOR/HTMLContentTransformComposer.tsx +41 -0
  254. package/src/providers/HTMLContentTransformCOR/index.ts +8 -0
  255. package/src/providers/HTMLContentTransformCOR/private/HTMLContentTransformContext.ts +34 -0
  256. package/src/providers/HTMLContentTransformCOR/private/useHTMLContentTransformContext.ts +6 -0
  257. package/src/providers/HTMLContentTransformCOR/useTransformHTMLContent.ts +187 -0
  258. package/src/providers/LiveRegionTwin/index.ts +3 -0
  259. package/src/providers/LiveRegionTwin/private/LiveRegionTwinComposer.ts +27 -0
  260. package/src/providers/LiveRegionTwin/private/LiveRegionTwinContainer.tsx +27 -39
  261. package/src/providers/LiveRegionTwin/private/createLiveRegionTwinComposer.tsx +155 -0
  262. package/src/providers/LiveRegionTwin/private/useContext.ts +2 -8
  263. package/src/providers/LiveRegionTwin/useLiveRegion.ts +27 -0
  264. package/src/providers/LiveRegionTwin/useQueueStaticElement.ts +2 -2
  265. package/src/providers/ModalDialog/private/Popover.tsx +3 -3
  266. package/src/providers/ReducedMotion/ReducedMotionComposer.tsx +35 -0
  267. package/src/providers/ReducedMotion/private/Context.ts +22 -0
  268. package/src/providers/ReducedMotion/private/useContext.ts +8 -0
  269. package/src/providers/ReducedMotion/useShouldReduceMotion.ts +5 -0
  270. package/src/providers/RenderingActivities/RenderingActivitiesComposer.tsx +84 -0
  271. package/src/providers/RenderingActivities/private/RenderingActivitiesContext.ts +15 -0
  272. package/src/providers/RenderingActivities/private/useInternalActivitiesWithRenderer.ts +78 -0
  273. package/src/providers/RenderingActivities/useGetRenderActivityCallback.ts +11 -0
  274. package/src/providers/RenderingActivities/useRenderingActivities.ts +7 -0
  275. package/src/providers/RenderingActivities/useRenderingActivityKeys.ts +5 -0
  276. package/src/providers/RovingTabIndex/RovingTabIndexComposer.tsx +32 -23
  277. package/src/providers/Theme/ThemeProvider.tsx +24 -16
  278. package/src/providers/Theme/private/Context.ts +4 -2
  279. package/src/providers/TranscriptFocus/TranscriptFocusComposer.tsx +17 -27
  280. package/src/providers/TranscriptFocus/useFocusRelativeActivity.ts +1 -1
  281. package/src/providers/createContextAndHook.ts +23 -0
  282. package/src/providers/internal/SendBox/SendBoxComposer.tsx +28 -38
  283. package/src/testIds.ts +11 -0
  284. package/src/tsconfig.json +5 -8
  285. package/src/types/internal/mutableRefObject.ts +33 -0
  286. package/src/types/internal/reactNode.ts +16 -0
  287. package/src/types/internal/refObject.ts +40 -0
  288. package/dist/chunk-X37JABN5.mjs +0 -5
  289. package/dist/chunk-X37JABN5.mjs.map +0 -1
  290. package/lib/Activity/Avatar.d.ts +0 -10
  291. package/lib/Activity/Avatar.d.ts.map +0 -1
  292. package/lib/Activity/Avatar.js +0 -35
  293. package/lib/Activity/Bubble.d.ts +0 -11
  294. package/lib/Activity/Bubble.d.ts.map +0 -1
  295. package/lib/Activity/Bubble.js +0 -137
  296. package/lib/Activity/CarouselFilmStrip.js +0 -264
  297. package/lib/Activity/CarouselFilmStripAttachment.js +0 -93
  298. package/lib/Activity/CarouselLayout.js +0 -133
  299. package/lib/Activity/SayAlt.js +0 -31
  300. package/lib/Activity/Speak.d.ts +0 -8
  301. package/lib/Activity/Speak.d.ts.map +0 -1
  302. package/lib/Activity/Speak.js +0 -99
  303. package/lib/Activity/StackedLayout.d.ts +0 -17
  304. package/lib/Activity/StackedLayout.d.ts.map +0 -1
  305. package/lib/Activity/StackedLayout.js +0 -233
  306. package/lib/ActivityStatus/AbsoluteTime.js +0 -38
  307. package/lib/ActivityStatus/OthersActivityStatus.d.ts +0 -8
  308. package/lib/ActivityStatus/OthersActivityStatus.d.ts.map +0 -1
  309. package/lib/ActivityStatus/OthersActivityStatus.js +0 -105
  310. package/lib/ActivityStatus/SelfActivityStatus.d.ts +0 -8
  311. package/lib/ActivityStatus/SelfActivityStatus.d.ts.map +0 -1
  312. package/lib/ActivityStatus/SelfActivityStatus.js +0 -37
  313. package/lib/ActivityStatus/SendStatus/SendStatus.d.ts +0 -10
  314. package/lib/ActivityStatus/SendStatus/SendStatus.d.ts.map +0 -1
  315. package/lib/ActivityStatus/SendStatus/SendStatus.js +0 -58
  316. package/lib/ActivityStatus/SendStatus/private/SendFailedRetry.js +0 -35
  317. package/lib/ActivityStatus/Slotted.d.ts +0 -7
  318. package/lib/ActivityStatus/Slotted.d.ts.map +0 -1
  319. package/lib/ActivityStatus/Slotted.js +0 -31
  320. package/lib/ActivityStatus/Timestamp.d.ts +0 -7
  321. package/lib/ActivityStatus/Timestamp.d.ts.map +0 -1
  322. package/lib/ActivityStatus/Timestamp.js +0 -36
  323. package/lib/ActivityStatus/private/Feedback/Feedback.d.ts +0 -8
  324. package/lib/ActivityStatus/private/Feedback/Feedback.d.ts.map +0 -1
  325. package/lib/ActivityStatus/private/Feedback/Feedback.js +0 -67
  326. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.d.ts +0 -9
  327. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.d.ts.map +0 -1
  328. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.Image.js +0 -34
  329. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.d.ts +0 -9
  330. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.d.ts.map +0 -1
  331. package/lib/ActivityStatus/private/Feedback/private/ThumbButton.js +0 -57
  332. package/lib/ActivityStatus/private/Feedback/private/VoteButton.d.ts +0 -10
  333. package/lib/ActivityStatus/private/Feedback/private/VoteButton.d.ts.map +0 -1
  334. package/lib/ActivityStatus/private/Feedback/private/VoteButton.js +0 -43
  335. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.d.ts +0 -7
  336. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.d.ts.map +0 -1
  337. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Filled.js +0 -28
  338. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.d.ts +0 -7
  339. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.d.ts.map +0 -1
  340. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbDislike16Regular.js +0 -28
  341. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.d.ts +0 -7
  342. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.d.ts.map +0 -1
  343. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Filled.js +0 -28
  344. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.d.ts +0 -7
  345. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.d.ts.map +0 -1
  346. package/lib/ActivityStatus/private/Feedback/private/icons/ThumbLike16Regular.js +0 -28
  347. package/lib/ActivityStatus/private/Originator.d.ts +0 -8
  348. package/lib/ActivityStatus/private/Originator.d.ts.map +0 -1
  349. package/lib/ActivityStatus/private/Originator.js +0 -29
  350. package/lib/ActivityStatus/private/RelativeTime.js +0 -37
  351. package/lib/Assets/TypingAnimation.js +0 -47
  352. package/lib/Attachment/Assets/DownloadIcon.js +0 -35
  353. package/lib/Attachment/AudioAttachment.js +0 -38
  354. package/lib/Attachment/AudioContent.d.ts +0 -11
  355. package/lib/Attachment/AudioContent.d.ts.map +0 -1
  356. package/lib/Attachment/AudioContent.js +0 -51
  357. package/lib/Attachment/FileAttachment.js +0 -43
  358. package/lib/Attachment/FileContent.d.ts +0 -10
  359. package/lib/Attachment/FileContent.d.ts.map +0 -1
  360. package/lib/Attachment/FileContent.js +0 -120
  361. package/lib/Attachment/HTMLVideoContent.d.ts +0 -11
  362. package/lib/Attachment/HTMLVideoContent.d.ts.map +0 -1
  363. package/lib/Attachment/HTMLVideoContent.js +0 -51
  364. package/lib/Attachment/ImageAttachment.js +0 -41
  365. package/lib/Attachment/ImageContent.d.ts +0 -8
  366. package/lib/Attachment/ImageContent.d.ts.map +0 -1
  367. package/lib/Attachment/ImageContent.js +0 -41
  368. package/lib/Attachment/Text/TextAttachment.d.ts +0 -12
  369. package/lib/Attachment/Text/TextAttachment.d.ts.map +0 -1
  370. package/lib/Attachment/Text/TextAttachment.js +0 -27
  371. package/lib/Attachment/Text/TextContent.d.ts +0 -10
  372. package/lib/Attachment/Text/TextContent.d.ts.map +0 -1
  373. package/lib/Attachment/Text/TextContent.js +0 -34
  374. package/lib/Attachment/Text/private/CitationModalContent.d.ts +0 -8
  375. package/lib/Attachment/Text/private/CitationModalContent.d.ts.map +0 -1
  376. package/lib/Attachment/Text/private/CitationModalContent.js +0 -45
  377. package/lib/Attachment/Text/private/MarkdownTextContent.d.ts +0 -9
  378. package/lib/Attachment/Text/private/MarkdownTextContent.d.ts.map +0 -1
  379. package/lib/Attachment/Text/private/MarkdownTextContent.js +0 -204
  380. package/lib/Attachment/Text/private/MessageSensitivityLabel.d.ts +0 -12
  381. package/lib/Attachment/Text/private/MessageSensitivityLabel.d.ts.map +0 -1
  382. package/lib/Attachment/Text/private/MessageSensitivityLabel.js +0 -38
  383. package/lib/Attachment/Text/private/PlainTextContent.d.ts +0 -7
  384. package/lib/Attachment/Text/private/PlainTextContent.d.ts.map +0 -1
  385. package/lib/Attachment/Text/private/PlainTextContent.js +0 -35
  386. package/lib/Attachment/Text/private/ShieldIcon.d.ts +0 -9
  387. package/lib/Attachment/Text/private/ShieldIcon.d.ts.map +0 -1
  388. package/lib/Attachment/Text/private/ShieldIcon.js +0 -39
  389. package/lib/Attachment/Text/private/isHTMLButtonElement.d.ts +0 -2
  390. package/lib/Attachment/Text/private/isHTMLButtonElement.d.ts.map +0 -1
  391. package/lib/Attachment/Text/private/isHTMLButtonElement.js +0 -10
  392. package/lib/Attachment/VideoAttachment.js +0 -45
  393. package/lib/Attachment/VideoContent.d.ts +0 -11
  394. package/lib/Attachment/VideoContent.d.ts.map +0 -1
  395. package/lib/Attachment/VideoContent.js +0 -103
  396. package/lib/Attachment/VimeoContent.d.ts +0 -10
  397. package/lib/Attachment/VimeoContent.d.ts.map +0 -1
  398. package/lib/Attachment/VimeoContent.js +0 -59
  399. package/lib/Attachment/YouTubeContent.d.ts +0 -10
  400. package/lib/Attachment/YouTubeContent.d.ts.map +0 -1
  401. package/lib/Attachment/YouTubeContent.js +0 -60
  402. package/lib/Attachment/createMiddleware.d.ts +0 -3
  403. package/lib/Attachment/createMiddleware.d.ts.map +0 -1
  404. package/lib/Attachment/createMiddleware.js +0 -64
  405. package/lib/Attachment/private/types/WebChatAttachment.d.ts +0 -9
  406. package/lib/Attachment/private/types/WebChatAttachment.d.ts.map +0 -1
  407. package/lib/Attachment/private/types/WebChatAttachment.js +0 -2
  408. package/lib/Avatar/ImageAvatar.js +0 -59
  409. package/lib/Avatar/InitialsAvatar.js +0 -57
  410. package/lib/BasicConnectivityStatus.js +0 -46
  411. package/lib/BasicToast.js +0 -103
  412. package/lib/BasicToaster.js +0 -176
  413. package/lib/BasicTranscript.d.ts +0 -7
  414. package/lib/BasicTranscript.d.ts.map +0 -1
  415. package/lib/BasicTranscript.js +0 -735
  416. package/lib/BasicTypingIndicator.d.ts +0 -6
  417. package/lib/BasicTypingIndicator.d.ts.map +0 -1
  418. package/lib/BasicTypingIndicator.js +0 -54
  419. package/lib/BasicWebChat.d.ts +0 -9
  420. package/lib/BasicWebChat.d.ts.map +0 -1
  421. package/lib/BasicWebChat.js +0 -90
  422. package/lib/Composer.d.ts +0 -50
  423. package/lib/Composer.d.ts.map +0 -1
  424. package/lib/Composer.js +0 -336
  425. package/lib/ConnectivityStatus/Assets/ErrorNotificationIcon.js +0 -47
  426. package/lib/ConnectivityStatus/Assets/SpinnerAnimation.js +0 -32
  427. package/lib/ConnectivityStatus/Assets/WarningNotificationIcon.js +0 -47
  428. package/lib/ConnectivityStatus/Connected.js +0 -20
  429. package/lib/ConnectivityStatus/Connecting.js +0 -82
  430. package/lib/ConnectivityStatus/FailedToConnect.js +0 -41
  431. package/lib/ConnectivityStatus/JavaScriptError.js +0 -41
  432. package/lib/Dictation.js +0 -158
  433. package/lib/ErrorBox.d.ts +0 -8
  434. package/lib/ErrorBox.d.ts.map +0 -1
  435. package/lib/ErrorBox.js +0 -42
  436. package/lib/LinkDefinition/LinkDefinitionItem.d.ts +0 -12
  437. package/lib/LinkDefinition/LinkDefinitionItem.d.ts.map +0 -1
  438. package/lib/LinkDefinition/LinkDefinitionItem.js +0 -57
  439. package/lib/LinkDefinition/LinkDefinitions.d.ts +0 -12
  440. package/lib/LinkDefinition/LinkDefinitions.d.ts.map +0 -1
  441. package/lib/LinkDefinition/LinkDefinitions.js +0 -69
  442. package/lib/LinkDefinition/index.d.ts +0 -4
  443. package/lib/LinkDefinition/index.d.ts.map +0 -1
  444. package/lib/LinkDefinition/index.js +0 -21
  445. package/lib/LinkDefinition/private/Badge.d.ts +0 -7
  446. package/lib/LinkDefinition/private/Badge.d.ts.map +0 -1
  447. package/lib/LinkDefinition/private/Badge.js +0 -20
  448. package/lib/LinkDefinition/private/Chevron.d.ts +0 -4
  449. package/lib/LinkDefinition/private/Chevron.d.ts.map +0 -1
  450. package/lib/LinkDefinition/private/Chevron.js +0 -27
  451. package/lib/LinkDefinition/private/ItemBody.d.ts +0 -11
  452. package/lib/LinkDefinition/private/ItemBody.d.ts.map +0 -1
  453. package/lib/LinkDefinition/private/ItemBody.js +0 -41
  454. package/lib/LinkDefinition/private/OpenInNewWindowIcon.d.ts +0 -7
  455. package/lib/LinkDefinition/private/OpenInNewWindowIcon.d.ts.map +0 -1
  456. package/lib/LinkDefinition/private/OpenInNewWindowIcon.js +0 -23
  457. package/lib/LinkDefinition/private/extractHostnameWithSubdomain.d.ts +0 -2
  458. package/lib/LinkDefinition/private/extractHostnameWithSubdomain.d.ts.map +0 -1
  459. package/lib/LinkDefinition/private/extractHostnameWithSubdomain.js +0 -24
  460. package/lib/LinkDefinition/private/extractHostnameWithSubdomain.spec.d.ts +0 -2
  461. package/lib/LinkDefinition/private/extractHostnameWithSubdomain.spec.d.ts.map +0 -1
  462. package/lib/LiveRegion/LiveRegionActivity.d.ts +0 -9
  463. package/lib/LiveRegion/LiveRegionActivity.d.ts.map +0 -1
  464. package/lib/LiveRegion/LiveRegionActivity.js +0 -70
  465. package/lib/LiveRegion/private/LiveRegionAttachments.d.ts +0 -11
  466. package/lib/LiveRegion/private/LiveRegionAttachments.d.ts.map +0 -1
  467. package/lib/LiveRegion/private/LiveRegionAttachments.js +0 -53
  468. package/lib/LiveRegion/private/LiveRegionSuggestedActions.d.ts +0 -8
  469. package/lib/LiveRegion/private/LiveRegionSuggestedActions.d.ts.map +0 -1
  470. package/lib/LiveRegion/private/LiveRegionSuggestedActions.js +0 -37
  471. package/lib/Middleware/Activity/createCoreMiddleware.d.ts +0 -3
  472. package/lib/Middleware/Activity/createCoreMiddleware.d.ts.map +0 -1
  473. package/lib/Middleware/Activity/createCoreMiddleware.js +0 -95
  474. package/lib/Middleware/ActivityStatus/createCoreMiddleware.d.ts +0 -3
  475. package/lib/Middleware/ActivityStatus/createCoreMiddleware.d.ts.map +0 -1
  476. package/lib/Middleware/ActivityStatus/createCoreMiddleware.js +0 -13
  477. package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.d.ts +0 -3
  478. package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.d.ts.map +0 -1
  479. package/lib/Middleware/ActivityStatus/createSendStatusMiddleware.js +0 -41
  480. package/lib/Middleware/ActivityStatus/createTimestampMiddleware.d.ts +0 -3
  481. package/lib/Middleware/ActivityStatus/createTimestampMiddleware.d.ts.map +0 -1
  482. package/lib/Middleware/ActivityStatus/createTimestampMiddleware.js +0 -48
  483. package/lib/Middleware/AttachmentForScreenReader/AudioAttachment.js +0 -18
  484. package/lib/Middleware/AttachmentForScreenReader/FileAttachment.js +0 -28
  485. package/lib/Middleware/AttachmentForScreenReader/ImageAttachment.js +0 -18
  486. package/lib/Middleware/AttachmentForScreenReader/TextAttachment.js +0 -28
  487. package/lib/Middleware/AttachmentForScreenReader/VideoAttachment.js +0 -18
  488. package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.d.ts +0 -3
  489. package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.d.ts.map +0 -1
  490. package/lib/Middleware/AttachmentForScreenReader/createCoreMiddleware.js +0 -61
  491. package/lib/Middleware/Avatar/createCoreMiddleware.d.ts +0 -11
  492. package/lib/Middleware/Avatar/createCoreMiddleware.d.ts.map +0 -1
  493. package/lib/Middleware/Avatar/createCoreMiddleware.js +0 -82
  494. package/lib/Middleware/CardAction/createCoreMiddleware.js +0 -108
  495. package/lib/Middleware/ScrollToEndButton/ScrollToEndButton.js +0 -52
  496. package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.d.ts +0 -3
  497. package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.d.ts.map +0 -1
  498. package/lib/Middleware/ScrollToEndButton/createScrollToEndButtonMiddleware.js +0 -27
  499. package/lib/Middleware/Toast/createCoreMiddleware.d.ts +0 -4
  500. package/lib/Middleware/Toast/createCoreMiddleware.d.ts.map +0 -1
  501. package/lib/Middleware/Toast/createCoreMiddleware.js +0 -27
  502. package/lib/Middleware/TypingIndicator/createCoreMiddleware.d.ts +0 -3
  503. package/lib/Middleware/TypingIndicator/createCoreMiddleware.d.ts.map +0 -1
  504. package/lib/Middleware/TypingIndicator/createCoreMiddleware.js +0 -47
  505. package/lib/ReactWebChat.d.ts +0 -42
  506. package/lib/ReactWebChat.d.ts.map +0 -1
  507. package/lib/ReactWebChat.js +0 -52
  508. package/lib/ScreenReaderText.d.ts +0 -9
  509. package/lib/ScreenReaderText.d.ts.map +0 -1
  510. package/lib/ScreenReaderText.js +0 -58
  511. package/lib/SendBox/Assets/MicrophoneIcon.js +0 -25
  512. package/lib/SendBox/Assets/SendIcon.js +0 -45
  513. package/lib/SendBox/AutoResizeTextArea.d.ts +0 -24
  514. package/lib/SendBox/AutoResizeTextArea.d.ts.map +0 -1
  515. package/lib/SendBox/AutoResizeTextArea.js +0 -113
  516. package/lib/SendBox/BasicSendBox.d.ts +0 -9
  517. package/lib/SendBox/BasicSendBox.d.ts.map +0 -1
  518. package/lib/SendBox/BasicSendBox.js +0 -123
  519. package/lib/SendBox/DictationInterims.d.ts +0 -7
  520. package/lib/SendBox/DictationInterims.d.ts.map +0 -1
  521. package/lib/SendBox/DictationInterims.js +0 -68
  522. package/lib/SendBox/IconButton.d.ts +0 -11
  523. package/lib/SendBox/IconButton.d.ts.map +0 -1
  524. package/lib/SendBox/IconButton.js +0 -73
  525. package/lib/SendBox/MicrophoneButton.d.ts +0 -10
  526. package/lib/SendBox/MicrophoneButton.d.ts.map +0 -1
  527. package/lib/SendBox/MicrophoneButton.js +0 -160
  528. package/lib/SendBox/SendButton.d.ts +0 -7
  529. package/lib/SendBox/SendButton.d.ts.map +0 -1
  530. package/lib/SendBox/SendButton.js +0 -53
  531. package/lib/SendBox/SuggestedAction.d.ts +0 -16
  532. package/lib/SendBox/SuggestedAction.d.ts.map +0 -1
  533. package/lib/SendBox/SuggestedAction.js +0 -166
  534. package/lib/SendBox/SuggestedActions.d.ts +0 -7
  535. package/lib/SendBox/SuggestedActions.d.ts.map +0 -1
  536. package/lib/SendBox/SuggestedActions.js +0 -256
  537. package/lib/SendBox/TextBox.d.ts +0 -24
  538. package/lib/SendBox/TextBox.d.ts.map +0 -1
  539. package/lib/SendBox/TextBox.js +0 -252
  540. package/lib/SendBox/createMiddleware.d.ts +0 -4
  541. package/lib/SendBox/createMiddleware.d.ts.map +0 -1
  542. package/lib/SendBox/createMiddleware.js +0 -38
  543. package/lib/SendBoxToolbar/Assets/AttachmentIcon.d.ts +0 -7
  544. package/lib/SendBoxToolbar/Assets/AttachmentIcon.d.ts.map +0 -1
  545. package/lib/SendBoxToolbar/Assets/AttachmentIcon.js +0 -63
  546. package/lib/SendBoxToolbar/BasicSendBoxToolbar.d.ts +0 -6
  547. package/lib/SendBoxToolbar/BasicSendBoxToolbar.d.ts.map +0 -1
  548. package/lib/SendBoxToolbar/BasicSendBoxToolbar.js +0 -32
  549. package/lib/SendBoxToolbar/UploadButton.d.ts +0 -7
  550. package/lib/SendBoxToolbar/UploadButton.d.ts.map +0 -1
  551. package/lib/SendBoxToolbar/UploadButton.js +0 -156
  552. package/lib/SendBoxToolbar/createMiddleware.d.ts +0 -4
  553. package/lib/SendBoxToolbar/createMiddleware.d.ts.map +0 -1
  554. package/lib/SendBoxToolbar/createMiddleware.js +0 -20
  555. package/lib/Styles/CSSTokens.d.ts +0 -16
  556. package/lib/Styles/CSSTokens.d.ts.map +0 -1
  557. package/lib/Styles/CSSTokens.js +0 -19
  558. package/lib/Styles/CustomPropertyNames.d.ts +0 -13
  559. package/lib/Styles/CustomPropertyNames.d.ts.map +0 -1
  560. package/lib/Styles/CustomPropertyNames.js +0 -24
  561. package/lib/Styles/StyleSet/Activities.d.ts +0 -5
  562. package/lib/Styles/StyleSet/Activities.d.ts.map +0 -1
  563. package/lib/Styles/StyleSet/Activities.js +0 -13
  564. package/lib/Styles/StyleSet/AudioAttachment.d.ts +0 -6
  565. package/lib/Styles/StyleSet/AudioAttachment.d.ts.map +0 -1
  566. package/lib/Styles/StyleSet/AudioAttachment.js +0 -15
  567. package/lib/Styles/StyleSet/AudioContent.d.ts +0 -4
  568. package/lib/Styles/StyleSet/AudioContent.d.ts.map +0 -1
  569. package/lib/Styles/StyleSet/AudioContent.js +0 -12
  570. package/lib/Styles/StyleSet/AutoResizeTextArea.d.ts +0 -37
  571. package/lib/Styles/StyleSet/AutoResizeTextArea.d.ts.map +0 -1
  572. package/lib/Styles/StyleSet/AutoResizeTextArea.js +0 -45
  573. package/lib/Styles/StyleSet/Avatar.d.ts +0 -9
  574. package/lib/Styles/StyleSet/Avatar.d.ts.map +0 -1
  575. package/lib/Styles/StyleSet/Avatar.js +0 -18
  576. package/lib/Styles/StyleSet/BasicTranscript.d.ts +0 -85
  577. package/lib/Styles/StyleSet/BasicTranscript.d.ts.map +0 -1
  578. package/lib/Styles/StyleSet/BasicTranscript.js +0 -110
  579. package/lib/Styles/StyleSet/Bubble.d.ts +0 -5
  580. package/lib/Styles/StyleSet/Bubble.d.ts.map +0 -1
  581. package/lib/Styles/StyleSet/Bubble.js +0 -153
  582. package/lib/Styles/StyleSet/CSSCustomProperties.d.ts +0 -16
  583. package/lib/Styles/StyleSet/CSSCustomProperties.d.ts.map +0 -1
  584. package/lib/Styles/StyleSet/CSSCustomProperties.js +0 -27
  585. package/lib/Styles/StyleSet/CarouselFilmStrip.d.ts +0 -5
  586. package/lib/Styles/StyleSet/CarouselFilmStrip.d.ts.map +0 -1
  587. package/lib/Styles/StyleSet/CarouselFilmStrip.js +0 -90
  588. package/lib/Styles/StyleSet/CarouselFilmStripAttachment.d.ts +0 -3
  589. package/lib/Styles/StyleSet/CarouselFilmStripAttachment.d.ts.map +0 -1
  590. package/lib/Styles/StyleSet/CarouselFilmStripAttachment.js +0 -57
  591. package/lib/Styles/StyleSet/CarouselFlipper.d.ts +0 -27
  592. package/lib/Styles/StyleSet/CarouselFlipper.d.ts.map +0 -1
  593. package/lib/Styles/StyleSet/CarouselFlipper.js +0 -42
  594. package/lib/Styles/StyleSet/CitationModalDialog.d.ts +0 -8
  595. package/lib/Styles/StyleSet/CitationModalDialog.d.ts.map +0 -1
  596. package/lib/Styles/StyleSet/CitationModalDialog.js +0 -16
  597. package/lib/Styles/StyleSet/ConnectivityNotification.d.ts +0 -13
  598. package/lib/Styles/StyleSet/ConnectivityNotification.d.ts.map +0 -1
  599. package/lib/Styles/StyleSet/ConnectivityNotification.js +0 -26
  600. package/lib/Styles/StyleSet/Constants.d.ts +0 -6
  601. package/lib/Styles/StyleSet/Constants.d.ts.map +0 -1
  602. package/lib/Styles/StyleSet/Constants.js +0 -15
  603. package/lib/Styles/StyleSet/DictationInterims.d.ts +0 -13
  604. package/lib/Styles/StyleSet/DictationInterims.d.ts.map +0 -1
  605. package/lib/Styles/StyleSet/DictationInterims.js +0 -22
  606. package/lib/Styles/StyleSet/ErrorBox.d.ts +0 -33
  607. package/lib/Styles/StyleSet/ErrorBox.d.ts.map +0 -1
  608. package/lib/Styles/StyleSet/ErrorBox.js +0 -43
  609. package/lib/Styles/StyleSet/ErrorNotification.d.ts +0 -23
  610. package/lib/Styles/StyleSet/ErrorNotification.d.ts.map +0 -1
  611. package/lib/Styles/StyleSet/ErrorNotification.js +0 -36
  612. package/lib/Styles/StyleSet/FileContent.d.ts +0 -32
  613. package/lib/Styles/StyleSet/FileContent.d.ts.map +0 -1
  614. package/lib/Styles/StyleSet/FileContent.js +0 -43
  615. package/lib/Styles/StyleSet/ImageAvatar.d.ts +0 -7
  616. package/lib/Styles/StyleSet/ImageAvatar.d.ts.map +0 -1
  617. package/lib/Styles/StyleSet/ImageAvatar.js +0 -15
  618. package/lib/Styles/StyleSet/InitialsAvatar.d.ts +0 -19
  619. package/lib/Styles/StyleSet/InitialsAvatar.d.ts.map +0 -1
  620. package/lib/Styles/StyleSet/InitialsAvatar.js +0 -31
  621. package/lib/Styles/StyleSet/KeyboardHelp.d.ts +0 -152
  622. package/lib/Styles/StyleSet/KeyboardHelp.d.ts.map +0 -1
  623. package/lib/Styles/StyleSet/KeyboardHelp.js +0 -168
  624. package/lib/Styles/StyleSet/LinkDefinitions.d.ts +0 -165
  625. package/lib/Styles/StyleSet/LinkDefinitions.d.ts.map +0 -1
  626. package/lib/Styles/StyleSet/LinkDefinitions.js +0 -180
  627. package/lib/Styles/StyleSet/MicrophoneButton.d.ts +0 -13
  628. package/lib/Styles/StyleSet/MicrophoneButton.d.ts.map +0 -1
  629. package/lib/Styles/StyleSet/MicrophoneButton.js +0 -21
  630. package/lib/Styles/StyleSet/ModalDialog.d.ts +0 -94
  631. package/lib/Styles/StyleSet/ModalDialog.d.ts.map +0 -1
  632. package/lib/Styles/StyleSet/ModalDialog.js +0 -98
  633. package/lib/Styles/StyleSet/RenderMarkdown.d.ts +0 -51
  634. package/lib/Styles/StyleSet/RenderMarkdown.d.ts.map +0 -1
  635. package/lib/Styles/StyleSet/RenderMarkdown.js +0 -67
  636. package/lib/Styles/StyleSet/Root.d.ts +0 -8
  637. package/lib/Styles/StyleSet/Root.d.ts.map +0 -1
  638. package/lib/Styles/StyleSet/Root.js +0 -19
  639. package/lib/Styles/StyleSet/ScrollToEndButton.d.ts +0 -36
  640. package/lib/Styles/StyleSet/ScrollToEndButton.d.ts.map +0 -1
  641. package/lib/Styles/StyleSet/ScrollToEndButton.js +0 -55
  642. package/lib/Styles/StyleSet/SendBox.d.ts +0 -24
  643. package/lib/Styles/StyleSet/SendBox.d.ts.map +0 -1
  644. package/lib/Styles/StyleSet/SendBox.js +0 -37
  645. package/lib/Styles/StyleSet/SendBoxButton.d.ts +0 -79
  646. package/lib/Styles/StyleSet/SendBoxButton.d.ts.map +0 -1
  647. package/lib/Styles/StyleSet/SendBoxButton.js +0 -112
  648. package/lib/Styles/StyleSet/SendBoxTextBox.d.ts +0 -41
  649. package/lib/Styles/StyleSet/SendBoxTextBox.d.ts.map +0 -1
  650. package/lib/Styles/StyleSet/SendBoxTextBox.js +0 -57
  651. package/lib/Styles/StyleSet/SendStatus.d.ts +0 -19
  652. package/lib/Styles/StyleSet/SendStatus.d.ts.map +0 -1
  653. package/lib/Styles/StyleSet/SendStatus.js +0 -29
  654. package/lib/Styles/StyleSet/SingleAttachmentActivity.d.ts +0 -11
  655. package/lib/Styles/StyleSet/SingleAttachmentActivity.d.ts.map +0 -1
  656. package/lib/Styles/StyleSet/SingleAttachmentActivity.js +0 -21
  657. package/lib/Styles/StyleSet/SlottedActivityStatus.d.ts +0 -12
  658. package/lib/Styles/StyleSet/SlottedActivityStatus.d.ts.map +0 -1
  659. package/lib/Styles/StyleSet/SlottedActivityStatus.js +0 -22
  660. package/lib/Styles/StyleSet/SpinnerAnimation.d.ts +0 -15
  661. package/lib/Styles/StyleSet/SpinnerAnimation.d.ts.map +0 -1
  662. package/lib/Styles/StyleSet/SpinnerAnimation.js +0 -34
  663. package/lib/Styles/StyleSet/StackedLayout.d.ts +0 -63
  664. package/lib/Styles/StyleSet/StackedLayout.d.ts.map +0 -1
  665. package/lib/Styles/StyleSet/StackedLayout.js +0 -77
  666. package/lib/Styles/StyleSet/SuggestedAction.d.ts +0 -94
  667. package/lib/Styles/StyleSet/SuggestedAction.d.ts.map +0 -1
  668. package/lib/Styles/StyleSet/SuggestedAction.js +0 -152
  669. package/lib/Styles/StyleSet/SuggestedActions.d.ts +0 -139
  670. package/lib/Styles/StyleSet/SuggestedActions.d.ts.map +0 -1
  671. package/lib/Styles/StyleSet/SuggestedActions.js +0 -165
  672. package/lib/Styles/StyleSet/TextContent.d.ts +0 -24
  673. package/lib/Styles/StyleSet/TextContent.d.ts.map +0 -1
  674. package/lib/Styles/StyleSet/TextContent.js +0 -34
  675. package/lib/Styles/StyleSet/ThumbButton.d.ts +0 -32
  676. package/lib/Styles/StyleSet/ThumbButton.d.ts.map +0 -1
  677. package/lib/Styles/StyleSet/ThumbButton.js +0 -44
  678. package/lib/Styles/StyleSet/Toast.d.ts +0 -65
  679. package/lib/Styles/StyleSet/Toast.d.ts.map +0 -1
  680. package/lib/Styles/StyleSet/Toast.js +0 -83
  681. package/lib/Styles/StyleSet/Toaster.d.ts +0 -111
  682. package/lib/Styles/StyleSet/Toaster.d.ts.map +0 -1
  683. package/lib/Styles/StyleSet/Toaster.js +0 -137
  684. package/lib/Styles/StyleSet/TypingAnimation.d.ts +0 -8
  685. package/lib/Styles/StyleSet/TypingAnimation.d.ts.map +0 -1
  686. package/lib/Styles/StyleSet/TypingAnimation.js +0 -26
  687. package/lib/Styles/StyleSet/TypingIndicator.d.ts +0 -11
  688. package/lib/Styles/StyleSet/TypingIndicator.d.ts.map +0 -1
  689. package/lib/Styles/StyleSet/TypingIndicator.js +0 -19
  690. package/lib/Styles/StyleSet/UploadButton.d.ts +0 -14
  691. package/lib/Styles/StyleSet/UploadButton.d.ts.map +0 -1
  692. package/lib/Styles/StyleSet/UploadButton.js +0 -27
  693. package/lib/Styles/StyleSet/VideoAttachment.d.ts +0 -2
  694. package/lib/Styles/StyleSet/VideoAttachment.d.ts.map +0 -1
  695. package/lib/Styles/StyleSet/VideoAttachment.js +0 -10
  696. package/lib/Styles/StyleSet/VideoContent.d.ts +0 -6
  697. package/lib/Styles/StyleSet/VideoContent.d.ts.map +0 -1
  698. package/lib/Styles/StyleSet/VideoContent.js +0 -14
  699. package/lib/Styles/StyleSet/VimeoContent.d.ts +0 -7
  700. package/lib/Styles/StyleSet/VimeoContent.d.ts.map +0 -1
  701. package/lib/Styles/StyleSet/VimeoContent.js +0 -15
  702. package/lib/Styles/StyleSet/WarningNotification.d.ts +0 -22
  703. package/lib/Styles/StyleSet/WarningNotification.d.ts.map +0 -1
  704. package/lib/Styles/StyleSet/WarningNotification.js +0 -37
  705. package/lib/Styles/StyleSet/YouTubeContent.d.ts +0 -7
  706. package/lib/Styles/StyleSet/YouTubeContent.d.ts.map +0 -1
  707. package/lib/Styles/StyleSet/YouTubeContent.js +0 -15
  708. package/lib/Styles/createStyleSet.d.ts.map +0 -1
  709. package/lib/Styles/createStyleSet.js +0 -121
  710. package/lib/Styles/mirrorStyle.js +0 -40
  711. package/lib/Toast/CheckMarkIcon.js +0 -36
  712. package/lib/Toast/CollapseIcon.js +0 -32
  713. package/lib/Toast/DismissIcon.js +0 -32
  714. package/lib/Toast/ExclamationMarkIcon.js +0 -34
  715. package/lib/Toast/ExpandIcon.js +0 -32
  716. package/lib/Toast/NotificationIcon.js +0 -46
  717. package/lib/Toast/createToastMiddleware.d.ts +0 -4
  718. package/lib/Toast/createToastMiddleware.d.ts.map +0 -1
  719. package/lib/Toast/createToastMiddleware.js +0 -26
  720. package/lib/Transcript/ActivityRow.d.ts +0 -9
  721. package/lib/Transcript/ActivityRow.d.ts.map +0 -1
  722. package/lib/Transcript/ActivityRow.js +0 -137
  723. package/lib/Transcript/FocusTrap.d.ts +0 -9
  724. package/lib/Transcript/FocusTrap.d.ts.map +0 -1
  725. package/lib/Transcript/FocusTrap.js +0 -76
  726. package/lib/Transcript/KeyboardHelp.d.ts +0 -4
  727. package/lib/Transcript/KeyboardHelp.d.ts.map +0 -1
  728. package/lib/Transcript/KeyboardHelp.js +0 -562
  729. package/lib/Transcript/LiveRegion/SendFailed.d.ts +0 -14
  730. package/lib/Transcript/LiveRegion/SendFailed.d.ts.map +0 -1
  731. package/lib/Transcript/LiveRegion/SendFailed.js +0 -90
  732. package/lib/Transcript/LiveRegion/isPresentational.d.ts +0 -9
  733. package/lib/Transcript/LiveRegion/isPresentational.d.ts.map +0 -1
  734. package/lib/Transcript/LiveRegion/isPresentational.js +0 -30
  735. package/lib/Transcript/LiveRegionTranscript.d.ts +0 -8
  736. package/lib/Transcript/LiveRegionTranscript.d.ts.map +0 -1
  737. package/lib/Transcript/LiveRegionTranscript.js +0 -178
  738. package/lib/Transcript/types.d.ts +0 -2
  739. package/lib/Transcript/types.d.ts.map +0 -1
  740. package/lib/Transcript/types.js +0 -2
  741. package/lib/Transcript/useActivityAccessibleName.d.ts +0 -11
  742. package/lib/Transcript/useActivityAccessibleName.d.ts.map +0 -1
  743. package/lib/Transcript/useActivityAccessibleName.js +0 -103
  744. package/lib/Transcript/useTypistNames.d.ts +0 -3
  745. package/lib/Transcript/useTypistNames.d.ts.map +0 -1
  746. package/lib/Transcript/useTypistNames.js +0 -50
  747. package/lib/TranscriptActivity.d.ts +0 -17
  748. package/lib/TranscriptActivity.d.ts.map +0 -1
  749. package/lib/TranscriptActivity.js +0 -48
  750. package/lib/Utils/AccessKeySink/Surface.js +0 -74
  751. package/lib/Utils/AccessKeySink/internal/Context.js +0 -11
  752. package/lib/Utils/AccessKeySink/internal/useContext.js +0 -13
  753. package/lib/Utils/AccessKeySink/useFocusAccessKeyEffect.js +0 -34
  754. package/lib/Utils/AccessibleButton.d.ts +0 -11
  755. package/lib/Utils/AccessibleButton.d.ts.map +0 -1
  756. package/lib/Utils/AccessibleButton.js +0 -78
  757. package/lib/Utils/AccessibleInputText.d.ts +0 -22
  758. package/lib/Utils/AccessibleInputText.d.ts.map +0 -1
  759. package/lib/Utils/AccessibleInputText.js +0 -114
  760. package/lib/Utils/AccessibleTextArea.d.ts +0 -20
  761. package/lib/Utils/AccessibleTextArea.d.ts.map +0 -1
  762. package/lib/Utils/AccessibleTextArea.js +0 -105
  763. package/lib/Utils/CroppedImage.js +0 -61
  764. package/lib/Utils/FocusRedirector.d.ts +0 -9
  765. package/lib/Utils/FocusRedirector.d.ts.map +0 -1
  766. package/lib/Utils/FocusRedirector.js +0 -61
  767. package/lib/Utils/InlineMarkdown.js +0 -166
  768. package/lib/Utils/JSONLinkedData/BlankNode.d.ts +0 -15
  769. package/lib/Utils/JSONLinkedData/BlankNode.d.ts.map +0 -1
  770. package/lib/Utils/JSONLinkedData/BlankNode.js +0 -2
  771. package/lib/Utils/JSONLinkedData/__snapshots__/dereferenceBlankNodes.spec.ts.snap +0 -92
  772. package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.d.ts +0 -16
  773. package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.d.ts.map +0 -1
  774. package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.js +0 -96
  775. package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.spec.d.ts +0 -2
  776. package/lib/Utils/JSONLinkedData/dereferenceBlankNodes.spec.d.ts.map +0 -1
  777. package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.d.ts +0 -10
  778. package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.d.ts.map +0 -1
  779. package/lib/Utils/JSONLinkedData/getSafeOwnPropertyNames.js +0 -22
  780. package/lib/Utils/JSONLinkedData/isBlankNode.d.ts +0 -10
  781. package/lib/Utils/JSONLinkedData/isBlankNode.d.ts.map +0 -1
  782. package/lib/Utils/JSONLinkedData/isBlankNode.js +0 -22
  783. package/lib/Utils/JSONLinkedData/isBlankNode.spec.d.ts +0 -2
  784. package/lib/Utils/JSONLinkedData/isBlankNode.spec.d.ts.map +0 -1
  785. package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.d.ts +0 -10
  786. package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.d.ts.map +0 -1
  787. package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.js +0 -21
  788. package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.spec.d.ts +0 -2
  789. package/lib/Utils/JSONLinkedData/isUnconnectedBlankNode.spec.d.ts.map +0 -1
  790. package/lib/Utils/JSONLinkedData/visitOnce.d.ts +0 -2
  791. package/lib/Utils/JSONLinkedData/visitOnce.d.ts.map +0 -1
  792. package/lib/Utils/JSONLinkedData/visitOnce.js +0 -17
  793. package/lib/Utils/LocalizedString.d.ts +0 -26
  794. package/lib/Utils/LocalizedString.d.ts.map +0 -1
  795. package/lib/Utils/LocalizedString.js +0 -138
  796. package/lib/Utils/TypeFocusSink/Context.js +0 -14
  797. package/lib/Utils/TypeFocusSink/FocusBox.js +0 -91
  798. package/lib/Utils/TypeFocusSink/getTabIndex.d.ts +0 -2
  799. package/lib/Utils/TypeFocusSink/getTabIndex.d.ts.map +0 -1
  800. package/lib/Utils/TypeFocusSink/getTabIndex.js +0 -27
  801. package/lib/Utils/TypeFocusSink/index.js +0 -18
  802. package/lib/Utils/TypeFocusSink/inputtableKey.d.ts +0 -2
  803. package/lib/Utils/TypeFocusSink/inputtableKey.d.ts.map +0 -1
  804. package/lib/Utils/TypeFocusSink/inputtableKey.js +0 -28
  805. package/lib/Utils/TypeFocusSink/navigableEvent.js +0 -59
  806. package/lib/Utils/activityAltText.d.ts +0 -8
  807. package/lib/Utils/activityAltText.d.ts.map +0 -1
  808. package/lib/Utils/activityAltText.js +0 -79
  809. package/lib/Utils/addTargetBlankToHyperlinksMarkdown.js +0 -34
  810. package/lib/Utils/betterLinks.d.ts +0 -28
  811. package/lib/Utils/betterLinks.d.ts.map +0 -1
  812. package/lib/Utils/betterLinks.js +0 -142
  813. package/lib/Utils/computeSuggestedActionText.d.ts +0 -3
  814. package/lib/Utils/computeSuggestedActionText.d.ts.map +0 -1
  815. package/lib/Utils/computeSuggestedActionText.js +0 -24
  816. package/lib/Utils/createCSSKey.js +0 -16
  817. package/lib/Utils/createCustomEvent.js +0 -34
  818. package/lib/Utils/detectBrowser.js +0 -27
  819. package/lib/Utils/downscaleImageToDataURL/WorkerJob.d.ts +0 -16
  820. package/lib/Utils/downscaleImageToDataURL/WorkerJob.d.ts.map +0 -1
  821. package/lib/Utils/downscaleImageToDataURL/WorkerJob.js +0 -2
  822. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.d.ts +0 -2
  823. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.d.ts.map +0 -1
  824. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingBrowser.js +0 -90
  825. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.d.ts +0 -4
  826. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.d.ts.map +0 -1
  827. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.js +0 -198
  828. package/lib/Utils/downscaleImageToDataURL/downscaleImageToDataURLUsingWorker.worker.js +0 -96
  829. package/lib/Utils/downscaleImageToDataURL/index.d.ts +0 -2
  830. package/lib/Utils/downscaleImageToDataURL/index.d.ts.map +0 -1
  831. package/lib/Utils/downscaleImageToDataURL/index.js +0 -44
  832. package/lib/Utils/filterMap.js +0 -28
  833. package/lib/Utils/findAncestor.d.ts +0 -2
  834. package/lib/Utils/findAncestor.d.ts.map +0 -1
  835. package/lib/Utils/findAncestor.js +0 -15
  836. package/lib/Utils/firstTabbableDescendant.js +0 -40
  837. package/lib/Utils/getActivityUniqueId.d.ts +0 -3
  838. package/lib/Utils/getActivityUniqueId.d.ts.map +0 -1
  839. package/lib/Utils/getActivityUniqueId.js +0 -11
  840. package/lib/Utils/intersectionOf.d.ts +0 -5
  841. package/lib/Utils/intersectionOf.d.ts.map +0 -1
  842. package/lib/Utils/intersectionOf.js +0 -27
  843. package/lib/Utils/isZeroOrPositive.d.ts +0 -5
  844. package/lib/Utils/isZeroOrPositive.d.ts.map +0 -1
  845. package/lib/Utils/isZeroOrPositive.js +0 -14
  846. package/lib/Utils/mapMap.js +0 -27
  847. package/lib/Utils/parseDocumentFromString.d.ts +0 -2
  848. package/lib/Utils/parseDocumentFromString.d.ts.map +0 -1
  849. package/lib/Utils/parseDocumentFromString.js +0 -11
  850. package/lib/Utils/randomId.js +0 -15
  851. package/lib/Utils/readDataURIToBlob.js +0 -44
  852. package/lib/Utils/removeInline.js +0 -18
  853. package/lib/Utils/scrollIntoViewWithBlockNearest.d.ts +0 -7
  854. package/lib/Utils/scrollIntoViewWithBlockNearest.d.ts.map +0 -1
  855. package/lib/Utils/scrollIntoViewWithBlockNearest.js +0 -38
  856. package/lib/Utils/serializeDocumentIntoString.d.ts +0 -2
  857. package/lib/Utils/serializeDocumentIntoString.d.ts.map +0 -1
  858. package/lib/Utils/serializeDocumentIntoString.js +0 -27
  859. package/lib/Utils/shallowEquals.js +0 -21
  860. package/lib/Utils/singleToArray.d.ts +0 -2
  861. package/lib/Utils/singleToArray.d.ts.map +0 -1
  862. package/lib/Utils/singleToArray.js +0 -10
  863. package/lib/Utils/supportPseudoClass.d.ts +0 -2
  864. package/lib/Utils/supportPseudoClass.d.ts.map +0 -1
  865. package/lib/Utils/supportPseudoClass.js +0 -21
  866. package/lib/Utils/tabbableElements.d.ts +0 -2
  867. package/lib/Utils/tabbableElements.d.ts.map +0 -1
  868. package/lib/Utils/tabbableElements.js +0 -20
  869. package/lib/Utils/textFormatToContentType.js +0 -17
  870. package/lib/Utils/updateMarkdownAttrs.js +0 -16
  871. package/lib/Utils/walkMarkdownTokens.js +0 -19
  872. package/lib/hooks/index.d.ts +0 -22
  873. package/lib/hooks/index.d.ts.map +0 -1
  874. package/lib/hooks/index.js +0 -152
  875. package/lib/hooks/internal/BypassSpeechSynthesisPonyfill.js +0 -278
  876. package/lib/hooks/internal/UITracker.js +0 -39
  877. package/lib/hooks/internal/WebChatUIContext.d.ts +0 -8
  878. package/lib/hooks/internal/WebChatUIContext.d.ts.map +0 -1
  879. package/lib/hooks/internal/WebChatUIContext.js +0 -11
  880. package/lib/hooks/internal/createWaitUntilable.d.ts +0 -5
  881. package/lib/hooks/internal/createWaitUntilable.d.ts.map +0 -1
  882. package/lib/hooks/internal/createWaitUntilable.js +0 -50
  883. package/lib/hooks/internal/createWaitUntilable.spec.d.ts +0 -2
  884. package/lib/hooks/internal/createWaitUntilable.spec.d.ts.map +0 -1
  885. package/lib/hooks/internal/private/createOnEventShim.d.ts +0 -5
  886. package/lib/hooks/internal/private/createOnEventShim.d.ts.map +0 -1
  887. package/lib/hooks/internal/private/createOnEventShim.js +0 -25
  888. package/lib/hooks/internal/private/createOnEventShim.spec.d.ts +0 -2
  889. package/lib/hooks/internal/private/createOnEventShim.spec.d.ts.map +0 -1
  890. package/lib/hooks/internal/useChanged.d.ts +0 -9
  891. package/lib/hooks/internal/useChanged.d.ts.map +0 -1
  892. package/lib/hooks/internal/useChanged.js +0 -21
  893. package/lib/hooks/internal/useDispatchScrollPosition.js +0 -12
  894. package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.d.ts +0 -2
  895. package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.d.ts.map +0 -1
  896. package/lib/hooks/internal/useDispatchTranscriptFocusByActivityKey.js +0 -12
  897. package/lib/hooks/internal/useEnterKeyHint.js +0 -18
  898. package/lib/hooks/internal/useFocusVisible.d.ts +0 -3
  899. package/lib/hooks/internal/useFocusVisible.d.ts.map +0 -1
  900. package/lib/hooks/internal/useFocusVisible.js +0 -37
  901. package/lib/hooks/internal/useFocusWithin.d.ts +0 -3
  902. package/lib/hooks/internal/useFocusWithin.d.ts.map +0 -1
  903. package/lib/hooks/internal/useFocusWithin.js +0 -38
  904. package/lib/hooks/internal/useForceRender.js +0 -24
  905. package/lib/hooks/internal/useForceRenderAtInterval.d.ts +0 -3
  906. package/lib/hooks/internal/useForceRenderAtInterval.d.ts.map +0 -1
  907. package/lib/hooks/internal/useForceRenderAtInterval.js +0 -57
  908. package/lib/hooks/internal/useInternalMarkdownIt.js +0 -14
  909. package/lib/hooks/internal/useInternalRenderMarkdownInline.js +0 -16
  910. package/lib/hooks/internal/useLocalizeAccessKey.d.ts +0 -2
  911. package/lib/hooks/internal/useLocalizeAccessKey.d.ts.map +0 -1
  912. package/lib/hooks/internal/useLocalizeAccessKey.js +0 -38
  913. package/lib/hooks/internal/useMemoWithPrevious.d.ts +0 -3
  914. package/lib/hooks/internal/useMemoWithPrevious.d.ts.map +0 -1
  915. package/lib/hooks/internal/useMemoWithPrevious.js +0 -20
  916. package/lib/hooks/internal/useMemoized.d.ts +0 -11
  917. package/lib/hooks/internal/useMemoized.d.ts.map +0 -1
  918. package/lib/hooks/internal/useMemoized.js +0 -82
  919. package/lib/hooks/internal/useMemoized.spec.jsx +0 -159
  920. package/lib/hooks/internal/useNavigatorPlatform.js +0 -31
  921. package/lib/hooks/internal/useNonce.js +0 -14
  922. package/lib/hooks/internal/useObserveFocusVisible.d.ts +0 -3
  923. package/lib/hooks/internal/useObserveFocusVisible.d.ts.map +0 -1
  924. package/lib/hooks/internal/useObserveFocusVisible.js +0 -201
  925. package/lib/hooks/internal/usePrevious.d.ts +0 -2
  926. package/lib/hooks/internal/usePrevious.d.ts.map +0 -1
  927. package/lib/hooks/internal/usePrevious.js +0 -17
  928. package/lib/hooks/internal/useRegisterFocusTranscript.js +0 -27
  929. package/lib/hooks/internal/useRegisterScrollTo.js +0 -27
  930. package/lib/hooks/internal/useRegisterScrollToEnd.js +0 -25
  931. package/lib/hooks/internal/useReplaceEmoticon.js +0 -58
  932. package/lib/hooks/internal/useResumeAudioContext.d.ts +0 -2
  933. package/lib/hooks/internal/useResumeAudioContext.d.ts.map +0 -1
  934. package/lib/hooks/internal/useResumeAudioContext.js +0 -23
  935. package/lib/hooks/internal/useSendBoxFocusRef.js +0 -12
  936. package/lib/hooks/internal/useSettableDictateAbortable.js +0 -15
  937. package/lib/hooks/internal/useStateRef.d.ts +0 -3
  938. package/lib/hooks/internal/useStateRef.d.ts.map +0 -1
  939. package/lib/hooks/internal/useStateRef.js +0 -30
  940. package/lib/hooks/internal/useStyleToEmotionObject.js +0 -12
  941. package/lib/hooks/internal/useSuggestedActionsAccessKey.js +0 -14
  942. package/lib/hooks/internal/useTimer.d.ts +0 -5
  943. package/lib/hooks/internal/useTimer.d.ts.map +0 -1
  944. package/lib/hooks/internal/useTimer.js +0 -46
  945. package/lib/hooks/internal/useTranscriptActivityElementsRef.js +0 -12
  946. package/lib/hooks/internal/useTranscriptFocusRef.js +0 -12
  947. package/lib/hooks/internal/useUniqueId.d.ts +0 -2
  948. package/lib/hooks/internal/useUniqueId.d.ts.map +0 -1
  949. package/lib/hooks/internal/useUniqueId.js +0 -19
  950. package/lib/hooks/internal/useValueRef.d.ts +0 -3
  951. package/lib/hooks/internal/useValueRef.d.ts.map +0 -1
  952. package/lib/hooks/internal/useValueRef.js +0 -24
  953. package/lib/hooks/internal/useWebChatUIContext.js +0 -17
  954. package/lib/hooks/sendBoxFocus.d.ts +0 -7
  955. package/lib/hooks/sendBoxFocus.d.ts.map +0 -1
  956. package/lib/hooks/sendBoxFocus.js +0 -13
  957. package/lib/hooks/transcriptScrollRelative.d.ts +0 -7
  958. package/lib/hooks/transcriptScrollRelative.d.ts.map +0 -1
  959. package/lib/hooks/transcriptScrollRelative.js +0 -13
  960. package/lib/hooks/useDictateAbortable.d.ts +0 -2
  961. package/lib/hooks/useDictateAbortable.d.ts.map +0 -1
  962. package/lib/hooks/useDictateAbortable.js +0 -22
  963. package/lib/hooks/useFocus.d.ts +0 -2
  964. package/lib/hooks/useFocus.d.ts.map +0 -1
  965. package/lib/hooks/useFocus.js +0 -65
  966. package/lib/hooks/useMakeThumbnail.d.ts +0 -2
  967. package/lib/hooks/useMakeThumbnail.d.ts.map +0 -1
  968. package/lib/hooks/useMakeThumbnail.js +0 -74
  969. package/lib/hooks/useObserveScrollPosition.d.ts +0 -3
  970. package/lib/hooks/useObserveScrollPosition.d.ts.map +0 -1
  971. package/lib/hooks/useObserveScrollPosition.js +0 -31
  972. package/lib/hooks/useObserveTranscriptFocus.d.ts +0 -5
  973. package/lib/hooks/useObserveTranscriptFocus.d.ts.map +0 -1
  974. package/lib/hooks/useObserveTranscriptFocus.js +0 -31
  975. package/lib/hooks/useRenderMarkdownAsHTML.d.ts +0 -5
  976. package/lib/hooks/useRenderMarkdownAsHTML.d.ts.map +0 -1
  977. package/lib/hooks/useRenderMarkdownAsHTML.js +0 -62
  978. package/lib/hooks/useScrollDown.d.ts +0 -4
  979. package/lib/hooks/useScrollDown.d.ts.map +0 -1
  980. package/lib/hooks/useScrollDown.js +0 -20
  981. package/lib/hooks/useScrollTo.d.ts +0 -5
  982. package/lib/hooks/useScrollTo.d.ts.map +0 -1
  983. package/lib/hooks/useScrollTo.js +0 -22
  984. package/lib/hooks/useScrollToEnd.d.ts +0 -2
  985. package/lib/hooks/useScrollToEnd.d.ts.map +0 -1
  986. package/lib/hooks/useScrollToEnd.js +0 -21
  987. package/lib/hooks/useScrollUp.d.ts +0 -4
  988. package/lib/hooks/useScrollUp.d.ts.map +0 -1
  989. package/lib/hooks/useScrollUp.js +0 -20
  990. package/lib/hooks/useSendFiles.d.ts +0 -5
  991. package/lib/hooks/useSendFiles.d.ts.map +0 -1
  992. package/lib/hooks/useSendFiles.js +0 -63
  993. package/lib/hooks/useSendMessage.d.ts +0 -8
  994. package/lib/hooks/useSendMessage.d.ts.map +0 -1
  995. package/lib/hooks/useSendMessage.js +0 -102
  996. package/lib/hooks/useStyleSet.d.ts +0 -3
  997. package/lib/hooks/useStyleSet.d.ts.map +0 -1
  998. package/lib/hooks/useStyleSet.js +0 -13
  999. package/lib/hooks/useWebSpeechPonyfill.d.ts +0 -3
  1000. package/lib/hooks/useWebSpeechPonyfill.d.ts.map +0 -1
  1001. package/lib/hooks/useWebSpeechPonyfill.js +0 -12
  1002. package/lib/index.d.ts +0 -330
  1003. package/lib/index.d.ts.map +0 -1
  1004. package/lib/index.js +0 -164
  1005. package/lib/internal.d.ts +0 -4
  1006. package/lib/internal.d.ts.map +0 -1
  1007. package/lib/internal.js +0 -21
  1008. package/lib/providers/ActivityTree/ActivityTreeComposer.d.ts +0 -7
  1009. package/lib/providers/ActivityTree/ActivityTreeComposer.d.ts.map +0 -1
  1010. package/lib/providers/ActivityTree/ActivityTreeComposer.js +0 -90
  1011. package/lib/providers/ActivityTree/private/Context.d.ts +0 -9
  1012. package/lib/providers/ActivityTree/private/Context.d.ts.map +0 -1
  1013. package/lib/providers/ActivityTree/private/Context.js +0 -10
  1014. package/lib/providers/ActivityTree/private/types.d.ts +0 -10
  1015. package/lib/providers/ActivityTree/private/types.d.ts.map +0 -1
  1016. package/lib/providers/ActivityTree/private/types.js +0 -2
  1017. package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.d.ts +0 -4
  1018. package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.d.ts.map +0 -1
  1019. package/lib/providers/ActivityTree/private/useActivitiesWithRenderer.js +0 -36
  1020. package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.d.ts +0 -5
  1021. package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.d.ts.map +0 -1
  1022. package/lib/providers/ActivityTree/private/useActivityTreeWithRenderer.js +0 -147
  1023. package/lib/providers/ActivityTree/private/useContext.d.ts +0 -3
  1024. package/lib/providers/ActivityTree/private/useContext.d.ts.map +0 -1
  1025. package/lib/providers/ActivityTree/private/useContext.js +0 -18
  1026. package/lib/providers/ActivityTree/useActivityTreeWithRenderer.d.ts +0 -8
  1027. package/lib/providers/ActivityTree/useActivityTreeWithRenderer.d.ts.map +0 -1
  1028. package/lib/providers/ActivityTree/useActivityTreeWithRenderer.js +0 -14
  1029. package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.d.ts +0 -37
  1030. package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.d.ts.map +0 -1
  1031. package/lib/providers/LiveRegionTwin/LiveRegionTwinComposer.js +0 -145
  1032. package/lib/providers/LiveRegionTwin/private/Context.d.ts +0 -10
  1033. package/lib/providers/LiveRegionTwin/private/Context.d.ts.map +0 -1
  1034. package/lib/providers/LiveRegionTwin/private/Context.js +0 -11
  1035. package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.d.ts +0 -12
  1036. package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.d.ts.map +0 -1
  1037. package/lib/providers/LiveRegionTwin/private/LiveRegionTwinContainer.js +0 -77
  1038. package/lib/providers/LiveRegionTwin/private/types.d.ts +0 -8
  1039. package/lib/providers/LiveRegionTwin/private/types.d.ts.map +0 -1
  1040. package/lib/providers/LiveRegionTwin/private/types.js +0 -2
  1041. package/lib/providers/LiveRegionTwin/private/useContext.d.ts +0 -3
  1042. package/lib/providers/LiveRegionTwin/private/useContext.d.ts.map +0 -1
  1043. package/lib/providers/LiveRegionTwin/private/useContext.js +0 -18
  1044. package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.d.ts +0 -2
  1045. package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.d.ts.map +0 -1
  1046. package/lib/providers/LiveRegionTwin/private/useMarkAllAsRenderedEffect.js +0 -20
  1047. package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.d.ts +0 -3
  1048. package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.d.ts.map +0 -1
  1049. package/lib/providers/LiveRegionTwin/private/useStaticElementEntries.js +0 -12
  1050. package/lib/providers/LiveRegionTwin/useQueueStaticElement.d.ts +0 -8
  1051. package/lib/providers/LiveRegionTwin/useQueueStaticElement.d.ts.map +0 -1
  1052. package/lib/providers/LiveRegionTwin/useQueueStaticElement.js +0 -17
  1053. package/lib/providers/ModalDialog/ModalDialogComposer.d.ts +0 -7
  1054. package/lib/providers/ModalDialog/ModalDialogComposer.d.ts.map +0 -1
  1055. package/lib/providers/ModalDialog/ModalDialogComposer.js +0 -51
  1056. package/lib/providers/ModalDialog/private/Context.d.ts +0 -13
  1057. package/lib/providers/ModalDialog/private/Context.d.ts.map +0 -1
  1058. package/lib/providers/ModalDialog/private/Context.js +0 -24
  1059. package/lib/providers/ModalDialog/private/Popover.d.ts +0 -10
  1060. package/lib/providers/ModalDialog/private/Popover.d.ts.map +0 -1
  1061. package/lib/providers/ModalDialog/private/Popover.js +0 -79
  1062. package/lib/providers/ModalDialog/private/useContext.d.ts +0 -4
  1063. package/lib/providers/ModalDialog/private/useContext.d.ts.map +0 -1
  1064. package/lib/providers/ModalDialog/private/useContext.js +0 -13
  1065. package/lib/providers/ModalDialog/useClose.d.ts +0 -3
  1066. package/lib/providers/ModalDialog/useClose.d.ts.map +0 -1
  1067. package/lib/providers/ModalDialog/useClose.js +0 -12
  1068. package/lib/providers/ModalDialog/useShowModal.d.ts +0 -3
  1069. package/lib/providers/ModalDialog/useShowModal.d.ts.map +0 -1
  1070. package/lib/providers/ModalDialog/useShowModal.js +0 -12
  1071. package/lib/providers/RovingTabIndex/RovingTabIndexComposer.d.ts +0 -8
  1072. package/lib/providers/RovingTabIndex/RovingTabIndexComposer.d.ts.map +0 -1
  1073. package/lib/providers/RovingTabIndex/RovingTabIndexComposer.js +0 -163
  1074. package/lib/providers/RovingTabIndex/private/Context.d.ts +0 -8
  1075. package/lib/providers/RovingTabIndex/private/Context.d.ts.map +0 -1
  1076. package/lib/providers/RovingTabIndex/private/Context.js +0 -17
  1077. package/lib/providers/RovingTabIndex/private/useContext.d.ts +0 -2
  1078. package/lib/providers/RovingTabIndex/private/useContext.d.ts.map +0 -1
  1079. package/lib/providers/RovingTabIndex/private/useContext.js +0 -18
  1080. package/lib/providers/RovingTabIndex/useItemRef.d.ts +0 -3
  1081. package/lib/providers/RovingTabIndex/useItemRef.d.ts.map +0 -1
  1082. package/lib/providers/RovingTabIndex/useItemRef.js +0 -19
  1083. package/lib/providers/Theme/ThemeProvider.d.ts +0 -7
  1084. package/lib/providers/Theme/ThemeProvider.d.ts.map +0 -1
  1085. package/lib/providers/Theme/ThemeProvider.js +0 -103
  1086. package/lib/providers/Theme/private/Context.d.ts +0 -19
  1087. package/lib/providers/Theme/private/Context.d.ts.map +0 -1
  1088. package/lib/providers/Theme/private/Context.js +0 -26
  1089. package/lib/providers/Theme/useTheme.d.ts +0 -2
  1090. package/lib/providers/Theme/useTheme.d.ts.map +0 -1
  1091. package/lib/providers/Theme/useTheme.js +0 -13
  1092. package/lib/providers/TranscriptFocus/TranscriptFocusComposer.d.ts +0 -7
  1093. package/lib/providers/TranscriptFocus/TranscriptFocusComposer.d.ts.map +0 -1
  1094. package/lib/providers/TranscriptFocus/TranscriptFocusComposer.js +0 -153
  1095. package/lib/providers/TranscriptFocus/private/Context.d.ts +0 -12
  1096. package/lib/providers/TranscriptFocus/private/Context.d.ts.map +0 -1
  1097. package/lib/providers/TranscriptFocus/private/Context.js +0 -11
  1098. package/lib/providers/TranscriptFocus/private/useContext.d.ts +0 -2
  1099. package/lib/providers/TranscriptFocus/private/useContext.d.ts.map +0 -1
  1100. package/lib/providers/TranscriptFocus/private/useContext.js +0 -18
  1101. package/lib/providers/TranscriptFocus/useActiveDescendantId.d.ts +0 -2
  1102. package/lib/providers/TranscriptFocus/useActiveDescendantId.d.ts.map +0 -1
  1103. package/lib/providers/TranscriptFocus/useActiveDescendantId.js +0 -12
  1104. package/lib/providers/TranscriptFocus/useFocusByActivityKey.d.ts +0 -8
  1105. package/lib/providers/TranscriptFocus/useFocusByActivityKey.d.ts.map +0 -1
  1106. package/lib/providers/TranscriptFocus/useFocusByActivityKey.js +0 -18
  1107. package/lib/providers/TranscriptFocus/useFocusRelativeActivity.d.ts +0 -2
  1108. package/lib/providers/TranscriptFocus/useFocusRelativeActivity.d.ts.map +0 -1
  1109. package/lib/providers/TranscriptFocus/useFocusRelativeActivity.js +0 -12
  1110. package/lib/providers/TranscriptFocus/useFocusedActivityKey.d.ts +0 -2
  1111. package/lib/providers/TranscriptFocus/useFocusedActivityKey.d.ts.map +0 -1
  1112. package/lib/providers/TranscriptFocus/useFocusedActivityKey.js +0 -12
  1113. package/lib/providers/TranscriptFocus/useFocusedExplicitly.d.ts +0 -2
  1114. package/lib/providers/TranscriptFocus/useFocusedExplicitly.d.ts.map +0 -1
  1115. package/lib/providers/TranscriptFocus/useFocusedExplicitly.js +0 -12
  1116. package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.d.ts +0 -2
  1117. package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.d.ts.map +0 -1
  1118. package/lib/providers/TranscriptFocus/useGetDescendantIdByActivityKey.js +0 -12
  1119. package/lib/providers/internal/SendBox/SendBoxComposer.d.ts +0 -4
  1120. package/lib/providers/internal/SendBox/SendBoxComposer.d.ts.map +0 -1
  1121. package/lib/providers/internal/SendBox/SendBoxComposer.js +0 -161
  1122. package/lib/providers/internal/SendBox/private/Context.d.ts +0 -4
  1123. package/lib/providers/internal/SendBox/private/Context.d.ts.map +0 -1
  1124. package/lib/providers/internal/SendBox/private/Context.js +0 -11
  1125. package/lib/providers/internal/SendBox/private/types.d.ts +0 -8
  1126. package/lib/providers/internal/SendBox/private/types.d.ts.map +0 -1
  1127. package/lib/providers/internal/SendBox/private/types.js +0 -2
  1128. package/lib/providers/internal/SendBox/private/useContext.d.ts +0 -3
  1129. package/lib/providers/internal/SendBox/private/useContext.d.ts.map +0 -1
  1130. package/lib/providers/internal/SendBox/private/useContext.js +0 -17
  1131. package/lib/providers/internal/SendBox/useErrorMessageId.d.ts +0 -12
  1132. package/lib/providers/internal/SendBox/useErrorMessageId.d.ts.map +0 -1
  1133. package/lib/providers/internal/SendBox/useErrorMessageId.js +0 -22
  1134. package/lib/providers/internal/SendBox/useSubmit.d.ts +0 -14
  1135. package/lib/providers/internal/SendBox/useSubmit.d.ts.map +0 -1
  1136. package/lib/providers/internal/SendBox/useSubmit.js +0 -20
  1137. package/lib/tsconfig.json +0 -18
  1138. package/lib/types/ContextOf.d.ts +0 -4
  1139. package/lib/types/ContextOf.d.ts.map +0 -1
  1140. package/lib/types/ContextOf.js +0 -2
  1141. package/lib/types/PropsOf.d.ts +0 -3
  1142. package/lib/types/PropsOf.d.ts.map +0 -1
  1143. package/lib/types/PropsOf.js +0 -2
  1144. package/lib/types/ScrollPosition.d.ts +0 -6
  1145. package/lib/types/ScrollPosition.d.ts.map +0 -1
  1146. package/lib/types/ScrollPosition.js +0 -2
  1147. package/lib/types/internal/FocusTranscriptInit.d.ts +0 -4
  1148. package/lib/types/internal/FocusTranscriptInit.d.ts.map +0 -1
  1149. package/lib/types/internal/FocusTranscriptInit.js +0 -2
  1150. package/lib/types/internal/SendStatus.d.ts +0 -7
  1151. package/lib/types/internal/SendStatus.d.ts.map +0 -1
  1152. package/lib/types/internal/SendStatus.js +0 -19
  1153. package/lib/types/internal/TypeOfArray.d.ts +0 -2
  1154. package/lib/types/internal/TypeOfArray.d.ts.map +0 -1
  1155. package/lib/types/internal/TypeOfArray.js +0 -2
  1156. package/lib/withEmoji/private/UndoEntry.d.ts +0 -9
  1157. package/lib/withEmoji/private/UndoEntry.d.ts.map +0 -1
  1158. package/lib/withEmoji/private/UndoEntry.js +0 -69
  1159. package/lib/withEmoji/private/useUndoStack.d.ts +0 -6
  1160. package/lib/withEmoji/private/useUndoStack.d.ts.map +0 -1
  1161. package/lib/withEmoji/private/useUndoStack.js +0 -64
  1162. package/lib/withEmoji/withEmoji.d.ts +0 -15
  1163. package/lib/withEmoji/withEmoji.d.ts.map +0 -1
  1164. package/lib/withEmoji/withEmoji.js +0 -128
  1165. package/src/Activity/SayAlt.js +0 -26
  1166. package/src/ActivityStatus/Slotted.tsx +0 -26
  1167. package/src/ActivityStatus/private/Feedback/Feedback.tsx +0 -60
  1168. package/src/ActivityStatus/private/Feedback/private/VoteButton.tsx +0 -36
  1169. package/src/Attachment/Assets/DownloadIcon.js +0 -29
  1170. package/src/Avatar/ImageAvatar.js +0 -49
  1171. package/src/Middleware/ScrollToEndButton/ScrollToEndButton.js +0 -45
  1172. package/src/Styles/StyleSet/CSSCustomProperties.ts +0 -46
  1173. package/src/Styles/StyleSet/KeyboardHelp.ts +0 -204
  1174. package/src/Styles/StyleSet/SingleAttachmentActivity.ts +0 -18
  1175. package/src/Styles/StyleSet/SlottedActivityStatus.ts +0 -16
  1176. package/src/Transcript/KeyboardHelp.tsx +0 -319
  1177. package/src/TranscriptActivity.tsx +0 -64
  1178. package/src/Utils/CroppedImage.js +0 -45
  1179. package/src/Utils/parseDocumentFromString.ts +0 -5
  1180. package/src/Utils/serializeDocumentIntoString.ts +0 -10
  1181. package/src/hooks/internal/useStyleToEmotionObject.js +0 -5
  1182. package/src/providers/ActivityTree/ActivityTreeComposer.tsx +0 -90
  1183. package/src/providers/ActivityTree/private/Context.ts +0 -12
  1184. package/src/providers/ActivityTree/private/types.ts +0 -12
  1185. package/src/providers/ActivityTree/private/useActivitiesWithRenderer.ts +0 -40
  1186. package/src/providers/ActivityTree/private/useActivityTreeWithRenderer.ts +0 -140
  1187. package/src/providers/ActivityTree/private/useContext.ts +0 -15
  1188. package/src/providers/ActivityTree/useActivityTreeWithRenderer.ts +0 -16
  1189. package/src/providers/LiveRegionTwin/LiveRegionTwinComposer.tsx +0 -172
  1190. package/src/providers/LiveRegionTwin/private/Context.ts +0 -15
  1191. /package/dist/{chunk-X37JABN5.mjs.LEGAL.txt → botframework-webchat-component.decorator.css.LEGAL.txt} +0 -0
  1192. /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbDislike16Filled.tsx +0 -0
  1193. /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbDislike16Regular.tsx +0 -0
  1194. /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbLike16Filled.tsx +0 -0
  1195. /package/src/{ActivityStatus/private/Feedback/private/icons → ActivityFeedback/private}/ThumbLike16Regular.tsx +0 -0
@@ -1,12 +1,462 @@
1
- import { StyleOptions } from 'botframework-webchat-api';
2
- export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1
+ import * as valibot from 'valibot';
2
+ import { InferInput } from 'valibot';
3
+ import * as react from 'react';
4
+ import react__default, { ReactNode, MutableRefObject, ComponentType, ChangeEvent, FocusEvent, KeyboardEvent, SyntheticEvent, Context as Context$1 } from 'react';
5
+ import * as botframework_webchat_api from 'botframework-webchat-api';
6
+ import { ActivityMiddleware, ActivityStatusMiddleware, AttachmentForScreenReaderMiddleware, AttachmentMiddleware, AvatarMiddleware, CardActionMiddleware, GroupActivitiesMiddleware, ScrollToEndButtonMiddleware, SendBoxMiddleware, SendBoxToolbarMiddleware, StyleOptions, ToastMiddleware, TypingIndicatorMiddleware, ComposerProps as ComposerProps$1, WebSpeechPonyfillFactory, StrictStyleOptions, WebSpeechPonyfill, hooks as hooks$1 } from 'botframework-webchat-api';
7
+ export { concatMiddleware, localize } from 'botframework-webchat-api';
8
+ import * as PropTypes from 'prop-types';
9
+ import PropTypes__default from 'prop-types';
10
+ import * as botframework_webchat_core from 'botframework-webchat-core';
11
+ import { WebChatActivity, SendBoxAttachment } from 'botframework-webchat-core';
12
+ export { WebChatActivity } from 'botframework-webchat-core';
13
+ import { DecoratorMiddleware } from 'botframework-webchat-api/decorator';
14
+ import { EmptyObject } from 'type-fest';
15
+
16
+ type AttributeSetter = false | string | ((value?: string) => string);
17
+ type LinkOptions = {
18
+ /** Value of "aria-label" attribute of the link. If set to `false`, remove existing attribute. */
19
+ ariaLabel?: AttributeSetter;
20
+ /** Turns this link into a <button> with "value" attribute instead of "href". */
21
+ asButton?: boolean;
22
+ /** Value of "class" attribute of the link. If set to `false`, remove existing attribute. */
23
+ className?: AttributeSetter;
24
+ /** Alternate text of the image icon appended to the link. */
25
+ iconAlt?: string;
26
+ /** Class name of the image icon appended to the link. */
27
+ iconClassName?: string;
28
+ /** Value of "rel" attribute of the link. If set to `false`, remove existing attribute. */
29
+ rel?: AttributeSetter;
30
+ /** Value of "target" attribute of the link. If set to `false`, remove existing attribute. */
31
+ target?: AttributeSetter;
32
+ /** Value of "title" attribute of the link. If set to `false`, remove existing attribute. */
33
+ title?: AttributeSetter;
34
+ /** Wraps the link with zero-width space. */
35
+ wrapZeroWidthSpace?: boolean;
36
+ };
37
+
38
+ declare const uploadButtonPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
39
+ readonly className: valibot.StringSchema<undefined>;
40
+ }, undefined>, valibot.ReadonlyAction<{
41
+ className: string;
42
+ }>]>;
43
+ type UploadButtonProps = InferInput<typeof uploadButtonPropsSchema>;
44
+
45
+ declare const dictationInterimsPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
46
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
47
+ }, undefined>, valibot.ReadonlyAction<{
48
+ className?: string;
49
+ }>]>;
50
+ type DictationInterimsProps = InferInput<typeof dictationInterimsPropsSchema>;
51
+
52
+ declare const timestampPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
53
+ readonly timestamp: valibot.UnionSchema<[valibot.DateSchema<undefined>, valibot.NumberSchema<undefined>, valibot.StringSchema<undefined>], undefined>;
54
+ }, undefined>, valibot.ReadonlyAction<{
55
+ timestamp: string | number | Date;
56
+ }>]>;
57
+ type TimestampProps = InferInput<typeof timestampPropsSchema>;
58
+
59
+ declare const speakPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
60
+ readonly activity: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
61
+ readonly attachments: valibot.OptionalSchema<valibot.SchemaWithPipe<readonly [valibot.ArraySchema<valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
62
+ readonly content: valibot.OptionalSchema<valibot.AnySchema, undefined>;
63
+ readonly contentType: valibot.StringSchema<undefined>;
64
+ readonly speak: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
65
+ readonly subtitle: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
66
+ readonly text: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
67
+ readonly title: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
68
+ }, undefined>, valibot.ReadonlyAction<{
69
+ content?: any;
70
+ contentType: string;
71
+ speak?: string;
72
+ subtitle?: string;
73
+ text?: string;
74
+ title?: string;
75
+ }>]>, undefined>, valibot.ReadonlyAction<Readonly<{
76
+ content?: any;
77
+ contentType: string;
78
+ speak?: string;
79
+ subtitle?: string;
80
+ text?: string;
81
+ title?: string;
82
+ }>[]>]>, undefined>;
83
+ readonly channelData: valibot.OptionalSchema<valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
84
+ readonly speechSynthesisUtterance: valibot.OptionalSchema<valibot.AnySchema, undefined>;
85
+ }, undefined>, valibot.ReadonlyAction<{
86
+ speechSynthesisUtterance?: any;
87
+ }>]>, undefined>;
88
+ readonly speak: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
89
+ readonly text: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
90
+ readonly type: valibot.StringSchema<undefined>;
91
+ }, undefined>, valibot.ReadonlyAction<{
92
+ attachments?: readonly Readonly<{
93
+ content?: any;
94
+ contentType: string;
95
+ speak?: string;
96
+ subtitle?: string;
97
+ text?: string;
98
+ title?: string;
99
+ }>[];
100
+ channelData?: Readonly<{
101
+ speechSynthesisUtterance?: any;
102
+ }>;
103
+ speak?: string;
104
+ text?: string;
105
+ type: string;
106
+ }>]>;
107
+ }, undefined>, valibot.ReadonlyAction<{
108
+ readonly activity: Readonly<{
109
+ attachments?: readonly Readonly<{
110
+ content?: any;
111
+ contentType: string;
112
+ speak?: string;
113
+ subtitle?: string;
114
+ text?: string;
115
+ title?: string;
116
+ }>[];
117
+ channelData?: Readonly<{
118
+ speechSynthesisUtterance?: any;
119
+ }>;
120
+ speak?: string;
121
+ text?: string;
122
+ type: string;
123
+ }>;
124
+ }>]>;
125
+ type SpeakProps = InferInput<typeof speakPropsSchema>;
126
+
127
+ declare const sendStatusPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
128
+ readonly activity: valibot.AnySchema;
129
+ readonly sendStatus: valibot.UnionSchema<[valibot.LiteralSchema<"sending", undefined>, valibot.LiteralSchema<"send failed", undefined>, valibot.LiteralSchema<"sent", undefined>], undefined>;
130
+ }, undefined>, valibot.ReadonlyAction<{
131
+ activity: any;
132
+ sendStatus: "send failed" | "sending" | "sent";
133
+ }>]>;
134
+ type SendStatusProps = InferInput<typeof sendStatusPropsSchema>;
135
+
136
+ declare const errorBoxPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
137
+ readonly error: valibot.InstanceSchema<ErrorConstructor, undefined>;
138
+ readonly type: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
139
+ }, undefined>, valibot.ReadonlyAction<{
140
+ error: Error;
141
+ type?: string;
142
+ }>]>;
143
+ type ErrorBoxProps = InferInput<typeof errorBoxPropsSchema>;
144
+
145
+ declare const bubblePropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
146
+ readonly 'aria-hidden': valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
147
+ readonly children: valibot.OptionalSchema<valibot.CustomSchema<react__default.ReactNode, undefined>, undefined>;
148
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
149
+ readonly fromUser: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
150
+ readonly nub: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"hidden", undefined>], undefined>, undefined>;
151
+ }, undefined>, valibot.ReadonlyAction<{
152
+ 'aria-hidden'?: boolean;
153
+ children?: react__default.ReactNode;
154
+ className?: string;
155
+ fromUser?: boolean;
156
+ nub?: boolean | "hidden";
157
+ }>]>;
158
+ type BubbleProps = InferInput<typeof bubblePropsSchema>;
159
+
160
+ declare const avatarPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
161
+ readonly 'aria-hidden': valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
162
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
163
+ readonly fromUser: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
164
+ }, undefined>, valibot.ReadonlyAction<{
165
+ 'aria-hidden'?: boolean;
166
+ className?: string;
167
+ fromUser?: boolean;
168
+ }>]>;
169
+ type AvatarProps = InferInput<typeof avatarPropsSchema>;
170
+
171
+ declare const youTubeContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
172
+ readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
173
+ readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
174
+ readonly embedID: valibot.StringSchema<undefined>;
175
+ readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
176
+ }, undefined>, valibot.ReadonlyAction<{
177
+ alt?: string;
178
+ autoPlay?: boolean;
179
+ embedID: string;
180
+ loop?: boolean;
181
+ }>]>;
182
+ type YouTubeContentProps = InferInput<typeof youTubeContentPropsSchema>;
183
+
184
+ declare const vimeoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
185
+ readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
186
+ readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
187
+ readonly embedID: valibot.StringSchema<undefined>;
188
+ readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
189
+ }, undefined>, valibot.ReadonlyAction<{
190
+ alt?: string;
191
+ autoPlay?: boolean;
192
+ embedID: string;
193
+ loop?: boolean;
194
+ }>]>;
195
+ type VimeoContentProps = InferInput<typeof vimeoContentPropsSchema>;
196
+
197
+ declare const videoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
198
+ readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
199
+ readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
200
+ readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
201
+ readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
202
+ readonly src: valibot.StringSchema<undefined>;
203
+ }, undefined>, valibot.ReadonlyAction<{
204
+ alt?: string;
205
+ autoPlay?: boolean;
206
+ loop?: boolean;
207
+ poster?: string;
208
+ src: string;
209
+ }>]>;
210
+ type VideoContentProps = InferInput<typeof videoContentPropsSchema>;
211
+
212
+ declare const textContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
213
+ readonly activity: valibot.AnySchema;
214
+ readonly contentType: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
215
+ readonly text: valibot.StringSchema<undefined>;
216
+ }, undefined>, valibot.ReadonlyAction<{
217
+ activity: any;
218
+ contentType?: string;
219
+ text: string;
220
+ }>]>;
221
+ type TextContentProps = InferInput<typeof textContentPropsSchema>;
222
+
223
+ declare const htmlVideoContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
224
+ readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
225
+ readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
226
+ readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
227
+ readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
228
+ readonly src: valibot.StringSchema<undefined>;
229
+ }, undefined>, valibot.ReadonlyAction<{
230
+ alt?: string;
231
+ autoPlay?: boolean;
232
+ loop?: boolean;
233
+ poster?: string;
234
+ src: string;
235
+ }>]>;
236
+ type HTMLVideoContentProps = InferInput<typeof htmlVideoContentPropsSchema>;
237
+
238
+ type FileContentProps = InferInput<typeof fileContentPropsSchema>;
239
+ declare const fileContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
240
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
241
+ readonly fileName: valibot.StringSchema<undefined>;
242
+ readonly href: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
243
+ readonly size: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
244
+ }, undefined>, valibot.ReadonlyAction<{
245
+ className?: string;
246
+ fileName: string;
247
+ href?: string;
248
+ size?: number;
249
+ }>]>;
250
+
251
+ declare const audioContentPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
252
+ readonly alt: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
253
+ readonly autoPlay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
254
+ readonly loop: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
255
+ readonly poster: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
256
+ readonly src: valibot.StringSchema<undefined>;
257
+ }, undefined>, valibot.ReadonlyAction<{
258
+ alt?: string;
259
+ autoPlay?: boolean;
260
+ loop?: boolean;
261
+ poster?: string;
262
+ src: string;
263
+ }>]>;
264
+ type AudioContentProps = InferInput<typeof audioContentPropsSchema>;
265
+
266
+ declare function useSendBoxSpeechInterimsVisible(): [boolean];
267
+ declare const basicSendBoxPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
268
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
269
+ }, undefined>, valibot.ReadonlyAction<{
270
+ className?: string;
271
+ }>]>;
272
+ type BasicSendBoxProps = InferInput<typeof basicSendBoxPropsSchema>;
273
+
274
+ type ThemeContextType = {
275
+ activityMiddleware: readonly ActivityMiddleware[];
276
+ activityStatusMiddleware: readonly ActivityStatusMiddleware[];
277
+ attachmentForScreenReaderMiddleware: readonly AttachmentForScreenReaderMiddleware[];
278
+ attachmentMiddleware: readonly AttachmentMiddleware[];
279
+ avatarMiddleware: readonly AvatarMiddleware[];
280
+ cardActionMiddleware: readonly CardActionMiddleware[];
281
+ groupActivitiesMiddleware: readonly GroupActivitiesMiddleware[];
282
+ scrollToEndButtonMiddleware: readonly ScrollToEndButtonMiddleware[];
283
+ sendBoxMiddleware: readonly SendBoxMiddleware[];
284
+ sendBoxToolbarMiddleware: readonly SendBoxToolbarMiddleware[];
285
+ styleOptions: StyleOptions;
286
+ styles: readonly (HTMLStyleElement | HTMLLinkElement)[];
287
+ toastMiddleware: readonly ToastMiddleware[];
288
+ typingIndicatorMiddleware: readonly TypingIndicatorMiddleware[];
289
+ };
290
+
291
+ type HTMLContentTransformRequest = Readonly<{
292
+ allowedTags: ReadonlyMap<string, Readonly<{
293
+ attributes: ReadonlySet<string>;
294
+ }>>;
295
+ codeBlockTagName: string;
296
+ documentFragment: DocumentFragment;
297
+ externalLinkAlt: string;
298
+ }>;
299
+ type HTMLContentTransformFunction = (request: HTMLContentTransformRequest) => DocumentFragment;
300
+ type HTMLContentTransformEnhancer = (next: HTMLContentTransformFunction) => HTMLContentTransformFunction;
301
+ type HTMLContentTransformMiddleware = () => HTMLContentTransformEnhancer;
302
+
303
+ type ComposerCoreProps = Readonly<{
304
+ children?: ReactNode;
305
+ decoratorMiddleware?: readonly DecoratorMiddleware[] | undefined;
306
+ extraStyleSet?: any;
307
+ htmlContentTransformMiddleware?: readonly HTMLContentTransformMiddleware[] | undefined;
308
+ nonce?: string;
309
+ renderMarkdown?: (markdown: string, newLineOptions: {
310
+ markdownRespectCRLF: boolean;
311
+ }, linkOptions: {
312
+ externalLinkAlt: string;
313
+ }) => string;
314
+ styleSet?: any;
315
+ styles?: readonly HTMLStyleElement[];
316
+ suggestedActionsAccessKey?: boolean | string;
317
+ webSpeechPonyfillFactory?: WebSpeechPonyfillFactory;
318
+ }>;
319
+ type ComposerProps = ComposerProps$1 & ComposerCoreProps;
320
+
321
+ type ReactWebChatProps = Readonly<Omit<ComposerProps, 'children'> & {
322
+ className?: string;
323
+ role?: 'complementary' | 'contentinfo' | 'form' | 'main' | 'region';
324
+ }>;
325
+ declare const ReactWebChat: {
326
+ ({ className, role, ...composerProps }: ReactWebChatProps): react__default.JSX.Element;
327
+ defaultProps: {
328
+ children: any;
329
+ extraStyleSet: any;
330
+ nonce: any;
331
+ renderMarkdown: any;
332
+ styleSet: any;
333
+ suggestedActionsAccessKey: string;
334
+ webSpeechPonyfillFactory: any;
335
+ internalRenderErrorBox: any;
336
+ onTelemetry: any;
337
+ ponyfill: any;
338
+ store: any;
339
+ className: any;
340
+ role: any;
341
+ };
342
+ propTypes: {
343
+ extraStyleSet: PropTypes__default.Requireable<any>;
344
+ nonce: PropTypes__default.Requireable<string>;
345
+ renderMarkdown: PropTypes__default.Requireable<(...args: any[]) => any>;
346
+ styleSet: PropTypes__default.Requireable<any>;
347
+ suggestedActionsAccessKey: PropTypes__default.Requireable<NonNullable<string | boolean>>;
348
+ webSpeechPonyfillFactory: PropTypes__default.Requireable<(...args: any[]) => any>;
349
+ internalRenderErrorBox: PropTypes__default.Requireable<any>;
350
+ onTelemetry: PropTypes__default.Requireable<(...args: any[]) => any>;
351
+ ponyfill: PropTypes__default.Requireable<any>;
352
+ store: PropTypes__default.Requireable<any>;
353
+ className: PropTypes__default.Requireable<string>;
354
+ role: PropTypes__default.Requireable<string>;
355
+ };
356
+ };
357
+
358
+ declare const basicWebChatPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
359
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
360
+ readonly role: valibot.SchemaWithFallback<valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"complementary", undefined>, valibot.LiteralSchema<"contentinfo", undefined>, valibot.LiteralSchema<"form", undefined>, valibot.LiteralSchema<"main", undefined>, valibot.LiteralSchema<"region", undefined>], undefined>, undefined>, "complementary">;
361
+ }, undefined>, valibot.ReadonlyAction<{
362
+ className?: string;
363
+ role?: "form" | "main" | "complementary" | "contentinfo" | "region";
364
+ }>]>;
365
+ type BasicWebChatProps = InferInput<typeof basicWebChatPropsSchema>;
366
+
367
+ declare const sendButtonPropsSchema: valibot.SchemaWithPipe<readonly [valibot.ObjectSchema<{
368
+ readonly className: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
369
+ }, undefined>, valibot.ReadonlyAction<{
370
+ className?: string;
371
+ }>]>;
372
+ type SendButtonProps = InferInput<typeof sendButtonPropsSchema>;
373
+ declare function SendButton(props: SendButtonProps): react__default.JSX.Element;
374
+
375
+ declare function createCoreMiddleware$2(): AttachmentMiddleware[];
376
+
377
+ declare function createCoreMiddleware$1(): ActivityMiddleware[];
378
+
379
+ declare function createCoreMiddleware(): ActivityStatusMiddleware[];
380
+
381
+ declare function createStyleSet(styleOptions: StyleOptions): Readonly<{
3
382
  readonly activities: {
4
383
  margin: number;
5
384
  padding: number;
6
385
  };
386
+ readonly activityButton: {
387
+ '&.webchat__activity-button': {
388
+ alignItems: string;
389
+ appearance: string;
390
+ background: string;
391
+ borderRadius: string;
392
+ border: string;
393
+ color: string;
394
+ display: string;
395
+ gap: string;
396
+ justifyContent: string;
397
+ padding: string;
398
+ '&:hover': {
399
+ background: string;
400
+ border: string;
401
+ color: string;
402
+ };
403
+ '&:active': {
404
+ background: string;
405
+ border: string;
406
+ color: string;
407
+ };
408
+ '&:focus-visible': {
409
+ background: string;
410
+ outline: string;
411
+ outlineOffset: string;
412
+ };
413
+ '&[aria-disabled="true"]': {
414
+ background: string;
415
+ border: string;
416
+ color: string;
417
+ cursor: string;
418
+ };
419
+ '& .webchat__activity-button__icon': {
420
+ height: string;
421
+ width: string;
422
+ };
423
+ };
424
+ };
425
+ readonly activityCopyButton: {
426
+ '&.webchat__activity-copy-button': {
427
+ overflow: string[];
428
+ position: string;
429
+ '& .webchat__activity-copy-button__copied-text': {
430
+ alignItems: string;
431
+ backgroundColor: string;
432
+ display: string;
433
+ height: string;
434
+ justifyContent: string;
435
+ position: string;
436
+ visibility: string;
437
+ width: string;
438
+ };
439
+ '&.webchat__activity-copy-button--copied': {
440
+ '.webchat__activity-copy-button__copied-text': {
441
+ animation: string;
442
+ };
443
+ '.webchat__activity-button__icon, .webchat__activity-button__text': {
444
+ visibility: string;
445
+ };
446
+ };
447
+ '@keyframes webchat__activity-copy-button__copied-animation': {
448
+ '0%': {
449
+ visibility: string;
450
+ };
451
+ '100%': {
452
+ visibility: string;
453
+ };
454
+ };
455
+ };
456
+ };
7
457
  readonly audioAttachment: {
8
458
  display: string;
9
- minHeight: number;
459
+ minHeight: "var(--webchat__size--avatar)";
10
460
  };
11
461
  readonly audioContent: {
12
462
  width: string;
@@ -49,8 +499,8 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
49
499
  readonly avatar: {
50
500
  '&.webchat__defaultAvatar': {
51
501
  borderRadius: string | number;
52
- height: number;
53
- width: number;
502
+ height: "var(--webchat__size--avatar)";
503
+ width: "var(--webchat__size--avatar)";
54
504
  };
55
505
  };
56
506
  readonly basicTranscript: {
@@ -168,6 +618,103 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
168
618
  };
169
619
  };
170
620
  };
621
+ readonly codeBlock: {
622
+ '&.webchat__code-block': {
623
+ background: string;
624
+ border: string;
625
+ borderRadius: string;
626
+ color: string;
627
+ display: string;
628
+ margin: string;
629
+ overflow: string;
630
+ padding: string;
631
+ ':has(> .webchat__code-block__theme--github-dark-default)': {
632
+ background: string;
633
+ color: string;
634
+ };
635
+ ':has(> .webchat__code-block__theme--github-light-default)': {
636
+ background: string;
637
+ color: string;
638
+ };
639
+ ':has(.webchat__code-block__body:focus-visible):focus-within': {
640
+ outline: string;
641
+ outlineOffset: string;
642
+ };
643
+ '.webchat__code-block__body': {
644
+ display: string;
645
+ lineHeight: string;
646
+ margin: string;
647
+ outline: string;
648
+ whiteSpace: string;
649
+ };
650
+ };
651
+ };
652
+ readonly codeBlockCopyButton: {
653
+ '&.webchat__code-block-copy-button': {
654
+ '--webchat__code-block-copy-button--icon-url': string;
655
+ alignItems: string;
656
+ appearance: string;
657
+ background: string;
658
+ borderRadius: string;
659
+ border: string;
660
+ color: string;
661
+ display: string;
662
+ float: string;
663
+ gap: string;
664
+ justifyContent: string;
665
+ marginInlineStart: "var(--webchat__padding--regular)";
666
+ padding: string;
667
+ '&:hover': {
668
+ background: string;
669
+ border: string;
670
+ color: string;
671
+ };
672
+ '&:active': {
673
+ background: string;
674
+ border: string;
675
+ color: string;
676
+ };
677
+ '&:focus-visible': {
678
+ background: string;
679
+ outline: string;
680
+ outlineOffset: string;
681
+ };
682
+ '&[aria-disabled="true"]': {
683
+ background: string;
684
+ border: string;
685
+ color: string;
686
+ cursor: string;
687
+ };
688
+ '&.webchat__code-block-copy-button--copied': {
689
+ '--webchat__code-block-copy-button--icon-url': string;
690
+ };
691
+ '& .webchat__code-block-copy-button__icon': {
692
+ backgroundColor: string;
693
+ height: string;
694
+ gridColumn: number;
695
+ gridRow: number;
696
+ maskImage: string;
697
+ maskRepeat: string;
698
+ WebkitMaskImage: string;
699
+ WebkitMaskRepeat: string;
700
+ width: string;
701
+ };
702
+ '& .webchat__code-block-copy-button__icon--copied': {
703
+ opacity: number;
704
+ };
705
+ '&.webchat__code-block-copy-button--copied .webchat__code-block-copy-button__icon': {
706
+ animation: string;
707
+ };
708
+ '@keyframes webchat__code-block-copy-button__copied-animation': {
709
+ '0%': {
710
+ opacity: string;
711
+ };
712
+ '100%': {
713
+ opacity: string;
714
+ };
715
+ };
716
+ };
717
+ };
171
718
  readonly connectivityNotification: {
172
719
  alignItems: string;
173
720
  color: string;
@@ -273,19 +820,22 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
273
820
  };
274
821
  };
275
822
  readonly imageAvatar: {
276
- height: number;
277
- overflow: string;
278
- width: number;
823
+ alignItems: string;
824
+ display: string;
825
+ height: "var(--webchat__size--avatar)";
826
+ justifyContent: string;
827
+ overflow: string[];
828
+ width: "var(--webchat__size--avatar)";
279
829
  };
280
830
  readonly initialsAvatar: {
281
831
  '&.webchat__initialsAvatar': {
282
832
  alignItems: string;
283
833
  color: string;
284
- fontFamily: string;
285
- height: number;
834
+ fontFamily: "var(--webchat__font--primary)";
835
+ height: "var(--webchat__size--avatar)";
286
836
  justifyContent: string;
287
837
  overflow: string;
288
- width: number;
838
+ width: "var(--webchat__size--avatar)";
289
839
  '&.webchat__initialsAvatar--fromUser': {
290
840
  backgroundColor: string;
291
841
  };
@@ -294,156 +844,6 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
294
844
  };
295
845
  };
296
846
  };
297
- readonly keyboardHelp: {
298
- '&.webchat__keyboard-help': {
299
- fontFamily: string;
300
- fontSize: number;
301
- height: string;
302
- outline: number;
303
- overflow: string;
304
- '&:not(.webchat__keyboard-help--shown)': {
305
- height: number;
306
- margin: number;
307
- overflow: string;
308
- pointerEvents: string;
309
- width: number;
310
- };
311
- '& .webchat__keyboard-help__border': {
312
- boxSizing: string;
313
- height: string;
314
- padding: number;
315
- };
316
- '& .webchat__keyboard-help__box': {
317
- borderRadius: number;
318
- boxShadow: string;
319
- height: string;
320
- overflow: string;
321
- "@media (forced-colors: active)": {
322
- backgroundColor: string;
323
- boxShadow: string;
324
- outlineColor: string;
325
- outlineStyle: string;
326
- outlineWidth: number;
327
- };
328
- "@media (forced-colors: none) and (prefers-color-scheme: dark)": {
329
- backgroundColor: string;
330
- boxShadow: string;
331
- };
332
- };
333
- '& .webchat__keyboard-help__scrollable': {
334
- boxSizing: string;
335
- height: string;
336
- overflowY: string;
337
- padding: number;
338
- position: string;
339
- };
340
- '& .webchat__keyboard-help__close-button': {
341
- appearance: string;
342
- backgroundColor: string;
343
- border: number;
344
- outline: number;
345
- padding: number;
346
- pointerEvents: string;
347
- position: string;
348
- right: number;
349
- top: number;
350
- };
351
- '& .webchat__keyboard-help__close-button-border': {
352
- alignItems: string;
353
- borderRadius: number;
354
- borderStyle: string;
355
- borderWidth: number;
356
- color: string;
357
- display: string;
358
- height: number;
359
- justifyContent: string;
360
- pointerEvents: string;
361
- width: number;
362
- "@media (forced-colors: none) and (prefers-color-scheme: light)": {
363
- borderColor: string;
364
- '&:active': {
365
- backgroundColor: string;
366
- };
367
- '&:not(:active):hover': {
368
- backgroundColor: string;
369
- };
370
- };
371
- "@media (forced-colors: none) and (prefers-color-scheme: dark)": {
372
- borderColor: string;
373
- '&:active': {
374
- backgroundColor: string;
375
- };
376
- '&:not(:active):hover': {
377
- backgroundColor: string;
378
- };
379
- };
380
- "@media (forced-colors: active)": {
381
- backgroundColor: string;
382
- borderColor: string;
383
- };
384
- };
385
- '& .webchat__keyboard-help__close-button-image': {
386
- fill: string;
387
- height: number;
388
- width: number;
389
- "@media (forced-colors: active)": {
390
- fill: string;
391
- };
392
- "@media (forced-colors: none) and (prefers-color-scheme: dark)": {
393
- fill: string;
394
- };
395
- };
396
- '& .webchat__keyboard-help__header, & .webchat__keyboard-help__sub-header': {
397
- marginBottom: number;
398
- marginTop: number;
399
- };
400
- '& .webchat__keyboard-help__section:not(:last-child)': {
401
- marginBottom: number;
402
- };
403
- '& .webchat__keyboard-help__two-panes': {
404
- alignItems: string;
405
- display: string;
406
- };
407
- '& .webchat__keyboard-help__image': {
408
- paddingRight: number;
409
- };
410
- '& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--high-contrast': {
411
- display: string;
412
- };
413
- "@media (forced-colors: active)": {
414
- '& .webchat__keyboard-help__image--dark, & .webchat__keyboard-help__image--light': {
415
- display: string;
416
- };
417
- '& .webchat__keyboard-help__image--high-contrast': {
418
- display: string;
419
- mixBlendMode: string;
420
- };
421
- };
422
- "@media (forced-colors: none) and (prefers-color-scheme: dark)": {
423
- color: string;
424
- '& .webchat__keyboard-help__image--light': {
425
- display: string;
426
- };
427
- '& .webchat__keyboard-help__image--dark': {
428
- display: string;
429
- };
430
- };
431
- '& .webchat__keyboard-help__notes': {
432
- marginBottom: number;
433
- marginTop: number;
434
- };
435
- '& .webchat__keyboard-help__notes-header': {
436
- fontWeight: string;
437
- margin: number;
438
- };
439
- '& .webchat__keyboard-help__notes-pane': {
440
- flexShrink: number;
441
- };
442
- '& .webchat__keyboard-help__notes-text': {
443
- margin: number;
444
- };
445
- };
446
- };
447
847
  readonly microphoneButton: {
448
848
  '&.webchat__microphone-button': {
449
849
  '&.webchat__microphone-button--dictating .webchat__microphone-button__button': {
@@ -455,6 +855,13 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
455
855
  };
456
856
  };
457
857
  };
858
+ readonly monochromeImageMasker: {
859
+ '&.webchat__monochrome-image-masker': {
860
+ backgroundColor: string;
861
+ mask: string;
862
+ WebkitMask: string;
863
+ };
864
+ };
458
865
  readonly options: {
459
866
  readonly accent: string;
460
867
  readonly backgroundColor: string;
@@ -462,13 +869,13 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
462
869
  readonly paddingRegular: number;
463
870
  readonly paddingWide: number;
464
871
  readonly transitionDuration: string;
465
- readonly fontSizeSmall: string | number;
872
+ readonly fontSizeSmall: number | string;
466
873
  readonly monospaceFont: string;
467
874
  readonly primaryFont: string;
468
- readonly rootHeight: string | number;
469
- readonly rootWidth: string | number;
875
+ readonly rootHeight: number | string;
876
+ readonly rootWidth: number | string;
470
877
  readonly rootZIndex: number;
471
- readonly avatarBorderRadius: string | number;
878
+ readonly avatarBorderRadius: number | string;
472
879
  readonly avatarSize: number;
473
880
  readonly botAvatarBackgroundColor: string;
474
881
  readonly botAvatarImage: string;
@@ -490,19 +897,22 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
490
897
  readonly bubbleFromUserNubOffset: number;
491
898
  readonly bubbleFromUserNubSize: number;
492
899
  readonly bubbleFromUserTextColor: string;
493
- readonly bubbleImageHeight: number;
494
- readonly bubbleMaxWidth: number;
900
+ readonly bubbleImageMaxHeight: number | undefined;
901
+ readonly bubbleImageMinHeight: number | undefined;
902
+ readonly bubbleAttachmentMaxWidth: number | undefined;
903
+ readonly bubbleAttachmentMinWidth: number | undefined;
904
+ readonly bubbleMessageMaxWidth: number | undefined;
905
+ readonly bubbleMessageMinWidth: number | undefined;
495
906
  readonly bubbleMinHeight: number;
496
- readonly bubbleMinWidth: number;
497
907
  readonly bubbleNubOffset: number;
498
908
  readonly bubbleNubSize: number;
499
909
  readonly bubbleTextColor: string;
500
- readonly messageActivityWordBreak: "break-word" | "normal" | "break-all" | "keep-all";
910
+ readonly messageActivityWordBreak: "normal" | "break-all" | "break-word" | "keep-all";
501
911
  readonly connectivityIconPadding: number;
502
912
  readonly connectivityMarginLeftRight: number;
503
913
  readonly connectivityMarginTopBottom: number;
504
- readonly connectivityTextSize: string | number;
505
- readonly failedConnectivity: string | number;
914
+ readonly connectivityTextSize: number | string;
915
+ readonly failedConnectivity: number | string;
506
916
  readonly slowConnectivity: string;
507
917
  readonly notificationText: string;
508
918
  readonly slowConnectionAfter: number;
@@ -511,13 +921,13 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
511
921
  readonly markdownRespectCRLF: boolean;
512
922
  readonly markdownRenderHTML: boolean;
513
923
  readonly markdownExternalLinkIconImage: string;
514
- readonly autoScrollSnapOnActivity: number | boolean;
924
+ readonly autoScrollSnapOnActivity: boolean | number;
515
925
  readonly autoScrollSnapOnActivityOffset: number;
516
- readonly autoScrollSnapOnPage: number | boolean;
926
+ readonly autoScrollSnapOnPage: boolean | number;
517
927
  readonly autoScrollSnapOnPageOffset: number;
518
928
  readonly hideSendBox: boolean;
519
929
  readonly hideUploadButton: boolean;
520
- readonly hideTelephoneKeypadButton: boolean;
930
+ readonly hideTelephoneKeypadButton: boolean | undefined;
521
931
  readonly microphoneButtonColorOnDictate: string;
522
932
  readonly sendBoxBackground: string;
523
933
  readonly uploadAccept: string;
@@ -536,27 +946,27 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
536
946
  readonly sendBoxButtonColorOnHover: string;
537
947
  readonly sendBoxButtonShadeColorOnHover: string;
538
948
  readonly sendBoxButtonKeyboardFocusIndicatorBorderColor: string;
539
- readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: string | number;
949
+ readonly sendBoxButtonKeyboardFocusIndicatorBorderRadius: number | string;
540
950
  readonly sendBoxButtonKeyboardFocusIndicatorBorderStyle: string;
541
951
  readonly sendBoxButtonKeyboardFocusIndicatorBorderWidth: number;
542
952
  readonly sendBoxButtonKeyboardFocusIndicatorInset: number;
543
953
  readonly sendBoxDisabledTextColor: string;
544
- readonly sendBoxHeight: string | number;
545
- readonly sendBoxMaxHeight: string | number;
954
+ readonly sendBoxHeight: number | string;
955
+ readonly sendBoxMaxHeight: number | string;
546
956
  readonly sendBoxTextColor: string;
547
- readonly sendBoxBorderBottom: string | number;
548
- readonly sendBoxBorderLeft: string | number;
549
- readonly sendBoxBorderRight: string | number;
550
- readonly sendBoxBorderTop: string | number;
957
+ readonly sendBoxBorderBottom: number | string;
958
+ readonly sendBoxBorderLeft: number | string;
959
+ readonly sendBoxBorderRight: number | string;
960
+ readonly sendBoxBorderTop: number | string;
551
961
  readonly sendBoxPlaceholderColor: string;
552
962
  readonly sendBoxTextWrap: boolean;
553
- readonly sendBoxButtonAlignment: "bottom" | "top" | "stretch";
963
+ readonly sendBoxButtonAlignment: "bottom" | "stretch" | "top";
554
964
  readonly showSpokenText: boolean;
555
965
  readonly spinnerAnimationBackgroundImage: string;
556
- readonly spinnerAnimationHeight: string | number;
557
- readonly spinnerAnimationWidth: string | number;
558
- readonly spinnerAnimationPadding: string | number;
559
- readonly suggestedActionBorderRadius: string | number;
966
+ readonly spinnerAnimationHeight: number | string;
967
+ readonly spinnerAnimationWidth: number | string;
968
+ readonly spinnerAnimationPadding: number | string;
969
+ readonly suggestedActionBorderRadius: number | string;
560
970
  readonly suggestedActionBackground: string;
561
971
  readonly suggestedActionBackgroundColor: string;
562
972
  readonly suggestedActionBorderColor: string;
@@ -588,11 +998,11 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
588
998
  readonly suggestedActionDisabledBorderStyle: string;
589
999
  readonly suggestedActionDisabledBorderWidth: number;
590
1000
  readonly suggestedActionDisabledTextColor: string;
591
- readonly suggestedActionHeight: string | number;
592
- readonly suggestedActionImageHeight: string | number;
1001
+ readonly suggestedActionHeight: number | string;
1002
+ readonly suggestedActionImageHeight: number | string;
593
1003
  readonly suggestedActionLayout: "carousel" | "flow" | "stacked";
594
1004
  readonly suggestedActionKeyboardFocusIndicatorBorderColor: string;
595
- readonly suggestedActionKeyboardFocusIndicatorBorderRadius: string | number;
1005
+ readonly suggestedActionKeyboardFocusIndicatorBorderRadius: number | string;
596
1006
  readonly suggestedActionKeyboardFocusIndicatorBorderStyle: string;
597
1007
  readonly suggestedActionKeyboardFocusIndicatorBorderWidth: number;
598
1008
  readonly suggestedActionKeyboardFocusIndicatorInset: number;
@@ -604,29 +1014,29 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
604
1014
  readonly suggestedActionsCarouselFlipperSize: number;
605
1015
  readonly suggestedActionsFlowMaxHeight: undefined;
606
1016
  readonly suggestedActionsStackedHeight: number | "auto";
607
- readonly suggestedActionsStackedOverflow: "visible" | "hidden" | "auto" | "scroll";
608
- readonly suggestedActionsStackedLayoutButtonMaxHeight: string | number;
1017
+ readonly suggestedActionsStackedOverflow: "auto" | "hidden" | "scroll" | "visible";
1018
+ readonly suggestedActionsStackedLayoutButtonMaxHeight: number | string;
609
1019
  readonly suggestedActionsStackedLayoutButtonTextWrap: boolean;
610
1020
  readonly suggestedActionsVisualKeyboardIndicatorColor: string;
611
1021
  readonly suggestedActionsVisualKeyboardIndicatorStyle: string;
612
1022
  readonly suggestedActionsVisualKeyboardIndicatorWidth: number;
613
- readonly groupTimestamp: number | boolean;
614
- readonly sendTimeout: number | ((activity: import("botframework-webchat-core").WebChatActivity) => number);
1023
+ readonly groupTimestamp: boolean | number;
1024
+ readonly sendTimeout: number | ((activity: botframework_webchat_core.WebChatActivity) => number);
615
1025
  readonly sendTimeoutForAttachments: number;
616
1026
  readonly timestampColor: string;
617
- readonly timestampFormat: "relative" | "absolute";
1027
+ readonly timestampFormat: "absolute" | "relative";
618
1028
  readonly transcriptTerminatorBackgroundColor: string;
619
- readonly transcriptTerminatorBorderRadius: string | number;
1029
+ readonly transcriptTerminatorBorderRadius: number | string;
620
1030
  readonly transcriptTerminatorColor: string;
621
- readonly transcriptTerminatorFontSize: string | number;
1031
+ readonly transcriptTerminatorFontSize: number | string;
622
1032
  readonly transcriptActivityVisualKeyboardIndicatorColor: string;
623
1033
  readonly transcriptActivityVisualKeyboardIndicatorStyle: string;
624
- readonly transcriptActivityVisualKeyboardIndicatorWidth: string | number;
1034
+ readonly transcriptActivityVisualKeyboardIndicatorWidth: number | string;
625
1035
  readonly transcriptVisualKeyboardIndicatorColor: string;
626
1036
  readonly transcriptVisualKeyboardIndicatorStyle: string;
627
- readonly transcriptVisualKeyboardIndicatorWidth: string | number;
1037
+ readonly transcriptVisualKeyboardIndicatorWidth: number | string;
628
1038
  readonly scrollToEndButtonBehavior: false | "any" | "unread";
629
- readonly scrollToEndButtonFontSize: string | number;
1039
+ readonly scrollToEndButtonFontSize: number | string;
630
1040
  readonly transcriptOverlayButtonBackground: string;
631
1041
  readonly transcriptOverlayButtonBackgroundOnDisabled: string;
632
1042
  readonly transcriptOverlayButtonBackgroundOnFocus: string;
@@ -637,13 +1047,13 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
637
1047
  readonly transcriptOverlayButtonColorOnHover: string;
638
1048
  readonly notificationDebounceTimeout: number;
639
1049
  readonly hideToaster: boolean;
640
- readonly toasterHeight: string | number;
641
- readonly toasterMaxHeight: string | number;
642
- readonly toasterSingularMaxHeight: string | number;
643
- readonly toastFontSize: string | number;
644
- readonly toastIconWidth: string | number;
1050
+ readonly toasterHeight: number | string;
1051
+ readonly toasterMaxHeight: number | string;
1052
+ readonly toasterSingularMaxHeight: number | string;
1053
+ readonly toastFontSize: number | string;
1054
+ readonly toastIconWidth: number | string;
645
1055
  readonly toastSeparatorColor: string;
646
- readonly toastTextPadding: string | number;
1056
+ readonly toastTextPadding: number | string;
647
1057
  readonly toastErrorBackgroundColor: string;
648
1058
  readonly toastErrorColor: string;
649
1059
  readonly toastInfoBackgroundColor: string;
@@ -654,15 +1064,23 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
654
1064
  readonly toastWarnColor: string;
655
1065
  readonly typingAnimationBackgroundImage: string;
656
1066
  readonly typingAnimationDuration: number;
657
- readonly typingAnimationHeight: string | number;
658
- readonly typingAnimationWidth: string | number;
1067
+ readonly typingAnimationHeight: number | string;
1068
+ readonly typingAnimationWidth: number | string;
659
1069
  readonly enableUploadThumbnail: boolean;
660
1070
  readonly uploadThumbnailContentType: string;
661
1071
  readonly uploadThumbnailHeight: number;
662
1072
  readonly uploadThumbnailQuality: number;
663
1073
  readonly uploadThumbnailWidth: number;
664
- readonly videoHeight: string | number;
1074
+ readonly videoHeight: number | string;
665
1075
  readonly maxMessageLength: number;
1076
+ readonly stylesRoot: Node;
1077
+ readonly borderAnimationColor1: string;
1078
+ readonly borderAnimationColor2: string;
1079
+ readonly borderAnimationColor3: string;
1080
+ readonly codeBlockTheme: "github-light-default" | "github-dark-default";
1081
+ readonly feedbackActionsPlacement: "activity-actions" | "activity-status";
1082
+ readonly speechRecognitionContinuous: boolean | undefined;
1083
+ readonly groupActivitiesBy: readonly string[] | undefined;
666
1084
  };
667
1085
  readonly root: {
668
1086
  backgroundColor: string;
@@ -680,14 +1098,11 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
680
1098
  backgroundColor: string;
681
1099
  borderRadius: number;
682
1100
  borderWidth: number;
683
- bottom: number;
684
1101
  color: string;
685
1102
  fontFamily: string;
686
1103
  fontSize: string | number;
687
1104
  outline: number;
688
1105
  padding: number;
689
- position: string;
690
- zIndex: number;
691
1106
  '&:hover': {
692
1107
  backgroundColor: string;
693
1108
  color: string;
@@ -696,12 +1111,6 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
696
1111
  backgroundColor: string;
697
1112
  color: string;
698
1113
  };
699
- '&:not(.webchat__scroll-to-end-button--rtl)': {
700
- right: number;
701
- };
702
- '&.webchat__scroll-to-end-button--rtl': {
703
- left: number;
704
- };
705
1114
  };
706
1115
  };
707
1116
  readonly sendBox: {
@@ -842,15 +1251,6 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
842
1251
  };
843
1252
  };
844
1253
  };
845
- readonly singleAttachmentActivity: {
846
- '& > .bubble-box': {
847
- maxWidth: number;
848
- minWidth: number;
849
- };
850
- '& > .filler': {
851
- minWidth: number;
852
- };
853
- };
854
1254
  readonly spinnerAnimation: {
855
1255
  backgroundImage: string;
856
1256
  backgroundRepeat: string;
@@ -882,8 +1282,8 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
882
1282
  width: number;
883
1283
  };
884
1284
  '& .webchat__stacked-layout__attachment': {
885
- maxWidth: number;
886
- minWidth: number;
1285
+ maxWidth: "var(--webchat__max-width--attachment-bubble)";
1286
+ minWidth: "var(--webchat__min-width--attachment-bubble)";
887
1287
  transitionDuration: string;
888
1288
  transitionProperty: string;
889
1289
  };
@@ -895,7 +1295,8 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
895
1295
  marginTop: number;
896
1296
  };
897
1297
  '& .webchat__stacked-layout__message': {
898
- maxWidth: number;
1298
+ maxWidth: "var(--webchat__max-width--message-bubble)";
1299
+ minWidth: "var(--webchat__min-width--message-bubble)";
899
1300
  overflow: string;
900
1301
  transitionDuration: string;
901
1302
  transitionProperty: string;
@@ -907,12 +1308,17 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
907
1308
  };
908
1309
  '&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar': {
909
1310
  '& .webchat__stacked-layout__avatar-gutter': {
910
- width: number;
1311
+ width: "var(--webchat__size--avatar)";
911
1312
  };
912
1313
  };
913
1314
  '&.webchat__stacked-layout--hide-avatar, &.webchat__stacked-layout--show-avatar, &.webchat__stacked-layout--hide-nub, &.webchat__stacked-layout--show-nub': {
914
- '& .webchat__stacked-layout__attachment, & .webchat__stacked-layout__message': {
1315
+ '& .webchat__stacked-layout__attachment': {
1316
+ maxWidth: number;
1317
+ minWidth: number;
1318
+ };
1319
+ '& .webchat__stacked-layout__message': {
915
1320
  maxWidth: number;
1321
+ minWidth: number;
916
1322
  };
917
1323
  '& .webchat__stacked-layout__nub-pad': {
918
1324
  width: number;
@@ -1388,6 +1794,24 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1388
1794
  height: string | number;
1389
1795
  width: string;
1390
1796
  };
1797
+ readonly chatHistoryBox: {
1798
+ '&.webchat__chat-history-box': {
1799
+ display: string;
1800
+ flex: string;
1801
+ overflow: string[];
1802
+ position: string;
1803
+ };
1804
+ '.webchat__chat-history-box__toolbar': {
1805
+ bottom: string;
1806
+ isolation: string;
1807
+ position: string;
1808
+ right: string;
1809
+ zIndex: number;
1810
+ '&.webchat__chat-history-box__toolbar--rtl': {
1811
+ left: string;
1812
+ };
1813
+ };
1814
+ };
1391
1815
  readonly citationModalDialog: {
1392
1816
  '&.webchat__citation-modal-dialog': {
1393
1817
  '& .webchat__citation-modal-dialog__body': {
@@ -1395,28 +1819,167 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1395
1819
  };
1396
1820
  };
1397
1821
  };
1398
- readonly cssCustomProperties: {
1399
- '&.webchat__css-custom-properties': {
1822
+ readonly feedbackForm: {
1823
+ '&.webchat__feedback-form__root-container': {
1824
+ display: string;
1825
+ flexDirection: string;
1826
+ gap: string;
1827
+ width: string;
1828
+ };
1829
+ '.webchat__feedback-form__root-child': {
1830
+ display: string;
1831
+ };
1832
+ '.webchat__feedback-form': {
1833
+ display: string;
1834
+ flexDirection: string;
1835
+ gap: string;
1836
+ position: string;
1837
+ };
1838
+ '.webchat__feedback-form__body': {
1839
+ fontFamily: "var(--webchat__font--primary)";
1840
+ fontStyle: string;
1841
+ fontWeight: number;
1842
+ fontSize: string;
1843
+ lineHeight: string;
1844
+ color: string;
1845
+ };
1846
+ '.webchat__feedback-form__caption': {
1847
+ fontFamily: "var(--webchat__font--primary)";
1848
+ fontStyle: string;
1849
+ fontWeight: number;
1850
+ fontSize: string;
1851
+ lineHeight: string;
1852
+ color: "var(--webchat__color--subtle)";
1853
+ };
1854
+ '.webchat__feedback-form__container': {
1855
+ display: string;
1856
+ gap: string;
1857
+ marginTop: string;
1858
+ };
1859
+ '.webchat__feedback-form__submit-button': {
1860
+ backgroundColor: "var(--webchat__color--accent)";
1861
+ border: string;
1862
+ borderRadius: string;
1863
+ color: string;
1864
+ cursor: string;
1865
+ fontSize: string;
1866
+ fontFamily: "var(--webchat__font--primary)";
1867
+ height: string;
1868
+ padding: string;
1869
+ };
1870
+ '.webchat__feedback-form__submit-button:hover': {
1871
+ backgroundColor: string;
1872
+ border: string;
1873
+ color: string;
1874
+ };
1875
+ '.webchat__feedback-form__submit-button:active': {
1876
+ backgroundColor: string;
1877
+ border: string;
1878
+ color: string;
1879
+ };
1880
+ '.webchat__feedback-form__cancel-button': {
1881
+ backgroundColor: string;
1882
+ borderRadius: string;
1883
+ cursor: string;
1884
+ fontSize: string;
1885
+ border: string;
1886
+ color: "var(--webchat__color--subtle)";
1887
+ fontFamily: "var(--webchat__font--primary)";
1888
+ height: string;
1889
+ padding: string;
1890
+ };
1891
+ '.webchat__feedback-form__cancel-button:hover': {
1892
+ backgroundColor: "var(--webchat__color--subtle)";
1893
+ color: string;
1894
+ };
1895
+ };
1896
+ readonly feedbackTextArea: {
1897
+ '&.webchat__feedback-form-text-area': {
1400
1898
  display: string;
1401
- "--webchat__color--accent": string;
1402
- "--webchat__color--subtle": string;
1403
- "--webchat__color--timestamp": string;
1404
- "--webchat__font--primary": string;
1405
- "--webchat__font-size--small": string | number;
1406
- "--webchat__icon-url--external-link": string;
1407
- "--webchat__max-width--bubble": string;
1408
- "--webchat__min-height--bubble": string;
1409
- "--webchat__padding--regular": string;
1899
+ gridTemplateAreas: string;
1900
+ maxHeight: string;
1901
+ overflow: string;
1902
+ backgroundColor: string;
1903
+ borderRadius: string;
1904
+ border: string;
1905
+ fontFamily: "var(--webchat__font--primary)";
1906
+ fontSize: string;
1907
+ gap: string;
1908
+ lineHeight: string;
1909
+ padding: string;
1910
+ position: string;
1911
+ '&::after': {
1912
+ borderBottomLeftRadius: string;
1913
+ borderBottomRightRadius: string;
1914
+ borderBottom: string;
1915
+ bottom: string;
1916
+ clipPath: string;
1917
+ content: string;
1918
+ height: string;
1919
+ left: string;
1920
+ position: string;
1921
+ right: string;
1922
+ transition: string;
1923
+ };
1924
+ '&:focus-within': {
1925
+ border: string;
1926
+ };
1927
+ '&:focus-within::after': {
1928
+ clipPath: string;
1929
+ transition: string;
1930
+ };
1931
+ };
1932
+ '&.webchat__feedback-form-text-area--hidden': {
1933
+ height: number;
1934
+ visibility: string;
1935
+ };
1936
+ '.webchat__feedback-form-text-area-shared': {
1937
+ border: string;
1938
+ font: string;
1939
+ gridArea: string;
1940
+ outline: string;
1941
+ overflowWrap: string;
1942
+ resize: string;
1943
+ scrollbarGutter: string;
1944
+ };
1945
+ '.webchat__feedback-form-text-area-doppelganger': {
1946
+ overflow: string;
1947
+ visibility: string;
1948
+ whiteSpace: string;
1949
+ };
1950
+ '.webchat__feedback-form-text-area-input': {
1951
+ backgroundColor: string;
1952
+ color: string;
1953
+ height: string;
1954
+ padding: number;
1955
+ };
1956
+ '.webchat__feedback-form-text-area-input--scroll': {
1957
+ scrollbarColor: string;
1958
+ scrollbarWidth: string;
1959
+ MozScrollbarColor: string;
1960
+ MozScrollbarWidth: string;
1961
+ '&::-webkit-scrollbar': {
1962
+ width: string;
1963
+ };
1964
+ '&::-webkit-scrollbar-thumb': {
1965
+ backgroundColor: "var(--webchat__color--subtle)";
1966
+ borderRadius: string;
1967
+ };
1968
+ '&::-webkit-scrollbar-corner': {
1969
+ backgroundColor: string;
1970
+ };
1410
1971
  };
1411
1972
  };
1412
1973
  readonly linkDefinitions: {
1413
1974
  '&.webchat__link-definitions': {
1414
1975
  '.webchat__link-definitions__header': {
1415
1976
  alignItems: string;
1977
+ cursor: string;
1416
1978
  display: string;
1417
1979
  fontFamily: "var(--webchat__font--primary)";
1418
1980
  fontSize: "var(--webchat__font-size--small)";
1419
1981
  gap: number;
1982
+ justifyContent: string;
1420
1983
  listStyle: string;
1421
1984
  "@media (forced-colors: none)": {
1422
1985
  color: string;
@@ -1425,6 +1988,15 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1425
1988
  color: string;
1426
1989
  };
1427
1990
  };
1991
+ '.webchat__link-definitions__header-section': {
1992
+ alignItems: string;
1993
+ display: string;
1994
+ gap: number;
1995
+ overflow: string;
1996
+ };
1997
+ '.webchat__link-definitions__header-section--left': {
1998
+ flexShrink: number;
1999
+ };
1428
2000
  '.webchat__link-definitions__header-text': {
1429
2001
  flexShrink: number;
1430
2002
  };
@@ -1437,13 +2009,11 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1437
2009
  '&:not([open]) .webchat__link-definitions__header-chevron': {
1438
2010
  transform: string;
1439
2011
  };
1440
- '.webchat__link-definitions__header-filler': {
1441
- flexGrow: number;
1442
- };
1443
2012
  '.webchat__link-definitions__header-accessory': {
1444
2013
  overflow: string;
1445
2014
  };
1446
2015
  '.webchat__link-definitions__message-sensitivity-label': {
2016
+ alignItems: string;
1447
2017
  display: string;
1448
2018
  gap: number;
1449
2019
  };
@@ -1583,6 +2153,9 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1583
2153
  backgroundColor: string;
1584
2154
  border: number;
1585
2155
  };
2156
+ '&:has(.webchat__modal-dialog__body:empty)': {
2157
+ opacity: number;
2158
+ };
1586
2159
  '& .webchat__modal-dialog__box': {
1587
2160
  borderRadius: number;
1588
2161
  overflow: string;
@@ -1714,6 +2287,28 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1714
2287
  '& .webchat__render-markdown__pure-identifier::before': {
1715
2288
  content: string;
1716
2289
  };
2290
+ '& [data-math-type=block]': {
2291
+ alignItems: string;
2292
+ display: string;
2293
+ flexDirection: string;
2294
+ marginBottom: string;
2295
+ paddingBottom: string;
2296
+ outlineOffset: string;
2297
+ overflowX: string;
2298
+ overflowY: string;
2299
+ scrollbarWidth: string;
2300
+ };
2301
+ '& span[data-math-type=block]': {
2302
+ display: string;
2303
+ };
2304
+ '& [data-math-type=inline]': {
2305
+ alignItems: string;
2306
+ display: string;
2307
+ flexDirection: string;
2308
+ };
2309
+ '& :is([data-math-type=block], [data-math-type=inline]) > span': {
2310
+ display: string;
2311
+ };
1717
2312
  };
1718
2313
  };
1719
2314
  readonly sendStatus: {
@@ -1727,6 +2322,15 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1727
2322
  display: string;
1728
2323
  gap: number;
1729
2324
  };
2325
+ '& .webchat__activity-status-slot': {
2326
+ display: string;
2327
+ '&:not(:first-child)::before': {
2328
+ content: string;
2329
+ };
2330
+ '&:empty': {
2331
+ display: string;
2332
+ };
2333
+ };
1730
2334
  '& .webchat__activity-status__originator': {
1731
2335
  alignItems: string;
1732
2336
  '&.webchat__activity-status__originator--has-link': {
@@ -1734,17 +2338,6 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1734
2338
  };
1735
2339
  };
1736
2340
  };
1737
- readonly slottedActivityStatus: {
1738
- '&.webchat__slotted-activity-status': {
1739
- alignItems: string;
1740
- display: string;
1741
- gap: number;
1742
- marginTop: string;
1743
- '& .webchat__slotted-activity-status__pipe': {
1744
- fontSize: "var(--webchat__font-size--small)";
1745
- };
1746
- };
1747
- };
1748
2341
  readonly textContent: {
1749
2342
  '&.webchat__text-content': {
1750
2343
  fontFamily: "var(--webchat__font--primary)";
@@ -1757,7 +2350,8 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1757
2350
  gap: "var(--webchat__padding--regular)";
1758
2351
  };
1759
2352
  '& .webchat__text-content__markdown img:not(.webchat__render-markdown__external-link-icon)': {
1760
- maxWidth: "var(--webchat__max-width--bubble)";
2353
+ maxWidth: "var(--webchat__max-width--message-bubble)";
2354
+ minWidth: "var(--webchat__min-width--message-bubble)";
1761
2355
  width: string;
1762
2356
  };
1763
2357
  '& .webchat__text-content__markdown pre': {
@@ -1766,38 +2360,561 @@ export default function createStyleSet(styleOptions: StyleOptions): Readonly<{
1766
2360
  '& .webchat__text-content__open-in-new-window-icon': {
1767
2361
  height: string;
1768
2362
  };
2363
+ '& .webchat__text-content__activity-actions': {
2364
+ alignSelf: string;
2365
+ display: string;
2366
+ gap: string;
2367
+ width: string;
2368
+ };
2369
+ '& .webchat__text-content__activity-actions:empty': {
2370
+ display: string;
2371
+ };
1769
2372
  };
1770
2373
  };
1771
2374
  readonly thumbButton: {
1772
2375
  '&.webchat__thumb-button': {
2376
+ alignItems: string;
1773
2377
  appearance: string;
1774
2378
  background: string;
1775
2379
  border: number;
1776
2380
  borderRadius: number;
2381
+ boxSizing: string;
2382
+ display: string;
2383
+ gridTemplateAreas: string;
1777
2384
  height: number;
1778
- overflow: string;
2385
+ justifyContent: string;
1779
2386
  padding: number;
1780
2387
  width: number;
2388
+ '&.webchat__thumb-button--large': {
2389
+ border: string;
2390
+ borderRadius: string;
2391
+ height: string;
2392
+ padding: string;
2393
+ width: string;
2394
+ '& .webchat__thumb-button__image': {
2395
+ color: string;
2396
+ fontSize: string;
2397
+ height: string;
2398
+ width: string;
2399
+ };
2400
+ '&:hover, &:active, &.webchat__thumb-button--is-pressed': {
2401
+ background: string;
2402
+ color: "var(--webchat__color--accent)";
2403
+ };
2404
+ '&[aria-disabled="true"]': {
2405
+ color: "var(--webchat__color--subtle)";
2406
+ };
2407
+ '&.webchat__thumb-button--submitted:not(.webchat__thumb-button--is-pressed) .webchat__tooltip': {
2408
+ display: string;
2409
+ };
2410
+ '&.webchat__thumb-button--submitted .webchat__tooltip': {
2411
+ '--webchat__tooltip-anchor-inline-start': string;
2412
+ };
2413
+ };
1781
2414
  '&:active': {
1782
2415
  background: string;
1783
2416
  };
1784
- '&:focus': {
2417
+ '&:focus-visible': {
1785
2418
  outline: string;
1786
2419
  };
1787
2420
  '& .webchat__thumb-button__image': {
1788
2421
  color: "var(--webchat__color--accent)";
2422
+ gridArea: string;
2423
+ visibility: string;
1789
2424
  width: number;
2425
+ '&.webchat__thumb-button__image--is-stroked': {
2426
+ visibility: string;
2427
+ };
2428
+ };
2429
+ '&:not([aria-disabled="true"]):hover, &.webchat__thumb-button--is-pressed': {
2430
+ '& .webchat__thumb-button__image': {
2431
+ '&.webchat__thumb-button__image--is-stroked': {
2432
+ visibility: string;
2433
+ };
2434
+ '&.webchat__thumb-button__image--is-filled': {
2435
+ visibility: string;
2436
+ };
2437
+ };
1790
2438
  };
1791
- '&:hover .webchat__thumb-button__image:not(.webchat__thumb-button__image--is-filled)': {
2439
+ };
2440
+ };
2441
+ readonly tooltip: {
2442
+ '*:has(> &.webchat__tooltip)': {
2443
+ position: string;
2444
+ '&:is(:hover, :focus-visible, :active) > .webchat__tooltip': {
2445
+ opacity: number;
2446
+ transitionDelay: string;
2447
+ };
2448
+ };
2449
+ '&.webchat__tooltip': {
2450
+ '--webchat__tooltip-tip-size': string;
2451
+ '--webchat__tooltip-background': string;
2452
+ '--webchat__tooltip-anchor-inline-start': string;
2453
+ background: string;
2454
+ borderRadius: string;
2455
+ color: string;
2456
+ filter: string;
2457
+ fontSize: string;
2458
+ inlineSize: string;
2459
+ isolation: string;
2460
+ lineHeight: string;
2461
+ margin: number;
2462
+ maxInlineSize: string;
2463
+ opacity: number;
2464
+ padding: string;
2465
+ pointerEvents: string;
2466
+ position: string;
2467
+ textAlign: string;
2468
+ transition: string;
2469
+ userSelect: string;
2470
+ willChange: string;
2471
+ '&::after': {
2472
+ background: string;
2473
+ color: string;
2474
+ content: string;
2475
+ inset: number;
2476
+ position: string;
2477
+ };
2478
+ '&.webchat__tooltip--block-start, &.webchat__tooltip--block-end': {
2479
+ textAlign: string;
2480
+ };
2481
+ '&.webchat__tooltip--block-start': {
2482
+ insetBlockEnd: string;
2483
+ insetInlineStart: string;
2484
+ transform: string;
2485
+ '&::after': {
2486
+ border: string;
2487
+ borderBottomLeftRadius: string;
2488
+ clipPath: string;
2489
+ height: string;
2490
+ insetBlockStart: string;
2491
+ insetInlineStart: string;
2492
+ transform: string;
2493
+ width: string;
2494
+ };
2495
+ };
2496
+ };
2497
+ };
2498
+ readonly viewCodeDialog: {
2499
+ '&.webchat__view-code-dialog': {
2500
+ boxSizing: string;
2501
+ display: string;
2502
+ height: string;
2503
+ maxHeight: string;
2504
+ overflow: string;
2505
+ padding: string;
2506
+ placeItems: string;
2507
+ '& .webchat__modal-dialog__box': {
1792
2508
  display: string;
2509
+ flexDirection: string;
2510
+ maxHeight: string;
2511
+ maxWidth: string;
2512
+ position: string;
2513
+ };
2514
+ '& .webchat__modal-dialog__close-button-layout': {
2515
+ position: string;
2516
+ right: number;
1793
2517
  };
1794
- '&.webchat__thumb-button--is-pressed .webchat__thumb-button__image:not(.webchat__thumb-button__image--is-filled)': {
2518
+ '& .webchat__modal-dialog__body': {
1795
2519
  display: string;
2520
+ flexDirection: string;
2521
+ gap: "var(--webchat__padding--regular)";
2522
+ overflow: string;
1796
2523
  };
1797
- '&.webchat__thumb-button:not(:hover):not(.webchat__thumb-button--is-pressed) .webchat__thumb-button__image--is-filled': {
2524
+ '& .webchat__view-code-dialog__header': {
2525
+ alignItems: string;
1798
2526
  display: string;
2527
+ paddingInlineEnd: string;
2528
+ };
2529
+ '& .webchat__view-code-dialog__title': {
2530
+ margin: string;
2531
+ textTransform: string;
2532
+ };
2533
+ '& .webchat__view-code-dialog__body': {
2534
+ border: string;
2535
+ borderRadius: number;
2536
+ overflow: string;
2537
+ height: string;
2538
+ '.webchat__code-block__body': {
2539
+ display: string;
2540
+ margin: number;
2541
+ padding: string;
2542
+ };
2543
+ };
2544
+ '& .webchat__view-code-dialog__footer': {
2545
+ color: "var(--webchat__color--subtle)";
2546
+ lineHeight: string;
2547
+ };
2548
+ '& .webchat__view-code-dialog__copy-button': {
2549
+ position: string;
2550
+ right: string;
2551
+ top: string;
1799
2552
  };
1800
2553
  };
1801
2554
  };
1802
2555
  }>;
1803
- //# sourceMappingURL=createStyleSet.d.ts.map
2556
+
2557
+ declare function getTabIndex(element: HTMLElement): number | null;
2558
+
2559
+ type WaitUntilable<T> = T & {
2560
+ waitUntil: (promise: Promise<void>) => void;
2561
+ };
2562
+
2563
+ type FocusTranscriptInit = WaitUntilable<EmptyObject>;
2564
+
2565
+ type ContextType = {
2566
+ focusTranscriptCallbacksRef: MutableRefObject<((init: FocusTranscriptInit) => Promise<void>)[]>;
2567
+ };
2568
+ declare const context: react.Context<ContextType>;
2569
+
2570
+ declare function useTransformHTMLContent(): (documentFragment: DocumentFragment) => DocumentFragment;
2571
+
2572
+ declare const testIds: {
2573
+ codeBlockCopyButton: string;
2574
+ copyButton: string;
2575
+ sendBoxSpeechBox: string;
2576
+ sendBoxTextBox: string;
2577
+ typingIndicator: string;
2578
+ viewCodeButton: string;
2579
+ feedbackSendBox: string;
2580
+ };
2581
+
2582
+ type InputTargetProps<H> = {
2583
+ onChange?: (event: ChangeEvent<H>) => void;
2584
+ onFocus?: (event: FocusEvent<H>) => void;
2585
+ onKeyDown?: (event: KeyboardEvent<H>) => void;
2586
+ onSelect?: (event: SyntheticEvent<H>) => void;
2587
+ value?: string;
2588
+ };
2589
+ type PropsOf<T> = T extends ComponentType<infer P> ? P : never;
2590
+ declare function withEmoji<T extends ComponentType<P>, P extends InputTargetProps<H> = PropsOf<T>, H extends HTMLInputElement | HTMLTextAreaElement = P extends InputTargetProps<infer H> ? H : never>(componentType: T): react__default.ForwardRefExoticComponent<react__default.PropsWithoutRef<Readonly<Omit<P, "onChange" | "emojiMap"> & {
2591
+ emojiMap?: Map<string, string>;
2592
+ onChange?: (value: string | undefined) => void;
2593
+ }>> & react__default.RefAttributes<H>>;
2594
+
2595
+ type ContextOf<T extends Context$1<unknown>> = T extends Context$1<infer C> ? C : never;
2596
+
2597
+ declare const Context: react.Context<Readonly<{
2598
+ shouldReduceMotionState: readonly [boolean];
2599
+ }>>;
2600
+
2601
+ declare function useContext(): ContextOf<typeof Context>;
2602
+
2603
+ declare function useShouldReduceMotion(): ReturnType<typeof useContext>['shouldReduceMotionState'];
2604
+
2605
+ declare function useDictateAbortable(): [boolean];
2606
+
2607
+ declare function useFocus(): (where?: 'main' | 'sendBox' | 'sendBoxWithoutKeyboard') => Promise<void>;
2608
+
2609
+ declare function useMakeThumbnail(): (file: File, contentType?: string | undefined) => Promise<undefined | URL>;
2610
+
2611
+ type ScrollPosition = {
2612
+ activityID?: string;
2613
+ scrollTop: number;
2614
+ };
2615
+
2616
+ declare function useObserveScrollPosition(observer: (scrollPosition: ScrollPosition) => void, deps: any[]): void;
2617
+
2618
+ declare function useObserveTranscriptFocus(observer: (event: {
2619
+ activity: WebChatActivity;
2620
+ }) => void, deps: any[]): void;
2621
+
2622
+ declare function useRenderMarkdownAsHTML(mode?: 'accessible name' | 'adaptive cards' | 'citation modal' | 'message activity'): ((markdown: string, styleOptions?: Readonly<StrictStyleOptions>, options?: Readonly<{
2623
+ externalLinkAlt: string;
2624
+ }>) => string) | undefined;
2625
+
2626
+ declare function useScrollDown(): (options?: {
2627
+ displacement: number;
2628
+ }) => void;
2629
+
2630
+ declare function useScrollTo(): (position: ScrollPosition, scrollToOptions: {
2631
+ behavior?: 'auto' | 'smooth';
2632
+ }) => void;
2633
+
2634
+ declare function useScrollToEnd(): () => void;
2635
+
2636
+ declare function useScrollUp(): (options?: {
2637
+ displacement: number;
2638
+ }) => void;
2639
+
2640
+ /**
2641
+ * @deprecated This hook will be removed on or after 2026-04-03. Please use `useSendMessage` instead.
2642
+ */
2643
+ declare function useSendFiles(): (files: readonly File[]) => void;
2644
+
2645
+ type SendMessage = (text?: string, method?: string, init?: {
2646
+ attachments?: Iterable<SendBoxAttachment> | undefined;
2647
+ channelData?: any;
2648
+ }) => void;
2649
+ declare function useSendMessage(): SendMessage;
2650
+
2651
+ declare function useStyleSet(): readonly [Record<keyof ReturnType<typeof createStyleSet>, any>];
2652
+
2653
+ declare function useWebSpeechPonyfill(): [WebSpeechPonyfill];
2654
+
2655
+ declare function useTypingIndicatorVisible(): readonly [boolean];
2656
+
2657
+ declare function useMicrophoneButtonClick(): () => void;
2658
+ declare function useMicrophoneButtonDisabled(): [boolean];
2659
+
2660
+ /**
2661
+ * Submits the text box and optionally set the focus after send.
2662
+ */
2663
+ type SubmitTextBoxFunction = {
2664
+ /**
2665
+ * Submits the text box, without setting the focus after send.
2666
+ *
2667
+ * @deprecated Instead of passing `false`, you should leave the `setFocus` argument `undefined`.
2668
+ */
2669
+ (setFocus: false): void;
2670
+ /**
2671
+ * Submits the text box and optionally set the focus after send.
2672
+ */
2673
+ (setFocus?: 'sendBox' | 'sendBoxWithoutKeyboard'): void;
2674
+ };
2675
+ declare function useTextBoxSubmit(): SubmitTextBoxFunction;
2676
+ declare function useTextBoxValue(): [string, (textBoxValue: string) => void];
2677
+
2678
+ type SendBoxFocusOptions = WaitUntilable<{
2679
+ noKeyboard: boolean;
2680
+ }>;
2681
+
2682
+ declare const hooks: {
2683
+ useDictateAbortable: typeof useDictateAbortable;
2684
+ useFocus: typeof useFocus;
2685
+ useMakeThumbnail: typeof useMakeThumbnail;
2686
+ useMicrophoneButtonClick: typeof useMicrophoneButtonClick;
2687
+ useMicrophoneButtonDisabled: typeof useMicrophoneButtonDisabled;
2688
+ useObserveScrollPosition: typeof useObserveScrollPosition;
2689
+ useObserveTranscriptFocus: typeof useObserveTranscriptFocus;
2690
+ useRegisterFocusSendBox: (listener: (value: SendBoxFocusOptions) => void) => void;
2691
+ useRenderMarkdownAsHTML: typeof useRenderMarkdownAsHTML;
2692
+ useScrollDown: typeof useScrollDown;
2693
+ useScrollTo: typeof useScrollTo;
2694
+ useScrollToEnd: typeof useScrollToEnd;
2695
+ useScrollUp: typeof useScrollUp;
2696
+ useSendBoxSpeechInterimsVisible: typeof useSendBoxSpeechInterimsVisible;
2697
+ useSendFiles: typeof useSendFiles;
2698
+ useSendMessage: typeof useSendMessage;
2699
+ useShouldReduceMotion: typeof useShouldReduceMotion;
2700
+ useStyleSet: typeof useStyleSet;
2701
+ useTextBoxSubmit: typeof useTextBoxSubmit;
2702
+ useTextBoxValue: typeof useTextBoxValue;
2703
+ useTransformHTMLContent: typeof useTransformHTMLContent;
2704
+ useTypingIndicatorVisible: typeof useTypingIndicatorVisible;
2705
+ useWebSpeechPonyfill: typeof useWebSpeechPonyfill;
2706
+ useActiveTyping: (expireAfter?: number) => readonly [Readonly<Record<string, botframework_webchat_api.Typing>>];
2707
+ useActivities: () => [WebChatActivity[]];
2708
+ useActivityKeys: () => readonly [readonly string[]];
2709
+ useActivityKeysByRead: () => readonly [readonly string[], readonly string[]];
2710
+ useAvatarForBot: () => [{
2711
+ image: string;
2712
+ initials: string;
2713
+ }];
2714
+ useAvatarForUser: () => [{
2715
+ image: string;
2716
+ initials: string;
2717
+ }];
2718
+ useByteFormatter: () => (bytes: number) => string;
2719
+ useConnectivityStatus: () => [string];
2720
+ useCreateActivityRenderer: () => botframework_webchat_api.ActivityComponentFactory;
2721
+ useCreateActivityStatusRenderer: () => botframework_webchat_api.ActivityStatusRenderer;
2722
+ useCreateAttachmentForScreenReaderRenderer: () => botframework_webchat_api.AttachmentForScreenReaderComponentFactory;
2723
+ useCreateAvatarRenderer: () => ({ activity }: {
2724
+ activity: WebChatActivity;
2725
+ }) => false | (() => Exclude<react.ReactNode, boolean | null | undefined>);
2726
+ useCreateScrollToEndButtonRenderer: () => botframework_webchat_api.ScrollToEndButtonComponentFactory;
2727
+ useDateFormatter: () => (date: Date | number | string) => string;
2728
+ useDebouncedNotifications: () => [botframework_webchat_api.DebouncedNotifications];
2729
+ useDictateInterims: () => [string[], (interims: string[]) => void];
2730
+ useDictateState: () => [number];
2731
+ useDirection: () => ["auto" | "ltr" | "rtl"];
2732
+ useDisabled: () => readonly [boolean];
2733
+ useDismissNotification: () => (id: string) => void;
2734
+ useEmitTypingIndicator: () => () => void;
2735
+ useGetActivitiesByKey: () => (key?: string) => readonly WebChatActivity[] | undefined;
2736
+ useGetActivityByKey: () => (key?: string) => undefined | WebChatActivity;
2737
+ useGetHasAcknowledgedByActivityKey: typeof hooks$1.useGetHasAcknowledgedByActivityKey;
2738
+ useGetKeyByActivity: () => (activity?: WebChatActivity) => string | undefined;
2739
+ useGetKeyByActivityId: () => (activityId?: string) => string | undefined;
2740
+ useGetSendTimeoutForActivity: () => ({ activity }: {
2741
+ activity: WebChatActivity;
2742
+ }) => number;
2743
+ useGrammars: () => [any];
2744
+ useGroupActivities: () => ({ activities }: Readonly<{
2745
+ activities: readonly WebChatActivity[];
2746
+ }>) => Readonly<{
2747
+ [key: string]: readonly (readonly WebChatActivity[])[];
2748
+ }>;
2749
+ useGroupActivitiesByName: typeof hooks$1.useGroupActivitiesByName;
2750
+ useGroupTimestamp: () => [boolean | number];
2751
+ useLanguage: (options?: "speech") => [string];
2752
+ useLastAcknowledgedActivityKey: () => readonly [string];
2753
+ useLastReadActivityKey: () => readonly [string | undefined];
2754
+ useLocalizer: ({ plural }?: {
2755
+ plural?: boolean;
2756
+ }) => (id: string | {
2757
+ zero?: string;
2758
+ one?: string;
2759
+ two?: string;
2760
+ few?: string;
2761
+ many?: string;
2762
+ other: string;
2763
+ }, args_0?: string | number, ...args: string[]) => any;
2764
+ useMarkActivityAsSpoken: () => (activity: WebChatActivity) => void;
2765
+ useMarkActivityKeyAsRead: () => (activityKey: string) => void;
2766
+ useMarkAllAsAcknowledged: () => () => void;
2767
+ useNotifications: () => [botframework_webchat_api.Notification[]];
2768
+ usePerformCardAction: () => botframework_webchat_api.PerformCardAction;
2769
+ usePonyfill: () => readonly [botframework_webchat_core.GlobalScopePonyfill];
2770
+ usePostActivity: () => (activity: WebChatActivity) => botframework_webchat_core.Observable<string>;
2771
+ useReferenceGrammarID: () => [string];
2772
+ useRelativeTimeFormatter: () => (dateOrString: Date | string) => string;
2773
+ useRenderAttachment: () => botframework_webchat_api.RenderAttachment | undefined;
2774
+ useRenderToast: () => botframework_webchat_api.RenderToast;
2775
+ useRenderTypingIndicator: () => botframework_webchat_api.RenderTypingIndicator;
2776
+ useSendBoxAttachments: () => readonly [readonly botframework_webchat_core.SendBoxAttachment[], (attachments: readonly botframework_webchat_core.SendBoxAttachment[]) => void];
2777
+ useSendBoxValue: () => [string, (value: string) => void];
2778
+ useSendEvent: () => (name: string, value: any) => void;
2779
+ useSendMessageBack: () => (value: any, text?: string, displayText?: string) => void;
2780
+ useSendPostBack: () => (value?: any) => void;
2781
+ useSendStatusByActivityKey: typeof hooks$1.useSendStatusByActivityKey;
2782
+ useSendTimeoutForActivity: (activity: WebChatActivity) => number;
2783
+ useSendTypingIndicator: () => [boolean];
2784
+ useSetNotification: () => (notification: botframework_webchat_api.Notification) => void;
2785
+ useShouldSpeakIncomingActivity: () => [boolean, (value: boolean) => void];
2786
+ useStartDictate: () => () => void;
2787
+ useStopDictate: () => () => void;
2788
+ useStyleOptions: () => [botframework_webchat_api.StrictStyleOptions];
2789
+ useSubmitSendBox: () => (method?: string, { channelData }?: {
2790
+ channelData: any;
2791
+ }) => void;
2792
+ useSuggestedActions: () => [botframework_webchat_core.DirectLineCardAction[], (suggestedActions: never[]) => void, extras: {
2793
+ activity: WebChatActivity;
2794
+ }];
2795
+ useTimeoutForSend: () => [number | ((activity: WebChatActivity) => number)];
2796
+ useTrackDimension: () => (name: string, data: any) => void;
2797
+ useTrackEvent: () => {
2798
+ (name: string, data: any): void;
2799
+ debug: (name: string, data: any) => void;
2800
+ error: (name: string, data: any) => void;
2801
+ info: (name: string, data: any) => void;
2802
+ warn: (name: string, data: any) => void;
2803
+ };
2804
+ useTrackException: () => (error: Error, fatal: boolean) => void;
2805
+ useTrackTiming: <T>() => (name: string, functionOrPromise: (() => T) | Promise<T>) => Promise<T>;
2806
+ useUIState: () => readonly ["blueprint" | "disabled" | undefined];
2807
+ useUserID: () => [string];
2808
+ useUsername: () => [string];
2809
+ useVoiceSelector: (activity: any) => (voices: (typeof window.SpeechSynthesisVoice)[]) => typeof window.SpeechSynthesisVoice;
2810
+ };
2811
+ declare const version: string;
2812
+ declare const buildInfo: {
2813
+ buildTool: string;
2814
+ moduleFormat: string;
2815
+ version: string;
2816
+ };
2817
+ declare const Components: {
2818
+ BasicWebChat: react.MemoExoticComponent<(props: BasicWebChatProps) => react.JSX.Element>;
2819
+ Composer: {
2820
+ ({ activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, children, decoratorMiddleware, extraStyleSet, htmlContentTransformMiddleware, renderMarkdown, scrollToEndButtonMiddleware, sendBoxMiddleware: sendBoxMiddlewareFromProps, sendBoxToolbarMiddleware: sendBoxToolbarMiddlewareFromProps, styleOptions, styleSet, suggestedActionsAccessKey, toastMiddleware, typingIndicatorMiddleware, webSpeechPonyfillFactory, ...composerProps }: ComposerProps): react.JSX.Element;
2821
+ defaultProps: {
2822
+ children: any;
2823
+ extraStyleSet: any;
2824
+ nonce: any;
2825
+ renderMarkdown: any;
2826
+ styleSet: any;
2827
+ suggestedActionsAccessKey: string;
2828
+ webSpeechPonyfillFactory: any;
2829
+ internalRenderErrorBox: any;
2830
+ onTelemetry: any;
2831
+ ponyfill: any;
2832
+ store: any;
2833
+ };
2834
+ propTypes: {
2835
+ children: PropTypes.Requireable<any>;
2836
+ extraStyleSet: PropTypes.Requireable<any>;
2837
+ nonce: PropTypes.Requireable<string>;
2838
+ renderMarkdown: PropTypes.Requireable<(...args: any[]) => any>;
2839
+ styleSet: PropTypes.Requireable<any>;
2840
+ suggestedActionsAccessKey: PropTypes.Requireable<NonNullable<string | boolean>>;
2841
+ webSpeechPonyfillFactory: PropTypes.Requireable<(...args: any[]) => any>;
2842
+ internalRenderErrorBox: PropTypes.Requireable<any>;
2843
+ onTelemetry: PropTypes.Requireable<(...args: any[]) => any>;
2844
+ ponyfill: PropTypes.Requireable<any>;
2845
+ store: PropTypes.Requireable<any>;
2846
+ };
2847
+ };
2848
+ ThemeProvider: react.MemoExoticComponent<({ activityMiddleware, activityStatusMiddleware, attachmentForScreenReaderMiddleware, attachmentMiddleware, avatarMiddleware, cardActionMiddleware, children, groupActivitiesMiddleware, scrollToEndButtonMiddleware, sendBoxMiddleware, sendBoxToolbarMiddleware, styleOptions, styles, toastMiddleware, typingIndicatorMiddleware }: Readonly<{
2849
+ children?: react.ReactNode | undefined;
2850
+ } & Partial<ThemeContextType>>) => react.JSX.Element>;
2851
+ AccessKeySinkSurface: any;
2852
+ BasicConnectivityStatus: any;
2853
+ BasicSendBox: react.MemoExoticComponent<(props: BasicSendBoxProps) => react.JSX.Element>;
2854
+ BasicSendBoxToolbar: react.MemoExoticComponent<({ className }: botframework_webchat_api.SendBoxToolbarMiddlewareProps) => react.JSX.Element>;
2855
+ BasicToaster: any;
2856
+ BasicTranscript: react.ComponentType<{
2857
+ readonly className: string;
2858
+ ref?: react.Ref<never>;
2859
+ key?: react.Key | null | undefined;
2860
+ }>;
2861
+ AudioContent: react.MemoExoticComponent<(props: AudioContentProps) => react.JSX.Element>;
2862
+ FileContent: react.MemoExoticComponent<(props: FileContentProps) => react.JSX.Element>;
2863
+ HTMLVideoContent: react.MemoExoticComponent<(props: HTMLVideoContentProps) => react.JSX.Element>;
2864
+ ImageContent: react.MemoExoticComponent<({ alt, src }: Readonly<{
2865
+ alt?: string;
2866
+ src: string;
2867
+ }>) => react.JSX.Element>;
2868
+ TextContent: react.MemoExoticComponent<(props: TextContentProps) => react.JSX.Element>;
2869
+ VideoContent: react.MemoExoticComponent<(props: VideoContentProps) => react.JSX.Element>;
2870
+ VimeoContent: react.MemoExoticComponent<(props: VimeoContentProps) => react.JSX.Element>;
2871
+ YouTubeContent: react.MemoExoticComponent<(props: YouTubeContentProps) => react.JSX.Element>;
2872
+ Avatar: react.MemoExoticComponent<(props: AvatarProps) => react.JSX.Element>;
2873
+ Bubble: react.MemoExoticComponent<(props: BubbleProps) => react.JSX.Element>;
2874
+ ErrorBox: react.MemoExoticComponent<(props: ErrorBoxProps) => react.JSX.Element>;
2875
+ SendStatus: react.MemoExoticComponent<(props: SendStatusProps) => react.JSX.Element>;
2876
+ SpeakActivity: react.MemoExoticComponent<(props: SpeakProps) => react.JSX.Element>;
2877
+ Timestamp: react.MemoExoticComponent<(props: TimestampProps) => react.JSX.Element>;
2878
+ DictationInterims: react.MemoExoticComponent<(props: DictationInterimsProps) => react.JSX.Element>;
2879
+ MicrophoneButton: react.MemoExoticComponent<{
2880
+ ({ className }: Readonly<{
2881
+ className?: string | undefined;
2882
+ }>): react.JSX.Element;
2883
+ displayName: string;
2884
+ }>;
2885
+ SendButton: typeof SendButton;
2886
+ SendTextBox: ({ className }: Readonly<{
2887
+ className?: string | undefined;
2888
+ }>) => react.JSX.Element;
2889
+ SuggestedActions: ({ className }: Readonly<{
2890
+ className?: string;
2891
+ }>) => react.JSX.Element;
2892
+ UploadButton: react.MemoExoticComponent<(props: UploadButtonProps) => react.JSX.Element>;
2893
+ LocalizedString: react.MemoExoticComponent<(props: Readonly<{
2894
+ className?: string | undefined;
2895
+ linkClassName?: string | undefined;
2896
+ onDecorateLink?: ((href: string, textContent: string) => LinkOptions | undefined) | undefined;
2897
+ }> & (Readonly<{
2898
+ stringIds: {
2899
+ zero?: string;
2900
+ one?: string;
2901
+ two?: string;
2902
+ few?: string;
2903
+ many?: string;
2904
+ other: string;
2905
+ };
2906
+ values: readonly [number, ...(number | string)[]] | undefined;
2907
+ }> | Readonly<{
2908
+ stringIds: string;
2909
+ values?: readonly (number | string)[] | undefined;
2910
+ }>)) => react.JSX.Element>;
2911
+ MonochromeImageMasker: react.MemoExoticComponent<{
2912
+ ({ className, src }: Readonly<{
2913
+ className?: string | undefined;
2914
+ src: string;
2915
+ }>): react.JSX.Element;
2916
+ displayName: string;
2917
+ }>;
2918
+ };
2919
+
2920
+ export { type BasicWebChatProps, Components, type ComposerProps, context as Context, type HTMLContentTransformEnhancer, type HTMLContentTransformFunction, type HTMLContentTransformMiddleware, type HTMLContentTransformRequest, type ReactWebChatProps, type SendBoxFocusOptions, buildInfo, createCoreMiddleware$1 as createCoreActivityMiddleware, createCoreMiddleware as createCoreActivityStatusMiddleware, createCoreMiddleware$2 as createCoreAttachmentMiddleware, createStyleSet, ReactWebChat as default, getTabIndex, hooks, testIds, version, withEmoji };