@elice/material-runbox 1.260930.0 → 1.261005.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.
Files changed (99) hide show
  1. package/cjs/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +7 -7
  2. package/cjs/components/material-runbox/MaterialRunbox.js +2 -2
  3. package/cjs/components/material-runbox/MaterialRunboxAlert.js +3 -3
  4. package/cjs/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
  5. package/cjs/components/material-runbox/MaterialRunboxContent.js +33 -23
  6. package/cjs/components/material-runbox/MaterialRunboxHeader.js +13 -11
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +5 -5
  8. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +6 -6
  9. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +11 -9
  10. package/cjs/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +7 -8
  11. package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +25 -24
  12. package/cjs/components/material-runbox/actions/MaterialRunboxActionMenu.js +11 -7
  13. package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +15 -16
  14. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +13 -14
  15. package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +8 -8
  16. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +6 -6
  17. package/cjs/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +46 -38
  18. package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +2 -2
  19. package/cjs/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
  20. package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +5 -5
  21. package/cjs/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +17 -13
  22. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  23. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +5 -6
  24. package/cjs/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +20 -16
  25. package/cjs/components/material-runbox/hooks/useRunboxControl.js +2 -2
  26. package/cjs/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +7 -7
  27. package/cjs/components/material-runbox/runtime/RuntimeOverlayConflicted.js +39 -27
  28. package/cjs/components/material-runbox/runtime/RuntimeOverlayLoading.js +68 -49
  29. package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +35 -27
  30. package/cjs/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
  31. package/cjs/components/material-runbox/status/MaterialRunboxStatusButton.js +7 -7
  32. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
  33. package/cjs/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +16 -10
  34. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  35. package/cjs/components/material-runbox/status/MaterialRunboxStatusPopover.js +24 -20
  36. package/cjs/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +22 -14
  37. package/cjs/components/material-runbox/theme.d.ts +2 -2
  38. package/cjs/components/material-runbox/theme.js +3 -3
  39. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +39 -25
  40. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +7 -5
  41. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +39 -25
  42. package/cjs/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +9 -5
  43. package/cjs/components/material-runbox/timer/MaterialRunboxTimer.js +17 -13
  44. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  45. package/cjs/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +76 -48
  46. package/cjs/components/shared/hooks/useBreakpoint.d.ts +2 -2
  47. package/cjs/components/shared/hooks/useBreakpoint.js +3 -3
  48. package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
  49. package/cjs/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +12 -11
  50. package/es/components/material-runbox/MaterialAdminRunboxConfirmDialog.js +1 -1
  51. package/es/components/material-runbox/MaterialRunbox.js +1 -1
  52. package/es/components/material-runbox/MaterialRunboxAlert.js +1 -1
  53. package/es/components/material-runbox/MaterialRunboxContent.d.ts +1 -1
  54. package/es/components/material-runbox/MaterialRunboxContent.js +19 -9
  55. package/es/components/material-runbox/MaterialRunboxHeader.js +9 -7
  56. package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +2 -2
  57. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnect.js +3 -3
  58. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectDialog.js +4 -2
  59. package/es/components/material-runbox/actions/MaterialRunboxActionDisconnectMenuItem.js +4 -5
  60. package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +6 -5
  61. package/es/components/material-runbox/actions/MaterialRunboxActionMenu.js +8 -4
  62. package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +5 -6
  63. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +4 -5
  64. package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +4 -4
  65. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLog.js +3 -3
  66. package/es/components/material-runbox/actions/MaterialRunboxActionSubmitLogDialog.js +28 -20
  67. package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +1 -1
  68. package/es/components/material-runbox/contexts/MaterialRunboxContext.d.ts +1 -1
  69. package/es/components/material-runbox/disk/MaterialRunboxDiskUsageAlert.js +3 -3
  70. package/es/components/material-runbox/disk/MaterialRunboxDiskUsageDialog.js +10 -6
  71. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.d.ts +2 -2
  72. package/es/components/material-runbox/disk/MaterialRunboxEnvResetButton.js +3 -4
  73. package/es/components/material-runbox/disk/MaterialRunboxEnvResetDialog.js +10 -6
  74. package/es/components/material-runbox/hooks/useRunboxControl.js +1 -1
  75. package/es/components/material-runbox/runtime/RuntimeChangeMaterialDialog.js +1 -1
  76. package/es/components/material-runbox/runtime/RuntimeOverlayConflicted.js +26 -14
  77. package/es/components/material-runbox/runtime/RuntimeOverlayLoading.js +38 -19
  78. package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +20 -12
  79. package/es/components/material-runbox/runtime/runtime-loading-tips.d.ts +2 -2
  80. package/es/components/material-runbox/status/MaterialRunboxStatusButton.js +5 -5
  81. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.d.ts +1 -1
  82. package/es/components/material-runbox/status/MaterialRunboxStatusConnectionItem.js +13 -7
  83. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.d.ts +1 -1
  84. package/es/components/material-runbox/status/MaterialRunboxStatusPopover.js +19 -15
  85. package/es/components/material-runbox/status/MaterialRunboxStatusResourceItem.js +17 -9
  86. package/es/components/material-runbox/theme.d.ts +2 -2
  87. package/es/components/material-runbox/theme.js +1 -1
  88. package/es/components/material-runbox/timer/MaterialRunboxQuotaAlmostEndDialog.js +26 -12
  89. package/es/components/material-runbox/timer/MaterialRunboxQuotaAmount.js +5 -3
  90. package/es/components/material-runbox/timer/MaterialRunboxQuotaPerSessionAlmostEndDialog.js +26 -12
  91. package/es/components/material-runbox/timer/MaterialRunboxQuotaTimePart.js +7 -3
  92. package/es/components/material-runbox/timer/MaterialRunboxTimer.js +11 -7
  93. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.d.ts +1 -1
  94. package/es/components/material-runbox/timer/MaterialRunboxTimerDetailPopover.js +55 -27
  95. package/es/components/shared/hooks/useBreakpoint.d.ts +2 -2
  96. package/es/components/shared/hooks/useBreakpoint.js +1 -1
  97. package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.d.ts +1 -1
  98. package/es/components/shared/material-runbox-snackbar/MaterialRunboxSnackbar.js +10 -9
  99. package/package.json +15 -19
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@mui/material';
2
+ import { Dialog, DialogTitle, DialogContent, DialogActions, Button } from '@elice/eds-material';
3
3
  import { useMaterialRunboxControlContext } from '../contexts/MaterialRunboxControlContext.js';
4
4
 
5
5
  var RuntimeChangeMaterialDialog = function RuntimeChangeMaterialDialog(_ref) {
@@ -2,10 +2,10 @@ import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator,
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import { getOrgCourseGet } from '@elice/api-client';
5
+ import { FaIcon } from '@elice/eds-kit';
6
+ import { ThemeProvider, Box, Stack, Typography, Button } from '@elice/eds-material';
5
7
  import { IntlComponentBuilder } from '@elice/intl';
6
- import { EliceIcon } from '@elice/mui-elements';
7
8
  import { faLinkSimple, faArrowUpRightFromSquare } from '@fortawesome/pro-solid-svg-icons';
8
- import { ThemeProvider, Box, Stack, Typography, Button } from '@mui/material';
9
9
  import { useQuery } from '@tanstack/react-query';
10
10
  import { runboxLightTheme, runboxDarkTheme } from '../theme.js';
11
11
  import RuntimeChangeMaterialDialog from './RuntimeChangeMaterialDialog.js';
@@ -80,11 +80,11 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
80
80
  return jsx(Button, Object.assign({
81
81
  variant: "contained",
82
82
  color: "inherit",
83
- startIcon: jsx(EliceIcon, {
83
+ startIcon: jsx(FaIcon, {
84
84
  icon: faLinkSimple,
85
85
  color: "success"
86
86
  }),
87
- endIcon: opensInNewTab ? jsx(EliceIcon, {
87
+ endIcon: opensInNewTab ? jsx(FaIcon, {
88
88
  icon: faArrowUpRightFromSquare,
89
89
  color: "inherit"
90
90
  }) : null,
@@ -101,14 +101,20 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
101
101
  }
102
102
  }, linkProps, {
103
103
  children: jsxs(Stack, {
104
- flex: 1,
105
104
  direction: "column",
106
- alignItems: "flex-start",
105
+ sx: {
106
+ alignItems: 'flex-start',
107
+ flex: 1
108
+ },
107
109
  children: [courseId !== runningCourse.id ? jsx(Typography, {
108
- color: "text.tertiary",
110
+ sx: {
111
+ color: 'text.tertiary'
112
+ },
109
113
  children: runningCourse === null || runningCourse === void 0 ? void 0 : runningCourse.title
110
114
  }) : null, jsx(Typography, {
111
- color: "text.primary",
115
+ sx: {
116
+ color: 'text.primary'
117
+ },
112
118
  children: runningRunbox.title
113
119
  })]
114
120
  })
@@ -155,8 +161,10 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
155
161
  color: 'text.primary'
156
162
  },
157
163
  children: jsxs(Stack, {
158
- gap: "1.5rem",
159
- alignItems: "center",
164
+ sx: {
165
+ alignItems: 'center',
166
+ gap: '1.5rem'
167
+ },
160
168
  children: [jsx(Box, {
161
169
  component: "img",
162
170
  src: img,
@@ -167,14 +175,18 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
167
175
  }
168
176
  }), jsx(Typography, {
169
177
  variant: "h6",
170
- textAlign: "center",
178
+ sx: {
179
+ textAlign: 'center'
180
+ },
171
181
  children: intl.formatMessage({
172
182
  id: 'runbox.runtime.overlay.conflicted.title'
173
183
  })
174
184
  }), renderNavButton(), jsx(Typography, {
175
185
  variant: "body1",
176
- textAlign: "center",
177
- whiteSpace: "pre-line",
186
+ sx: {
187
+ whiteSpace: 'pre-line',
188
+ textAlign: 'center'
189
+ },
178
190
  children: intl.formatMessage({
179
191
  id: 'runbox.runtime.overlay.conflicted.description'
180
192
  })
@@ -187,7 +199,7 @@ var RuntimeOverlayConflicted = function RuntimeOverlayConflicted(_ref) {
187
199
  fullWidth: true,
188
200
  variant: "contained",
189
201
  color: "primary",
190
- startIcon: jsx(EliceIcon, {
202
+ startIcon: jsx(FaIcon, {
191
203
  icon: faLinkSimple
192
204
  }),
193
205
  onClick: handleClickConnect,
@@ -2,11 +2,10 @@ import { slicedToArray as _slicedToArray, defineProperty as _defineProperty } fr
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import { useInterval } from 'react-use';
5
+ import { FaIcon } from '@elice/eds-kit';
6
+ import { ThemeProvider, Stack, Typography, Box, CircularProgress, colors, alpha, LinearProgress, Fade } from '@elice/eds-material';
5
7
  import { IntlComponentBuilder } from '@elice/intl';
6
- import { EliceIcon } from '@elice/mui-elements';
7
- import { colors } from '@elice/mui-system';
8
8
  import { faCheck } from '@fortawesome/pro-solid-svg-icons';
9
- import { ThemeProvider, Stack, Typography, Box, CircularProgress, alpha, LinearProgress, Fade } from '@mui/material';
10
9
  import { runboxLightTheme } from '../theme.js';
11
10
  import { getRuntimeLoadingTips } from './runtime-loading-tips.js';
12
11
  import img from '../../../assets/runbox-loading.svg.js';
@@ -98,16 +97,22 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
98
97
  gap: '1.5rem'
99
98
  },
100
99
  children: [jsxs(Stack, {
101
- gap: "0.5rem",
100
+ sx: {
101
+ gap: '0.5rem'
102
+ },
102
103
  children: [jsx(Typography, {
103
104
  variant: "h4",
104
- color: "text.primary",
105
+ sx: {
106
+ color: 'text.primary'
107
+ },
105
108
  children: intl.formatMessage({
106
109
  id: 'runbox.runtime.loading.title'
107
110
  })
108
111
  }), jsx(Typography, {
109
112
  variant: "body1",
110
- color: "text.secondary",
113
+ sx: {
114
+ color: 'text.secondary'
115
+ },
111
116
  children: intl.formatMessage({
112
117
  id: 'runbox.runtime.loading.description'
113
118
  })
@@ -138,7 +143,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
138
143
  sx: {
139
144
  color: colors.elicepurple[700]
140
145
  }
141
- }) : isCompleted ? jsx(EliceIcon, {
146
+ }) : isCompleted ? jsx(FaIcon, {
142
147
  icon: faCheck,
143
148
  sx: {
144
149
  fontSize: '1rem',
@@ -146,14 +151,16 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
146
151
  }
147
152
  }) : jsx(Typography, {
148
153
  variant: "body2",
149
- color: "text.tertiary",
154
+ sx: {
155
+ color: 'text.tertiary'
156
+ },
150
157
  children: stepNumber
151
158
  })
152
159
  }), jsx(Typography, {
153
160
  variant: "body2",
154
- fontWeight: isActive ? 700 : 500,
155
161
  color: isActive ? 'text.primary' : 'text.secondary',
156
162
  sx: {
163
+ fontWeight: isActive ? 700 : 500,
157
164
  flex: 1
158
165
  },
159
166
  children: intl.formatMessage({
@@ -161,8 +168,10 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
161
168
  })
162
169
  }), jsx(Typography, {
163
170
  variant: "caption",
164
- color: "text.tertiary",
165
- whiteSpace: "nowrap",
171
+ sx: {
172
+ color: 'text.tertiary',
173
+ whiteSpace: 'nowrap'
174
+ },
166
175
  children: intl.formatMessage({
167
176
  id: isCompleted ? STEP_STATUS_ID.completed : isActive ? STEP_STATUS_ID.active : STEP_STATUS_ID.pending
168
177
  })
@@ -188,8 +197,10 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
188
197
  })
189
198
  }), jsx(Typography, {
190
199
  variant: "caption",
191
- color: "text.tertiary",
192
- whiteSpace: "nowrap",
200
+ sx: {
201
+ color: 'text.tertiary',
202
+ whiteSpace: 'nowrap'
203
+ },
193
204
  children: intl.formatMessage({
194
205
  id: STEPS[activeStep - 1].progressId
195
206
  }, {
@@ -231,7 +242,9 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
231
242
  xs: 'column',
232
243
  md: 'row'
233
244
  },
234
- gap: "1rem",
245
+ sx: {
246
+ gap: '1rem'
247
+ },
235
248
  children: shownTips.map(function (tip) {
236
249
  return jsxs(Stack, {
237
250
  direction: "row",
@@ -239,7 +252,7 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
239
252
  flex: 1,
240
253
  gap: '0.75rem'
241
254
  },
242
- children: [jsx(EliceIcon, {
255
+ children: [jsx(FaIcon, {
243
256
  icon: tip.icon,
244
257
  sx: {
245
258
  fontSize: '1.25rem',
@@ -247,17 +260,23 @@ var RuntimeOverlayLoading = function RuntimeOverlayLoading(_ref) {
247
260
  marginTop: '0.125rem'
248
261
  }
249
262
  }), jsxs(Stack, {
250
- gap: "0.125rem",
263
+ sx: {
264
+ gap: '0.125rem'
265
+ },
251
266
  children: [jsx(Typography, {
252
267
  variant: "body1",
253
- fontWeight: 700,
254
- color: "text.primary",
268
+ sx: {
269
+ color: 'text.primary',
270
+ fontWeight: 700
271
+ },
255
272
  children: intl.formatMessage({
256
273
  id: tip.titleId
257
274
  })
258
275
  }), jsx(Typography, {
259
276
  variant: "caption",
260
- color: "text.tertiary",
277
+ sx: {
278
+ color: 'text.tertiary'
279
+ },
261
280
  children: intl.formatMessage({
262
281
  id: tip.descriptionId
263
282
  })
@@ -1,9 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import { FaIcon } from '@elice/eds-kit';
3
+ import { ThemeProvider, Box, Stack, Typography, Button, Card, Divider } from '@elice/eds-material';
2
4
  import { IntlComponentBuilder, RawEliceIntlProvider } from '@elice/intl';
3
- import { EliceIcon } from '@elice/mui-elements';
4
5
  import { useEliceRunboxQuota } from '@elice/runbox-client';
5
6
  import { faArrowsRotate, faLinkSimple } from '@fortawesome/pro-solid-svg-icons';
6
- import { ThemeProvider, Box, Stack, Typography, Button, Card, Divider } from '@mui/material';
7
7
  import { runboxLightTheme } from '../theme.js';
8
8
  import img from '../../../assets/terminated.png.js';
9
9
  import messageEn from '../locales/en.json.js';
@@ -46,7 +46,7 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
46
46
  fullWidth: true,
47
47
  variant: "contained",
48
48
  color: "primary",
49
- startIcon: jsx(EliceIcon, {
49
+ startIcon: jsx(FaIcon, {
50
50
  icon: faLinkSimple
51
51
  }),
52
52
  onClick: handleClickConnect,
@@ -84,8 +84,6 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
84
84
  },
85
85
  children: jsx(Stack, {
86
86
  direction: "row",
87
- alignItems: "center",
88
- gap: "1.5rem",
89
87
  divider: jsx(Divider, {
90
88
  flexItem: true,
91
89
  orientation: "vertical",
@@ -93,6 +91,10 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
93
91
  borderColor: 'grey.200'
94
92
  }
95
93
  }),
94
+ sx: {
95
+ gap: '1.5rem',
96
+ alignItems: 'center'
97
+ },
96
98
  children: args.items.map(function (item, index) {
97
99
  return jsxs(Stack, {
98
100
  direction: "column",
@@ -131,8 +133,10 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
131
133
  color: 'text.primary'
132
134
  },
133
135
  children: jsxs(Stack, {
134
- gap: "1.5rem",
135
- alignItems: "center",
136
+ sx: {
137
+ alignItems: 'center',
138
+ gap: '1.5rem'
139
+ },
136
140
  children: [jsx(Box, {
137
141
  component: "img",
138
142
  src: img,
@@ -143,13 +147,17 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
143
147
  }
144
148
  }), jsx(Typography, {
145
149
  variant: "h6",
146
- textAlign: "center",
147
- whiteSpace: "pre-line",
150
+ sx: {
151
+ whiteSpace: 'pre-line',
152
+ textAlign: 'center'
153
+ },
148
154
  children: args.title
149
155
  }), jsx(Typography, {
150
156
  variant: "body1",
151
- textAlign: "center",
152
- whiteSpace: "pre-line",
157
+ sx: {
158
+ whiteSpace: 'pre-line',
159
+ textAlign: 'center'
160
+ },
153
161
  children: args.description
154
162
  }), args.body]
155
163
  })
@@ -172,7 +180,7 @@ var RuntimeOverlayTerminated = function RuntimeOverlayTerminated(_ref) {
172
180
  }),
173
181
  body: jsx(MaterialRunboxEnvResetButton, {
174
182
  variant: "contained",
175
- startIcon: jsx(EliceIcon, {
183
+ startIcon: jsx(FaIcon, {
176
184
  icon: faArrowsRotate
177
185
  }),
178
186
  runtimeTemplateId: runtimeTemplateId,
@@ -1,6 +1,6 @@
1
- import type { EliceIconDefinition } from '@elice/mui-elements';
1
+ import type { FaIconDefinition } from '@elice/eds-kit';
2
2
  export interface RuntimeLoadingTip {
3
- icon: EliceIconDefinition;
3
+ icon: FaIconDefinition;
4
4
  titleId: string;
5
5
  descriptionId: string;
6
6
  }
@@ -1,11 +1,11 @@
1
1
  import { slicedToArray as _slicedToArray, defineProperty as _defineProperty } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { buttonClasses, Button } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { useEliceRunboxRunning } from '@elice/runbox-client';
7
8
  import { faDiscDrive, faWifi, faAngleDown } from '@fortawesome/pro-solid-svg-icons';
8
- import { buttonClasses, Button } from '@mui/material';
9
9
  import MaterialRunboxStatusPopover from './MaterialRunboxStatusPopover.js';
10
10
  import { useBreakpoint } from '../../shared/hooks/useBreakpoint.js';
11
11
  import { useRunboxDiskUsage } from '../hooks/useRunboxDiskUsage.js';
@@ -42,7 +42,7 @@ var MaterialRunboxStatusButton = function MaterialRunboxStatusButton(_ref) {
42
42
  */
43
43
  var buttonProps = severity ? {
44
44
  color: severity,
45
- startIcon: jsx(EliceIcon, {
45
+ startIcon: jsx(FaIcon, {
46
46
  icon: faDiscDrive
47
47
  }),
48
48
  children: isSmallTabletOrSmaller ? undefined : "DISK ".concat(intl.formatDataSize(diskCurrent, {
@@ -54,7 +54,7 @@ var MaterialRunboxStatusButton = function MaterialRunboxStatusButton(_ref) {
54
54
  }))
55
55
  } : {
56
56
  color: 'inherit',
57
- startIcon: jsx(EliceIcon, {
57
+ startIcon: jsx(FaIcon, {
58
58
  icon: faWifi
59
59
  }),
60
60
  // The label follows the header, but the icon keeps reporting the runtime.
@@ -78,7 +78,7 @@ var MaterialRunboxStatusButton = function MaterialRunboxStatusButton(_ref) {
78
78
  children: [jsx(Button, Object.assign({
79
79
  variant: "text",
80
80
  size: "small",
81
- endIcon: jsx(EliceIcon, {
81
+ endIcon: jsx(FaIcon, {
82
82
  icon: faAngleDown
83
83
  }),
84
84
  onClick: function onClick(e) {
@@ -1,4 +1,4 @@
1
- import type { TypographyProps } from '@mui/material';
1
+ import type { TypographyProps } from '@elice/eds-material';
2
2
  import type React from 'react';
3
3
  export interface MaterialRunboxStatusConnectionItemProps {
4
4
  /** Leading icon element, or a progress indicator while connecting. */
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Stack, Typography } from '@mui/material';
2
+ import { Stack, Typography } from '@elice/eds-material';
3
3
 
4
4
  //
5
5
  //
@@ -11,18 +11,24 @@ var MaterialRunboxStatusConnectionItem = function MaterialRunboxStatusConnection
11
11
  color = _ref$color === void 0 ? 'text.disabled' : _ref$color;
12
12
  return jsxs(Stack, {
13
13
  direction: "row",
14
- alignItems: "center",
15
- gap: "0.75rem",
16
- minHeight: "2.5rem",
17
- padding: "0 0.75rem",
14
+ sx: {
15
+ padding: '0 0.75rem',
16
+ minHeight: '2.5rem',
17
+ gap: '0.75rem',
18
+ alignItems: 'center'
19
+ },
18
20
  children: [jsx(Typography, {
19
21
  component: "span",
20
- display: "inline-flex",
21
22
  color: color,
23
+ sx: {
24
+ display: 'inline-flex'
25
+ },
22
26
  children: icon
23
27
  }), jsx(Typography, {
24
28
  variant: "body2",
25
- color: "text.tertiary",
29
+ sx: {
30
+ color: 'text.tertiary'
31
+ },
26
32
  children: label
27
33
  })]
28
34
  });
@@ -1,4 +1,4 @@
1
- import type { PopoverProps } from '@mui/material';
1
+ import type { PopoverProps } from '@elice/eds-material';
2
2
  import type React from 'react';
3
3
  export interface MaterialRunboxStatusPopoverProps extends Omit<PopoverProps, 'open' | 'onClose' | 'children'> {
4
4
  /** Whether the popover is open. */
@@ -1,11 +1,11 @@
1
1
  import { defineProperty as _defineProperty } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import { __rest } from 'tslib';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
+ import { FaIcon } from '@elice/eds-kit';
5
+ import { Popover, Fade, Stack, CircularProgress, Divider } from '@elice/eds-material';
4
6
  import { useRawEliceIntl } from '@elice/intl';
5
- import { EliceIcon } from '@elice/mui-elements';
6
7
  import { useEliceRunboxRunning, useEliceRunboxContainerStats } from '@elice/runbox-client';
7
8
  import { faWifiSlash, faWifi, faWifiFair, faLinkSimple, faLinkSimpleSlash, faMicrochip, faMemory, faArrowUpRight, faArrowDownLeft, faDiscDrive, faArrowsRotate } from '@fortawesome/pro-solid-svg-icons';
8
- import { Popover, Fade, Stack, CircularProgress, Divider } from '@mui/material';
9
9
  import MaterialRunboxStatusConnectionItem from './MaterialRunboxStatusConnectionItem.js';
10
10
  import MaterialRunboxStatusResourceItem from './MaterialRunboxStatusResourceItem.js';
11
11
  import { RunboxNetworkStatus, useRunboxNetworkStatus } from '../hooks/useRunboxNetworkStatus.js';
@@ -45,19 +45,23 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
45
45
  //
46
46
  return jsx(Popover, Object.assign({
47
47
  open: open,
48
- TransitionComponent: Fade,
49
48
  onClose: onClose
50
49
  }, props, {
50
+ slots: {
51
+ transition: Fade
52
+ },
51
53
  children: jsxs(Stack, {
52
54
  direction: "column",
53
- gap: "0.75rem",
54
- padding: "0.75rem",
55
- width: POPOVER_WIDTH,
56
- bgcolor: "background.paper",
55
+ sx: {
56
+ bgcolor: 'background.paper',
57
+ width: POPOVER_WIDTH,
58
+ padding: '0.75rem',
59
+ gap: '0.75rem'
60
+ },
57
61
  children: [jsxs(Stack, {
58
62
  direction: "column",
59
63
  children: [networkStatus ? jsx(MaterialRunboxStatusConnectionItem, {
60
- icon: jsx(EliceIcon, {
64
+ icon: jsx(FaIcon, {
61
65
  icon: NETWORK_ICON[networkStatus],
62
66
  fontSize: "small"
63
67
  }),
@@ -69,7 +73,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
69
73
  icon: isRunboxConnecting ? jsx(CircularProgress, {
70
74
  color: "inherit",
71
75
  size: "1rem"
72
- }) : jsx(EliceIcon, {
76
+ }) : jsx(FaIcon, {
73
77
  icon: isRunboxRunning ? faLinkSimple : faLinkSimpleSlash,
74
78
  fontSize: "small"
75
79
  }),
@@ -82,7 +86,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
82
86
  children: [jsx(Divider, {}), jsxs(Stack, {
83
87
  direction: "column",
84
88
  children: [jsx(MaterialRunboxStatusResourceItem, {
85
- icon: jsx(EliceIcon, {
89
+ icon: jsx(FaIcon, {
86
90
  icon: faMicrochip,
87
91
  fontSize: "small"
88
92
  }),
@@ -92,7 +96,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
92
96
  maximumFractionDigits: 2
93
97
  }) : preparing
94
98
  }), jsx(MaterialRunboxStatusResourceItem, {
95
- icon: jsx(EliceIcon, {
99
+ icon: jsx(FaIcon, {
96
100
  icon: faMemory,
97
101
  fontSize: "small"
98
102
  }),
@@ -105,7 +109,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
105
109
  maximumFractionDigits: 2
106
110
  })) : preparing
107
111
  }), jsx(MaterialRunboxStatusResourceItem, {
108
- icon: jsx(EliceIcon, {
112
+ icon: jsx(FaIcon, {
109
113
  icon: faArrowUpRight,
110
114
  fontSize: "small"
111
115
  }),
@@ -114,7 +118,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
114
118
  unitSystem: 'iec'
115
119
  }), "/s") : preparing
116
120
  }), jsx(MaterialRunboxStatusResourceItem, {
117
- icon: jsx(EliceIcon, {
121
+ icon: jsx(FaIcon, {
118
122
  icon: faArrowDownLeft,
119
123
  fontSize: "small"
120
124
  }),
@@ -123,7 +127,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
123
127
  unitSystem: 'iec'
124
128
  }), "/s") : preparing
125
129
  }), jsx(MaterialRunboxStatusResourceItem, {
126
- icon: jsx(EliceIcon, {
130
+ icon: jsx(FaIcon, {
127
131
  icon: faDiscDrive,
128
132
  fontSize: "small"
129
133
  }),
@@ -142,7 +146,7 @@ var MaterialRunboxStatusPopover = function MaterialRunboxStatusPopover(_a) {
142
146
  variant: "contained",
143
147
  color: "error",
144
148
  disabled: !isRunboxRunning,
145
- startIcon: jsx(EliceIcon, {
149
+ startIcon: jsx(FaIcon, {
146
150
  icon: faArrowsRotate
147
151
  }),
148
152
  runtimeTemplateId: runtimeTemplateId,
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { Stack, Typography } from '@mui/material';
2
+ import { Stack, Typography } from '@elice/eds-material';
3
3
 
4
4
  //
5
5
  //
@@ -10,24 +10,32 @@ var MaterialRunboxStatusResourceItem = function MaterialRunboxStatusResourceItem
10
10
  value = _ref.value;
11
11
  return jsxs(Stack, {
12
12
  direction: "row",
13
- alignItems: "center",
14
- gap: "0.75rem",
15
- padding: "0.375rem 0.75rem",
13
+ sx: {
14
+ padding: '0.375rem 0.75rem',
15
+ gap: '0.75rem',
16
+ alignItems: 'center'
17
+ },
16
18
  children: [jsx(Typography, {
17
19
  component: "span",
18
- display: "inline-flex",
19
- color: "text.tertiary",
20
+ sx: {
21
+ color: 'text.tertiary',
22
+ display: 'inline-flex'
23
+ },
20
24
  children: icon
21
25
  }), jsxs(Stack, {
22
26
  direction: "column",
23
27
  children: [jsx(Typography, {
24
28
  variant: "body2",
25
- color: "text.tertiary",
29
+ sx: {
30
+ color: 'text.tertiary'
31
+ },
26
32
  children: label
27
33
  }), jsx(Typography, {
28
34
  variant: "caption",
29
- color: "text.tertiary",
30
- fontFamily: "'JetBrains Mono', monospace",
35
+ sx: {
36
+ color: 'text.tertiary',
37
+ fontFamily: "'JetBrains Mono', monospace"
38
+ },
31
39
  children: value
32
40
  })]
33
41
  })]
@@ -1,2 +1,2 @@
1
- export declare const runboxDarkTheme: import("@mui/material").Theme;
2
- export declare const runboxLightTheme: import("@mui/material").Theme;
1
+ export declare const runboxDarkTheme: import("@elice/eds-material").Theme;
2
+ export declare const runboxLightTheme: import("@elice/eds-material").Theme;
@@ -1,4 +1,4 @@
1
- import { createEliceTheme } from '@elice/mui-system';
1
+ import { createEliceTheme } from '@elice/eds-material';
2
2
 
3
3
  var runboxDarkTheme = createEliceTheme({
4
4
  paletteName: 'purple',