@azure/communication-react 1.5.1-alpha-202306110015 → 1.5.1-alpha-202306140013

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 (73) hide show
  1. package/dist/communication-react.d.ts +8 -9
  2. package/dist/dist-cjs/communication-react/index.js +192 -173
  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/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +5 -1
  7. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  8. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +3 -3
  9. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +1 -1
  11. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +1 -3
  13. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  14. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +106 -80
  15. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +0 -15
  17. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +6 -34
  18. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/VideoTile.js +7 -3
  20. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +1 -1
  22. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -3
  24. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/utils.d.ts +0 -4
  26. package/dist/dist-esm/react-components/src/components/utils.js +0 -4
  27. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +1 -1
  29. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
  30. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
  31. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +1 -1
  32. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
  33. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +1 -1
  34. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
  35. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
  36. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
  37. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +1 -1
  38. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
  39. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +1 -1
  40. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
  41. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
  42. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +1 -1
  43. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
  44. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
  45. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
  46. package/dist/dist-esm/react-composites/src/Logger.d.ts +5 -0
  47. package/dist/dist-esm/react-composites/src/Logger.js +8 -0
  48. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -0
  49. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +8 -9
  50. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +19 -3
  51. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/strings.json +6 -1
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +6 -1
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +6 -1
  57. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +6 -1
  58. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/strings.json +6 -1
  59. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +6 -1
  60. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/strings.json +6 -1
  61. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +6 -1
  62. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +6 -1
  63. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +6 -1
  64. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/strings.json +6 -1
  65. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +6 -1
  66. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/strings.json +6 -1
  67. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +6 -1
  68. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +6 -1
  69. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/strings.json +6 -1
  70. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +6 -1
  71. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +6 -1
  72. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +6 -1
  73. package/package.json +15 -15
@@ -3980,6 +3980,12 @@ export declare type CommonCallAdapterOptions = {
3980
3980
  * Default set of background images for background image picker.
3981
3981
  */
3982
3982
  videoBackgroundImages?: VideoBackgroundImage[];
3983
+ /**
3984
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
3985
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
3986
+ * and would not be updated again within the lifecycle of adapter.
3987
+ */
3988
+ onFetchProfile?: OnFetchProfileCallback;
3983
3989
  };
3984
3990
 
3985
3991
  /**
@@ -4882,7 +4888,7 @@ export declare const createTeamsCallAdapter: ({ userId, credential, locator, opt
4882
4888
  *
4883
4889
  * @beta
4884
4890
  */
4885
- export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
4891
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
4886
4892
 
4887
4893
  /**
4888
4894
  * Object returned after creating a local or remote VideoStream.
@@ -8462,14 +8468,7 @@ export declare interface SystemMessageCommon extends MessageCommon {
8462
8468
  *
8463
8469
  * @beta
8464
8470
  */
8465
- export declare type TeamsAdapterOptions = {
8466
- /**
8467
- * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
8468
- * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
8469
- * and would not be updated again within the lifecycle of adapter.
8470
- */
8471
- onFetchProfile?: OnFetchProfileCallback;
8472
- } & CommonCallAdapterOptions;
8471
+ export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
8473
8472
 
8474
8473
  /**
8475
8474
  * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.