@azure/communication-react 1.3.3-alpha-202209150016.0 → 1.3.3-alpha-202209170015.0

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 (46) hide show
  1. package/dist/communication-react.d.ts +56 -1
  2. package/dist/dist-cjs/communication-react/index.js +213 -59
  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/communication-react/src/index.d.ts +2 -0
  7. package/dist/dist-esm/communication-react/src/index.js +2 -0
  8. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  9. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.d.ts +32 -0
  10. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +33 -0
  11. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -0
  12. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -0
  13. package/dist/dist-esm/react-components/src/components/index.js +2 -0
  14. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.d.ts +22 -0
  16. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js +53 -0
  17. package/dist/dist-esm/react-components/src/components/styles/UnsupportedBrowser.styles.js.map +1 -0
  18. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +3 -0
  19. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +5 -0
  21. package/dist/dist-esm/react-components/src/theming/icons.d.ts +1 -0
  22. package/dist/dist-esm/react-components/src/theming/icons.js +36 -1
  23. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  24. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +12 -2
  25. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  26. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +16 -0
  27. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  28. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -1
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +3 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +16 -34
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.d.ts +2 -7
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +3 -4
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.d.ts +16 -0
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js +38 -0
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSidePaneState.js.map +1 -0
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +1 -1
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +22 -1
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +3 -0
  43. package/dist/dist-esm/react-composites/src/composites/common/icons.js +3 -1
  44. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +4 -0
  46. package/package.json +8 -8
@@ -948,6 +948,7 @@ export declare type CallCompositeIcons = {
948
948
  PeoplePaneAddPerson?: JSX.Element;
949
949
  PeoplePaneOpenDialpad?: JSX.Element;
950
950
  DialpadStartCall?: JSX.Element;
951
+ NoticePageInvalidRoom?: JSX.Element;
951
952
  };
952
953
 
953
954
  /**
@@ -1006,7 +1007,7 @@ export declare type CallCompositeOptions = {
1006
1007
  *
1007
1008
  * @public
1008
1009
  */
1009
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'lobby' | 'removedFromCall';
1010
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound';
1010
1011
 
1011
1012
  /**
1012
1013
  * Props for {@link CallComposite}.
@@ -1308,6 +1309,22 @@ export declare interface CallCompositeStrings {
1308
1309
  * aria label for when the invite link has been actioned
1309
1310
  */
1310
1311
  copyInviteLinkActionedAriaLabel: string;
1312
+ /**
1313
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1314
+ */
1315
+ roomNotFoundTitle: string;
1316
+ /**
1317
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1318
+ */
1319
+ roomNotFoundDetails?: string;
1320
+ /**
1321
+ * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1322
+ */
1323
+ deniedPermissionToRoomTitle: string;
1324
+ /**
1325
+ * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1326
+ */
1327
+ deniedPermissionToRoomDetails?: string;
1311
1328
  }
1312
1329
 
1313
1330
  /**
@@ -3308,6 +3325,8 @@ export declare interface ComponentStrings {
3308
3325
  holdButton: HoldButtonStrings;
3309
3326
  /** Strings for DomainPermissions */
3310
3327
  DomainPermissions: DomainPermissionsStrings;
3328
+ /** Strings for unsupported browser UI */
3329
+ UnsupportedBrowser: UnsupportedBrowserStrings;
3311
3330
  }
3312
3331
 
3313
3332
  /**
@@ -4016,6 +4035,7 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4016
4035
  VideoTileMicOff: JSX.Element;
4017
4036
  BackSpace: JSX.Element;
4018
4037
  iconBackdrop: JSX.Element;
4038
+ UnsupportedBrowserWarning: JSX.Element;
4019
4039
  };
4020
4040
 
4021
4041
  /**
@@ -4082,6 +4102,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4082
4102
  PeoplePaneAddPerson?: JSX.Element | undefined;
4083
4103
  PeoplePaneOpenDialpad?: JSX.Element | undefined;
4084
4104
  DialpadStartCall?: JSX.Element | undefined;
4105
+ NoticePageInvalidRoom?: JSX.Element | undefined;
4085
4106
  ChevronLeft?: JSX.Element | undefined;
4086
4107
  ControlBarChatButtonActive?: JSX.Element | undefined;
4087
4108
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -4104,6 +4125,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4104
4125
  ResumeCall: JSX.Element;
4105
4126
  BackSpace: JSX.Element;
4106
4127
  iconBackdrop: JSX.Element;
4128
+ UnsupportedBrowserWarning: JSX.Element;
4107
4129
  };
4108
4130
 
4109
4131
  /**
@@ -7102,6 +7124,39 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
7102
7124
  typingString?: IStyle;
7103
7125
  }
7104
7126
 
7127
+ /**
7128
+ * UI to display to the user that the browser they are using is not supported by calling application.
7129
+ *
7130
+ * @beta
7131
+ */
7132
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
7133
+
7134
+ /**
7135
+ * props for UnsupportedBrowser UI
7136
+ *
7137
+ * @beta
7138
+ */
7139
+ export declare interface UnsupportedBrowserProps {
7140
+ /** Handler to perform a action when the help link is actioned */
7141
+ onTroubleShootingClick: () => void;
7142
+ /** String overrides for the component */
7143
+ strings: UnsupportedBrowserStrings;
7144
+ }
7145
+
7146
+ /**
7147
+ * Strings for UnsupportedBrowser component
7148
+ *
7149
+ * @beta
7150
+ */
7151
+ export declare interface UnsupportedBrowserStrings {
7152
+ /** String for the primary text */
7153
+ primaryText: string;
7154
+ /** String for the secondary text */
7155
+ secondaryText: string;
7156
+ /** String for the help link */
7157
+ moreHelpLink: string;
7158
+ }
7159
+
7105
7160
  /**
7106
7161
  * @public
7107
7162
  * Callback function run when a message is updated.