@micromag/element-closed-captions 0.3.619 → 0.3.637

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 (2) hide show
  1. package/es/index.js +8 -8
  2. package/package.json +4 -4
package/es/index.js CHANGED
@@ -2,23 +2,23 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
3
3
  import classNames from 'classnames';
4
4
  import parseSRT from 'parse-srt';
5
- import PropTypes$1 from 'prop-types';
5
+ import PropTypes from 'prop-types';
6
6
  import React, { useState, useEffect, useCallback } from 'react';
7
- import { PropTypes } from '@micromag/core';
7
+ import { PropTypes as PropTypes$1 } from '@micromag/core';
8
8
  import { getSecondsFromTime, getStyleFromBox } from '@micromag/core/utils';
9
9
  import TextElement from '@micromag/element-text';
10
10
 
11
11
  var styles = {"container":"micromag-element-closed-captions-container","captions":"micromag-element-closed-captions-captions"};
12
12
 
13
13
  var propTypes = {
14
- media: PropTypes.closedCaptionsMedia,
15
- currentTime: PropTypes$1.number,
14
+ media: PropTypes$1.closedCaptionsMedia,
15
+ currentTime: PropTypes.number,
16
16
  // in seconds
17
- timeOffset: PropTypes$1.string,
17
+ timeOffset: PropTypes.string,
18
18
  // in srt time format (10:00:01,034)
19
- textStyle: PropTypes.textStyle,
20
- boxStyle: PropTypes.boxStyle,
21
- className: PropTypes$1.string
19
+ textStyle: PropTypes$1.textStyle,
20
+ boxStyle: PropTypes$1.boxStyle,
21
+ className: PropTypes.string
22
22
  };
23
23
  var defaultProps = {
24
24
  media: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-closed-captions",
3
- "version": "0.3.619",
3
+ "version": "0.3.637",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -59,8 +59,8 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.13.10",
62
- "@micromag/core": "^0.3.619",
63
- "@micromag/element-text": "^0.3.619",
62
+ "@micromag/core": "^0.3.637",
63
+ "@micromag/element-text": "^0.3.637",
64
64
  "classnames": "^2.2.6",
65
65
  "parse-srt": "^1.0.0-alpha",
66
66
  "prop-types": "^15.7.2",
@@ -71,5 +71,5 @@
71
71
  "access": "public",
72
72
  "registry": "https://registry.npmjs.org/"
73
73
  },
74
- "gitHead": "21a901b0f800114994f30dfe692c664d378e12f7"
74
+ "gitHead": "8f06c2a525d71dc47183af7786284632a04332e1"
75
75
  }