@azure/communication-react 1.0.1-beta.1 → 1.0.1-beta.2

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 (103) hide show
  1. package/CHANGELOG.json +397 -0
  2. package/CHANGELOG.md +49 -11
  3. package/README.md +16 -0
  4. package/dist/communication-react.d.ts +86 -4
  5. package/dist/dist-cjs/communication-react/index.js +343 -285
  6. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  8. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  9. package/dist/dist-esm/react-components/src/components/MessageThread.js +3 -4
  10. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  11. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +2 -2
  12. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  13. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.d.ts.map +1 -1
  14. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js +3 -1
  15. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +8 -2
  17. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +8 -2
  18. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +8 -2
  19. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +8 -2
  20. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +8 -2
  21. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +8 -2
  22. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +8 -2
  23. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +8 -2
  24. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +8 -2
  25. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +8 -2
  26. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +8 -2
  27. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +8 -2
  28. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +8 -2
  29. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +67 -1
  30. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts.map +1 -1
  31. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +40 -7
  32. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  33. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.d.ts.map +1 -1
  34. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.js +61 -102
  35. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ComplianceBanner.js.map +1 -1
  36. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -1
  37. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts.map +1 -1
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +19 -0
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts.map +1 -1
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +39 -0
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.d.ts.map +1 -1
  44. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +14 -3
  45. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  46. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts +0 -22
  47. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.d.ts.map +1 -1
  48. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +0 -34
  49. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/ChatButton.js +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/ChatButton.js.map +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingCallControlBar.d.ts +1 -1
  53. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingCallControlBar.d.ts.map +1 -1
  54. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingCallControlBar.js +33 -23
  55. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingCallControlBar.js.map +1 -1
  56. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingComposite.d.ts +13 -2
  57. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingComposite.d.ts.map +1 -1
  58. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingComposite.js +11 -7
  59. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/MeetingComposite.js.map +1 -1
  60. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/PeopleButton.js +1 -1
  61. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/PeopleButton.js.map +1 -1
  62. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/SidePane.d.ts +3 -0
  63. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/SidePane.d.ts.map +1 -1
  64. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/SidePane.js +10 -13
  65. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/SidePane.js.map +1 -1
  66. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/adapter/AzureCommunicationMeetingAdapter.d.ts.map +1 -1
  67. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/adapter/AzureCommunicationMeetingAdapter.js +2 -3
  68. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/adapter/AzureCommunicationMeetingAdapter.js.map +1 -1
  69. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/hooks/useMeetingCompositeStrings.d.ts +9 -0
  70. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/hooks/useMeetingCompositeStrings.d.ts.map +1 -0
  71. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/hooks/useMeetingCompositeStrings.js +15 -0
  72. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/hooks/useMeetingCompositeStrings.js.map +1 -0
  73. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +2 -2
  74. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  75. package/dist/dist-esm/react-composites/src/composites/{ChatComposite → common}/ParticipantContainer.d.ts +4 -2
  76. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.d.ts.map +1 -0
  77. package/dist/dist-esm/react-composites/src/composites/{ChatComposite → common}/ParticipantContainer.js +12 -10
  78. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -0
  79. package/dist/dist-esm/react-composites/src/composites/{MeetingComposite/styles/SidePane.styles.d.ts → common/styles/ParticipantContainer.styles.d.ts} +23 -1
  80. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.d.ts.map +1 -0
  81. package/dist/dist-esm/react-composites/src/composites/{MeetingComposite/styles/SidePane.styles.js → common/styles/ParticipantContainer.styles.js} +36 -1
  82. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -0
  83. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.d.ts.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  85. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +7 -0
  86. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +7 -0
  87. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +7 -0
  89. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +7 -0
  90. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +7 -0
  91. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +7 -0
  92. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +7 -0
  93. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +7 -0
  94. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +7 -0
  95. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +7 -0
  96. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +7 -0
  97. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +7 -0
  98. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +7 -0
  99. package/package.json +36 -32
  100. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ParticipantContainer.d.ts.map +0 -1
  101. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ParticipantContainer.js.map +0 -1
  102. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/styles/SidePane.styles.d.ts.map +0 -1
  103. package/dist/dist-esm/react-composites/src/composites/MeetingComposite/styles/SidePane.styles.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -1,6 +1,403 @@
1
1
  {
2
2
  "name": "@azure/communication-react",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 24 Jan 2022 23:18:53 GMT",
6
+ "tag": "@azure/communication-react_v1.0.1",
7
+ "version": "1.0.1",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "jinan@microsoft.com",
12
+ "package": "@internal/acs-ui-common",
13
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
14
+ "comment": "Remove dependencies of tscc for conditional build"
15
+ },
16
+ {
17
+ "author": "jiangnanhello@live.com",
18
+ "package": "@internal/acs-ui-common",
19
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
20
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
21
+ },
22
+ {
23
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
24
+ "package": "@internal/acs-ui-common",
25
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
26
+ "comment": "Bump package version to 1.0.1"
27
+ },
28
+ {
29
+ "author": "jinan@microsoft.com",
30
+ "package": "@internal/acs-ui-common",
31
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
32
+ "comment": "Add flavor switch and build variant to the repo"
33
+ },
34
+ {
35
+ "author": "jinan@microsoft.com",
36
+ "package": "@internal/calling-component-bindings",
37
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
38
+ "comment": "Remove dependencies of tscc for conditional build"
39
+ },
40
+ {
41
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
42
+ "package": "@internal/calling-component-bindings",
43
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
44
+ "comment": "Bump package version to 1.0.1"
45
+ },
46
+ {
47
+ "author": "jinan@microsoft.com",
48
+ "package": "@internal/calling-component-bindings",
49
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
50
+ "comment": "Add flavor switch and build variant to the repo"
51
+ },
52
+ {
53
+ "author": "jiangnanhello@live.com",
54
+ "package": "@internal/calling-component-bindings",
55
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
56
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
57
+ },
58
+ {
59
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
60
+ "package": "@internal/calling-stateful-client",
61
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
62
+ "comment": "Bump package version to 1.0.1"
63
+ },
64
+ {
65
+ "author": "jinan@microsoft.com",
66
+ "package": "@internal/calling-stateful-client",
67
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
68
+ "comment": "Add flavor switch and build variant to the repo"
69
+ },
70
+ {
71
+ "author": "jinan@microsoft.com",
72
+ "package": "@internal/calling-stateful-client",
73
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
74
+ "comment": "Remove dependencies of tscc for conditional build"
75
+ },
76
+ {
77
+ "author": "jiangnanhello@live.com",
78
+ "package": "@internal/calling-stateful-client",
79
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
80
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
81
+ },
82
+ {
83
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
84
+ "package": "@internal/chat-component-bindings",
85
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
86
+ "comment": "Bump package version to 1.0.1"
87
+ },
88
+ {
89
+ "author": "jinan@microsoft.com",
90
+ "package": "@internal/chat-component-bindings",
91
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
92
+ "comment": "Remove dependencies of tscc for conditional build"
93
+ },
94
+ {
95
+ "author": "jinan@microsoft.com",
96
+ "package": "@internal/chat-component-bindings",
97
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
98
+ "comment": "Add flavor switch and build variant to the repo"
99
+ },
100
+ {
101
+ "author": "jiangnanhello@live.com",
102
+ "package": "@internal/chat-component-bindings",
103
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
104
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
105
+ },
106
+ {
107
+ "author": "jinan@microsoft.com",
108
+ "package": "@internal/chat-stateful-client",
109
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
110
+ "comment": "Add flavor switch and build variant to the repo"
111
+ },
112
+ {
113
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
114
+ "package": "@internal/chat-stateful-client",
115
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
116
+ "comment": "Bump package version to 1.0.1"
117
+ },
118
+ {
119
+ "author": "jinan@microsoft.com",
120
+ "package": "@internal/chat-stateful-client",
121
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
122
+ "comment": "Remove dependencies of tscc for conditional build"
123
+ },
124
+ {
125
+ "author": "jiangnanhello@live.com",
126
+ "package": "@internal/chat-stateful-client",
127
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
128
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
129
+ },
130
+ {
131
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
132
+ "package": "@internal/react-components",
133
+ "commit": "e6663cb4ddd4a73f253c8aa5d00d272b5e9cf4fa",
134
+ "comment": "update node-forge version declared that has security fix"
135
+ },
136
+ {
137
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
138
+ "package": "@internal/react-components",
139
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
140
+ "comment": "Bump package version to 1.0.1"
141
+ },
142
+ {
143
+ "author": "jinan@microsoft.com",
144
+ "package": "@internal/react-components",
145
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
146
+ "comment": "Remove dependencies of tscc for conditional build"
147
+ },
148
+ {
149
+ "author": "jiangnanhello@live.com",
150
+ "package": "@internal/react-components",
151
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
152
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
153
+ },
154
+ {
155
+ "author": "jinan@microsoft.com",
156
+ "package": "@internal/react-components",
157
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
158
+ "comment": "Add flavor switch and build variant to the repo"
159
+ },
160
+ {
161
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
162
+ "package": "@internal/react-composites",
163
+ "commit": "98965b17b48b862892df189b3d40adad16a45e97",
164
+ "comment": "ensure font has loaded in e2e tests"
165
+ },
166
+ {
167
+ "author": "jiangnanhello@live.com",
168
+ "package": "@internal/react-composites",
169
+ "commit": "e8ca86750c4548dd2796638eae88f6188017d39b",
170
+ "comment": "- Add a separate folder for stable api review - Add `build:all` script for easy api generating"
171
+ },
172
+ {
173
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
174
+ "package": "@internal/react-composites",
175
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
176
+ "comment": "Bump package version to 1.0.1"
177
+ },
178
+ {
179
+ "author": "jinan@microsoft.com",
180
+ "package": "@internal/react-composites",
181
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
182
+ "comment": "Add flavor switch and build variant to the repo"
183
+ },
184
+ {
185
+ "author": "carolinecao@microsoft.com",
186
+ "package": "@internal/react-composites",
187
+ "commit": "5a0e88b91709f001b9df9874dbd208e80321fba8",
188
+ "comment": "Moved computevariant function to utils, added unit testing"
189
+ },
190
+ {
191
+ "author": "jinan@microsoft.com",
192
+ "package": "@internal/react-composites",
193
+ "commit": "883659f7c75d212aa9f1493f40c995e91d01d3f9",
194
+ "comment": "Remove dependencies of tscc for conditional build"
195
+ },
196
+ {
197
+ "author": "carolinecao@microsoft.com",
198
+ "package": "@internal/react-composites",
199
+ "commit": "c765b05710cd07550a9352960d87fc5019ed8d9d",
200
+ "comment": "set autofocus on microphone button"
201
+ },
202
+ {
203
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
204
+ "package": "@internal/react-composites",
205
+ "commit": "e6663cb4ddd4a73f253c8aa5d00d272b5e9cf4fa",
206
+ "comment": "update node-forge version declared that has security fix"
207
+ },
208
+ {
209
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
210
+ "package": "@internal/storybook",
211
+ "commit": "e6663cb4ddd4a73f253c8aa5d00d272b5e9cf4fa",
212
+ "comment": "update node-forge version declared that has security fix"
213
+ },
214
+ {
215
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
216
+ "package": "@internal/storybook",
217
+ "commit": "046c1df62687f6386458304f1294f629a9f205f0",
218
+ "comment": "updated CSS to fix the sbdocs-title class."
219
+ },
220
+ {
221
+ "author": "jinan@microsoft.com",
222
+ "package": "@internal/storybook",
223
+ "commit": "4ab44b83d81e23dbace1e80173ba8fae9e04c0a3",
224
+ "comment": "Add flavor switch and build variant to the repo"
225
+ },
226
+ {
227
+ "author": "41898282+github-actions[bot]@users.noreply.github.com",
228
+ "package": "@internal/storybook",
229
+ "commit": "630f03cc58eb8b730fc3fccbea46e6e59c5c1c8d",
230
+ "comment": "Bump package version to 1.0.1"
231
+ }
232
+ ],
233
+ "patch": [
234
+ {
235
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
236
+ "package": "@internal/calling-component-bindings",
237
+ "commit": "f9e922fd4ff9e2c5f3da8807b71c18560fe869a0",
238
+ "comment": "Move @azure/communication-calling to peer dependency"
239
+ },
240
+ {
241
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
242
+ "package": "@internal/calling-stateful-client",
243
+ "commit": "f9e922fd4ff9e2c5f3da8807b71c18560fe869a0",
244
+ "comment": "Move @azure/communication-calling to peer dependency"
245
+ },
246
+ {
247
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
248
+ "package": "@internal/chat-component-bindings",
249
+ "commit": "f9e922fd4ff9e2c5f3da8807b71c18560fe869a0",
250
+ "comment": "Move @azure/communication-chat to peer dependency"
251
+ },
252
+ {
253
+ "author": "jinan@microsoft.com",
254
+ "package": "@internal/chat-stateful-client",
255
+ "commit": "4c5f5d297908e63d64f6896905031644feda3d0a",
256
+ "comment": "Small code modifications for conditional build"
257
+ },
258
+ {
259
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
260
+ "package": "@internal/chat-stateful-client",
261
+ "commit": "f9e922fd4ff9e2c5f3da8807b71c18560fe869a0",
262
+ "comment": "Move @azure/communication-chat to peer dependency"
263
+ },
264
+ {
265
+ "author": "kaurprabhjot@microsoft.com",
266
+ "package": "@internal/react-components",
267
+ "commit": "03fb8a37d798e97bfbdd17a56894b81d5b95fa5b",
268
+ "comment": "Fixed inability to click the horizontal gallery left/right button by changing pointerEvents of LayerHost."
269
+ },
270
+ {
271
+ "author": "edwardlee@microsoft.com",
272
+ "package": "@internal/react-components",
273
+ "commit": "f0db7f0546220a2806b7a7276a506feb07cee810",
274
+ "comment": "Fixed ScreenShareButton style to allow custom styles"
275
+ },
276
+ {
277
+ "author": "jinan@microsoft.com",
278
+ "package": "@internal/react-components",
279
+ "commit": "4c5f5d297908e63d64f6896905031644feda3d0a",
280
+ "comment": "Small code modifications for conditional build 1. Conditional build does not support <Type*> convert, use `foo as Bar` 2. Add a hook to bypass type error when build meeting composite"
281
+ },
282
+ {
283
+ "author": "97124699+prabhjot-msft@users.noreply.github.com",
284
+ "package": "@internal/react-components",
285
+ "commit": "f2c313685a447dc9ce035b115a05a4f071ea9617",
286
+ "comment": "Horizontal gallery button height fixed"
287
+ },
288
+ {
289
+ "author": "kaurprabhjot@microsoft.com",
290
+ "package": "@internal/react-components",
291
+ "commit": "65d0ae54cdcd79cddea9b976bf6c3633dec90014",
292
+ "comment": "Fixed alignment of typing indicator in chat composite by reducing minHeight."
293
+ },
294
+ {
295
+ "author": "anjulgarg@live.com",
296
+ "package": "@internal/react-components",
297
+ "commit": "49b6df0070d6bbbf8becd8ac0d3bba238150df7d",
298
+ "comment": "Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks"
299
+ },
300
+ {
301
+ "author": "jinan@microsoft.com",
302
+ "package": "@internal/react-composites",
303
+ "commit": "4c5f5d297908e63d64f6896905031644feda3d0a",
304
+ "comment": "Small code modifications for conditional build 1. Conditional build does not support <Type*> convert, use `foo as Bar` 2. Add a hook to bypass type error when build meeting composite"
305
+ },
306
+ {
307
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
308
+ "package": "@internal/react-composites",
309
+ "commit": "f9e922fd4ff9e2c5f3da8807b71c18560fe869a0",
310
+ "comment": "Move @azure/communication-{calling, chat} to peer dependency"
311
+ },
312
+ {
313
+ "author": "edwardlee@microsoft.com",
314
+ "package": "@internal/react-composites",
315
+ "commit": "4d63c1dafe67115e6ec0bf124091bef19881ba3b",
316
+ "comment": "Increase size of participant flyout menu items for mobile view"
317
+ },
318
+ {
319
+ "author": "anjulgarg@live.com",
320
+ "package": "@internal/react-composites",
321
+ "commit": "49b6df0070d6bbbf8becd8ac0d3bba238150df7d",
322
+ "comment": "Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks"
323
+ },
324
+ {
325
+ "author": "anjulgarg@live.com",
326
+ "package": "@internal/storybook",
327
+ "commit": "49b6df0070d6bbbf8becd8ac0d3bba238150df7d",
328
+ "comment": "Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks"
329
+ },
330
+ {
331
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
332
+ "package": "@internal/storybook",
333
+ "commit": "9ff29b02cc5ff791648ef84a2319b93ed2508344",
334
+ "comment": "Add manual documentation for adapters"
335
+ },
336
+ {
337
+ "author": "97124699+prabhjot-msft@users.noreply.github.com",
338
+ "package": "@internal/storybook",
339
+ "commit": "909114e48f648bd83c3b9080d2e5697586611c48",
340
+ "comment": "Added entry for endpointUrl in appsettings.json instead of using connectionString twice"
341
+ }
342
+ ],
343
+ "minor": [
344
+ {
345
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
346
+ "package": "@internal/react-components",
347
+ "commit": "9b88c40cea014813c4124866590427196a3bf161",
348
+ "comment": "Added strings to the side pane from locale context."
349
+ },
350
+ {
351
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
352
+ "package": "@internal/react-composites",
353
+ "commit": "c4c979dcb63e64ab8572dc4739bfce0bc276835f",
354
+ "comment": "implemented custom datamodel functionality to meeting composite excluding sidebar."
355
+ },
356
+ {
357
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
358
+ "package": "@internal/react-composites",
359
+ "commit": "8562048c56039b4a0e129098b6b337a5f3927c18",
360
+ "comment": "Added MeetingCompositeOptions type to the meetings composite."
361
+ },
362
+ {
363
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
364
+ "package": "@internal/react-composites",
365
+ "commit": "c90e8dffc0f341cb11662b93c7e2ec6402809efa",
366
+ "comment": "changed meeting peopel pane to use ParticipantContainer Component."
367
+ },
368
+ {
369
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
370
+ "package": "@internal/react-composites",
371
+ "commit": "3d0d2b2f3bcbf28a4c37f12ccae3d69d78c14ab7",
372
+ "comment": "added missing return types."
373
+ },
374
+ {
375
+ "author": "82062616+prprabhu-ms@users.noreply.github.com",
376
+ "package": "@internal/react-composites",
377
+ "commit": "52517740c7b2289aa0f2e4088341b930e2d4e223",
378
+ "comment": "Add API for injecting custom buttons into CallComposite"
379
+ },
380
+ {
381
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
382
+ "package": "@internal/react-composites",
383
+ "commit": "9b88c40cea014813c4124866590427196a3bf161",
384
+ "comment": "Added strings to the side pane from locale context."
385
+ },
386
+ {
387
+ "author": "2684369+JamesBurnside@users.noreply.github.com",
388
+ "package": "@internal/react-composites",
389
+ "commit": "16135958cbd794a7fd5e0e4a712a2fb5bb730d54",
390
+ "comment": "Do not remove users from chat in the meeting composite."
391
+ },
392
+ {
393
+ "author": "94866715+dmceachernmsft@users.noreply.github.com",
394
+ "package": "@internal/storybook",
395
+ "commit": "8562048c56039b4a0e129098b6b337a5f3927c18",
396
+ "comment": "fixed storybook controls around the meetings composite to work with the new MeetingCompositeOptions type in the MeetingCompositeProps"
397
+ }
398
+ ]
399
+ }
400
+ },
4
401
  {
5
402
  "date": "Tue, 04 Jan 2022 22:57:09 GMT",
6
403
  "tag": "@azure/communication-react_v1.0.1",
package/CHANGELOG.md CHANGED
@@ -1,31 +1,69 @@
1
1
  # Change Log - @azure/communication-react
2
2
 
3
- This log was last generated on Tue, 04 Jan 2022 22:57:09 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 24 Jan 2022 23:18:53 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [1.0.1-beta.2](https://github.com/azure/communication-ui-library/tree/@azure/communication-react_v1.0.1-beta.2)
8
+
9
+ Mon, 24 Jan 2022 23:18:53 GMT
10
+ [Compare changes](https://github.com/azure/communication-ui-library/compare/1.0.1-beta.1...1.0.1-beta.2)
11
+
12
+ ### Changes
13
+
14
+ - Calling Component Bindings
15
+ - Move @azure/communication-calling to peer dependency ([PR #1294](https://github.com/azure/communication-ui-library/pull/1294) by 82062616+prprabhu-ms@users.noreply.github.com)
16
+ - Stateful Calling Client
17
+ - Move @azure/communication-calling to peer dependency ([PR #1294](https://github.com/azure/communication-ui-library/pull/1294) by 82062616+prprabhu-ms@users.noreply.github.com)
18
+ - Chat Component Bindings
19
+ - Move @azure/communication-chat to peer dependency ([PR #1294](https://github.com/azure/communication-ui-library/pull/1294) by 82062616+prprabhu-ms@users.noreply.github.com)
20
+ - Stateful Chat Client
21
+ - Small code modifications for conditional build ([PR #1284](https://github.com/azure/communication-ui-library/pull/1284) by jinan@microsoft.com)
22
+ - Move @azure/communication-chat to peer dependency ([PR #1294](https://github.com/azure/communication-ui-library/pull/1294) by 82062616+prprabhu-ms@users.noreply.github.com)
23
+ - UI Components
24
+ - Added strings to the side pane from locale context. ([PR #1278](https://github.com/azure/communication-ui-library/pull/1278) by 94866715+dmceachernmsft@users.noreply.github.com)
25
+ - Fixed inability to click the horizontal gallery left/right button by changing pointerEvents of LayerHost. ([PR #1293](https://github.com/azure/communication-ui-library/pull/1293) by kaurprabhjot@microsoft.com)
26
+ - Fixed ScreenShareButton style to allow custom styles ([PR #1286](https://github.com/azure/communication-ui-library/pull/1286) by edwardlee@microsoft.com)
27
+ - Small code modifications for conditional build 1. Conditional build does not support <Type*> convert, use `foo as Bar` 2. Add a hook to bypass type error when build meeting composite ([PR #1284](https://github.com/azure/communication-ui-library/pull/1284) by jinan@microsoft.com)
28
+ - Horizontal gallery button height fixed ([PR #1285](https://github.com/azure/communication-ui-library/pull/1285) by 97124699+prabhjot-msft@users.noreply.github.com)
29
+ - Fixed alignment of typing indicator in chat composite by reducing minHeight. ([PR #1297](https://github.com/azure/communication-ui-library/pull/1297) by kaurprabhjot@microsoft.com)
30
+ - Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks ([PR #1277](https://github.com/azure/communication-ui-library/pull/1277) by anjulgarg@live.com)
31
+ - UI Composites
32
+ - implemented custom datamodel functionality to meeting composite excluding sidebar. ([PR #1319](https://github.com/azure/communication-ui-library/pull/1319) by 94866715+dmceachernmsft@users.noreply.github.com)
33
+ - Added MeetingCompositeOptions type to the meetings composite. ([PR #1272](https://github.com/azure/communication-ui-library/pull/1272) by 94866715+dmceachernmsft@users.noreply.github.com)
34
+ - changed meeting peopel pane to use ParticipantContainer Component. ([PR #1328](https://github.com/azure/communication-ui-library/pull/1328) by 94866715+dmceachernmsft@users.noreply.github.com)
35
+ - added missing return types. ([PR #1332](https://github.com/azure/communication-ui-library/pull/1332) by 94866715+dmceachernmsft@users.noreply.github.com)
36
+ - Add API for injecting custom buttons into CallComposite ([PR #1314](https://github.com/azure/communication-ui-library/pull/1314) by 82062616+prprabhu-ms@users.noreply.github.com)
37
+ - Added strings to the side pane from locale context. ([PR #1278](https://github.com/azure/communication-ui-library/pull/1278) by 94866715+dmceachernmsft@users.noreply.github.com)
38
+ - Do not remove users from chat in the meeting composite. ([PR #1340](https://github.com/azure/communication-ui-library/pull/1340) by 2684369+JamesBurnside@users.noreply.github.com)
39
+ - Small code modifications for conditional build 1. Conditional build does not support <Type*> convert, use `foo as Bar` 2. Add a hook to bypass type error when build meeting composite ([PR #1284](https://github.com/azure/communication-ui-library/pull/1284) by jinan@microsoft.com)
40
+ - Move @azure/communication-{calling, chat} to peer dependency ([PR #1294](https://github.com/azure/communication-ui-library/pull/1294) by 82062616+prprabhu-ms@users.noreply.github.com)
41
+ - Increase size of participant flyout menu items for mobile view ([PR #1322](https://github.com/azure/communication-ui-library/pull/1322) by edwardlee@microsoft.com)
42
+ - Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks ([PR #1277](https://github.com/azure/communication-ui-library/pull/1277) by anjulgarg@live.com)
43
+ - Storybook
44
+ - Fixed storybook controls around the meetings composite to work with the new MeetingCompositeOptions type in the MeetingCompositeProps ([PR #1272](https://github.com/azure/communication-ui-library/pull/1272) by 94866715+dmceachernmsft@users.noreply.github.com)
45
+ - Moving dependencies from @uifabric/react-hooks to @fluentui/react-hooks ([PR #1277](https://github.com/azure/communication-ui-library/pull/1277) by anjulgarg@live.com)
46
+ - Add manual documentation for adapters ([PR #1325](https://github.com/azure/communication-ui-library/pull/1325) by 2684369+JamesBurnside@users.noreply.github.com)
47
+ - Added entry for endpointUrl in appsettings.json instead of using connectionString twice ([PR #1310](https://github.com/azure/communication-ui-library/pull/1310) by 97124699+prabhjot-msft@users.noreply.github.com)
48
+
7
49
  ## [1.0.1-beta.1](https://github.com/azure/communication-ui-library/tree/1.0.1-beta.1)
8
50
 
9
51
  Tue, 04 Jan 2022 22:57:09 GMT
10
52
  [Compare changes](https://github.com/azure/communication-ui-library/compare/1.0.0...1.0.1-beta.1)
11
53
 
12
- ### Minor changes
54
+ ### Changes
13
55
 
14
56
  - UI Components
15
57
  - New aria label string added for `SendBox`. New property added to `SendBox` to autofocus on mount. ([PR #1235](https://github.com/azure/communication-ui-library/pull/1235) by 94866715+dmceachernmsft@users.noreply.github.com)
16
58
  - Add tooltipVideoLoadingContent to Camera strings ([PR #1253](https://github.com/azure/communication-ui-library/pull/1253) by alcail@microsoft.com)
17
- - add aria-label strings to MessageStatusIndicator ([PR #1247](https://github.com/azure/communication-ui-library/pull/1247) by alcail@microsoft.com)
18
- - UI Composites
19
- - added localization strings and added meetingscreen component to increase readability of the meeting composite. ([PR #1274](https://github.com/azure/communication-ui-library/pull/1274) by 94866715+dmceachernmsft@users.noreply.github.com)
20
- - added fix to allow for false value for meetingCallOptions to hide whole bar. ([PR #1266](https://github.com/azure/communication-ui-library/pull/1266) by 94866715+dmceachernmsft@users.noreply.github.com)
21
- - Add autofocus property to the Chat Composite ([PR #1235](https://github.com/azure/communication-ui-library/pull/1235) by 94866715+dmceachernmsft@users.noreply.github.com)
22
-
23
- ### Patches
24
-
25
- - UI Components
59
+ - Add aria-label strings to MessageStatusIndicator ([PR #1247](https://github.com/azure/communication-ui-library/pull/1247) by alcail@microsoft.com)
26
60
  - Allow focus on control bar button when disabled ([PR #1251](https://github.com/azure/communication-ui-library/pull/1251) by alcail@microsoft.com)
27
61
  - Added aria roles to the different menu props. ([PR #1227](https://github.com/azure/communication-ui-library/pull/1227) by 94866715+dmceachernmsft@users.noreply.github.com)
28
62
  - Bug Fix: Ensure TypingIndicator correctly displays the number of users ([PR #1248](https://github.com/azure/communication-ui-library/pull/1248) by alcail@microsoft.com)
63
+ - UI Composites
64
+ - Added localization strings and added meetingscreen component to increase readability of the meeting composite. ([PR #1274](https://github.com/azure/communication-ui-library/pull/1274) by 94866715+dmceachernmsft@users.noreply.github.com)
65
+ - Added fix to allow for false value for meetingCallOptions to hide whole bar. ([PR #1266](https://github.com/azure/communication-ui-library/pull/1266) by 94866715+dmceachernmsft@users.noreply.github.com)
66
+ - Add autofocus property to the Chat Composite ([PR #1235](https://github.com/azure/communication-ui-library/pull/1235) by 94866715+dmceachernmsft@users.noreply.github.com)
29
67
  - Storybook
30
68
  - Bugfix for unreadable canvas code ([PR #1270](https://github.com/azure/communication-ui-library/pull/1270) by anjulgarg@live.com)
31
69
  - Bugfix for tooltip alignment in message status indicator storybook ([PR #1267](https://github.com/azure/communication-ui-library/pull/1267) by anjulgarg@live.com)
package/README.md CHANGED
@@ -12,10 +12,26 @@ Read more about Azure Communication Services - UI Library [here](https://azure.g
12
12
 
13
13
  ## Installing
14
14
 
15
+ `@azure/communication-react` is a React library. It requires a reasonable React environment.
16
+ The environment is already setup if you use [Create React App](https://create-react-app.dev/) or a similar tool to initialize your application.
17
+
15
18
  ```bash
16
19
  npm i @azure/communication-react
17
20
  ```
18
21
 
22
+ ### Beta-channel setup
23
+
24
+ `@azure/communication-react` is in the process of migrating the core Azure Communication Services dependencies to `peerDependencies` so that
25
+ you can most consistently use the API from the core libraries in your application.
26
+
27
+ If you are using a beta package (has a `beta` suffix) >= `@azure/communication-react@1.0.1-beta.2`, you need to install
28
+ the low-level client libraries as well:
29
+
30
+ ```bash
31
+ npm i @azure/communication-calling@1.3.2-beta.1
32
+ npm i @azure/communication-chat@1.1.0
33
+ ```
34
+
19
35
  ## Storybook
20
36
 
21
37
  For complete documentation, quickstarts, and interactive components, check out our [Storybook](https://azure.github.io/communication-ui-library/?path=/story/overview--page).
@@ -981,6 +981,13 @@ export declare interface CallCompositeStrings {
981
981
  microphoneToggleInLobbyNotAllowed: string;
982
982
  }
983
983
 
984
+ /**
985
+ * Control bar display type for {@link CallComposite}.
986
+ *
987
+ * @public
988
+ */
989
+ export declare type CallControlDisplayType = 'default' | 'compact';
990
+
984
991
  /**
985
992
  * Customization options for the control bar in calling experience.
986
993
  *
@@ -996,7 +1003,7 @@ export declare type CallControlOptions = {
996
1003
  *
997
1004
  * @defaultValue 'default'
998
1005
  */
999
- displayType?: 'default' | 'compact';
1006
+ displayType?: CallControlDisplayType;
1000
1007
  /**
1001
1008
  * Show or Hide Camera Button during a call
1002
1009
  * @defaultValue true
@@ -1031,6 +1038,12 @@ export declare type CallControlOptions = {
1031
1038
  screenShareButton?: boolean | {
1032
1039
  disabled: boolean;
1033
1040
  };
1041
+ /**
1042
+ * Inject custom buttons in the call controls.
1043
+ *
1044
+ * @beta
1045
+ */
1046
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
1034
1047
  };
1035
1048
 
1036
1049
  /**
@@ -2469,6 +2482,63 @@ export declare type CustomAvatarOptions = {
2469
2482
  text?: string;
2470
2483
  };
2471
2484
 
2485
+ /**
2486
+ * A callback that returns the props to render a custom {@link ControlBarButton}.
2487
+ *
2488
+ * The response indicates where the custom button should be placed.
2489
+ *
2490
+ * Performance tip: This callback is only called when either the callback or its arguments change.
2491
+ *
2492
+ * @beta
2493
+ */
2494
+ export declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallControlButtonProps;
2495
+
2496
+ /**
2497
+ * Arguments for {@link CustomCallControlButtonCallback}.
2498
+ *
2499
+ * @beta
2500
+ */
2501
+ export declare interface CustomCallControlButtonCallbackArgs {
2502
+ /**
2503
+ * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
2504
+ *
2505
+ * @defaultValue `'default'`
2506
+ */
2507
+ displayType?: CallControlDisplayType;
2508
+ }
2509
+
2510
+ /**
2511
+ * Placement for a custom button injected in the {@link CallControls}.
2512
+ *
2513
+ * 'first': Place the button on the left end (right end in rtl mode).
2514
+ * 'afterCameraButton': Place the button on the right (left in rtl mode) of the camera button.
2515
+ * ... and so on.
2516
+ *
2517
+ * It is an error to place the button in reference to another button that has
2518
+ * been hidden via a {@link CallControlOptions} field.
2519
+ *
2520
+ * Multiple buttons placed in the same position are appended in order.
2521
+ * E.g., if two buttons are placed 'first', they'll both appear on the left end (right end in rtl mode)
2522
+ * in the order provided.
2523
+ *
2524
+ * @beta
2525
+ */
2526
+ export declare type CustomCallControlButtonPlacement = 'first' | 'last' | 'afterCameraButton' | 'afterEndCallButton' | 'afterMicrophoneButton' | 'afterOptionsButton' | 'afterParticipantsButton' | 'afterScreenShareButton';
2527
+
2528
+ /**
2529
+ * Response from {@link CustomCallControlButtonCallback}.
2530
+ *
2531
+ * Includes the props necessary to render a {@link ControlBarButton} and indication of where to place the button.
2532
+ *
2533
+ * @beta
2534
+ */
2535
+ export declare interface CustomCallControlButtonProps extends ControlBarButtonProps {
2536
+ /**
2537
+ * Where to place the custom button relative to other buttons.
2538
+ */
2539
+ placement: CustomCallControlButtonPlacement;
2540
+ }
2541
+
2472
2542
  /**
2473
2543
  * A custom message type.
2474
2544
  *
@@ -3475,6 +3545,19 @@ export declare interface MeetingCallControlOptions extends Pick<CallControlOptio
3475
3545
  */
3476
3546
  export declare const MeetingComposite: (props: MeetingCompositeProps) => JSX.Element;
3477
3547
 
3548
+ /**
3549
+ * Optional features of the {@link MeetingComposite}.
3550
+ *
3551
+ * @beta
3552
+ */
3553
+ export declare type MeetingCompositeOptions = {
3554
+ /**
3555
+ * Call control options to change what buttons show on the meeting composite control bar.
3556
+ * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
3557
+ */
3558
+ callControls?: boolean | MeetingCallControlOptions;
3559
+ };
3560
+
3478
3561
  /**
3479
3562
  * Page state the Meeting composite could be in.
3480
3563
  *
@@ -3507,10 +3590,9 @@ export declare interface MeetingCompositeProps extends BaseCompositeProps<CallCo
3507
3590
  */
3508
3591
  meetingInvitationURL?: string;
3509
3592
  /**
3510
- * Call control options to change what buttons show on the meeting composite control bar.
3511
- * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
3593
+ * Flags to enable/disable or customize UI elements of the {@link MeetingComposite}
3512
3594
  */
3513
- meetingCallControlOptions?: boolean | MeetingCallControlOptions;
3595
+ options?: MeetingCompositeOptions;
3514
3596
  }
3515
3597
 
3516
3598
  /**