@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.cjs +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2568,7 +2568,6 @@ var PillCell = ({
|
|
|
2568
2568
|
|
|
2569
2569
|
// src/components/cells/service-cell.tsx
|
|
2570
2570
|
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
2571
|
-
var truncateName = (inputString, truncateLength = 15) => inputString.length > truncateLength ? `${inputString.slice(0, truncateLength - 3)}...` : inputString;
|
|
2572
2571
|
var ServiceCell = ({
|
|
2573
2572
|
borderColor,
|
|
2574
2573
|
borderWidth,
|
|
@@ -2576,7 +2575,6 @@ var ServiceCell = ({
|
|
|
2576
2575
|
resource,
|
|
2577
2576
|
service,
|
|
2578
2577
|
showIcon = true,
|
|
2579
|
-
truncateLength,
|
|
2580
2578
|
width = "32px"
|
|
2581
2579
|
}) => {
|
|
2582
2580
|
return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(import_material4.Box, { sx: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(PillCell, { borderColor, borderWidth, height, children: [
|
|
@@ -2602,6 +2600,7 @@ var ServiceCell = ({
|
|
|
2602
2600
|
import_material4.Typography,
|
|
2603
2601
|
{
|
|
2604
2602
|
sx: {
|
|
2603
|
+
flexShrink: 0,
|
|
2605
2604
|
fontWeight: "bold",
|
|
2606
2605
|
overflow: "hidden",
|
|
2607
2606
|
padding: "1px 8px",
|
|
@@ -2634,7 +2633,7 @@ var ServiceCell = ({
|
|
|
2634
2633
|
whiteSpace: "nowrap"
|
|
2635
2634
|
},
|
|
2636
2635
|
variant: "body2",
|
|
2637
|
-
children:
|
|
2636
|
+
children: resource
|
|
2638
2637
|
}
|
|
2639
2638
|
)
|
|
2640
2639
|
] }) : void 0
|
|
@@ -3519,7 +3518,7 @@ var SpansListPage = () => {
|
|
|
3519
3518
|
const [page, setPage] = (0, import_react8.useState)(0);
|
|
3520
3519
|
const [pageSize, setPageSize] = (0, import_react8.useState)(100);
|
|
3521
3520
|
const [spansPerPageOptions] = (0, import_react8.useState)(() => [25, 50, 100]);
|
|
3522
|
-
const [spanCount, setSpanCount] = (0, import_react8.useState)();
|
|
3521
|
+
const [spanCount, setSpanCount] = (0, import_react8.useState)(0);
|
|
3523
3522
|
const queryOptions = (0, import_react8.useMemo)(() => {
|
|
3524
3523
|
return {
|
|
3525
3524
|
is_write_operation: filterWriteOperations ? true : void 0,
|