@azure/communication-react 1.13.0-alpha-202402220012 → 1.13.0-alpha-202402240011

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 (130) hide show
  1. package/dist/communication-react.d.ts +67 -11
  2. package/dist/dist-cjs/communication-react/index.js +426 -110
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +5 -4
  7. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +5 -5
  9. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +1 -1
  10. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +1 -1
  12. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +2 -2
  13. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +1 -0
  15. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  16. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +1 -1
  17. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  18. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +3 -1
  19. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +5 -4
  20. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  21. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +4 -4
  22. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  23. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +1 -1
  24. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  25. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js +1 -1
  26. package/dist/dist-esm/chat-stateful-client/src/ResourceDownloadQueue.js.map +1 -1
  27. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  28. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +7 -7
  30. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +11 -17
  31. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.d.ts +7 -0
  33. package/dist/dist-esm/react-components/src/components/Dialpad/DTMFToneGenerator.js.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +3 -3
  36. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.d.ts +19 -0
  38. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +20 -0
  39. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -0
  40. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +4 -64
  41. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  42. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.d.ts +42 -0
  43. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js +73 -0
  44. package/dist/dist-esm/react-components/src/components/MessageStatusIndicatorInternal.js.map +1 -0
  45. package/dist/dist-esm/react-components/src/components/MessageThread.js +36 -4
  46. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  48. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +2 -0
  49. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  50. package/dist/dist-esm/react-components/src/components/ParticipantList.js +4 -8
  51. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +2 -0
  53. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +1 -1
  54. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -1
  55. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.d.ts +12 -0
  56. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +86 -0
  57. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -0
  58. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.d.ts +39 -4
  59. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +10 -5
  60. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -1
  61. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +2 -0
  62. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +52 -20
  63. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -1
  64. package/dist/dist-esm/react-components/src/components/ReactionButton.d.ts +1 -1
  65. package/dist/dist-esm/react-components/src/components/ReactionButton.js +1 -1
  66. package/dist/dist-esm/react-components/src/components/ReactionButton.js.map +1 -1
  67. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.d.ts +1 -1
  68. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +4 -6
  69. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  70. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +4 -6
  71. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +21 -11
  72. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -1
  73. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  74. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +2 -0
  75. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  76. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
  77. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  78. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -2
  79. package/dist/dist-esm/react-components/src/components/index.js +1 -1
  80. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  81. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +13 -0
  82. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +112 -0
  83. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  84. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +2 -2
  85. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  86. package/dist/dist-esm/react-components/src/components/utils.d.ts +8 -1
  87. package/dist/dist-esm/react-components/src/components/utils.js +8 -0
  88. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  89. package/dist/dist-esm/react-components/src/index.d.ts +1 -1
  90. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  91. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -2
  92. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  93. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +21 -4
  94. package/dist/dist-esm/react-components/src/localization/locales/utils.js +5 -1
  95. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  96. package/dist/dist-esm/react-components/src/theming/icons.d.ts +8 -0
  97. package/dist/dist-esm/react-components/src/theming/icons.js +19 -1
  98. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  99. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.d.ts +21 -0
  100. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  101. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +1 -1
  102. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  103. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -1
  104. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +7 -3
  105. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  106. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -1
  107. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  108. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +2 -2
  109. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  110. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +2 -2
  111. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  112. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +1 -1
  113. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  114. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -1
  115. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +3 -3
  116. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  117. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +1 -1
  118. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  119. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -1
  120. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +1 -1
  121. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  122. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +1 -1
  123. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  124. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +3 -5
  125. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  126. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +5 -2
  127. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  128. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +8 -0
  129. package/dist/tsdoc-metadata.json +1 -1
  130. package/package.json +7 -7
@@ -750,7 +750,7 @@ export declare interface CallAdapterCallOperations {
750
750
  *
751
751
  * @beta
752
752
  */
753
- onReactionClicked(reaction: Reaction_2): Promise<void>;
753
+ onReactionClick(reaction: Reaction_2): Promise<void>;
754
754
  /**
755
755
  * Stop sharing the screen
756
756
  *
@@ -2733,7 +2733,7 @@ export declare interface CallState {
2733
2733
  raiseHand: RaiseHandCallFeature;
2734
2734
  /**
2735
2735
  * Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
2736
- * UI helper props receivedAt which indicates the timestamp when the message was received.
2736
+ * UI helper props receivedOn which indicates the timestamp when the message was received.
2737
2737
  *
2738
2738
  * @beta
2739
2739
  */
@@ -2939,7 +2939,7 @@ export declare interface CallWithChatAdapterManagement {
2939
2939
  *
2940
2940
  * @beta
2941
2941
  */
2942
- onReactionClicked(reaction: Reaction_2): Promise<void>;
2942
+ onReactionClick(reaction: Reaction_2): Promise<void>;
2943
2943
  /**
2944
2944
  * Create the html view for a stream.
2945
2945
  *
@@ -5029,7 +5029,7 @@ export declare interface CommonCallingHandlers {
5029
5029
  /**
5030
5030
  * @beta
5031
5031
  */
5032
- onReactionClicked: (reaction: Reaction_2) => Promise<void>;
5032
+ onReactionClick: (reaction: Reaction_2) => Promise<void>;
5033
5033
  onToggleHold: () => Promise<void>;
5034
5034
  onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
5035
5035
  onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
@@ -5332,6 +5332,8 @@ export declare interface ComponentStrings {
5332
5332
  typingIndicator: TypingIndicatorStrings;
5333
5333
  /** Strings for SendBox */
5334
5334
  sendBox: SendBoxStrings;
5335
+ /** Strings for RTESendBox */
5336
+ richTextSendBox: RichTextSendBoxStrings;
5335
5337
  /** Strings for MentionPopover */
5336
5338
  mentionPopover: MentionPopoverStrings;
5337
5339
  /** Strings for ImageOverlay */
@@ -5388,8 +5390,6 @@ export declare interface ComponentStrings {
5388
5390
  verticalGallery: VerticalGalleryStrings;
5389
5391
  /** Strings for the participant list component */
5390
5392
  ParticipantList: ParticipantListStrings;
5391
- /** Strings for the attendee role */
5392
- AttendeeRole: string;
5393
5393
  }
5394
5394
 
5395
5395
  /**
@@ -6201,6 +6201,14 @@ export declare const DEFAULT_COMPONENT_ICONS: {
6201
6201
  StartSpotlightContextualMenuItem: React_2.JSX.Element;
6202
6202
  StopSpotlightContextualMenuItem: React_2.JSX.Element;
6203
6203
  VideoSpotlighted: React_2.JSX.Element;
6204
+ RTEBoldButtonIcon: React_2.JSX.Element;
6205
+ RTEItalicButtonIcon: React_2.JSX.Element;
6206
+ RTEUnderlineButtonIcon: React_2.JSX.Element;
6207
+ RTEBulletListButtonIcon: React_2.JSX.Element;
6208
+ RTEtNumberListButtonIcon: React_2.JSX.Element;
6209
+ RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
6210
+ RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
6211
+ RTEDividerIcon: React_2.JSX.Element;
6204
6212
  };
6205
6213
 
6206
6214
  /**
@@ -6350,6 +6358,14 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6350
6358
  StartSpotlightContextualMenuItem: React_2.JSX.Element;
6351
6359
  StopSpotlightContextualMenuItem: React_2.JSX.Element;
6352
6360
  VideoSpotlighted: React_2.JSX.Element;
6361
+ RTEBoldButtonIcon: React_2.JSX.Element;
6362
+ RTEItalicButtonIcon: React_2.JSX.Element;
6363
+ RTEUnderlineButtonIcon: React_2.JSX.Element;
6364
+ RTEBulletListButtonIcon: React_2.JSX.Element;
6365
+ RTEtNumberListButtonIcon: React_2.JSX.Element;
6366
+ RTEIndentDecreaseButtonIcon: React_2.JSX.Element;
6367
+ RTEIndentIncreaseButtonIcon: React_2.JSX.Element;
6368
+ RTEDividerIcon: React_2.JSX.Element;
6353
6369
  };
6354
6370
 
6355
6371
  /**
@@ -8752,6 +8768,8 @@ export declare interface ParticipantItemStrings {
8752
8768
  participantStateRinging?: string;
8753
8769
  /** String shown when `participantState` is `Hold` */
8754
8770
  participantStateHold?: string;
8771
+ /** String for the attendee role */
8772
+ attendeeRole: string;
8755
8773
  }
8756
8774
 
8757
8775
  /**
@@ -9191,7 +9209,7 @@ export declare type Reaction = {
9191
9209
  /**
9192
9210
  * Received timestamp for the message as default Date format.
9193
9211
  */
9194
- receivedAt: Date;
9212
+ receivedOn: Date;
9195
9213
  };
9196
9214
 
9197
9215
  /**
@@ -9207,7 +9225,7 @@ export declare interface ReactionButtonProps extends ControlBarButtonProps {
9207
9225
  /**
9208
9226
  * Click event to send reaction to meeting
9209
9227
  */
9210
- onReactionClicked: (reaction: string) => Promise<void>;
9228
+ onReactionClick: (reaction: string) => Promise<void>;
9211
9229
  /**
9212
9230
  * Reaction resource locator and parameters
9213
9231
  */
@@ -9285,7 +9303,7 @@ export declare type ReactionSprite = {
9285
9303
  };
9286
9304
 
9287
9305
  /**
9288
- * State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedAt.
9306
+ * State only version of {@link @azure/communication-calling#Call.ReactionMessage} with UI helper props receivedOn.
9289
9307
  * Reaction state with a timestamp which helps UI to decide to render the reaction accordingly.
9290
9308
  *
9291
9309
  * @beta
@@ -9298,7 +9316,7 @@ export declare type ReactionState = {
9298
9316
  /**
9299
9317
  * Received timestamp of the reaction message in a meeting.
9300
9318
  */
9301
- receivedAt: Date;
9319
+ receivedOn: Date;
9302
9320
  };
9303
9321
 
9304
9322
  /**
@@ -9374,7 +9392,7 @@ export declare interface RemoteParticipantState {
9374
9392
  raisedHand?: RaisedHandState;
9375
9393
  /**
9376
9394
  * Proxy of {@link @azure/communication-calling#Call.ReactionMessage} with
9377
- * UI helper props receivedAt which indicates the timestamp when the message was received.
9395
+ * UI helper props receivedOn which indicates the timestamp when the message was received.
9378
9396
  *
9379
9397
  * @beta
9380
9398
  */
@@ -9447,6 +9465,42 @@ export declare type ResourceDetails = {
9447
9465
  resourceUrl: string;
9448
9466
  };
9449
9467
 
9468
+ /**
9469
+ * Strings of {@link RichTextSendBox} that can be overridden.
9470
+ *
9471
+ * @beta
9472
+ */
9473
+ export declare interface RichTextSendBoxStrings extends SendBoxStrings {
9474
+ /**
9475
+ * Tooltip text for the bold button.
9476
+ */
9477
+ boldTooltip: string;
9478
+ /**
9479
+ * Tooltip text for the italic button.
9480
+ */
9481
+ italicTooltip: string;
9482
+ /**
9483
+ * Tooltip text for the underline button.
9484
+ */
9485
+ underlineTooltip: string;
9486
+ /**
9487
+ * Tooltip text for the bullet list button.
9488
+ */
9489
+ bulletListTooltip: string;
9490
+ /**
9491
+ * Tooltip text for the number list button.
9492
+ */
9493
+ numberListTooltip: string;
9494
+ /**
9495
+ * Tooltip text for the increase indent button.
9496
+ */
9497
+ increaseIndentTooltip: string;
9498
+ /**
9499
+ * Tooltip text for the decrease indent button.
9500
+ */
9501
+ decreaseIndentTooltip: string;
9502
+ }
9503
+
9450
9504
  /**
9451
9505
  * A button to start / stop screen sharing.
9452
9506
  *
@@ -11246,6 +11300,8 @@ export declare interface VideoGalleryStrings {
11246
11300
  stopSpotlightVideoTileMenuLabel: string;
11247
11301
  /** Menu text shown in Video Tile contextual menu to stop spotlight on local user's video tile */
11248
11302
  stopSpotlightOnSelfVideoTileMenuLabel: string;
11303
+ /** String for the attendee role */
11304
+ attendeeRole: string;
11249
11305
  }
11250
11306
 
11251
11307
  /**