@elice/material-runbox-legacy 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.
@@ -28,17 +28,9 @@ const MaterialRunboxLegacy = ({
28
28
  size: "small"
29
29
  }));
30
30
  }
31
- return React.createElement(intl.RawEliceIntlProvider, {
32
- value: {
33
- intl: __intl
34
- }
35
- }, React.createElement(MaterialRunboxLegacy_styled.StyledMaterialRunboxLegacy, {
31
+ return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxLegacy_styled.StyledMaterialRunboxLegacy, {
36
32
  key: materialRunboxId
37
- }, React.createElement(intl.RawEliceIntlProvider, {
38
- value: {
39
- intl: __intl
40
- }
41
- }, React.createElement(MaterialRunboxLegacyRunnerRoomWrapper.default, {
33
+ }, React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxLegacyRunnerRoomWrapper.default, {
42
34
  materialRunboxId: materialRunboxId
43
35
  }))));
44
36
  };
@@ -27,9 +27,7 @@ const MaterialRunboxLegacyContent = ({
27
27
  isRunboxJoinError,
28
28
  reconnect
29
29
  }) => {
30
- const {
31
- intl: intl$1
32
- } = intl.useRawEliceIntl();
30
+ const intl$1 = intl.useRawEliceIntl();
33
31
  const [runboxStats, setRunboxStats] = React.useState(null);
34
32
  const [isRunboxUrlLoaded, setRunboxUrlLoaded] = React.useState(false);
35
33
  const isRunboxUrlLoadedPrev = reactUse.usePrevious(isRunboxUrlLoaded);
@@ -24,17 +24,9 @@ const MaterialRunboxLegacy = ({
24
24
  size: "small"
25
25
  }));
26
26
  }
27
- return React.createElement(RawEliceIntlProvider, {
28
- value: {
29
- intl: __intl
30
- }
31
- }, React.createElement(StyledMaterialRunboxLegacy, {
27
+ return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(StyledMaterialRunboxLegacy, {
32
28
  key: materialRunboxId
33
- }, React.createElement(RawEliceIntlProvider, {
34
- value: {
35
- intl: __intl
36
- }
37
- }, React.createElement(MaterialRunboxLegacyRunnerRoomWrapper, {
29
+ }, React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxLegacyRunnerRoomWrapper, {
38
30
  materialRunboxId: materialRunboxId
39
31
  }))));
40
32
  };
@@ -23,9 +23,7 @@ const MaterialRunboxLegacyContent = ({
23
23
  isRunboxJoinError,
24
24
  reconnect
25
25
  }) => {
26
- const {
27
- intl
28
- } = useRawEliceIntl();
26
+ const intl = useRawEliceIntl();
29
27
  const [runboxStats, setRunboxStats] = React.useState(null);
30
28
  const [isRunboxUrlLoaded, setRunboxUrlLoaded] = React.useState(false);
31
29
  const isRunboxUrlLoadedPrev = usePrevious(isRunboxUrlLoaded);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-runbox-legacy",
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 runbox legacy",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -49,10 +49,10 @@
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",
52
+ "@elice/intl": "0.240425.0-alpha.9",
53
53
  "@elice/markdown": "^1.220815.0",
54
- "@elice/material-shared-types": "1.240508.0-globalization.0",
55
- "@elice/material-shared-utils": "1.240508.0-globalization.0",
54
+ "@elice/material-shared-types": "1.240508.0-globalization.1",
55
+ "@elice/material-shared-utils": "1.240508.0-globalization.1",
56
56
  "@elice/types": "^1.240208.0",
57
57
  "@elice/websocket": "^1.220815.0",
58
58
  "@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
  }