@azure/communication-react 1.18.0-alpha-202406220013 → 1.18.0-alpha-202406260014
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.
- package/dist/communication-react.d.ts +4 -0
 - package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Digltj4H.js → ChatMessageComponentAsRichTextEditBox-_hqOwT_h.js} +2 -2
 - package/dist/dist-cjs/communication-react/{ChatMessageComponentAsRichTextEditBox-Digltj4H.js.map → ChatMessageComponentAsRichTextEditBox-_hqOwT_h.js.map} +1 -1
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CiwclH9-.js → RichTextSendBoxWrapper-D-KYGmZ9.js} +2 -2
 - package/dist/dist-cjs/communication-react/{RichTextSendBoxWrapper-CiwclH9-.js.map → RichTextSendBoxWrapper-D-KYGmZ9.js.map} +1 -1
 - package/dist/dist-cjs/communication-react/{index-DnTVRxCz.js → index-DCf8u3Nr.js} +42 -16
 - package/dist/dist-cjs/communication-react/index-DCf8u3Nr.js.map +1 -0
 - package/dist/dist-cjs/communication-react/index.js +1 -1
 - package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
 - package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js +1 -1
 - package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +6 -2
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.d.ts +2 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +20 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.d.ts +1 -0
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +1 -1
 - package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +6 -4
 - package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
 - package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +4 -0
 - package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
 - package/package.json +6 -6
 - package/dist/dist-cjs/communication-react/index-DnTVRxCz.js.map +0 -1
 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.18.0-alpha- 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"telemetryVersion.js","sourceRoot":"","sources":["../../../../../acs-ui-common/src/telemetryVersion.js"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;AAElC,wCAAwC;AAExC,MAAM,CAAC,OAAO,GAAG,2BAA2B,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// GENERATED FILE. DO NOT EDIT MANUALLY.\n\nmodule.exports = '1.18.0-alpha-202406260014';\n"]}
         
     | 
    
        package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js
    CHANGED
    
    | 
         @@ -29,6 +29,6 @@ export const richTextBorderBoxStyle = (props) => { 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    ? disabledStyles
         
     | 
| 
       30 
30 
     | 
    
         
             
                    : borderEditBoxStyle(Object.assign(Object.assign({}, props), { 
         
     | 
| 
       31 
31 
     | 
    
         
             
                        // should always be false as we don't want to show the border when there is an error
         
     | 
| 
       32 
     | 
    
         
            -
                        hasErrorMessage: false, defaultBorderColor: props.theme.palette. 
     | 
| 
      
 32 
     | 
    
         
            +
                        hasErrorMessage: false, defaultBorderColor: props.theme.palette.neutralSecondary })));
         
     | 
| 
       33 
33 
     | 
    
         
             
            };
         
     | 
| 
       34 
34 
     | 
    
         
             
            //# sourceMappingURL=RichTextInputBoxComponent.styles.js.map
         
     | 
    
        package/dist/dist-esm/react-components/src/components/styles/RichTextInputBoxComponent.styles.js.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"RichTextInputBoxComponent.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/RichTextInputBoxComponent.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,kBAAkB,EAClB,sCAAsC,EACtC,wCAAwC,EACzC,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;AAE9E;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,WAAW,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC,CAAC;AAExF;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA0C,EAAU,EAAE;IAC3F,MAAM,cAAc,GAAW;QAC7B,aAAa,EAAE,MAAM;QACrB,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QACnD,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QAChD,MAAM,EAAE,GAAG,wCAAwC,uBAAuB;QAC1E,MAAM,EAAE,GAAG,sCAAsC,GAAG,wCAAwC,KAAK;KAClG,CAAC;IACF,OAAO,WAAW,CAChB,KAAK,CAAC,QAAQ;QACZ,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,kBAAkB,iCACb,KAAK;YACR,oFAAoF;YACpF,eAAe,EAAE,KAAK,EACtB,kBAAkB,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"RichTextInputBoxComponent.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/RichTextInputBoxComponent.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAiB,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,kBAAkB,EAClB,sCAAsC,EACtC,wCAAwC,EACzC,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;AAE9E;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,WAAW,CAAC,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC,CAAC;AAExF;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA0C,EAAU,EAAE;IAC3F,MAAM,cAAc,GAAW;QAC7B,aAAa,EAAE,MAAM;QACrB,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QACnD,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc;QAChD,MAAM,EAAE,GAAG,wCAAwC,uBAAuB;QAC1E,MAAM,EAAE,GAAG,sCAAsC,GAAG,wCAAwC,KAAK;KAClG,CAAC;IACF,OAAO,WAAW,CAChB,KAAK,CAAC,QAAQ;QACZ,CAAC,CAAC,cAAc;QAChB,CAAC,CAAC,kBAAkB,iCACb,KAAK;YACR,oFAAoF;YACpF,eAAe,EAAE,KAAK,EACtB,kBAAkB,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,gBAAgB,IACxD,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\nimport { IStyle, Theme, mergeStyles } from '@fluentui/react';\nimport {\n  borderEditBoxStyle,\n  defaultSendBoxActiveBorderThicknessREM,\n  defaultSendBoxInactiveBorderThicknessREM\n} from './SendBox.styles';\n\n/**\n * @private\n */\nexport const inputBoxRichTextStackStyle = mergeStyles({ overflow: 'hidden' });\n\n/**\n * @private\n */\nexport const inputBoxRichTextStackItemStyle = mergeStyles({ paddingBottom: '0.25rem' });\n\n/**\n * @private\n */\nexport const inputBoxContentStackStyle = mergeStyles({ overflow: 'hidden' });\n\n/**\n * @private\n */\nexport const richTextBorderBoxStyle = (props: { theme: Theme; disabled: boolean }): string => {\n  const disabledStyles: IStyle = {\n    pointerEvents: 'none',\n    backgroundColor: props.theme.palette.neutralLighter,\n    borderRadius: props.theme.effects.roundedCorner4,\n    border: `${defaultSendBoxInactiveBorderThicknessREM}rem solid transparent`,\n    margin: `${defaultSendBoxActiveBorderThicknessREM - defaultSendBoxInactiveBorderThicknessREM}rem`\n  };\n  return mergeStyles(\n    props.disabled\n      ? disabledStyles\n      : borderEditBoxStyle({\n          ...props,\n          // should always be false as we don't want to show the border when there is an error\n          hasErrorMessage: false,\n          defaultBorderColor: props.theme.palette.neutralSecondary\n        })\n  );\n};\n"]}
         
     | 
| 
         @@ -221,7 +221,7 @@ export class AzureCommunicationCallAdapter { 
     | 
|
| 
       221 
221 
     | 
    
         
             
                    this.context = new CallContext(callClient.getState(), !!isTeamsCall, isTeamsMeeting, isRoomsCall, options, this.targetCallees);
         
     | 
| 
       222 
222 
     | 
    
         
             
                    this.context.onCallEnded((endCallData) => this.emitter.emit('callEnded', endCallData));
         
     | 
| 
       223 
223 
     | 
    
         
             
                    const onStateChange = (clientState) => {
         
     | 
| 
       224 
     | 
    
         
            -
                        var _a, _b, _c;
         
     | 
| 
      
 224 
     | 
    
         
            +
                        var _a, _b, _c, _d, _e;
         
     | 
| 
       225 
225 
     | 
    
         
             
                        // unsubscribe when the instance gets disposed
         
     | 
| 
       226 
226 
     | 
    
         
             
                        if (!this) {
         
     | 
| 
       227 
227 
     | 
    
         
             
                            callClient.offStateChange(onStateChange);
         
     | 
| 
         @@ -235,8 +235,12 @@ export class AzureCommunicationCallAdapter { 
     | 
|
| 
       235 
235 
     | 
    
         
             
                        if ((_a = this.call) === null || _a === void 0 ? void 0 : _a.id) {
         
     | 
| 
       236 
236 
     | 
    
         
             
                            this.context.setCurrentCallId(this.call.id);
         
     | 
| 
       237 
237 
     | 
    
         
             
                        }
         
     | 
| 
      
 238 
     | 
    
         
            +
                        // if the call hits the connected state we want to pause all calling sounds if playing.
         
     | 
| 
      
 239 
     | 
    
         
            +
                        if (((_b = this.call) === null || _b === void 0 ? void 0 : _b.state) === 'Connected' && ((_c = this.callingSoundSubscriber) === null || _c === void 0 ? void 0 : _c.playingSounds)) {
         
     | 
| 
      
 240 
     | 
    
         
            +
                            this.callingSoundSubscriber.pauseSounds();
         
     | 
| 
      
 241 
     | 
    
         
            +
                        }
         
     | 
| 
       238 
242 
     | 
    
         
             
                        // If the call connects we need to clean up any previous unparentedViews
         
     | 
| 
       239 
     | 
    
         
            -
                        if (((( 
     | 
| 
      
 243 
     | 
    
         
            +
                        if ((((_d = this.call) === null || _d === void 0 ? void 0 : _d.state) === 'InLobby' || ((_e = this.call) === null || _e === void 0 ? void 0 : _e.state) === 'Connected') &&
         
     | 
| 
       240 
244 
     | 
    
         
             
                            this.callClient.getState().deviceManager.unparentedViews.length > 0) {
         
     | 
| 
       241 
245 
     | 
    
         
             
                            this.callClient.getState().deviceManager.unparentedViews.forEach((view) => {
         
     | 
| 
       242 
246 
     | 
    
         
             
                                this.callClient.disposeView(undefined, undefined, view);
         
     |