@localstack/appinspector-ui 1.0.2 → 1.0.3

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.
package/dist/index.cjs CHANGED
@@ -2883,8 +2883,7 @@ var SpansList = (props) => {
2883
2883
  };
2884
2884
 
2885
2885
  // src/components/status-message/status-message.tsx
2886
- var import_ErrorOutline = __toESM(require("@mui/icons-material/ErrorOutline"), 1);
2887
- var import_InfoOutlined = __toESM(require("@mui/icons-material/InfoOutlined"), 1);
2886
+ var import_icons_material2 = require("@mui/icons-material");
2888
2887
  var import_material6 = require("@mui/material");
2889
2888
 
2890
2889
  // src/api/errors.ts
@@ -2947,7 +2946,7 @@ var StatusMessage = ({
2947
2946
  children: /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
2948
2947
  import_material6.Alert,
2949
2948
  {
2950
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_ErrorOutline.default, { fontSize: "large" }),
2949
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material2.ErrorOutline, { fontSize: "large" }),
2951
2950
  severity: "error",
2952
2951
  sx: { maxWidth: 600, width: "100%" },
2953
2952
  children: [
@@ -3020,7 +3019,7 @@ var StatusMessage = ({
3020
3019
  children: /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
3021
3020
  import_material6.Alert,
3022
3021
  {
3023
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_ErrorOutline.default, { fontSize: "large" }),
3022
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material2.ErrorOutline, { fontSize: "large" }),
3024
3023
  severity: "error",
3025
3024
  sx: { maxWidth: 600, width: "100%" },
3026
3025
  children: [
@@ -3070,7 +3069,7 @@ var StatusMessage = ({
3070
3069
  children: /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
3071
3070
  import_material6.Alert,
3072
3071
  {
3073
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_InfoOutlined.default, { fontSize: "large" }),
3072
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material2.InfoOutlined, { fontSize: "large" }),
3074
3073
  severity: "warning",
3075
3074
  sx: { maxWidth: 600, width: "100%" },
3076
3075
  children: [
@@ -3139,7 +3138,7 @@ var StatusMessage = ({
3139
3138
  children: /* @__PURE__ */ (0, import_jsx_runtime126.jsxs)(
3140
3139
  import_material6.Alert,
3141
3140
  {
3142
- icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_ErrorOutline.default, { fontSize: "large" }),
3141
+ icon: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_icons_material2.ErrorOutline, { fontSize: "large" }),
3143
3142
  severity: "error",
3144
3143
  sx: { maxWidth: 600, width: "100%" },
3145
3144
  children: [
@@ -3160,7 +3159,7 @@ var StatusMessage = ({
3160
3159
  }
3161
3160
  );
3162
3161
  }
3163
- return;
3162
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_jsx_runtime126.Fragment, {});
3164
3163
  };
3165
3164
 
3166
3165
  // src/context.tsx
@@ -3497,7 +3496,7 @@ var SpansListPage = () => {
3497
3496
  };
3498
3497
 
3499
3498
  // src/pages/trace-graph-page.tsx
3500
- var import_icons_material5 = require("@mui/icons-material");
3499
+ var import_icons_material6 = require("@mui/icons-material");
3501
3500
  var import_material14 = require("@mui/material");
3502
3501
  var import_styles = require("@mui/material/styles");
3503
3502
  var import_react16 = require("@xyflow/react");
@@ -3508,7 +3507,7 @@ var import_react_router_dom2 = require("react-router-dom");
3508
3507
  var import_material10 = require("@mui/material");
3509
3508
 
3510
3509
  // src/components/event-details/event-details-header.tsx
3511
- var import_icons_material2 = require("@mui/icons-material");
3510
+ var import_icons_material3 = require("@mui/icons-material");
3512
3511
  var import_material8 = require("@mui/material");
3513
3512
  var import_jsx_runtime129 = require("react/jsx-runtime");
3514
3513
  var EventDetailsHeader = ({ event, onClose }) => {
@@ -3533,14 +3532,14 @@ var EventDetailsHeader = ({ event, onClose }) => {
3533
3532
  event.operation_name
3534
3533
  ] })
3535
3534
  ] }),
3536
- onClose && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.IconButton, { onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_icons_material2.Close, {}) })
3535
+ onClose && /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_material8.IconButton, { onClick: onClose, size: "small", children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(import_icons_material3.Close, {}) })
3537
3536
  ]
3538
3537
  }
3539
3538
  );
3540
3539
  };
3541
3540
 
3542
3541
  // src/components/event-details/toggle-section.tsx
3543
- var import_icons_material3 = require("@mui/icons-material");
3542
+ var import_icons_material4 = require("@mui/icons-material");
3544
3543
  var import_material9 = require("@mui/material");
3545
3544
  var import_react9 = require("react");
3546
3545
  var import_jsx_runtime130 = require("react/jsx-runtime");
@@ -3568,7 +3567,7 @@ var ToggleSection = ({ children, headline, initialOpen = true }) => {
3568
3567
  },
3569
3568
  children: [
3570
3569
  /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_material9.Typography, { sx: { fontWeight: 600 }, variant: "subtitle2", children: headline }),
3571
- isOpen ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material3.KeyboardArrowDown, { sx: { color: "text.secondary", height: 20, width: 20 } }) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material3.KeyboardArrowRight, { sx: { color: "text.secondary", height: 20, width: 20 } })
3570
+ isOpen ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material4.KeyboardArrowDown, { sx: { color: "text.secondary", height: 20, width: 20 } }) : /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_icons_material4.KeyboardArrowRight, { sx: { color: "text.secondary", height: 20, width: 20 } })
3572
3571
  ]
3573
3572
  }
3574
3573
  )
@@ -3664,7 +3663,7 @@ var import_react11 = require("@xyflow/react");
3664
3663
  var import_react12 = require("react");
3665
3664
 
3666
3665
  // src/components/trace-graph/problem-indicator.tsx
3667
- var import_icons_material4 = require("@mui/icons-material");
3666
+ var import_icons_material5 = require("@mui/icons-material");
3668
3667
  var import_material11 = require("@mui/material");
3669
3668
  var import_react10 = require("react");
3670
3669
  var import_jsx_runtime132 = require("react/jsx-runtime");
@@ -3672,13 +3671,13 @@ var ProblemIndicator = ({ error }) => {
3672
3671
  const icon = (0, import_react10.useMemo)(() => {
3673
3672
  switch (error.level) {
3674
3673
  case "error": {
3675
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material4.Error, { sx: { color: "#d32f2f", fontSize: "14px" } });
3674
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material5.Error, { sx: { color: "#d32f2f", fontSize: "14px" } });
3676
3675
  }
3677
3676
  case "warning": {
3678
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material4.Warning, { sx: { color: "#ff9800", fontSize: "14px" } });
3677
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material5.Warning, { sx: { color: "#ff9800", fontSize: "14px" } });
3679
3678
  }
3680
3679
  default: {
3681
- return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material4.Info, { sx: { color: "#2196f3", fontSize: "14px" } });
3680
+ return /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(import_icons_material5.Info, { sx: { color: "#2196f3", fontSize: "14px" } });
3682
3681
  }
3683
3682
  }
3684
3683
  }, [error.level]);
@@ -4151,7 +4150,7 @@ var TraceGraphPage = () => {
4151
4150
  /* @__PURE__ */ (0, import_jsx_runtime135.jsxs)(import_material14.Box, { sx: { display: "flex", width: "100%" }, children: [
4152
4151
  /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material14.Button, { onClick: () => {
4153
4152
  navigateToSpansList();
4154
- }, startIcon: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_icons_material5.ArrowBack, {}), children: "Go back" }),
4153
+ }, startIcon: /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_icons_material6.ArrowBack, {}), children: "Go back" }),
4155
4154
  /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(import_material14.Box, { sx: { flexGrow: 1 } })
4156
4155
  ] }),
4157
4156
  /* @__PURE__ */ (0, import_jsx_runtime135.jsx)(