@azure/communication-react 1.12.1-alpha-202401200012 → 1.12.1-alpha-202401240013

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 (54) hide show
  1. package/dist/communication-react.d.ts +49 -0
  2. package/dist/dist-cjs/communication-react/index.js +483 -260
  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/participantListSelector.js +22 -6
  7. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +7 -1
  9. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +15 -4
  10. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  11. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  12. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/ParticipantList.js +2 -1
  14. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/index.d.ts +1 -0
  16. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
  18. package/dist/dist-esm/react-components/src/theming/icons.js +2 -0
  19. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +17 -0
  21. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  22. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  23. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +20 -0
  24. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  25. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +2 -0
  26. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +5 -1
  27. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  28. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +38 -10
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +26 -0
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +59 -0
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -0
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.d.ts +8 -0
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js +18 -0
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/DtmfDialpadPage.styles.js.map +1 -0
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.d.ts +17 -0
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js +30 -0
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/timerUtils.js.map +1 -0
  39. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +2 -0
  40. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +22 -1
  41. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +2 -0
  43. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +31 -4
  44. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.d.ts +18 -0
  46. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js +41 -0
  47. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DtmfDialerButton.js.map +1 -0
  48. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +4 -0
  49. package/dist/dist-esm/react-composites/src/composites/common/icons.js +3 -1
  50. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +6 -0
  52. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +5 -0
  54. package/package.json +1 -1
@@ -1483,6 +1483,7 @@ export declare type CallCompositeIcons = {
1483
1483
  OverflowGalleryTop?: JSX.Element;
1484
1484
  LargeGalleryLayout?: JSX.Element;
1485
1485
  DefaultCustomButton?: JSX.Element;
1486
+ DtmfDialpadButton?: JSX.Element;
1486
1487
  };
1487
1488
 
1488
1489
  /**
@@ -2341,6 +2342,26 @@ export declare interface CallCompositeStrings {
2341
2342
  * String for more details when the call times out because the remote user does not answer
2342
2343
  */
2343
2344
  callTimeoutDetails?: string;
2345
+ /**
2346
+ * Label for the control bar button to show the dtmf dialer when the more button is disabled
2347
+ */
2348
+ dtmfDialerButtonLabel?: string;
2349
+ /**
2350
+ * Tooltip for the control bar button to show the dtmf dialer when the more button is disabled
2351
+ */
2352
+ dtmfDialerButtonTooltipOn?: string;
2353
+ /**
2354
+ * Tooltip for the control bar button to hide the dtmf dialer when the more button is disabled
2355
+ */
2356
+ dtmfDialerButtonTooltipOff?: string;
2357
+ /**
2358
+ * Label to show the dtmf dialer in the more button menu
2359
+ */
2360
+ dtmfDialerMoreButtonLabelOn?: string;
2361
+ /**
2362
+ * Label to hide the dtmf dialer in the more button menu
2363
+ */
2364
+ dtmfDialerMoreButtonLabelOff?: string;
2344
2365
  }
2345
2366
 
2346
2367
  /**
@@ -2528,6 +2549,12 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
2528
2549
  * @beta
2529
2550
  * */
2530
2551
  reaction?: Reaction;
2552
+ /**
2553
+ * Whether calling participant is spotlighted
2554
+ *
2555
+ * @beta
2556
+ * */
2557
+ isSpotlighted?: Spotlight;
2531
2558
  };
2532
2559
 
2533
2560
  /**
@@ -3342,6 +3369,7 @@ export declare type CallWithChatCompositeIcons = {
3342
3369
  PeoplePaneOpenDialpad?: JSX.Element;
3343
3370
  DialpadStartCall?: JSX.Element;
3344
3371
  DefaultCustomButton?: JSX.Element;
3372
+ DtmfDialpadButton?: JSX.Element;
3345
3373
  EditBoxCancel?: JSX.Element;
3346
3374
  EditBoxSubmit?: JSX.Element;
3347
3375
  MessageDelivered?: JSX.Element;
@@ -4915,6 +4943,12 @@ export declare type CommonCallControlOptions = {
4915
4943
  peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4916
4944
  disabled: boolean;
4917
4945
  };
4946
+ /**
4947
+ * Show or hide the dialpad button in the composite control bar.
4948
+ */
4949
+ dtmfDialerButton?: boolean | {
4950
+ disabled: boolean;
4951
+ };
4918
4952
  };
4919
4953
 
4920
4954
  /**
@@ -6047,6 +6081,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
6047
6081
  ParticipantItemOptions: React_2.JSX.Element;
6048
6082
  ParticipantItemOptionsHovered: React_2.JSX.Element;
6049
6083
  ParticipantItemScreenShareStart: React_2.JSX.Element;
6084
+ ParticipantItemSpotlighted: React_2.JSX.Element;
6050
6085
  HoldCallContextualMenuItem: React_2.JSX.Element;
6051
6086
  HoldCallButton: React_2.JSX.Element;
6052
6087
  ResumeCall: React_2.JSX.Element;
@@ -6177,6 +6212,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6177
6212
  OverflowGalleryTop?: JSX.Element | undefined;
6178
6213
  LargeGalleryLayout?: JSX.Element | undefined;
6179
6214
  DefaultCustomButton?: JSX.Element | undefined;
6215
+ DtmfDialpadButton?: JSX.Element | undefined;
6180
6216
  ChevronLeft?: JSX.Element | undefined;
6181
6217
  ControlBarChatButtonActive?: JSX.Element | undefined;
6182
6218
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -6194,6 +6230,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6194
6230
  ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
6195
6231
  ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
6196
6232
  MessageResend: React_2.JSX.Element;
6233
+ ParticipantItemSpotlighted: React_2.JSX.Element;
6197
6234
  HoldCallContextualMenuItem: React_2.JSX.Element;
6198
6235
  HoldCallButton: React_2.JSX.Element;
6199
6236
  ResumeCall: React_2.JSX.Element;
@@ -9561,6 +9598,18 @@ export declare interface SpokenLanguageStrings {
9561
9598
  'zh-tw': string;
9562
9599
  }
9563
9600
 
9601
+ /**
9602
+ * Spotlight state with order
9603
+ *
9604
+ * @beta
9605
+ */
9606
+ export declare type Spotlight = {
9607
+ /**
9608
+ * Specifies the order position of the spotlight
9609
+ */
9610
+ spotlightOrderPosition?: number;
9611
+ };
9612
+
9564
9613
  /**
9565
9614
  * State only version of {@link @azure/communication-calling#SpotlightCallFeature}
9566
9615
  *