@elice/material-runbox 1.260825.0-runboxusability.14 → 1.260825.0-runboxusability.15

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.
@@ -26,6 +26,8 @@ export interface MaterialRunboxContentProps extends Pick<MaterialRunboxHeaderPro
26
26
  isTutoring: boolean;
27
27
  /** Used for submit log score tag color. */
28
28
  getAchievementColor?: GetAchievementColor;
29
+ /** Notified when the runbox running (session) ID changes. */
30
+ onRunboxRunningIdChange?: (runboxRunningId: number | null) => void;
29
31
  }
30
32
  declare const MaterialRunboxContent: React.FC<MaterialRunboxContentProps>;
31
33
  export default MaterialRunboxContent;
@@ -52,7 +52,8 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
52
52
  isTutoring = _ref$isTutoring === void 0 ? false : _ref$isTutoring,
53
53
  _ref$hideTimerPopover = _ref.hideTimerPopover,
54
54
  hideTimerPopover = _ref$hideTimerPopover === void 0 ? false : _ref$hideTimerPopover,
55
- getAchievementColor = _ref.getAchievementColor;
55
+ getAchievementColor = _ref.getAchievementColor,
56
+ onRunboxRunningIdChange = _ref.onRunboxRunningIdChange;
56
57
  var _a;
57
58
  var intl$1 = intl.useRawEliceIntl();
58
59
  var _useMaterialRunboxCon = MaterialRunboxContext.useMaterialRunboxContext(),
@@ -293,6 +294,7 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
293
294
  });
294
295
  },
295
296
  onRunboxRefetchRequest: refetch,
297
+ onRunboxRunningIdChange: onRunboxRunningIdChange,
296
298
  children: jsxRuntime.jsx(StyledRunboxContainer, {
297
299
  children: jsxRuntime.jsx(muiXSnackbar.SnackbarProvider, {
298
300
  domRoot: snackbarRoot !== null && snackbarRoot !== void 0 ? snackbarRoot : document.body,
@@ -26,6 +26,8 @@ export interface MaterialRunboxContentProps extends Pick<MaterialRunboxHeaderPro
26
26
  isTutoring: boolean;
27
27
  /** Used for submit log score tag color. */
28
28
  getAchievementColor?: GetAchievementColor;
29
+ /** Notified when the runbox running (session) ID changes. */
30
+ onRunboxRunningIdChange?: (runboxRunningId: number | null) => void;
29
31
  }
30
32
  declare const MaterialRunboxContent: React.FC<MaterialRunboxContentProps>;
31
33
  export default MaterialRunboxContent;
@@ -44,7 +44,8 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
44
44
  isTutoring = _ref$isTutoring === void 0 ? false : _ref$isTutoring,
45
45
  _ref$hideTimerPopover = _ref.hideTimerPopover,
46
46
  hideTimerPopover = _ref$hideTimerPopover === void 0 ? false : _ref$hideTimerPopover,
47
- getAchievementColor = _ref.getAchievementColor;
47
+ getAchievementColor = _ref.getAchievementColor,
48
+ onRunboxRunningIdChange = _ref.onRunboxRunningIdChange;
48
49
  var _a;
49
50
  var intl = useRawEliceIntl();
50
51
  var _useMaterialRunboxCon = useMaterialRunboxContext(),
@@ -285,6 +286,7 @@ var MaterialRunboxContent = function MaterialRunboxContent(_ref) {
285
286
  });
286
287
  },
287
288
  onRunboxRefetchRequest: refetch,
289
+ onRunboxRunningIdChange: onRunboxRunningIdChange,
288
290
  children: jsx(StyledRunboxContainer, {
289
291
  children: jsx(SnackbarProvider, {
290
292
  domRoot: snackbarRoot !== null && snackbarRoot !== void 0 ? snackbarRoot : document.body,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elice/material-runbox",
3
- "version": "1.260825.0-runboxusability.14",
3
+ "version": "1.260825.0-runboxusability.15",
4
4
  "description": "User view and editing components of Elice material runbox",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,8 +37,8 @@
37
37
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
38
38
  "react-transition-group": "^4.4.0",
39
39
  "react-use": "^17.0.0",
40
- "@elice/material-shared-types": "1.260825.0-runboxusability.14",
41
- "@elice/material-shared-utils": "1.260825.0-runboxusability.14"
40
+ "@elice/material-shared-types": "1.260825.0-runboxusability.15",
41
+ "@elice/material-shared-utils": "1.260825.0-runboxusability.15"
42
42
  },
43
43
  "dependencies": {
44
44
  "classnames": "^2.2.0",
@@ -56,7 +56,7 @@
56
56
  "@elice/mui-x-snackbar": "^5.250108.0-controllabel.0",
57
57
  "@elice/openapi-client-material-runbox": "1.260826.0-improverunboxusability.1",
58
58
  "@elice/rollup-config": "^1.260406.0",
59
- "@elice/runbox-client": "1.260904.0-runboxiframeerror.2",
59
+ "@elice/runbox-client": "1.260904.0-runboxiframeerror.3",
60
60
  "@elice/types": "1.260608.0",
61
61
  "@emotion/react": "^11.10.0",
62
62
  "@emotion/styled": "^11.10.0",
@@ -77,8 +77,8 @@
77
77
  "react-use": "^17.2.4",
78
78
  "rollup": "^4.0.0",
79
79
  "typescript": "~5.9.3",
80
- "@elice/material-shared-types": "1.260825.0-runboxusability.14",
81
- "@elice/material-shared-utils": "1.260825.0-runboxusability.14"
80
+ "@elice/material-shared-types": "1.260825.0-runboxusability.15",
81
+ "@elice/material-shared-utils": "1.260825.0-runboxusability.15"
82
82
  },
83
83
  "scripts": {
84
84
  "start": "run-s watch",