@natoora-libs/core 0.1.13-dev-doug-4 → 0.1.13-mui-upgrade-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.
@@ -6910,7 +6910,7 @@ var SmartTableHeader = ({
6910
6910
  flexDirection: "row",
6911
6911
  gap: headCell.disableSort ? 1 : 0,
6912
6912
  children: [
6913
- headCell.disableSort ? headCell.RenderHeader ?? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Tooltip, { title: headCell.labelTooltip ?? "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Typography, { variant: "subtitle2", mt: 0.25, fontWeight: 600, children: headCell.label }) }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Tooltip, { title: headCell.labelTooltip ?? "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
6913
+ headCell.disableSort ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material58.Typography, { variant: "subtitle2", mt: 0.25, fontWeight: 600, children: headCell.label }) : /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
6914
6914
  import_material58.TableSortLabel,
6915
6915
  {
6916
6916
  "data-testid": "table-sort-label",
@@ -6922,7 +6922,7 @@ var SmartTableHeader = ({
6922
6922
  orderBy === headCell.id ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: classes.visuallyHidden, children: order === "desc" ? "sorted descending" : "sorted ascending" }) : null
6923
6923
  ]
6924
6924
  }
6925
- ) }),
6925
+ ),
6926
6926
  headCell.refetchFilterOptions ? /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
6927
6927
  SmartTableHeaderFilterMenu_default,
6928
6928
  {
@@ -7711,10 +7711,7 @@ var TableDesktopFooter = ({
7711
7711
 
7712
7712
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7713
7713
  var import_react38 = require("react");
7714
- var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7715
- var import_Close = __toESM(require("@mui/icons-material/Close"), 1);
7716
- var import_Edit = __toESM(require("@mui/icons-material/Edit"), 1);
7717
- var import_material66 = require("@mui/material");
7714
+ var import_material65 = require("@mui/material");
7718
7715
 
7719
7716
  // src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
7720
7717
  var import_react36 = require("react");
@@ -7772,9 +7769,12 @@ var TableDesktopSmartSelect = (0, import_react36.memo)(({
7772
7769
  );
7773
7770
  });
7774
7771
 
7772
+ // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7773
+ var import_Check2 = __toESM(require("@mui/icons-material/Check"), 1);
7774
+
7775
7775
  // src/components/TableDesktopRowCell/TableDesktopTextField.tsx
7776
+ var import_TextField = __toESM(require("@mui/material/TextField"), 1);
7776
7777
  var import_react37 = require("react");
7777
- var import_material65 = require("@mui/material");
7778
7778
  var import_jsx_runtime117 = require("react/jsx-runtime");
7779
7779
  var TableDesktopTextField = ({
7780
7780
  rowId,
@@ -7784,54 +7784,34 @@ var TableDesktopTextField = ({
7784
7784
  validateInput,
7785
7785
  onUpdateEditableCell
7786
7786
  }) => {
7787
- const [input, setInput] = (0, import_react37.useState)(editInitialValue);
7788
- const hasValidationError = (0, import_react37.useMemo)(() => !validateInput?.(input), [input, validateInput]);
7789
- const commitValue = (value) => {
7790
- if (hasValidationError) {
7791
- return;
7792
- }
7793
- onUpdateEditableCell?.(rowId, value);
7794
- };
7795
- const handleKeyDown = (e) => {
7796
- if (e.key === "Enter") {
7797
- e.preventDefault();
7798
- commitValue(input);
7799
- }
7800
- };
7787
+ const [value, setValue] = (0, import_react37.useState)(editInitialValue);
7788
+ const hasError = (0, import_react37.useMemo)(() => !validateInput?.(value), [value, validateInput]);
7801
7789
  return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7802
- import_material65.TextField,
7790
+ import_TextField.default,
7803
7791
  {
7804
7792
  fullWidth: true,
7805
7793
  variant: "standard",
7806
- value: input,
7794
+ defaultValue: value,
7807
7795
  label: inputLabel,
7808
- error: hasValidationError,
7796
+ error: hasError,
7809
7797
  disabled,
7810
- onKeyDown: handleKeyDown,
7811
- onChange: ({ target: { value } }) => {
7812
- setInput(value);
7798
+ onChange: ({ target: { value: value2 } }) => {
7799
+ setValue(value2);
7813
7800
  },
7814
- onBlur: ({ target: { value } }) => {
7815
- commitValue(value);
7801
+ onBlur: ({ target: { value: value2 } }) => {
7802
+ if (hasError) {
7803
+ return;
7804
+ }
7805
+ onUpdateEditableCell?.(rowId, value2);
7816
7806
  }
7817
7807
  }
7818
7808
  );
7819
7809
  };
7820
7810
 
7821
7811
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7812
+ var import_Close = __toESM(require("@mui/icons-material/Close"), 1);
7813
+ var import_Edit = __toESM(require("@mui/icons-material/Edit"), 1);
7822
7814
  var import_jsx_runtime118 = require("react/jsx-runtime");
7823
- var getReadOnlyBooleanIcon = (value) => {
7824
- if (value) {
7825
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7826
- }
7827
- return "-";
7828
- };
7829
- var renderReadOnlyValue = (value) => {
7830
- if (typeof value === "boolean") {
7831
- return getReadOnlyBooleanIcon(value);
7832
- }
7833
- return value;
7834
- };
7835
7815
  var TableDesktopRowCell = ({
7836
7816
  inputLabel,
7837
7817
  editInitialValue,
@@ -7887,7 +7867,7 @@ var TableDesktopRowCell = ({
7887
7867
  }
7888
7868
  ),
7889
7869
  "checkbox": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7890
- import_material66.Checkbox,
7870
+ import_material65.Checkbox,
7891
7871
  {
7892
7872
  disableRipple: true,
7893
7873
  disabled,
@@ -7909,7 +7889,7 @@ var TableDesktopRowCell = ({
7909
7889
  }
7910
7890
  ),
7911
7891
  "numeric": /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7912
- import_material66.TextField,
7892
+ import_material65.TextField,
7913
7893
  {
7914
7894
  fullWidth: true,
7915
7895
  variant: "standard",
@@ -7930,12 +7910,18 @@ var TableDesktopRowCell = ({
7930
7910
  }
7931
7911
  )
7932
7912
  };
7913
+ const getReadOnlyBooleanIcon = (value) => {
7914
+ if (value) {
7915
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Check2.default, { sx: { fontSize: 16 } });
7916
+ }
7917
+ return "-";
7918
+ };
7933
7919
  const handleEditClick = (e) => {
7934
7920
  e.stopPropagation();
7935
7921
  setIsEditMode((prev) => !prev);
7936
7922
  };
7937
- return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material66.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7938
- import_material66.TableCell,
7923
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7924
+ import_material65.TableCell,
7939
7925
  {
7940
7926
  align: "left",
7941
7927
  onMouseEnter: () => editableCellType && !disabled && setIsCellHovered(true),
@@ -7953,7 +7939,7 @@ var TableDesktopRowCell = ({
7953
7939
  background: isEditMode ? colors.lightBlueBackground : (theme) => theme.palette.background.default
7954
7940
  },
7955
7941
  children: /* @__PURE__ */ (0, import_jsx_runtime118.jsxs)(
7956
- import_material66.Box,
7942
+ import_material65.Box,
7957
7943
  {
7958
7944
  p: 1,
7959
7945
  ref: cellRef,
@@ -7961,8 +7947,8 @@ var TableDesktopRowCell = ({
7961
7947
  textOverflow: "ellipsis",
7962
7948
  whiteSpace: "nowrap",
7963
7949
  children: [
7964
- isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material66.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7965
- import_material66.IconButton,
7950
+ isCellHovered ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_material65.Tooltip, { title: isEditMode ? "" : "Toggle Edit Mode", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7951
+ import_material65.IconButton,
7966
7952
  {
7967
7953
  onClick: handleEditClick,
7968
7954
  sx: {
@@ -7979,7 +7965,7 @@ var TableDesktopRowCell = ({
7979
7965
  children: isEditMode ? /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Close.default, { fontSize: "small", color: "error" }) : /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(import_Edit.default, { fontSize: "small" })
7980
7966
  }
7981
7967
  ) }) : null,
7982
- isEditMode && editableCellType ? editableComponents[editableCellType] : renderReadOnlyValue(readOnlyValue)
7968
+ isEditMode && editableCellType ? editableComponents[editableCellType] : typeof readOnlyValue === "boolean" ? getReadOnlyBooleanIcon(readOnlyValue) : readOnlyValue
7983
7969
  ]
7984
7970
  }
7985
7971
  )
@@ -7990,7 +7976,7 @@ var TableDesktopRowCell = ({
7990
7976
  // src/components/TableHeader/TableHeader.tsx
7991
7977
  var import_react39 = require("react");
7992
7978
  var import_icons_material12 = require("@mui/icons-material");
7993
- var import_material67 = require("@mui/material");
7979
+ var import_material66 = require("@mui/material");
7994
7980
  var import_mui57 = require("tss-react/mui");
7995
7981
  var import_jsx_runtime119 = require("react/jsx-runtime");
7996
7982
  var useStyles51 = (0, import_mui57.makeStyles)()(() => ({
@@ -8037,8 +8023,8 @@ var TableHeader = ({ cells, onSort = null }) => {
8037
8023
  });
8038
8024
  setSortableCells(sortedCells);
8039
8025
  };
8040
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material67.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
8041
- import_material67.TableSortLabel,
8026
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableRow, { children: sortableCells.map((cell, key) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(import_material66.TableCell, { children: cell.isSortable ? /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
8027
+ import_material66.TableSortLabel,
8042
8028
  {
8043
8029
  className: classes.sortLabel,
8044
8030
  direction: cell?.direction || "asc",
@@ -8051,7 +8037,7 @@ var TableHeader = ({ cells, onSort = null }) => {
8051
8037
  var TableHeader_default = (0, import_react39.memo)(TableHeader);
8052
8038
 
8053
8039
  // src/components/TextDivider/TextDivider.tsx
8054
- var import_material68 = require("@mui/material");
8040
+ var import_material67 = require("@mui/material");
8055
8041
  var import_mui58 = require("tss-react/mui");
8056
8042
  var import_jsx_runtime120 = require("react/jsx-runtime");
8057
8043
  var useStyles52 = (0, import_mui58.makeStyles)()(() => ({
@@ -8091,18 +8077,18 @@ var TextDivider = ({
8091
8077
  const { classes } = useStyles52();
8092
8078
  const iconColor = color ?? colors.neutral900;
8093
8079
  return /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(
8094
- import_material68.Box,
8080
+ import_material67.Box,
8095
8081
  {
8096
8082
  display: "flex",
8097
8083
  alignItems: "center",
8098
8084
  justifyContent: "space-between",
8099
8085
  className: classes.container,
8100
8086
  children: [
8101
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Divider, { className: classes.leftDivider }),
8102
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_material68.Box, { className: classes.center, children: [
8087
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.leftDivider }),
8088
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Button, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ (0, import_jsx_runtime120.jsxs)(import_material67.Box, { className: classes.center, children: [
8103
8089
  Icon2 && iconPosition === "left" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } }),
8104
8090
  /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
8105
- import_material68.Typography,
8091
+ import_material67.Typography,
8106
8092
  {
8107
8093
  color: "textSecondary",
8108
8094
  className: classes.title,
@@ -8112,7 +8098,7 @@ var TextDivider = ({
8112
8098
  ),
8113
8099
  Icon2 && iconPosition === "right" && /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(Icon2, { className: classes.icon, style: { color: iconColor } })
8114
8100
  ] }) }),
8115
- /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material68.Divider, { className: classes.rightDivider })
8101
+ /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(import_material67.Divider, { className: classes.rightDivider })
8116
8102
  ]
8117
8103
  }
8118
8104
  );
@@ -8226,7 +8212,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
8226
8212
 
8227
8213
  // src/components/TheToolbar/TheToolbar.tsx
8228
8214
  var import_react40 = require("react");
8229
- var import_material69 = require("@mui/material");
8215
+ var import_material68 = require("@mui/material");
8230
8216
  var import_mui60 = require("tss-react/mui");
8231
8217
  var import_jsx_runtime122 = require("react/jsx-runtime");
8232
8218
  var useStyles54 = (0, import_mui60.makeStyles)()((theme) => ({
@@ -8248,8 +8234,8 @@ var TheToolbar = ({
8248
8234
  rightSection
8249
8235
  }) => {
8250
8236
  const { classes } = useStyles54();
8251
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material69.Box, { children: [
8252
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material69.Toolbar, { className: classes.topBar, children: [
8237
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Box, { children: [
8238
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.AppBar, { children: /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(import_material68.Toolbar, { className: classes.topBar, children: [
8253
8239
  /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
8254
8240
  RoundButton_default,
8255
8241
  {
@@ -8268,8 +8254,8 @@ var TheToolbar = ({
8268
8254
  imageLogoLightSmall
8269
8255
  }
8270
8256
  ),
8271
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.Box, { ml: 2, children: leftSection }),
8272
- /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material69.Box, { ml: "auto", children: rightSection })
8257
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: 2, children: leftSection }),
8258
+ /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(import_material68.Box, { ml: "auto", children: rightSection })
8273
8259
  ] }) }),
8274
8260
  LeftDrawer
8275
8261
  ] });
@@ -8277,7 +8263,7 @@ var TheToolbar = ({
8277
8263
  var TheToolbar_default = (0, import_react40.memo)(TheToolbar);
8278
8264
 
8279
8265
  // src/components/ToastMessage/ToastMessage.tsx
8280
- var import_material70 = require("@mui/material");
8266
+ var import_material69 = require("@mui/material");
8281
8267
  var import_jsx_runtime123 = require("react/jsx-runtime");
8282
8268
  var ToastMessage = ({
8283
8269
  toastType,
@@ -8285,14 +8271,14 @@ var ToastMessage = ({
8285
8271
  open,
8286
8272
  onClose
8287
8273
  }) => /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8288
- import_material70.Snackbar,
8274
+ import_material69.Snackbar,
8289
8275
  {
8290
8276
  open,
8291
8277
  autoHideDuration: 1500,
8292
8278
  onClose,
8293
8279
  anchorOrigin: { vertical: "top", horizontal: "right" },
8294
8280
  children: /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
8295
- import_material70.Alert,
8281
+ import_material69.Alert,
8296
8282
  {
8297
8283
  elevation: 6,
8298
8284
  variant: "filled",
@@ -8318,7 +8304,7 @@ var ToastMessage = ({
8318
8304
  var ToastMessage_default = ToastMessage;
8319
8305
 
8320
8306
  // src/components/TwoButtonDialog/TwoButtonDialog.tsx
8321
- var import_material71 = require("@mui/material");
8307
+ var import_material70 = require("@mui/material");
8322
8308
  var import_mui61 = require("tss-react/mui");
8323
8309
  var import_jsx_runtime124 = require("react/jsx-runtime");
8324
8310
  var useStyles55 = (0, import_mui61.makeStyles)()((theme) => ({
@@ -8351,19 +8337,19 @@ var TwoButtonDialog = ({
8351
8337
  }) => {
8352
8338
  const { classes } = useStyles55();
8353
8339
  return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8354
- import_material71.Dialog,
8340
+ import_material70.Dialog,
8355
8341
  {
8356
8342
  open,
8357
8343
  disableEnforceFocus: true,
8358
8344
  maxWidth: "sm",
8359
8345
  fullWidth: true,
8360
8346
  closeAfterTransition: true,
8361
- BackdropComponent: import_material71.Backdrop,
8347
+ BackdropComponent: import_material70.Backdrop,
8362
8348
  BackdropProps: { timeout: 500 },
8363
- children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Paper, { className: classes.paper, children: [
8364
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Box, { className: classes.mb, children: [
8365
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8366
- import_material71.Box,
8349
+ children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Fade, { in: open, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Paper, { className: classes.paper, children: [
8350
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.mb, children: [
8351
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "h5", component: "div", children: /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8352
+ import_material70.Box,
8367
8353
  {
8368
8354
  sx: {
8369
8355
  fontWeight: 600
@@ -8372,21 +8358,21 @@ var TwoButtonDialog = ({
8372
8358
  }
8373
8359
  ) }),
8374
8360
  /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
8375
- import_material71.Box,
8361
+ import_material70.Box,
8376
8362
  {
8377
8363
  className: classes.mt,
8378
8364
  sx: {
8379
8365
  fontWeight: 600
8380
8366
  },
8381
8367
  children: [
8382
- subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle1 }),
8383
- subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Typography, { variant: "subtitle1", children: subtitle2 })
8368
+ subtitle1 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle1 }),
8369
+ subtitle2 && /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Typography, { variant: "subtitle1", children: subtitle2 })
8384
8370
  ]
8385
8371
  }
8386
8372
  )
8387
8373
  ] }),
8388
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material71.Divider, {}),
8389
- /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material71.Box, { className: classes.buttonContainer, children: [
8374
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material70.Divider, {}),
8375
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_material70.Box, { className: classes.buttonContainer, children: [
8390
8376
  /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
8391
8377
  FilledButton_default,
8392
8378
  {
@@ -8418,11 +8404,11 @@ var TwoButtonDialog_default = TwoButtonDialog;
8418
8404
 
8419
8405
  // src/components/UserBust/UserBust.tsx
8420
8406
  var import_react41 = require("react");
8421
- var import_material72 = require("@mui/material");
8407
+ var import_material71 = require("@mui/material");
8422
8408
  var import_jsx_runtime125 = require("react/jsx-runtime");
8423
8409
  var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { children: [
8424
8410
  /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
8425
- import_material72.Avatar,
8411
+ import_material71.Avatar,
8426
8412
  {
8427
8413
  src: user.profile_picture,
8428
8414
  alt: "user_avatar",
@@ -8430,8 +8416,8 @@ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ (0, i
8430
8416
  }
8431
8417
  ),
8432
8418
  /* @__PURE__ */ (0, import_jsx_runtime125.jsxs)("div", { style: { paddingTop: 16 }, children: [
8433
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material72.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8434
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material72.Typography, { ...typographyProps.username, children: user.username })
8419
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8420
+ /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(import_material71.Typography, { ...typographyProps.username, children: user.username })
8435
8421
  ] })
8436
8422
  ] });
8437
8423
  var UserBust_default = (0, import_react41.memo)(UserBust);