@micromag/screen-video 0.3.117 → 0.3.119

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 (3) hide show
  1. package/es/index.js +10 -2
  2. package/lib/index.js +10 -2
  3. package/package.json +11 -11
package/es/index.js CHANGED
@@ -103,7 +103,11 @@ var VideoScreen = function VideoScreen(_ref) {
103
103
  _ref2$withSeekBar = _ref2.withSeekBar,
104
104
  withSeekBar = _ref2$withSeekBar === void 0 ? false : _ref2$withSeekBar,
105
105
  _ref2$withControls = _ref2.withControls,
106
- withControls = _ref2$withControls === void 0 ? false : _ref2$withControls;
106
+ withControls = _ref2$withControls === void 0 ? false : _ref2$withControls,
107
+ _ref2$color = _ref2.color,
108
+ color = _ref2$color === void 0 ? null : _ref2$color,
109
+ _ref2$progressColor = _ref2.progressColor,
110
+ progressColor = _ref2$progressColor === void 0 ? null : _ref2$progressColor;
107
111
 
108
112
  var hasControls = (withSeekBar || withControls) && (isView || isEdit);
109
113
 
@@ -367,8 +371,10 @@ var VideoScreen = function VideoScreen(_ref) {
367
371
  ref: controlsRef
368
372
  }, /*#__PURE__*/React.createElement(MediaControls, {
369
373
  className: classNames([styles.mediaControls, _defineProperty({}, styles.visible, visibleControls)]),
370
- withSeekBar: withSeekBar,
371
374
  withControls: withControls,
375
+ withSeekBar: withSeekBar,
376
+ color: color,
377
+ progressColor: progressColor,
372
378
  playing: playing,
373
379
  muted: muted,
374
380
  currentTime: currentTime,
@@ -404,6 +410,8 @@ var VideoScreen = function VideoScreen(_ref) {
404
410
  duration: duration,
405
411
  playing: playing,
406
412
  focusable: false,
413
+ backgroundColor: color,
414
+ progressColor: progressColor,
407
415
  className: classNames([styles.bottomSeekBar, _defineProperty({}, styles.isHidden, visibleControls)]),
408
416
  isSmall: true
409
417
  }) : null))) : null];
package/lib/index.js CHANGED
@@ -124,7 +124,11 @@ var VideoScreen = function VideoScreen(_ref) {
124
124
  _ref2$withSeekBar = _ref2.withSeekBar,
125
125
  withSeekBar = _ref2$withSeekBar === void 0 ? false : _ref2$withSeekBar,
126
126
  _ref2$withControls = _ref2.withControls,
127
- withControls = _ref2$withControls === void 0 ? false : _ref2$withControls;
127
+ withControls = _ref2$withControls === void 0 ? false : _ref2$withControls,
128
+ _ref2$color = _ref2.color,
129
+ color = _ref2$color === void 0 ? null : _ref2$color,
130
+ _ref2$progressColor = _ref2.progressColor,
131
+ progressColor = _ref2$progressColor === void 0 ? null : _ref2$progressColor;
128
132
 
129
133
  var hasControls = (withSeekBar || withControls) && (isView || isEdit);
130
134
 
@@ -388,8 +392,10 @@ var VideoScreen = function VideoScreen(_ref) {
388
392
  ref: controlsRef
389
393
  }, /*#__PURE__*/React__default["default"].createElement(MediaControls__default["default"], {
390
394
  className: classNames__default["default"]([styles.mediaControls, _defineProperty__default["default"]({}, styles.visible, visibleControls)]),
391
- withSeekBar: withSeekBar,
392
395
  withControls: withControls,
396
+ withSeekBar: withSeekBar,
397
+ color: color,
398
+ progressColor: progressColor,
393
399
  playing: playing,
394
400
  muted: muted,
395
401
  currentTime: currentTime,
@@ -425,6 +431,8 @@ var VideoScreen = function VideoScreen(_ref) {
425
431
  duration: duration,
426
432
  playing: playing,
427
433
  focusable: false,
434
+ backgroundColor: color,
435
+ progressColor: progressColor,
428
436
  className: classNames__default["default"]([styles.bottomSeekBar, _defineProperty__default["default"]({}, styles.isHidden, visibleControls)]),
429
437
  isSmall: true
430
438
  }) : null))) : null];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.3.117",
3
+ "version": "0.3.119",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,15 +50,15 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/size": "^0.1.20",
53
- "@micromag/core": "^0.3.117",
54
- "@micromag/element-background": "^0.3.117",
55
- "@micromag/element-call-to-action": "^0.3.117",
56
- "@micromag/element-closed-captions": "^0.3.117",
57
- "@micromag/element-container": "^0.3.117",
58
- "@micromag/element-image": "^0.3.117",
59
- "@micromag/element-media-controls": "^0.3.117",
60
- "@micromag/element-video": "^0.3.117",
61
- "@micromag/transforms": "^0.3.117",
53
+ "@micromag/core": "^0.3.119",
54
+ "@micromag/element-background": "^0.3.119",
55
+ "@micromag/element-call-to-action": "^0.3.119",
56
+ "@micromag/element-closed-captions": "^0.3.119",
57
+ "@micromag/element-container": "^0.3.119",
58
+ "@micromag/element-image": "^0.3.119",
59
+ "@micromag/element-media-controls": "^0.3.119",
60
+ "@micromag/element-video": "^0.3.119",
61
+ "@micromag/transforms": "^0.3.119",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.21",
64
64
  "prop-types": "^15.7.2",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "eab1c9a0b8c19d747fee6472158779f33b1f18d3"
71
+ "gitHead": "009841dc1641be98ddce6ed56cfcddc22509f342"
72
72
  }