video-react-new 0.20.0 → 0.21.1
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.
- package/CHANGELOG.md +13 -0
- package/LICENSE +1 -1
- package/dist/video-react-new.cjs.js +0 -3
- package/dist/video-react-new.cjs.js.map +1 -1
- package/dist/video-react-new.es.js +0 -3
- package/dist/video-react-new.es.js.map +1 -1
- package/dist/video-react-new.full.js +0 -3
- package/dist/video-react-new.full.js.map +1 -1
- package/dist/video-react-new.full.min.js +1 -1
- package/dist/video-react-new.full.min.js.map +1 -1
- package/dist/video-react-new.js +0 -3
- package/dist/video-react-new.js.map +1 -1
- package/dist/video-react-new.min.js +1 -1
- package/dist/video-react-new.min.js.map +1 -1
- package/lib/components/LoadingSpinner.js +2 -2
- package/lib/components/Player.js +0 -3
- package/lib/components/control-bar/LoadProgressBar.js +2 -2
- package/lib/components/control-bar/MouseTimeDisplay.js +2 -2
- package/lib/components/popup/PopupButton.js +2 -2
- package/lib/components/time-controls/CurrentTimeDisplay.js +2 -2
- package/lib/components/time-controls/RemainingTimeDisplay.js +2 -2
- package/package.json +4 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Module Resolution:** Fixed a "Module not found" error when using the package with bundlers like Webpack. The `package.json` now points to the correct distribution files (`dist/` instead of `lib/`).
|
|
12
|
+
- **TypeScript Support:** Resolved an issue where `npm` would fail to find type definitions (`@types/video-react-new`). The package now correctly bundles and declares its own TypeScript types.
|
|
13
|
+
- **React 19 Compatibility:** Removed usage of the legacy `contextTypes` API in the `Player` component, fixing a critical error when using the library with React 19.
|
package/LICENSE
CHANGED
|
@@ -4479,9 +4479,6 @@ function (_Component) {
|
|
|
4479
4479
|
|
|
4480
4480
|
return Player;
|
|
4481
4481
|
}(React.Component);
|
|
4482
|
-
Player.contextTypes = {
|
|
4483
|
-
store: PropTypes.object
|
|
4484
|
-
};
|
|
4485
4482
|
Player.propTypes = propTypes$t;
|
|
4486
4483
|
Player.defaultProps = defaultProps$9;
|
|
4487
4484
|
Player.displayName = 'Player';
|