@localstack/appinspector-ui 1.0.21 → 1.0.23

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.js CHANGED
@@ -2531,7 +2531,6 @@ var PillCell = ({
2531
2531
 
2532
2532
  // src/components/cells/service-cell.tsx
2533
2533
  import { Fragment as Fragment2, jsx as jsx124, jsxs as jsxs119 } from "react/jsx-runtime";
2534
- var truncateName = (inputString, truncateLength = 15) => inputString.length > truncateLength ? `${inputString.slice(0, truncateLength - 3)}...` : inputString;
2535
2534
  var ServiceCell = ({
2536
2535
  borderColor,
2537
2536
  borderWidth,
@@ -2539,7 +2538,6 @@ var ServiceCell = ({
2539
2538
  resource,
2540
2539
  service,
2541
2540
  showIcon = true,
2542
- truncateLength,
2543
2541
  width = "32px"
2544
2542
  }) => {
2545
2543
  return /* @__PURE__ */ jsx124(Box3, { sx: { width: "100%" }, children: /* @__PURE__ */ jsxs119(PillCell, { borderColor, borderWidth, height, children: [
@@ -2565,6 +2563,7 @@ var ServiceCell = ({
2565
2563
  Typography,
2566
2564
  {
2567
2565
  sx: {
2566
+ flexShrink: 0,
2568
2567
  fontWeight: "bold",
2569
2568
  overflow: "hidden",
2570
2569
  padding: "1px 8px",
@@ -2597,7 +2596,7 @@ var ServiceCell = ({
2597
2596
  whiteSpace: "nowrap"
2598
2597
  },
2599
2598
  variant: "body2",
2600
- children: truncateName(resource, truncateLength)
2599
+ children: resource
2601
2600
  }
2602
2601
  )
2603
2602
  ] }) : void 0
@@ -3482,7 +3481,7 @@ var SpansListPage = () => {
3482
3481
  const [page, setPage] = useState5(0);
3483
3482
  const [pageSize, setPageSize] = useState5(100);
3484
3483
  const [spansPerPageOptions] = useState5(() => [25, 50, 100]);
3485
- const [spanCount, setSpanCount] = useState5();
3484
+ const [spanCount, setSpanCount] = useState5(0);
3486
3485
  const queryOptions = useMemo4(() => {
3487
3486
  return {
3488
3487
  is_write_operation: filterWriteOperations ? true : void 0,