@localstack/appinspector-ui 1.0.62 → 1.0.64
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 +14 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12142,8 +12142,8 @@ ServiceCell.displayName = "ServiceCell";
|
|
|
12142
12142
|
import { Fragment as Fragment3, jsx as jsx124, jsxs as jsxs120 } from "react/jsx-runtime";
|
|
12143
12143
|
var columnHelper = createColumnHelper();
|
|
12144
12144
|
var newSpanBackgroundColor = {
|
|
12145
|
-
dark: "
|
|
12146
|
-
light: "
|
|
12145
|
+
dark: { from: "rgba(136, 123, 2, 1)", to: "rgba(136, 123, 2, 0)" },
|
|
12146
|
+
light: { from: "rgba(255, 222, 123, 1)", to: "rgba(255, 222, 123, 0)" }
|
|
12147
12147
|
};
|
|
12148
12148
|
var LABEL_BEGINNING_OF_STREAM = "This is the beginning of the stream";
|
|
12149
12149
|
var LABEL_END_OF_STREAM = "This is the end of the stream";
|
|
@@ -12162,11 +12162,11 @@ var SpansDataGridRow = memo8(
|
|
|
12162
12162
|
TableRow,
|
|
12163
12163
|
{
|
|
12164
12164
|
animate: {
|
|
12165
|
-
backgroundColor: "
|
|
12165
|
+
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.to : newSpanBackgroundColor.dark.to
|
|
12166
12166
|
},
|
|
12167
12167
|
component: motion.tr,
|
|
12168
12168
|
initial: {
|
|
12169
|
-
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light : newSpanBackgroundColor.dark
|
|
12169
|
+
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.from : newSpanBackgroundColor.dark.from
|
|
12170
12170
|
},
|
|
12171
12171
|
sx: {
|
|
12172
12172
|
transition: "background-color 1200ms ease-in"
|
|
@@ -13029,9 +13029,13 @@ var createPaginationBuffer = (options) => {
|
|
|
13029
13029
|
},
|
|
13030
13030
|
clear: () => {
|
|
13031
13031
|
if (items !== void 0) {
|
|
13032
|
-
items
|
|
13033
|
-
reportDataChange();
|
|
13032
|
+
items = [];
|
|
13034
13033
|
}
|
|
13034
|
+
hasMoreBackward = void 0;
|
|
13035
|
+
nextBackwardToken = void 0;
|
|
13036
|
+
hasMoreForward = void 0;
|
|
13037
|
+
nextForwardToken = void 0;
|
|
13038
|
+
reportDataChange();
|
|
13035
13039
|
},
|
|
13036
13040
|
fetchBackward: () => {
|
|
13037
13041
|
if (fetchingForward || fetchingBackward) {
|
|
@@ -13390,6 +13394,9 @@ var useSpans = () => {
|
|
|
13390
13394
|
const { checkStatus, error: statusError, status } = useStatus();
|
|
13391
13395
|
const [clearingSpans, setClearingSpans] = useState7(false);
|
|
13392
13396
|
const clearSpans = useCallback7(async () => {
|
|
13397
|
+
if (clearingSpans) {
|
|
13398
|
+
return;
|
|
13399
|
+
}
|
|
13393
13400
|
setClearingSpans(true);
|
|
13394
13401
|
try {
|
|
13395
13402
|
await api.deleteSpans();
|
|
@@ -13400,7 +13407,7 @@ var useSpans = () => {
|
|
|
13400
13407
|
} finally {
|
|
13401
13408
|
setClearingSpans(false);
|
|
13402
13409
|
}
|
|
13403
|
-
}, [
|
|
13410
|
+
}, [clearingSpans, api]);
|
|
13404
13411
|
const [streamPaused, setStreamPaused] = useState7(false);
|
|
13405
13412
|
const toggleStream = useCallback7(() => {
|
|
13406
13413
|
setStreamPaused((previous) => !previous);
|