@azure/communication-react 1.11.1-alpha-202312160012 → 1.11.1-alpha-202312190013

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 (64) hide show
  1. package/dist/communication-react.d.ts +41 -10
  2. package/dist/dist-cjs/communication-react/index.js +246 -177
  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.js +2 -2
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  8. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  9. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  10. package/dist/dist-esm/react-components/src/components/EndCallButton.js +9 -6
  11. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  12. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.d.ts +5 -5
  13. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +10 -9
  14. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +4 -0
  16. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +13 -3
  17. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -1
  18. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +8 -4
  19. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +76 -39
  20. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +9 -1
  22. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +21 -1
  23. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +8 -34
  25. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/index.d.ts +1 -0
  27. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  28. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.d.ts +23 -0
  29. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js +4 -0
  30. package/dist/dist-esm/react-components/src/types/CallSurveyImprovementSuggestions.js.map +1 -0
  31. package/dist/dist-esm/react-components/src/types/index.d.ts +1 -0
  32. package/dist/dist-esm/react-components/src/types/index.js +1 -0
  33. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +3 -5
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +12 -0
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +10 -3
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +3 -5
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +2 -2
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +6 -0
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +4 -0
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +14 -3
  47. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +3 -5
  49. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +3 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +2 -0
  52. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +59 -3
  53. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +6 -3
  55. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +14 -76
  56. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +1 -1
  57. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +3 -3
  58. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +3 -2
  59. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +2 -0
  61. package/dist/dist-esm/react-composites/src/composites/common/icons.js +1 -0
  62. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  63. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -1
  64. package/package.json +1 -1
@@ -1430,6 +1430,7 @@ export declare type CallCompositeIcons = {
1430
1430
  NoticePageNotInvitedToRoom?: JSX.Element;
1431
1431
  NoticePageRoomNotFound?: JSX.Element;
1432
1432
  NoticePageRoomNotValid?: JSX.Element;
1433
+ NoticePageCallTimeout?: JSX.Element;
1433
1434
  OptionsCamera?: JSX.Element;
1434
1435
  OptionsMic?: JSX.Element;
1435
1436
  OptionsSpeaker?: JSX.Element;
@@ -1559,7 +1560,7 @@ export declare type CallCompositeOptions = {
1559
1560
  onSurveySubmitted?: (callId: string, surveyId: string,
1560
1561
  /**
1561
1562
  * This is the survey results containing star survey data and API tag survey data.
1562
- * This part of the result will always be send to calling sdk
1563
+ * This part of the result will always be sent to the calling sdk
1563
1564
  * This callback provides user with the ability to gain access to survey data
1564
1565
  */
1565
1566
  submittedSurvey: CallSurvey,
@@ -1569,10 +1570,7 @@ export declare type CallCompositeOptions = {
1569
1570
  * User will need to collect and handle this information 100% on their own
1570
1571
  * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
1571
1572
  */
1572
- improvementSuggestions: {
1573
- category: 'audio' | 'video' | 'screenshare';
1574
- suggestion: string;
1575
- }[]) => Promise<void>;
1573
+ improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
1576
1574
  };
1577
1575
  /**
1578
1576
  * Options for setting additional customizations related to personalized branding.
@@ -2262,6 +2260,10 @@ export declare interface CallCompositeStrings {
2262
2260
  * Tags Survey Question
2263
2261
  */
2264
2262
  tagsSurveyQuestion: string;
2263
+ /**
2264
+ * Default text for free form text field inside tags survey
2265
+ */
2266
+ tagsSurveyTextFieldDefaultText: string;
2265
2267
  /**
2266
2268
  * Tags Survey helper text
2267
2269
  */
@@ -2298,6 +2300,14 @@ export declare interface CallCompositeStrings {
2298
2300
  * String for more details when the call is rejected by the callee
2299
2301
  */
2300
2302
  callRejectedMoreDetails?: string;
2303
+ /**
2304
+ * String for title when the call times out because the remote user does not answer
2305
+ */
2306
+ callTimeoutTitle?: string;
2307
+ /**
2308
+ * String for more details when the call times out because the remote user does not answer
2309
+ */
2310
+ callTimeoutDetails?: string;
2301
2311
  }
2302
2312
 
2303
2313
  /**
@@ -2648,6 +2658,29 @@ export declare interface CallState {
2648
2658
  hideAttendeeNames?: boolean;
2649
2659
  }
2650
2660
 
2661
+ /**
2662
+ * Represents the improvement suggestion part of call survey
2663
+ * @beta
2664
+ */
2665
+ export declare interface CallSurveyImprovementSuggestions {
2666
+ /**
2667
+ * Improvement suggestions for overall call
2668
+ */
2669
+ overall?: string;
2670
+ /**
2671
+ * Improvement suggestions for audio experience
2672
+ */
2673
+ audio?: string;
2674
+ /**
2675
+ * Improvement suggestions for video experience
2676
+ */
2677
+ video?: string;
2678
+ /**
2679
+ * Improvement suggestions for screenshare experience
2680
+ */
2681
+ screenshare?: string;
2682
+ }
2683
+
2651
2684
  /**
2652
2685
  * {@link CallWithChatComposite} Adapter interface.
2653
2686
  *
@@ -3354,7 +3387,7 @@ export declare type CallWithChatCompositeOptions = {
3354
3387
  onSurveySubmitted?: (callId: string, surveyId: string,
3355
3388
  /**
3356
3389
  * This is the survey results containing star survey data and API tag survey data.
3357
- * This part of the result will always be send to calling sdk
3390
+ * This part of the result will always be sent to the calling sdk
3358
3391
  * This callback provides user with the ability to gain access to survey data
3359
3392
  */
3360
3393
  submittedSurvey: CallSurvey,
@@ -3364,10 +3397,7 @@ export declare type CallWithChatCompositeOptions = {
3364
3397
  * User will need to collect and handle this information 100% on their own
3365
3398
  * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
3366
3399
  */
3367
- improvementSuggestions: {
3368
- category: 'audio' | 'video' | 'screenshare';
3369
- suggestion: string;
3370
- }[]) => Promise<void>;
3400
+ improvementSuggestions: CallSurveyImprovementSuggestions) => Promise<void>;
3371
3401
  };
3372
3402
  /**
3373
3403
  * Options for setting additional customizations related to personalized branding.
@@ -6016,6 +6046,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6016
6046
  NoticePageNotInvitedToRoom?: JSX.Element | undefined;
6017
6047
  NoticePageRoomNotFound?: JSX.Element | undefined;
6018
6048
  NoticePageRoomNotValid?: JSX.Element | undefined;
6049
+ NoticePageCallTimeout?: JSX.Element | undefined;
6019
6050
  OptionsCamera: JSX.Element;
6020
6051
  OptionsMic: JSX.Element;
6021
6052
  OptionsSpeaker: JSX.Element;