@azure/communication-react 1.14.0-alpha-202403010014 → 1.14.0-alpha-202403030013

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 (70) hide show
  1. package/dist/communication-react.d.ts +30 -1
  2. package/dist/dist-cjs/communication-react/index.js +240 -139
  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/handlers/createCommonHandlers.d.ts +1 -0
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +6 -0
  8. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  9. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +1 -1
  10. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +25 -6
  11. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  12. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -1
  13. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +6 -0
  15. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.d.ts +2 -1
  17. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js +11 -3
  18. package/dist/dist-esm/react-components/src/components/RTE/RTEInputBoxComponent.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js +1 -1
  20. package/dist/dist-esm/react-components/src/components/RTE/RTERibbonButtons.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js +4 -9
  22. package/dist/dist-esm/react-components/src/components/RTE/RTESendBox.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js +6 -0
  24. package/dist/dist-esm/react-components/src/components/RTE/RTESendBoxErrors.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.d.ts +1 -1
  26. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js +12 -18
  27. package/dist/dist-esm/react-components/src/components/RTE/RichTextEditor.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +5 -1
  29. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +49 -84
  30. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +8 -0
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +1 -0
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +8 -0
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +4 -0
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +72 -23
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.d.ts +1 -0
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +2 -1
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.d.ts +1 -0
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +25 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +4 -0
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +1 -0
  49. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +6 -0
  50. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +4 -0
  52. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +1 -0
  54. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +6 -0
  55. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/common/ExitSpotlightButton.js.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +3 -0
  59. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +6 -1
  60. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -0
  62. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +5 -1
  63. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +6 -0
  65. package/dist/dist-esm/react-composites/src/composites/common/icons.js +6 -2
  66. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +8 -1
  68. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +2 -0
  70. package/package.json +6 -5
@@ -910,6 +910,10 @@ export declare interface CallAdapterCallOperations {
910
910
  * Stop spotlight
911
911
  */
912
912
  stopSpotlight(userIds?: string[]): Promise<void>;
913
+ /**
914
+ * Stop all spotlights
915
+ */
916
+ stopAllSpotlight(): Promise<void>;
913
917
  }
914
918
 
915
919
  /**
@@ -1496,6 +1500,8 @@ export declare type CallCompositeIcons = {
1496
1500
  LargeGalleryLayout?: JSX.Element;
1497
1501
  DefaultCustomButton?: JSX.Element;
1498
1502
  DtmfDialpadButton?: JSX.Element;
1503
+ PeoplePaneMoreButton?: JSX.Element;
1504
+ StopAllSpotlightMenuButton?: JSX.Element;
1499
1505
  };
1500
1506
 
1501
1507
  /**
@@ -1897,6 +1903,10 @@ export declare interface CallCompositeStrings {
1897
1903
  * Side pane People section Title.
1898
1904
  */
1899
1905
  peoplePaneTitle: string;
1906
+ /**
1907
+ * Aria label of more button in people pane
1908
+ */
1909
+ peoplePaneMoreButtonAriaLabel: string;
1900
1910
  /**
1901
1911
  * Aria label string for return to call back button
1902
1912
  */
@@ -1957,6 +1967,10 @@ export declare interface CallCompositeStrings {
1957
1967
  * Label for menu item to stop spotlight on local user
1958
1968
  */
1959
1969
  spotlightLimitReachedParticipantListMenuTitle: string;
1970
+ /**
1971
+ * Label for menu item to stop all spotlight
1972
+ */
1973
+ stopAllSpotlightMenuLabel: string;
1960
1974
  /**
1961
1975
  * Label for add people dropdown
1962
1976
  */
@@ -2739,6 +2753,8 @@ export declare interface CallState {
2739
2753
  recording: RecordingCallFeature;
2740
2754
  /**
2741
2755
  * Proxy of {@link @azure/communication-calling#PPTLiveCallFeature}.
2756
+ *
2757
+ *@beta
2742
2758
  */
2743
2759
  pptLive: PPTLiveCallFeatureState;
2744
2760
  /**
@@ -2769,6 +2785,8 @@ export declare interface CallState {
2769
2785
  * Note this only applies to PPTLive in RemoteParticipant.
2770
2786
  *
2771
2787
  * This property is added by the stateful layer and is not a proxy of SDK state
2788
+ *
2789
+ *@beta
2772
2790
  */
2773
2791
  contentSharingRemoteParticipant?: string;
2774
2792
  /**
@@ -3234,6 +3252,10 @@ export declare interface CallWithChatAdapterManagement {
3234
3252
  * Stop spotlight
3235
3253
  */
3236
3254
  stopSpotlight(userIds?: string[]): Promise<void>;
3255
+ /**
3256
+ * Stop all spotlights
3257
+ */
3258
+ stopAllSpotlight(): Promise<void>;
3237
3259
  }
3238
3260
 
3239
3261
  /**
@@ -3463,6 +3485,8 @@ export declare type CallWithChatCompositeIcons = {
3463
3485
  SendBoxAttachFile?: JSX.Element;
3464
3486
  ParticipantItemOptions?: JSX.Element;
3465
3487
  ParticipantItemOptionsHovered?: JSX.Element;
3488
+ PeoplePaneMoreButton?: JSX.Element;
3489
+ StopAllSpotlightMenuButton?: JSX.Element;
3466
3490
  };
3467
3491
 
3468
3492
  /**
@@ -5090,6 +5114,7 @@ export declare interface CommonCallingHandlers {
5090
5114
  onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
5091
5115
  onStartSpotlight: (userIds?: string[]) => Promise<void>;
5092
5116
  onStopSpotlight: (userIds?: string[]) => Promise<void>;
5117
+ onStopAllSpotlight: () => Promise<void>;
5093
5118
  }
5094
5119
 
5095
5120
  /**
@@ -6335,6 +6360,8 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6335
6360
  LargeGalleryLayout?: JSX.Element | undefined;
6336
6361
  DefaultCustomButton?: JSX.Element | undefined;
6337
6362
  DtmfDialpadButton?: JSX.Element | undefined;
6363
+ PeoplePaneMoreButton?: JSX.Element | undefined;
6364
+ StopAllSpotlightMenuButton?: JSX.Element | undefined;
6338
6365
  ChevronLeft?: JSX.Element | undefined;
6339
6366
  ControlBarChatButtonActive?: JSX.Element | undefined;
6340
6367
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -9438,6 +9465,8 @@ export declare interface RemoteParticipantState {
9438
9465
  raisedHand?: RaisedHandState;
9439
9466
  /**
9440
9467
  * Proxy of {@link @azure/communication-calling#Call.PPTLive.target}.
9468
+ *
9469
+ * @beta
9441
9470
  */
9442
9471
  contentSharingStream?: HTMLElement;
9443
9472
  /**
@@ -11271,7 +11300,7 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
11271
11300
  * @public
11272
11301
  */
11273
11302
  export declare type VideoGallerySelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
11274
- screenShareParticipant: VideoGalleryRemoteParticipant | undefined;
11303
+ screenShareParticipant?: VideoGalleryRemoteParticipant;
11275
11304
  localParticipant: VideoGalleryLocalParticipant;
11276
11305
  remoteParticipants: VideoGalleryRemoteParticipant[];
11277
11306
  dominantSpeakers?: string[];