Skip to content

Commit 4177aa4

Browse files
committed
Add support of styled-components v6
1 parent 9203934 commit 4177aa4

File tree

46 files changed

+331
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+331
-271
lines changed

CHANGELOG.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Added
1313

14+
- Added support for styled-components v6. This change is compatible with both styled-components v5 and v6. styled-components v6 introduces various breaking changes. One major difference is that styled-components v6 omits automatic vendor prefixing by default. If you prefer the v5 behavior, refer to the [styled-components v6 migration guide](https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6) for details.
15+
1416
### Removed
1517

1618
### Changed
@@ -74,9 +76,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7476
### Removed
7577

7678
### Changed
79+
7780
- Updated `ContentShare` to have optional nameplate prop.
81+
7882
### Fixed
79-
- Fix a bug where the `isVideoEnabled` is still true even when the video device is unplugged.
83+
84+
- Fix a bug where the `isVideoEnabled` is still true even when the video device is unplugged.
8085

8186
- When audio inputs change in a meeting, `AudioInputProvider` will only automatically select a new audio input device if a meeting is joined with `DeviceLabels.Audio` or `DeviceLabels.AudioAndVideo` device labels.
8287
- Publish `MeetingStatus.Failed` only when a non-terminal failure is encountered. Currently, some Amazon Chime SDK for JavaScript meeting session statuses pass both the `sessionStatus.isFailure()` as well as `sessionStatus.isTerminal()` in JS SDK, thus, for a status if it is in both, it will be considered as non-terminal failure and `MeetingStatus.TerminalFailure` will never get set for such statuses. Check [MeetingSessionStatus](https://github.com/aws/amazon-chime-sdk-js/blob/main/src/meetingsession/MeetingSessionStatus.ts) file for more information on both methods in JS SDK.
@@ -85,18 +90,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8590

8691
### Added
8792

88-
* Add support for Node.js 18.
93+
- Add support for Node.js 18.
8994

9095
### Removed
9196

9297
### Changed
98+
9399
- Updated `VoiceFocusProvider` to destroy the Voice Focus worker thread on unmount.
94100
- Reverted changes to `BackgroundBlurProvider` and `BackgroundReplacemenProvider` to fix bug related to `isBackgroundBlurSupported` and `isBackgroundReplacementSupported` returning false.
95101

96102
### Fixed
97103

98-
* Update the documentation to use `GlobalStyles` along with `ThemeProvider`.
99-
104+
- Update the documentation to use `GlobalStyles` along with `ThemeProvider`.
100105

101106
## [3.4.0] - 2022-09-13
102107

@@ -171,7 +176,7 @@ Below is a list of all changes in Amazon Chime SDK React Components Library v3.
171176
- Remove preset device selection options ("None" and "440 Hz" for audio input device. "None", "Blue", and "SMTP Color Bars" for video input device). Remove `appendSampleDevices` from Props of `CameraSelection`, `MicSelection`, `AudioInputControl`, `AudioInputVFcontrol`, and `VideoInputControl`. Remove `DeviceConfig` type. Remove `additionalDevices` from Props of `useAudioInputs` and `useVideoInputs` hook.
172177
- Remove `useSelectAudioInputDevice`, `useSelectAudioOutputDevice` and `useSelectVideoInputDevice` hook.
173178
- Remove use of the deprecated `enableUnifiedPlanForChromiumBasedBrowsers` configuration variable.
174-
- Remove all deprecated `MeetingSessionStatusCode`.
179+
- Remove all deprecated `MeetingSessionStatusCode`.
175180
- Remove legacy metrics `videoDownstreamGoogFrameHeight`, `videoDownstreamGoogFrameWidth`, `videoUpstreamGoogFrameHeight` and `videoUpstreamGoogFrameWidth` from the `videoStreamMetrics` returned by the `useMediaStreamMetrics` hook to adopt to Amazon Chime SDK for JavaScript V3 changes ([aws/amazon-chime-sdk-js#2086](https://github.com/aws/amazon-chime-sdk-js/pull/2086)).
176181
- Remove `MeetingSessionConfiguration` properties from `MeetingProvider` props.
177182
- Remove `deviceLabels`, `eventController`, `logLevel`, `postLogConfig`, `logger`, `enableWebAudio`, and `activeSpeakerPolicy` from `MeetingProvider` props.
@@ -217,7 +222,7 @@ Below is a list of all changes in Amazon Chime SDK React Components Library v3.
217222
### Removed
218223

219224
- Remove use of the deprecated `enableUnifiedPlanForChromiumBasedBrowsers` configuration variable.
220-
- Remove all deprecated `MeetingSessionStatusCode`.
225+
- Remove all deprecated `MeetingSessionStatusCode`.
221226
- Remove legacy metrics `videoDownstreamGoogFrameHeight`, `videoDownstreamGoogFrameWidth`, `videoUpstreamGoogFrameHeight` and `videoUpstreamGoogFrameWidth` from the `videoStreamMetrics` returned by the `useMediaStreamMetrics` hook to adopt to Amazon Chime SDK for JavaScript V3 changes ([aws/amazon-chime-sdk-js#2086](https://github.com/aws/amazon-chime-sdk-js/pull/2086)).
222227
- Deprecate `useBandwidthMetrics` hook as we already have `useMediaStreamMetrics`.
223228
- Remove `MeetingSessionConfiguration` properties from `MeetingProvider` props.

0 commit comments

Comments
 (0)