@elice/material-quiz 1.240514.2 → 1.240517.0

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.
@@ -91,7 +91,9 @@ const MaterialQuizContainer = ({
91
91
  onNext,
92
92
  __intl
93
93
  }) => {
94
- return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialQuizContext.MaterialQuizProvider, {
94
+ return React.createElement(intl.RawEliceIntlProvider, {
95
+ value: __intl
96
+ }, React.createElement(MaterialQuizContext.MaterialQuizProvider, {
95
97
  materialQuizId: materialQuizId,
96
98
  userId: userId,
97
99
  onDirty: onDirty,
@@ -77,7 +77,9 @@ const MaterialQuizEdit = React.forwardRef(({
77
77
  //
78
78
  //
79
79
  //
80
- return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement("form", {
80
+ return React.createElement(intl.RawEliceIntlProvider, {
81
+ value: __intl
82
+ }, React.createElement("form", {
81
83
  ref: formElRef
82
84
  }, React.createElement(context.default.Provider, {
83
85
  value: {
@@ -87,7 +87,9 @@ const MaterialQuizContainer = ({
87
87
  onNext,
88
88
  __intl
89
89
  }) => {
90
- return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialQuizProvider, {
90
+ return React.createElement(RawEliceIntlProvider, {
91
+ value: __intl
92
+ }, React.createElement(MaterialQuizProvider, {
91
93
  materialQuizId: materialQuizId,
92
94
  userId: userId,
93
95
  onDirty: onDirty,
@@ -73,7 +73,9 @@ const MaterialQuizEdit = forwardRef(({
73
73
  //
74
74
  //
75
75
  //
76
- return React.createElement(RawEliceIntlProvider, Object.assign({}, __intl), React.createElement("form", {
76
+ return React.createElement(RawEliceIntlProvider, {
77
+ value: __intl
78
+ }, React.createElement("form", {
77
79
  ref: formElRef
78
80
  }, React.createElement(MaterialQuizEditContext.Provider, {
79
81
  value: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-quiz",
3
- "version": "1.240514.2",
3
+ "version": "1.240517.0",
4
4
  "description": "User view and editing components of Elice material quiz",
5
5
  "repository": "https://git.elicer.io/elice/frontend/library/elice-material",
6
6
  "license": "UNLICENSED",
@@ -62,10 +62,10 @@
62
62
  "@elice/design-tokens": "^1.220803.0",
63
63
  "@elice/icons": "^1.230814.0",
64
64
  "@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
65
- "@elice/intl": "0.240425.0-rc.0",
65
+ "@elice/intl": "0.240425.0-rc.1",
66
66
  "@elice/markdown": "^1.240124.0",
67
- "@elice/material-shared-types": "1.240514.2",
68
- "@elice/material-shared-utils": "1.240514.2",
67
+ "@elice/material-shared-types": "1.240517.0",
68
+ "@elice/material-shared-utils": "1.240517.0",
69
69
  "@elice/mui-system": "^5.240108.1",
70
70
  "@elice/types": "1.240131.0",
71
71
  "@emotion/react": "^11.10.0",
@@ -87,5 +87,5 @@
87
87
  "react-use": "^17.2.4",
88
88
  "styled-components": "^5.3.0"
89
89
  },
90
- "gitHead": "b13df05d69f1f8b7081d670ec2986a6212875563"
90
+ "gitHead": "bb6cdfa264766bb3a10117bd0482152179e59414"
91
91
  }