@elice/material-exercise 1.230712.0-matquiz.0 → 1.230726.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.
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib = require('tslib');
|
|
6
5
|
var React = require('react');
|
|
7
6
|
var reactIntl = require('react-intl');
|
|
8
7
|
var apiClient = require('@elice/api-client');
|
|
@@ -176,10 +175,9 @@ var MaterialExercise = React.forwardRef(function (props, ref) {
|
|
|
176
175
|
//
|
|
177
176
|
//
|
|
178
177
|
//
|
|
179
|
-
var MaterialExercise$1 = materialSharedUtils.withForwardRefMaterial(React.forwardRef(function (
|
|
180
|
-
var
|
|
181
|
-
locale =
|
|
182
|
-
props = tslib.__rest(_a, ["locale"]);
|
|
178
|
+
var MaterialExercise$1 = materialSharedUtils.withForwardRefMaterial(React.forwardRef(function (props, ref) {
|
|
179
|
+
var _props$locale = props.locale,
|
|
180
|
+
locale = _props$locale === void 0 ? 'en' : _props$locale;
|
|
183
181
|
return React__default["default"].createElement(reactIntl.IntlProvider, {
|
|
184
182
|
locale: locale,
|
|
185
183
|
defaultLocale: "en",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
1
|
import React, { forwardRef } from 'react';
|
|
3
2
|
import { useIntl, IntlProvider } from 'react-intl';
|
|
4
3
|
import { config } from '@elice/api-client';
|
|
@@ -169,10 +168,9 @@ var MaterialExercise = forwardRef(function (props, ref) {
|
|
|
169
168
|
//
|
|
170
169
|
//
|
|
171
170
|
//
|
|
172
|
-
var MaterialExercise$1 = withForwardRefMaterial(forwardRef(function (
|
|
173
|
-
var
|
|
174
|
-
locale =
|
|
175
|
-
props = __rest(_a, ["locale"]);
|
|
171
|
+
var MaterialExercise$1 = withForwardRefMaterial(forwardRef(function (props, ref) {
|
|
172
|
+
var _props$locale = props.locale,
|
|
173
|
+
locale = _props$locale === void 0 ? 'en' : _props$locale;
|
|
176
174
|
return React.createElement(IntlProvider, {
|
|
177
175
|
locale: locale,
|
|
178
176
|
defaultLocale: "en",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-exercise",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.230726.0",
|
|
4
4
|
"description": "User view and editing components of Elice material exercise",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"@elice/design-tokens": "^1.220803.0",
|
|
80
80
|
"@elice/icons": "^1.220803.0",
|
|
81
81
|
"@elice/markdown": "^1.220803.0",
|
|
82
|
-
"@elice/material-shared-types": "1.
|
|
83
|
-
"@elice/material-shared-utils": "1.
|
|
82
|
+
"@elice/material-shared-types": "1.230726.0",
|
|
83
|
+
"@elice/material-shared-utils": "1.230726.0",
|
|
84
84
|
"@elice/types": "^1.230629.0",
|
|
85
85
|
"@elice/websocket": "^1.220803.0",
|
|
86
86
|
"@types/classnames": "^2.3.1",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"recoil": "^0.6.1",
|
|
103
103
|
"styled-components": "^5.2.0"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "7a5377d83939215c5dfc543c867ffd59300710fe"
|
|
106
106
|
}
|