@azure/communication-react 1.5.1-alpha-202303030153 → 1.5.1-alpha-202303050016

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 (47) hide show
  1. package/dist/communication-react.d.ts +54 -4
  2. package/dist/dist-cjs/communication-react/index.js +260 -183
  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 +1 -0
  7. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  8. package/dist/dist-esm/react-components/src/components/Caption.d.ts +23 -0
  9. package/dist/dist-esm/react-components/src/components/Caption.js +46 -0
  10. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
  11. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +2 -2
  12. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/MessageThread.js +19 -7
  14. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  15. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +1 -1
  16. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  17. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +3 -1
  18. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  19. package/dist/dist-esm/react-components/src/components/VerticalGallery.d.ts +15 -0
  20. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +12 -2
  21. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  22. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +5 -2
  23. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  24. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +19 -10
  25. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  26. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +3 -1
  27. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +12 -6
  28. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  29. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.d.ts +1 -1
  30. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +15 -7
  31. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  32. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +3 -0
  33. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  34. package/dist/dist-esm/react-components/src/components/index.d.ts +2 -0
  35. package/dist/dist-esm/react-components/src/components/index.js +1 -0
  36. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -4
  38. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +2 -2
  39. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  40. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +5 -0
  41. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  42. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +4 -0
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +21 -3
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +16 -1
  46. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  47. package/package.json +8 -8
@@ -3861,6 +3861,10 @@ export declare interface ComponentStrings {
3861
3861
  BrowserPermissionDenied: BrowserPermissionDeniedStrings;
3862
3862
  /** Strings for BrowserPemissionDeniedIOS */
3863
3863
  BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
3864
+ /**
3865
+ * Strings for the VerticalGallery.
3866
+ */
3867
+ VerticalGallery: VerticalGalleryStrings;
3864
3868
  }
3865
3869
 
3866
3870
  /**
@@ -5700,10 +5704,10 @@ export declare interface _Identifiers {
5700
5704
  videoGallery: string;
5701
5705
  /** `data-ui-id` value for `VideoTile` Component */
5702
5706
  videoTile: string;
5703
- /** `data-ui-id` value for `HorizontalGallery` Component's left navigation button */
5704
- horizontalGalleryLeftNavButton: string;
5705
- /** `data-ui-id` value for `HorizontalGallery` Component's right navigation button */
5706
- horizontalGalleryRightNavButton: string;
5707
+ /** `data-ui-id` value for overflow gallery component's left navigation button */
5708
+ overflowGalleryLeftNavButton: string;
5709
+ /** `data-ui-id` value for overflow gallery component's right navigation button */
5710
+ overflowGalleryRightNavButton: string;
5707
5711
  }
5708
5712
 
5709
5713
  /**
@@ -8234,6 +8238,50 @@ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compil
8234
8238
  */
8235
8239
  export declare const useTheme: () => Theme;
8236
8240
 
8241
+ /**
8242
+ * Styles for the control bar inside the VerticalGallery component
8243
+ *
8244
+ * @beta
8245
+ */
8246
+ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
8247
+ /**
8248
+ * styles for the next button in the VerticalGalleryControlBar
8249
+ */
8250
+ nextButton?: IStyle;
8251
+ /**
8252
+ * Styles for the previous button in the VerticalGalleryControlBar
8253
+ */
8254
+ previousButton?: IStyle;
8255
+ /**
8256
+ * Styles for the counter in the VerticalGalleryControlBar
8257
+ */
8258
+ counter?: IStyle;
8259
+ }
8260
+
8261
+ /**
8262
+ * Strings for localization of the vertical gallery.
8263
+ *
8264
+ * @beta
8265
+ */
8266
+ export declare interface VerticalGalleryStrings {
8267
+ /** Aria label for the left page navigation button */
8268
+ leftNavButtonAriaLabel?: string;
8269
+ /** Aria label for the right page navigation button */
8270
+ rightNavButtonAriaLabel?: string;
8271
+ }
8272
+
8273
+ /**
8274
+ * Styles for the VerticalGallery component
8275
+ *
8276
+ * @beta
8277
+ */
8278
+ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
8279
+ /** Styles for each video tile in the vertical gallery */
8280
+ children?: IStyle;
8281
+ /** Styles for the verticalGallery control bar */
8282
+ controlBar?: VerticalGalleryControlBarStyles;
8283
+ }
8284
+
8237
8285
  /**
8238
8286
  * VideoGallery represents a layout of video tiles for a specific call.
8239
8287
  * It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
@@ -8456,6 +8504,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
8456
8504
  horizontalGallery?: HorizontalGalleryStyles;
8457
8505
  /** Styles for the local video */
8458
8506
  localVideo?: IStyle;
8507
+ /** Styles for the vertical gallery */
8508
+ verticalGallery?: VerticalGalleryStyles;
8459
8509
  }
8460
8510
 
8461
8511
  /**