@azure/communication-react 1.14.1-alpha-202403261958 → 1.14.1-alpha-202403270012

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 (101) hide show
  1. package/dist/communication-react.d.ts +1 -1
  2. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BRqOsupu.js → RichTextSendBoxWrapper-Yty3fOoA.js} +6 -6
  3. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-BRqOsupu.js.map → RichTextSendBoxWrapper-Yty3fOoA.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{index-Ba2HAv_Y.js → index-BEomNZbT.js} +675 -647
  5. package/dist/dist-cjs/communication-react/index-BEomNZbT.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index.js +3 -3
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  9. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  10. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +6 -6
  11. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  12. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/AttachmentCard.d.ts +3 -1
  14. package/dist/dist-esm/react-components/src/components/AttachmentCard.js +75 -59
  15. package/dist/dist-esm/react-components/src/components/AttachmentCard.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.d.ts +1 -1
  17. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js +11 -10
  18. package/dist/dist-esm/react-components/src/components/AttachmentDownloadCards.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js +2 -12
  20. package/dist/dist-esm/react-components/src/components/AttachmentUploadCards.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +8 -8
  22. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js +5 -5
  24. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsRichTextEditBox.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js +6 -6
  27. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/ChatMessageComponentAsMessageBubble.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js +10 -8
  29. package/dist/dist-esm/react-components/src/components/ChatMessage/MessageComponents/FluentChatMessageComponent.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js +6 -6
  31. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/ChatMyMessageComponentAsMessageBubble.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js +10 -8
  33. package/dist/dist-esm/react-components/src/components/ChatMessage/MyMessageComponents/FluentChatMyMessageComponent.js.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -3
  35. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  36. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js +7 -6
  37. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextInputBoxComponent.js.map +1 -1
  38. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +24 -24
  39. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js +6 -6
  41. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBoxErrors.js.map +1 -1
  42. package/dist/dist-esm/react-components/src/components/SendBox.js +33 -23
  43. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  44. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.d.ts +9 -0
  46. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js +27 -0
  47. package/dist/dist-esm/react-components/src/components/styles/AttachmentCard.styles.js.map +1 -0
  48. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +3 -2
  49. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  50. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js +6 -5
  51. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentAsEditBoxUtils.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js +10 -10
  53. package/dist/dist-esm/react-components/src/components/utils/ChatMessageComponentUtils.js.map +1 -1
  54. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js +2 -2
  55. package/dist/dist-esm/react-components/src/components/utils/SendBoxUtils.js.map +1 -1
  56. package/dist/dist-esm/react-components/src/components/utils/common.js +2 -2
  57. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  58. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  59. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  60. package/dist/dist-esm/react-components/src/theming/icons.js +3 -3
  61. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  62. package/dist/dist-esm/react-components/src/types/Attachment.d.ts +9 -0
  63. package/dist/dist-esm/react-components/src/types/Attachment.js.map +1 -1
  64. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +3 -3
  66. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +15 -15
  68. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  70. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +8 -8
  71. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  72. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +2 -2
  73. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +4 -4
  75. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  76. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +8 -8
  77. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  78. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +22 -22
  80. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +6 -6
  82. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  83. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +1 -1
  85. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +4 -4
  87. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -3
  89. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  90. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  91. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +1 -1
  92. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -1
  93. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js +8 -8
  94. package/dist/dist-esm/react-composites/src/composites/common/SendBox.js.map +1 -1
  95. package/dist/dist-esm/react-composites/src/composites/common/icons.js +2 -2
  96. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  97. package/package.json +1 -1
  98. package/dist/dist-cjs/communication-react/index-Ba2HAv_Y.js.map +0 -1
  99. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.d.ts +0 -5
  100. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js +0 -17
  101. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +0 -1
@@ -4492,7 +4492,7 @@ export declare type ChatAdapterUiState = {
4492
4492
  * Represents the type of attachment
4493
4493
  * @public
4494
4494
  */
4495
- export declare type ChatAttachmentType = 'unknown' | 'image' | /* @conditional-compile-remove(file-sharing) */ 'file';
4495
+ export declare type ChatAttachmentType = 'unknown' | 'image' | /* @conditional-compile-remove(attachment-download) @conditional-compile-remove(attachment-upload) */ 'file';
4496
4496
 
4497
4497
  /**
4498
4498
  * Common props for selectors for {@link ChatClientState}.
@@ -1,12 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index = require('./index-Ba2HAv_Y.js');
4
+ var index = require('./index-BEomNZbT.js');
5
5
  require('@fluentui/react');
6
- require('@fluentui/react-file-type-icons');
7
- require('@azure/communication-common');
8
6
  require('@fluentui/react-components');
7
+ require('@fluentui/react-file-type-icons');
8
+ require('@fluentui/react-icons');
9
9
  require('@fluentui-contrib/react-chat');
10
+ require('@azure/communication-common');
10
11
  require('@fluentui/react-hooks');
11
12
  require('react-use-draggable-scroll');
12
13
  require('copy-to-clipboard');
@@ -16,14 +17,13 @@ require('memoize-one');
16
17
  require('@azure/logger');
17
18
  require('events');
18
19
  require('immer');
19
- require('@fluentui/react-icons');
20
20
  require('textarea-caret-ts');
21
21
  require('use-debounce');
22
+ require('@griffel/react');
22
23
  require('roosterjs-editor-plugins');
23
24
  require('roosterjs-editor-core');
24
25
  require('roosterjs-react');
25
26
  require('uuid');
26
- require('@griffel/react');
27
27
  require('html-react-parser');
28
28
  require('react-linkify');
29
29
  require('dompurify');
@@ -48,4 +48,4 @@ const RichTextSendBoxWrapper = () => {
48
48
  };
49
49
 
50
50
  exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
51
- //# sourceMappingURL=RichTextSendBoxWrapper-BRqOsupu.js.map
51
+ //# sourceMappingURL=RichTextSendBoxWrapper-Yty3fOoA.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextSendBoxWrapper-BRqOsupu.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}
1
+ {"version":3,"file":"RichTextSendBoxWrapper-Yty3fOoA.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}