@elice/material-video-file 1.240508.0-globalization.0 → 1.240508.0-globalization.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.
@@ -48,11 +48,7 @@ const MaterialVideoFile = _a => {
48
48
  //
49
49
  //
50
50
  //
51
- return React.createElement(intl.RawEliceIntlProvider, {
52
- value: {
53
- intl: __intl
54
- }
55
- }, React.createElement(MaterialVideoFile_styled.StyledMaterialVideoFileWrap, {
51
+ return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialVideoFile_styled.StyledMaterialVideoFileWrap, {
56
52
  className: classnames(prefixCls, className)
57
53
  }, React.createElement(MaterialVideoFilePlayer.default, Object.assign({}, playerProps, {
58
54
  orgNameShort: orgNameShort,
@@ -57,9 +57,7 @@ const MaterialVideoFilePlayer = ({
57
57
  accountApi
58
58
  }) => {
59
59
  const prefixCls = 'em-video-player';
60
- const {
61
- intl: intl$1
62
- } = intl.useRawEliceIntl();
60
+ const intl$1 = intl.useRawEliceIntl();
63
61
  const [playerFrameSrc, setPlayerFrameSrc] = React.useState(null);
64
62
  /**
65
63
  * Current video status.
@@ -44,11 +44,7 @@ const MaterialVideoFile = _a => {
44
44
  //
45
45
  //
46
46
  //
47
- return React.createElement(RawEliceIntlProvider, {
48
- value: {
49
- intl: __intl
50
- }
51
- }, React.createElement(StyledMaterialVideoFileWrap, {
47
+ return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(StyledMaterialVideoFileWrap, {
52
48
  className: classnames(prefixCls, className)
53
49
  }, React.createElement(MaterialVideoFilePlayer, Object.assign({}, playerProps, {
54
50
  orgNameShort: orgNameShort,
@@ -53,9 +53,7 @@ const MaterialVideoFilePlayer = ({
53
53
  accountApi
54
54
  }) => {
55
55
  const prefixCls = 'em-video-player';
56
- const {
57
- intl
58
- } = useRawEliceIntl();
56
+ const intl = useRawEliceIntl();
59
57
  const [playerFrameSrc, setPlayerFrameSrc] = React.useState(null);
60
58
  /**
61
59
  * Current video status.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-video-file",
3
- "version": "1.240508.0-globalization.0",
3
+ "version": "1.240508.0-globalization.1",
4
4
  "description": "User view and editing components of Elice material video file",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -49,9 +49,9 @@
49
49
  "@elice/design-tokens": "^1.220803.0",
50
50
  "@elice/icons": "^1.230814.0",
51
51
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
52
- "@elice/intl": "0.240425.0-alpha.7",
53
- "@elice/material-shared-types": "1.240508.0-globalization.0",
54
- "@elice/material-shared-utils": "1.240508.0-globalization.0",
52
+ "@elice/intl": "0.240425.0-alpha.9",
53
+ "@elice/material-shared-types": "1.240508.0-globalization.1",
54
+ "@elice/material-shared-utils": "1.240508.0-globalization.1",
55
55
  "@elice/openapi-client-account": "^1.230814.0",
56
56
  "@elice/types": "^1.240208.0",
57
57
  "@types/classnames": "^2.3.1",
@@ -62,5 +62,5 @@
62
62
  "react-use": "^17.2.4",
63
63
  "styled-components": "^5.3.0"
64
64
  },
65
- "gitHead": "e64474c7cab0b6cb852ba08a2076c88e732eec03"
65
+ "gitHead": "359abc2f14610a96b1c4514aedb4a7d0ad02aed3"
66
66
  }