@natoora-libs/core 0.1.9-dev-doug-2 → 0.1.9-dev-doug-4

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.
@@ -869,6 +869,7 @@ type HeadCell = {
869
869
  disableSort?: boolean;
870
870
  RenderHeader?: ReactNode;
871
871
  editableCellType?: EditableCellType;
872
+ validateInput?: (value: string) => boolean;
872
873
  onUpdateEditableCell?: (rowId: number, newValue: string | number | boolean) => void;
873
874
  filterOptions?: HeaderFilterOptions;
874
875
  refetchFilterOptions?: () => void;
@@ -964,6 +965,7 @@ type TableDesktopRowCellProps = {
964
965
  filterOptions?: HeadCell["filterOptions"];
965
966
  refetchFilterOptions?: HeadCell["refetchFilterOptions"];
966
967
  isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
968
+ validateInput?: HeadCell["validateInput"];
967
969
  onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
968
970
  };
969
971
  declare const TableDesktopRowCell: FC<TableDesktopRowCellProps>;
@@ -869,6 +869,7 @@ type HeadCell = {
869
869
  disableSort?: boolean;
870
870
  RenderHeader?: ReactNode;
871
871
  editableCellType?: EditableCellType;
872
+ validateInput?: (value: string) => boolean;
872
873
  onUpdateEditableCell?: (rowId: number, newValue: string | number | boolean) => void;
873
874
  filterOptions?: HeaderFilterOptions;
874
875
  refetchFilterOptions?: () => void;
@@ -964,6 +965,7 @@ type TableDesktopRowCellProps = {
964
965
  filterOptions?: HeadCell["filterOptions"];
965
966
  refetchFilterOptions?: HeadCell["refetchFilterOptions"];
966
967
  isFetchingFilterOptions?: HeadCell["isFetchingFilterOptions"];
968
+ validateInput?: HeadCell["validateInput"];
967
969
  onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
968
970
  };
969
971
  declare const TableDesktopRowCell: FC<TableDesktopRowCellProps>;
@@ -6655,7 +6655,7 @@ var useStyles45 = makeStyles45()((theme) => ({
6655
6655
  },
6656
6656
  tableHeaderContent: {
6657
6657
  borderBottom: "1px solid",
6658
- borderBottomColor: colors.neutral250,
6658
+ borderBottomColor: colors.neutral300,
6659
6659
  whiteSpace: "nowrap",
6660
6660
  "& .filter-menu-trigger": {
6661
6661
  visibility: "hidden",
@@ -7076,7 +7076,8 @@ var useStyles48 = makeStyles48()((theme) => ({
7076
7076
  },
7077
7077
  applyFilterButtonsContainer: {
7078
7078
  display: "flex",
7079
- padding: theme.spacing(0, 1)
7079
+ padding: theme.spacing(0, 1),
7080
+ justifyContent: "space-between"
7080
7081
  },
7081
7082
  saveAsDefaultButton: {
7082
7083
  color: theme.palette.primary.main
@@ -7484,8 +7485,7 @@ var TableDesktopRowActions = ({
7484
7485
  sx,
7485
7486
  display: "flex",
7486
7487
  flexDirection: "row",
7487
- borderLeft: `1px solid ${colors.neutral300}`,
7488
- bgcolor: backgroundColor ?? ((theme) => theme.palette.background.default),
7488
+ bgcolor: backgroundColor ?? colors.neutral100,
7489
7489
  children
7490
7490
  }
7491
7491
  )
@@ -7494,8 +7494,8 @@ var TableDesktopRowActions = ({
7494
7494
  };
7495
7495
 
7496
7496
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7497
- import { useEffect as useEffect13, useRef as useRef5, useState as useState19 } from "react";
7498
- import { Checkbox as Checkbox6, TableCell as TableCell5, TextField as TextField8, Tooltip as Tooltip7 } from "@mui/material";
7497
+ import { useEffect as useEffect13, useRef as useRef5, useState as useState20 } from "react";
7498
+ import { Checkbox as Checkbox6, TableCell as TableCell5, TextField as TextField9, Tooltip as Tooltip7 } from "@mui/material";
7499
7499
 
7500
7500
  // src/components/TableDesktopRowCell/TableDesktopSmartSelect.tsx
7501
7501
  import { useState as useState18, memo as memo22, useEffect as useEffect12 } from "react";
@@ -7553,7 +7553,43 @@ var TableDesktopSmartSelect = memo22(({
7553
7553
 
7554
7554
  // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7555
7555
  import CheckIcon2 from "@mui/icons-material/Check";
7556
+
7557
+ // src/components/TableDesktopRowCell/TableDesktopTextField.tsx
7558
+ import TextField8 from "@mui/material/TextField";
7559
+ import { useMemo as useMemo4, useState as useState19 } from "react";
7556
7560
  import { jsx as jsx116 } from "react/jsx-runtime";
7561
+ var TableDesktopTextField = ({
7562
+ rowId,
7563
+ editInitialValue,
7564
+ inputLabel,
7565
+ validateInput,
7566
+ onUpdateEditableCell
7567
+ }) => {
7568
+ const [value, setValue] = useState19(editInitialValue);
7569
+ const hasError = useMemo4(() => validateInput?.(value), [value, validateInput]);
7570
+ return /* @__PURE__ */ jsx116(
7571
+ TextField8,
7572
+ {
7573
+ fullWidth: true,
7574
+ variant: "standard",
7575
+ defaultValue: value,
7576
+ label: inputLabel,
7577
+ error: hasError,
7578
+ onChange: ({ target: { value: value2 } }) => {
7579
+ setValue(value2);
7580
+ },
7581
+ onBlur: ({ target: { value: value2 } }) => {
7582
+ if (hasError) {
7583
+ return;
7584
+ }
7585
+ onUpdateEditableCell?.(rowId, value2);
7586
+ }
7587
+ }
7588
+ );
7589
+ };
7590
+
7591
+ // src/components/TableDesktopRowCell/TableDesktopRowCell.tsx
7592
+ import { jsx as jsx117 } from "react/jsx-runtime";
7557
7593
  var TableDesktopRowCell = ({
7558
7594
  ref,
7559
7595
  inputLabel,
@@ -7567,10 +7603,11 @@ var TableDesktopRowCell = ({
7567
7603
  filterOptions,
7568
7604
  refetchFilterOptions,
7569
7605
  isFetchingFilterOptions,
7606
+ validateInput,
7570
7607
  onUpdateEditableCell
7571
7608
  }) => {
7572
7609
  const cellRef = useRef5(null);
7573
- const [isOverflowed, setIsOverflowed] = useState19(false);
7610
+ const [isOverflowed, setIsOverflowed] = useState20(false);
7574
7611
  useEffect13(() => {
7575
7612
  const ref2 = cellRef.current;
7576
7613
  if (ref2) {
@@ -7578,7 +7615,7 @@ var TableDesktopRowCell = ({
7578
7615
  }
7579
7616
  }, [readOnlyValue, width]);
7580
7617
  const editableComponents = {
7581
- "select": /* @__PURE__ */ jsx116(
7618
+ "select": /* @__PURE__ */ jsx117(
7582
7619
  TableDesktopSmartSelect,
7583
7620
  {
7584
7621
  ref,
@@ -7592,7 +7629,7 @@ var TableDesktopRowCell = ({
7592
7629
  onUpdateEditableCell
7593
7630
  }
7594
7631
  ),
7595
- "checkbox": /* @__PURE__ */ jsx116(
7632
+ "checkbox": /* @__PURE__ */ jsx117(
7596
7633
  Checkbox6,
7597
7634
  {
7598
7635
  disableRipple: true,
@@ -7602,20 +7639,18 @@ var TableDesktopRowCell = ({
7602
7639
  }
7603
7640
  }
7604
7641
  ),
7605
- "text": /* @__PURE__ */ jsx116(
7606
- TextField8,
7642
+ "text": /* @__PURE__ */ jsx117(
7643
+ TableDesktopTextField,
7607
7644
  {
7608
- fullWidth: true,
7609
- variant: "standard",
7610
- defaultValue: editInitialValue,
7611
- label: inputLabel,
7612
- onBlur: ({ target: { value } }) => {
7613
- onUpdateEditableCell?.(rowId, value);
7614
- }
7645
+ rowId,
7646
+ editInitialValue,
7647
+ inputLabel: inputLabel ?? "",
7648
+ validateInput,
7649
+ onUpdateEditableCell
7615
7650
  }
7616
7651
  ),
7617
- "numeric": /* @__PURE__ */ jsx116(
7618
- TextField8,
7652
+ "numeric": /* @__PURE__ */ jsx117(
7653
+ TextField9,
7619
7654
  {
7620
7655
  fullWidth: true,
7621
7656
  variant: "standard",
@@ -7637,11 +7672,11 @@ var TableDesktopRowCell = ({
7637
7672
  };
7638
7673
  const getReadOnlyBooleanIcon = (value) => {
7639
7674
  if (value) {
7640
- return /* @__PURE__ */ jsx116(CheckIcon2, { sx: { fontSize: 16 } });
7675
+ return /* @__PURE__ */ jsx117(CheckIcon2, { sx: { fontSize: 16 } });
7641
7676
  }
7642
7677
  return "-";
7643
7678
  };
7644
- return /* @__PURE__ */ jsx116(Tooltip7, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ jsx116(
7679
+ return /* @__PURE__ */ jsx117(Tooltip7, { title: isOverflowed ? String(readOnlyValue) : "", arrow: true, children: /* @__PURE__ */ jsx117(
7645
7680
  TableCell5,
7646
7681
  {
7647
7682
  ref: cellRef,
@@ -7658,11 +7693,11 @@ var TableDesktopRowCell = ({
7658
7693
  };
7659
7694
 
7660
7695
  // src/components/TableHeader/TableHeader.tsx
7661
- import { memo as memo23, useEffect as useEffect14, useState as useState20 } from "react";
7696
+ import { memo as memo23, useEffect as useEffect14, useState as useState21 } from "react";
7662
7697
  import { ImportExport as ImportExportIcon } from "@mui/icons-material";
7663
7698
  import { TableCell as TableCell6, TableHead as TableHead3, TableRow as TableRow4, TableSortLabel as TableSortLabel3 } from "@mui/material";
7664
7699
  import { makeStyles as makeStyles50 } from "tss-react/mui";
7665
- import { jsx as jsx117 } from "react/jsx-runtime";
7700
+ import { jsx as jsx118 } from "react/jsx-runtime";
7666
7701
  var useStyles50 = makeStyles50()(() => ({
7667
7702
  sortLabel: {
7668
7703
  "& .MuiTableSortLabel-icon": {
@@ -7671,7 +7706,7 @@ var useStyles50 = makeStyles50()(() => ({
7671
7706
  }
7672
7707
  }));
7673
7708
  var TableHeader = ({ cells, onSort = null }) => {
7674
- const [sortableCells, setSortableCells] = useState20([]);
7709
+ const [sortableCells, setSortableCells] = useState21([]);
7675
7710
  const { classes } = useStyles50();
7676
7711
  useEffect14(() => {
7677
7712
  setSortableCells(cells);
@@ -7707,7 +7742,7 @@ var TableHeader = ({ cells, onSort = null }) => {
7707
7742
  });
7708
7743
  setSortableCells(sortedCells);
7709
7744
  };
7710
- return /* @__PURE__ */ jsx117(TableHead3, { children: /* @__PURE__ */ jsx117(TableRow4, { children: sortableCells.map((cell, key) => /* @__PURE__ */ jsx117(TableCell6, { children: cell.isSortable ? /* @__PURE__ */ jsx117(
7745
+ return /* @__PURE__ */ jsx118(TableHead3, { children: /* @__PURE__ */ jsx118(TableRow4, { children: sortableCells.map((cell, key) => /* @__PURE__ */ jsx118(TableCell6, { children: cell.isSortable ? /* @__PURE__ */ jsx118(
7711
7746
  TableSortLabel3,
7712
7747
  {
7713
7748
  className: classes.sortLabel,
@@ -7723,7 +7758,7 @@ var TableHeader_default = memo23(TableHeader);
7723
7758
  // src/components/TextDivider/TextDivider.tsx
7724
7759
  import { Box as Box34, Typography as Typography27, Divider as Divider10, Button as Button13 } from "@mui/material";
7725
7760
  import { makeStyles as makeStyles51 } from "tss-react/mui";
7726
- import { jsx as jsx118, jsxs as jsxs78 } from "react/jsx-runtime";
7761
+ import { jsx as jsx119, jsxs as jsxs78 } from "react/jsx-runtime";
7727
7762
  var useStyles51 = makeStyles51()(() => ({
7728
7763
  icon: {
7729
7764
  fontSize: 20
@@ -7768,10 +7803,10 @@ var TextDivider = ({
7768
7803
  justifyContent: "space-between",
7769
7804
  className: classes.container,
7770
7805
  children: [
7771
- /* @__PURE__ */ jsx118(Divider10, { className: classes.leftDivider }),
7772
- /* @__PURE__ */ jsx118(Button13, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs78(Box34, { className: classes.center, children: [
7773
- Icon2 && iconPosition === "left" && /* @__PURE__ */ jsx118(Icon2, { className: classes.icon, style: { color: iconColor } }),
7774
- /* @__PURE__ */ jsx118(
7806
+ /* @__PURE__ */ jsx119(Divider10, { className: classes.leftDivider }),
7807
+ /* @__PURE__ */ jsx119(Button13, { onClick, disabled: !onClick, className: classes.button, children: /* @__PURE__ */ jsxs78(Box34, { className: classes.center, children: [
7808
+ Icon2 && iconPosition === "left" && /* @__PURE__ */ jsx119(Icon2, { className: classes.icon, style: { color: iconColor } }),
7809
+ /* @__PURE__ */ jsx119(
7775
7810
  Typography27,
7776
7811
  {
7777
7812
  color: "textSecondary",
@@ -7780,9 +7815,9 @@ var TextDivider = ({
7780
7815
  children: title
7781
7816
  }
7782
7817
  ),
7783
- Icon2 && iconPosition === "right" && /* @__PURE__ */ jsx118(Icon2, { className: classes.icon, style: { color: iconColor } })
7818
+ Icon2 && iconPosition === "right" && /* @__PURE__ */ jsx119(Icon2, { className: classes.icon, style: { color: iconColor } })
7784
7819
  ] }) }),
7785
- /* @__PURE__ */ jsx118(Divider10, { className: classes.rightDivider })
7820
+ /* @__PURE__ */ jsx119(Divider10, { className: classes.rightDivider })
7786
7821
  ]
7787
7822
  }
7788
7823
  );
@@ -7794,7 +7829,7 @@ import { DateRangePicker } from "react-dates";
7794
7829
  import { makeStyles as makeStyles52 } from "tss-react/mui";
7795
7830
  import "react-dates/initialize";
7796
7831
  import "react-dates/lib/css/_datepicker.css";
7797
- import { jsx as jsx119 } from "react/jsx-runtime";
7832
+ import { jsx as jsx120 } from "react/jsx-runtime";
7798
7833
  var useStyles52 = makeStyles52()((theme) => ({
7799
7834
  wrapper: {
7800
7835
  "& .DateRangePicker": {
@@ -7890,7 +7925,7 @@ var ThemedDateRangePicker = ({
7890
7925
  ...props
7891
7926
  }) => {
7892
7927
  const { classes, cx } = useStyles52();
7893
- return /* @__PURE__ */ jsx119("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ jsx119(DateRangePicker, { ...props }) });
7928
+ return /* @__PURE__ */ jsx120("div", { className: cx(classes.wrapper, className), children: /* @__PURE__ */ jsx120(DateRangePicker, { ...props }) });
7894
7929
  };
7895
7930
  var ThemedDateRangePicker_default = ThemedDateRangePicker;
7896
7931
 
@@ -7898,7 +7933,7 @@ var ThemedDateRangePicker_default = ThemedDateRangePicker;
7898
7933
  import { memo as memo24 } from "react";
7899
7934
  import { AppBar, Box as Box35, Toolbar } from "@mui/material";
7900
7935
  import { makeStyles as makeStyles53 } from "tss-react/mui";
7901
- import { jsx as jsx120, jsxs as jsxs79 } from "react/jsx-runtime";
7936
+ import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
7902
7937
  var useStyles53 = makeStyles53()((theme) => ({
7903
7938
  menuButton: {
7904
7939
  color: theme.palette.primary.contrastText
@@ -7919,8 +7954,8 @@ var TheToolbar = ({
7919
7954
  }) => {
7920
7955
  const { classes } = useStyles53();
7921
7956
  return /* @__PURE__ */ jsxs79(Box35, { children: [
7922
- /* @__PURE__ */ jsx120(AppBar, { children: /* @__PURE__ */ jsxs79(Toolbar, { className: classes.topBar, children: [
7923
- /* @__PURE__ */ jsx120(
7957
+ /* @__PURE__ */ jsx121(AppBar, { children: /* @__PURE__ */ jsxs79(Toolbar, { className: classes.topBar, children: [
7958
+ /* @__PURE__ */ jsx121(
7924
7959
  RoundButton_default,
7925
7960
  {
7926
7961
  className: classes.menuButton,
@@ -7929,7 +7964,7 @@ var TheToolbar = ({
7929
7964
  onClick: handleOpen
7930
7965
  }
7931
7966
  ),
7932
- /* @__PURE__ */ jsx120(
7967
+ /* @__PURE__ */ jsx121(
7933
7968
  CompanyLogo_default,
7934
7969
  {
7935
7970
  size: "small",
@@ -7938,8 +7973,8 @@ var TheToolbar = ({
7938
7973
  imageLogoLightSmall
7939
7974
  }
7940
7975
  ),
7941
- /* @__PURE__ */ jsx120(Box35, { ml: 2, children: leftSection }),
7942
- /* @__PURE__ */ jsx120(Box35, { ml: "auto", children: rightSection })
7976
+ /* @__PURE__ */ jsx121(Box35, { ml: 2, children: leftSection }),
7977
+ /* @__PURE__ */ jsx121(Box35, { ml: "auto", children: rightSection })
7943
7978
  ] }) }),
7944
7979
  LeftDrawer
7945
7980
  ] });
@@ -7948,20 +7983,20 @@ var TheToolbar_default = memo24(TheToolbar);
7948
7983
 
7949
7984
  // src/components/ToastMessage/ToastMessage.tsx
7950
7985
  import { Alert as MuiAlert, Snackbar } from "@mui/material";
7951
- import { jsx as jsx121 } from "react/jsx-runtime";
7986
+ import { jsx as jsx122 } from "react/jsx-runtime";
7952
7987
  var ToastMessage = ({
7953
7988
  toastType,
7954
7989
  toastMessage,
7955
7990
  open,
7956
7991
  onClose
7957
- }) => /* @__PURE__ */ jsx121(
7992
+ }) => /* @__PURE__ */ jsx122(
7958
7993
  Snackbar,
7959
7994
  {
7960
7995
  open,
7961
7996
  autoHideDuration: 1500,
7962
7997
  onClose,
7963
7998
  anchorOrigin: { vertical: "top", horizontal: "right" },
7964
- children: /* @__PURE__ */ jsx121(
7999
+ children: /* @__PURE__ */ jsx122(
7965
8000
  MuiAlert,
7966
8001
  {
7967
8002
  elevation: 6,
@@ -7998,7 +8033,7 @@ import {
7998
8033
  Fade as Fade2
7999
8034
  } from "@mui/material";
8000
8035
  import { makeStyles as makeStyles54 } from "tss-react/mui";
8001
- import { jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
8036
+ import { jsx as jsx123, jsxs as jsxs80 } from "react/jsx-runtime";
8002
8037
  var useStyles54 = makeStyles54()((theme) => ({
8003
8038
  paper: {
8004
8039
  padding: theme.spacing(2)
@@ -8028,7 +8063,7 @@ var TwoButtonDialog = ({
8028
8063
  cancelButton
8029
8064
  }) => {
8030
8065
  const { classes } = useStyles54();
8031
- return /* @__PURE__ */ jsx122(
8066
+ return /* @__PURE__ */ jsx123(
8032
8067
  Dialog5,
8033
8068
  {
8034
8069
  open,
@@ -8038,9 +8073,9 @@ var TwoButtonDialog = ({
8038
8073
  closeAfterTransition: true,
8039
8074
  BackdropComponent: Backdrop,
8040
8075
  BackdropProps: { timeout: 500 },
8041
- children: /* @__PURE__ */ jsx122(Fade2, { in: open, children: /* @__PURE__ */ jsxs80(Paper12, { className: classes.paper, children: [
8076
+ children: /* @__PURE__ */ jsx123(Fade2, { in: open, children: /* @__PURE__ */ jsxs80(Paper12, { className: classes.paper, children: [
8042
8077
  /* @__PURE__ */ jsxs80(Box36, { className: classes.mb, children: [
8043
- /* @__PURE__ */ jsx122(Typography28, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx122(
8078
+ /* @__PURE__ */ jsx123(Typography28, { variant: "h5", component: "div", children: /* @__PURE__ */ jsx123(
8044
8079
  Box36,
8045
8080
  {
8046
8081
  sx: {
@@ -8057,15 +8092,15 @@ var TwoButtonDialog = ({
8057
8092
  fontWeight: 600
8058
8093
  },
8059
8094
  children: [
8060
- subtitle1 && /* @__PURE__ */ jsx122(Typography28, { variant: "subtitle1", children: subtitle1 }),
8061
- subtitle2 && /* @__PURE__ */ jsx122(Typography28, { variant: "subtitle1", children: subtitle2 })
8095
+ subtitle1 && /* @__PURE__ */ jsx123(Typography28, { variant: "subtitle1", children: subtitle1 }),
8096
+ subtitle2 && /* @__PURE__ */ jsx123(Typography28, { variant: "subtitle1", children: subtitle2 })
8062
8097
  ]
8063
8098
  }
8064
8099
  )
8065
8100
  ] }),
8066
- /* @__PURE__ */ jsx122(Divider11, {}),
8101
+ /* @__PURE__ */ jsx123(Divider11, {}),
8067
8102
  /* @__PURE__ */ jsxs80(Box36, { className: classes.buttonContainer, children: [
8068
- /* @__PURE__ */ jsx122(
8103
+ /* @__PURE__ */ jsx123(
8069
8104
  FilledButton_default,
8070
8105
  {
8071
8106
  copy: cancelLabel,
@@ -8078,7 +8113,7 @@ var TwoButtonDialog = ({
8078
8113
  }
8079
8114
  }
8080
8115
  ),
8081
- /* @__PURE__ */ jsx122(
8116
+ /* @__PURE__ */ jsx123(
8082
8117
  FilledButton_default,
8083
8118
  {
8084
8119
  color: "primary",
@@ -8087,7 +8122,7 @@ var TwoButtonDialog = ({
8087
8122
  }
8088
8123
  )
8089
8124
  ] }),
8090
- /* @__PURE__ */ jsx122(Loading_default, { isLoading: dialogLoading })
8125
+ /* @__PURE__ */ jsx123(Loading_default, { isLoading: dialogLoading })
8091
8126
  ] }) })
8092
8127
  }
8093
8128
  );
@@ -8097,9 +8132,9 @@ var TwoButtonDialog_default = TwoButtonDialog;
8097
8132
  // src/components/UserBust/UserBust.tsx
8098
8133
  import { memo as memo25 } from "react";
8099
8134
  import { Avatar as Avatar2, Typography as Typography29 } from "@mui/material";
8100
- import { jsx as jsx123, jsxs as jsxs81 } from "react/jsx-runtime";
8135
+ import { jsx as jsx124, jsxs as jsxs81 } from "react/jsx-runtime";
8101
8136
  var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ jsxs81("div", { children: [
8102
- /* @__PURE__ */ jsx123(
8137
+ /* @__PURE__ */ jsx124(
8103
8138
  Avatar2,
8104
8139
  {
8105
8140
  src: user.profile_picture,
@@ -8108,17 +8143,17 @@ var UserBust = ({ user, avatarProps, typographyProps }) => /* @__PURE__ */ jsxs8
8108
8143
  }
8109
8144
  ),
8110
8145
  /* @__PURE__ */ jsxs81("div", { style: { paddingTop: 16 }, children: [
8111
- /* @__PURE__ */ jsx123(Typography29, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8112
- /* @__PURE__ */ jsx123(Typography29, { ...typographyProps.username, children: user.username })
8146
+ /* @__PURE__ */ jsx124(Typography29, { ...typographyProps.name, children: `${user.first_name} ${user.last_name}` }),
8147
+ /* @__PURE__ */ jsx124(Typography29, { ...typographyProps.username, children: user.username })
8113
8148
  ] })
8114
8149
  ] });
8115
8150
  var UserBust_default = memo25(UserBust);
8116
8151
 
8117
8152
  // src/components/icons/IconChart.tsx
8118
- import { jsx as jsx124 } from "react/jsx-runtime";
8153
+ import { jsx as jsx125 } from "react/jsx-runtime";
8119
8154
  var SvgIconChart = (props) => {
8120
8155
  const { fill } = props;
8121
- return /* @__PURE__ */ jsx124(
8156
+ return /* @__PURE__ */ jsx125(
8122
8157
  "svg",
8123
8158
  {
8124
8159
  width: "20",
@@ -8127,7 +8162,7 @@ var SvgIconChart = (props) => {
8127
8162
  fill: "none",
8128
8163
  xmlns: "http://www.w3.org/2000/svg",
8129
8164
  ...props,
8130
- children: /* @__PURE__ */ jsx124(
8165
+ children: /* @__PURE__ */ jsx125(
8131
8166
  "path",
8132
8167
  {
8133
8168
  d: "M2.49967 11.6667L2.91634 11.725L6.72467 7.91667C6.57467 7.375 6.71634 6.75833 7.15801 6.325C7.80801 5.66667 8.85801 5.66667 9.50801 6.325C9.94967 6.75833 10.0913 7.375 9.94134 7.91667L12.083 10.0583L12.4997 10C12.6497 10 12.7913 10 12.9163 10.0583L15.8913 7.08333C15.833 6.95833 15.833 6.81667 15.833 6.66667C15.833 6.22464 16.0086 5.80072 16.3212 5.48816C16.6337 5.17559 17.0576 5 17.4997 5C17.9417 5 18.3656 5.17559 18.6782 5.48816C18.9907 5.80072 19.1663 6.22464 19.1663 6.66667C19.1663 7.10869 18.9907 7.53262 18.6782 7.84518C18.3656 8.15774 17.9417 8.33333 17.4997 8.33333C17.3497 8.33333 17.208 8.33333 17.083 8.275L14.108 11.25C14.1663 11.375 14.1663 11.5167 14.1663 11.6667C14.1663 12.1087 13.9907 12.5326 13.6782 12.8452C13.3656 13.1577 12.9417 13.3333 12.4997 13.3333C12.0576 13.3333 11.6337 13.1577 11.3212 12.8452C11.0086 12.5326 10.833 12.1087 10.833 11.6667L10.8913 11.25L8.74967 9.10833C8.48301 9.16667 8.18301 9.16667 7.91634 9.10833L4.10801 12.9167L4.16634 13.3333C4.16634 13.7754 3.99075 14.1993 3.67819 14.5118C3.36563 14.8244 2.9417 15 2.49967 15C2.05765 15 1.63372 14.8244 1.32116 14.5118C1.0086 14.1993 0.833008 13.7754 0.833008 13.3333C0.833008 12.8913 1.0086 12.4674 1.32116 12.1548C1.63372 11.8423 2.05765 11.6667 2.49967 11.6667Z",