@azure/communication-react 1.14.1-alpha-202403270012 → 1.14.1-alpha-202403280012

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 (89) hide show
  1. package/dist/communication-react.d.ts +69 -2
  2. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-Yty3fOoA.js → RichTextSendBoxWrapper-D3ER8Kz9.js} +5 -2
  3. package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-Yty3fOoA.js.map → RichTextSendBoxWrapper-D3ER8Kz9.js.map} +1 -1
  4. package/dist/dist-cjs/communication-react/{index-BEomNZbT.js → index-BI61bnOi.js} +732 -120
  5. package/dist/dist-cjs/communication-react/index-BI61bnOi.js.map +1 -0
  6. package/dist/dist-cjs/communication-react/index.js +4 -1
  7. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  10. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +5 -0
  11. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  12. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +2 -0
  13. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  14. package/dist/dist-esm/calling-stateful-client/src/Converter.js +6 -2
  15. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +4 -0
  17. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +2 -2
  18. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js +1 -1
  20. package/dist/dist-esm/react-components/src/components/MessageStatusIcon.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/MessageThread.js +13 -12
  22. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/RichTextRibbonButtons.d.ts +7 -0
  24. package/dist/dist-esm/react-components/src/components/RichTextEditor/{RichTextRibbonButtons.js → Buttons/RichTextRibbonButtons.js} +16 -20
  25. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/RichTextRibbonButtons.js.map +1 -0
  26. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.d.ts +7 -0
  27. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.js +56 -0
  28. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTableButton.js.map +1 -0
  29. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.d.ts +16 -0
  30. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.js +62 -0
  31. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextInsertTablePane.js.map +1 -0
  32. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.d.ts +8 -0
  33. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js +57 -0
  34. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/RichTextTableContextMenu.js.map +1 -0
  35. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.d.ts +9 -0
  36. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js +34 -0
  37. package/dist/dist-esm/react-components/src/components/RichTextEditor/Buttons/Table/insertTableAction.js.map +1 -0
  38. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js +23 -11
  39. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextEditor.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.d.ts +44 -0
  41. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js +16 -6
  42. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextSendBox.js.map +1 -1
  43. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +2 -2
  44. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +5 -3
  46. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.d.ts +25 -1
  48. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js +132 -2
  49. package/dist/dist-esm/react-components/src/components/styles/RichTextEditor.styles.js.map +1 -1
  50. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.d.ts +15 -0
  51. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js +39 -0
  52. package/dist/dist-esm/react-components/src/components/utils/RichTextEditorStringsUtils.js.map +1 -0
  53. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.d.ts +22 -0
  54. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js +29 -0
  55. package/dist/dist-esm/react-components/src/components/utils/RichTextTableUtils.js.map +1 -0
  56. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +12 -1
  57. package/dist/dist-esm/react-components/src/theming/icons.d.ts +4 -0
  58. package/dist/dist-esm/react-components/src/theming/icons.js +10 -2
  59. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +2 -1
  61. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  62. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +4 -0
  63. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +2 -1
  65. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +22 -4
  66. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.d.ts +1 -0
  68. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +2 -2
  69. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  70. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.d.ts +1 -0
  71. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js +2 -2
  72. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/DtmfDialpadPage.js.map +1 -1
  73. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +13 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +53 -3
  76. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +196 -57
  77. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  78. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +2 -2
  79. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +4 -5
  80. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  81. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +6 -0
  82. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +22 -0
  83. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +4 -0
  85. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +2 -1
  86. package/package.json +2 -1
  87. package/dist/dist-cjs/communication-react/index-BEomNZbT.js.map +0 -1
  88. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.d.ts +0 -12
  89. package/dist/dist-esm/react-components/src/components/RichTextEditor/RichTextRibbonButtons.js.map +0 -1
@@ -30,6 +30,7 @@ import { CallClientOptions } from '@azure/communication-calling';
30
30
  import { CallDirection } from '@azure/communication-calling';
31
31
  import { CallEndReason } from '@azure/communication-calling';
32
32
  import { CallerInfo } from '@azure/communication-calling';
33
+ import { CallInfo } from '@azure/communication-calling';
33
34
  import { CallKind } from '@azure/communication-calling';
34
35
  import { CallState as CallState_2 } from '@azure/communication-calling';
35
36
  import { CallSurvey } from '@azure/communication-calling';
@@ -102,6 +103,8 @@ import { StartCallOptions } from '@azure/communication-calling';
102
103
  import { StartCaptionsOptions } from '@azure/communication-calling';
103
104
  import { TeamsCall } from '@azure/communication-calling';
104
105
  import { TeamsCallAgent } from '@azure/communication-calling';
106
+ import { TeamsCallInfo } from '@azure/communication-calling';
107
+ import { TeamsMeetingIdLocator } from '@azure/communication-calling';
105
108
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
106
109
  import { Theme } from '@fluentui/react';
107
110
  import { TransferEventArgs } from '@azure/communication-calling';
@@ -355,7 +358,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
355
358
  userId: CommunicationUserIdentifier;
356
359
  displayName: string;
357
360
  credential: CommunicationTokenCredential;
358
- locator: CallAndChatLocator | TeamsMeetingLinkLocator;
361
+ locator: CallAndChatLocator | TeamsMeetingLinkLocator | /** @conditional-compile-remove(meeting-id) */ TeamsMeetingIdLocator;
359
362
  alternateCallerId?: string;
360
363
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
361
364
  };
@@ -1090,7 +1093,7 @@ export declare interface CallAdapterDeviceManagement {
1090
1093
  *
1091
1094
  * @public
1092
1095
  */
1093
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
1096
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator | /* @conditional-compile-remove(meeting-id) */ TeamsMeetingIdLocator;
1094
1097
 
1095
1098
  /**
1096
1099
  * {@link CommonCallAdapter} state.
@@ -2466,6 +2469,10 @@ export declare interface CallCompositeStrings {
2466
2469
  * Tooltip for button to exit spotlight
2467
2470
  */
2468
2471
  exitSpotlightButtonTooltip: string;
2472
+ /**
2473
+ * Error message when the meeting identifier or passcode is invalid
2474
+ */
2475
+ invalidMeetingIdentifier: string;
2469
2476
  }
2470
2477
 
2471
2478
  /**
@@ -2854,6 +2861,10 @@ export declare interface CallState {
2854
2861
  * Proxy of {@link @azure/communication-calling#SpotlightCallFeature}.
2855
2862
  */
2856
2863
  spotlight?: SpotlightCallFeatureState;
2864
+ /**
2865
+ * Proxy of {@link @azure/communication-calling#Call.info}.
2866
+ */
2867
+ info?: CallInfo | TeamsCallInfo;
2857
2868
  }
2858
2869
 
2859
2870
  /**
@@ -6302,6 +6313,10 @@ export declare const DEFAULT_COMPONENT_ICONS: {
6302
6313
  RichTextDividerIcon: React_2.JSX.Element;
6303
6314
  RichTextEditorButtonIcon: React_2.JSX.Element;
6304
6315
  RichTextEditorButtonIconFilled: React_2.JSX.Element;
6316
+ RichTextInsertTableRegularIcon: React_2.JSX.Element;
6317
+ RichTextInsertTableFilledIcon: React_2.JSX.Element;
6318
+ RichTextTableInsertMenuIcon: React_2.JSX.Element;
6319
+ RichTextTableDeleteMenuIcon: React_2.JSX.Element;
6305
6320
  };
6306
6321
 
6307
6322
  /**
@@ -6463,6 +6478,10 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
6463
6478
  RichTextDividerIcon: React_2.JSX.Element;
6464
6479
  RichTextEditorButtonIcon: React_2.JSX.Element;
6465
6480
  RichTextEditorButtonIconFilled: React_2.JSX.Element;
6481
+ RichTextInsertTableRegularIcon: React_2.JSX.Element;
6482
+ RichTextInsertTableFilledIcon: React_2.JSX.Element;
6483
+ RichTextTableInsertMenuIcon: React_2.JSX.Element;
6484
+ RichTextTableDeleteMenuIcon: React_2.JSX.Element;
6466
6485
  };
6467
6486
 
6468
6487
  /**
@@ -6767,6 +6786,10 @@ export declare interface DialpadProps {
6767
6786
  * and can be edited to change the number being dialed.
6768
6787
  */
6769
6788
  dialpadMode?: DialpadMode;
6789
+ /**
6790
+ * Audio context for generating DTMF tones. If this if not provided the dialpad will create one iteslf.
6791
+ */
6792
+ dtmfAudioContext?: AudioContext;
6770
6793
  }
6771
6794
 
6772
6795
  /**
@@ -9659,10 +9682,54 @@ export declare interface RichTextSendBoxStrings extends SendBoxStrings {
9659
9682
  * Tooltip text for the decrease indent button.
9660
9683
  */
9661
9684
  decreaseIndentTooltip: string;
9685
+ /**
9686
+ * Tooltip text insert table button.
9687
+ */
9688
+ insertTableTooltip: string;
9662
9689
  /**
9663
9690
  * Tooltip text for the rich text format button button.
9664
9691
  */
9665
9692
  richTextFormatButtonTooltip: string;
9693
+ /**
9694
+ * Text for the insert menu item.
9695
+ */
9696
+ insertRowOrColumnMenu: string;
9697
+ /**
9698
+ * Title for the insert table menu.
9699
+ */
9700
+ insertTableMenuTitle: string;
9701
+ /**
9702
+ * Text for the insert menu item to insert row above the current selection.
9703
+ */
9704
+ insertRowAboveMenu: string;
9705
+ /**
9706
+ * Text for the insert menu item to insert row below the current selection.
9707
+ */
9708
+ insertRowBelowMenu: string;
9709
+ /**
9710
+ * Text for the insert menu item to insert column to the left from the current selection.
9711
+ */
9712
+ insertColumnLeftMenu: string;
9713
+ /**
9714
+ * Text for the insert menu item to insert column to the right from the current selection.
9715
+ */
9716
+ insertColumnRightMenu: string;
9717
+ /**
9718
+ * Text for the delete row or column menu.
9719
+ */
9720
+ deleteRowOrColumnMenu: string;
9721
+ /**
9722
+ * Text for the delete column menu.
9723
+ */
9724
+ deleteColumnMenu: string;
9725
+ /**
9726
+ * Text for the delete row menu.
9727
+ */
9728
+ deleteRowMenu: string;
9729
+ /**
9730
+ * Text for the delete table menu.
9731
+ */
9732
+ deleteTableMenu: string;
9666
9733
  }
9667
9734
 
9668
9735
  /**
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var index = require('./index-BEomNZbT.js');
4
+ var index = require('./index-BI61bnOi.js');
5
5
  require('@fluentui/react');
6
6
  require('@fluentui/react-components');
7
7
  require('@fluentui/react-file-type-icons');
@@ -23,6 +23,9 @@ require('@griffel/react');
23
23
  require('roosterjs-editor-plugins');
24
24
  require('roosterjs-editor-core');
25
25
  require('roosterjs-react');
26
+ require('roosterjs-editor-dom');
27
+ require('roosterjs-editor-types-compatible');
28
+ require('roosterjs-editor-api');
26
29
  require('uuid');
27
30
  require('html-react-parser');
28
31
  require('react-linkify');
@@ -48,4 +51,4 @@ const RichTextSendBoxWrapper = () => {
48
51
  };
49
52
 
50
53
  exports.RichTextSendBoxWrapper = RichTextSendBoxWrapper;
51
- //# sourceMappingURL=RichTextSendBoxWrapper-Yty3fOoA.js.map
54
+ //# sourceMappingURL=RichTextSendBoxWrapper-D3ER8Kz9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextSendBoxWrapper-Yty3fOoA.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}
1
+ {"version":3,"file":"RichTextSendBoxWrapper-D3ER8Kz9.js","sources":["../../../../react-composites/src/composites/common/RichTextSendBoxWrapper.tsx"],"sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(rich-text-editor) */\nimport React from 'react';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { usePropsFor } from '../ChatComposite/hooks/usePropsFor';\n/* @conditional-compile-remove(rich-text-editor) */\nimport { RichTextSendBox } from '@internal/react-components';\n\n/* @conditional-compile-remove(rich-text-editor) */\n/**\n * @private\n *\n * Wrapper for RichTextSendBox component to allow us to use usePropsFor with richTextSendBox\n * before lazyLoading is done\n */\nexport const RichTextSendBoxWrapper = (): JSX.Element => {\n const richTextSendBoxProps = usePropsFor(RichTextSendBox);\n\n return <RichTextSendBox {...richTextSendBoxProps} />;\n};\n"],"names":["usePropsFor","RichTextSendBox"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;AAOA;AACA;;;;;AAKG;AACI,MAAM,sBAAsB,GAAG,MAAkB;AACtD,IAAA,MAAM,oBAAoB,GAAGA,iBAAW,CAACC,qBAAe,CAAC,CAAC;AAE1D,IAAA,OAAO,KAAC,CAAA,aAAA,CAAAA,qBAAe,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,oBAAoB,EAAI,CAAC;AACvD;;;;"}