@azure/communication-react 1.3.3-alpha-202210260016.0 → 1.3.3-alpha-202210280017.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/communication-react.d.ts +21 -0
  2. package/dist/dist-cjs/communication-react/index.js +136 -81
  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-stateful-client/src/CallClientState.d.ts +9 -0
  7. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  8. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -0
  9. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +23 -0
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  11. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  12. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -0
  13. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/Converter.js +3 -1
  15. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +9 -3
  17. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  19. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  20. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +2 -0
  22. package/dist/dist-esm/react-components/src/components/MessageThread.js +7 -7
  23. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/VideoTile.js +1 -1
  25. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +1 -1
  27. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +4 -3
  28. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +58 -8
  30. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +66 -16
  31. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +57 -7
  32. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +62 -12
  33. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +63 -13
  34. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +66 -16
  35. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +59 -9
  36. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +57 -7
  37. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +66 -16
  38. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +60 -10
  39. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +66 -16
  40. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +60 -10
  41. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +59 -9
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +5 -0
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +24 -27
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +1 -1
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +3 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +5 -0
  52. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -2
  53. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
  57. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +3 -3
  58. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  59. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +6 -1
  60. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +0 -1
  62. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +55 -14
  64. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +55 -14
  65. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +55 -14
  66. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +55 -14
  67. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +55 -14
  68. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +55 -14
  69. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +55 -14
  70. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +55 -14
  71. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +55 -14
  72. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +55 -14
  73. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +55 -14
  74. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +55 -14
  75. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +55 -14
  76. package/package.json +12 -12
@@ -68,6 +68,7 @@ import { MediaStreamType } from '@azure/communication-calling';
68
68
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
69
69
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
70
70
  import { PartialTheme } from '@fluentui/react';
71
+ import { ParticipantRole } from '@azure/communication-calling';
71
72
  import { PermissionConstraints } from '@azure/communication-calling';
72
73
  import { PersonaInitialsColor } from '@fluentui/react';
73
74
  import { PersonaPresence } from '@fluentui/react';
@@ -1111,6 +1112,11 @@ export declare type CallCompositeOptions = {
1111
1112
  * Require device permissions to be set or have them as optional or not required to start a call
1112
1113
  */
1113
1114
  devicePermissions?: DevicePermissionRestrictions;
1115
+ /**
1116
+ * Opt in call readiness feature for your call
1117
+ * Setting this to `true` will add call readiness features to the call experience
1118
+ */
1119
+ callReadinessOptedIn?: boolean;
1114
1120
  /**
1115
1121
  * Callback you may provide to supply users with further steps to troubleshoot why they have been
1116
1122
  * unable to grant your site the required permissions for the call.
@@ -1851,6 +1857,10 @@ export declare interface CallState {
1851
1857
  * Stores the latest call diagnostics.
1852
1858
  */
1853
1859
  diagnostics: DiagnosticsCallFeatureState;
1860
+ /**
1861
+ * Proxy of {@link @azure/communication-calling#Call.role}.
1862
+ */
1863
+ role?: ParticipantRole;
1854
1864
  }
1855
1865
 
1856
1866
  /**
@@ -2372,6 +2382,11 @@ export declare type CallWithChatCompositeOptions = {
2372
2382
  * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2373
2383
  */
2374
2384
  onNetworkingTroubleShootingClick?: () => void;
2385
+ /**
2386
+ * Opt in call readiness feature for your call
2387
+ * setting this to True will add call readiness feature in call experience
2388
+ */
2389
+ callReadinessOptedIn?: boolean;
2375
2390
  };
2376
2391
 
2377
2392
  /**
@@ -6028,6 +6043,8 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
6028
6043
  chatItemMessageContainer?: ComponentSlotStyle;
6029
6044
  /** Styles for my chat message container. */
6030
6045
  myChatMessageContainer?: ComponentSlotStyle;
6046
+ /** Styles for my chat message container in case of failure. */
6047
+ failedMyChatMessageContainer?: ComponentSlotStyle;
6031
6048
  /** Styles for chat message container. */
6032
6049
  chatMessageContainer?: ComponentSlotStyle;
6033
6050
  /** Styles for system message container. */
@@ -6705,6 +6722,10 @@ export declare interface RemoteParticipantState {
6705
6722
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
6706
6723
  */
6707
6724
  isSpeaking: boolean;
6725
+ /**
6726
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
6727
+ */
6728
+ role?: ParticipantRole;
6708
6729
  }
6709
6730
 
6710
6731
  /**