@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.cjs
CHANGED
|
@@ -12145,8 +12145,8 @@ ServiceCell.displayName = "ServiceCell";
|
|
|
12145
12145
|
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
12146
12146
|
var columnHelper = createColumnHelper();
|
|
12147
12147
|
var newSpanBackgroundColor = {
|
|
12148
|
-
dark: "
|
|
12149
|
-
light: "
|
|
12148
|
+
dark: { from: "rgba(136, 123, 2, 1)", to: "rgba(136, 123, 2, 0)" },
|
|
12149
|
+
light: { from: "rgba(255, 222, 123, 1)", to: "rgba(255, 222, 123, 0)" }
|
|
12150
12150
|
};
|
|
12151
12151
|
var LABEL_BEGINNING_OF_STREAM = "This is the beginning of the stream";
|
|
12152
12152
|
var LABEL_END_OF_STREAM = "This is the end of the stream";
|
|
@@ -12165,11 +12165,11 @@ var SpansDataGridRow = (0, import_react40.memo)(
|
|
|
12165
12165
|
import_material4.TableRow,
|
|
12166
12166
|
{
|
|
12167
12167
|
animate: {
|
|
12168
|
-
backgroundColor: "
|
|
12168
|
+
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.to : newSpanBackgroundColor.dark.to
|
|
12169
12169
|
},
|
|
12170
12170
|
component: motion.tr,
|
|
12171
12171
|
initial: {
|
|
12172
|
-
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light : newSpanBackgroundColor.dark
|
|
12172
|
+
backgroundColor: theme.palette.mode === "light" ? newSpanBackgroundColor.light.from : newSpanBackgroundColor.dark.from
|
|
12173
12173
|
},
|
|
12174
12174
|
sx: {
|
|
12175
12175
|
transition: "background-color 1200ms ease-in"
|
|
@@ -13032,9 +13032,13 @@ var createPaginationBuffer = (options) => {
|
|
|
13032
13032
|
},
|
|
13033
13033
|
clear: () => {
|
|
13034
13034
|
if (items !== void 0) {
|
|
13035
|
-
items
|
|
13036
|
-
reportDataChange();
|
|
13035
|
+
items = [];
|
|
13037
13036
|
}
|
|
13037
|
+
hasMoreBackward = void 0;
|
|
13038
|
+
nextBackwardToken = void 0;
|
|
13039
|
+
hasMoreForward = void 0;
|
|
13040
|
+
nextForwardToken = void 0;
|
|
13041
|
+
reportDataChange();
|
|
13038
13042
|
},
|
|
13039
13043
|
fetchBackward: () => {
|
|
13040
13044
|
if (fetchingForward || fetchingBackward) {
|
|
@@ -13393,6 +13397,9 @@ var useSpans = () => {
|
|
|
13393
13397
|
const { checkStatus, error: statusError, status } = useStatus();
|
|
13394
13398
|
const [clearingSpans, setClearingSpans] = (0, import_react47.useState)(false);
|
|
13395
13399
|
const clearSpans = (0, import_react47.useCallback)(async () => {
|
|
13400
|
+
if (clearingSpans) {
|
|
13401
|
+
return;
|
|
13402
|
+
}
|
|
13396
13403
|
setClearingSpans(true);
|
|
13397
13404
|
try {
|
|
13398
13405
|
await api.deleteSpans();
|
|
@@ -13403,7 +13410,7 @@ var useSpans = () => {
|
|
|
13403
13410
|
} finally {
|
|
13404
13411
|
setClearingSpans(false);
|
|
13405
13412
|
}
|
|
13406
|
-
}, [
|
|
13413
|
+
}, [clearingSpans, api]);
|
|
13407
13414
|
const [streamPaused, setStreamPaused] = (0, import_react47.useState)(false);
|
|
13408
13415
|
const toggleStream = (0, import_react47.useCallback)(() => {
|
|
13409
13416
|
setStreamPaused((previous) => !previous);
|