@localstack/appinspector-ui 1.0.21 → 1.0.22
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 +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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:
|
|
2599
|
+
children: resource
|
|
2601
2600
|
}
|
|
2602
2601
|
)
|
|
2603
2602
|
] }) : void 0
|