@elice/material-pdf 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.
@@ -21,11 +21,7 @@ const MaterialPdf = ({
21
21
  //
22
22
  //
23
23
  //
24
- return React.createElement(intl.RawEliceIntlProvider, {
25
- value: {
26
- intl: __intl
27
- }
28
- }, React.createElement(MaterialPdf_styled.StyledMaterialPdfWrapper, {
24
+ return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialPdf_styled.StyledMaterialPdfWrapper, {
29
25
  className: classnames(prefixCls, className)
30
26
  }, React.createElement(MaterialPdfContent.default, {
31
27
  materialPdfId: materialPdfId,
@@ -17,9 +17,7 @@ const MaterialPdfContent = ({
17
17
  cMapUrl
18
18
  }) => {
19
19
  var _a;
20
- const {
21
- intl: intl$1
22
- } = intl.useRawEliceIntl();
20
+ const intl$1 = intl.useRawEliceIntl();
23
21
  const {
24
22
  materialPdf,
25
23
  status: materialPdfStatus
@@ -17,11 +17,7 @@ const MaterialPdf = ({
17
17
  //
18
18
  //
19
19
  //
20
- return React.createElement(RawEliceIntlProvider, {
21
- value: {
22
- intl: __intl
23
- }
24
- }, React.createElement(StyledMaterialPdfWrapper, {
20
+ return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(StyledMaterialPdfWrapper, {
25
21
  className: classnames(prefixCls, className)
26
22
  }, React.createElement(MaterialPdfContent, {
27
23
  materialPdfId: materialPdfId,
@@ -13,9 +13,7 @@ const MaterialPdfContent = ({
13
13
  cMapUrl
14
14
  }) => {
15
15
  var _a;
16
- const {
17
- intl
18
- } = useRawEliceIntl();
16
+ const intl = useRawEliceIntl();
19
17
  const {
20
18
  materialPdf,
21
19
  status: materialPdfStatus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-pdf",
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 PDF",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -48,10 +48,10 @@
48
48
  "@elice/design-tokens": "^1.220803.0",
49
49
  "@elice/icons": "^1.230814.0",
50
50
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
51
- "@elice/intl": "0.240425.0-alpha.7",
51
+ "@elice/intl": "0.240425.0-alpha.9",
52
52
  "@elice/markdown": "^1.220815.0",
53
- "@elice/material-shared-types": "1.240508.0-globalization.0",
54
- "@elice/material-shared-utils": "1.240508.0-globalization.0",
53
+ "@elice/material-shared-types": "1.240508.0-globalization.1",
54
+ "@elice/material-shared-utils": "1.240508.0-globalization.1",
55
55
  "@elice/types": "^1.240208.0",
56
56
  "@types/classnames": "^2.3.1",
57
57
  "@types/react": "~17.0.9",
@@ -60,5 +60,5 @@
60
60
  "react-use": "^17.2.4",
61
61
  "styled-components": "^5.3.0"
62
62
  },
63
- "gitHead": "e64474c7cab0b6cb852ba08a2076c88e732eec03"
63
+ "gitHead": "359abc2f14610a96b1c4514aedb4a7d0ad02aed3"
64
64
  }