@micromag/element-video 0.4.41 → 0.4.42

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/es/index.d.ts CHANGED
@@ -1,3 +1,8 @@
1
- declare const _default: any;
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+
3
+ declare const _default: ({ ref, ...props }: {
4
+ [x: string]: any;
5
+ ref: any;
6
+ }) => react_jsx_runtime.JSX.Element;
2
7
 
3
8
  export { _default as default };
package/es/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
1
2
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
3
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
4
  import classNames from 'classnames';
@@ -84,6 +85,7 @@ function useSources(media) {
84
85
 
85
86
  var styles = {"container":"micromag-element-video-container","media":"micromag-element-video-media","spinner":"micromag-element-video-spinner","withSize":"micromag-element-video-withSize"};
86
87
 
88
+ var _excluded = ["ref"];
87
89
  function Video(_ref) {
88
90
  var _ref$media = _ref.media,
89
91
  media = _ref$media === void 0 ? null : _ref$media,
@@ -319,7 +321,9 @@ function Video(_ref) {
319
321
  className: styles.spinner
320
322
  }) : null);
321
323
  }
322
- var Video_default = /*#__PURE__*/React.forwardRef(function (props, ref) {
324
+ var Video_default = (function (_ref7) {
325
+ var ref = _ref7.ref,
326
+ props = _objectWithoutProperties(_ref7, _excluded);
323
327
  return /*#__PURE__*/React.createElement(Video, Object.assign({
324
328
  mediaRef: ref
325
329
  }, props));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-video",
3
- "version": "0.4.41",
3
+ "version": "0.4.42",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@babel/runtime": "^7.28.6",
63
- "@micromag/core": "^0.4.41",
64
- "@micromag/element-closed-captions": "^0.4.41",
63
+ "@micromag/core": "^0.4.42",
64
+ "@micromag/element-closed-captions": "^0.4.42",
65
65
  "classnames": "^2.2.6",
66
66
  "hls.js": "^1.5.15",
67
67
  "lodash": "^4.17.23",
@@ -72,6 +72,6 @@
72
72
  "access": "public",
73
73
  "registry": "https://registry.npmjs.org/"
74
74
  },
75
- "gitHead": "c7856a747ba0a4466f4b63bc29e31003275ac6e0",
75
+ "gitHead": "6fd96aeb9ef1857c731917d8b7cde23d31b39574",
76
76
  "types": "es/index.d.ts"
77
77
  }