@azure/communication-react 1.11.1-alpha-202401040013 → 1.11.1-alpha-202401050013

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 +71 -0
  2. package/dist/dist-cjs/communication-react/index.js +270 -56
  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/baseSelectors.d.ts +5 -0
  7. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
  8. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  9. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +22 -6
  10. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  11. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +9 -3
  12. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +27 -13
  13. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  14. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +3 -2
  15. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +24 -7
  16. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  17. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -1
  18. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +15 -3
  19. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +31 -0
  21. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  22. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -0
  23. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +31 -0
  24. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  25. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  26. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +7 -1
  27. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  28. package/dist/dist-esm/calling-stateful-client/src/Converter.js +2 -0
  29. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  30. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.d.ts +16 -0
  31. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js +24 -0
  32. package/dist/dist-esm/calling-stateful-client/src/ReactionSubscriber.js.map +1 -0
  33. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +1 -0
  34. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  35. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +1 -0
  36. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  37. package/dist/dist-esm/communication-react/src/index.d.ts +1 -0
  38. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.d.ts +2 -0
  40. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +24 -4
  41. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  42. package/dist/dist-esm/react-components/src/components/LocalVideoTile.d.ts +2 -0
  43. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +6 -2
  44. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  45. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +3 -1
  46. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  47. package/dist/dist-esm/react-components/src/components/VideoGallery.js +3 -1
  48. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  49. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +3 -0
  50. package/dist/dist-esm/react-components/src/components/VideoTile.js +34 -1
  51. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  52. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +12 -1
  53. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +32 -1
  54. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  55. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.d.ts +5 -0
  56. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +12 -0
  57. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  58. package/dist/dist-esm/react-components/src/index.d.ts +1 -0
  59. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  60. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +21 -0
  61. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  62. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +13 -0
  63. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  64. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"VideoTile.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/VideoTile.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAiC,WAAW,EAAS,MAAM,iBAAiB,CAAC;AAEpF;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAW;IAChC,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,MAAM;IACd,KAAK,EAAE,MAAM;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAW;IAC1C,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,GAAG;IACR,IAAI,EAAE,GAAG;IACT,KAAK,EAAE,MAAM;IACb,MAA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Y,IAAI,2BAA2B,CAC5C,CAAC;AAEJ;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAW;IACjD,qBAAqB;IACrB,UAAU,EAAE,MAAM;IAClB,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,yBAAyB;IACzB,MAAM,EAAE,CAAC;CACV,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IButtonStyles, IStyle, ITheme, mergeStyles, Theme } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const rootStyles: IStyle = {\n position: 'relative',\n height: '100%',\n width: '100%'\n};\n\n/**\n * @private\n */\nexport const videoContainerStyles: IStyle = {\n position: 'absolute',\n top: '0',\n left: '0',\n width: '100%',\n height: '100%',\n minWidth: '100%',\n minHeight: '100%',\n objectPosition: 'center',\n objectFit: 'cover',\n zIndex: 0\n};\n\n/**\n * @private\n */\nexport const overlayContainerStyles: IStyle = {\n width: '100%',\n height: '100%',\n zIndex: 5\n};\n\n/**\n * @private\n */\nexport const tileInfoContainerStyle = mergeStyles({\n position: 'absolute',\n bottom: '0',\n left: '0',\n padding: '0.5rem',\n width: '100%'\n});\n\n/**\n * @private\n */\nexport const disabledVideoHint = mergeStyles({\n backgroundColor: 'inherit',\n boxShadow: 'none',\n textAlign: 'left',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n alignItems: 'center',\n padding: '0.15rem',\n maxWidth: '100%'\n});\n\n/**\n * @private\n */\nexport const videoHint = mergeStyles(disabledVideoHint, {\n // This will appear on top of the video stream, so no dependency on theme and explicitly use a translucent white\n backgroundColor: 'rgba(255,255,255,0.8)'\n});\n\n/**\n * @private\n */\nexport const displayNameStyle: IStyle = {\n padding: '0.1rem',\n fontSize: '0.75rem',\n fontWeight: 600,\n // Text component will take body color by default (white in Dark Mode), so forcing it to be parent container color\n color: 'inherit',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%'\n};\n\n/**\n * @private\n */\nexport const pinIconStyle: IStyle = {\n padding: '0.125rem'\n};\n\n/**\n * @private\n */\nexport const iconContainerStyle: IStyle = {\n margin: 'auto',\n alignItems: 'center',\n '& svg': {\n display: 'block',\n // Similar to text color, icon color will be inherited from parent container\n color: 'inherit'\n }\n};\n\n/**\n * @private\n */\nexport const participantStateStringStyles = (theme: Theme): IStyle => {\n return {\n minWidth: 'max-content',\n color: theme.palette.black,\n fontSize: '0.75rem',\n lineHeight: 'normal',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n padding: '0.1rem'\n };\n};\n\n/**\n * @private\n */\nexport const moreButtonStyles: IButtonStyles = {\n root: {\n // To ensure that the button is clickable when there is a floating video tile\n zIndex: 1,\n color: 'inherit',\n top: '-0.125rem',\n height: '100%',\n padding: '0rem'\n },\n rootHovered: {\n background: 'none'\n },\n rootPressed: {\n background: 'none'\n },\n rootExpanded: {\n background: 'none'\n }\n};\n\n/**\n * @private\n */\nexport const raiseHandContainerStyles = (theme: ITheme, limitedSpace: boolean): string =>\n mergeStyles(\n {\n alignItems: 'center',\n padding: '0.2rem 0.3rem',\n backgroundColor: theme.palette.white,\n opacity: 0.9,\n borderRadius: '1rem',\n margin: '0.5rem',\n width: 'fit-content',\n position: 'absolute'\n },\n limitedSpace && raiseHandLimitedSpaceStyles\n );\n\n/**\n * @private\n */\nexport const raiseHandLimitedSpaceStyles: IStyle = {\n // position centrally\n marginLeft: 'auto',\n marginRight: 'auto',\n left: 0,\n right: 0,\n // position at the bottom\n bottom: 0\n};\n"]}
1
+ {"version":3,"file":"VideoTile.styles.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/styles/VideoTile.styles.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAyB,SAAS,EAAE,eAAe,EAAE,WAAW,EAAiB,MAAM,iBAAiB,CAAC;AAEhH;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAW;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AG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,GAAG,EAAE,GAAG;CAC7F,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { IButtonStyles, IStyle, keyframes, memoizeFunction, mergeStyles, Theme, ITheme } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const rootStyles: IStyle = {\n position: 'relative',\n height: '100%',\n width: '100%'\n};\n\n/**\n * @private\n */\nexport const videoContainerStyles: IStyle = {\n position: 'absolute',\n top: '0',\n left: '0',\n width: '100%',\n height: '100%',\n minWidth: '100%',\n minHeight: '100%',\n objectPosition: 'center',\n objectFit: 'cover',\n zIndex: 0\n};\n\n/**\n * @private\n */\nexport const overlayContainerStyles: IStyle = {\n width: '100%',\n height: '100%',\n zIndex: 5\n};\n\n/**\n * @private\n */\nexport const tileInfoContainerStyle = mergeStyles({\n position: 'absolute',\n bottom: '0',\n left: '0',\n padding: '0.5rem',\n width: '100%'\n});\n\n/**\n * @private\n */\nexport const disabledVideoHint = mergeStyles({\n backgroundColor: 'inherit',\n boxShadow: 'none',\n textAlign: 'left',\n overflow: 'hidden',\n whiteSpace: 'nowrap',\n alignItems: 'center',\n padding: '0.15rem',\n maxWidth: '100%'\n});\n\n/**\n * @private\n */\nexport const videoHint = mergeStyles(disabledVideoHint, {\n // This will appear on top of the video stream, so no dependency on theme and explicitly use a translucent white\n backgroundColor: 'rgba(255,255,255,0.8)'\n});\n\n/**\n * @private\n */\nexport const displayNameStyle: IStyle = {\n padding: '0.1rem',\n fontSize: '0.75rem',\n fontWeight: 600,\n // Text component will take body color by default (white in Dark Mode), so forcing it to be parent container color\n color: 'inherit',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n maxWidth: '100%'\n};\n\n/**\n * @private\n */\nexport const pinIconStyle: IStyle = {\n padding: '0.125rem'\n};\n\n/**\n * @private\n */\nexport const iconContainerStyle: IStyle = {\n margin: 'auto',\n alignItems: 'center',\n '& svg': {\n display: 'block',\n // Similar to text color, icon color will be inherited from parent container\n color: 'inherit'\n }\n};\n\n/**\n * @private\n */\nexport const participantStateStringStyles = (theme: Theme): IStyle => {\n return {\n minWidth: 'max-content',\n color: theme.palette.black,\n fontSize: '0.75rem',\n lineHeight: 'normal',\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n padding: '0.1rem'\n };\n};\n\n/**\n * @private\n */\nexport const moreButtonStyles: IButtonStyles = {\n root: {\n // To ensure that the button is clickable when there is a floating video tile\n zIndex: 1,\n color: 'inherit',\n top: '-0.125rem',\n height: '100%',\n padding: '0rem'\n },\n rootHovered: {\n background: 'none'\n },\n rootPressed: {\n background: 'none'\n },\n rootExpanded: {\n background: 'none'\n }\n};\n\n/**\n * @private\n */\nexport const raiseHandContainerStyles = (theme: ITheme, limitedSpace: boolean): string =>\n mergeStyles(\n {\n alignItems: 'center',\n padding: '0.2rem 0.3rem',\n backgroundColor: theme.palette.white,\n opacity: 0.9,\n borderRadius: '1rem',\n margin: '0.5rem',\n width: 'fit-content',\n position: 'absolute'\n },\n limitedSpace && raiseHandLimitedSpaceStyles\n );\n\n/**\n * @private\n */\nexport const raiseHandLimitedSpaceStyles: IStyle = {\n // position centrally\n marginLeft: 'auto',\n marginRight: 'auto',\n left: 0,\n right: 0,\n // position at the bottom\n bottom: 0\n};\n\n/**\n * @private\n */\nexport const playFrames = memoizeFunction(() =>\n keyframes({\n from: {\n backgroundPosition: '0px 8568px'\n },\n to: {\n backgroundPosition: '0px 0px'\n }\n })\n);\n/* @conditional-compile-remove(reaction) */\n/**\n * @private\n */\nexport const reactionRenderingStyle = (args: { backgroundImageUrl?: string; personaSize: number }): string =>\n mergeStyles({\n height: '100%',\n width: '100%',\n overflow: 'hidden',\n animationName: playFrames(),\n backgroundImage: args.backgroundImageUrl,\n animationDuration: '5.12s',\n animationTimingFunction: `steps(102)`,\n backgroundSize: `cover`,\n animationPlayState: 'running',\n animationIterationCount: 'infinite',\n justifyContent: 'center',\n alignItems: 'center',\n backgroundPosition: `center`,\n transform: `scale(${84 < args.personaSize ? 84 / args.personaSize : args.personaSize / 84})`\n });\n"]}
@@ -3,4 +3,9 @@ import { IStyle, Theme } from '@fluentui/react';
3
3
  * @private
4
4
  */
5
5
  export declare const getVideoTileOverrideColor: (isVideoRendered: boolean, theme: Theme, color: string) => IStyle;
6
+ /**
7
+ * Temporary mapping of paths for the reaction emoji resources.
8
+ * @private
9
+ */
10
+ export declare const reactionEmoji: Map<string, string>;
6
11
  //# sourceMappingURL=videoTileStylesUtils.d.ts.map
@@ -8,4 +8,16 @@ export const getVideoTileOverrideColor = (isVideoRendered, theme, color) => {
8
8
  // when video is being rendered, the info has a grey-ish background, so no use of theme
9
9
  return { color: isVideoRendered ? palette[color] : theme.palette[color] };
10
10
  };
11
+ /* @conditional-compile-remove(reaction) */
12
+ /**
13
+ * Temporary mapping of paths for the reaction emoji resources.
14
+ * @private
15
+ */
16
+ export const reactionEmoji = new Map([
17
+ ['like', `url('/assets/reactions/likeEmoji.png')`],
18
+ ['applause', `url('/assets/reactions/clapEmoji.png')`],
19
+ ['heart', `url('/assets/reactions/heartEmoji.png')`],
20
+ ['laugh', `url('/assets/reactions/laughEmoji.png')`],
21
+ ['surprised', `url('/assets/reactions/surprisedEmoji.png')`]
22
+ ]);
11
23
  //# sourceMappingURL=videoTileStylesUtils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"videoTileStylesUtils.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/videoTileStylesUtils.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,cAAc,IAAI,OAAO,EAAiB,MAAM,iBAAiB,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,eAAwB,EAAE,KAAY,EAAE,KAAa,EAAU,EAAE;IACzG,uFAAuF;IACvF,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;AAC5E,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DefaultPalette as palette, IStyle, Theme } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const getVideoTileOverrideColor = (isVideoRendered: boolean, theme: Theme, color: string): IStyle => {\n // when video is being rendered, the info has a grey-ish background, so no use of theme\n return { color: isVideoRendered ? palette[color] : theme.palette[color] };\n};\n"]}
1
+ {"version":3,"file":"videoTileStylesUtils.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/utils/videoTileStylesUtils.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,cAAc,IAAI,OAAO,EAAiB,MAAM,iBAAiB,CAAC;AAE3E;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,eAAwB,EAAE,KAAY,EAAE,KAAa,EAAU,EAAE;IACzG,uFAAuF;IACvF,OAAO,EAAE,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;AAC5E,CAAC,CAAC;AAEF,2CAA2C;AAC3C;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,GAAG,CAAiB;IACnD,CAAC,MAAM,EAAE,wCAAwC,CAAC;IAClD,CAAC,UAAU,EAAE,wCAAwC,CAAC;IACtD,CAAC,OAAO,EAAE,yCAAyC,CAAC;IACpD,CAAC,OAAO,EAAE,yCAAyC,CAAC;IACpD,CAAC,WAAW,EAAE,6CAA6C,CAAC;CAC7D,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DefaultPalette as palette, IStyle, Theme } from '@fluentui/react';\n\n/**\n * @private\n */\nexport const getVideoTileOverrideColor = (isVideoRendered: boolean, theme: Theme, color: string): IStyle => {\n // when video is being rendered, the info has a grey-ish background, so no use of theme\n return { color: isVideoRendered ? palette[color] : theme.palette[color] };\n};\n\n/* @conditional-compile-remove(reaction) */\n/**\n * Temporary mapping of paths for the reaction emoji resources.\n * @private\n */\nexport const reactionEmoji = new Map<string, string>([\n ['like', `url('/assets/reactions/likeEmoji.png')`],\n ['applause', `url('/assets/reactions/clapEmoji.png')`],\n ['heart', `url('/assets/reactions/heartEmoji.png')`],\n ['laugh', `url('/assets/reactions/laughEmoji.png')`],\n ['surprised', `url('/assets/reactions/surprisedEmoji.png')`]\n]);\n"]}
@@ -28,6 +28,7 @@ export * from './theming';
28
28
  export * from './theming/generateTheme';
29
29
  export type { BaseCustomStyles, CallParticipantListParticipant, ChatMessage, CommunicationParticipant, ComponentSlotStyle, ContentSystemMessage, CreateVideoStreamViewResult, CustomAvatarOptions, CustomMessage, Message, MessageAttachedStatus, MessageCommon, MessageContentType, OnRenderAvatarCallback, ParticipantAddedSystemMessage, ParticipantListParticipant, ParticipantRemovedSystemMessage, ParticipantState, ReadReceiptsBySenderId, SystemMessage, SystemMessageCommon, TopicUpdatedSystemMessage, VideoGalleryLocalParticipant, VideoGalleryParticipant, VideoGalleryRemoteParticipant, VideoGalleryStream, VideoStreamOptions, ViewScalingMode } from './types';
30
30
  export type { RaisedHand } from './types';
31
+ export type { Reaction } from './types';
31
32
  export type { SpokenLanguageStrings, CaptionLanguageStrings } from './types';
32
33
  export { _spokenLanguageToCaptionLanguage } from './types';
33
34
  export type { BlockedMessage } from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../react-components/src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,cAAc,wBAAwB,CAAC;AACvC,OA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["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport * from './components';\nexport { _IdentifierProvider } from './identifiers';\nexport type { _Identifiers, _IdentifierProviderProps } from './identifiers';\nexport * from './localization/locales';\nexport { LocalizationProvider } from './localization';\nexport { COMPONENT_LOCALE_EN_GB } from './localization/locales/en-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_AR_SA } from './localization/locales/ar-SA/ComponentLocale';\nexport { COMPONENT_LOCALE_CS_CZ } from './localization/locales/cs-CZ/ComponentLocale';\nexport { COMPONENT_LOCALE_DE_DE } from './localization/locales/de-DE/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_ES } from './localization/locales/es-ES/ComponentLocale';\nexport { COMPONENT_LOCALE_FI_FI } from './localization/locales/fi-FI/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_FR } from './localization/locales/fr-FR/ComponentLocale';\nexport { COMPONENT_LOCALE_HE_IL } from './localization/locales/he-IL/ComponentLocale';\nexport { COMPONENT_LOCALE_IT_IT } from './localization/locales/it-IT/ComponentLocale';\nexport { COMPONENT_LOCALE_JA_JP } from './localization/locales/ja-JP/ComponentLocale';\nexport { COMPONENT_LOCALE_KO_KR } from './localization/locales/ko-KR/ComponentLocale';\nexport { COMPONENT_LOCALE_NB_NO } from './localization/locales/nb-NO/ComponentLocale';\nexport { COMPONENT_LOCALE_NL_NL } from './localization/locales/nl-NL/ComponentLocale';\nexport { COMPONENT_LOCALE_PL_PL } from './localization/locales/pl-PL/ComponentLocale';\nexport { COMPONENT_LOCALE_PT_BR } from './localization/locales/pt-BR/ComponentLocale';\nexport { COMPONENT_LOCALE_RU_RU } from './localization/locales/ru-RU/ComponentLocale';\nexport { COMPONENT_LOCALE_SV_SE } from './localization/locales/sv-SE/ComponentLocale';\nexport { COMPONENT_LOCALE_TR_TR } from './localization/locales/tr-TR/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_CN } from './localization/locales/zh-CN/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_TW } from './localization/locales/zh-TW/ComponentLocale';\nexport type { ComponentStrings, ComponentLocale, LocalizationProviderProps } from './localization';\nexport * from './theming';\nexport * from './theming/generateTheme';\n\nexport type {\n BaseCustomStyles,\n CallParticipantListParticipant,\n ChatMessage,\n CommunicationParticipant,\n ComponentSlotStyle,\n ContentSystemMessage,\n CreateVideoStreamViewResult,\n CustomAvatarOptions,\n CustomMessage,\n Message,\n MessageAttachedStatus,\n MessageCommon,\n MessageContentType,\n OnRenderAvatarCallback,\n ParticipantAddedSystemMessage,\n ParticipantListParticipant,\n ParticipantRemovedSystemMessage,\n ParticipantState,\n ReadReceiptsBySenderId,\n SystemMessage,\n SystemMessageCommon,\n TopicUpdatedSystemMessage,\n VideoGalleryLocalParticipant,\n VideoGalleryParticipant,\n VideoGalleryRemoteParticipant,\n VideoGalleryStream,\n VideoStreamOptions,\n ViewScalingMode\n} from './types';\n\n/* @conditional-compile-remove(raise-hand) */\nexport type { RaisedHand } from './types';\n\n/* @conditional-compile-remove(close-captions) */\nexport type { SpokenLanguageStrings, CaptionLanguageStrings } from './types';\n/* @conditional-compile-remove(close-captions) */\nexport { _spokenLanguageToCaptionLanguage } from './types';\n\n/* @conditional-compile-remove(data-loss-prevention) */\nexport type { BlockedMessage } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { SurveyIssues } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { SurveyIssuesHeadingStrings } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { CallSurveyImprovementSuggestions } from './types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../react-components/src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,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port { _IdentifierProvider } from './identifiers';\nexport type { _Identifiers, _IdentifierProviderProps } from './identifiers';\nexport * from './localization/locales';\nexport { LocalizationProvider } from './localization';\nexport { COMPONENT_LOCALE_EN_GB } from './localization/locales/en-GB/ComponentLocale';\nexport { COMPONENT_LOCALE_AR_SA } from './localization/locales/ar-SA/ComponentLocale';\nexport { COMPONENT_LOCALE_CS_CZ } from './localization/locales/cs-CZ/ComponentLocale';\nexport { COMPONENT_LOCALE_DE_DE } from './localization/locales/de-DE/ComponentLocale';\nexport { COMPONENT_LOCALE_ES_ES } from './localization/locales/es-ES/ComponentLocale';\nexport { COMPONENT_LOCALE_FI_FI } from './localization/locales/fi-FI/ComponentLocale';\nexport { COMPONENT_LOCALE_FR_FR } from './localization/locales/fr-FR/ComponentLocale';\nexport { COMPONENT_LOCALE_HE_IL } from './localization/locales/he-IL/ComponentLocale';\nexport { COMPONENT_LOCALE_IT_IT } from './localization/locales/it-IT/ComponentLocale';\nexport { COMPONENT_LOCALE_JA_JP } from './localization/locales/ja-JP/ComponentLocale';\nexport { COMPONENT_LOCALE_KO_KR } from './localization/locales/ko-KR/ComponentLocale';\nexport { COMPONENT_LOCALE_NB_NO } from './localization/locales/nb-NO/ComponentLocale';\nexport { COMPONENT_LOCALE_NL_NL } from './localization/locales/nl-NL/ComponentLocale';\nexport { COMPONENT_LOCALE_PL_PL } from './localization/locales/pl-PL/ComponentLocale';\nexport { COMPONENT_LOCALE_PT_BR } from './localization/locales/pt-BR/ComponentLocale';\nexport { COMPONENT_LOCALE_RU_RU } from './localization/locales/ru-RU/ComponentLocale';\nexport { COMPONENT_LOCALE_SV_SE } from './localization/locales/sv-SE/ComponentLocale';\nexport { COMPONENT_LOCALE_TR_TR } from './localization/locales/tr-TR/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_CN } from './localization/locales/zh-CN/ComponentLocale';\nexport { COMPONENT_LOCALE_ZH_TW } from './localization/locales/zh-TW/ComponentLocale';\nexport type { ComponentStrings, ComponentLocale, LocalizationProviderProps } from './localization';\nexport * from './theming';\nexport * from './theming/generateTheme';\n\nexport type {\n BaseCustomStyles,\n CallParticipantListParticipant,\n ChatMessage,\n CommunicationParticipant,\n ComponentSlotStyle,\n ContentSystemMessage,\n CreateVideoStreamViewResult,\n CustomAvatarOptions,\n CustomMessage,\n Message,\n MessageAttachedStatus,\n MessageCommon,\n MessageContentType,\n OnRenderAvatarCallback,\n ParticipantAddedSystemMessage,\n ParticipantListParticipant,\n ParticipantRemovedSystemMessage,\n ParticipantState,\n ReadReceiptsBySenderId,\n SystemMessage,\n SystemMessageCommon,\n TopicUpdatedSystemMessage,\n VideoGalleryLocalParticipant,\n VideoGalleryParticipant,\n VideoGalleryRemoteParticipant,\n VideoGalleryStream,\n VideoStreamOptions,\n ViewScalingMode\n} from './types';\n\n/* @conditional-compile-remove(raise-hand) */\nexport type { RaisedHand } from './types';\n\n/* @conditional-compile-remove(reaction) */\nexport type { Reaction } from './types';\n\n/* @conditional-compile-remove(close-captions) */\nexport type { SpokenLanguageStrings, CaptionLanguageStrings } from './types';\n/* @conditional-compile-remove(close-captions) */\nexport { _spokenLanguageToCaptionLanguage } from './types';\n\n/* @conditional-compile-remove(data-loss-prevention) */\nexport type { BlockedMessage } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { SurveyIssues } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { SurveyIssuesHeadingStrings } from './types';\n/* @conditional-compile-remove(end-of-call-survey) */\nexport type { CallSurveyImprovementSuggestions } from './types';\n"]}
@@ -15,6 +15,12 @@ export type CallParticipantListParticipant = ParticipantListParticipant & {
15
15
  isSpeaking?: boolean;
16
16
  /** Whether calling participant is raised hand */
17
17
  raisedHand?: RaisedHand;
18
+ /**
19
+ * Whether calling participant has reacted
20
+ *
21
+ * @beta
22
+ * */
23
+ reaction?: Reaction;
18
24
  };
19
25
  /**
20
26
  * Raised hand state with order
@@ -24,6 +30,21 @@ export type CallParticipantListParticipant = ParticipantListParticipant & {
24
30
  export type RaisedHand = {
25
31
  raisedHandOrderPosition: number;
26
32
  };
33
+ /**
34
+ * Reaction state with reaction type to render
35
+ *
36
+ * @beta
37
+ */
38
+ export type Reaction = {
39
+ /**
40
+ * Specifies the type of reaction videoTile should render i.e. like, heart etc.
41
+ */
42
+ reactionType: string;
43
+ /**
44
+ * Received timestamp for the message as default Date format.
45
+ */
46
+ receivedAt: Date;
47
+ };
27
48
  /**
28
49
  * Participants displayed in a {@link ParticipantList}.
29
50
  *
@@ -1 +1 @@
1
- {"version":3,"file":"ParticipantListParticipant.js","sourceRoot":"","sources":["../../../../../../react-components/src/types/ParticipantListParticipant.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport { CommunicationParticipant } from './CommunicationParticipant';\r\n\r\n/**\r\n * Calling participant's state, as reflected in the UI components.\r\n *\r\n * @public\r\n */\r\nexport type CallParticipantListParticipant = ParticipantListParticipant & {\r\n /** State of calling participant */\r\n state: ParticipantState;\r\n /** Whether calling participant is screen sharing */\r\n isScreenSharing?: boolean;\r\n /** Whether calling participant is muted */\r\n isMuted?: boolean;\r\n /** Whether calling participant is speaking */\r\n isSpeaking?: boolean;\r\n /* @conditional-compile-remove(raise-hand) */\r\n /** Whether calling participant is raised hand */\r\n raisedHand?: RaisedHand;\r\n};\r\n\r\n/* @conditional-compile-remove(raise-hand) */\r\n/**\r\n * Raised hand state with order\r\n *\r\n * @public\r\n */\r\nexport type RaisedHand = {\r\n raisedHandOrderPosition: number;\r\n};\r\n\r\n/**\r\n * Participants displayed in a {@link ParticipantList}.\r\n *\r\n * @public\r\n */\r\nexport type ParticipantListParticipant = CommunicationParticipant & {\r\n /**\r\n * If true, local participant can remove this participant from the roster.\r\n */\r\n isRemovable: boolean;\r\n};\r\n\r\n/**\r\n * @public\r\n * The connection state of a call participant.\r\n */\r\nexport type ParticipantState =\r\n | 'Idle'\r\n | 'Connecting'\r\n | 'Ringing'\r\n | 'Connected'\r\n | 'Hold'\r\n | 'InLobby'\r\n | 'EarlyMedia'\r\n | 'Disconnected';\r\n"]}
1
+ {"version":3,"file":"ParticipantListParticipant.js","sourceRoot":"","sources":["../../../../../../react-components/src/types/ParticipantListParticipant.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\r\n// Licensed under the MIT License.\r\n\r\nimport { CommunicationParticipant } from './CommunicationParticipant';\r\n\r\n/**\r\n * Calling participant's state, as reflected in the UI components.\r\n *\r\n * @public\r\n */\r\nexport type CallParticipantListParticipant = ParticipantListParticipant & {\r\n /** State of calling participant */\r\n state: ParticipantState;\r\n /** Whether calling participant is screen sharing */\r\n isScreenSharing?: boolean;\r\n /** Whether calling participant is muted */\r\n isMuted?: boolean;\r\n /** Whether calling participant is speaking */\r\n isSpeaking?: boolean;\r\n /* @conditional-compile-remove(raise-hand) */\r\n /** Whether calling participant is raised hand */\r\n raisedHand?: RaisedHand;\r\n /* @conditional-compile-remove(reaction) */\r\n /**\r\n * Whether calling participant has reacted\r\n *\r\n * @beta\r\n * */\r\n reaction?: Reaction;\r\n};\r\n\r\n/* @conditional-compile-remove(raise-hand) */\r\n/**\r\n * Raised hand state with order\r\n *\r\n * @public\r\n */\r\nexport type RaisedHand = {\r\n raisedHandOrderPosition: number;\r\n};\r\n\r\n/* @conditional-compile-remove(reaction) */\r\n/**\r\n * Reaction state with reaction type to render\r\n *\r\n * @beta\r\n */\r\nexport type Reaction = {\r\n /**\r\n * Specifies the type of reaction videoTile should render i.e. like, heart etc.\r\n */\r\n reactionType: string;\r\n /**\r\n * Received timestamp for the message as default Date format.\r\n */\r\n receivedAt: Date;\r\n};\r\n\r\n/**\r\n * Participants displayed in a {@link ParticipantList}.\r\n *\r\n * @public\r\n */\r\nexport type ParticipantListParticipant = CommunicationParticipant & {\r\n /**\r\n * If true, local participant can remove this participant from the roster.\r\n */\r\n isRemovable: boolean;\r\n};\r\n\r\n/**\r\n * @public\r\n * The connection state of a call participant.\r\n */\r\nexport type ParticipantState =\r\n | 'Idle'\r\n | 'Connecting'\r\n | 'Ringing'\r\n | 'Connected'\r\n | 'Hold'\r\n | 'InLobby'\r\n | 'EarlyMedia'\r\n | 'Disconnected';\r\n"]}
@@ -1,5 +1,6 @@
1
1
  import { ParticipantState } from './ParticipantListParticipant';
2
2
  import { RaisedHand } from './ParticipantListParticipant';
3
+ import { Reaction } from './ParticipantListParticipant';
3
4
  /**
4
5
  * Scaling mode of a {@link VideoGalleryStream}.
5
6
  *
@@ -82,6 +83,12 @@ export interface CreateVideoStreamViewResult {
82
83
  export interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {
83
84
  /** Whether local participant is raised a hand */
84
85
  raisedHand?: RaisedHand;
86
+ /**
87
+ * Whether local participant has reacted
88
+ *
89
+ * @beta
90
+ * */
91
+ reaction?: Reaction;
85
92
  }
86
93
  /**
87
94
  * The state of a remote participant in the {@link VideoGallery}.
@@ -100,5 +107,11 @@ export interface VideoGalleryRemoteParticipant extends VideoGalleryParticipant {
100
107
  state?: ParticipantState;
101
108
  /** Whether participant is raised a hand */
102
109
  raisedHand?: RaisedHand;
110
+ /**
111
+ * Whether participant has reacted
112
+ *
113
+ * @beta
114
+ * */
115
+ reaction?: Reaction;
103
116
  }
104
117
  //# sourceMappingURL=VideoGalleryParticipant.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoGalleryParticipant.js","sourceRoot":"","sources":["../../../../../../react-components/src/types/VideoGalleryParticipant.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(one-to-n-calling) */\n/* @conditional-compile-remove(PSTN-calls) */\nimport { ParticipantState } from './ParticipantListParticipant';\n\n/* @conditional-compile-remove(raise-hand) */\nimport { RaisedHand } from './ParticipantListParticipant';\n/**\n * Scaling mode of a {@link VideoGalleryStream}.\n *\n * @public\n */\nexport type ViewScalingMode = 'Stretch' | 'Crop' | 'Fit';\n\n/**\n * Options to control how video streams are rendered.\n *\n * @public\n */\nexport declare interface VideoStreamOptions {\n /** Whether the video stream is mirrored or not */\n isMirrored?: boolean;\n /** Scaling mode. It can be `Stretch`, `Crop` or `Fit` */\n scalingMode?: ViewScalingMode;\n}\n\n/**\n * The state of a participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport type VideoGalleryParticipant = {\n /** User ID of participant */\n userId: string;\n /** Whether participant is muted */\n isMuted?: boolean;\n /** Display name of participant */\n displayName?: string;\n /** Video stream of participant */\n videoStream?: VideoGalleryStream;\n /** Whether participant is screen sharing or not */\n isScreenSharingOn?: boolean;\n};\n\n/**\n * Video stream of a participant in {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryStream {\n /** ID of the video stream */\n id?: number;\n /** Whether the video stream is available or not */\n isAvailable?: boolean;\n /** Whether the video stream is receiving data or not */\n isReceiving?: boolean;\n /** Whether the video stream is mirrored or not */\n isMirrored?: boolean;\n /** Render element of the video stream */\n renderElement?: HTMLElement;\n /* @conditional-compile-remove(pinned-participants) */\n /** Scaling mode of the video stream */\n scalingMode?: ViewScalingMode;\n /* @conditional-compile-remove(pinned-participants) */\n /** Stream Size of the video stream */\n streamSize?: { width: number; height: number };\n}\n\n/**\n * Object returned after creating a local or remote VideoStream.\n * This contains helper functions to manipulate the render of the stream.\n *\n * @public\n */\nexport interface CreateVideoStreamViewResult {\n /** View handle of the rendered video stream */\n view: {\n /**\n * Update the scale mode for this view.\n * @param scalingMode - The new scale mode.\n */\n updateScalingMode: (scalingMode: ViewScalingMode) => Promise<void>;\n };\n}\n\n// set the required attribs in selector. (Further simplifying our component logic) For example\n// isLocalVideoReady can be calculated inside selector.\n/**\n * The state of the local participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {\n /* @conditional-compile-remove(raise-hand) */\n /** Whether local participant is raised a hand */\n raisedHand?: RaisedHand;\n}\n\n/**\n * The state of a remote participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryRemoteParticipant extends VideoGalleryParticipant {\n /** Whether participant is speaking or not */\n isSpeaking?: boolean;\n /** Video stream of shared screen */\n screenShareStream?: VideoGalleryStream;\n /* @conditional-compile-remove(one-to-n-calling) */\n /* @conditional-compile-remove(PSTN-calls) */\n /**\n * @beta\n * The connection state of the participant. For example, 'Hold', 'Connecting' etc.\n */\n state?: ParticipantState;\n /* @conditional-compile-remove(raise-hand) */\n /** Whether participant is raised a hand */\n raisedHand?: RaisedHand;\n}\n"]}
1
+ {"version":3,"file":"VideoGalleryParticipant.js","sourceRoot":"","sources":["../../../../../../react-components/src/types/VideoGalleryParticipant.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/* @conditional-compile-remove(one-to-n-calling) */\n/* @conditional-compile-remove(PSTN-calls) */\nimport { ParticipantState } from './ParticipantListParticipant';\n\n/* @conditional-compile-remove(raise-hand) */\nimport { RaisedHand } from './ParticipantListParticipant';\n/* @conditional-compile-remove(reaction) */\nimport { Reaction } from './ParticipantListParticipant';\n/**\n * Scaling mode of a {@link VideoGalleryStream}.\n *\n * @public\n */\nexport type ViewScalingMode = 'Stretch' | 'Crop' | 'Fit';\n\n/**\n * Options to control how video streams are rendered.\n *\n * @public\n */\nexport declare interface VideoStreamOptions {\n /** Whether the video stream is mirrored or not */\n isMirrored?: boolean;\n /** Scaling mode. It can be `Stretch`, `Crop` or `Fit` */\n scalingMode?: ViewScalingMode;\n}\n\n/**\n * The state of a participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport type VideoGalleryParticipant = {\n /** User ID of participant */\n userId: string;\n /** Whether participant is muted */\n isMuted?: boolean;\n /** Display name of participant */\n displayName?: string;\n /** Video stream of participant */\n videoStream?: VideoGalleryStream;\n /** Whether participant is screen sharing or not */\n isScreenSharingOn?: boolean;\n};\n\n/**\n * Video stream of a participant in {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryStream {\n /** ID of the video stream */\n id?: number;\n /** Whether the video stream is available or not */\n isAvailable?: boolean;\n /** Whether the video stream is receiving data or not */\n isReceiving?: boolean;\n /** Whether the video stream is mirrored or not */\n isMirrored?: boolean;\n /** Render element of the video stream */\n renderElement?: HTMLElement;\n /* @conditional-compile-remove(pinned-participants) */\n /** Scaling mode of the video stream */\n scalingMode?: ViewScalingMode;\n /* @conditional-compile-remove(pinned-participants) */\n /** Stream Size of the video stream */\n streamSize?: { width: number; height: number };\n}\n\n/**\n * Object returned after creating a local or remote VideoStream.\n * This contains helper functions to manipulate the render of the stream.\n *\n * @public\n */\nexport interface CreateVideoStreamViewResult {\n /** View handle of the rendered video stream */\n view: {\n /**\n * Update the scale mode for this view.\n * @param scalingMode - The new scale mode.\n */\n updateScalingMode: (scalingMode: ViewScalingMode) => Promise<void>;\n };\n}\n\n// set the required attribs in selector. (Further simplifying our component logic) For example\n// isLocalVideoReady can be calculated inside selector.\n/**\n * The state of the local participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryLocalParticipant extends VideoGalleryParticipant {\n /* @conditional-compile-remove(raise-hand) */\n /** Whether local participant is raised a hand */\n raisedHand?: RaisedHand;\n /* @conditional-compile-remove(reaction) */\n /**\n * Whether local participant has reacted\n *\n * @beta\n * */\n reaction?: Reaction;\n}\n\n/**\n * The state of a remote participant in the {@link VideoGallery}.\n *\n * @public\n */\nexport interface VideoGalleryRemoteParticipant extends VideoGalleryParticipant {\n /** Whether participant is speaking or not */\n isSpeaking?: boolean;\n /** Video stream of shared screen */\n screenShareStream?: VideoGalleryStream;\n /* @conditional-compile-remove(one-to-n-calling) */\n /* @conditional-compile-remove(PSTN-calls) */\n /**\n * @beta\n * The connection state of the participant. For example, 'Hold', 'Connecting' etc.\n */\n state?: ParticipantState;\n /* @conditional-compile-remove(raise-hand) */\n /** Whether participant is raised a hand */\n raisedHand?: RaisedHand;\n /* @conditional-compile-remove(reaction) */\n /**\n * Whether participant has reacted\n *\n * @beta\n * */\n reaction?: Reaction;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure/communication-react",
3
- "version": "1.11.1-alpha-202401040013",
3
+ "version": "1.11.1-alpha-202401050013",
4
4
  "sideEffects": false,
5
5
  "description": "React library for building modern communication user experiences utilizing Azure Communication Services",
6
6
  "keywords": [